/* ==========================================================================
   DESIGN SYSTEM (ULTRA-MINIMAL & CLEAN)
   ========================================================================== */
:root {
    --bg-color: #030406;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --border-color: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(255, 255, 255, 0.12);
    
    --text-primary: #ffffff;
    --text-secondary: #8e929b;
    --text-muted: #525660;
    
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --accent-glow: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0) 70%);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --max-width: 1100px;
}

/* ==========================================================================
   BASE RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* ==========================================================================
   UTILITY CLASSES & GRID
   ========================================================================== */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 24px;
    position: relative;
}

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

.sub-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.title-line {
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
    margin: 20px auto 0;
    border-radius: 1px;
}

.gradient-text {
    background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 50%, #8b5cf6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: textGradient 6s linear infinite;
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.accent-color {
    color: var(--accent-purple);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px; /* Modern Pill Shape */
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ==========================================================================
   NAVBAR (HEADER)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(3, 4, 6, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 65px;
    background: rgba(3, 4, 6, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border-color);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Navigation Drawer (PC & Mobile Hamburger Menu) */
.nav-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(3, 4, 6, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1100;
    border-left: 1px solid var(--border-color);
    padding: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.nav-menu.active {
    right: 0;
}

/* Glowing background orb drifting inside the drawer menu */
.nav-menu-glow-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: driftOrb 12s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes driftOrb {
    0% { top: 20%; left: -20%; transform: scale(1); }
    50% { top: 60%; left: 40%; transform: scale(1.3); }
    100% { top: 40%; left: 10%; transform: scale(0.9); }
}

/* Drawer Top Header Area with Image */
.nav-menu-header {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    z-index: 2;
}

.nav-menu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: transform 10s ease;
}

.nav-menu.active .nav-menu-img {
    transform: scale(1.1) rotate(1deg);
}

.nav-menu-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 4, 6, 0.1) 0%, rgba(3, 4, 6, 0.95) 100%);
}

/* Drawer Links */
.nav-menu-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px 40px;
    z-index: 2;
    flex-grow: 1;
    justify-content: center;
}

.nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    text-decoration: none;
    width: fit-content;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    transform: translateX(10px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Drawer Footer with Discord Button */
.nav-menu-footer {
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    z-index: 2;
    display: flex;
    justify-content: center;
    background: rgba(3, 4, 6, 0.5);
}

.nav-btn-discord-blue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 30px;
    background: #5865F2; /* Discord blue */
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    transition: var(--transition);
    border: none;
}

.nav-btn-discord-blue:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

.nav-btn-discord-blue svg {
    transition: transform 0.3s ease;
}

.nav-btn-discord-blue:hover svg {
    transform: rotate(-10deg) scale(1.15);
}

/* Hamburger Toggle Button (Always visible on all screen sizes) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1200;
    position: relative;
    padding: 10px;
}

.nav-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hamburger transition to X on active drawer */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 24px 60px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_background.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: kenBurns 40s ease-in-out infinite;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(3, 4, 6, 0.3) 0%, rgba(3, 4, 6, 0.97) 95%);
    z-index: 2;
}

/* Glowing ambient spheres */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 3;
}

.glow-1 {
    width: 450px;
    height: 450px;
    background: var(--accent-purple);
    top: 15%;
    left: 5%;
    animation: floatGlow1 25s infinite ease-in-out;
}

.glow-2 {
    width: 550px;
    height: 550px;
    background: var(--accent-cyan);
    bottom: 10%;
    right: 10%;
    animation: floatGlow2 30s infinite ease-in-out;
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.08) translate(-1%, -0.5%); }
    100% { transform: scale(1) translate(0, 0); }
}

@keyframes floatGlow1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.15); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, -50px) scale(0.85); }
    100% { transform: translate(0, 0) scale(1); }
}

