/* ============================================================
   CONFIGURACION GENERAL
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {

    --rojo: #e41f2b;
    --rojo-claro: #ff3f49;

    --texto: #ffffff;

    --glass: rgba(255, 255, 255, .10);
    --glass-fuerte: rgba(255, 255, 255, .15);

    --borde: rgba(255, 255, 255, .18);

}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: white;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 35px 16px;

    overflow-x: hidden;

    background:
        linear-gradient(
            135deg,
            #65232b,
            #292b37 38%,
            #18313c 70%,
            #30191d
        );

}



/* ============================================================
   FONDO
============================================================ */

.background-image {

    position: fixed;

    inset: -50px;

    background-image:
        url("imagen.jpg");

    background-size: cover;

    background-position: center;

    filter:
        blur(32px)
        saturate(1.3);

    opacity: .58;

    transform: scale(1.15);

    z-index: -5;

}


.background-overlay {

    position: fixed;

    inset: 0;

    background:

        linear-gradient(
            135deg,
            rgba(95, 25, 35, .48),
            rgba(25, 28, 38, .38) 45%,
            rgba(13, 36, 44, .48)
        );

    z-index: -4;

}



/* ============================================================
   LUCES DEL FONDO
============================================================ */

.orb {

    position: fixed;

    border-radius: 50%;

    filter: blur(12px);

    pointer-events: none;

    z-index: -3;

}


.orb-1 {

    width: 420px;

    height: 420px;

    background:
        rgba(255, 50, 65, .19);

    top: -150px;

    left: -120px;

}


.orb-2 {

    width: 380px;

    height: 380px;

    background:
        rgba(74, 170, 205, .16);

    right: -130px;

    bottom: -130px;

}


.orb-3 {

    width: 230px;

    height: 230px;

    background:
        rgba(255, 255, 255, .07);

    left: 55%;

    top: 18%;

}



/* ============================================================
   PLAYER GLASSMORPHISM
============================================================ */

.player {

    width: 100%;

    max-width: 455px;

    position: relative;

    background:

        linear-gradient(
            145deg,
            rgba(255, 255, 255, .16),
            rgba(255, 255, 255, .07)
        );

    border:

        1px solid
        rgba(255, 255, 255, .20);

    border-radius: 32px;

    padding: 18px;

    backdrop-filter:

        blur(28px)
        saturate(1.3);

    -webkit-backdrop-filter:

        blur(28px)
        saturate(1.3);

    box-shadow:

        0 35px 90px
        rgba(0, 0, 0, .35),

        inset 0 1px 0
        rgba(255, 255, 255, .18);

}



/* BRILLO SUPERIOR */

.player::before {

    content: "";

    position: absolute;

    top: 0;

    left: 12%;

    right: 12%;

    height: 1px;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .65),
            transparent
        );

}



/* ============================================================
   HEADER RADIO
============================================================ */

.radio-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding:

        2px
        4px
        16px;

}


.radio-left {

    display: flex;

    align-items: center;

    gap: 10px;

}


.station-icon {

    width: 38px;

    height: 38px;

    border-radius: 12px;

    display: flex;

    justify-content: center;

    align-items: center;

    background:

        rgba(255, 255, 255, .10);

    border:

        1px solid
        rgba(255, 255, 255, .13);

    backdrop-filter:
        blur(10px);

    font-size: 14px;

}


.radio-title {

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

}


.radio-location {

    margin-top: 3px;

    font-size: 10px;

    color:

        rgba(255, 255, 255, .58);

}



/* ============================================================
   AL AIRE
============================================================ */

.signal {

    display: flex;

    align-items: center;

    gap: 7px;

    padding:

        8px
        11px;

    border-radius: 50px;

    background:

        rgba(255, 255, 255, .08);

    border:

        1px solid
        rgba(255, 255, 255, .12);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .7px;

}


.signal-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background:
        var(--rojo-claro);

    box-shadow:

        0 0 12px
        rgba(255, 50, 60, .95);

    animation:
        pulse 1.5s infinite;

}


