/* ============================================ */
/* REPRODUCTOR MÓVIL ADULTOCONTEMPORANEA (MovilRAC.html) */
/* ============================================ */

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

body {
    background: linear-gradient(135deg, #1a0a0a 0%, #2e1a0a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    padding: 15px;
}

.mobile-container {
    max-width: 450px;
    width: 100%;
    background: #2a1f14;
    background-image: radial-gradient(circle at 20% 50%, rgba(80, 60, 40, 0.2) 2%, transparent 2.5%);
    background-size: 25px 25px;
    border-radius: 35px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border-bottom: 3px solid #d4943a;
}

.gallery {
    background: #1a120bcc;
    border-radius: 20px;
    padding: 8px;
    margin-bottom: 20px;
    border: 1px solid #d4943a;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    transition: opacity 0.6s ease;
    opacity: 0;
}

.vinyl-area {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.vinyl {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 4px #332211, 0 0 0 8px #5a3e22;
    animation: spin 20s linear infinite;
    animation-play-state: paused;
}

.vinyl.playing {
    animation-play-state: running;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.play-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.play-btn {
    background: radial-gradient(circle at 30% 30%, #6a4a2e, #1a0f0a);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    color: #ffcc88;
    font-size: 26px;
    box-shadow: 0 4px 10px black;
    cursor: pointer;
}

.vu-box {
    flex: 1;
    height: 50px;
    background: #1a120baa;
    border-radius: 12px;
    padding: 4px;
}

canvas {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.volume-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a120bcc;
    padding: 6px 15px;
    border-radius: 40px;
    margin-bottom: 15px;
}

.volume-row span {
    color: #ffcc88;
    font-size: 14px;
}

input[type="range"] {
    flex: 1;
    height: 4px;
    background: #5a3e22;
    border-radius: 5px;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    background: #ffaa55;
    border-radius: 50%;
    cursor: pointer;
    -webkit-appearance: none;
}

.info-box {
    text-align: center;
    margin-bottom: 15px;
}

.station {
    font-size: 11px;
    color: #ffcc88;
    background: #1a120bcc;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.song {
    font-size: 16px;
    font-weight: bold;
    color: #ffe0aa;
    margin: 5px 0;
}

.artist {
    font-size: 13px;
    color: #cbaa77;
}

.leds {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.led {
    display: flex;
    align-items: center;
    gap: 5px;
}

.led-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3a0000;
}

.led-dot.on {
    background: #ff3300;
    box-shadow: 0 0 6px #ff6633;
}

.led-dot.stereo.on {
    background: #00cc66;
    box-shadow: 0 0 6px #00ff88;
}

.led span {
    font-size: 8px;
    color: #ffcc88;
}

/* ============================================ */
/* BARRA LATERAL DE ALIADOS - ADULTOCONTEMPORANEA (NARANJA) */
/* ============================================ */
.sidebar-aliados {
    position: fixed;
    left: 0;
    top: 0;
    width: 100px;
    height: 100vh;
    background: #2a1f14;
    background: linear-gradient(180deg, #2a1f14 0%, #1a120b 100%);
    border-right: 2px solid #d4943a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 5px;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.sidebar-aliados::-webkit-scrollbar {
    width: 4px;
}

.sidebar-aliados::-webkit-scrollbar-track {
    background: #3a2a1a;
}

.sidebar-aliados::-webkit-scrollbar-thumb {
    background: #d4943a;
    border-radius: 4px;
}

.sidebar-aliados img {
    max-width: 70px;
    max-height: 70px;
    width: auto;
    height: auto;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    padding: 5px;
}

.sidebar-aliados img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #d4943a;
}

/* Ajuste del contenedor principal */
.mobile-container {
    margin-left: 100px;
    width: calc(100% - 100px);
    max-width: calc(100% - 100px);
}

/* Móviles */
@media (max-width: 768px) {
    .sidebar-aliados {
        width: 70px;
        gap: 8px;
        padding: 10px 3px;
    }
    .sidebar-aliados img {
        max-width: 50px;
        max-height: 50px;
    }
    .mobile-container {
        margin-left: 70px;
        width: calc(100% - 70px);
        max-width: calc(100% - 70px);
    }
}

@media (max-width: 480px) {
    .sidebar-aliados {
        width: 60px;
        gap: 6px;
        padding: 8px 3px;
    }
    .sidebar-aliados img {
        max-width: 45px;
        max-height: 45px;
    }
    .mobile-container {
        margin-left: 60px;
        width: calc(100% - 60px);
        max-width: calc(100% - 60px);
    }
}
/* ============================================ */
/* PRÓXIMO PROGRAMA MÓVIL - DOS LÍNEAS */
/* ============================================ */
.next-program-mobile {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    padding: 8px 12px;
    margin-top: 10px;
    text-align: center;
    border: 1px solid rgba(212, 148, 58, 0.5);
}

.next-program-label-mobile {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    font-weight: bold;
    color: #ffcc88;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.next-program-text-mobile {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #ffe0aa;
    display: inline-block;
}

.next-program-host-mobile {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #cbaa77;
    display: inline-block;
    margin-left: 8px;
}