/* =====================================================
   BCVR - Balkan Cops vs Robbers
   Modern CSS with Glassmorphism, Animations & Effects
   ===================================================== */

/* CSS Custom Properties (Variables) */
:root {
    /* Primary Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.5);

    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-red: #ef4444;
    --accent-orange: #f97316;
    --accent-green: #22c55e;

    /* Cops & Robbers Theme Colors */
    --cops-color: #3b82f6;
    --cops-glow: rgba(59, 130, 246, 0.5);
    --robbers-color: #ef4444;
    --robbers-glow: rgba(239, 68, 68, 0.5);

    /* Neutral Colors */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(15, 15, 25, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dim: rgba(255, 255, 255, 0.3);

    /* Border Colors */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    --gradient-cops: linear-gradient(135deg, var(--cops-color) 0%, var(--accent-cyan) 100%);
    --gradient-robbers: linear-gradient(135deg, var(--robbers-color) 0%, var(--accent-orange) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    --gradient-radial: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--primary-glow);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* =====================================================
   Reset & Base Styles
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-darker);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   Utility Classes
   ===================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

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

/* Animated underline for headings */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* =====================================================
   Preloader
   ===================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: loaderSpin 1.5s linear infinite;
}

.loader-ring:nth-child(1) {
    border-top-color: var(--primary);
    animation-delay: 0s;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-right-color: var(--accent-cyan);
    animation-delay: 0.15s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    border-bottom-color: var(--accent-purple);
    animation-delay: 0.3s;
}

.loader-logo {
    position: absolute;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px var(--primary-glow));
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px var(--primary-glow)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 40px var(--primary-glow)); }
}

.loader-text {
    position: absolute;
    bottom: -40px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
}

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

/* =====================================================
   Custom Cursor
   ===================================================== */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-outline {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-outline {
        display: none;
    }
}

/* =====================================================
   Navigation
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo .logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    transition: var(--transition-normal);
}

.nav-logo:hover .logo-image {
    filter: drop-shadow(0 0 20px var(--primary-glow));
    transform: scale(1.05);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.nav-logo .logo-subtitle {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

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

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

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

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--primary);
}

.btn-discord {
    background: #5865F2;
    color: var(--text-primary);
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.5);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-glow {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow), 0 0 60px var(--primary-glow); }
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 120px 20px 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
}

.hero-grid {
    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: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Logo */
.hero-logo {
    margin-bottom: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 220px;
    height: 220px;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.hero-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    margin-left: -110px;
    margin-top: -110px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    animation: logoGlowPulse 3s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.6;
}

.hero-logo img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px var(--primary-glow));
    animation: heroLogoFloat 4s ease-in-out infinite;
    animation-fill-mode: both;
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 auto;
}

@keyframes heroLogoFloat {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 40px var(--primary-glow));
    }
    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 0 60px var(--primary-glow));
    }
}

@keyframes logoGlowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--primary);
}

.hero-badge span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.title-line {
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-icon-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-actions .btn {
    white-space: nowrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.hero-scroll a {
    pointer-events: auto;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

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

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* Floating Elements */
.hero-float {
    position: absolute;
    font-size: 3.5rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    filter: blur(1px);
    transition: all 0.3s ease;
}

.hero-float:hover {
    opacity: 0.3;
    filter: blur(0);
    transform: scale(1.2);
}

.hero-float-1 {
    top: 20%;
    left: 10%;
    color: var(--cops-color);
    animation: float1 8s ease-in-out infinite;
    text-shadow: 0 0 30px var(--cops-glow);
}

.hero-float-2 {
    top: 60%;
    right: 10%;
    color: var(--robbers-color);
    animation: float2 10s ease-in-out infinite;
    text-shadow: 0 0 30px var(--robbers-glow);
}

.hero-float-3 {
    bottom: 20%;
    left: 20%;
    color: var(--primary);
    animation: float3 7s ease-in-out infinite;
    text-shadow: 0 0 30px var(--primary-glow);
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-15px) rotate(5deg) scale(1.05); }
    50% { transform: translateY(-25px) rotate(-5deg) scale(1.1); }
    75% { transform: translateY(-10px) rotate(3deg) scale(1.02); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-30px) rotate(-8deg) scale(1.08); }
    66% { transform: translateY(-15px) rotate(5deg) scale(1.03); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-20px) rotate(10deg) scale(1.1); }
}

