/* ============================================ */
/* REPRODUCTOR ESCRITORIO RETROLATINA */
/* ============================================ */

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

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

.retro-horizontal {
    position: relative;
    background: #0f1a2e;
    background-image: radial-gradient(circle at 20% 50%, rgba(30, 60, 100, 0.25) 2%, transparent 2.5%);
    background-size: 30px 30px;
    border-radius: 32px;
    box-shadow: 0 20px 35px rgba(0, 10, 30, 0.6), inset 0 1px 2px rgba(100, 180, 255, 0.2);
    border-bottom: 4px solid #2a6faa;
    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 #0d1f33, 0 0 0 8px #1a3f5e, 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, #5a9eff, #1a3f6e);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #6aafff;
}

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

.station-name {
    font-family: 'Share Tech Mono', monospace;
    font-size: 18px;
    color: #7abfff;
    letter-spacing: 3px;
    background: #0a1a2ecc;
    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: #c5e0ff;
    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: #8ab5e0;
    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: #0a1a2ecc;
    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: #00cc88;
    box-shadow: 0 0 8px #33ffaa;
}

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

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

.play-btn {
    background: radial-gradient(circle at 30% 30%, #2a4a6e, #0a1a2e);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px black, inset 0 1px 2px #4a8fcf;
    color: #7abfff;
    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: #0a1a2ecc;
    padding: 5px 15px;
    border-radius: 30px;
    flex-shrink: 0;
    backdrop-filter: blur(2px);
}

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

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

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

.vu-container {
    flex: 1;
    height: 60px;
    background: #0a1a2eaa;
    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;
}