/* ----------------------------------------------------
    V2: CYBERPUNK LUXURY SYSTEM
    CREATED BY: ELITE WEB DEV ENGINE
---------------------------------------------------- */

:root {
    --bg-main: #030000;
    --bg-panel: rgba(15, 0, 0, 0.65);
    --border-light: rgba(200, 0, 0, 0.15);
    --border-glow: rgba(255, 0, 0, 0.4);
    
    --neon-cyan: #ff1a1a;   /* Blood Red */
    --neon-purple: #8b0000; /* Dark Crimson */
    --neon-pink: #cc0000;   /* Deep Red */
    --neon-emerald: #ff3300;/* Hellfire Orange */
    --neon-red: #ff0000;    /* Pure Red */
    
    --text-main: #e0e0e0;
    --text-muted: #aa4444;  /* Muted red */
    
    --glass-blur: blur(12px);
    --glass-shadow: 0 8px 32px 0 rgba(20, 0, 0, 0.8);
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASIC --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Utility Classes */
.mono-text {
    font-family: 'Space Mono', monospace;
}

.text-emerald { color: var(--neon-emerald); }
.text-purple { color: var(--neon-purple); }
.text-cyan { color: var(--neon-cyan); }
.text-red { color: var(--neon-red); }

/* --- BACKGROUNDS & OVERLAYS --- */
#bg-media {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    object-fit: cover;
    z-index: -4;
    filter: brightness(0.65) contrast(1.15); /* Mejora el contraste base del GIF original */
    will-change: transform;
}

#noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.25) 50%,
        rgba(0,0,0,0.25)
    );
    background-size: 100% 4px;
    opacity: 0.6;
    animation: scanlineScroll 10s linear infinite;
}

@keyframes scanlineScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 100vh; }
}

.vignette-glow {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: -1;
    box-shadow: inset 0 0 150px rgba(10, 0, 0, 0.98);
}

#particle-canvas-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* El banner original se convierte en un marco o overlay sutil parpadeante para dar el efecto Hacker */
.parallax-banner {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: -3;
    opacity: 0.15; /* Combina con el bg-media de fondo */
    mix-blend-mode: screen;
    transform: translateZ(0); 
    will-change: transform;
}

.parallax-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-base) 100%),
                linear-gradient(to bottom, rgba(5,5,5,0.7) 0%, var(--bg-base) 80%);
    z-index: -1;
}

/* --- STATUS HEADER --- */
.status-bar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.status-left, .status-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-accent {
    color: var(--neon-cyan);
    font-weight: 800;
}

.cpu-ram {
    color: var(--neon-purple);
}

.ip-tracking {
    color: var(--neon-emerald);
    position: relative;
}
.ip-tracking.scanning {
    color: var(--neon-red);
    animation: blink 1s infinite alternate;
}

/* Battery Indicator */
.battery-indicator { display: flex; align-items: center; gap: 2px; }
.bat-outline {
    width: 28px; height: 14px;
    border: 1px solid var(--text-muted);
    border-radius: 3px;
    padding: 1px;
    position: relative;
    display: flex;
    align-items: center;
}
.bat-fill {
    height: 100%;
    background-color: var(--text-main);
    border-radius: 1px;
    transition: width 0.3s ease;
}
.bat-tip {
    width: 2px; height: 6px;
    background-color: var(--text-muted);
    border-radius: 0 2px 2px 0;
}
.bat-text {
    position: absolute;
    width: 100%; text-align: center;
    font-size: 0.55rem;
    color: #fff;
    mix-blend-mode: difference;
    font-family: 'Space Mono', monospace;
}

/* --- MAIN CONTAINER --- */
.container {
    max-width: 680px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.glass-card {
    background: var(--bg-panel);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 100, 50, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-smooth);
    animation: fireAmbient 4s ease-in-out infinite alternate;
}

@keyframes fireAmbient {
    0% {
        box-shadow: 
            var(--glass-shadow),
            0 0 15px -2px rgba(255, 60, 0, 0.3),
            inset 0 0 15px -5px rgba(255, 30, 0, 0.2);
        border-color: rgba(255, 60, 0, 0.15);
    }
    50% {
        box-shadow: 
            var(--glass-shadow),
            0 0 35px 2px rgba(255, 90, 0, 0.5),
            inset 0 0 30px -5px rgba(255, 70, 0, 0.25);
        border-color: rgba(255, 100, 0, 0.4);
    }
    100% {
        box-shadow: 
            var(--glass-shadow),
            0 0 20px 0px rgba(255, 40, 0, 0.4),
            inset 0 0 20px -5px rgba(255, 20, 0, 0.2);
        border-color: rgba(255, 50, 0, 0.2);
    }
}

