
        :root { --primary: #f4000b; }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        html, body {
            width: 100%; height: 100vh;
            background: #000 url('../img/fondo.jpg') center/cover no-repeat;
            font-family: 'Orbitron', sans-serif;
            color: white; overflow: hidden;
        }

        #visualizer {
            position: absolute; inset: 0;
            z-index: 1; opacity: 0.4; pointer-events: none;
        }

        .wrapper {
            position: relative; z-index: 10;
            display: flex; flex-direction: column;
            height: 100vh; width: 100%;
        }

        .clock-box {
            position: absolute; top: 20px; right: 30px;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(10px);
            padding: 15px 25px;
            border-right: 5px solid #f4000b;
            border-radius: 4px;
            box-shadow: -10px 0 20px rgba(0,0,0,0.5);
            font-family: 'Orbitron', sans-serif;
            font-size: 2rem; color: #fff;
            text-shadow: 0 0 10px rgba(255,255,255,0.5);
            z-index: 20;
        }

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw; /* Ocupa el 100% del ancho del celular */
    flex: 1;
    gap: 10px;
}

        /* 1. LÍNEA BLANCA Y SOMBRA POTENTE REPARADA */
        .cover-wrapper {
            width: 190px;
            height: 190px;
            border-radius: 50%;
            border: 8px solid #F5F2F0; /* blanco suave */
            box-shadow:
                0 0 6px rgba(255, 255, 255, 0.9),   /* brillo cercano */
                0 0 14px rgba(255, 255, 255, 0.8);  /* difuminado exterior */
            flex-shrink: 0;
            margin-bottom: 10px;
            overflow: hidden;
            background: #000;
            animation: rotateCover 15s linear infinite;
            animation-play-state: paused;
        }
        

        #albumArt {
            width: 100%; height: 100%;
            object-fit: cover;
            border-radius: 50%;
            display: block;
        }

        .metadata { text-align: center; width: 100%; margin-bottom: 0px; }
         #radioName {
            font-size: 1.5rem; font-weight: 800; text-transform: uppercase;
            color: red;
            max-width: 200vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
            margin: 0 auto;
        }
        #artist {
            color: var(--primary); font-size: 1.3rem;
            letter-spacing: 4px; font-weight: bold;
        }
        #songTitle {
            font-size: 1.5rem; font-weight: 700; text-transform: uppercase;
            max-width: 90vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
            margin: 0 auto;
        }

        /* Contenedor principal */
        .vol-container {
            padding: 0px;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%; /* Ocupa todo el ancho disponible */
            max-width: 90%; /* Ajusta este ancho a tu gusto */
            margin: 10px auto;
            gap: 2px;
        }
        
        /* La barra de audio */
        #volumeSlider {
            padding: 0px;
            -webkit-appearance: none;
            width: 100%;
            height: 4px;
            border-radius: 10px;
            outline: none;
            cursor: pointer;
            /* Forzamos el degradado aquí mismo */
            background: linear-gradient(to right, #f4000b 80%, rgba(255,255,255,0.2) 80%);
        }
        
        /* La bolita (Thumb) */
        #volumeSlider::-webkit-slider-thumb {
            padding: 0px;
            -webkit-appearance: none;
            width: 14px;
            height: 14px;
            background: #fff;
            border-radius: 50%;
            border: 3px solid #f4000b;
        }
        
        /* Contenedor de iconos debajo */
        .vol-controls {
            display: flex;
            justify-content: space-between;
            width: 100%;
            padding: 0 5px;
            font-size: 1.5rem;
        }
        
        .vol-left {
            display: flex;
            gap: 20px;
        }
        
        #volPct {
            font-family: 'Orbitron', sans-serif;
            color: #fff;
            font-size: 1rem;
        }
        .play-group {
            display: flex; align-items: center; gap: 35px;
            margin-top: 0px;
        }

        .live-icon {
            color: var(--primary); font-size: 1.4rem;
            opacity: 0; transition: 0.3s;
        }
        .live-icon.active { opacity: 1; animation: blink 1s infinite; }

        .play-btn {
            width: 75px;
            height: 75px;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,0.35);
            background: white;
            color: red;
            font-size: 40px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        
            transition: 
                transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
        }
        
        .play-btn:hover {
            background: transparent;
            color: red;
            transform: scale(1.08);
            border-color: rgba(255,255,255,0.8);
            box-shadow:
                0 0 8px rgba(255,255,255,0.6),
                0 0 16px rgba(255,255,255,0.3);
        }


:root {
    --primary: #f4000b;
    --bg-dark: rgba(0, 0, 0, 0.8);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contenedor principal */
.side-menu-container {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* Ítems individuales */
.menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 1px solid var(--primary);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.menu-item i {
    font-size: 1.2rem;
    transition: var(--transition);
}

/* Texto oculto que aparece al hacer hover (Desktop) */
.menu-text {
    position: absolute;
    right: 60px;
    background: var(--primary);
    padding: 5px 12px;
    border-radius: 5px;
    font-family: 'Saira Condensed', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

/* Hover Effects */
.menu-item:hover {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(244, 0, 11, 0.4);
    width: 60px; /* Ligero crecimiento */
}

.menu-item:hover .menu-text {
    opacity: 1;
    right: 70px;
}

/* --- RESPONSIVE / MÓVIL --- */
@media (max-width: 768px) {
    .side-menu-container {
        right: 0;
        top: auto;
        bottom: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        justify-content: space-around;
        background: rgba(10, 10, 10, 0.95);
        padding: 10px;
        border-top: 2px solid var(--primary);
        gap: 0;
    }

    .menu-item {
        width: 20%;
        height: 45px;
        border: none;
        background: transparent;
        border-radius: 0;
    }

    .menu-item:hover {
        background: transparent;
        box-shadow: none;
        width: 20%;
    }

    .menu-text {
        display: none; /* No hay hover en móvil */
    }
    
    /* Ajuste para que el footer no se tape en móvil */
    footer {
        margin-bottom: 70px;
    }
}

        footer {
            height: 50px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            background: rgba(0,0,0,0.8); border-top: 1px solid var(--primary);
        }

        @keyframes rotateCover { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        @keyframes blink { 50% { opacity: 0.2; } }

        @media (max-width: 768px) {
            .clock-box { display: none; }
            #songTitle { font-size: 1.2rem; }
            #artist { font-size: 1rem; }
            #radioName { font-size: 1rem; }
            .cover-wrapper { width: 120px; height: 120px; }
            .vol-container { width: 95%; }
            .play-btn { width: 65px; height: 65px; }
            .vol-controls { font-size: 1rem;}
        }
        
        /* ✅ Protección total contra scroll no deseado */
        html {
            overflow: hidden;
            overscroll-behavior: none;
        }
        body {
            overflow: hidden;
            position: relative;
        }
    
    
    
    
    