:root {
            --bg-dark: #050508;
            --bg-darker: #020203;
            --accent-purple: #6e45e2;
            --accent-blue: #24aadb;
            --accent-gold: #d4af37;
            --accent-fire: #ff6b35;
            --gold-glow: rgba(212, 175, 55, 0.5);
            --purple-glow: rgba(110, 69, 226, 0.4);
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
            --text-main: #e8e8e8;
            --text-dim: #a0a0a0;
            /* Timer-specific variables */
            --gold: #d4af37;
            --gold-light: #f0d77c;
            --purple: #6e45e2;
            --fire: #ff6b35;
            --blue: #24aadb;
            --green: #4ade80;
            --text: #e8e8e8;
            --card: rgba(15, 15, 25, 0.6);
            --card-hover: rgba(25, 25, 40, 0.8);
            --border: rgba(255, 255, 255, 0.08);
            --discord: #5865F2;
        }

        /* --- VISUAL UPGRADE PACK --- */
        
        /* 1. Cyberpunk Grid Overlay */
        .bg-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
            -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
            pointer-events: none;
            z-index: -1;
        }

        /* 2. Text Glows */
        h1, h2, .logo {
            text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
        }

        /* 3. Premium Card Hover */
        .feature-card, .video-card, .stat-item, .quick-link {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .feature-card:hover, .video-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(212, 175, 55, 0.15),
                inset 0 0 20px rgba(212, 175, 55, 0.05);
            border-color: var(--accent-gold);
        }

        /* 4. Scroll Reveal Animation Classes */
        .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 delays for grids */
        .reveal-stagger-1 { transition-delay: 0.1s; }
        .reveal-stagger-2 { transition-delay: 0.2s; }
        .reveal-stagger-3 { transition-delay: 0.3s; }
        .reveal-stagger-4 { transition-delay: 0.4s; }

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

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

        /* Animated Background */
        .bg-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: radial-gradient(circle at 50% 50%, #0a0a12 0%, var(--bg-dark) 100%);
            overflow: hidden;
        }

        .bg-blob {
            position: absolute;
            width: 600px;
            height: 600px;
            background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
            filter: blur(120px);
            border-radius: 50%;
            opacity: 0.12;
            animation: float 20s ease-in-out infinite;
        }

        .bg-blob:nth-child(2) {
            right: -200px;
            bottom: -200px;
            background: linear-gradient(135deg, var(--accent-gold), var(--accent-fire));
            animation-delay: -10s;
            animation-duration: 25s;
        }

        .bg-blob:nth-child(3) {
            left: 50%;
            top: 50%;
            width: 400px;
            height: 400px;
            background: linear-gradient(135deg, var(--accent-fire), var(--accent-gold));
            animation-delay: -5s;
            animation-duration: 30s;
            opacity: 0.08;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            25% { transform: translate(50px, -50px) scale(1.1); }
            50% { transform: translate(-30px, 30px) scale(0.95); }
            75% { transform: translate(-50px, -30px) scale(1.05); }
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 1rem 5%;
            padding-top: calc(1rem + env(safe-area-inset-top, 0px));
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(5, 5, 8, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--glass-border);
            z-index: 1000;
        }

        /* Nav Overlay (mobile menu backdrop) */
        .nav-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            z-index: 998;
        }

        .nav-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        /* Nav left container - keeps logo and AI link together */
        .nav-left {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo {
            font-family: 'Orbitron', sans-serif;
            font-weight: 800;
            font-size: 1.5rem;
            letter-spacing: 3px;
            background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none;
        }

        /* AI Assistant Nav Link - prominent placement next to logo */
        .ai-nav-link {
            display: inline-flex;
            align-items: center;
            gap: 0;
            padding: 8px 16px 8px 0;
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(110, 69, 226, 0.15));
            border: 1px solid var(--accent-gold);
            border-radius: 25px;
            color: var(--accent-gold);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .ai-nav-icon {
            width: 65px;
            height: 65px;
            object-fit: contain;
            border-radius: 50%;
            margin: -25px -15px -25px -10px;
        }

        .ai-nav-link:hover {
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(110, 69, 226, 0.25));
            box-shadow: 0 0 20px var(--gold-glow), 0 0 30px var(--purple-glow);
            transform: translateY(-2px);
        }

        .ai-nav-link.active {
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(110, 69, 226, 0.2));
            box-shadow: 0 0 15px var(--gold-glow);
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--text-dim);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a:hover, .nav-links a.active {
            color: var(--accent-gold);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-gold);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after, .nav-links a.active::after {
            width: 100%;
        }

        /* Navigation Dropdowns */
        .nav-dropdown {
            position: relative;
            display: inline-block;
        }

        .nav-dropdown-trigger {
            background: none;
            border: none;
            color: var(--text-dim);
            font-weight: 500;
            font-size: 0.95rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 0;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .nav-dropdown-trigger:hover {
            color: var(--accent-gold);
        }

        .dropdown-arrow {
            font-size: 0.7rem;
            transition: transform 0.3s ease;
        }

        .nav-dropdown:hover .dropdown-arrow {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 180px;
            background: rgba(15, 15, 25, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 8px;
            padding: 8px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 1001;
            margin-top: 8px;
        }

        .nav-dropdown.active .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu a {
            display: block;
            padding: 10px 20px;
            color: var(--text-dim);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.2s ease;
        }

        .dropdown-menu a:hover {
            background: rgba(212, 175, 55, 0.1);
            color: var(--accent-gold);
            padding-left: 25px;
        }

        .dropdown-menu a::after {
            display: none;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 40px 20px 60px; /* Reduced top padding */
            position: relative;
        }

        .hero-badge {
            display: inline-block;
            padding: 8px 20px;
            background: rgba(212, 175, 55, 0.15);
            border: 1px solid var(--accent-gold);
            color: var(--accent-gold);
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            border-radius: 30px;
            margin-bottom: 1.5rem;
            animation: fadeInDown 1s ease-out;
        }

        .hero h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: clamp(3rem, 10vw, 6rem);
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 8px;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 50%, var(--accent-fire) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 60px var(--gold-glow);
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .hero-subtitle {
            font-family: 'Orbitron', sans-serif;
            font-size: clamp(1rem, 3vw, 1.5rem);
            font-weight: 500;
            color: var(--accent-gold);
            letter-spacing: 4px;
            margin-bottom: 1.5rem;
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-dim);
            max-width: 700px;
            margin-bottom: 2.5rem;
            animation: fadeInUp 1s ease-out 0.4s both;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 1rem 2.5rem;
            background: linear-gradient(135deg, var(--accent-gold), var(--accent-fire));
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.4s ease;
            border: 1px solid transparent;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px var(--gold-glow);
            filter: brightness(1.1);
        }

        .cta-button.secondary {
            background: transparent;
            border: 2px solid var(--accent-gold);
            color: var(--accent-gold);
        }

        .cta-button.secondary:hover {
            background: rgba(212, 175, 55, 0.1);
        }

        .cta-button.discord {
            background: var(--discord);
            border: 1px solid var(--discord);
            color: white;
        }

        .cta-button.discord:hover {
            background: #4752c4;
            box-shadow: 0 15px 40px rgba(88, 101, 242, 0.4);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s ease-in-out infinite;
        }

        .scroll-indicator svg {
            width: 30px;
            height: 30px;
            stroke: var(--accent-gold);
            opacity: 0.6;
        }

        @keyframes bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(10px); }
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Features Section */
        .features-section {
            padding: 100px 20px;
            position: relative;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-main);
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: var(--text-dim);
            max-width: 600px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        /* Feature Card Styles */
        .feature-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 40px 30px;
            text-decoration: none;
            color: inherit;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: block;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-gold), var(--accent-fire));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .feature-card:hover {
            border-color: var(--accent-gold);
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--gold-glow);
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            height: 60px;
        }

        .feature-icon svg {
            width: 48px;
            height: 48px;
            filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
            transition: all 0.3s ease;
        }

        .feature-card:hover .feature-icon svg {
            transform: scale(1.1);
            filter: drop-shadow(0 0 20px var(--accent-gold));
        }

        .feature-card h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 15px;
        }

        .feature-card p {
            color: var(--text-dim);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .feature-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--accent-gold);
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .feature-link svg {
            transition: transform 0.3s ease;
        }

        .feature-card:hover .feature-link svg {
            transform: translateX(5px);
        }

        /* About Section */
        .about-section {
            padding: 100px 20px;
            background: rgba(0, 0, 0, 0.3);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .about-text p {
            color: var(--text-dim);
            font-size: 1.05rem;
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .stat-item {
            text-align: center;
            padding: 25px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
        }

        .stat-number {
            font-family: 'Orbitron', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-gold);
            margin-bottom: 5px;
        }

        .stat-label {
            font-size: 0.85rem;
            color: var(--text-dim);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* YouTube Section */
        .youtube-section {
            padding: 100px 20px;
            background: rgba(0, 0, 0, 0.2);
        }

        .channel-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 25px 30px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .channel-info {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .channel-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }

        .channel-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .channel-details h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 4px;
        }

        .channel-details p {
            color: var(--text-dim);
            font-size: 0.9rem;
        }

        .subscribe-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            background: #FF0000;
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .subscribe-btn:hover {
            background: #CC0000;
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
        }

        .subscribe-btn svg {
            width: 20px;
            height: 20px;
        }

        .videos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .video-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .video-card:hover {
            border-color: var(--accent-gold);
            transform: translateY(-8px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--gold-glow);
        }

        .video-embed {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%;
            background: #000;
        }

        .video-embed iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .video-info {
            padding: 20px;
        }

        .video-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .video-meta {
            color: var(--text-dim);
            font-size: 0.85rem;
        }

        .view-all-videos {
            text-align: center;
        }

        .view-all-videos .cta-button {
            background: transparent;
            border: 2px solid var(--accent-gold);
            color: var(--accent-gold);
        }

        .view-all-videos .cta-button:hover {
            background: rgba(212, 175, 55, 0.1);
        }

        /* Quick Links Section */
        .quick-links-section {
            padding: 80px 20px;
        }

        .quick-links-grid {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .quick-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 15px 30px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 50px;
            color: var(--text-main);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .quick-link:hover {
            border-color: var(--accent-gold);
            background: rgba(212, 175, 55, 0.1);
            color: var(--accent-gold);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .quick-link svg {
            width: 20px;
            height: 20px;
        }

        /* ============================================================
           FOOTER — Premium Cyberpunk Dark/Gold Theme
           ============================================================ */

        /* --- Footer Container --- */
        .site-footer {
            border-top: 2px solid rgba(212, 175, 55, 0.3);
            background: linear-gradient(180deg, rgba(15, 10, 5, 0.99), rgba(5, 3, 1, 1));
            color: var(--text-dim);
            padding: 0;
            position: relative;
            overflow: hidden;
        }

        /* Reset global nav styles inside footer */
        .site-footer nav {
            position: static;
            display: flex;
            flex-direction: column;
            width: auto;
            padding: 0;
            background: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border-bottom: none;
            z-index: auto;
            justify-content: flex-start;
            align-items: flex-start;
        }

        /* Decorative gold gradient line at top */
        .site-footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 5%;
            right: 5%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
            pointer-events: none;
        }

        /* Subtle ambient glow in top-left corner */
        .site-footer::after {
            content: '';
            position: absolute;
            top: -60px;
            left: -60px;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
            pointer-events: none;
        }

        /* --- Inner Container --- */
        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 1.5rem 1.5rem;
            position: relative;
            z-index: 1;
        }

        /* --- Grid Layout --- */
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }

        /* --- Brand Column --- */
        .footer-logo {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--accent-gold);
            text-decoration: none;
            display: inline-block;
            margin-bottom: 0.75rem;
            letter-spacing: 0.05em;
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.4),
                         0 0 20px rgba(212, 175, 55, 0.15);
            transition: text-shadow 0.3s ease;
        }

        .footer-logo:hover {
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.7),
                         0 0 25px rgba(212, 175, 55, 0.35),
                         0 0 40px rgba(212, 175, 55, 0.15);
        }

        .footer-tagline {
            color: rgba(255, 255, 255, 0.55);
            font-size: 0.84rem;
            line-height: 1.6;
            margin: 0;
            max-width: 320px;
        }

        /* Decorative gold accent line under brand */
        .footer-brand-accent {
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-gold), transparent);
            margin-top: 1rem;
            border-radius: 1px;
        }

        /* --- Column Headings --- */
        .footer-heading {
            font-family: 'Orbitron', sans-serif;
            color: var(--accent-gold);
            font-size: 0.8rem;
            font-weight: 600;
            margin: 0 0 1rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            text-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
            padding-bottom: 0.6rem;
            border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        }

        /* --- Footer Links --- */
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            font-size: 0.84rem;
            font-family: 'Poppins', sans-serif;
            position: relative;
            padding-left: 0;
            transition: color 0.25s ease, padding-left 0.25s ease, text-shadow 0.25s ease;
            display: inline-block;
        }

        /* Hover arrow indicator */
        .footer-links a::before {
            content: '';
            position: absolute;
            left: -2px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 4px solid transparent;
            border-bottom: 4px solid transparent;
            border-left: 5px solid var(--accent-gold);
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .footer-links a:hover {
            color: var(--accent-gold);
            padding-left: 12px;
            text-shadow: 0 0 8px rgba(212, 175, 55, 0.25);
        }

        .footer-links a:hover::before {
            opacity: 1;
        }

        /* Focus-visible for keyboard users */
        .footer-links a:focus-visible {
            outline: 2px solid var(--accent-gold);
            outline-offset: 2px;
            border-radius: 2px;
        }

        /* --- Footer Bottom Bar --- */
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1.5rem;
            border-top: 1px solid transparent;
            border-image: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent) 1;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.8rem;
            margin: 0;
            font-family: 'Poppins', sans-serif;
        }

        .footer-bottom a {
            color: var(--accent-gold);
            text-decoration: none;
            transition: text-shadow 0.2s ease;
        }

        .footer-bottom a:hover {
            text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
        }

        /* --- Social Icons --- */
        .footer-social {
            display: flex;
            gap: 0.75rem;
        }

        .footer-social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid rgba(212, 175, 55, 0.25);
            background: var(--glass-bg);
            color: rgba(255, 255, 255, 0.5);
            transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
        }

        .footer-social-link:hover {
            color: var(--accent-gold);
            border-color: rgba(212, 175, 55, 0.6);
            background: rgba(212, 175, 55, 0.08);
            box-shadow: 0 0 12px rgba(212, 175, 55, 0.3),
                        0 0 24px rgba(212, 175, 55, 0.1);
            transform: translateY(-2px) scale(1.05);
        }

        .footer-social-link:focus-visible {
            outline: 2px solid var(--accent-gold);
            outline-offset: 2px;
        }

        /* --- Back to Top Button --- */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid rgba(212, 175, 55, 0.3);
            background: rgba(5, 5, 8, 0.85);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            color: var(--accent-gold);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
                        box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
            z-index: 90;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .back-to-top:hover {
            border-color: rgba(212, 175, 55, 0.6);
            background: rgba(212, 175, 55, 0.1);
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.35),
                        0 0 30px rgba(212, 175, 55, 0.12);
            transform: translateY(-2px);
        }

        .back-to-top:focus-visible {
            outline: 2px solid var(--accent-gold);
            outline-offset: 2px;
        }

        /* --- Responsive: Tablet (1024px) --- */
        @media (max-width: 1024px) {
            .footer-grid {
                gap: 2rem;
            }
        }

        /* --- Responsive: Small Tablet (768px) --- */
        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }

            .footer-brand {
                grid-column: 1 / -1;
            }

            .footer-tagline {
                max-width: none;
            }

            .footer-bottom {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 1rem;
            }

            .back-to-top {
                bottom: 1.5rem;
                right: 1.5rem;
            }
        }

        /* --- Responsive: Mobile (480px) --- */
        @media (max-width: 480px) {
            .footer-inner {
                padding: 2.5rem 1.25rem 1.25rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1.75rem;
            }

            .footer-col {
                text-align: center;
            }

            .footer-brand-accent {
                margin-left: auto;
                margin-right: auto;
            }

            .footer-heading {
                border-bottom: none;
                padding-bottom: 0;
            }

            .footer-links a {
                padding-left: 0;
            }

            .footer-links a::before {
                display: none;
            }

            .footer-links a:hover {
                padding-left: 0;
            }

            .back-to-top {
                bottom: 1rem;
                right: 1rem;
                width: 40px;
                height: 40px;
            }
        }


        /* ═══════════════════════════════════════════════════════════════
           EVENT TRACKER - Premium Timer Hub
           ═══════════════════════════════════════════════════════════════ */
        @keyframes shimmer {
            0% { background-position: 200% center; }
            100% { background-position: -200% center; }
        }

        .event-tracker {
            background: rgba(10, 10, 20, 0.4); /* More transparent */
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--glass-border);
            padding: 15px 20px; /* Compact padding */
            position: relative;
            overflow: hidden;
            margin-top: 60px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Depth */
        }

        .event-tracker::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(110, 69, 226, 0.15) 0%, transparent 60%);
            pointer-events: none;
            z-index: 0;
        }

        .event-tracker-header {
            position: relative;
            z-index: 1;
            /* ... existing styles ... */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 30px;
        }

        /* Enhanced Card Styles */
        .event-card {
            background: rgba(15, 15, 25, 0.6); /* Glassy */
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            /* ... */
            border-radius: 20px;
            padding: 16px; /* Reduced padding */
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .event-card.world-boss { 
            --card-accent: #ef4444; 
            box-shadow: 0 0 20px rgba(239, 68, 68, 0.1);
        }
        
        .event-card.helltide { 
            --card-accent: var(--purple); 
            box-shadow: 0 0 20px rgba(110, 69, 226, 0.1);
        }

        .event-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--card-accent);
            border-color: var(--card-accent);
        }

        .event-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .event-type {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .event-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .world-boss .event-icon {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
            border-color: rgba(239, 68, 68, 0.3);
        }

        .helltide .event-icon {
            background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.05) 100%);
            border-color: rgba(168, 85, 247, 0.3);
        }

        .event-label {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--text-dim);
        }

        .event-status-badge {
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 5px 12px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .event-status-badge.soon {
            background: rgba(239, 68, 68, 0.15);
            border-color: rgba(239, 68, 68, 0.3);
            color: #ef4444;
        }

        .event-status-badge.active {
            background: rgba(74, 222, 128, 0.15);
            border-color: rgba(74, 222, 128, 0.3);
            color: #4ade80;
        }

        .event-status-badge.waiting { color: var(--text-dim); }

        .event-card-body {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .progress-ring-container {
            position: relative;
            width: 70px;
            height: 70px;
            flex-shrink: 0;
        }

        .progress-ring {
            transform: rotate(-90deg);
            width: 70px;
            height: 70px;
        }

        .progress-ring-bg {
            fill: none;
            stroke: rgba(255, 255, 255, 0.08);
            stroke-width: 6;
        }

        .progress-ring-fill {
            fill: none;
            stroke-width: 6;
            stroke-linecap: round;
            transition: stroke-dashoffset 1s ease;
        }

        .world-boss .progress-ring-fill {
            stroke: url(#bossGradient);
            filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
        }

        .helltide .progress-ring-fill {
            stroke: url(#helltideGradient);
            filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5));
        }

        .progress-ring-center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }

        .ring-icon {
            font-size: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            filter: drop-shadow(0 0 10px var(--card-accent));
            animation: iconPulse 4s ease-in-out infinite;
        }

        .ring-icon svg { width: 28px; height: 28px; }

        @keyframes iconPulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.08); opacity: 0.9; }
        }

        .event-info { flex: 1; }

        .event-name {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 4px;
            color: var(--text);
        }

        .world-boss .event-name { color: #fca5a5; text-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }
        .helltide .event-name { color: #c4b5fd; text-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }

        .event-location {
            font-size: 0.8rem;
            color: var(--text-dim);
            margin-bottom: 12px;
        }

        .countdown-display {
            display: flex;
            gap: 8px;
        }

        .countdown-segment { text-align: center; }

        .countdown-value {
            font-family: 'Orbitron', monospace;
            font-size: 1.4rem;
            font-weight: 800;
            background: linear-gradient(180deg, rgba(20, 20, 35, 0.9) 0%, rgba(10, 10, 20, 0.95) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 4px 8px;
            min-width: 40px;
            display: block;
            color: var(--gold);
            text-shadow: 0 0 20px var(--gold-glow);
            position: relative;
            overflow: hidden;
        }

        .countdown-value::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: rgba(255, 255, 255, 0.05);
        }

        .countdown-value.urgent {
            color: #ef4444;
            text-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
            animation: urgentBlink 0.5s infinite;
        }

        @keyframes urgentBlink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }

        .countdown-label {
            font-size: 0.6rem;
            color: var(--text-dim);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 4px;
        }

        .countdown-separator {
            font-family: 'Orbitron', monospace;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-dim);
            align-self: flex-start;
            padding-top: 12px;
            animation: separatorBlink 2.5s ease-in-out infinite;
        }

        @keyframes separatorBlink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }

        .helltide-progress { margin-top: 12px; }

        .progress-bar-container {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 10px;
            height: 8px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .progress-bar-fill {
            height: 100%;
            border-radius: 10px;
            background: linear-gradient(90deg, var(--purple) 0%, #a855f7 50%, var(--purple) 100%);
            background-size: 200% 100%;
            animation: progressShimmer 2s infinite;
            transition: width 1s ease;
        }

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

        .event-icon svg { width: 22px; height: 22px; }
        .world-boss .event-icon svg { fill: #ef4444; filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.5)); }
        .helltide .event-icon svg { fill: #a855f7; filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.5)); }

        .progress-label {
            display: flex;
            justify-content: space-between;
            margin-top: 6px;
            font-size: 0.7rem;
            color: var(--text-dim);
        }

        .svg-defs {
            position: absolute;
            width: 0;
            height: 0;
            overflow: hidden;
        }

        /* Mobile Menu Button */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
        }

        .menu-toggle span {
            display: block;
            width: 25px;
            height: 2px;
            background: var(--text-main);
            margin: 5px 0;
            transition: all 0.3s ease;
        }

        /* Mobile Nav Active State */
        .nav-links.active {
            transform: translateX(0);
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* Tablet Responsive (769px - 1024px) */
        @media (min-width: 769px) and (max-width: 1024px) {
            nav {
                padding: 0.75rem 3%;
            }

            .logo {
                font-size: 1.3rem;
                letter-spacing: 2px;
            }

            .nav-links {
                gap: 1.2rem;
            }

            .nav-links a,
            .nav-dropdown-trigger {
                font-size: 0.85rem;
            }

            .ai-nav-icon {
                width: 50px;
                height: 50px;
                margin: -20px -10px -20px -8px;
            }

            .ai-nav-link {
                font-size: 0.8rem;
                padding: 6px 12px 6px 0;
            }
        }

        /* Timer Responsive */
        @media (max-width: 768px) {
            .event-cards { grid-template-columns: 1fr; }
            .event-card-body { flex-direction: column; text-align: center; }
            .countdown-display { justify-content: center; }
            .event-info { width: 100%; }

            /* Mobile Nav Bar */
            nav {
                padding: 0.75rem 4%;
                padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
            }

            .logo {
                font-size: 1.1rem;
                letter-spacing: 2px;
            }

            /* Mobile AI link - smaller and compact */
            .ai-nav-link {
                padding: 5px 10px 5px 0;
                font-size: 0.75rem;
            }

            .ai-nav-icon {
                width: 40px;
                height: 40px;
                margin: -15px -8px -15px -5px;
            }

            .menu-toggle {
                display: block;
            }

            /* Slide-out Panel */
            .nav-links {
                position: fixed;
                top: 0;
                right: 0;
                height: 100vh;
                height: 100dvh;
                width: min(85%, 320px);
                background: rgba(5, 5, 8, 0.97);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: flex-start;
                align-items: stretch;
                padding: 80px 0 2rem;
                padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
                gap: 0;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                transform: translateX(100%);
                transition: transform 0.3s ease-in-out;
                z-index: 999;
                border-left: 1px solid var(--glass-border);
            }

            /* Touch-friendly links */
            .nav-links a {
                font-size: 1.05rem;
                padding: 14px 1.5rem;
                margin: 0;
                width: 100%;
                border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            }

            .nav-links a::after {
                display: none;
            }

            /* Home icon - full width row */
            .nav-links .nav-home {
                justify-content: flex-start;
                padding: 14px 1.5rem;
            }

            /* Mobile Dropdown - accordion style */
            .nav-dropdown {
                width: 100%;
                display: block;
            }

            .nav-dropdown-trigger {
                width: 100%;
                padding: 14px 1.5rem;
                font-size: 1.05rem;
                justify-content: space-between;
                border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            }

            .dropdown-arrow {
                transition: transform 0.3s ease;
            }

            .nav-dropdown.active .dropdown-arrow {
                transform: rotate(180deg);
            }

            .dropdown-menu {
                position: static;
                min-width: unset;
                background: rgba(255, 255, 255, 0.02);
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                border: none;
                border-radius: 0;
                padding: 0;
                margin-top: 0;
                max-height: 0;
                overflow: hidden;
                opacity: 1;
                visibility: visible;
                transform: none;
                transition: max-height 0.3s ease;
            }

            .nav-dropdown.active .dropdown-menu {
                max-height: 400px;
                opacity: 1;
                visibility: visible;
                transform: none;
            }

            .dropdown-menu a {
                padding: 12px 1.5rem 12px 2.5rem;
                font-size: 0.95rem;
                border-bottom: 1px solid rgba(255, 255, 255, 0.02);
            }

            .dropdown-menu a:hover {
                padding-left: 2.5rem;
            }
        }

        /* Very small screens - hide AI link text */
        @media (max-width: 400px) {
            .ai-nav-link {
                padding: 4px;
                font-size: 0;
                border-radius: 50%;
                width: 36px;
                height: 36px;
                justify-content: center;
            }

            .ai-nav-icon {
                width: 32px;
                height: 32px;
                margin: 0;
            }
        }

/* ==========================================================================
   SOUNDBOARD STYLES
   ========================================================================== */

.soundboard-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.control-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    color: #ef4444;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.control-btn svg {
    width: 16px;
    height: 16px;
}

.soundboard-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.search-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--text-dim);
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.search-input::placeholder {
    color: var(--text-dim);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-dim);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.filter-btn.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.filter-btn.favorite-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.filter-btn.favorite-filter svg {
    fill: currentColor;
}

.soundboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.sound-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 100px;
}

.sound-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px var(--gold-glow);
}

