@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #050507;
    position: relative;
    overflow-x: hidden;
    color: #f1f5f9;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #050507;
}
::-webkit-scrollbar-thumb {
    background: #1a1a22;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #804DFF;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.015;
    pointer-events: none;
    background-image: 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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.bg-grid-pattern {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    will-change: opacity;
    animation: gridFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 85%);
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 85%);
}

@keyframes gridFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 1px;
    text-decoration: none;
    user-select: none;
}

.brand-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(128, 77, 255, 0.3));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo-text {
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ffffff;
    transition: color 0.3s ease;
}

.brand-logo-container:hover .brand-logo-img {
    transform: scale(1.1) rotate(-5deg);
}

.text-glow-purple {
    text-shadow: 0 0 20px rgba(128, 77, 255, 0.5);
}

.card-glow-premium {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(128, 77, 255, 0.15);
}

.glass-header {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(10, 10, 12, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    will-change: transform, padding, background-color, border-color, box-shadow;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-header:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.header-scrolled {
    background-color: rgba(10, 10, 12, 0.85) !important;
    backdrop-filter: blur(24px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
    padding-top: 0.65rem !important; 
    padding-bottom: 0.65rem !important;
    border-color: rgba(255, 255, 255, 0.08) !important; 
    transform: scale(0.98); 
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nav-link {
    position: relative;
    color: #94a3b8;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 12px;
    height: 2px;
    background: #804DFF;
    border-radius: 9999px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(128, 77, 255, 0.6);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link-active {
    color: #ffffff !important;
}

.nav-link-active::after {
    transform: translateX(-50%) scaleX(1.2);
}

/* =========================================
   ELITE BUTTON STYLES (Glassmorphism Theme)
   ========================================= */

.btn-premium {
    position: relative;
    overflow: hidden;
    background: rgba(128, 77, 255, 0.12); /* Glass Purple */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(128, 77, 255, 0.3);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.3), 
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-premium:hover {
    background: rgba(128, 77, 255, 0.22); 
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 
        0 8px 25px rgba(128, 77, 255, 0.3), 
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-premium:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(128, 77, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03); /* Glass Gray */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-secondary:active {
    transform: translateY(1px) scale(0.98);
}

.glass-login-card {
    background: linear-gradient(135deg, rgba(10, 10, 12, 0.45) 0%, rgba(6, 6, 8, 0.6) 100%);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.8),
        0 0 50px -10px rgba(128, 77, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.btn-discord-glass {
    background: rgba(88, 101, 242, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #cbd5e1;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-discord-glass:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-card {
    background: linear-gradient(180deg, rgba(15, 15, 20, 0.7) 0%, rgba(10, 10, 12, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
    border-color: rgba(128, 77, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
}

.gradient-border {
    position: relative;
    border-radius: 1rem;
    background: linear-gradient(#0c0c0e, #0c0c0e) padding-box,
                linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)) border-box;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gradient-border:hover {
    transform: translateY(-4px);
    background: linear-gradient(#0c0c0e, #0c0c0e) padding-box,
                linear-gradient(135deg, rgba(128, 77, 255, 0.2), rgba(255, 255, 255, 0.03)) border-box;
}

.gradient-border-active {
    position: relative;
    border-radius: 1rem;
    background: linear-gradient(#0a0a0c, #0a0a0c) padding-box,
                linear-gradient(135deg, rgba(128, 77, 255, 0.8), rgba(128, 77, 255, 0.2)) border-box;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gradient-border-active:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(128, 77, 255, 0.25);
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    mix-blend-mode: screen;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.glow-purple {
    background-color: #804DFF;
    animation: floatGlow 18s ease-in-out infinite alternate;
}

.glow-blue {
    background-color: #2563eb;
    animation: floatGlow2 22s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 20px) scale(1.05); }
}

@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, -20px) scale(0.95); }
}

.faq-item {
    transition: all 0.25s ease;
}

.faq-item.active {
    border-color: rgba(128, 77, 255, 0.25);
    background-color: rgba(15, 15, 20, 0.4);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.gold-glow-badge {
    background: rgba(245, 158, 11, 0.1) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    color: #fbbf24 !important;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
    animation: goldGlowPulse 3s infinite ease-in-out;
}

@keyframes goldGlowPulse {
    0%, 100% {
        border-color: rgba(245, 158, 11, 0.3);
        box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
    }
    50% {
        border-color: rgba(245, 158, 11, 0.6);
        box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.pay-tab.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}



.pixel-art {
    image-rendering: pixelated; /* Chrome, Edge, Safari */
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: crisp-edges;
}

/* =========================================
   SYNCHRONIZED WAVE FLOAT SYSTEM
   ========================================= */

/* 1. Axe (Slightly left) - Starts at point 0 of the wave */
.animate-weapon {
    animation: syncWaveAxe 6s ease-in-out infinite;
    animation-delay: 0s;
    transform-origin: bottom right;
}

@keyframes syncWaveAxe {
    0%, 100% { transform: translateY(0px) rotate(-6deg); }
    50% { transform: translateY(-16px) rotate(6deg); }
}

/* 2. Key (Top Right) - Offset by 2 seconds in the wave */
.animate-key {
    animation: syncWaveKey 6s ease-in-out infinite;
    animation-delay: -2s; /* Instantly starts 2 seconds into the timeline */
}

@keyframes syncWaveKey {
    0%, 100% { transform: translateY(0px) rotate(8deg); }
    50% { transform: translateY(-16px) rotate(-8deg); }
}

/* 3. Ghost (Bottom Left) - Offset by 4 seconds in the wave */
.animate-ghost {
    animation: syncWaveGhost 6s ease-in-out infinite;
    animation-delay: -4s; /* Instantly starts 4 seconds into the timeline */
}

@keyframes syncWaveGhost {
    0%, 100% { transform: translateY(0px) rotate(-3deg); opacity: 0.95; }
    50% { transform: translateY(-16px) rotate(3deg); opacity: 0.75; }
}

.animate-lite-float {
    animation: pureLiteFloat 3.2s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite alternate;
    will-change: transform, filter; /* Forces GPU hardware acceleration to stop lag/glitchiness */
    
    /* Layered intense glowing effects */
    text-shadow: 
        0 0 8px rgba(167, 139, 250, 0.9), 
        0 0 16px rgba(128, 77, 255, 0.7), 
        0 0 32px rgba(128, 77, 255, 0.5);
}

@keyframes pureLiteFloat {
    0% {
        transform: translateY(2px) rotate(13deg) scale(0.97);
        filter: drop-shadow(0 0 2px rgba(128, 77, 255, 0.5));
    }
    100% {
        transform: translateY(-8px) rotate(13deg) scale(1.03);
        filter: drop-shadow(0 0 14px rgba(167, 139, 250, 0.8));
    }
}