/* ===== AVERNIC FIVEM — PREMIUM FUTURISTIC THEME ===== */
:root {
    --primary-color: #7c44df;
    --primary-bright: #9b6ff0;
    --primary-light: #c3a6ff;
    --primary-dark: #5227a3;
    --secondary-color: #141414;
    --accent-color: #0a0a0a;
    --accent-gold: #d4a574;
    --accent-ember: #ff6b35;
    --text-light: #f0f0f0;
    --text-dark: #333333;
    --text-muted: #a0a0a0;
    --text-gold: #d4a574;
    --background-dark: #0d0d0d;
    --background-gradient: linear-gradient(135deg, #0d0d0d 0%, #17141a 100%);
    --card-background: rgba(20, 16, 24, 0.92);
    --card-bg: rgba(20, 16, 24, 0.92);
    --border-color: #322a3a;
    --border-gold: rgba(212, 165, 116, 0.25);
    --border-ember: rgba(255, 107, 53, 0.15);
    --hover-color: rgba(124, 68, 223, 0.08);
    --glow-primary: rgba(124, 68, 223, 0.25);
    --glow-gold: rgba(212, 165, 116, 0.2);
    --gradient: linear-gradient(135deg, #7c44df, #d4a574);
    --card-border: rgba(50, 42, 58, 0.6);
    --card-hover: rgba(124, 68, 223, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0a0a0d;
    background-image:
        linear-gradient(135deg, rgba(10, 10, 10, 0.82) 0%, rgba(20, 15, 26, 0.72) 50%, rgba(13, 13, 13, 0.85) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== EMBER PARTICLES ===== */
.site-embers {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 78%, rgba(200, 120, 255, 0.55), transparent),
        radial-gradient(1px 1px at 28% 62%, rgba(170, 80, 255, 0.4), transparent),
        radial-gradient(1.5px 1.5px at 48% 88%, rgba(220, 150, 255, 0.5), transparent),
        radial-gradient(1px 1px at 67% 70%, rgba(180, 90, 255, 0.38), transparent),
        radial-gradient(2px 2px at 84% 84%, rgba(210, 130, 255, 0.5), transparent),
        radial-gradient(1px 1px at 91% 58%, rgba(160, 70, 240, 0.35), transparent);
    animation: ember-drift 14s linear infinite;
    opacity: 0.55;
}

@keyframes ember-drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100vh); }
}

@media (prefers-reduced-motion: reduce) {
    .site-embers { animation: none; }
}

/* ===== STATUS BANNER ===== */
.status-banner {
    position: relative;
    z-index: 20;
    background: linear-gradient(90deg, rgba(124, 68, 223, 0.2) 0%, rgba(212, 165, 116, 0.12) 50%, rgba(124, 68, 223, 0.2) 100%);
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--accent-gold), var(--primary-color)) 1;
    overflow: hidden;
}

.status-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
    animation: bannerShine 4s linear infinite;
}