.hero-container {
    position: relative;
    z-index: 4;
    max-width: var(--max-width);
    width: 100%;
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Page Load Animation for Hero elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .reveal-item {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .reveal-item:nth-child(1) { animation-delay: 0.1s; }
.hero-content .reveal-item:nth-child(2) { animation-delay: 0.25s; }
.hero-content .reveal-item:nth-child(3) { animation-delay: 0.4s; }
.hero-content .reveal-item:nth-child(4) { animation-delay: 0.55s; }

.status-bar.reveal-item {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.75s;
}

.server-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Mouse Scroll down Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-down a:hover {
    color: var(--text-primary);
}

.mouse-icon {
    width: 18px;
    height: 28px;
    border: 1.5px solid var(--text-muted);
    border-radius: 10px;
    position: relative;
}

.mouse-icon .wheel {
    width: 3px;
    height: 6px;
    background-color: var(--text-secondary);
    border-radius: 1.5px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { top: 5px; opacity: 1; }
    100% { top: 15px; opacity: 0; }
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
    background: #030406;
}

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

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition);
    overflow: hidden;
    backdrop-filter: blur(20px);
}



.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   HOW TO JOIN SECTION
   ========================================================================== */
.join-section {
    background: #030406;
}

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

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(20px);
}

.step-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-muted);
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 30px;
    transition: var(--transition);
}

.step-card:hover .step-num {
    opacity: 0.3;
    transform: scale(1.05);
}

.step-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.step-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.step-link svg {
    transition: transform var(--transition);
}

.step-link:hover svg {
    transform: translate(2px, -2px);
}

.step-details {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.team-section {
    background: #030406;
}

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

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(20px);
}



.avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.avatar-discord {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1c1d24;
    border: 1.5px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    object-fit: cover;
}

.team-card:hover .avatar-discord {
    border-color: var(--text-primary);
}

.status-badge {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #06070a; /* card hover dark bg approximation */
    z-index: 3;
    transition: var(--transition);
}

.status-badge.online {
    background-color: #23a55a;
}

.status-badge.idle {
    background-color: #f0b232;
}

.status-badge.dnd {
    background-color: #f23f43;
}

.status-badge.offline {
    background-color: #80848e;
}

.avatar-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0;
    filter: blur(8px);
    transition: var(--transition);
    z-index: 1;
}

.team-card:hover .avatar-glow {
    opacity: 0.2;
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.role {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.role-leader {
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
}

.role-headadmin {
    background: rgba(59, 130, 246, 0.06);
    color: #3b82f6;
}

.role-mod {
    background: rgba(139, 92, 246, 0.06);
    color: #8b5cf6;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: linear-gradient(180deg, rgba(3, 4, 6, 0.4) 0%, rgba(1, 2, 3, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 80px 24px 30px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-links h4, .footer-socials h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(2px);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ==========================================================================
   HOME HIGHLIGHTS SECTION
   ========================================================================== */
.home-highlights {
    padding: 100px 24px;
    background: linear-gradient(180deg, #030406 0%, #010203 100%);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.highlight-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.highlight-item:hover::before {
    opacity: 1;
}



.highlight-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.highlight-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(3, 4, 6, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--text-primary);
    padding: 14px 22px;
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.85rem;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: span 2;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        width: 100%;
        right: -100%;
        border-left: none;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}


@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
}

/* ==========================================================================
   SERVER STATUS BAR
   ========================================================================== */
.status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 40px;
    border-radius: 50px;
    margin: 60px auto 0;
    width: max-content;
    max-width: 100%;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.status-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.status-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.status-dot-green {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.status-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

@media (max-width: 768px) {
    .status-bar {
        flex-direction: column;
        gap: 20px;
        border-radius: 20px;
        padding: 24px 30px;
        width: 100%;
        margin-top: 40px;
    }
    .status-divider {
        width: 100%;
        height: 1px;
    }
}

/* ==========================================================================
   SCROLL REVEAL & MICRO-ANIMATIONS
   ========================================================================== */
.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered load/scroll animation delays */
.features-grid .feature-card:nth-child(1) { transition-delay: 0.05s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.15s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.25s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.3s; }

.steps-container .step-card:nth-child(1) { transition-delay: 0.1s; }
.steps-container .step-card:nth-child(2) { transition-delay: 0.2s; }
.steps-container .step-card:nth-child(3) { transition-delay: 0.3s; }

.team-grid .team-card:nth-child(1) { transition-delay: 0.05s; }
.team-grid .team-card:nth-child(2) { transition-delay: 0.1s; }
.team-grid .team-card:nth-child(3) { transition-delay: 0.15s; }
.team-grid .team-card:nth-child(4) { transition-delay: 0.2s; }

/* Breathing gradient text glow */
@keyframes textGlow {
    0% { filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.15)); }
    50% { filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.3)); }
    100% { filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.15)); }
}

