f*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:Arial,sans-serif;background:#07090f;color:#fff;line-height:1.6 lign-items:center;gap:16px;flex-wrap:wrap}#botonRadio{padding:16px 24px;border:0;border-radius:999px;background:linear-gradient(135deg,#ef1b24,#a5070d);color:#fff;font-weight:900;cursor:pointer}#botonRadio.reproduciendo{background:linear-gradient(135deg,#168cff,#0759b3)}.reproductor label{padding:9px 13px;border-radius:999px;background:rgba(0,0,0,.55)}.ecualizador{height:52px;margin-top:24px;display:flex;justify-content:center;align-items:end;gap:6px}.ecualizador span{width:5px;height:8px;border-radius:5px;background:linear-gradient(#168cff,#ef1b24);animation:onda .8s ease-in-out infinite alternate;animation-play-state:paused}.ecualizador.activo span{animation-play-state:running}.ecualizador span:nth-child(2n){animation-delay:.12s}.ecualizador span:nth-child(3n){animation-delay:.24s}.seccion{padding:90px 6%;background:#10141f}.seccion h2{font-size:clamp(34px,5vw,58px)}.oscura{background:#07090f}.tarjetas{margin-top:30px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.tarjetas article{padding:26px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.04)}.placeholder{margin-top:25px;min-height:220px;display:grid;place-items:center;border:1px dashed rgba(255,255,255,.3);border-radius:20px}.redes{margin-top:22px;display:flex;gap:12px;flex-wrap:wrap}.redes a{padding:10px 16px;border:1px solid rgba(255,255,255,.15);border-radius:999px;color:#fff;text-decoration:none}.boton-chat{position:fixed;right:22px;bottom:22px;z-index:20;width:58px;height:58px;border:0;border-radius:50%;background:#ef1b24;font-size:26px}.ventana-chat{position:fixed;right:22px;bottom:92px;z-index:19;width:min(360px,calc(100vw - 32px));padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:#0e121b;opacity:0;visibility:hidden;transform:translateY(15px);transition:.25s}.ventana-chat.abierto{opacity:1;visibility:visible;transform:none}.chat-cabecera{display:flex;justify-content:space-between}.chat-cabecera button{background:none;border:0;color:#fff}.chat-mensajes{height:150px;padding:12px 0;overflow:auto}.ventana-chat form{display:grid;gap:9px}.ventana-chat input,.ventana-chat textarea{padding:10px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:#090c12;color:#fff}.ventana-chat form button{padding:10px;border:0;border-radius:9px;background:#ef1b24;color:#fff;font-weight:900}footer{padding:25px;text-align:center;border-top:1px solid rgba(255,255,255,.12)}@keyframes pulso{70%{box-shadow:0 0 0 10px rgba(239,27,36,0)}}@keyframes onda{to{height:48px}}@media(max-width:900px){.boton-menu{display:block}.menu-principal{position:absolute;top:76px;left:0;width:100%;padding:20px 6%;display:none;flex-direction:column;background:#07090f}.menu-principal.abierto{display:flex}.tarjetas{grid-template-columns:1fr}}.chat-hora{
    font-size: 12px;
    color: #aab0bd;
    margin-right: 5px;
}

.chat-nombre{
    color: #ffffff;
    font-weight: 700;
}

.chat-mensajes p{
    margin: 5px 0;
    line-height: 1.35;
}.chat-mensajes p{
    margin: 7px 0;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chat-mensajes p:last-child{
    border-bottom: none;
}/* Horarios de programación */
#programacion .tarjetas article b {
    display: inline-block;
    background: #ef1b24;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(239,27,36,.25);
}

#programacion .tarjetas article h3 {
    font-size: 21px;
    margin-bottom: 7px;
}
/* Noticias */
.noticias-grid{
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.noticia{box-shadow: 0 10px 25px rgba(0,0,0,0.18);display: flex;
flex-direction: column;
height: 100%;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.03)
    );
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 24px;
    transition: transform .25s ease, border-color .25s ease;
}