/* Header line reflection */
.glass-card::after {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,150,50,0.5), transparent);
    border-radius: 16px 16px 0 0;
}

/* --- HERO SECTION --- */
.discord-card {
    padding: 0; /* Override padding since banner is inside */
    overflow: hidden;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 15px,
        rgba(255, 255, 255, 0.05) 15px,
        rgba(255, 255, 255, 0.05) 17px
    );
    background-size: 200% 200%;
    animation: texture-slide 40s linear infinite;
    will-change: background-position;
}

@keyframes texture-slide {
    0% { background-position: 0 0; }
    100% { background-position: -200% 200%; }
}

.discord-banner {
    width: 100%;
    height: 180px; /* Banner height */
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}
.discord-banner:hover .banner-overlay {
    background: transparent;
}

.card-content {
    padding: 2.5rem;
    position: relative;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.avatar-container {
    position: relative;
    margin-top: -85px; /* Overlap with banner */
    margin-bottom: 1.5rem;
    z-index: 10;
}
.avatar-wrapper {
    position: relative;
    padding: 6px;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 50%;
    backdrop-filter: var(--glass-blur);
    display: inline-block;
}
.avatar {
    width: 110px; height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: none; /* QUITAR EL CIRCULO */
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2); /* Sutil aura roja */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    z-index: 2;
    animation: avatarGlitch 8s cubic-bezier(.25, .46, .45, .94) infinite;
}
@keyframes avatarGlitch {
    0%, 96%, 100% { transform: translate(0) scale(1); filter: drop-shadow(0 0 0 transparent); }
    97% { transform: translate(-2px, 2px) scale(1.02); filter: hue-rotate(90deg) contrast(1.5); }
    98% { transform: translate(2px, -2px) scale(1.02); filter: hue-rotate(-90deg) contrast(1.5); }
    99% { transform: translate(-1px, 1px) scale(1.01); filter: drop-shadow(3px 0 0 var(--neon-red)) drop-shadow(-3px 0 0 var(--neon-cyan)); }
}

.avatar-container:hover .avatar {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
    animation: none; /* Quitamos el glitch al hacer hover para ver la imagen nítida */
}
.status-dot {
    position: absolute;
    bottom: 5px; right: 5px;
    width: 18px; height: 18px;
    background-color: var(--neon-emerald);
    border: 4px solid #0a0a0a;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-emerald);
    z-index: 20;
}

.glitch-text {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -2px;
    background: linear-gradient(120deg, 
        #ffffff 0%, 
        var(--neon-cyan) 20%, 
        #000000 40%, 
        var(--neon-purple) 60%, 
        var(--neon-red) 80%, 
        #ffffff 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine-premium 5s linear infinite;
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.5));
    margin-bottom: 0.5rem;
    position: relative;
    will-change: background-position;
}

