/* ==========================================================================
   REGES ONLINE - AAA-Grade Silkroad P-Server "Coming Soon" Landing Page
   Design System: Cinematic Dark Fantasy Gold & Obsidian — v3.0 ULTRA
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    /* ── Core Palette ── */
    --bg-void: #050608;
    --bg-dark: #090a0f;
    --bg-surface: #0d0f17;
    --bg-card: rgba(14, 17, 28, 0.78);
    --bg-card-hover: rgba(22, 27, 42, 0.95);
    --bg-glass: rgba(18, 22, 38, 0.55);

    /* ── Gold Palette ── */
    --gold-primary: #d4af37;
    --gold-bright: #ffe680;
    --gold-white: #fff8e1;
    --gold-dark: #8a6c1e;
    --gold-muted: #a38829;
    --gold-gradient: linear-gradient(135deg, #ffd700 0%, #d4af37 40%, #b8860b 70%, #8a6c1e 100%);
    --gold-text: linear-gradient(180deg, #ffffff 0%, #fff5cc 30%, #ffe680 60%, #d4af37 100%);
    --gold-text-subtle: linear-gradient(180deg, #ffe680 0%, #d4af37 100%);
    --gold-glow: rgba(212, 175, 55, 0.5);
    --gold-border: rgba(212, 175, 55, 0.18);
    --gold-border-hover: rgba(212, 175, 55, 0.55);

    /* ── Accent Palette ── */
    --discord-brand: #5865F2;
    --discord-glow: rgba(88, 101, 242, 0.4);
    --facebook-brand: #1877F2;
    --facebook-glow: rgba(24, 119, 242, 0.4);

    /* ── Typography ── */
    --font-display: 'Cinzel Decorative', 'Cinzel', serif;
    --font-heading: 'Cinzel', serif;
    --font-tech: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* ── Transitions ── */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-smooth: 0.4s var(--ease-out-expo);
    --transition-slow: 0.7s var(--ease-out-expo);
}

/* ══════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-void);
    color: #d1d5db;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    min-height: 100vh;
    background: var(--bg-void);
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ══════════════════════════════════════════════════════
   BACKGROUND ATMOSPHERE - Multi-layer Cinematic BG
   ══════════════════════════════════════════════════════ */
.bg-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -10%, rgba(212, 175, 55, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 80% 50% at 80% 20%, rgba(88, 101, 242, 0.07) 0%, transparent 50%),
        linear-gradient(180deg, rgba(5, 6, 8, 0.08) 0%, rgba(5, 6, 8, 0.52) 50%, rgba(5, 6, 8, 0.85) 100%),
        url('../background.png');
    background-size: cover, cover, cover, cover;
    background-position: center, center, center, center 10%;
    background-repeat: no-repeat;
    opacity: 0.88;
}

.bg-atmosphere::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 75% at 50% 100%, rgba(5, 6, 8, 0.7) 0%, transparent 75%);
    pointer-events: none;
}

/* ── Aurora Animated Overlay ── */
.bg-aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-aurora::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 70% 50% at 30% 40%, rgba(212, 175, 55, 0.07) 0%, transparent 60%);
    animation: auroraMove1 18s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.bg-aurora::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse 60% 50% at 70% 60%, rgba(88, 101, 242, 0.06) 0%, transparent 55%);
    animation: auroraMove2 24s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes auroraMove1 {
    0%   { transform: translate(0, 0)    scale(1);    opacity: 0.6; }
    33%  { transform: translate(8%, -5%) scale(1.15); opacity: 0.9; }
    66%  { transform: translate(-6%, 8%) scale(0.9);  opacity: 0.5; }
    100% { transform: translate(5%, 3%)  scale(1.08); opacity: 0.85; }
}

@keyframes auroraMove2 {
    0%   { transform: translate(0, 0)     scale(1);    opacity: 0.5; }
    50%  { transform: translate(-10%, 6%) scale(1.2);  opacity: 0.85; }
    100% { transform: translate(5%, -8%)  scale(0.95); opacity: 0.6; }
}

/* ── Particle Canvas ── */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