.sound-btn.playing {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ade80;
    animation: soundPulse 0.5s ease infinite;
}

@keyframes soundPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.sound-btn.is-favorite .favorite-icon {
    color: #ef4444;
}

.favorite-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1rem;
    color: var(--text-dim);
    transition: all 0.3s ease;
    cursor: pointer;
}

.favorite-icon:hover {
    color: #ef4444;
    transform: scale(1.2);
}

.sound-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.sound-name {
    font-size: 0.85rem;
    color: var(--text-main);
    text-align: center;
    font-weight: 500;
}

.soundboard-info {
    text-align: center;
    padding: 20px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .soundboard-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    .sound-btn {
        padding: 15px 10px;
        min-height: 80px;
    }

    .sound-icon {
        font-size: 1.5rem;
    }

    .sound-name {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   PASSWORD PROTECTION MODAL
   ========================================================================== */

.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 3, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.password-overlay.hidden {
    display: none;
}

.password-modal {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px var(--gold-glow);
    animation: modalSlideIn 0.5s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.modal-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 25px;
}

.password-input-group {
    margin-bottom: 20px;
}

.password-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 1rem;
    text-align: center;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.password-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.password-input::placeholder {
    color: var(--text-dim);
    letter-spacing: normal;
}

.password-submit {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-fire));
    border: none;
    border-radius: 10px;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.password-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--gold-glow);
    filter: brightness(1.1);
}