@keyframes bannerShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.status-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0.6rem 1.25rem;
    position: relative;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.status-text {
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.status-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.status-players {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    background: rgba(124, 68, 223, 0.12);
    border: 1px solid rgba(124, 68, 223, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 600;
}

.status-players i {
    font-size: 0.75rem;
}

.status-separator {
    width: 1px;
    height: 16px;
    background: rgba(124, 68, 223, 0.3);
}

@media (max-width: 640px) {
    .status-banner-inner { gap: 0.6rem; padding: 0.5rem 0.75rem; }
    .status-separator { display: none; }
}

/* ===== SIDEBAR ===== */
.sidebar {
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.98) 0%, rgba(20, 16, 24, 0.96) 100%);
    padding: 1.25rem 1rem;
    position: fixed;
    width: 264px;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-right: 1px solid transparent;
    border-image: linear-gradient(180deg, var(--primary-color), var(--primary-light), var(--accent-gold), transparent) 1;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 8px 0 24px rgba(124, 68, 223, 0.08);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar.scrolled {
    box-shadow: 8px 0 32px rgba(124, 68, 223, 0.16);
}

.site-main {
    margin-left: 264px;
    min-height: 100vh;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.site-main > footer {
    margin-top: auto;
}

.sidebar-toggle {
    display: none;
}

.sidebar-backdrop {
    display: none;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0.6rem 1rem;
    border-radius: 8px;
    border-bottom: 1px solid rgba(124, 68, 223, 0.18);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-brand:hover {
    background: rgba(124, 68, 223, 0.08);
    transform: translateY(-1px);
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-bright));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 2px 10px var(--glow-primary);
    transition: all 0.3s ease;
}

.nav-brand:hover .nav-brand-icon {
    box-shadow: 0 4px 20px var(--glow-primary), 0 0 15px var(--glow-gold);
    transform: scale(1.05);
}

.nav-brand-text {
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand img.nav-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(124, 68, 223, 0.55));
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-brand:hover img.nav-logo {
    filter: drop-shadow(0 0 18px rgba(155, 111, 240, 0.8)) drop-shadow(0 0 8px rgba(212, 165, 116, 0.4));
    transform: scale(1.06) rotate(-3deg);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: rgba(124, 68, 223, 0.04);
    padding: 0.6rem;
    border-radius: 14px;
    border: 1px solid rgba(124, 68, 223, 0.08);
}

.sidebar-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.6rem 0.9rem 0.6rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.sidebar-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-bright), var(--accent-gold));
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.sidebar-links a:hover {
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(155, 111, 240, 0.3);
    background: rgba(124, 68, 223, 0.08);
    transform: translateX(3px);
}

.sidebar-links a:hover::before,
.sidebar-links a.active::before {
    height: 55%;
}

.sidebar-links a.active {
    color: var(--primary-light);
    background: rgba(124, 68, 223, 0.12);
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(124, 68, 223, 0.18);
    flex-shrink: 0;
}

.sidebar-actions .btn {
    width: 100%;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 250px;
    height: 250px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-bright) 100%);
    color: var(--text-light);
    box-shadow: 0 3px 12px var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--glow-primary), 0 0 20px var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(155, 111, 240, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(124, 68, 223, 0.08);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--accent-ember) 100%);
    color: var(--text-light);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-primary);
}

.btn-discord {
    background: #5865F2;
    color: #ffffff;
    border: 2px solid transparent;
}

.btn-discord:hover {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
    border-color: transparent;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), #e8b88a);
    color: #1a1018;
    border: 2px solid transparent;
    font-weight: 800;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-gold);
    border-color: transparent;
}

.btn-ghost {
    background: rgba(124, 68, 223, 0.06);
    color: var(--primary-light);
    border: 1px solid rgba(124, 68, 223, 0.15);
}

.btn-ghost:hover {
    background: rgba(124, 68, 223, 0.12);
    border-color: rgba(124, 68, 223, 0.3);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* ===== SIDEBAR TOGGLE (MOBILE) ===== */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 1100;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(20, 16, 24, 0.95);
    border: 1px solid rgba(124, 68, 223, 0.35);
    color: var(--text-light);
    font-size: 1.15rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--glow-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sidebar-toggle:hover {
    border-color: var(--primary-bright);
    box-shadow: 0 4px 20px var(--glow-primary), 0 0 12px var(--glow-gold);
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-backdrop.visible {
    opacity: 1;
}

@media screen and (max-width: 960px) {
    .sidebar {
        transform: translateX(-110%);
        width: min(280px, 84vw);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .site-main {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: flex;
    }

    .sidebar-backdrop {
        display: block;
        visibility: hidden;
    }

    .sidebar-backdrop.visible {
        visibility: visible;
    }

    .status-banner-inner {
        padding-left: 3.8rem;
    }
}

/* ===== DISCLAIMER BANNER ===== */
.disclaimer {
    background: rgba(10, 10, 13, 0.95);
    padding: 0.9rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(124, 68, 223, 0.15);
    margin-top: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(0);
    backdrop-filter: blur(10px);
}

.disclaimer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(124, 68, 223, 0.05) 50%, transparent 60%);
    animation: disclaimerShine 6s linear infinite;
}

@keyframes disclaimerShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.disclaimer.hidden {
    opacity: 0;
    transform: translateY(-100%);
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
}

.disclaimer-icon {
    color: var(--accent-gold);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.disclaimer-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.disclaimer-text {
    color: var(--text-light);
    font-weight: 500;
}

.disclaimer a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(124, 68, 223, 0.25);
    border-radius: 20px;
    background: rgba(124, 68, 223, 0.08);
    font-size: 0.85rem;
}

.disclaimer a:hover {
    color: #fff;
    background: rgba(124, 68, 223, 0.2);
    box-shadow: 0 3px 12px rgba(124, 68, 223, 0.25);
    transform: translateY(-1px);
}

.disclaimer-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.4rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.disclaimer-close:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-50%) rotate(90deg);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0d 0%, #1a1028 35%, #14101e 60%, #0d0d0d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(124, 68, 223, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 30%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 40%),
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to top, #0a0a0d, transparent);
    z-index: 2;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(124, 68, 223, 0.12);
    border: 1px solid rgba(124, 68, 223, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    animation: heroFadeIn 0.8s ease-out;
}

