/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */
body{
    font-family:'Montserrat',sans-serif;
    color:#fff;
    min-height:100vh;
    overflow-x:hidden;
    display:flex;
    flex-direction:column;

    background-color:#000;

    background-image:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.75)),
        url("../Logo/paredladrillo.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    padding-top:120px;
}

/* CONTAINER */
.container{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

/* ========================
   HEADER
======================== */
header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    padding:18px 6%;

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

    background:rgba(10,15,25,.45);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 8px 32px rgba(0,0,0,.35),
        0 0 25px rgba(10,132,255,.18);

    transition:.35s ease;
}

header:hover{
    box-shadow:
        0 10px 40px rgba(0,0,0,.45),
        0 0 35px rgba(10,132,255,.35);
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #0a84ff;
}

.logo-text h1{
    font-size:1.1rem;
    font-weight:900;
}

.logo-text span{
    font-size:2rem;
    font-weight:900;
    display:block;
    line-height:1.1;
}

/* ========================
   MENU HAMBURGUESA
======================== */
.menu-toggle{
    display:none;

    width:50px;
    height:50px;

    border:none;
    border-radius:12px;

    background:rgba(255,255,255,.08);

    color:#fff;

    font-size:1.4rem;

    cursor:pointer;

    backdrop-filter:blur(10px);

    box-shadow:
        0 0 10px rgba(10,132,255,.35);

    transition:.3s;
}

.menu-toggle:hover{
    background:#0a84ff;
    transform:scale(1.05);
}

/* ========================
   SOCIALS
======================== */
.socials{
    display:flex;
    gap:18px;
}

.socials a{
    width:52px;
    height:52px;

    border-radius:50%;

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

    text-decoration:none;

    color:#fff;

    border:2px solid #0a84ff;

    font-size:1.3rem;

    transition:.3s;

    box-shadow:
        0 0 10px #0a84ff,
        0 0 20px #0a84ff55;
}

.socials a:hover{
    background:#0a84ff;

    transform:translateY(-5px);

    box-shadow:
        0 0 20px #0a84ff,
        0 0 50px #0a84ff;
}

/* WhatsApp */
.socials a:last-child{
    border-color:#00ff66;

    box-shadow:
        0 0 10px #00ff66,
        0 0 20px #00ff6655;
}

.socials a:last-child:hover{
    background:#00ff66;
    color:#000;
}

/* ========================
   MAIN
======================== */
main{
    flex:1;

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

    padding:30px 20px;
}

.player{
    width:100%;
    max-width:820px;

    text-align:center;

    position:relative;

    background:rgba(10,15,25,.38);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
    border:1px solid rgba(10,132,255,.16);
    border-radius:32px;
    padding:50px 40px 40px;
    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.05);
}