.gradient-text {
    background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 50%, #8b5cf6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: textGradient 6s linear infinite;
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Button Icon Slide */
.btn-primary svg {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* Team Avatar Glow Breath */
@keyframes glowBreath {
    0% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.06); opacity: 0.25; }
    100% { transform: scale(1); opacity: 0.15; }
}

.team-card:hover .avatar-glow {
    animation: glowBreath 3s ease-in-out infinite;
}

/* ==========================================================================
   SUBPAGE STYLING
   ========================================================================== */
.subpage-hero {
    position: relative;
    padding: 160px 24px 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-color);
}

.subpage-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.subpage-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ==========================================================================
   ACCORDION STYLING (RULES & FAQ)
   ========================================================================== */
.accordion-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}



.accordion-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.accordion-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.accordion-item.active .accordion-content {
    padding-bottom: 24px;
}

.accordion-content p {
    margin-bottom: 12px;
}

.accordion-content ul {
    list-style: none;
    padding-left: 12px;
}

.accordion-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}

.accordion-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
}

/* ==========================================================================
   GALLERY STYLING
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(3, 4, 6, 0.8) 0%, rgba(3, 4, 6, 0.2) 60%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transition: opacity 0.3s;
}

.gallery-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-primary);
}

.gallery-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-info h3 {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 4, 6, 0.95);
    backdrop-filter: blur(20px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.lightbox.active {
    display: flex;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

/* ==========================================================================
   SHOP PREISKARTEN
   ========================================================================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.shop-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.shop-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.shop-card.featured {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.02);
}

.shop-card.featured::before {
    content: 'Beliebt';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-gradient);
    color: var(--bg-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 30px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.shop-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.price {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 20px 0;
}

.price span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.shop-perks {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-perks li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-perks li svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.shop-card.featured .shop-perks .li svg {
    color: var(--accent-purple);
}

/* ==========================================================================
   NAVBAR FULL-LOGO STYLING
   ========================================================================== */
.nav-logo-full {
    height: 48px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-logo-full:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

/* ==========================================================================
   STATUS DASHBOARD STYLING
   ========================================================================== */
.status-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto 80px;
}