.noticia:hover{
    transform: translateY(-5px);
    border-color: rgba(239,27,36,0.55);
}

.noticia-etiqueta{
    display: inline-block;
    background: #ef1b24;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.noticia h3{
    font-size: 21px;
    margin: 0 0 10px;
}

.noticia p{
    margin: 0 0 16px;
    opacity: .82;
    line-height: 1.5;
}

.noticia a{margin-top: auto;

    color: #ef1b24;
    text-decoration: none;
    font-weight: 800;
}


@media(max-width:900px){
    .noticias-grid{
        grid-template-columns: 1fr;
    }
}/* Videos */
.videos-intro{
    margin-top: 8px;
    opacity: .8;
}

.videos-grid{
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.video-card{
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 260px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.03)
    );
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 24px;
    transition: transform .25s ease, border-color .25s ease;
}

.video-card:hover{
    transform: translateY(-5px);
    border-color: rgba(239,27,36,0.55);
}

.video-icon{
    font-size: 28px;
    margin-bottom: 14px;
}

.video-card h3{
    font-size: 21px;
    margin: 0 0 10px;
}

.video-card p{
    margin: 0 0 18px;
    opacity: .82;
    line-height: 1.5;
}

.video-boton{margin-top: auto;
    display: inline-block;
    background: #ef1b24;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    padding: 9px 14px;
    border-radius: 999px;
}

@media(max-width:900px){
    .videos-grid{
        grid-template-columns: 1fr;
    }
}/* Redes sociales */
.redes-intro{
    margin-top: 8px;
    opacity: .8;
}

.redes{
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.redes a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
    font-weight: 800;font-size: 16px;
letter-spacing: .3px;
box-shadow:0 12px 30px rgba(0,0,0,.22);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.redes a:hover{
    transform: translateY(-4px);
    border-color: rgba(239,27,36,.6);
    background: rgba(239,27,36,.14);
box-shadow: 0 10px 24px rgba(239,27,36,.20);
}

@media(max-width:600px){
    .redes{
        flex-direction: column;
    }

    .redes a{
        width: 100%;
    }

}


.redes a{
    min-width: 145px;
    padding: 13px 20px;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.redes a:hover{
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 10px 25px rgba(0,0,0,.28);
}

/* ===== AHORA EN ANTENA ===== */

.ahoraAntena {
    max-width: 520px;
    margin: 8px auto;
    padding: 7px 16px;
    overflow: hidden;
    white-space: nowrap;
   
    font-weight: 700;
}

.ahoraAntenaTexto {
    display: inline-block;
    white-space: nowrap;
}

.ahoraAntenaTexto.moviendo {
    padding-left: 100%;
    animation: moverAntena 14s linear infinite;
}

@keyframes moverAntena {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}
    0% {
        transform: translateX(0);
    }

   50% {
    transform: translateX(-220px);
}

    100% {
        transform: translateX(0);
    }
}/* ===== PROGRAMA EN VIVO - EFECTO ===== */

.programa-card.en-vivo-ahora {
    border: 2px solid #ff1b24;
    box-shadow: 0 0 18px rgba(255, 27, 36, 0.55);
    animation: pulsoEnVivo 2s infinite;
}

@keyframes pulsoEnVivo {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 27, 36, 0.35);
    }

    50% {
        box-shadow: 0 0 28px rgba(255, 27, 36, 0.85);
    }
}

/* ===== AJUSTE PORTADA PARA MOVIL ===== */
@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero {
        width: 100%;
        max-width: 100vw;
        min-width: 0;
        overflow: hidden;
        background-size: cover;
        background-position: center top;
    }

    .hero-contenido {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 58px);
        line-height: 0.95;
        word-break: normal;
    }

    .ahoraAntena {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        box-sizing: border-box;
    }

    .reproductor {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    #ecualizador {
        max-width: 100%;
        overflow: hidden;
    }
}/* ===== CORRECCION EXTRA PARA IPHONE ===== */
@media (max-width: 600px) {

    .hero-contenido {
        min-width: 0;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        text-align: center;
    }

    .hero h1 {
        width: 100%;
        max-width: 100%;
        font-size: 30px;
        line-height: 1;
        white-space: normal;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero .eslogan,
    .hero-contenido > p {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 8px;
        padding-right: 8px;
        text-align: center;
    }

    .ahoraAntena {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: 8px;
        padding-right: 8px;
    }

    .reproductor {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding-left: 8px;
        padding-right: 8px;
    }

    #controlVolumen {
        width: 130px;
        max-width: 40vw;
    }
}