/* =====================================================
   Section Headers
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

/* =====================================================
   About Section
   ===================================================== */
.about {
    background: var(--gradient-dark);
}

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

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.about-feature i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
}

.about-card-cops {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.about-card-cops:hover {
    box-shadow: 0 0 40px var(--cops-glow);
}

.about-card-robbers {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
}

.about-card-robbers:hover {
    box-shadow: 0 0 40px var(--robbers-glow);
}

.about-card .card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.about-card-cops .card-icon {
    background: var(--gradient-cops);
    color: white;
}

.about-card-robbers .card-icon {
    background: var(--gradient-robbers);
    color: white;
}

.about-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =====================================================
   Why Choose Us Section
   ===================================================== */
.why-us {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top center, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.why-us-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-us-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-us-card:hover {
    transform: translateY(-12px);
    background: var(--bg-glass-hover);
    border-color: var(--primary);
    box-shadow:
        0 25px 50px rgba(99, 102, 241, 0.2),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

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

.why-us-card:hover::after {
    opacity: 1;
}

/* Card shine effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.03) 60%,
        transparent 100%
    );
    transition: left 0.7s ease;
    pointer-events: none;
}

.why-us-card:hover .card-shine {
    left: 100%;
}

.why-us-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.why-us-icon svg {
    width: 36px;
    height: 36px;
    stroke: white;
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 15px 35px var(--primary-glow),
        0 0 0 8px rgba(99, 102, 241, 0.1);
    border-radius: 25px;
}

.why-us-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.why-us-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Floating decorative elements */
.why-us-float {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.why-us-float-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: floatSlow 15s ease-in-out infinite;
}

.why-us-float-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: floatSlow 12s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

/* Responsive Why Us */
@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .why-us-card {
        padding: 30px 25px;
    }

    .stat-box::after {
        display: none;
    }

    .stat-value {
        font-size: 2.5rem;
    }
}

/* =====================================================
   Features Section
   ===================================================== */
.features {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-radial);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: var(--bg-glass-hover);
    border-color: var(--primary);
    box-shadow:
        0 25px 50px rgba(99, 102, 241, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

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

/* Feature glow effect */
.feature-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover .feature-glow {
    opacity: 0.15;
}

.feature-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 18px;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 21px;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(8deg);
    border-radius: 22px;
}

.feature-card:hover .feature-icon::after {
    opacity: 0.6;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    position: relative;
}

.feature-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
}

/* =====================================================
   Rules Section
   ===================================================== */
.rules {
    background: var(--gradient-dark);
}

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

.rules-category {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.rules-category:hover {
    border-color: var(--border-light);
}

.rules-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.rules-header:hover {
    background: var(--bg-glass-hover);
}

.rules-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.rules-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    flex-grow: 1;
}

.rules-toggle {
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.rules-category.active .rules-toggle {
    transform: rotate(180deg);
}

.rules-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.rules-category.active .rules-content {
    max-height: 1000px;
}

.rules-list {
    padding: 0 25px 25px 85px;
}

.rules-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    gap: 15px;
    line-height: 1.6;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rule-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
    min-width: 35px;
}

.rules-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-lg);
    margin-top: 30px;
}

.rules-notice i {
    color: var(--accent-red);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rules-notice p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =====================================================
   Gallery Section
   ===================================================== */
.gallery {
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 1;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: var(--transition-normal);
}

.gallery-placeholder i {
    font-size: 3rem;
    color: var(--text-dim);
}

.gallery-placeholder span {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-item:hover .gallery-placeholder {
    background: var(--bg-glass-hover);
    border-color: var(--primary);
}

.gallery-item:hover .gallery-placeholder i {
    color: var(--primary);
}

.gallery-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 30px;
}

/* =====================================================
   Staff Section
   ===================================================== */
.staff {
    background: var(--gradient-dark);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.staff-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 25px;
    text-align: center;
    transition: var(--transition-normal);
}

.staff-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.staff-card:hover .staff-avatar {
    border-color: var(--primary);
    color: var(--primary);
}

.staff-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.staff-role {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.staff-role-owner {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
}

.staff-role-admin {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.staff-role-dev {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
}

.staff-role-mod {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.staff-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =====================================================
   FAQ Section
   ===================================================== */
.faq {
    background: var(--bg-dark);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-radial);
    pointer-events: none;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: var(--bg-glass-hover);
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    padding-right: 20px;
}

.faq-question i {
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* =====================================================
   Connect Section
   ===================================================== */
.connect {
    background: var(--gradient-dark);
    padding: 80px 0;
}

.connect-box {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.connect-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-radial);
    pointer-events: none;
}

.connect-content {
    position: relative;
    z-index: 1;
}

.connect-logo {
    margin-bottom: 25px;
}

.connect-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 0 30px var(--primary-glow));
    animation: connectLogoPulse 3s ease-in-out infinite;
}

@keyframes connectLogoPulse {
    0%, 100% { filter: drop-shadow(0 0 30px var(--primary-glow)); }
    50% { filter: drop-shadow(0 0 50px var(--primary-glow)); }
}

.connect-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.connect-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.connect-address {
    margin-bottom: 40px;
}

.address-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.address-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px 20px;
}