@media (min-width: 993px) {
    .status-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.status-card-large {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card-status-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.server-title-group h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 8px;
}

.server-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.main-badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.test-badge {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.status-indicator-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.indicator-dot.online {
    background-color: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
}

.indicator-dot.offline {
    background-color: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

.indicator-dot.loading {
    background-color: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
    animation: statusPulse 1.5s infinite;
}

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

.status-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
}

.meta-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copyable-ip {
    cursor: pointer;
    transition: var(--transition);
}

.copyable-ip:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.players-list-section {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.list-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 200px;
}

.search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 8px 35px 8px 15px;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
}

.search-box svg {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.table-container {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.players-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.players-table th {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.players-table td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.players-table tr:last-child td {
    border-bottom: none;
}

.players-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-primary);
}

.table-info-msg {
    text-align: center;
    color: var(--text-muted) !important;
    padding: 30px !important;
    font-style: italic;
}

/* ==========================================================================
   RADIAL PROGRESS RING STYLING
   ========================================================================== */
.card-visual-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.radial-progress-container {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radial-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 8px;
}

.ring-fill {
    fill: none;
    stroke-width: 8px;
    stroke-linecap: round;
    stroke-dasharray: 314.16;
    stroke-dashoffset: 314.16;
    transition: stroke-dashoffset 1s ease-in-out;
}

.main-fill {
    stroke: var(--accent-cyan);
    filter: drop-shadow(0 0 6px var(--accent-cyan));
}

.test-fill {
    stroke: var(--accent-purple);
    filter: drop-shadow(0 0 6px var(--accent-purple));
}

.radial-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.radial-players {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.radial-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* ==========================================================================
   ANIMATED CANVAS BACKGROUND
   ========================================================================== */
#status-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.5;
}

.status-page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(3, 4, 6, 0.88), rgba(3, 4, 6, 0.94)), url('assets/hero_background.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -3;
    opacity: 0.75;
}

/* ==========================================================================
   PREMIUM DYNAMIC ANIMATIONS
   ========================================================================== */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes slowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(6, 182, 212, 0.15); }
    50% { box-shadow: 0 0 25px rgba(6, 182, 212, 0.35); }
    100% { box-shadow: 0 0 10px rgba(6, 182, 212, 0.15); }
}

.float-item {
    animation: float 6s ease-in-out infinite;
}

.float-item-delay-1 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

.float-item-delay-2 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

.rotate-item {
    animation: slowRotate 25s linear infinite;
}

.pulse-glow {
    animation: pulseGlow 4s ease-in-out infinite;
}

/* ==========================================================================
   INTERACTIVE PAGE LOADER
   ========================================================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #030406;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.page-loader.fade-out {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-logo-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.05);
    object-fit: cover;
    animation: logoPulse 2s ease-in-out infinite;
}

.loader-spinner {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid transparent;
    border-top-color: var(--accent-cyan);
    border-bottom-color: var(--accent-purple);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.2)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.4)); }
}

/* ==========================================================================
   GLOWING CONIC CARD BORDERS
   ========================================================================== */
.glow-border-card {
    position: relative;
    background: rgba(3, 4, 6, 0.7);
    border-radius: 16px;
    z-index: 1;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glow-border-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 35%, var(--accent-cyan) 45%, var(--accent-purple) 55%, transparent 65%);
    animation: borderRotate 5s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glow-border-card::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: rgba(13, 14, 18, 0.98);
    border-radius: 15px;
    z-index: -1;
}

.glow-border-card:hover::before {
    opacity: 1;
}

.glow-border-card:hover {
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.2);
    transform: translateY(-8px);
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   DYNAMIC MOUSE-TRACKING SPOTLIGHT GLOWS & BORDERS
   ========================================================================== */
.feature-card, .team-card, .status-card-large, .highlight-item, .accordion-item, .script-card {
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    border: 1px solid var(--border-color) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s, box-shadow 0.4s !important;
}

/* Spotlight glow moving with cursor */
.feature-card::before, .team-card::before, .status-card-large::before, .highlight-item::before, .accordion-item::before, .script-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(6, 182, 212, 0.16) 0%, rgba(139, 92, 246, 0.06) 30%, transparent 60%) !important;
    z-index: -1 !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    pointer-events: none !important;
    border-radius: inherit !important;
}

/* Conic border gradient rotation overlay */
.feature-card::after, .team-card::after, .status-card-large::after, .highlight-item::after, .accordion-item::after, .script-card::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: conic-gradient(from 0deg, transparent 30%, var(--accent-cyan) 45%, var(--accent-purple) 55%, transparent 70%) !important;
    animation: borderRotate 5s linear infinite !important;
    z-index: -2 !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    pointer-events: none !important;
}

