@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --dark-base: #05070A;
    --dark-surface: #0A0F1A;
    --electric-blue: #3B82F6;
    --hot-pink: #EC4899;
    --deep-purple: #7C3AED;
    --neon-cyan: #22D3EE;
    /* Typography Contrast System (2026 High-Visibility) */
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E1; /* Much brighter grey */
    --text-muted: #94A3B8;     /* Visible steel */
    --soft-white: #F8FAFC;
    
    /* Locked Room Palette */
    --lr-amber: #D99A3D;
    --lr-burgundy: #3D0C1A;
    --lr-gold: #C8A45D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-base);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography Contrast System */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

h1, h2, h3, .font-jakarta {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.uppercase-tracking {
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

/* Global Utility Classes (Zero Inline CSS Policy) */
.no-scroll {
    overflow: hidden !important;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-100 {
    opacity: 1;
}

body {
    background-color: var(--dark-base);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 2026 Mesh Aurora Background */
.mesh-aurora {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--dark-base);
}

.aurora-blob {
    position: absolute;
    filter: blur(100px);
    opacity: var(--aurora-opacity, 0.15);
    border-radius: 50%;
    animation: blobMove 20s infinite alternate ease-in-out;
    transform: scale(var(--aurora-scale, 1.0));
    transition: transform 0.05s ease-out, opacity 0.05s ease-out;
}

.blob-1 {
    width: 60vw;
    height: 60vw;
    background: var(--electric-blue);
    top: -10%;
    right: -10%;
}

.blob-2 {
    width: 50vw;
    height: 50vw;
    background: var(--hot-pink);
    bottom: -5%;
    left: -5%;
    animation-delay: -5s;
}

.blob-3 {
    width: 40vw;
    height: 40vw;
    background: var(--deep-purple);
    top: 30%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes blobMove {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10%, 15%) scale(1.1); }
    66% { transform: translate(-5%, 10%) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Hyper-Refraction Glass */
.glass-panel {
    background: rgba(10, 15, 26, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.15), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.glass-card:hover::after {
    opacity: 1;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
                0 0 20px rgba(59, 130, 246, 0.2);
}

/* Cinematic Typography */
.text-hero {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.text-sub-hero {
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.text-gradient-pulse {
    background: linear-gradient(135deg, var(--neon-cyan), var(--electric-blue), var(--hot-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.tracking-cinematic {
    letter-spacing: 0.4em;
}

/* Locked Room Modifiers */
.locked-room .glass-card:hover {
    border-color: var(--lr-amber);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
                0 0 20px rgba(217, 154, 61, 0.3);
}

.locked-room-bg {
    background: radial-gradient(circle at top right, var(--lr-burgundy), transparent),
                var(--dark-base);
}

/* Layout Elements */
.cinematic-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', sans-serif;
    font-size: 30vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    white-space: nowrap;
    z-index: -1;
}

.btn-pulse {
    position: relative;
    padding: 1rem 2.5rem;
    background: var(--electric-blue);
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-pulse:hover {
    background: var(--electric-blue);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1em !important;
    padding-right: 2.5rem !important;
    color: white !important;
}

select option {
    background-color: #0A0A0A !important;
    color: white !important;
}

/* Modal Cinematic Transitions */
#universal-modal.active .modal-panel {
    transform: scale(1);
    opacity: 1;
}

iframe {
    width: 100% !important;
    border: none;
}

.modal-panel {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
}

/* Lyrics Styling */
.lyrics-container {
    font-size: 1.25rem;
    line-height: 2.2;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.lyrics-section-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--electric-blue);
    margin: 3rem 0 1rem 0;
    display: block;
    opacity: 0.6;
}

.lyrics-cue-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-style: italic;
    color: #3B82F6;
    opacity: 0.75;
    margin: 1.5rem 0;
    display: block;
}

/* Utilities */
.section-padding {
    padding: 120px 0;
}

.tag-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Curated Premium Heading Gradients (2026 High-Hierarchy System) */
.text-gradient-gold {
    background: linear-gradient(135deg, #F59E0B, #D97706, #B45309);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(217, 154, 61, 0.2));
}

.text-gradient-electric {
    background: linear-gradient(135deg, #22D3EE, #3B82F6, #1D4ED8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
}

.text-gradient-pink {
    background: linear-gradient(135deg, #EC4899, #D946EF, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.2));
}

/* Master Premium Elevation Effects */
.global-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.mouse-spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh),
        rgba(217, 154, 61, 0.08),
        transparent 40%
    );
}

/* Enhancing Glass Panels with Gold Accents */
.glass-panel::after, .glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(217,154,61,0.25) 50%, rgba(255,255,255,0.02));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
/* Logo Premium Shimmer */
@keyframes premiumShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animate-premium-shimmer {
    animation: premiumShimmer 6s ease-in-out infinite;
    background-size: 200% auto;
}

/* =========================================
   MOBILE PERFORMANCE MODE (Solid Premium)
   Disables GPU-heavy effects on phones
   ========================================= */
@media (max-width: 1023px) {
    .glass-panel, .glass-card, #universal-modal > div:first-child {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #080C14 !important;
        background-image: none !important;
    }
    .pulse-audio-engine {
        background: #111 !important;
        box-shadow: none !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
    }
    .pulse-audio-engine > div[style*="radial-gradient"] {
        display: none !important;
    }
    .glass-panel::after, .glass-card::after {
        display: none !important;
    }
    .animate-pulse, .animate-premium-shimmer, .animate-fade-in,
    [class*="pw-bar"] {
        animation: none !important;
        transform: none !important;
    }
    /* Neutralize any lingering absolute overlays */
    .mouse-spotlight {
        display: none !important;
    }
}

/* =========================================
   PREMIUM CUSTOM SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark-base);
    border-left: 1px solid rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    border: 2px solid var(--dark-base); /* creates padding effect */
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Specific lightweight scrollbar for modals/inner elements */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    border: none;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: none;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