/* ===== AJUSTE AHORA EN ANTENA + VOLUMEN MOVIL ===== */
@media (max-width: 600px) {

    .ahoraAntena {
    display: block;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin: 12px auto;
    overflow: hidden;
    white-space: normal;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.35;
}
.ahoraAntenaTexto {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word;
    line-height: 1.35;
    text-align: center;
}
        
    }

    .ahoraAntenaTexto.moviendo {
        animation: moverAntenaMovil 12s linear infinite;
    }

    @keyframes moverAntenaMovil {
        0% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(0);
        }
    }

    #controlVolumen {
        width: 105px;
        max-width: 105px;
    }

    .reproductor {
        justify-content: center;
        gap: 8px;
    }


/* ===== ESCALA FINAL PORTADA MOVIL ===== */
@media (max-width: 600px) {
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

.hero {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}
    .hero-contenido {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    
}
    .hero h1 {
        font-size: 30px !important;
        line-height: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .estado {
        font-size: 12px !important;
        white-space: nowrap;
    }

    .hero .eslogan {
        font-size: 20px !important;
    }

    .hero-contenido > p {
        font-size: 14px !important;
    }

    .ahoraAntena {
        font-size: 14px !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #botonRadio {
        font-size: 13px !important;
        padding: 12px 16px !important;
    }

    #controlVolumen {
        width: 95px !important;
        max-width: 95px !important;
    }
}/* ===== ANIMACION AHORA EN ANTENA EN MOVIL ===== */
@media (max-width: 600px) {.ahora-titulo {
    font-size: 14px !important;
    font-weight: 800;
}

.ahora-cancion {
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1.35;
}

   .ahoraAntena.moviendo {
    white-space: pre-line !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
    animation: none !important;
}

    @keyframes moverAntenaMovil {
        0% {
            transform: translateX(40%);
        }

        100% {
            transform: translateX(-100%);
        }
    }



.reproductor {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

.reproductor .caratula-actual {
    width: 75px !important;
    height: 75px !important;
    min-width: 75px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    margin: 0 !important;
    position: relative !important;
    top: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.reproductor .caratula-actual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ===== REPRODUCTOR FINAL CENTRADO ===== */

.reproductor {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
}

#botonRadio {
    display: inline-block !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.reproductor .caratula-actual {
    width: 75px !important;
    height: 75px !important;
    min-width: 75px !important;
    flex-shrink: 0 !important;
  margin-left: 20px !important;
margin-right: 0 !important;
}

#controlVolumen {
    display: inline-block !important;
    width: 95px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}
/* ===== ESTADO DE PROGRAMACI�0�7N ===== */

.programa-estado {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: #ef1b24;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;


}

/* ===== PROGRAMA ACTUAL - ESCRITORIO Y MOVIL ===== */

.programa-card.programa-activo {
    border: 3px solid #ff1744 !important;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.9),
                0 0 35px rgba(255, 23, 68, 0.55) !important;
    background: rgba(255, 23, 68, 0.12) !important;
    transform: translateY(-4px) !important;
    transition: all 0.3s ease !important;
}
}
/* ===== RECUPERACION CABECERA Y MENU ===== */
.encabezado {

    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    min-height: 76px;
    padding: 12px %;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(7, 9, 15, .9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.marca {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 28px;
}

.marca span {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.marca strong {
    font-size: 21px;
}

.marca small {
    margin-top: 6px;
    color: #ff4b52;
    font-size: 11px;
    letter-spacing: 4px;
}

.menu-principal {
    display: flex;
    gap: 10px;
}

.menu-principal a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.boton-menu {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 30px;
}/* ===== RECUPERACION PORTADA HERO ===== */

.hero {
    min-height: 100vh;
    padding: 130px 6% 70px;
    display: grid;
    place-items: center;
    text-align: center;
    background:
        linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.78)),
        url('../img/fondo-horizontal.jpg') center top/cover no-repeat;
}

.hero-contenido {
    width: min(780px, 100%);
}

.estado {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0,0,0,.5);
    font-weight: 900;
    letter-spacing: 2px;
}

.estado span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef1b24;
}

