:root {
    --glass-bg: rgba(20, 20, 25, 0.45); /* Un poco más oscuro para resaltar el neón */
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-light: #ffffff;
    --accent: #ff3366; /* Un rojo/rosado más vibrante */
    --accent-glow: rgba(255, 51, 102, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }

body, html { height: 100%; width: 100%; overflow: hidden; color: var(--text-light); }

/* Fondos */
.background-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?q=80&w=1920&auto=format&fit=crop') no-repeat center center;
    background-size: cover; z-index: -2;
}

/* Overlay Dinámico (cambia de color sutilmente) */
.background-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(255, 51, 102, 0.2), rgba(0,0,0,0.9));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -1;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.player-wrapper { display: flex; justify-content: center; align-items: center; height: calc(100vh - 50px); padding: 20px; perspective: 1000px; }

/* Tarjeta flotante */
.player-card {
    border-radius: 30px; padding: 40px 30px; width: 100%; max-width: 380px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-left: 1px solid rgba(255,255,255,0.3);
}

.levitate { animation: float 6s ease-in-out infinite; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Vinilo y Glow */
.vinyl-container {
    margin-bottom: 25px; border-radius: 50%;
    transition: box-shadow 0.3s ease;
}

.vinyl-container.active-glow {
    box-shadow: 0 0 30px var(--accent-glow), 0 0 60px var(--accent-glow);
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 20px var(--accent-glow); }
    100% { transform: scale(1.02); box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(255, 51, 102, 0.4); }
}

.vinyl {
    width: 170px; height: 170px; border-radius: 50%;
    background: repeating-radial-gradient(#0a0a0a, #0a0a0a 4px, #1c1c1c 5px, #1c1c1c 6px);
    display: flex; justify-content: center; align-items: center;
    border: 3px solid #222; box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.vinyl-center {
    width: 55px; height: 55px; background: linear-gradient(135deg, var(--accent), #ff9933);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    border: 2px solid #000;
}

.vinyl-hole { width: 12px; height: 12px; background: #000; border-radius: 50%; }

.spin { animation: spin 2.5s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Textos */
.status-badge { font-size: 0.75rem; font-weight: 900; letter-spacing: 3px; color: var(--accent); margin-bottom: 8px; }
.fade-pulse { animation: statusPulse 1.5s infinite; }
@keyframes statusPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.track-title { font-size: 1.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.track-artist { font-size: 1rem; font-weight: 400; color: #ccc; margin-bottom: 20px; }

/* Ecualizador Animado */
.equalizer {
    display: flex; gap: 5px; height: 30px; align-items: flex-end; justify-content: center;
    margin-bottom: 25px; opacity: 0; transition: opacity 0.3s ease;
}

.equalizer.active { opacity: 1; }

.equalizer .bar {
    width: 6px; background: var(--accent); border-radius: 3px 3px 0 0;
    box-shadow: 0 0 10px var(--accent-glow);
}

.equalizer.active .bar { animation: bounce 1s ease-in-out infinite alternate; }

.equalizer .bar:nth-child(1) { height: 30%; animation-delay: -0.4s; }
.equalizer .bar:nth-child(2) { height: 60%; animation-delay: -0.2s; }
.equalizer .bar:nth-child(3) { height: 100%; animation-delay: 0s; }
.equalizer .bar:nth-child(4) { height: 80%; animation-delay: -0.5s; }
.equalizer .bar:nth-child(5) { height: 50%; animation-delay: -0.1s; }
.equalizer .bar:nth-child(6) { height: 70%; animation-delay: -0.3s; }
.equalizer .bar:nth-child(7) { height: 40%; animation-delay: -0.6s; }

@keyframes bounce { 0% { height: 20%; } 100% { height: 100%; } }

/* Botón de Play */
.play-btn {
    width: 70px; height: 70px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, #ffffff, #e0e0e0); color: var(--accent);
    font-size: 1.8rem; cursor: pointer; display: flex; justify-content: center; align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4); margin-bottom: 25px;
}

.play-btn:hover { transform: scale(1.15) translateY(-5px); box-shadow: 0 15px 35px rgba(255, 51, 102, 0.4); }
.play-btn:active { transform: scale(0.95); }

/* Redes */
.social-links { display: flex; gap: 15px; }
.social-links a {
    color: #fff; background: rgba(255,255,255,0.05); width: 45px; height: 45px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 1.1rem;
    text-decoration: none; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1);
}
.social-links a:hover {
    background: var(--accent); border-color: var(--accent); color: #fff;
    transform: translateY(-5px) rotate(360deg); box-shadow: 0 5px 15px var(--accent-glow);
}

/* Footer */
.main-footer {
    position: absolute; bottom: 0; width: 100%; height: 50px;
    display: flex; justify-content: center; align-items: center; font-size: 0.85rem;
    border-radius: 0; border: none; border-top: 1px solid var(--glass-border);
    background: rgba(10, 10, 15, 0.6);
}

.main-footer strong { color: var(--accent); font-weight: 700; }

@media (max-width: 480px) {
    .player-card { padding: 30px 20px; border-radius: 20px; }
    .vinyl { width: 140px; height: 140px; }
    .track-title { font-size: 1.5rem; }
    .play-btn { width: 60px; height: 60px; font-size: 1.5rem; }
}
/* --- SISTEMA DE SEGURIDAD --- */
.security-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.security-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.security-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 24px;
    max-width: 400px;
    width: 90%;
    transform: scale(1) translateY(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 51, 102, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 51, 102, 0.2) inset;
}

.security-overlay.hidden .security-card {
    transform: scale(0.8) translateY(30px);
}

.shield-container {
    display: inline-block;
    padding: 20px;
    border-radius: 50%;
    background: rgba(255, 51, 102, 0.1);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
    animation: pulseShield 2s infinite alternate;
}

.security-icon {
    font-size: 3.5rem;
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

@keyframes pulseShield {
    0% { box-shadow: 0 0 20px rgba(255, 51, 102, 0.2); }
    100% { box-shadow: 0 0 40px rgba(255, 51, 102, 0.6); }
}

.security-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.security-text {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.5;
}

.security-text strong {
    color: var(--accent);
}

.security-btn {
    padding: 12px 35px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, var(--accent), #ff1a4d);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4);
}

.security-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.6);
}

.security-btn:active {
    transform: translateY(1px);
}