.hero-badge i {
    color: var(--accent-gold);
    font-size: 0.75rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--accent-gold) 45%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1.05;
    animation: heroFadeIn 0.8s ease-out 0.15s forwards;
    opacity: 0;
    filter: drop-shadow(0 0 30px rgba(124, 68, 223, 0.25));
}

.hero-content .hero-sub {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    animation: heroFadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 0.8s ease-out 0.45s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(124, 68, 223, 0.15);
    animation: heroFadeIn 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-bright), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

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

@media screen and (max-width: 768px) {
    .hero { padding: 5rem 1rem 3rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content .hero-sub { font-size: 1rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-value { font-size: 1.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: rgba(124, 68, 223, 0.1);
    border: 1px solid rgba(124, 68, 223, 0.15);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-bright), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
}

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

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

.features { background: linear-gradient(to bottom, #0a0a0d, rgba(13, 13, 13, 0.95)); }
.server-stats { background: linear-gradient(to bottom, rgba(13, 13, 13, 0.95), #0a0a0d); }
.gallery-section { background: linear-gradient(to bottom, #0a0a0d, rgba(13, 13, 13, 0.95)); }
.cta-section { background: linear-gradient(to bottom, rgba(13, 13, 13, 0.95), #0a0a0d); }

/* ===== GRID LAYOUTS ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
}

/* ===== GLASS CARDS ===== */
.glass-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--primary-light), var(--accent-gold), transparent);
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(155, 111, 240, 0.3);
    box-shadow: 0 12px 40px var(--glow-primary), 0 0 20px var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

/* ===== SHIMMER ON CARDS ===== */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 68, 223, 0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.glass-card:hover::after {
    animation: shimmer 1.5s infinite;
}

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

/* ===== FEATURE CARDS ===== */
.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-bright));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--glow-primary);
}

.glass-card:hover .feature-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 6px 25px var(--glow-primary), 0 0 20px var(--glow-gold);
}

.feature-icon i {
    font-size: 1.6rem;
    color: var(--text-light);
}

.feature-icon.icon-gold {
    background: linear-gradient(135deg, var(--accent-gold), #e8b88a);
    box-shadow: 0 4px 15px var(--glow-gold);
}

.feature-icon.icon-ember {
    background: linear-gradient(135deg, var(--accent-ember), #ff8a5c);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.25);
}

.glass-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-light);
}

.glass-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== STAT CARDS ===== */
.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--glow-primary);
}

.glass-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 25px var(--glow-primary), 0 0 20px var(--glow-gold);
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-bright), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ===== GALLERY / MEDIA GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 25px var(--glow-primary);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 13, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, rgba(124, 68, 223, 0.15) 0%, rgba(212, 165, 116, 0.1) 50%, rgba(124, 68, 223, 0.15) 100%);
    border: 1px solid rgba(124, 68, 223, 0.2);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.04) 50%, transparent 65%);
    animation: bannerShine 5s linear infinite;
}