.hero h1 {
    margin-top: 22px;
    font-size: clamp(50px, 9vw, 100px);
    line-height: .95;
    text-transform: uppercase;
    text-shadow: 0 10px 35px #000;
}

.hero h1 b {
    color: #ef1b24;
}

.eslogan {
    margin-top: 18px;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
}

/* ===== MENU MOVIL FINAL ===== */
@media (max-width: 900px) {

    .boton-menu {
        display: block !important;
        position: relative;
        z-index: 1001;
    }

    .menu-principal {
        display: none !important;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        padding: 20px 6%;
        flex-direction: column;
        background: #07090f;
        z-index: 1000;
    }

    .menu-principal.abierto {
        display: flex !important;
    }
}

/* ===== PORTADA MOVIL MAS ARRIBA ===== */
@media (max-width: 900px) {
    .hero {
        min-height: auto !important;
        padding: 55px 6% 45px !important;
        place-items: start center !important;
    }
}

/* ===== FONDO HERO MOVIL ===== */
@media (max-width: 900px) {
    .hero {
        background:
            linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.45)),
            url('../img/fondo-movil.jpg')
            center top / cover no-repeat !important;
    }
}

/* ===== FONDO HERO PC ===== */
@media (min-width: 901px) {
    .hero {
        background:
            linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.78)),
            url('../img/fondo-orizontal.jpg')
            center top / cover no-repeat !important;
    }
}

/* ===== CENTRAR CAR�0�9TULA EN PC ===== */
@media (min-width: 901px) {
    #caratulaActual {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ===== TARJETAS DE PROGRAMACI�0�7N ===== */
#programacion .tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#programacion .programa-card {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    text-align: center;
}

#programacion .programa-hora {
    font-size: 28px;
    font-weight: 900;
    color: #ef1b24;
    margin-bottom: 10px;
}

#programacion .programa-card h3 {
    font-size: 24px;
    margin: 8px 0;
}

#programacion .programa-card p {
    color: #c7c7c7;
    margin-bottom: 14px;
}

#programacion .programa-estado {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ef1b24;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 900px) {
    #programacion .tarjetas {
        grid-template-columns: 1fr;
    }
}

/* ===== NOTICIAS PROFESIONAL ===== */
#noticias .noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#noticias .noticia {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    overflow: hidden;
}

#noticias .noticia-etiqueta {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ef1b24;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 12px;
}

#noticias .noticia h3 {
    font-size: 22px;
    margin: 6px 0 10px;
}

#noticias .noticia p {
    color: #d1d1d1;
    line-height: 1.5;
}

#noticias .noticia a {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

#noticias .noticia a:hover {
    color: #ef1b24;
}

#noticias .noticia-imagen {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
    display: block;
}

@media (max-width: 900px) {
    #noticias .noticias-grid {
        grid-template-columns: 1fr;
    }

    #noticias .noticia-imagen {
        height: 210px;
    }
}
#en-vivo{
    scroll-margin-top: 90px;
}
}

.hero-botones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

#botonRadio,
.boton-musica-carta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 52px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef1b24, #a5070d);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 900;
    cursor: pointer;
}

.boton-musica-carta:hover {
    filter: brightness(1.12);
}

@media (max-width: 600px) {
    .hero-botones {
        flex-direction: column;
        gap: 12px;
    }

    #botonRadio,
    .boton-musica-carta {
        width: 340px;
        max-width: 100%;
        margin: 0;
    }
}