/* ── Cursor Trail Canvas ── */
#cursor-trail-canvas {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
}

/* ── Decorative Floating Orbs ── */
.orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
    opacity: 0.18;
    animation: orbFloat 12s ease-in-out infinite alternate;
    will-change: transform;
}

.orb--gold {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.7), transparent 70%);
    top: 0%;
    left: 10%;
    animation-duration: 14s;
}

.orb--blue {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.5), transparent 70%);
    top: 55%;
    right: 8%;
    animation-duration: 19s;
    animation-delay: -4s;
}

.orb--ember {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 150, 40, 0.4), transparent 70%);
    bottom: 10%;
    left: 45%;
    animation-duration: 17s;
    animation-delay: -9s;
}

@keyframes orbFloat {
    0%   { transform: translate(0, 0)     scale(1); }
    33%  { transform: translate(30px, -25px) scale(1.08); }
    66%  { transform: translate(-15px, 15px) scale(0.95); }
    100% { transform: translate(22px, -12px) scale(1.05); }
}

/* ══════════════════════════════════════════════════════
   SITE WRAPPER
   ══════════════════════════════════════════════════════ */
.site-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ══════════════════════════════════════════════════════
   UTILITY: Gold Gradient Text
   ══════════════════════════════════════════════════════ */
.gold-text {
    background: var(--gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION SYSTEM
   ══════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ══════════════════════════════════════════════════════
   TOP NAVIGATION BAR
   ══════════════════════════════════════════════════════ */
.navbar {
    width: 100%;
    padding: 0.8rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(5, 6, 8, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(5, 6, 8, 0.92);
    border-bottom-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(212, 175, 55, 0.08);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.nav-logo-mini {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
    transition: filter var(--transition-fast), transform var(--transition-fast);
}

.nav-brand:hover .nav-logo-mini {
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.7));
    transform: scale(1.05);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 1.1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 50px;
    font-family: var(--font-tech);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--gold-bright);
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--gold-primary);
    border-radius: 50%;
    animation: statusPulse 1.8s ease-in-out infinite;
    box-shadow: 0 0 8px var(--gold-glow);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--gold-glow); transform: scale(1); }
    50% { opacity: 0.35; box-shadow: 0 0 2px var(--gold-glow); transform: scale(0.85); }
}

/* ══════════════════════════════════════════════════════
   HIEROGLYPH DECORATIVE STRIPS
   ══════════════════════════════════════════════════════ */
.hieroglyph-strip {
    width: 100%;
    text-align: center;
    letter-spacing: 1.5rem;
    font-size: 1.2rem;
    color: rgba(212, 175, 55, 0.22);
    user-select: none;
    overflow: hidden;
    white-space: nowrap;
    animation: hieroglyphSlide 30s linear infinite;
    will-change: transform;
    line-height: 1;
}

.hieroglyph-strip--top {
    padding: 2.2rem 0 0.5rem 0;
    margin-top: 3.5rem; /* below navbar */
}

.hieroglyph-strip--bottom {
    padding: 0.5rem 0 1rem 0;
    color: rgba(212, 175, 55, 0.15);
}

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

/* ══════════════════════════════════════════════════════
   HERO SECTION - Cinematic Entry
   ══════════════════════════════════════════════════════ */
.hero-section {
    padding: 0.5rem 2rem 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    position: relative;
    min-height: 85vh;
}

/* ── Hero Logo ── */
.hero-logo {
    max-width: 420px;
    width: 80vw;
    height: auto;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: heroLogoEntry 1.3s var(--ease-out-expo) 0.2s forwards,
               logoBreathe 5s ease-in-out 1.6s infinite alternate;
    filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.42)) drop-shadow(0 0 55px rgba(0, 0, 0, 0.55));
    transition: transform 0.5s var(--ease-out-expo), filter 0.5s var(--ease-out-expo);
    will-change: transform, filter;
    cursor: pointer;
}

.hero-logo:hover {
    filter: drop-shadow(0 0 55px rgba(245, 175, 25, 1)) drop-shadow(0 0 90px rgba(255, 223, 120, 0.6));
}

