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

/* ========== FONDO DINÁMICO ESTILO HUMO ========== */
body {
    background: linear-gradient(180deg, 
        #050505 0%,
        #1a1a1a 15%,
        #3a3a3a 35%,
        #6e6e6e 55%,
        #b8b8b8 75%,
        #e8e8e8 90%,
        #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Capa de humo animada 1 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 40%, rgba(255,255,255,0.04) 0%, transparent 30%),
                radial-gradient(circle at 80% 60%, rgba(255,255,255,0.03) 0%, transparent 40%),
                radial-gradient(circle at 40% 80%, rgba(200,200,200,0.02) 0%, transparent 35%),
                radial-gradient(circle at 70% 20%, rgba(255,255,255,0.02) 0%, transparent 25%);
    pointer-events: none;
    z-index: 0;
    animation: smokeMove1 25s ease-in-out infinite alternate;
}

/* Capa de humo animada 2 - más lenta */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px);
    pointer-events: none;
    z-index: 0;
    animation: smokeMove2 35s ease-in-out infinite alternate;
}

/* Tercera capa de humo para más profundidad */
.smoke-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.02) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.015) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
    animation: smokeMove3 40s ease-in-out infinite alternate;
}

@keyframes smokeMove1 {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.05) translate(2%, 1%);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.1) translate(-1%, -2%);
        opacity: 0.5;
    }
}

@keyframes smokeMove2 {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.08) translate(-1%, 2%) rotate(1deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.12) translate(1%, -1%) rotate(-1deg);
        opacity: 0.4;
    }
}

@keyframes smokeMove3 {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.15) translate(2%, 3%);
        opacity: 0.35;
    }
}

/* Contenedor principal */
.radio-container {
    width: 100%;
    max-width: 550px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Títulos */
.main-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: clamp(0.8rem, 3vw, 1rem);
    color: #dddddd;
    font-style: italic;
    margin-bottom: 25px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ===== VINILO ANIMADO ===== */
.vinyl-wrapper {
    position: relative;
    width: min(380px, 85vw);
    height: min(380px, 85vw);
    margin: 20px auto;
    perspective: 1200px;
}

.vinyl-jacket {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.2, 0.64, 1);
    cursor: pointer;
    z-index: 10;
    left: 0;
}

.vinyl-jacket.open {
    transform: translateX(-35%);
}