@keyframes pulse {

    0%,
    100% {

        opacity: 1;

        transform:
            scale(1);

    }


    50% {

        opacity: .4;

        transform:
            scale(.8);

    }

}



/* ============================================================
   IMAGEN PROGRAMA
============================================================ */

.image-container {

    width: 100%;

    aspect-ratio: 1 / 1;

    border-radius: 25px;

    overflow: hidden;

    position: relative;

    box-shadow:

        0 20px 45px
        rgba(0, 0, 0, .25);

    border:

        1px solid
        rgba(255, 255, 255, .13);

}


.image-container img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 1s ease;

}


.image-container:hover img {

    transform:
        scale(1.035);

}


.image-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            to bottom,
            transparent 48%,
            rgba(0, 0, 0, .12) 65%,
            rgba(0, 0, 0, .65) 100%
        );

}


.image-radio {

    position: absolute;

    bottom: 15px;

    left: 15px;

    padding:

        8px
        12px;

    border-radius: 50px;

    display: flex;

    align-items: center;

    gap: 7px;

    background:

        rgba(15, 15, 20, .38);

    border:

        1px solid
        rgba(255, 255, 255, .18);

    backdrop-filter:
        blur(13px);

    -webkit-backdrop-filter:
        blur(13px);

    font-size: 10px;

    font-weight: 700;

}



/* ============================================================
   INFORMACION
============================================================ */

.program-info {

    text-align: center;

    padding:

        22px
        8px
        5px;

}


.program-type {

    color:

        rgba(255, 255, 255, .60);

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.8px;

    margin-bottom: 7px;

}


.program-info h1 {

    font-size:

        clamp(
            25px,
            6vw,
            32px
        );

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -.8px;

    text-shadow:

        0 3px 15px
        rgba(0, 0, 0, .15);

}


.schedule {

    margin-top: 11px;

    color:

        rgba(255, 255, 255, .68);

    font-size: 12px;

}


.schedule i {

    margin-right: 5px;

}



/* ============================================================
   REPRODUCTOR
============================================================ */

.controls {

    margin-top: 22px;

    padding: 18px;

    border-radius: 22px;

    background:

        rgba(255, 255, 255, .075);

    border:

        1px solid
        rgba(255, 255, 255, .12);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

}


.player-main {

    display: flex;

    align-items: center;

    gap: 16px;

}



/* ============================================================
   PLAY
============================================================ */

.play-button {

    width: 68px;

    height: 68px;

    min-width: 68px;

    border-radius: 50%;

    border: none;

    cursor: pointer;

    display: flex;

    justify-content: center;

    align-items: center;

    color: white;

    font-size: 23px;

    background:

        linear-gradient(
            145deg,
            #ff444e,
            #bf111b
        );

    box-shadow:

        0 12px 35px
        rgba(220, 20, 30, .35),

        inset 0 1px 2px
        rgba(255, 255, 255, .45);

    transition:

        transform .2s ease,
        box-shadow .2s ease;

}


.play-button:hover {

    transform:
        scale(1.06);

    box-shadow:

        0 16px 42px
        rgba(220, 20, 30, .48),

        inset 0 1px 2px
        rgba(255, 255, 255, .45);

}


.play-button:active {

    transform:
        scale(.96);

}



/* ============================================================
   DATOS DEL STREAM
============================================================ */

.stream-info {

    flex: 1;

    min-width: 0;

}


.stream-label {

    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.4px;

    color:

        rgba(255, 255, 255, .48);

}


.stream-title {

    margin-top: 4px;

    font-size: 14px;

    font-weight: 700;

}


.stream-status {

    margin-top: 4px;

    color:

        rgba(255, 255, 255, .60);

    font-size: 10px;

}


.stream-status.active {

    color:

        rgba(255, 255, 255, .90);

}



/* ============================================================
   BARRAS AUDIO
============================================================ */

.audio-bars {

    height: 18px;

    display: flex;

    align-items: center;

    gap: 3px;

    margin-top: 8px;

    opacity: 0;

    transition:
        opacity .3s ease;

}


.audio-bars.active {

    opacity: 1;

}