.address-box code {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.connect-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.connect-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.connect-note a {
    color: var(--primary);
}

.connect-note a:hover {
    text-decoration: underline;
}

.connect-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    opacity: 0.3;
}

.decoration-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.decoration-circle:nth-child(2) {
    width: 500px;
    height: 500px;
    top: -250px;
    left: -250px;
}

.decoration-circle:nth-child(3) {
    width: 700px;
    height: 700px;
    top: -350px;
    left: -350px;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--primary-glow));
    transition: var(--transition-normal);
}

.footer-logo:hover .footer-logo-img {
    filter: drop-shadow(0 0 25px var(--primary-glow));
}

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    color: var(--text-dim) !important;
}

/* =====================================================
   Back to Top Button
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* =====================================================
   Locations Section
   ===================================================== */
.locations {
    background: var(--bg-darker);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.location-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    display: flex;
    gap: 15px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.location-card:hover::before {
    opacity: 1;
}

.location-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    color: white;
}

.location-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.location-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.location-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================
   Update Log Section
   ===================================================== */
.update-log {
    background: var(--bg-dark);
}

.updates-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.updates-timeline::before {
    content: '';
    position: absolute;
    left: 95px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent-purple), transparent);
}

.update-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.update-item::before {
    content: '';
    position: absolute;
    left: 90px;
    top: 25px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    z-index: 1;
}