.vinyl-jacket.closing {
    transform: translateX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.jacket-front, .jacket-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    background: linear-gradient(145deg, #1c1c1e 0%, #0d0d0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jacket-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #000000 0%, #151515 100%);
}

.jacket-label {
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, #2a2a2e 0%, #1a1a1e 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 0 0 2px rgba(212,175,55,0.2);
}

.jacket-label h3 {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: #f5f5f7;
    margin-bottom: 5px;
}

.jacket-label p {
    font-size: clamp(0.5rem, 2vw, 0.7rem);
    color: #d4af37;
}

/* DISCO DE VINILO */
.vinyl-record {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 35%, #1a1a1a 0%, #050505 60%, #000000 100%);
    opacity: 0;
    transform: scale(0.8) translateX(0);
    transition: all 0.7s cubic-bezier(0.34, 1.2, 0.64, 1);
    z-index: 5;
    top: 10%;
    left: 10%;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.vinyl-record.visible {
    opacity: 1;
    transform: scale(1) translateX(35%);
}

.vinyl-record.hiding {
    opacity: 0;
    transform: scale(0.8) translateX(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Velocidad de giro: 33.3 RPM = 1.8 segundos por revolución */
.vinyl-record.spinning {
    animation: spinVinyl 1.8s linear infinite;
}

@keyframes spinVinyl {
    from { transform: translateX(35%) rotate(0deg) scale(1); }
    to { transform: translateX(35%) rotate(360deg) scale(1); }
}

/* ========== SURCOS DEL VINILO MÁS REALISTAS ========== */
.vinyl-grooves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        repeating-radial-gradient(
            circle at 50% 50%,
            transparent 0,
            transparent 3px,
            rgba(70, 70, 70, 0.6) 3px,
            rgba(50, 50, 50, 0.4) 4px,
            transparent 4px,
            transparent 8px
        ),
        repeating-radial-gradient(
            circle at 50% 50%,
            transparent 0,
            transparent 8px,
            rgba(90, 90, 90, 0.3) 8px,
            rgba(40, 40, 40, 0.2) 9px,
            transparent 9px,
            transparent 14px
        ),
        repeating-radial-gradient(
            circle at 50% 50%,
            transparent 0,
            transparent 14px,
            rgba(100, 100, 100, 0.2) 14px,
            rgba(60, 60, 60, 0.15) 15px,
            transparent 15px,
            transparent 22px
        ),
        repeating-radial-gradient(
            circle at 50% 50%,
            transparent 0,
            transparent 22px,
            rgba(80, 80, 80, 0.15) 22px,
            rgba(50, 50, 50, 0.1) 23px,
            transparent 23px,
            transparent 32px
        ),
        radial-gradient(circle at 30% 35%, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

/* ========== ETIQUETA CENTRAL - GIRA CON EL VINILO ========== */
.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38%;
    height: 38%;
    background: radial-gradient(ellipse at 30% 35%, #f5e6c8 0%, #e8d5a8 40%, #d4c08a 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 0 15px rgba(0,0,0,0.15),
        0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid rgba(160, 130, 70, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 3;
    transform-origin: center center;
}

/* La etiqueta gira a la misma velocidad que el vinilo (33.3 RPM) */
.vinyl-record.spinning .vinyl-label {
    animation: labelSpin 4.0s linear infinite;
}

@keyframes labelSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Efecto de desgaste en la etiqueta */
.vinyl-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 40%, rgba(0,0,0,0.08) 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, rgba(0,0,0,0.06) 0%, transparent 40%),
                repeating-linear-gradient(45deg, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px, transparent 2px, transparent 8px);
    border-radius: 50%;
    pointer-events: none;
}

/* Texto circular superior */
.label-text-top {
    position: absolute;
    top: 18%;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Courier New', 'Georgia', monospace;
    font-size: clamp(0.55rem, 2vw, 0.75rem);
    font-weight: 700;
    color: #2a2418;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

/* Texto circular inferior */
.label-text-bottom {
    position: absolute;
    bottom: 18%;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Courier New', 'Georgia', monospace;
    font-size: clamp(0.45rem, 1.8vw, 0.65rem);
    font-weight: 600;
    color: #3a3020;
    letter-spacing: 1px;
}

/* Texto del centro */
.label-center {
    text-align: center;
    font-family: 'Courier New', 'Georgia', monospace;
}

.label-center .rpm {
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    font-weight: 800;
    color: #8b6914;
    letter-spacing: 1px;
}

.label-center .speed {
    font-size: clamp(0.5rem, 1.8vw, 0.65rem);
    color: #5a4a28;
    margin-top: 2px;
}

/* Agujero central del vinilo */
.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10%;
    height: 10%;
    background: radial-gradient(circle, #0a0a0a 0%, #000000 100%);
    border-radius: 50%;
    z-index: 5;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
}

/* ========== REPRODUCTOR CON NEOMORFISMO Y GLASS AHUMADO ========== */
.player-card {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.4) 0%, rgba(10, 10, 15, 0.5) 100%);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 60px;
    padding: 35px 25px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.25),
        -8px -8px 16px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.player-card:hover {
    box-shadow: 
        15px 15px 30px rgba(0, 0, 0, 0.3),
        -10px -10px 20px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* ========== BOTONES FLOTANTES CON EFECTO 3D Y NEOMORFISMO ========== */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.ctrl-btn {
    background: linear-gradient(145deg, #2a2a2e, #1c1c1e);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.4),
        -4px -4px 8px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    position: relative;
    transform: translateY(-3px);
}

.ctrl-btn:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, #35353a, #252528);
    color: #d4af37;
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.5),
        -6px -6px 12px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ctrl-btn:active {
    transform: translateY(2px);
    box-shadow: 
        inset 6px 6px 12px rgba(0, 0, 0, 0.3),
        inset -3px -3px 6px rgba(255, 255, 255, 0.04),
        0 0 0 rgba(0, 0, 0, 0.1);
    transition: all 0.05s ease;
}

.ctrl-btn.play {
    background: linear-gradient(145deg, #d4af37, #b8941e);
    color: #1a1a1a;
    width: 80px;
    height: 80px;
    font-size: 2rem;
    box-shadow: 
        10px 10px 20px rgba(0, 0, 0, 0.5),
        -5px -5px 10px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.ctrl-btn.play:hover {
    background: linear-gradient(145deg, #e8c84a, #c9a52a);
    transform: translateY(-10px);
    box-shadow: 
        14px 14px 28px rgba(0, 0, 0, 0.6),
        -7px -7px 14px rgba(255, 255, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ctrl-btn.play:active {
    transform: translateY(2px);
    box-shadow: 
        inset 8px 8px 16px rgba(0, 0, 0, 0.3),
        inset -4px -4px 8px rgba(255, 255, 255, 0.06);
}

/* ========== BARRA DE VOLUMEN ========== */
.volume-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15);
}

.volume-icon {
    color: #d4af37;
    font-size: 1rem;
    transition: transform 0.2s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.volume-icon:hover {
    transform: scale(1.1);
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 130px;
    height: 5px;
    border-radius: 5px;
    background: linear-gradient(90deg, #d4af37 0%, #d4af37 70%, rgba(255,255,255,0.2) 70%);
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d4af37;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.2);
    transition: transform 0.2s ease;
}

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

.volume-slider::-moz-range-track {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: rgba(255,255,255,0.2);
}

.volume-slider::-moz-range-progress {
    height: 5px;
    border-radius: 5px;
    background: #d4af37;
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d4af37;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Estado en vivo */
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    padding: 10px 28px;
    border-radius: 60px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 4px 12px rgba(0,0,0,0.15);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 5px #ff4d4d;
}

.live-text {
    font-size: 0.7rem;
    color: #d4af37;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.95); }
}

/* Footer */
.footer {
    margin-top: 20px;
    color: #666666;
    font-size: 0.6rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 15px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 550px) {
    .vinyl-wrapper {
        width: min(320px, 80vw);
        height: min(320px, 80vw);
    }
    .ctrl-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .ctrl-btn.play {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    .volume-slider {
        width: 100px;
    }
    .player-card {
        padding: 28px 18px;
        border-radius: 45px;
    }
    .controls {
        gap: 20px;
    }
}

@media (max-width: 450px) {
    .volume-row {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    .volume-slider {
        width: 140px;
    }
}