.cta-banner h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--primary-bright), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.cta-banner p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    position: relative;
}

.cta-banner .btn {
    position: relative;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0.95), #0a0a0d);
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    text-align: left;
    padding: 1.75rem 2rem;
}

.partner-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 12px 40px var(--glow-primary), 0 0 25px var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.partner-logo {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1b1424, #0a0a0d);
    border: 1px solid rgba(124, 68, 223, 0.3);
    box-shadow: 0 4px 18px var(--glow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    box-shadow: 0 6px 25px var(--glow-primary), 0 0 20px var(--glow-gold);
    transform: scale(1.05);
}

.partner-logo {
    position: relative;
}

.partner-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-logo {
    width: min(255px, 54%);
    height: auto;
    margin: 0 auto 1.4rem;
    display: block;
    filter: drop-shadow(0 0 28px rgba(124, 68, 223, 0.35));
    animation: heroFadeIn 0.8s ease-out forwards;
}

.partner-logo .partner-logo-fallback {
    font-size: 2rem;
    color: var(--primary-bright);
}

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

.partner-name {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.partner-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.18), rgba(124, 68, 223, 0.18));
    border: 1px solid var(--border-gold);
    color: var(--accent-gold);
}

.partner-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.7rem;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-link {
    color: var(--accent-gold);
    gap: 0.65rem;
}

@media (max-width: 600px) {
    .partner-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .partner-name {
        justify-content: center;
    }
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(180deg, rgba(10, 10, 13, 0.95) 0%, rgba(10, 10, 13, 0.98) 100%);
    padding: 3rem 0 1.5rem;
    margin-top: 0;
    border-top: 1px solid;
    border-image: linear-gradient(90deg, transparent, var(--border-color), var(--border-gold), transparent) 1;
    position: relative;
    z-index: 1;
}

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

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.footer-brand .footer-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-bright));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 2px 8px var(--glow-primary);
}

.footer-brand .footer-logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-bright), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand img.footer-logo-img {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    filter: drop-shadow(0 0 8px rgba(124, 68, 223, 0.5));
    flex-shrink: 0;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--text-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(50, 42, 58, 0.4);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: rgba(124, 68, 223, 0.06);
    border: 1px solid rgba(124, 68, 223, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-socials a:hover {
    color: var(--text-light);
    background: rgba(124, 68, 223, 0.15);
    border-color: rgba(124, 68, 223, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-bright));
    border: none;
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px var(--glow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--glow-primary), 0 0 15px var(--glow-gold);
}

/* ===== RULES PAGE ===== */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 3rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.page-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.page-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-bright), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.rule-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.rule-card .rule-number {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(124, 68, 223, 0.06);
    transition: all 0.3s ease;
    line-height: 1;
}

.rule-card:hover .rule-number {
    transform: scale(1.15);
    color: rgba(124, 68, 223, 0.12);
}

.rule-card h3 {
    color: var(--primary-light);
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rule-card h3 i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    color: var(--primary-bright);
}

.rule-card:hover h3 i {
    transform: scale(1.15) rotate(5deg);
}

.rule-card p {
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.rule-card .rule-details {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(50, 42, 58, 0.5);
}

.rule-card .rule-details ul {
    list-style: none;
    padding: 0;
}

.rule-card .rule-details li {
    margin-bottom: 0.4rem;
    padding-left: 1.3rem;
    position: relative;
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 0.92rem;
}

.rule-card .rule-details li::before {
    content: '\2022';
    color: var(--primary-bright);
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.rule-card .rule-details li:hover {
    color: var(--text-light);
    transform: translateX(4px);
}

.rule-card:nth-child(1) { animation-delay: 0.1s; }
.rule-card:nth-child(2) { animation-delay: 0.15s; }
.rule-card:nth-child(3) { animation-delay: 0.2s; }
.rule-card:nth-child(4) { animation-delay: 0.25s; }
.rule-card:nth-child(5) { animation-delay: 0.3s; }
.rule-card:nth-child(6) { animation-delay: 0.35s; }

.rules-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.rules-footer p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.rules-footer .warning {
    color: var(--accent-ember);
    font-weight: 700;
}

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

/* ===== TEAM PAGE ===== */
.team-content {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    flex: 1;
}

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

.team-card {
    text-align: center;
    cursor: pointer;
}

.team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-color);
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    box-shadow: 0 4px 18px var(--glow-primary);
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    box-shadow: 0 8px 30px var(--glow-primary), 0 0 20px var(--glow-gold);
    transform: scale(1.05);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-light);
}