@keyframes shine-premium {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.badges {
    display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1rem;
}
.badge {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.role-badge { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.discord-badge { background: rgba(88, 101, 242, 0.1); border: 1px solid rgba(88, 101, 242, 0.3); color: #5865F2; }

.description {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 80%;
    margin: 0 auto;
}

/* Star Dots Twinkling Divider */
.star-line-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    opacity: 0.5;
    margin: 10px 0;
}

.star-dots {
    font-family: monospace;
    letter-spacing: 4px;
    font-size: 8px;
    color: #666;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 30%, black 70%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%, black 70%, transparent);
}

.star-dots span {
    display: inline-block;
    animation: twinkle-dot 3s infinite ease-in-out;
    will-change: opacity, color;
}

@keyframes twinkle-dot {
    0%, 100% { color: #333; text-shadow: none; opacity: 0.2; }
    50% { color: #fff; text-shadow: 0 0 3px #fff; opacity: 0.9; }
}

.star-dots span:nth-child(2n) { animation-duration: 4s; animation-delay: 0.5s; }
.star-dots span:nth-child(3n) { animation-duration: 2.5s; animation-delay: 1s; }
.star-dots span:nth-child(5n) { animation-duration: 5s; animation-delay: 2s; }
.star-dots span:nth-child(7n) { animation-duration: 3.5s; animation-delay: 0.3s; }

/* Text Pulse */
.text-pulse {
    animation: pulse-soft 5s infinite ease-in-out;
    will-change: opacity;
}
@keyframes pulse-soft {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}

/* Social Card Brand Colors */
.social-card.instagram:hover { color: #E1306C; border-color: rgba(225, 48, 108, 0.4); background: rgba(225, 48, 108, 0.08); }
.social-card.discord:hover { color: #5865F2; border-color: rgba(88, 101, 242, 0.4); background: rgba(88, 101, 242, 0.08); }
.social-card.twitch:hover { color: #9146FF; border-color: rgba(145, 70, 255, 0.4); background: rgba(145, 70, 255, 0.08); }
.social-card.beatsaber:hover { color: #ef4444; border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.08); }

.divider {
    display: flex; align-items: center; justify-content: center; width: 100%; margin: 2rem 0; gap: 1rem;
}
.divider .line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--border-light), transparent); }
.divider .diamond { width: 6px; height: 6px; border: 1px solid var(--border-light); transform: rotate(45deg); opacity: 0.5; }
.divider.slim { margin: 1rem 0; }
.divider.slim .line { background: var(--border-light); }
.divider.slim .diamond { display: none; }

/* WARNING BOX */
.warning-box {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
}
.warning-header {
    display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
    color: var(--neon-red);
}
.warning-header h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: 1px; }
.pulse-icon { animation: pulseWarning 2s infinite; }
.warning-content p { font-size: 0.85rem; margin-bottom: 0.75rem; color: #fca5a5; }
.warning-content .highlight-text { font-weight: 600; color: #fecaca; }
.contact-links { display: flex; gap: 1rem; margin: 1rem 0; }
.contact-link {
    font-size: 0.8rem; font-weight: 600; color: var(--text-main); text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.05); border-radius: 4px; border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-fast);
}
.contact-link:hover { background: rgba(255,255,255,0.1); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
    text-decoration: none; cursor: pointer;
    transition: var(--transition-smooth);
    border: none; outline: none;
}
.btn-discord-reserve { background: rgba(88, 101, 242, 0.15); color: #5865F2; border: 1px solid rgba(88, 101, 242, 0.3); width: 100%; }
.btn-discord-reserve:hover { background: #5865F2; color: #fff; box-shadow: 0 0 20px rgba(88,101,242,0.4); }

.btn-primary { background: rgba(255,255,255,0.05); color: var(--text-main); border: 1px solid var(--border-light); position: relative; overflow: hidden; }
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.fluid-btn { width: 100%; }
.mt-6 { margin-top: 1.5rem; }

/* Social Grid */
.social-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; width: 100%;
}
.social-card {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border-light); border-radius: 8px;
    color: var(--text-muted); text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px;
    transition: var(--transition-fast);
}
.social-card i { font-size: 1.1rem; }
.social-card:hover { transform: translateY(-3px); color: #fff; border-color: var(--border-glow); background: rgba(255,255,255,0.05); }

/* --- ACHIEVEMENTS --- */
.section-title {
    margin-bottom: 2rem;
    text-align: center;
}
.section-title h2 { font-size: 1rem; color: var(--text-muted); opacity: 0.6; }

.warning-box {
    background: rgba(255, 170, 0, 0.05);
    border-left: 4px solid #ffaa00;
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.1);
}
.warning-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #ffaa00;
}
.warning-header h3 { font-size: 1.1rem; letter-spacing: 1px; margin: 0; }
.pulse-icon { animation: pulse-warning 2s infinite; }
@keyframes pulse-warning {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); text-shadow: 0 0 10px #ffaa00; }
}
.warning-content p { font-size: 0.85rem; color: #ccc; margin-bottom: 0.8rem; line-height: 1.5; }
.highlight-text { color: #fff; font-weight: bold; }
.contact-links {
    display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.contact-link {
    background: rgba(255,255,255,0.05); padding: 0.4rem 0.8rem; border-radius: 4px; color: #fff; font-size: 0.8rem; border: 1px solid rgba(255,255,255,0.1); transition: var(--transition-smooth);
}
.contact-link:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

.btn-discord-reserve {
    display: inline-block;
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
    border: 1px solid rgba(88, 101, 242, 0.5);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: var(--transition-smooth);
}
.btn-discord-reserve:hover {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

.achievements-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem;
}
.achievement-card { padding: 1.5rem; }
.card-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-light); }
.card-header h3 { font-size: 0.85rem; letter-spacing: 2px; }
.border-emerald { border-bottom-color: rgba(16, 185, 129, 0.2); }
.border-purple { border-bottom-color: rgba(188, 19, 254, 0.2); }
.border-cyan { border-bottom-color: rgba(0, 240, 255, 0.2); }

.achievement-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.achievement-list li { font-size: 0.75rem; font-family: 'Space Mono', monospace; color: var(--text-muted); display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.4; }
.chevron { margin-top: 2px; }

/* --- RANKS & GAMING --- */
.ranks-section { margin-bottom: 3rem; text-align: center; }
.ranks-container { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.rank-item { display: flex; align-items: center; gap: 1rem; }
.rank-item i { font-size: 1.5rem; color: rgba(255,255,255,0.2); }
.rank-info { display: flex; flex-direction: column; align-items: flex-start; }
.rank-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.rank-value { font-size: 0.95rem; font-weight: 700; }

.tags-container { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.tech-tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; padding: 0.2rem 0.6rem; border: 1px solid var(--border-light); border-radius: 12px; color: var(--text-muted); }
.games-list { font-size: 0.75rem; color: var(--text-muted); }
.games-list .dot { opacity: 0.3; font-size: 0.6rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* --- SETUP TERMINAL --- */
.setup-terminal { padding: 0; overflow: hidden; margin-bottom: 4rem; }
.terminal-header { background: rgba(0,0,0,0.4); padding: 0.75rem 1rem; display: flex; align-items: center; border-bottom: 1px solid var(--border-light); }
.terminal-header .dots { display: flex; gap: 6px; }
.terminal-header .dots span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.terminal-header .dots span:nth-child(1) { background: #ff5f56; }
.terminal-header .dots span:nth-child(2) { background: #ffbd2e; }
.terminal-header .dots span:nth-child(3) { background: #27c93f; }
.terminal-title { flex: 1; text-align: center; font-size: 0.75rem; color: var(--text-muted); }
.terminal-body { padding: 1.5rem; font-size: 0.75rem; line-height: 1.6; overflow-x: auto; }
.terminal-body pre { font-family: inherit; margin: 0; }
.t-comment { color: #6272a4; }
.t-key { color: var(--neon-cyan); }
.t-string { color: #f1fa8c; }

/* FOOTER */
.footer { text-align: center; padding-bottom: 5rem; font-size: 0.6rem; color: var(--text-muted); letter-spacing: 2px; opacity: 0.5; }

/* --- FLOATING AUDIO PLAYER --- */
.audio-player-widget {
    position: fixed; bottom: 20px; right: 20px;
    width: 320px;
    padding: 1rem;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(10, 10, 10, 0.75);
    border-color: rgba(255,255,255,0.1);
}
.audio-player-widget.minimized {
    transform: translateY(calc(100% - 46px));
}
.player-toggle {
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-light); margin-bottom: 1rem;
}
.player-toggle span { font-size: 0.75rem; letter-spacing: 2px; }
.player-toggle i { color: var(--text-muted); transition: transform 0.3s; }
.minimized .player-toggle i.toggle-icon { transform: rotate(180deg); }

.song-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.song-btn {
    background: transparent; border: none; color: var(--text-muted); text-align: left;
    font-size: 0.75rem; font-family: 'Inter'; cursor: pointer; padding: 0.3rem 0.5rem;
    border-radius: 4px; transition: var(--transition-fast);
}
.song-btn:hover { background: rgba(255,255,255,0.05); color: #fff; }
.song-btn.active { color: var(--neon-cyan); background: rgba(0, 240, 255, 0.05); font-weight: 600; }

.now-playing {
    display: flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; color: var(--neon-emerald);
    background: rgba(0,0,0,0.5); padding: 0.5rem; border-radius: 4px; margin-bottom: 1rem;
    overflow: hidden; white-space: nowrap;
}
.eq-bars { display: inline-flex; gap: 2px; height: 10px; align-items: flex-end; }
.eq-bars span { width: 3px; background: var(--neon-emerald); animation: eq 0.5s infinite alternate; }
.eq-bars span:nth-child(2) { animation-delay: 0.2s; }
.eq-bars span:nth-child(3) { animation-delay: 0.4s; }
.now-playing.paused .eq-bars span { animation-play-state: paused; height: 2px; }

.controls-row { display: flex; align-items: center; gap: 1rem; }
.control-btn {
    background: rgba(255,255,255,0.1); border: none; color: #fff;
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; transition: var(--transition-fast);
}
.control-btn:hover { background: rgba(255,255,255,0.2); }
.volume-slider-container { display: flex; align-items: center; gap: 0.5rem; flex: 1; }
.vol-slider {
    flex: 1; -webkit-appearance: none; appearance: none; height: 2px; background: var(--border-light); outline: none; border-radius: 2px;
}
.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; cursor: pointer;
}
.vol-percentage { font-size: 0.65rem; width: 30px; text-align: right; }


/* --- ANIMATIONS --- */
@keyframes pulseWarning {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes blink {
    from { opacity: 1; }
    to { opacity: 0.3; }
}

@keyframes eq {
    0% { height: 2px; }
    100% { height: 10px; }
}

/* Scroll Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .hidden-mobile { display: none; }
    .social-grid { grid-template-columns: 1fr; }
    .achievements-grid { grid-template-columns: 1fr; }
    .ranks-container { gap: 1.5rem; flex-direction: column; align-items: center; }
    .audio-player-widget { width: calc(100% - 40px); }
    .glitch-text { font-size: 1.8rem; }
    .status-bar { padding: 0.5rem; font-size: 0.6rem; }
}