.password-error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 15px;
    display: none;
}

.password-error.visible {
    display: block;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.password-modal.shake {
    animation: shake 0.5s ease;
}

.main-content {
    display: none;
}

.main-content.visible {
    display: block;
}

/* ==========================================================================
   UPLOAD PAGE STYLES
   ========================================================================== */

.upload-zone {
    background: var(--glass-bg);
    border: 2px dashed var(--glass-border);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 40px;
    position: relative;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

.upload-zone.dragover {
    transform: scale(1.02);
    box-shadow: 0 0 30px var(--gold-glow);
}

.upload-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.upload-zone h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.upload-zone p {
    color: var(--text-dim);
    margin-bottom: 20px;
}

.upload-zone input[type="file"] {
    display: none;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-fire));
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.upload-btn svg {
    width: 20px;
    height: 20px;
}

.upload-progress {
    display: none;
    margin-top: 30px;
}

.upload-progress.active {
    display: block;
}

.progress-bar {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-fire));
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Files Container */
#files-container {
    min-height: 200px;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px 30px;
    color: var(--text-main);
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.toast.error {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Files Grid */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.file-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.file-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--gold-glow);
}

.file-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.file-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
    word-break: break-word;
}

.file-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.file-type-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-gold);
    border-radius: 15px;
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.file-actions {
    display: flex;
    gap: 10px;
}