.update-date {
    min-width: 80px;
    text-align: center;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.update-day {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.update-month {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.update-year {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.update-content {
    flex: 1;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-left: 30px;
    transition: var(--transition-normal);
}

.update-content:hover {
    border-color: var(--border-light);
    transform: translateX(5px);
}

.update-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.update-badge-new {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.update-badge-feature {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.update-badge-fix {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.update-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.update-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.update-list li i {
    margin-top: 3px;
    font-size: 0.8rem;
}

.update-list li i.fa-plus {
    color: var(--accent-green);
}

.update-list li i.fa-wrench {
    color: var(--accent-cyan);
}

.update-list li i.fa-bug {
    color: var(--accent-orange);
}

.update-list li i.fa-shield-halved {
    color: var(--primary-light);
}

.updates-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.updates-cta p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition-normal);
        border-left: 1px solid var(--border-color);
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .hero-stats {
        gap: 25px;
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .connect-box {
        padding: 40px 25px;
    }

    .address-box {
        flex-direction: column;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .location-card {
        flex-direction: column;
        text-align: center;
    }

    .location-icon {
        margin: 0 auto;
    }

    /* Update Log Responsive */
    .updates-timeline::before {
        left: 15px;
    }

    .update-item {
        flex-direction: column;
        gap: 15px;
        padding-left: 35px;
    }

    .update-item::before {
        left: 10px;
        top: 0;
    }

    .update-date {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
    }

    .update-day, .update-month, .update-year {
        display: inline;
        margin: 0;
    }

    .update-day {
        font-size: 1.2rem;
    }

    .update-content {
        margin-left: 0;
    }

    .footer-social {
        justify-content: center;
    }

    .rules-list {
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-logo {
        max-width: 160px;
        height: 160px;
    }

    .hero-logo img {
        width: 130px;
        height: 130px;
    }

    .hero-logo::before {
        width: 160px;
        height: 160px;
        margin-left: -80px;
        margin-top: -80px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .connect-buttons {
        flex-direction: column;
        align-items: center;
    }

    .connect-buttons .btn {
        width: 100%;
    }
}

/* =====================================================
   Animations
   ===================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Particle styles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* =====================================================
   Rules Preview Section (Homepage)
   ===================================================== */
.rules-preview {
    background: var(--gradient-dark);
    padding: 80px 0;
}

.rules-preview-box {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rules-preview-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.rules-preview-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
}

.rules-preview-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.rules-preview-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.rules-preview-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.highlight-item i {
    color: var(--primary);
}

/* =====================================================
   Updated Staff Section with Discord
   ===================================================== */
.staff-category {
    margin-bottom: 50px;
}

.staff-category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.staff-category-title i {
    color: var(--primary);
}

.staff-grid-owners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.staff-grid-admins {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.staff-card-owner {
    border: 2px solid rgba(251, 191, 36, 0.3);
}

.staff-card-owner:hover {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.2);
}

.staff-card-admin {
    padding: 30px 20px;
}

.staff-avatar-discord {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
}

.discord-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.staff-card-owner .discord-avatar {
    border-color: rgba(251, 191, 36, 0.5);
}

.staff-card-owner:hover .discord-avatar {
    border-color: #fbbf24;
}

.staff-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
}

.staff-status.online {
    background: #22c55e;
}

.staff-status.idle {
    background: #fbbf24;
}

.staff-status.offline {
    background: #6b7280;
}

.staff-status.dnd {
    background: #ef4444;
}

.staff-discord-tag {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.staff-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #5865F2;
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 15px;
    transition: var(--transition-normal);
}

.staff-discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.staff-join-cta {
    text-align: center;
    padding: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-top: 40px;
}

.staff-join-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Responsive Staff Grid */
@media (max-width: 1200px) {
    .staff-grid-owners {
        grid-template-columns: repeat(3, 1fr);
    }

    .staff-grid-admins {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .staff-grid-owners {
        grid-template-columns: repeat(2, 1fr);
    }

    .staff-grid-admins {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .staff-grid-owners,
    .staff-grid-admins {
        grid-template-columns: 1fr;
    }

    .rules-preview-box {
        padding: 40px 25px;
    }

    .rules-preview-highlights {
        flex-direction: column;
        align-items: center;
    }
}

/* =====================================================
   Discord Community Section
   ===================================================== */
.discord-community {
    background: var(--bg-darker);
}

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

.discord-stats-box {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
}

.discord-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    flex: 1;
}

.discord-stat i {
    font-size: 1.8rem;
    color: #5865F2;
}

.discord-stat i.online-pulse {
    color: #22c55e;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.discord-stat-content {
    display: flex;
    flex-direction: column;
}

.discord-stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.discord-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.discord-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.discord-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.discord-feature-item:hover {
    border-color: #5865F2;
    transform: translateX(5px);
}

.discord-feature-item i {
    color: #5865F2;
    font-size: 1.1rem;
}

.discord-feature-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Discord Mockup */
.discord-mockup {
    background: #36393f;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-mockup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #2f3136;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.discord-server-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.discord-server-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.discord-server-status {
    font-size: 0.8rem;
    color: #b9bbbe;
}

.discord-server-status i {
    color: #22c55e;
    font-size: 0.6rem;
    margin-right: 5px;
}

.discord-mockup-channels {
    padding: 15px 10px;
}

.channel-category {
    font-size: 0.7rem;
    font-weight: 700;
    color: #8e9297;
    letter-spacing: 0.5px;
    padding: 15px 10px 5px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 4px;
    color: #8e9297;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.channel-item:hover {
    background: rgba(79, 84, 92, 0.4);
    color: #dcddde;
}

.channel-item.active {
    background: rgba(79, 84, 92, 0.6);
    color: #fff;
}

.channel-item i {
    font-size: 1.2rem;
    opacity: 0.6;
}

/* =====================================================
   Server Status Bar
   ===================================================== */
.server-status {
    padding: 30px 0;
    background: linear-gradient(90deg, var(--bg-darker), var(--bg-dark), var(--bg-darker));
}

.status-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
}

.status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 20px #22c55e;
}

.status-dot.online::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #22c55e;
    animation: statusPulse 2s ease-out infinite;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.status-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 20px #ef4444;
}

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

.status-info {
    display: flex;
    gap: 40px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.status-item i {
    color: var(--primary);
}

.status-item strong {
    color: var(--text-primary);
}

/* Moderator styles */
.staff-grid-mods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.staff-card-mod {
    padding: 25px 20px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.staff-card-mod:hover {
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.15);
}

.staff-role-mod {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
}

/* =====================================================
   Responsive Discord & Status
   ===================================================== */
@media (max-width: 1200px) {
    .discord-grid {
        gap: 40px;
    }

    .status-info {
        gap: 25px;
    }
}

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

    .discord-preview {
        order: -1;
    }

    .status-box {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .status-info {
        flex-wrap: wrap;
        justify-content: center;
    }

    .staff-grid-mods {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .discord-stats-box {
        flex-direction: column;
    }

    .discord-features-list {
        grid-template-columns: 1fr;
    }

    .status-box {
        padding: 20px;
    }

    .status-info {
        gap: 15px;
    }

    .staff-grid-mods {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Discord Button Glow Effect
   ===================================================== */
.btn-discord.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-discord.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: discordShine 3s ease-in-out infinite;
}

@keyframes discordShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* =====================================================
   Scroll Progress Bar
   ===================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* =====================================================
   Button Ripple Effect
   ===================================================== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* =====================================================
   Text Glitch Effect
   ===================================================== */
.gradient-text {
    position: relative;
}

.gradient-text.glitch-active {
    animation: textGlitch 0.3s ease;
}

@keyframes textGlitch {
    0%, 100% {
        text-shadow: none;
    }
    20% {
        text-shadow: -2px 0 var(--accent-cyan), 2px 0 var(--accent-pink);
    }
    40% {
        text-shadow: 2px 0 var(--accent-cyan), -2px 0 var(--accent-pink);
    }
    60% {
        text-shadow: -1px 0 var(--accent-pink), 1px 0 var(--accent-cyan);
    }
    80% {
        text-shadow: 1px 0 var(--accent-pink), -1px 0 var(--accent-cyan);
    }
}

/* =====================================================
   Enhanced Card Hover Effects
   ===================================================== */
.feature-card,
.why-us-card,
.about-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* =====================================================
   Pulsing Live Indicator
   ===================================================== */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-green);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.live-indicator strong {
    font-family: var(--font-display);
    font-weight: 700;
    color: #22c55e;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* =====================================================
   Enhanced Hero Floating Icons
   ===================================================== */
.hero-float {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-float:hover {
    opacity: 0.5;
    filter: blur(0);
    transform: scale(1.3) rotate(15deg);
}

/* =====================================================
   Animated Background Gradient
   ===================================================== */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* =====================================================
   Smooth Reveal Animation
   ===================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   Server Status Enhancements
   ===================================================== */
.status-box {
    position: relative;
    overflow: hidden;
}

.status-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.05), transparent);
    animation: statusSweep 4s ease-in-out infinite;
}

@keyframes statusSweep {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* =====================================================
   Enhanced Section Transitions
   ===================================================== */
.section {
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.section:first-of-type::before {
    display: none;
}

/* =====================================================
   Hover Glow Effect for Icons
   ===================================================== */
.stat-icon-hero,
.feature-icon,
.why-us-icon {
    position: relative;
}

.stat-icon-hero::before,
.feature-icon::before,
.why-us-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: inherit;
    border-radius: inherit;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.stat-item:hover .stat-icon-hero::before,
.feature-card:hover .feature-icon::before,
.why-us-card:hover .why-us-icon::before {
    opacity: 0.5;
}

/* =====================================================
   Loading Skeleton Animation
   ===================================================== */
.skeleton {
    background: linear-gradient(90deg,
        var(--bg-glass) 25%,
        var(--bg-glass-hover) 50%,
        var(--bg-glass) 75%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

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

/* =====================================================
   Enhanced Discord Widget
   ===================================================== */
.discord-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.discord-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* =====================================================
   Notification Toast Style
   ===================================================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 15px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    z-index: 10001;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

.toast-notification.success {
    border-color: var(--accent-green);
}

.toast-notification.success i {
    color: var(--accent-green);
}

/* =====================================================
   Floating Action Button
   ===================================================== */
.fab-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.fab-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.fab-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.fab-btn.discord-fab {
    background: #5865F2;
    border-color: #5865F2;
    color: white;
}

.fab-btn.discord-fab:hover {
    background: #4752c4;
    transform: scale(1.1) rotate(10deg);
}

/* =====================================================
   Enhanced Animations - Homepage
   ===================================================== */

/* Animated gradient background for hero */
.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 25%,
        rgba(6, 182, 212, 0.05) 50%,
        rgba(99, 102, 241, 0.1) 75%,
        rgba(139, 92, 246, 0.1) 100%
    );
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    z-index: 0;
}

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

/* Text reveal animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: textReveal 0.8s ease forwards;
}

@keyframes textReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    animation: staggerFadeIn 0.6s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

@keyframes staggerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced card hover with glow border */
.card-glow-hover {
    position: relative;
}

.card-glow-hover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple), var(--primary-light));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Shimmer effect on cards */
.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.shimmer-effect:hover::after {
    left: 100%;
}

/* Floating decoration elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    filter: blur(60px);
    opacity: 0.3;
    animation: floatAround 20s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

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

/* Pulse glow effect for buttons */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6), 0 0 60px rgba(99, 102, 241, 0.3);
    }
}

/* Scale bounce animation */
.scale-bounce {
    animation: scaleBounce 0.5s ease;
}

@keyframes scaleBounce {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Border glow animation */
.border-glow {
    position: relative;
}

.border-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary);
    margin-left: 5px;
    animation: cursorBlink 1s step-end infinite;
}

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

/* Mouse follow spotlight effect class */
.spotlight-container {
    position: relative;
    overflow: hidden;
}

.spotlight-container::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

.spotlight-container:hover::before {
    opacity: 1;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10001;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s linear;
}

/* Button ripple animation */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleExpand 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleExpand {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Section entrance animation */
.section-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Icon spin on hover */
.icon-spin-hover:hover i {
    animation: iconSpin 0.5s ease;
}

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

/* Count up animation class */
.count-animate {
    transition: transform 0.3s ease;
}

.count-animate.counting {
    transform: scale(1.1);
}

/* Glitch text effect */
.glitch-text {
    position: relative;
}

.glitch-text:hover::before,
.glitch-text:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text:hover::before {
    left: 2px;
    text-shadow: -2px 0 #ff00ff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitchAnim 5s infinite linear alternate-reverse;
}

.glitch-text:hover::after {
    left: -2px;
    text-shadow: -2px 0 #00ffff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitchAnim2 5s infinite linear alternate-reverse;
}

@keyframes glitchAnim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(62px, 9999px, 42px, 0); }
    40% { clip: rect(16px, 9999px, 78px, 0); }
    60% { clip: rect(89px, 9999px, 13px, 0); }
    80% { clip: rect(44px, 9999px, 67px, 0); }
    100% { clip: rect(71px, 9999px, 28px, 0); }
}

@keyframes glitchAnim2 {
    0% { clip: rect(65px, 9999px, 12px, 0); }
    20% { clip: rect(23px, 9999px, 87px, 0); }
    40% { clip: rect(56px, 9999px, 34px, 0); }
    60% { clip: rect(11px, 9999px, 92px, 0); }
    80% { clip: rect(78px, 9999px, 45px, 0); }
    100% { clip: rect(38px, 9999px, 58px, 0); }
}

/* Player list styles */
.players-section {
    margin-top: 20px;
}

.players-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.players-toggle:hover {
    border-color: var(--primary);
    background: var(--bg-glass-hover);
}

.players-toggle i.toggle-icon {
    transition: transform 0.3s ease;
}

.players-toggle.active i.toggle-icon {
    transform: rotate(180deg);
}

.players-list-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.players-list-container.open {
    max-height: 400px;
}

.players-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 15px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 300px;
    overflow-y: auto;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-glass);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: playerFadeIn 0.3s ease forwards;
    opacity: 0;
}