/* Inner masking layers to mask center of rotating border, leaving 1px border visible */
.feature-card-inner, .team-card-inner, .status-card-inner, .highlight-item-inner, .accordion-item-inner, .script-card-inner {
    position: absolute !important;
    top: 1px !important;
    left: 1px !important;
    right: 1px !important;
    bottom: 1px !important;
    background: var(--bg-color) !important; /* Rich deep black dark-mode matching */
    border-radius: 19px !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

.feature-card:hover::before, .team-card:hover::before, .status-card-large:hover::before, .highlight-item:hover::before, .accordion-item:hover::before, .script-card:hover::before,
.feature-card:hover::after, .team-card:hover::after, .status-card-large:hover::after, .highlight-item:hover::after, .accordion-item:hover::after, .script-card:hover::after {
    opacity: 1 !important;
}

.feature-card:hover, .team-card:hover, .status-card-large:hover, .highlight-item:hover, .accordion-item:hover, .script-card:hover {
    border-color: transparent !important;
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.22) !important;
    transform: translateY(-8px) !important;
}

/* Inner mask tweaks for accordions */
.accordion-item-inner {
    border-radius: 11px !important;
}

/* ==========================================================================
   FLOATING AUDIO PLAYER
   ========================================================================== */
.audio-player {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(3, 4, 6, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 8px 16px 8px 10px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.3s;
}

.audio-player:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.35);
}

.music-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s, color 0.3s;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
}

.music-btn:hover {
    transform: scale(1.1);
    background: var(--accent-cyan);
    color: #030406;
}

.music-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.music-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    letter-spacing: 0.02em;
    font-family: var(--font-heading);
}

/* Animated Equalizer bars */
.music-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 10px;
    width: fit-content;
}

.music-equalizer .bar {
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 1px;
    transition: height 0.2s ease;
}

.audio-player.playing .music-equalizer .bar {
    animation: bounceEqualizer 1.2s ease infinite alternate;
}

.audio-player.playing .music-equalizer .bar:nth-child(1) { animation-delay: 0.1s; }
.audio-player.playing .music-equalizer .bar:nth-child(2) { animation-delay: 0.4s; }
.audio-player.playing .music-equalizer .bar:nth-child(3) { animation-delay: 0.2s; }

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

/* ==========================================================================
   GLOBAL BUTTON HOVER ANIMATIONS (RICH & ALIVE)
   ========================================================================== */
.btn, .nav-btn-discord-blue, .music-btn, #copy-ip-btn, .nav-toggle {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.btn:hover, #copy-ip-btn:hover {
    transform: translateY(-4px) scale(1.04) !important;
    box-shadow: 0 12px 28px rgba(6, 182, 212, 0.25) !important;
}

.btn-primary:hover {
    background: var(--accent-gradient) !important;
    color: #ffffff !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent-cyan) !important;
    color: var(--text-primary) !important;
}

.nav-btn-discord-blue:hover {
    transform: translateY(-4px) scale(1.03) !important;
}

/* ==========================================================================
   LIGHT MODE & DYNAMIC AMBIENT MESH BACKGROUND
   ========================================================================== */
[data-theme="light"] {
    --bg-color: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-purple: #7c3aed;
    --accent-cyan: #0284c7;
    --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #0284c7 100%);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(15, 23, 42, 0.18);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Global Ambient Mesh Orbs */
.global-bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -5;
    overflow: hidden;
}

.glow-orb-1 {
    position: absolute;
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(90px);
    animation: floatOrb1 20s ease-in-out infinite alternate;
}

.glow-orb-2 {
    position: absolute;
    bottom: -10%;
    right: 15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: floatOrb2 25s ease-in-out infinite alternate;
}

[data-theme="light"] .glow-orb-1 {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .glow-orb-2 {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, 100px) scale(1.15); }
    100% { transform: translate(-50px, 50px) scale(0.95); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, -80px) scale(1.1); }
    100% { transform: translate(60px, -40px) scale(0.9); }
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-right: 8px;
}

[data-theme="light"] .theme-toggle-btn {
    background: rgba(15, 23, 42, 0.05);
}