.file-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.file-btn.download {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.file-btn.download:hover {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ade80;
}

.file-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.file-btn.delete:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

.file-btn svg {
    width: 14px;
    height: 14px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-dim);
}

@media (max-width: 768px) {
    .files-grid {
        grid-template-columns: 1fr;
    }

    .file-actions {
        flex-direction: column;
    }

    .file-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   TOOLS PAGE MODAL STYLES
   ========================================================================== */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.tool-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--gold-glow);
}

.tool-icon {
    margin-bottom: 15px;
}

.tool-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent-gold);
}

.tool-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.tool-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Tool Modal Overlay */
.tool-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 3, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.tool-modal-overlay.active {
    display: flex;
}

.tool-modal {
    background: rgba(15, 15, 25, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--glass-border);
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-main);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent-gold);
}

.modal-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 0 10px var(--gold-glow);
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: var(--accent-gold);
}

.result-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    word-break: break-all;
}

.copy-btn {
    padding: 8px 15px;
    background: var(--accent-gold);
    border: none;
    border-radius: 5px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.copy-btn:hover {
    background: var(--accent-fire);
}

/* ==========================================================================
   DOWNLOADS PAGE STYLES
   ========================================================================== */

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.download-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
}

.download-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--gold-glow);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.download-icon {
    font-size: 2.5rem;
}

.download-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.download-version {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 500;
}

.download-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-fire));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--gold-glow);
}

.download-btn svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   DISCORD PAGE STYLES
   ========================================================================== */

.discord-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.discord-feature {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.discord-feature:hover {
    border-color: var(--discord);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(88, 101, 242, 0.3);
}

.discord-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.discord-feature h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.discord-feature p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.discord-embed {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.discord-embed iframe {
    border-radius: 10px;
    max-width: 100%;
}

/* ==========================================================================
   BUILD GUIDES PAGE STYLES
   ========================================================================== */

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.guide-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.guide-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--gold-glow);
}

.guide-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.guide-content {
    padding: 25px;
}

.guide-class {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.guide-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.guide-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}