@keyframes playerFadeIn {
    to { opacity: 1; }
}

.player-item::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    flex-shrink: 0;
}

.players-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

/* Discord Widget Container */
.discord-widget-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
}

.discord-widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #5865F2;
    color: white;
    font-weight: 600;
}

.discord-widget-header i {
    font-size: 1.2rem;
}

.discord-widget-body {
    padding: 0;
}

.discord-widget-body iframe {
    display: block;
    border: none;
}

/* =====================================================
   Server Dashboard Section
   ===================================================== */
.server-dashboard {
    background: var(--bg-darker);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.dashboard-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.dashboard-panel:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
    border-bottom: 1px solid var(--border-color);
}

.panel-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header h3 i {
    color: var(--primary);
}

.panel-badge {
    padding: 5px 12px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-badge.pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

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

.panel-link {
    color: var(--primary);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.panel-link:hover {
    color: var(--primary-light);
}

/* Announcements Panel */
.announcements-list {
    padding: 15px;
    max-height: 350px;
    overflow-y: auto;
}

.announcement-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: all var(--transition-fast);
}

.announcement-item:last-child {
    margin-bottom: 0;
}

.announcement-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.announcement-item.announcement-important {
    border-left: 3px solid var(--accent-orange);
    background: rgba(249, 115, 22, 0.05);
}

.announcement-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.announcement-item.announcement-important .announcement-icon {
    background: var(--accent-orange);
}

.announcement-content {
    flex: 1;
    min-width: 0;
}

.announcement-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 4px 0;
}