.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

/* Light Mode Navigation Drawer Overrides */
[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .audio-player {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .page-loader {
    background: #f8fafc;
}

/* ==========================================================================
   COMPLETE COMPREHENSIVE LIGHT THEME OVERHAUL (100% COHESIVE)
   ========================================================================== */
[data-theme="light"] body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

/* Headings & Text */
[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3, 
[data-theme="light"] h4, 
[data-theme="light"] .hero-title,
[data-theme="light"] .section-title,
[data-theme="light"] .subpage-title {
    color: #0f172a !important;
}

[data-theme="light"] p, 
[data-theme="light"] .hero-subtitle, 
[data-theme="light"] .subpage-subtitle,
[data-theme="light"] .feature-card p,
[data-theme="light"] .team-card p,
[data-theme="light"] .highlight-item p {
    color: #475569 !important;
}

/* Background Overlays */
[data-theme="light"] .hero-bg-overlay {
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.75) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
}

[data-theme="light"] .status-page-bg {
    background: linear-gradient(rgba(248, 250, 252, 0.88), rgba(248, 250, 252, 0.96)), url('assets/hero_background.jpg') no-repeat center center !important;
    background-size: cover !important;
}

/* Cards & Masks */
[data-theme="light"] .feature-card,
[data-theme="light"] .team-card,
[data-theme="light"] .status-card-large,
[data-theme="light"] .highlight-item,
[data-theme="light"] .accordion-item,
[data-theme="light"] .gallery-item {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .feature-card-inner,
[data-theme="light"] .team-card-inner,
[data-theme="light"] .status-card-inner,
[data-theme="light"] .highlight-item-inner,
[data-theme="light"] .accordion-item-inner {
    background: #ffffff !important;
}

[data-theme="light"] .feature-card:hover,
[data-theme="light"] .team-card:hover,
[data-theme="light"] .status-card-large:hover,
[data-theme="light"] .highlight-item:hover,
[data-theme="light"] .accordion-item:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1) !important;
}

/* Badges & Secondary Buttons */
[data-theme="light"] .server-badge {
    background: rgba(124, 58, 237, 0.08) !important;
    color: #7c3aed !important;
    border-color: rgba(124, 58, 237, 0.2) !important;
}

[data-theme="light"] .pulse-dot {
    background-color: #7c3aed !important;
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7) !important;
}

[data-theme="light"] .btn-secondary, 
[data-theme="light"] #copy-ip-btn {
    background: rgba(15, 23, 42, 0.04) !important;
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .btn-secondary:hover, 
[data-theme="light"] #copy-ip-btn:hover {
    background: rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(15, 23, 42, 0.25) !important;
}