.team-rank {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-bright));
    border-radius: 20px;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    box-shadow: 0 2px 8px var(--glow-primary);
}

.team-discord {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

.team-discord i {
    color: #5865F2;
    margin-right: 0.4rem;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 2rem;
    max-width: 550px;
    width: 90%;
    position: relative;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 25px var(--glow-primary);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(15px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.close-modal {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.close-modal:hover {
    color: var(--primary-light);
    background: rgba(124, 68, 223, 0.12);
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--primary-bright), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.modal-tasks {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--card-border);
}

.modal-tasks h3 {
    color: var(--primary-light);
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1rem;
}

.modal-tasks ul {
    list-style: none;
    padding: 0;
}

.modal-tasks li {
    margin-bottom: 0.4rem;
    padding-left: 1.3rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.modal-tasks li::before {
    content: '\2022';
    color: var(--primary-bright);
    position: absolute;
    left: 0;
}

/* ===== DISCORD PAGE ===== */
.discord-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.discord-info {
    animation: fadeInLeft 0.8s ease 0.3s forwards;
    opacity: 0;
}

.discord-widget {
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
}

.discord-card {
    margin-bottom: 1.5rem;
}

.discord-card h3 {
    color: var(--primary-light);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.discord-card h3 i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    color: var(--primary-bright);
}

.discord-card:hover h3 i {
    transform: scale(1.15) rotate(5deg);
}

.discord-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.discord-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.feature-item {
    background: rgba(124, 68, 223, 0.04);
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 68, 223, 0.06);
}

.feature-item:hover {
    background: rgba(124, 68, 223, 0.1);
    transform: translateX(4px);
    border-color: rgba(124, 68, 223, 0.15);
}

.feature-item i {
    color: var(--primary-bright);
    font-size: 1.1rem;
}

.feature-item span {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.88rem;
}

.discord-join {
    text-align: center;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.discord-join-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #5865F2;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-join-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5), 0 0 15px rgba(88, 101, 242, 0.2);
}

.discord-join-button i {
    font-size: 1.2rem;
}

.discord-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.stat-item {
    background: rgba(124, 68, 223, 0.04);
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 68, 223, 0.06);
}

.stat-item:hover {
    background: rgba(124, 68, 223, 0.1);
    transform: translateY(-3px);
    border-color: rgba(124, 68, 223, 0.15);
}

.stat-item .number {
    color: var(--primary-light);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.stat-item .label {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

/* ===== IMPRINT & PRIVACY ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.content-title {
    color: var(--primary-light);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.content-title i {
    color: var(--primary-bright);
}

.content-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.content-text ul {
    list-style: none;
    padding: 0;
    margin-top: 0.8rem;
}

.content-text li {
    margin-bottom: 0.4rem;
    padding-left: 1.3rem;
    position: relative;
    color: var(--text-muted);
}

.content-text li::before {
    content: '\2022';
    color: var(--primary-bright);
    position: absolute;
    left: 0;
}

/* ===== ALERTS ===== */
.alert {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #22c55e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #f59e0b;
}

.alert-info {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #3b82f6;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-light); }
.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }
.w-full { width: 100%; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ===== RESPONSIVE OVERRIDES ===== */
@media screen and (max-width: 768px) {
    .page-container {
        padding-top: 4rem;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .team-content h2 {
        font-size: 2rem;
    }

    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}
