/* ============================================ */
/* REPRODUCTOR ESCRITORIO ADULTOCONTEMPORANEA */
/* ============================================ */

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

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Orbitron', monospace;
    padding: 20px;
}

.retro-horizontal {
    position: relative;
    background: #2a1f14;
    background-image: radial-gradient(circle at 20% 50%, rgba(80,60,40,0.25) 2%, transparent 2.5%);
    background-size: 30px 30px;
    border-radius: 32px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,215,150,0.15);
    border-bottom: 4px solid #d4943a;
    padding: 18px 22px;
    max-width: 1300px;
    width: 100%;
    min-height: 350px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    border-radius: 32px;
}

.blur-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(25px);
    opacity: 0.65;
    transform: scale(1.1);
}

.retro-horizontal > *:not(.blur-bg) {
    position: relative;
    z-index: 2;
}

.row-top {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.vinyl-area {
    position: relative;
    flex-shrink: 0;
}

.cover-vinyl {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #111;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 4px #2a2118, 0 0 0 8px #5a3e22, 0 5px 12px black;
    animation: spinDisc 20s linear infinite;
    animation-play-state: paused;
}

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

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

.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #f5cd94, #8b5e2c);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #ffdfaa;
}

.info-area {
    flex: 1;
    min-width: 200px;
}

.station-name {
    font-family: 'Share Tech Mono', monospace;
    font-size: 18px;
    color: #f5bc70;
    letter-spacing: 3px;
    background: #00000099;
    display: inline-block;
    padding: 4px 15px;
    border-radius: 20px;
    margin-bottom: 6px;
    backdrop-filter: blur(2px);
}

.song-title {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    font-weight: bold;
    color: #ffe0aa;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow-x: auto;
    padding: 4px 0;
}

.artist-name {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #cbaa77;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
}

.leds-horizontal {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    background: #00000066;
    padding: 6px 12px;
    border-radius: 30px;
    backdrop-filter: blur(2px);
}

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

.led-bulb {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3a0000;
    transition: 0.1s;
}

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

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

.led span {
    font-size: 8px;
    color: #dba550;
    letter-spacing: 1px;
}

.row-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.play-btn {
    background: radial-gradient(circle at 30% 30%, #555, #222);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px black, inset 0 1px 2px #dba445;
    color: #ffdd99;
    font-size: 26px;
    transition: 0.05s linear;
    flex-shrink: 0;
}

.play-btn:active {
    transform: scale(0.95);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #00000066;
    padding: 5px 15px;
    border-radius: 30px;
    flex-shrink: 0;
    backdrop-filter: blur(2px);
}

.volume-control span {
    color: #dba550;
    font-size: 12px;
}

input[type="range"] {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    background: #4a3a28;
    border-radius: 5px;
}

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

.vu-container {
    flex: 1;
    height: 60px;
    background: #0a0a0aaa;
    border-radius: 12px;
    padding: 4px;
    box-shadow: inset 0 0 8px black;
    backdrop-filter: blur(2px);
}

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

/* ============================================ */
/* PRÓXIMO PROGRAMA - COMPATIBLE CON CHROME */
/* ============================================ */
.next-program-container {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 40px;
    padding: 8px 16px;
    margin-top: 8px;
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.next-program-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    font-weight: bold;
    color: #ffcc88;
    letter-spacing: 1px;
    display: inline-block;
    margin-right: 10px;
}

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

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