/* ========================
   HERO LOGO
======================== */
.hero-logo{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

/* IMAGEN */
.logo-arcs{
    width:520px;
    max-width:100%;

    object-fit:contain;

    margin-bottom:-55px;

    filter:
        drop-shadow(0 0 10px #0a84ff)
        drop-shadow(0 0 30px #0a84ff)
        drop-shadow(0 0 60px #0a84ff);

    animation:logoPulse 2.5s infinite ease-in-out;
}

/* TITULO */
.title{
    margin-top:0;
    line-height:.9;
    text-align:center;
}

.title h1{
    font-size:clamp(5rem,11vw,9rem);

    font-weight:900;

    color:transparent;

    -webkit-text-stroke:4px #0a84ff;

    letter-spacing:5px;

    text-shadow:
        0 0 15px #0a84ff,
        0 0 35px #0a84ff,
        0 0 70px #0a84ff;
}

/* ON AIR */
.onair{
    margin-top:16px;

    font-size:clamp(1rem,2.2vw,1.6rem);

    font-weight:700;

    letter-spacing:6px;

    text-shadow:
        0 0 10px #0a84ff,
        0 0 25px #0a84ff;

    display:inline-flex;
    align-items:center;
    gap:14px;

    padding:10px 28px;
    border-radius:50px;
    background:rgba(10,132,255,.08);
    border:1px solid rgba(10,132,255,.28);
    backdrop-filter:blur(10px);
}

.onair span{
    display:block;
    width:26px;
    height:2px;
    border-radius:2px;
    opacity:.8;
    background:linear-gradient(90deg,transparent,#0a84ff);
}

.onair span:last-child{
    background:linear-gradient(90deg,#0a84ff,transparent);
}

/* ========================
   PLAYER ROW
======================== */
.player-row{
    display:flex;
    align-items:center;
    gap:10px;

    width:100%;

    margin:24px 0;
}

/* WAVE */
.wave{
    flex:1;

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

    height:100px;

    overflow:hidden;
}

.wave span{
    width:4px;
    height:40px;

    border-radius:20px;

    background:#0a84ff;

    box-shadow:
        0 0 8px #0a84ff,
        0 0 18px #0a84ff55;

    animation:wave 1s infinite ease-in-out;

    transform-origin:center;
}

.wave span:nth-child(5n+1){ height:14px; animation-delay:0s; }
.wave span:nth-child(5n+2){ height:38px; animation-delay:.18s; }
.wave span:nth-child(5n+3){ height:62px; animation-delay:.36s; }
.wave span:nth-child(5n+4){ height:38px; animation-delay:.54s; }
.wave span:nth-child(5n+5){ height:20px; animation-delay:.72s; }

/* BOTON PLAY */
.play-btn{
    flex-shrink:0;
    position:relative;

    width:140px;
    height:140px;

    border:none;
    border-radius:50%;

    background:#0a84ff;

    color:#fff;

    font-size:3rem;

    cursor:pointer;

    transition:.3s;

    box-shadow:
        0 0 20px #0a84ff,
        0 0 60px #0a84ff;

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

.play-btn::before,
.play-btn::after{
    content:'';
    position:absolute;
    border-radius:50%;
    border:2px solid rgba(10,132,255,.45);
    animation:ringExpand 2.4s infinite ease-out;
    pointer-events:none;
}

.play-btn::before{
    inset:-16px;
}

.play-btn::after{
    inset:-32px;
    border-width:1px;
    border-color:rgba(10,132,255,.2);
    animation-delay:.8s;
}

.play-btn:hover{
    transform:scale(1.08);
}

.play-btn.playing{
    animation:pulse 1.2s infinite;
}

/* ========================
   VOLUMEN
======================== */
.volume-row{
    display:flex;
    align-items:center;
    gap:14px;

    max-width:320px;
    margin:0 auto 26px;

    padding:12px 24px;
    border-radius:50px;

    background:rgba(255,255,255,.04);
    border:1px solid rgba(10,132,255,.13);
    backdrop-filter:blur(10px);
}

#volIcon{
    font-size:1.1rem;
    color:#0a84ff;
    width:20px;
    text-align:center;
    flex-shrink:0;
    text-shadow:0 0 8px #0a84ff;
    transition:.2s;
}

.volume-slider{
    flex:1;
    -webkit-appearance:none;
    appearance:none;
    height:4px;
    border-radius:20px;
    background:linear-gradient(to right,#0a84ff 100%,rgba(255,255,255,.15) 100%);
    outline:none;
    cursor:pointer;
}

.volume-slider::-webkit-slider-thumb{
    -webkit-appearance:none;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#0a84ff;
    cursor:pointer;
    box-shadow:0 0 8px #0a84ff,0 0 18px #0a84ff55;
    transition:transform .2s;
}

.volume-slider::-webkit-slider-thumb:hover{
    transform:scale(1.3);
}

.volume-slider::-moz-range-thumb{
    width:16px;
    height:16px;
    border-radius:50%;
    border:none;
    background:#0a84ff;
    cursor:pointer;
    box-shadow:0 0 8px #0a84ff;
}

.volume-slider::-moz-range-progress{
    background:#0a84ff;
    border-radius:20px;
    height:4px;
}

/* ========================
   EN VIVO
======================== */
.live-box{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:14px 32px;

    border-radius:50px;

    border:2px solid #0a84ff;

    background:rgba(10,132,255,.07);
    backdrop-filter:blur(12px);

    box-shadow:
        0 0 20px #0a84ff44,
        inset 0 1px 0 rgba(255,255,255,.06);

    font-weight:700;

    letter-spacing:4px;

    font-size:1rem;
}

.live-dot{
    width:12px;
    height:12px;

    border-radius:50%;

    background:red;

    box-shadow:0 0 8px red;

    animation:blink 1s infinite;
}

.live-text{
    margin-top:14px;

    font-size:.875rem;

    opacity:.6;

    letter-spacing:1px;
}

/* ========================
   FOOTER
======================== */
footer{
    padding:20px;

    text-align:center;

    border-top:2px solid #0a84ff;

    opacity:.8;

    font-size:.9rem;
}

/* ========================
   ANIMACIONES
======================== */
@keyframes wave{
    0%,100%{
        transform:scaleY(0.4);
    }

    50%{
        transform:scaleY(1.4);
    }
}

@keyframes pulse{
    0%{
        box-shadow:
            0 0 20px #0a84ff,
            0 0 40px #0a84ff;
    }

    50%{
        box-shadow:
            0 0 35px #0a84ff,
            0 0 75px #0a84ff;
    }

    100%{
        box-shadow:
            0 0 20px #0a84ff,
            0 0 40px #0a84ff;
    }
}

@keyframes blink{
    50%{
        opacity:.1;
    }
}

@keyframes ringExpand{
    0%{ transform:scale(.88); opacity:.9; }
    100%{ transform:scale(1.22); opacity:0; }
}

@keyframes logoPulse{
    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.03);
    }

    100%{
        transform:scale(1);
    }
}

@keyframes menuShow{

    from{
        opacity:0;
        transform:translateY(-10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ========================
   RESPONSIVE
======================== */
@media(max-width:768px){

    header{
        justify-content:space-between;
        align-items:center;
        flex-direction:row;
        gap:10px;
    }

    .logo{
        justify-content:flex-start;
    }

    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .socials{
        position:absolute;

        top:95px;
        right:20px;

        width:220px;

        padding:20px;

        display:none;

        flex-direction:column;

        gap:15px;

        border-radius:20px;

        background:rgba(10,15,25,.95);

        backdrop-filter:blur(18px);

        border:1px solid rgba(255,255,255,.08);

        box-shadow:
            0 10px 30px rgba(0,0,0,.45),
            0 0 20px rgba(10,132,255,.25);

        animation:menuShow .3s ease;
    }

    .socials.active{
        display:flex;
    }

    .socials a{
        width:100%;
        border-radius:14px;
    }

    .player{
        padding:36px 20px 30px;
        border-radius:24px;
    }

    .play-btn{
        width:100px;
        height:100px;
        font-size:2rem;
    }

    .wave{
        height:80px;
    }

    .logo-arcs{
        width:320px;
    }
}


/* =========================
   RESPONSIVE 320px FIX
========================= */
@media(max-width:320px){

    html,
    body{
        overflow-x:hidden;
    }

    body{
        padding-top:95px;
    }

    header{
        padding:12px 14px;
    }

    .logo{
        gap:8px;
        max-width:70%;
    }

    .logo img{
        width:48px;
        height:48px;
    }

    .logo-text h1{
        font-size:.65rem;
    }

    .logo-text span{
        font-size:1.1rem;
    }

    .menu-toggle{
        width:40px;
        height:40px;
        font-size:1rem;
        flex-shrink:0;
    }

    /* MENU */
    .socials{
        width:170px;
        right:10px;
        top:75px;
        padding:12px;
    }

    .socials a{
        width:100%;
        height:42px;
        font-size:1rem;
    }

    /* PLAYER */
    .player{
        width:100%;
        overflow:hidden;
    }

    .logo-arcs{
        width:210px;
        margin-bottom:-15px;
    }

    .title h1{
        font-size:3rem;
        -webkit-text-stroke:2px #0a84ff;
        letter-spacing:2px;
    }

    .onair{
        font-size:.9rem;
        letter-spacing:2px;
        margin-top:5px;
    }

    /* FILA PLAYER */
    .player-row{
        width:100%;
        gap:4px;
        overflow:hidden;
    }

    /* WAVES */
    .wave{
        height:45px;
        overflow:hidden;
    }

    .wave span{
        width:2px;
    }

    /* MENOS BARRAS */
    .wave span:nth-child(n+15){
        display:none;
    }

    /* PLAY */
    .play-btn{
        width:70px;
        height:70px;
        font-size:1.3rem;
        flex-shrink:0;
    }

    .play-btn::before{ inset:-10px; }
    .play-btn::after{ display:none; }

    /* LIVE */
    .live-box{
        padding:10px 16px;
        font-size:.75rem;
        letter-spacing:2px;
    }

    .live-text{
        font-size:.7rem;
    }

    footer{
        font-size:.7rem;
        padding:15px;
    }

}