@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');


@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorder {
    0% { --border-angle: 0deg; }
    100% { --border-angle: 360deg; }
}


html, body {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #050507;
    color: #f1f5f9;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Custom Page Scrollbars */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #050507;
}
::-webkit-scrollbar-thumb {
    background: #1a1a22;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #804DFF;
}

/* ==========================================
   UNIFIED BRAND LOGO & HEADERS
   ========================================== */
.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;
}
.brand-logo-container:hover .brand-logo-img {
    transform: scale(1.1) rotate(-5deg);
}

/* Glass Header System */
.glass-header {
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    background-color: rgba(8, 8, 11, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-scrolled {
    background-color: rgba(8, 8, 11, 0.65) !important;
    padding-top: 0.65rem !important; 
    padding-bottom: 0.65rem !important;
    border-color: rgba(255, 255, 255, 0.1) !important; 
    transform: scale(0.98); 
}

/* ==========================================
   NAVIGATION LINKS & BUTTONS
   ========================================== */
.nav-link {
    position: relative;
    color: #94a3b8;
    font-weight: 600;
    transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover, .nav-link-active {
    color: #ffffff !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 14px;
    height: 2px;
    background-color: #804DFF;
    border-radius: 9999px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after, .nav-link-active::after {
    transform: translateX(-50%) scaleX(1.2);
}

.nav-link-highlight {
    background: rgba(245, 158, 11, 0.08) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    color: #fbbf24 !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nav-link-highlight:hover {
    background: rgba(245, 158, 11, 0.18) !important;
    border-color: rgba(251, 191, 36, 0.6) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Premium Primary Buttons */
.btn-premium {
    background: rgba(128, 77, 255, 0.12);
    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);
    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);
    transform: translateY(-2px);
}

/* Standard Secondary Buttons */
.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    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);
}

/* Discord Integration Action Buttons */
.btn-discord-glass {
    background: rgba(88, 101, 242, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #cbd5e1;
    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);
}

/* ==========================================
   METEOR PANEL SHADERS (THIN & SHORT COMET TRAIL)
   ========================================== */

/* 1. Static Clean Border (For Standard Panels - NO ANIMATION) */
.gradient-border {
    position: relative;
    border-radius: 1rem;
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Sleek static outline */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}
.gradient-border:hover {
    transform: translateY(-2px);
    border-color: rgba(128, 77, 255, 0.2);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8);
}

/* 2. Unified Meteor Border (EXCLUSIVELY FOR ACTIVE PROFILE CARD) */
.gradient-border-active {
    position: relative;
    border-radius: 1rem;
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.03); /* Base border */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.gradient-border-active::before {
    content: '';
    position: absolute;
    inset: -1.5px; /* Extremely thin */
    border-radius: 1rem;
    padding: 1.5px;
    /* High contrast conic gradient creates a glowing comet */
    background: conic-gradient(from var(--border-angle), transparent 80%, #804DFF 92%, #e9d5ff 99%, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: rotateBorder 8s linear infinite; /* Smooth, constant, stable speed */
    z-index: 2;
}
.gradient-border-active:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.8), 0 0 25px -5px rgba(128, 77, 255, 0.2);
}

/* ==========================================
   CARDS & CONTAINERS
   ========================================== */
.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);
    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);
}

.pricing-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);
}

.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%);
    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);
}

.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); }

/* Interactive Tabs & FAQ elements */
.pay-tab.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.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;
}