.announcement-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Activity Feed Panel */
.activity-feed {
    padding: 15px;
    max-height: 350px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-item:hover {
    border-color: var(--primary);
    background: var(--bg-glass-hover);
}

.activity-item i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.activity-item span:not(.activity-time) {
    flex: 1;
}

.activity-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.activity-join i { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.activity-heist i { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.activity-chase i { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.activity-arrest i { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.activity-event i { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; }

/* Quick Stats Panel */
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.quick-stat:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.quick-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.quick-stat-icon.cops { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1)); color: #3b82f6; }
.quick-stat-icon.robbers { background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1)); color: #ef4444; }
.quick-stat-icon.civilians { background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1)); color: #22c55e; }
.quick-stat-icon.heists { background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.1)); color: #f97316; }

.quick-stat-info {
    display: flex;
    flex-direction: column;
}

.quick-stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.quick-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Map Preview Panel */
.map-preview-content {
    padding: 20px;
}

.map-preview-image {
    height: 200px;
    background: linear-gradient(135deg, #1a1a2e, #0d0d1a);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.map-preview-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="3" fill="%236366f1" opacity="0.5"/><circle cx="70" cy="40" r="3" fill="%23ef4444" opacity="0.5"/><circle cx="50" cy="60" r="3" fill="%2322c55e" opacity="0.5"/><circle cx="20" cy="70" r="3" fill="%23f97316" opacity="0.5"/><circle cx="80" cy="75" r="3" fill="%238b5cf6" opacity="0.5"/></svg>') center/cover;
    opacity: 0.3;
}

.map-preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    text-align: center;
    padding: 20px;
}

.map-preview-overlay i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.map-preview-overlay p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.map-preview-stats {
    display: flex;
    gap: 15px;
}

.map-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.map-stat i {
    color: var(--primary);
}

/* Dashboard Responsive */
@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

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

    .map-preview-stats {
        flex-direction: column;
    }
}

