@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');
:root{--red:#b3282d;--gray:#808285;--wine:#66142e;--gold:#cea01f;--ink:#27151b;--muted:#77747a;--cream:#faf8f5;--line:#e7e1df}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:15px 'DM Sans',Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.container{width:min(1160px,calc(100% - 48px));margin:auto}.site-header{background:#fff;border-bottom:1px solid #eee9e7}.nav{min-height:100px;display:flex;align-items:center;gap:34px;justify-content:space-between}.brand{display:block;width:222px;flex-shrink:0}.brand img{width:100%;display:block}.links{display:flex;gap:27px;font-size:13px;font-weight:700}.links a:hover{color:var(--red)}.header-pill{border:1px solid #ead9da;padding:11px 14px;border-radius:40px;color:var(--wine);font-size:10px;font-weight:800;letter-spacing:.9px;white-space:nowrap}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gray);margin-right:7px;vertical-align:middle}.hero{background:var(--wine);color:#fff;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;min-height:410px}.hero-text{padding:66px 0 55px;z-index:1}.eyebrow,.overline{font-size:11px;font-weight:800;letter-spacing:2px;color:var(--red)}.eyebrow{color:#f4cd89}.tiny-line{display:inline-block;width:23px;height:2px;background:var(--gold);vertical-align:middle;margin-right:10px}.hero h1{font-family:Outfit,Arial,sans-serif;font-size:clamp(46px,5.5vw,75px);line-height:1.02;margin:22px 0;letter-spacing:-3px;font-weight:800;max-width:600px}.hero h1 em,.schedule-box em{color:var(--gold);font-style:normal}.hero p{max-width:465px;font-size:16px;line-height:1.8;color:#e8dfe0}.hero-link{display:inline-block;background:var(--red);color:#fff;border-radius:7px;padding:14px 20px;font-weight:800;margin-top:12px}.hero-link span{margin-left:24px}.hero-link:hover{background:#d43b40}.hero-detail{display:flex;gap:25px;margin-top:40px;font-size:10px;letter-spacing:1px;font-weight:700;color:#d6bac3}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:400px}.rings{position:relative;width:370px;height:370px;display:grid;place-items:center}.ring{position:absolute;border:2px solid rgba(255,255,255,.13);border-radius:50%}.ring-one{inset:8px}.ring-two{inset:56px}.ring-three{inset:103px;border-color:rgba(206,160,31,.4)}.center-disc{width:145px;height:145px;border-radius:50%;background:var(--gold);display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:0 0 100px rgba(206,160,31,.15)}.center-disc span{font:900 80px Outfit;line-height:.9;color:var(--wine)}.center-disc small{font-size:12px;letter-spacing:5px;color:var(--wine);font-weight:800}.hero-art-label{position:absolute;bottom:32px;right:5px;font-size:10px;line-height:1.7;letter-spacing:2px;color:#b88f9e;text-align:right}.radio-section{padding:65px 0 70px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:25px}.section-heading h2{font-family:Outfit;font-size:41px;line-height:1.1;letter-spacing:-1.7px;margin:10px 0 0}.heading-period{color:var(--red)}.onair,.demo-tag{border:1px solid #e7dadb;border-radius:30px;padding:10px 15px;color:var(--gray);font-size:10px;font-weight:800;letter-spacing:1px}.onair.online{color:#227d52;border-color:#b6e5c9}.onair.online .status-dot{background:#19a25b}.player-card{background:#f7f4f2;border:1px solid #ece6e3;border-radius:14px;padding:27px;display:flex;gap:27px;align-items:center}.cover{width:175px;height:175px;flex-shrink:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:linear-gradient(140deg,#9a213b,#471327);border-radius:10px;color:#fff;overflow:hidden}.cover img{width:100%;height:100%;object-fit:cover}.cover-wave{font-size:55px;line-height:1.2;color:var(--gold)}.cover strong{font:800 13px Outfit;letter-spacing:1.5px}.cover small{font-size:9px;letter-spacing:3px;color:#dcb9bc}.track{flex:1;min-width:0}.track-label{font-size:10px;letter-spacing:1.5px;color:var(--red);font-weight:800}.track h3{font:800 29px Outfit;letter-spacing:-.7px;margin:11px 0 4px;overflow-wrap:anywhere}.track p{color:#797176;font-size:14px;margin:0 0 28px}.audio-info{display:flex;gap:21px;font-size:11px;color:#817a7c}.controls{display:flex;flex-direction:column;align-items:center;gap:20px}.play-button{border:0;border-radius:50%;background:var(--red);color:white;width:70px;height:70px;display:grid;place-items:center}.play-button:hover:not(:disabled){background:#d73a40}.play-button:disabled{opacity:.42;cursor:not-allowed}.volume-wrap{display:flex;gap:8px;align-items:center;color:var(--gray);font-size:12px}.volume-wrap input{width:85px;accent-color:var(--red)}.diagnostic{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e9e3e1;padding:17px 20px;border-radius:9px;margin-top:14px}.diagnostic strong{font-size:13px}.diagnostic p{font-size:12px;color:var(--muted);margin:5px 0 0}.diagnostic button{border:1px solid #d8c9ca;background:white;color:var(--wine);border-radius:6px;padding:10px 13px;font-size:12px;font-weight:700;white-space:nowrap}.radio-note{font-size:12px;color:#8c8387;margin-top:15px;line-height:1.6}.news-section{background:var(--cream);padding:65px 0 75px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.news-card{overflow:hidden;border:1px solid #eee6e2;background:white;border-radius:11px}.news-visual{height:165px;padding:17px;position:relative;color:#fff;display:flex;justify-content:space-between;background:#84243c}.visual-2{background:#8b898b}.visual-3{background:#b3282d}.news-visual>span{font-weight:800;letter-spacing:1px;font-size:12px;opacity:.7}.news-symbol{font:900 100px Outfit;line-height:1.2;opacity:.65}.news-copy{padding:22px}.news-category{font-size:10px;color:var(--red);letter-spacing:1.2px;font-weight:800}.news-copy h3{font:800 19px/1.3 Outfit;margin:10px 0}.news-copy p{font-size:13px;color:#817b7c;line-height:1.6;min-height:63px}.news-date{font-size:11px;color:#938c8f}.schedule-section{padding:70px 0}.schedule-box{border-radius:14px;background:var(--wine);color:white;padding:48px 55px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.schedule-box .overline{color:var(--gold)}.schedule-box h2{font:800 42px/1.05 Outfit;letter-spacing:-1.5px;margin:17px 0}.schedule-box p{color:#ddd0d4;max-width:520px;line-height:1.7}.schedule-symbol{font-size:135px;color:var(--gold);opacity:.75}.foot{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#817579;padding:28px 0}footer{border-top:1px solid var(--line)}@media(max-width:950px){.links{gap:12px}.brand{width:165px}.header-pill{display:none}.hero-grid{grid-template-columns:1.3fr .7fr}.rings{transform:scale(.7)}.hero-art-label{display:none}.player-card{flex-wrap:wrap}.controls{margin-left:auto}}@media(max-width:680px){.container{width:min(100% - 32px,1160px)}.nav{min-height:82px;flex-wrap:wrap;justify-content:center;padding:12px 0}.brand{width:175px}.links{justify-content:center;flex-wrap:wrap;width:100%;font-size:12px;gap:14px}.hero-grid{display:block}.hero-text{padding:53px 0}.hero h1{font-size:48px}.hero-art{display:none}.hero-detail{gap:12px;flex-wrap:wrap}.radio-section,.news-section{padding:45px 0}.section-heading{align-items:start}.section-heading h2{font-size:33px}.onair{font-size:9px;padding:8px}.player-card{padding:17px;gap:17px}.cover{width:110px;height:110px}.cover-wave{font-size:36px}.cover strong{font-size:9px}.cover small{font-size:7px}.track{min-width:calc(100% - 127px)}.track h3{font-size:20px}.track p{margin-bottom:16px}.audio-info{flex-wrap:wrap;gap:9px}.controls{width:100%;flex-direction:row;justify-content:space-between}.play-button{height:56px;width:56px}.diagnostic{align-items:flex-start;flex-direction:column}.news-grid{grid-template-columns:1fr}.news-copy p{min-height:0}.demo-tag{font-size:8px}.schedule-section{padding:40px 0}.schedule-box{padding:30px}.schedule-box h2{font-size:34px}.schedule-symbol{display:none}.foot{flex-direction:column}}

/* Reproductor propio, flotante y minimizado — mismos controles, un solo audio */
body { padding-bottom:140px; }
.cover img { width:100%;height:100%;object-fit:cover;border-radius:inherit; }
.floating-player,.mini-player{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;align-items:center;gap:14px;width:min(740px,calc(100% - 24px));padding:12px 17px;border-radius:17px;background:#65132c;color:white;box-shadow:0 12px 35px #0005;border:1px solid #a87d63}
.mini-player{width:min(470px,calc(100% - 24px));background:#3b2030}
.floating-player img,.mini-player img{width:54px;height:54px;object-fit:cover;border-radius:9px;background:#fff}
.mini-player img{width:42px;height:42px}
.fp-details{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.fp-details small{color:#e2c083;font-weight:700;font-size:11px}
.fp-details strong{font-size:14px}
.fp-details span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;color:#f2e9ec}
.floating-player button,.mini-player button{border:0;border-radius:50%;width:41px;height:41px;background:#fff;color:#65132c;font-size:17px;cursor:pointer;flex-shrink:0}
.floating-player button:disabled,.mini-player button:disabled{opacity:.4;cursor:not-allowed}
.hidden{display:none!important}
@media(max-width:550px){.floating-player,.mini-player{gap:8px;padding:10px}.floating-player img{width:45px;height:45px}.floating-player button{width:34px;height:34px}.fp-details strong{font-size:12px}}



/* NOTICIAS DINÁMICAS */

.news-visual {
  position: relative;
  overflow: hidden;
}

.news-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-number {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 0 1px 5px rgba(0,0,0,.5);
}

.news-title-link {
  color: inherit;
  text-decoration: none;
}

.news-title-link:hover {
  text-decoration: underline;
}

.news-more {
  margin-top: 25px;
  text-align: center;
}

.news-more a {
  color: #81243b;
  font-weight: 700;
  text-decoration: none;
}

.news-more a:hover {
  text-decoration: underline;
}

.news-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 35px 15px;
  color: #777;
}

.news-section[hidden] {
  display: none !important;
}

/* Noticias de la página principal: el mismo diseño que en las páginas de noticias */
.news-grid .news-card {display:flex; flex-direction:column; transition:box-shadow .2s,transform .2s}
.news-grid .news-card:hover {box-shadow:0 10px 26px rgba(54,20,38,.09);transform:translateY(-2px)}
.news-grid .news-copy {display:flex;flex-direction:column;flex:1}
.news-grid .news-copy p {min-height:0;flex:1}
.news-grid .news-date {margin-top:18px}
.news-visual .news-image {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.news-visual .news-number {position:relative;z-index:2;opacity:1;color:#fff;text-shadow:0 1px 5px #0008}
.news-title-link:hover {color:var(--wine);text-decoration:underline}
.news-more {text-align:center;margin-top:26px}
.news-all-link {display:inline-flex;gap:10px;align-items:center;border:1px solid #ddc4ca;background:#fff;border-radius:9px;padding:13px 19px;font-size:12px;font-weight:800;color:var(--wine)}
.news-all-link:hover {background:#f5e9ec;border-color:var(--wine)}
.news-grid .rf-empty {grid-column:1/-1;background:#fff;border:1px solid #ece3df;border-radius:12px;padding:36px 32px;display:flex;align-items:center;gap:20px;min-height:165px}
.news-grid .rf-empty-icon {height:68px;width:68px;display:grid;place-items:center;border-radius:15px;background:#f4e6e9;color:var(--wine);font:800 37px Outfit;flex-shrink:0}
.news-grid .rf-empty h3 {font:800 22px Outfit;margin:0 0 7px}
.news-grid .rf-empty p {margin:0;color:var(--muted);font-size:14px;line-height:1.65;min-height:0}
.news-section[hidden] {display:none!important}
@media(max-width:680px){.news-grid .rf-empty{padding:24px;flex-direction:column;align-items:flex-start}}


/* =====================================
   BARRA DE NAVEGACIÓN FIJA
===================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(39, 21, 27, 0.06);
}

/* Evita ocultar secciones al navegar */
html {
  scroll-padding-top: 110px;
}

/* =====================================
   BOTÓN ACCEDER
===================================== */

.site-header a.rf-access-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  background: #ffffff;
  color: #66142e;
  border: 1px solid #e8d4da;
  border-radius: 30px;
  padding: 11px 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.site-header a.rf-access-link:hover {
  background: #66142e;
  color: #ffffff;
  border-color: #66142e;
}

/* Diseño para teléfonos */
@media (max-width: 680px) {
  .site-header .nav {
    justify-content: space-between;
  }

  .site-header .brand {
    order: 1;
    width: 155px;
  }

  .site-header a.rf-access-link {
    order: 2;
    padding: 9px 14px;
  }

  .site-header .links {
    order: 3;
    flex: 0 0 100%;
  }

  html {
    scroll-padding-top: 160px;
  }
}


/* =========================================
   MENÚ DINÁMICO DE AUTENTICACIÓN
========================================= */

/* Respetar siempre elementos ocultos */
.site-header .rf-auth-login[hidden],
.site-header .rf-auth-account[hidden],
.site-header .rf-auth-admin[hidden] {
  display: none !important;
}

/* Botón Acceder */
.site-header .rf-access-link:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #66142e;
  border: 1px solid #e8d4da;
  border-radius: 30px;
  padding: 11px 18px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.site-header .rf-access-link:hover {
  background: #66142e;
  border-color: #66142e;
  color: white;
}

/* Accesos de usuarios autenticados */
.site-header .rf-auth-account,
.site-header .rf-auth-admin {
  font-weight: 700;
}

.site-header .rf-auth-admin {
  color: #81243b;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 680px) {
  .site-header .rf-access-link:not([hidden]) {
    padding: 9px 14px;
    font-size: 11px;
  }

  .site-header .links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Imagen circular del encabezado */
.hero-art .center-disc {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  border: 3px solid #cea01f;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art .hero-center-logo {
  display: block;
  width: 150%;
  height: 150%;
  max-width: none;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
}


/* =====================================
   VENTANA PARA PEDIR CANCIONES
===================================== */

.song-dialog {
  width: min(650px, 94vw);
  max-height: 85vh;
  border: none;
  border-radius: 16px;
  padding: 0;
  overflow: auto;
  background: #fff;
  color: #27151b;
  box-shadow: 0 15px 60px rgba(0,0,0,.25);
}

.song-dialog::backdrop {
  background: rgba(30, 10, 20, .7);
}

.song-dialog-content {
  padding: 28px;
}

.song-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.song-dialog-header h2 {
  font: 800 30px Outfit, sans-serif;
  margin: 8px 0;
}

.song-dialog-header p {
  color: #77747a;
  font-size: 13px;
  line-height: 1.6;
}

#song-close {
  align-self: flex-start;
  border: none;
  background: #f5e9ed;
  color: #66142e;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

#song-search {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #e7dadd;
  border-radius: 9px;
  outline-color: #81243b;
}

#song-status {
  font-size: 12px;
  color: #77747a;
  margin: 15px 0;
}

.song-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.song-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 14px;
  border: 1px solid #eee5e7;
  border-radius: 9px;
}

.song-row strong {
  display: block;
  font-size: 14px;
}

.song-row small {
  display: block;
  color: #77747a;
  margin-top: 4px;
}

.song-row button {
  background: #66142e;
  color: white;
  border: none;
  border-radius: 7px;
  padding: 9px 14px;
  font-weight: 700;
}

.song-row button:disabled {
  background: #b7a9ae;
  cursor: default;
}

@media (max-width: 480px) {
  .song-dialog-content {
    padding: 18px;
  }

  .song-dialog-header h2 {
    font-size: 24px;
  }
}


/* =====================================
   TARJETA PEDIR CANCIONES
===================================== */

.request-box {
  display: flex;
  align-items: center;
  gap: 20px;

  margin-top: 20px;
  padding: 26px 30px;

  background: linear-gradient(
    135deg,
    #fff8f8 0%,
    #f8edf1 100%
  );

  border: 1px solid #ead5dc;
  border-radius: 16px;

  box-shadow: 0 6px 20px
    rgba(101, 19, 44, 0.05);
}

/* Icono musical */

.request-box-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #65132c;
  color: #ffffff;

  border-radius: 15px;
  font-size: 32px;
}

/* Texto */

.request-box-content {
  flex: 1;
  min-width: 0;
}

.request-box-label {
  display: block;
  margin-bottom: 7px;

  color: #a62045;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.request-box-content h3 {
  margin: 0 0 7px;

  color: #27151b;
  font-family: "Outfit", sans-serif;
  font-size: 23px;
  font-weight: 800;
}

.request-box-content p {
  margin: 0;

  color: #77747a;
  font-size: 13px;
  line-height: 1.6;
}

/* Botón */

.request-song-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 15px 24px;

  background: #65132c;
  color: #ffffff;

  border: none;
  border-radius: 10px;

  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
  white-space: nowrap;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.request-song-button:hover {
  background: #7d1a3a;
  transform: translateY(-2px);
}

.request-song-button:active {
  transform: translateY(0);
}

/* Adaptación móvil */

@media (max-width: 700px) {

  .request-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .request-box-content h3 {
    font-size: 21px;
  }

  .request-song-button {
    width: 100%;
  }
}