/* Status Dashboard, Tables & Badges */
[data-theme="light"] .status-bar {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .status-label,
[data-theme="light"] .meta-label,
[data-theme="light"] .radial-label {
    color: #64748b !important;
}

[data-theme="light"] .status-value,
[data-theme="light"] .meta-value,
[data-theme="light"] .radial-players {
    color: #0f172a !important;
}

[data-theme="light"] .players-table th {
    background: rgba(15, 23, 42, 0.03) !important;
    color: #334155 !important;
    border-bottom: 2px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .players-table td {
    color: #0f172a !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .ring-bg {
    stroke: rgba(15, 23, 42, 0.08) !important;
}

/* Navbar & Slide-out Drawer */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.97) !important;
    border-left: 1px solid rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .nav-link {
    color: #334155 !important;
}

[data-theme="light"] .nav-link:hover, 
[data-theme="light"] .nav-link.active {
    color: #0f172a !important;
}

[data-theme="light"] .nav-menu-footer {
    background: rgba(248, 250, 252, 0.8) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .nav-toggle .bar {
    background-color: #0f172a !important;
}

/* Accordion Rules Section */
[data-theme="light"] .accordion-header h3 {
    color: #0f172a !important;
}

[data-theme="light"] .accordion-content {
    color: #475569 !important;
}

[data-theme="light"] .accordion-content li {
    color: #334155 !important;
}

/* Footer Section */
[data-theme="light"] .footer {
    background: #f1f5f9 !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-links a {
    color: #475569 !important;
}

[data-theme="light"] .footer-links a:hover {
    color: #0f172a !important;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
    color: #64748b !important;
}

/* Audio Player & Preloader */
[data-theme="light"] .audio-player {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .music-title {
    color: #0f172a !important;
}

[data-theme="light"] .page-loader {
    background: #f8fafc !important;
}

/* ==========================================================================
   CYBERPUNK GRID OVERLAY & SCRIPT SHOWCASE STYLING
   ========================================================================== */
.cyber-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -4;
    opacity: 0.8;
}

[data-theme="light"] .cyber-grid-overlay {
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
}

/* Script Filter Bar */
.script-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

/* Script Cards Grid */
.scripts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.script-card {
    position: relative !important;
    z-index: 1 !important;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 28px 28px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s, border-color 0.4s, box-shadow 0.4s;
    overflow: hidden;
}

.script-badge-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.glow-purple {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.glow-cyan {
    background: rgba(6, 182, 212, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.glow-pink {
    background: rgba(236, 72, 153, 0.12);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.script-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.script-card:hover .script-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-purple);
    border-color: var(--accent-purple);
}

.script-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.script-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.script-meta-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.script-meta-features span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .script-card {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .script-card-inner {
    background: #ffffff !important;
}

[data-theme="light"] .filter-btn {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
    color: #475569;
}

[data-theme="light"] .script-icon {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   CHECKOUT MODAL & KEYMASTER MANAGER STYLING
   ========================================================================== */
.script-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.script-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

/* Modal Overlay & Card */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.checkout-modal.active {
    opacity: 1;
    pointer-events: all;
}

.checkout-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 4, 6, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.checkout-modal-card {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    z-index: 2;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.checkout-modal.active .checkout-modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
}

.checkout-price-tag {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin: 10px 0 16px;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.payment-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.payment-option:hover, .payment-option.active {
    background: rgba(139, 92, 246, 0.12);
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.btn-full-width {
    width: 100%;
}

/* Key Generator Box */
.success-checkmark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.generated-key-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--accent-cyan);
    padding: 14px 18px;
    border-radius: 12px;
    margin: 20px 0 24px;
}

.key-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
}

.btn-copy-key {
    background: var(--accent-cyan);
    color: #030406;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy-key:hover {
    background: var(--text-primary);
}

.modal-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Keymaster Section */
.keymaster-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 30px;
}

.keymaster-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.keymaster-title-group h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0 6px;
}

.keymaster-title-group p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.keys-list-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.key-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.key-item-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.key-item-info span {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

.no-keys-msg {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
}

/* Toast notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(3, 4, 6, 0.95);
    border: 1px solid var(--accent-cyan);
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 100000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
}

.toast-notification.active {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="light"] .checkout-modal-card,
[data-theme="light"] .keymaster-card {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .payment-option {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   FIVEM CODE VIEWER MODAL & BUTTON GROUP
   ========================================================================== */
.script-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-modal-card {
    max-width: 700px !important;
}

.code-tabs-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.code-tab-btn {
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.code-tab-btn:hover, .code-tab-btn.active {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.code-viewer-box {
    background: #08090d;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    max-height: 320px;
    overflow-y: auto;
    text-align: left;
}

.code-viewer-box pre {
    margin: 0;
    font-family: 'Consolas', 'Fira Code', 'Monaco', monospace;
    font-size: 0.85rem;
    color: #38bdf8;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}

[data-theme="light"] .code-viewer-box {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="light"] .code-viewer-box code {
    color: #38bdf8 !important;
}

/* ==========================================================================
   MODERN SCRIPT CARD IMAGE PREVIEWS & PAYSAFECARD PIN INPUT
   ========================================================================== */
.script-card {
    padding: 0 !important;
}

.script-card-img-wrap {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    border-radius: 19px 19px 0 0;
}

.script-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.script-card:hover .script-card-img {
    transform: scale(1.08);
}

.script-card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 4, 6, 0.2) 0%, rgba(3, 4, 6, 0.95) 100%);
}

[data-theme="light"] .script-card-img-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.script-card-body {
    padding: 24px 24px 24px;
}

.paysafe-pin-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.psc-pin-box {
    width: 22%;
    padding: 10px 4px;
    text-align: center;
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.psc-pin-box:focus {
    border-color: var(--accent-cyan);
    outline: none;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.psc-dash {
    color: var(--text-muted);
    font-weight: 700;
}

/* ==========================================================================
   MOBILE APP DOWNLOAD SECTION & STYLING
   ========================================================================== */
.mobile-app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.mobile-app-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 12px 0;
}

.mobile-app-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mobile-app-features-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.mobile-app-features-grid span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
}

.mobile-app-download-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mobile-app-mockup-wrap {
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.mobile-app-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .mobile-app-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

[data-theme="light"] .mobile-app-card {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
}


/* ==========================================================================
   CONTENT VISIBILITY GUARANTEE (NEVER HIDE SHOP OR CARDS)
   ========================================================================== */
.reveal-item, .script-card, .script-filter-bar, .keymaster-section, .mobile-app-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ==========================================================================
   CUSTOM TEBEX STORE & FLOATING CART DRAWER STYLING
   ========================================================================== */
.tebex-partner-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

/* Floating Cart Drawer */
.tebex-cart-drawer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 340px;
    background: rgba(3, 4, 6, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--accent-purple);
    border-radius: 20px;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tebex-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.cart-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.cart-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-items-list {
    max-height: 200px;
    overflow-y: auto;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    color: var(--accent-cyan);
    font-weight: 700;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-weight: 700;
    padding: 0 4px;
}

.empty-cart-msg {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    padding: 16px 0;
}

.cart-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.cart-total-val {
    color: var(--accent-cyan);
    font-family: var(--font-heading);
}

[data-theme="light"] .tebex-cart-drawer {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(124, 58, 237, 0.3) !important;
}


/* ==========================================================================
   MOBILE QR CODE & LAN URL BOX STYLING
   ========================================================================== */
.mobile-qr-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--accent-cyan);
    padding: 16px;
    border-radius: 16px;
    margin: 16px 0;
}

.qr-code-img-wrap {
    width: 120px;
    height: 120px;
    background: #ffffff;
    padding: 6px;
    border-radius: 12px;
    flex-shrink: 0;
}

.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-info-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.qr-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.qr-url-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qr-url-row code {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

.qr-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ==========================================================================
   INSTANT RENDER GUARANTEE (KILL ALL PRELOADERS & SPINNERS)
   ========================================================================== */
.page-loader, #page-loader, .loader-content, .loader-spinner {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
body {
    opacity: 1 !important;
    visibility: visible !important;
}


/* ==========================================================================
   FOOTER COMMUNITY CHANNEL LINKS (DISCORD, YOUTUBE, TIKTOK)
   ========================================================================== */
.footer-channel-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.footer-channel-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-channel-link:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.channel-discord:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: #5865F2;
    color: #5865F2;
}

.channel-youtube:hover {
    background: rgba(255, 0, 0, 0.15);
    border-color: #FF0000;
    color: #FF0000;
}

.channel-tiktok:hover {
    background: rgba(254, 44, 85, 0.15);
    border-color: #FE2C55;
    color: #FE2C55;
}


/* ==========================================================================
   FOOLPROOF HAMBURGER DRAWER MENU STYLING
   ========================================================================== */
.nav-toggle {
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 12000 !important;
    position: relative !important;
    display: flex !important;
}

.nav-menu {
    z-index: 11000 !important;
}

.nav-menu.active {
    right: 0 !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

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