/* =====================================================
   Theme Toggle Button (Navbar)
   ===================================================== */
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* =====================================================
   Light Theme Overrides
   ===================================================== */
body.light-theme {
    --bg-dark: #f8fafc;
    --bg-darker: #e2e8f0;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --bg-glass-hover: rgba(0, 0, 0, 0.06);
    --text-primary: #1e293b;
    --text-secondary: rgba(30, 41, 59, 0.7);
    --text-muted: rgba(30, 41, 59, 0.5);
    --text-dim: rgba(30, 41, 59, 0.3);
    --border-color: rgba(0, 0, 0, 0.1);
    --border-light: rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
}

body.light-theme .hero-bg,
body.light-theme .preloader {
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

body.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

body.light-theme .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .footer {
    background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
}

/* =====================================================
   PREMIUM LOADING SCREEN
   ===================================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #0a0a14 0%, #12121f 50%, #0a0a14 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    animation: loadingFloat 3s ease-in-out infinite;
}

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

.loading-logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.loading-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
}

.loading-logo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.loading-text {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.loading-text span {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letterBounce 0.6s ease-out backwards;
}

.loading-text span:nth-child(1) { animation-delay: 0.1s; }
.loading-text span:nth-child(2) { animation-delay: 0.2s; }
.loading-text span:nth-child(3) { animation-delay: 0.3s; }
.loading-text span:nth-child(4) { animation-delay: 0.4s; }

@keyframes letterBounce {
    0% { opacity: 0; transform: translateY(-50px) scale(0.5); }
    60% { transform: translateY(10px) scale(1.1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #8b5cf6, var(--primary));
    background-size: 200% 100%;
    border-radius: 10px;
    animation: loadingProgress 2s ease-out forwards, shimmer 1.5s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

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

.loading-status {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: statusPulse 1.5s ease-in-out infinite;
}

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

/* =====================================================
   PARTICLE CANVAS BACKGROUND
   ===================================================== */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* =====================================================
   SCROLL PROGRESS BAR (Premium)
   ===================================================== */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #8b5cf6, #ec4899);
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(139, 92, 246, 0.5);
}