@keyframes heroLogoEntry {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.82);
        filter: drop-shadow(0 0 0 transparent) blur(12px);
    }
    55% {
        filter: drop-shadow(0 0 55px rgba(212, 175, 55, 0.9)) blur(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.42)) drop-shadow(0 0 55px rgba(0, 0, 0, 0.55));
    }
}

@keyframes logoBreathe {
    0% {
        filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.38)) drop-shadow(0 0 45px rgba(0, 0, 0, 0.5));
        transform: translateY(0);
    }
    100% {
        filter: drop-shadow(0 0 48px rgba(245, 175, 25, 0.85)) drop-shadow(0 0 80px rgba(255, 223, 120, 0.45));
        transform: translateY(-12px);
    }
}

/* ── Subtitle Badge ── */
.subtitle-badge {
    font-family: var(--font-tech);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--gold-primary);
    display: inline-block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeSlideUp 0.9s var(--ease-out-expo) 0.6s forwards;
    position: relative;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.subtitle-badge::before,
.subtitle-badge::after {
    content: '◈';
    display: inline-block;
    margin: 0 0.8rem;
    font-size: 0.65rem;
    vertical-align: middle;
    color: var(--gold-dark);
    opacity: 0.75;
}

/* ── Main Title: COMING SOON ── */
.main-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
    padding: 0 0.25em 0.05em 0.1em;
    overflow: visible;
    opacity: 0;
    animation: titleReveal 1.1s var(--ease-out-expo) 0.85s forwards;
    text-shadow:
        0 0 35px rgba(212, 175, 55, 0.45),
        0 0 70px rgba(212, 175, 55, 0.18),
        0 4px 18px rgba(0, 0, 0, 0.8);
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(35px) scale(0.88);
        letter-spacing: 18px;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: 4px;
    }
}

@keyframes fadeSlideUp {
    0%   { opacity: 0; transform: translateY(22px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ── Decorative divider under title ── */
.hero-divider {
    width: 140px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
    opacity: 0;
    animation: fadeSlideUp 0.9s var(--ease-out-expo) 1.05s forwards;
    position: relative;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.hero-divider::before {
    content: '⬥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold-primary);
    font-size: 0.75rem;
    background: var(--bg-void);
    padding: 0 0.5rem;
    text-shadow: 0 0 8px var(--gold-glow);
}

/* ── Hero Description ── */
.hero-description {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: #e2e8f0;
    max-width: 640px;
    margin: 0 auto 2.5rem auto;
    font-weight: 400;
    line-height: 1.75;
    opacity: 0;
    animation: fadeSlideUp 0.9s var(--ease-out-expo) 1.15s forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-description strong {
    color: var(--gold-bright);
    font-weight: 600;
}

/* ── Scroll Hint ── */
.scroll-hint {
    margin-top: 2.5rem;
    opacity: 0;
    animation: fadeSlideUp 0.9s var(--ease-out-expo) 1.8s forwards;
}

.scroll-hint__arrow {
    display: block;
    width: 22px;
    height: 22px;
    border-right: 2px solid rgba(212, 175, 55, 0.5);
    border-bottom: 2px solid rgba(212, 175, 55, 0.5);
    transform: rotate(45deg);
    margin: auto;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
    50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ══════════════════════════════════════════════════════
   CTA ACTION BUTTONS
   ══════════════════════════════════════════════════════ */
.cta-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeSlideUp 0.9s var(--ease-out-expo) 1.35s forwards;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 2.4rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-cta:hover::before { opacity: 1; }

.btn-cta i {
    font-size: 1.15rem;
    transition: transform var(--transition-fast);
}

.btn-cta:hover i { transform: scale(1.15); }

.btn-discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--discord-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-discord:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.7), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #1465cc 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--facebook-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-facebook:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 40px rgba(24, 119, 242, 0.7), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════════════════════
   SECTION DIVIDERS
   ══════════════════════════════════════════════════════ */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 2rem;
    max-width: 900px;
    margin: 0.5rem auto;
}

.section-divider__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.35) 50%, transparent 100%);
}

.section-divider__diamond {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 0.9rem;
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.12);
    animation: diamondPulse 3s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes diamondPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(212, 175, 55, 0.12); }
    50%       { box-shadow: 0 0 28px rgba(212, 175, 55, 0.28); }
}