.audio-bars span {

    display: block;

    width: 3px;

    height: 5px;

    border-radius: 5px;

    background:

        rgba(255, 255, 255, .75);

    animation:

        sound .8s
        infinite
        ease-in-out;

}


.audio-bars span:nth-child(2) {

    animation-delay:
        .12s;

}


.audio-bars span:nth-child(3) {

    animation-delay:
        .24s;

}


.audio-bars span:nth-child(4) {

    animation-delay:
        .36s;

}


.audio-bars span:nth-child(5) {

    animation-delay:
        .18s;

}


@keyframes sound {

    0%,
    100% {

        height: 4px;

    }


    50% {

        height: 17px;

    }

}



/* ============================================================
   VOLUMEN
============================================================ */

.volume-control {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 17px;

}


.volume-control i {

    width: 18px;

    color:

        rgba(255, 255, 255, .65);

    font-size: 13px;

}


.volume-control input {

    width: 100%;

    height: 4px;

    cursor: pointer;

    accent-color:
        var(--rojo-claro);

}



/* ============================================================
   REDES
============================================================ */

.social-section {

    margin-top: 21px;

}


.social-label {

    text-align: center;

    margin-bottom: 12px;

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.6px;

    color:

        rgba(255, 255, 255, .48);

}


.socials {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

}


.socials a {

    width: 46px;

    height: 46px;

    border-radius: 15px;

    display: flex;

    justify-content: center;

    align-items: center;

    text-decoration: none;

    color: white;

    font-size: 17px;

    background:

        rgba(255, 255, 255, .08);

    border:

        1px solid
        rgba(255, 255, 255, .13);

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

    box-shadow:

        inset 0 1px 0
        rgba(255, 255, 255, .09);

    transition:

        transform .22s ease,
        background .22s ease;

}


.socials a:hover {

    transform:
        translateY(-4px);

    background:

        rgba(255, 255, 255, .18);

}



/* WHATSAPP */

.socials .whatsapp:hover {

    background:
        rgba(37, 211, 102, .85);

}


/* INSTAGRAM */

.socials .instagram:hover {

    background:

        linear-gradient(
            135deg,
            #833ab4,
            #fd1d1d,
            #fcb045
        );

}


/* FACEBOOK */

.socials .facebook:hover {

    background:
        #1877f2;

}


/* YOUTUBE */

.socials .youtube:hover {

    background:
        #ff0000;

}


/* TIKTOK */

.socials .tiktok:hover {

    background:
        #111;

}



/* ============================================================
   COMPARTIR
============================================================ */

.share-button {

    width: 100%;

    margin-top: 19px;

    padding:

        14px
        18px;

    border-radius: 16px;

    border:

        1px solid
        rgba(255, 255, 255, .14);

    background:

        rgba(255, 255, 255, .085);

    color: white;

    font-family:
        inherit;

    font-weight: 700;

    font-size: 12px;

    cursor: pointer;

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

    transition:
        .25s ease;

}


.share-button:hover {

    background:

        rgba(255, 255, 255, .16);

    transform:
        translateY(-2px);

}


.share-button i {

    margin-right: 7px;

}



/* ============================================================
   FOOTER
============================================================ */

.footer {

    text-align: center;

    padding:

        20px
        10px
        5px;

    font-size: 9px;

    line-height: 1.8;

    color:

        rgba(255, 255, 255, .42);

}


.footer strong {

    color:

        rgba(255, 255, 255, .68);

}



/* ============================================================
   MOVILES
============================================================ */

@media(max-width: 500px) {

    body {

        align-items:
            flex-start;

        padding:

            12px
            10px
            25px;

    }


    .player {

        border-radius:
            27px;

        padding:
            13px;

    }


    .image-container {

        border-radius:
            21px;

    }


    .controls {

        padding:
            15px;

    }


    .play-button {

        width:
            63px;

        height:
            63px;

        min-width:
            63px;

    }

}



@media(max-width: 360px) {

    .program-info h1 {

        font-size:
            25px;

    }


    .signal {

        display:
            none;

    }

}