/* ══════════════════════════════════════════════════════
   SERVER STATS SECTION
   ══════════════════════════════════════════════════════ */
.stats-section {
    padding: 2.5rem 2rem;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

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

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

.stats-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.14);
    border-radius: 16px;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

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

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    background: var(--gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.stat-label {
    font-family: var(--font-tech);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(212, 175, 55, 0.65);
    text-transform: uppercase;
}

/* Icon-based stat (non-number) */
.stat-value--icon {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-text-fill-color: unset;
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    margin-bottom: 0.5rem;
    animation: iconGlow 3s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    0%   { filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.35)); color: var(--gold-primary); }
    100% { filter: drop-shadow(0 0 18px rgba(245, 175, 25, 0.9)); color: var(--gold-bright); }
}

.stat-item--text {
    background: rgba(212, 175, 55, 0.07);
    border-color: rgba(212, 175, 55, 0.18);
}

/* ══════════════════════════════════════════════════════
   SERVER FEATURES GRID
   ══════════════════════════════════════════════════════ */
.features-section {
    padding: 4rem 2rem 5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

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

.section-tag {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: block;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
    margin-bottom: 1rem;
}

.section-title-bar {
    width: 80px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

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

/* ── Feature Card: Glassmorphism + Animated Border ── */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: 22px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Animated glowing border on hover */
.card-glow-border {
    position: absolute;
    inset: -1px;
    border-radius: 22px;
    background: conic-gradient(from var(--angle, 0deg), transparent 20%, rgba(212, 175, 55, 0.5) 40%, transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.feature-card:hover .card-glow-border {
    opacity: 1;
    animation: rotateBorder 3s linear infinite;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorder {
    0%   { --angle: 0deg; }
    100% { --angle: 360deg; }
}

/* Top shimmer line */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

/* Gold glow bloom on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.0);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(212, 175, 55, 0.14),
        inset 0 1px 0 rgba(212, 175, 55, 0.18);
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after  { opacity: 1; }

.feature-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 1.25rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 18px;
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover .feature-icon {
    transform: scale(1.12) translateY(-3px);
    background: rgba(212, 175, 55, 0.22);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.6rem;
}

.feature-desc {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.65;
}

/* ── Race Icon inside Feature Card ── */
.race-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.race-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-bright);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover .race-icon {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* ══════════════════════════════════════════════════════
   MEDIA / ARTWORK GALLERY
   ══════════════════════════════════════════════════════ */
.media-section {
    padding: 3rem 2rem 5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.media-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--gold-border);
    cursor: pointer;
    aspect-ratio: 16 / 9;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
        rgba(5, 6, 8, 0.92) 0%,
        rgba(5, 6, 8, 0.35) 38%,
        rgba(5, 6, 8, 0.05) 65%,
        transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: background var(--transition-smooth);
}

.media-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--gold-primary);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 35px rgba(212, 175, 55, 0.18);
}

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

.media-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-bright);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.media-sub {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: #cbd5e1;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

/* ── Lightbox View Hint ── */
.media-card .view-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.18);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
    font-size: 1.3rem;
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
    pointer-events: none;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.media-card:hover .view-hint {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ══════════════════════════════════════════════════════
   LIGHTBOX MODAL
   ══════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    transform: scale(0.88) translateY(24px);
    transition: transform 0.4s var(--ease-out-expo);
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.lightbox-img {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.1);
}

.modal-close {
    position: absolute;
    top: -52px;
    right: 0;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
    font-size: 1.3rem;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.modal-close:hover {
    background: rgba(212, 175, 55, 0.35);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* ══════════════════════════════════════════════════════
   TOAST NOTIFICATION
   ══════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: rgba(14, 17, 28, 0.97);
    border: 1px solid var(--gold-primary);
    color: #ffffff;
    padding: 0.9rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.18);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    font-family: var(--font-body);
    backdrop-filter: blur(12px);
    animation: toastIn 0.4s var(--ease-out-expo) forwards;
}

@keyframes toastIn {
    0%   { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}

.toast i {
    color: var(--gold-bright);
    font-size: 1.1rem;
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    background: rgba(5, 6, 8, 0.95);
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 1px;
    background: var(--gold-gradient);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(212, 175, 55, 0.7);
    font-size: 1.05rem;
    text-decoration: none;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-social-btn:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.5);
    color: var(--gold-bright);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.footer-text {
    color: #4a5568;
    font-size: 0.82rem;
    line-height: 1.8;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .stats-grid,
    .stats-grid--6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.7rem 1.25rem;
    }
    .hero-section {
        padding: 0.5rem 1.25rem 2.5rem;
        min-height: 80vh;
    }
    .hero-logo {
        max-width: 320px;
    }
    .main-title {
        letter-spacing: 2px;
    }
    .cta-button-group {
        flex-direction: column;
        width: 100%;
        max-width: 360px;
    }
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
    .features-section,
    .media-section {
        padding: 3rem 1.25rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stats-grid,
    .stats-grid--6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .media-grid {
        grid-template-columns: 1fr;
    }
    .orb { display: none; }
    .hieroglyph-strip {
        font-size: 1rem;
        letter-spacing: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0.5rem 1rem 2rem;
    }
    .hero-logo {
        max-width: 260px;
    }
    .subtitle-badge {
        letter-spacing: 3px;
        font-size: 0.82rem;
    }
    .subtitle-badge::before,
    .subtitle-badge::after {
        margin: 0 0.4rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .features-section,
    .media-section {
        padding: 2.5rem 1rem;
    }
    .feature-card {
        padding: 1.5rem 1.25rem;
    }
}

/* ══════════════════════════════════════════════════════
   CUSTOM SCROLLBAR
   ══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.55);
}
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) var(--bg-void);
}

/* ══════════════════════════════════════════════════════
   SELECTION HIGHLIGHT
   ══════════════════════════════════════════════════════ */
::selection {
    background: rgba(212, 175, 55, 0.28);
    color: #ffffff;
}

/* ══════════════════════════════════════════════════════
   EGYPTIAN GOLDEN SAND PRELOADER & EXPLOSION DISSOLVE
   ══════════════════════════════════════════════════════ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #040507;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, filter, transform;
}

.preloader.dissolve {
    opacity: 0;
    filter: blur(18px) brightness(2.0);
    transform: scale(1.1);
    pointer-events: none;
}

#preloader-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.preloader-logo-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sand-ring {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.12), inset 0 0 20px rgba(212, 175, 55, 0.12);
}

.sand-ring--outer {
    width: 220px;
    height: 220px;
    border: 2px dashed rgba(212, 175, 55, 0.3);
    animation: sandRingRotate 10s linear infinite;
}

.sand-ring--inner {
    width: 165px;
    height: 165px;
    border: 1px dotted rgba(212, 175, 55, 0.2);
    animation: sandRingRotate 7s linear infinite reverse;
}

@keyframes sandRingRotate {
    0%   { transform: rotate(0deg)   scale(1); }
    50%  { transform: rotate(180deg) scale(1.04); }
    100% { transform: rotate(360deg) scale(1); }
}

.preloader-logo {
    max-width: 250px;
    width: 55vw;
    height: auto;
    filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.65));
    animation: preloaderLogoPulse 2s ease-in-out infinite alternate;
}

@keyframes preloaderLogoPulse {
    0%   { transform: scale(1);    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5)); }
    100% { transform: scale(1.04); filter: drop-shadow(0 0 45px rgba(245, 175, 25, 1.0)); }
}

.preloader-title {
    font-family: var(--font-tech);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--gold-bright);
    margin-bottom: 1.35rem;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.preloader-bar-outer {
    width: 270px;
    height: 5px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}

.preloader-bar-inner {
    width: 0%;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 10px;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
    position: relative;
}

.preloader-bar-inner::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    border-radius: 10px;
}

.preloader-percent {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-top: 0.6rem;
    letter-spacing: 1px;
}
