/* ==========================================================================
   EVEX SILKROAD ONLINE — ULTRA-PREMIUM AAA GAMING PORTAL STYLESHEET
   Brand Identity: Gold-Outlined Stone Evex Silkroad Private Server
   Colors: Obsidian Black · Imperial Aurum · Carved Slate Stone
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
    --bg-void: #060608;
    --bg-obsidian: #09090c;
    --bg-surface: #101015;
    --bg-card: rgba(18, 18, 25, 0.78);
    --bg-card-hover: rgba(26, 26, 36, 0.9);
    --bg-card-elevated: #15151e;

    /* Evex Imperial Gold Palette */
    --gold: #cfac59;
    --gold-light: #fae08a;
    --gold-deep: #8c692d;
    --gold-gradient: linear-gradient(135deg, #fae08a 0%, #cfac59 50%, #8c692d 100%);
    --gold-border: rgba(207, 172, 89, 0.24);
    --gold-border-hover: rgba(250, 224, 138, 0.58);
    --gold-glow: rgba(207, 172, 89, 0.32);
    --gold-glow-lg: 0 0 35px rgba(207, 172, 89, 0.28);

    /* Carved Stone / Slate Palette */
    --stone: #b3b2aa;
    --stone-light: #d5d4cb;
    --stone-dark: #22222c;
    --stone-border: rgba(179, 178, 170, 0.16);

    /* Typography */
    --text-primary: #f5f4ef;
    --text-secondary: #b8b7ae;
    --text-muted: #7e7d77;
    --font-display: "Cinzel", "Times New Roman", serif;
    --font-ui: "Plus Jakarta Sans", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Accents */
    --beacon-green: #10b981;
    --beacon-glow: rgba(16, 185, 129, 0.55);
    --danger: #ef4444;

    /* Layout Dimensions */
    --container-max: 1320px;
    --nav-height: 84px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;

    /* Legacy Fallback Variables (Maintains Backwards Compatibility) */
    --bg: var(--bg-obsidian);
    --ink: var(--text-primary);
    --muted: var(--text-secondary);
    --line: var(--gold-border);
    --crimson: var(--gold);
    --crimson-deep: var(--bg-surface);
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    background-color: var(--bg-obsidian);
}

body {
    min-height: 100vh;
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: transparent;
}

ul, ol {
    list-style: none;
}

section[id] {
    scroll-margin-top: calc(var(--nav-height) + 20px);
}

/* Global Container */
.evex-container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 32px);
}

/* --------------------------------------------------------------------------
   3. BACKGROUND AMBIENCE & PARTICLES
   -------------------------------------------------------------------------- */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 600px at 50% -10%, rgba(207, 172, 89, 0.08), transparent 70%),
        radial-gradient(900px 500px at 90% 20%, rgba(179, 178, 170, 0.04), transparent 60%),
        radial-gradient(1000px 600px at 10% 60%, rgba(207, 172, 89, 0.05), transparent 70%),
        radial-gradient(800px 500px at 70% 90%, rgba(179, 178, 170, 0.04), transparent 60%);
    animation: evexBgDrift 28s ease-in-out infinite alternate;
}

@keyframes evexBgDrift {
    0% { transform: scale(1) translate3d(0, 0, 0); }
    100% { transform: scale(1.05) translate3d(0, -2%, 0); }
}

.embers {
    position: fixed;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    overflow: hidden;
}

.ember-particle {
    position: absolute;
    bottom: -20px;
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background: #fae08a;
    box-shadow: 0 0 10px 2px rgba(250, 224, 138, 0.75), 0 0 22px rgba(207, 172, 89, 0.45);
    opacity: 0;
    animation: emberRise linear infinite;
    pointer-events: none;
}

.ember-particle.spark {
    width: 2px;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 14px rgba(250, 224, 138, 0.7);
}

.ember-particle.is-gold {
    width: 4px;
    height: 4px;
    background: #f59e0b;
    box-shadow: 0 0 12px 3px rgba(245, 158, 11, 0.85);
}

.ember-particle.is-crimson,
.ember-particle.is-stone {
    width: 3px;
    height: 3px;
    background: #fef08a;
    box-shadow: 0 0 10px 2px rgba(254, 240, 138, 0.6);
}

@keyframes emberRise {
    0% { transform: translate3d(0, 10vh, 0); opacity: 0; }
    12% { opacity: 0.9; }
    85% { opacity: 0.7; }
    100% { transform: translate3d(var(--drift, 30px), -110vh, 0); opacity: 0; }
}

/* --------------------------------------------------------------------------
   4. PRELOADER & FLASH ALERTS
   -------------------------------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--bg-void);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

html.is-loaded #preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    width: min(280px, 75vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 25px var(--gold-glow));
    animation: preloaderPulse 2s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.03); opacity: 1; filter: drop-shadow(0 0 35px rgba(207, 172, 89, 0.5)); }
}

.preloader-bar {
    width: 180px;
    height: 3px;
    background: var(--stone-dark);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gold-border);
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px var(--gold-light);
    animation: preloaderTrack 1.4s ease-in-out infinite;
}

@keyframes preloaderTrack {
    0% { left: -40%; width: 30%; }
    50% { width: 50%; }
    100% { left: 110%; width: 30%; }
}

.os-flash {
    position: fixed;
    top: calc(var(--nav-height) + 16px);
    right: 24px;
    z-index: 1000;
    background: rgba(18, 18, 26, 0.95);
    border: 1px solid var(--gold);
    color: var(--text-primary);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), var(--gold-glow-lg);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: slideInRight 0.35s ease;
}

.os-flash__close {
    cursor: pointer;
    color: var(--gold);
    font-size: 1.3rem;
    line-height: 1;
}

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

/* --------------------------------------------------------------------------
   5. SHARED UI ATOMS & BUTTONS
   -------------------------------------------------------------------------- */
.gold-gradient-text,
.gold-text-glow {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(207, 172, 89, 0.35));
}

.gold-text {
    color: var(--gold);
}

/* Evex Button System */
.evex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

/* Primary Gold Button */
.evex-btn--gold {
    background: var(--gold-gradient);
    color: #08080a !important;
    border: 1px solid var(--gold-light);
    box-shadow: 0 4px 20px rgba(207, 172, 89, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.evex-btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(207, 172, 89, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    filter: brightness(1.08);
}

.evex-btn--gold:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(207, 172, 89, 0.3);
}

/* Ghost Button */
.evex-btn--ghost {
    background: rgba(18, 18, 25, 0.6);
    color: var(--text-primary) !important;
    border: 1px solid var(--gold-border);
    backdrop-filter: blur(12px);
}

.evex-btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold-light) !important;
    background: rgba(26, 26, 36, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 18px var(--gold-glow);
    transform: translateY(-2px);
}

/* Glass Button */
.evex-btn--glass {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary) !important;
    border: 1px solid var(--stone-border);
    backdrop-filter: blur(10px);
}

.evex-btn--glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--stone);
    transform: translateY(-2px);
}

/* Discord Button */
.evex-btn--discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.35);
}

.evex-btn--discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(88, 101, 242, 0.5);
    filter: brightness(1.1);
}

/* Size Variants */
.evex-btn--lg {
    padding: 16px 34px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.evex-btn--nav {
    height: 38px;
    padding: 0 20px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, #fef08a 0%, #f59e0b 26%, #d97706 72%, #b45309 100%);
    color: #120d04 !important;
    border: 1px solid rgba(254, 240, 138, 0.85);
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    white-space: nowrap;
    text-transform: uppercase;
}

.evex-btn--nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(217, 119, 6, 0.55), 0 0 16px rgba(254, 240, 138, 0.4);
    filter: brightness(1.08);
}

/* Section Header Typography */
.evex-section {
    position: relative;
    z-index: 2;
    padding: clamp(75px, 10vw, 130px) 0;
}

/* --------------------------------------------------------------------------
   6. DISTINCT SECTION ATMOSPHERES & DEPTH LAYERING
   -------------------------------------------------------------------------- */
/* Section 1: Hero bottom blend */
.evex-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(9, 9, 12, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Section: Realm Launch Phases (Beta & Grand Opening) */
.evex-phases,
.evex-nexus-section {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    border-top: 1px solid rgba(207, 172, 89, 0.16);
    border-bottom: 1px solid rgba(207, 172, 89, 0.12);
}

.evex-nexus-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.evex-nexus-bg-img {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 25%;
    opacity: 0.75;
    filter: saturate(1.15) brightness(1.02);
}

.evex-nexus-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 1100px 580px at 50% 50%, rgba(9, 9, 12, 0.42) 0%, rgba(9, 9, 12, 0.62) 68%, rgba(9, 9, 12, 0.88) 100%),
        linear-gradient(180deg, rgba(9, 9, 12, 0.85) 0%, transparent 80px),
        linear-gradient(180deg, transparent 80%, rgba(9, 9, 12, 0.85) 100%);
}

.evex-nexus-section .evex-container {
    position: relative;
    z-index: 2;
}

/* Section: Pre-Registration Terminal */
.evex-join {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    border-top: 1px solid rgba(207, 172, 89, 0.16);
    border-bottom: 1px solid rgba(207, 172, 89, 0.12);
}

.evex-join__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.evex-join__bg-img {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 0.82;
    filter: saturate(1.2) brightness(1.05);
}

.evex-join__overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 1200px 650px at 50% 50%, rgba(9, 9, 12, 0.45) 0%, rgba(9, 9, 12, 0.65) 65%, rgba(9, 9, 12, 0.9) 100%),
        linear-gradient(180deg, rgba(9, 9, 12, 0.85) 0%, transparent 80px),
        linear-gradient(180deg, transparent 80%, rgba(9, 9, 12, 0.85) 100%);
}

.evex-join .evex-container {
    position: relative;
    z-index: 2;
}

/* Section 7: War Room Community */
.evex-community {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    border-top: 1px solid rgba(239, 68, 68, 0.16);
}

.evex-community__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.evex-community__bg-img {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    opacity: 0.72;
    filter: saturate(1.15) brightness(1);
}

.evex-community__overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 1100px 600px at 50% 50%, rgba(9, 9, 12, 0.48) 0%, rgba(9, 9, 12, 0.72) 75%, rgba(6, 6, 8, 0.92) 100%),
        linear-gradient(180deg, rgba(9, 9, 12, 0.85) 0%, transparent 80px),
        linear-gradient(180deg, transparent 80%, rgba(6, 6, 8, 0.95) 100%);
}

.evex-community .evex-container {
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   7. SECTION SEPARATORS (LASER BEAM & CHISELED CREST)
   -------------------------------------------------------------------------- */
.evex-separator {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: var(--page);
    margin: -24px auto -24px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
}

/* Center Ambient Radial Flare */
.evex-separator__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(280px, 45vw, 560px);
    height: 48px;
    background: radial-gradient(ellipse at center, rgba(207, 172, 89, 0.28) 0%, rgba(207, 172, 89, 0.08) 50%, transparent 75%);
    filter: blur(14px);
    pointer-events: none;
}

/* Tapered Laser Beam Lines */
.evex-separator__line {
    flex: 1;
    height: 1px;
    position: relative;
}

.evex-separator__line--left {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(179, 178, 170, 0.12) 30%, 
        rgba(207, 172, 89, 0.5) 80%, 
        rgba(250, 224, 138, 0.95) 100%
    );
}

.evex-separator__line--right {
    background: linear-gradient(90deg, 
        rgba(250, 224, 138, 0.95) 0%, 
        rgba(207, 172, 89, 0.5) 20%, 
        rgba(179, 178, 170, 0.12) 70%, 
        transparent 100%
    );
}

/* Sparkle flare over beam edges */
.evex-separator__line-flare {
    position: absolute;
    top: -1px;
    width: 44px;
    height: 3px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(250, 224, 138, 0.85) 0%, transparent 80%);
}

.evex-separator__line--left .evex-separator__line-flare {
    right: 6px;
}

.evex-separator__line--right .evex-separator__line-flare {
    left: 6px;
}

/* Centerpiece Crest Group */
.evex-separator__crest {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    z-index: 2;
}

/* Flanking Micro-Diamonds */
.evex-separator__bracket {
    display: inline-block;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    background: rgba(14, 14, 18, 0.95);
    border: 1px solid var(--gold-border);
    box-shadow: 0 0 6px rgba(207, 172, 89, 0.35);
}

/* Central Chiseled Jewel */
.evex-separator__gem {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(28, 28, 38, 0.98) 0%, rgba(10, 10, 14, 0.98) 100%);
    border: 1.5px solid var(--gold);
    display: grid;
    place-items: center;
    box-shadow: 0 0 18px var(--gold-glow), 0 8px 24px rgba(0, 0, 0, 0.9), inset 0 0 10px rgba(207, 172, 89, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.evex-separator__gem i {
    transform: rotate(-45deg);
    font-size: 0.82rem;
    color: var(--gold-light);
    filter: drop-shadow(0 0 6px var(--gold));
}

/* Specific Motif Accents */
.evex-separator--gem .evex-separator__gem {
    border-color: #f7d473;
    box-shadow: 0 0 20px rgba(247, 212, 115, 0.45), inset 0 0 12px rgba(247, 212, 115, 0.35);
}

.evex-separator--scroll .evex-separator__gem {
    border-color: #cfac59;
}

.evex-separator--vault .evex-separator__gem {
    border-color: #f59e0b;
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.45), inset 0 0 12px rgba(245, 158, 11, 0.35);
}

.evex-separator--shield .evex-separator__gem {
    border-color: #60a5fa;
    box-shadow: 0 0 22px rgba(96, 165, 250, 0.4), inset 0 0 12px rgba(96, 165, 250, 0.3);
}
.evex-separator--shield .evex-separator__gem i {
    color: #93c5fd;
    filter: drop-shadow(0 0 6px #60a5fa);
}

.evex-separator--compass .evex-separator__gem {
    border-color: #34d399;
    box-shadow: 0 0 22px rgba(52, 211, 153, 0.4), inset 0 0 12px rgba(52, 211, 153, 0.3);
}
.evex-separator--compass .evex-separator__gem i {
    color: #6ee7b7;
    filter: drop-shadow(0 0 6px #34d399);
}

.evex-separator--swords .evex-separator__gem {
    border-color: #ef4444;
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.4), inset 0 0 12px rgba(239, 68, 68, 0.3);
}
.evex-separator--swords .evex-separator__gem i {
    color: #fca5a5;
    filter: drop-shadow(0 0 6px #ef4444);
}

.evex-section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(40px, 6vw, 68px);
}

.evex-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.evex-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.evex-section-desc {
    color: var(--text-secondary);
    font-size: clamp(0.98rem, 1.6vw, 1.12rem);
    line-height: 1.65;
}

/* Imperial Badge */
.evex-badge-wrap {
    margin-bottom: 20px;
}

.evex-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(20, 20, 28, 0.85);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(250, 224, 138, 0.2);
}

.evex-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 10px var(--gold);
}

.evex-badge__dot.is-pulsing {
    background: var(--beacon-green);
    box-shadow: 0 0 10px var(--beacon-green);
    animation: beaconPulse 1.8s infinite ease-in-out;
}

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

/* --------------------------------------------------------------------------
   8. HEADER & FLOATING NAVIGATION
   -------------------------------------------------------------------------- */
.evex-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

.evex-header.is-scrolled {
    background: rgba(9, 9, 12, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gold-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
    height: 74px;
}

.evex-nav-container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 32px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.evex-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.evex-brand__logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
}

.evex-brand:hover .evex-brand__logo {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 16px var(--gold-glow));
}

/* Desktop Nav Links */
.evex-nav-links {
    display: none;
    align-items: center;
    gap: clamp(12px, 1.8vw, 28px);
}

@media (min-width: 1024px) {
    .evex-nav-links {
        display: flex;
    }
}

.evex-nav-link {
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 2px;
}

.evex-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px var(--gold);
}

.evex-nav-link:hover,
.evex-nav-link.is-active {
    color: var(--gold-light);
}

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

/* Nav Actions Hub */
.evex-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.evex-status-pill {
    display: none;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 15px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6ee7b7;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(110, 231, 183, 0.15);
    transition: all 0.25s ease;
}

.evex-status-pill:hover {
    border-color: rgba(52, 211, 153, 0.6);
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

@media (min-width: 1100px) {
    .evex-status-pill {
        display: inline-flex;
    }
}

.evex-status-beacon {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--beacon-green);
    box-shadow: 0 0 8px var(--beacon-green);
    animation: beaconPulse 1.8s infinite ease-in-out;
}

.evex-icon-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.35);
    color: #8591f8;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

.evex-icon-btn:hover {
    color: #ffffff;
    background: #5865F2;
    border-color: #5865F2;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.45);
}

/* Mobile Toggle Hamburger */
.evex-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 38px;
    height: 38px;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--stone-border);
    cursor: pointer;
    transition: border-color 0.25s ease;
}

.evex-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold-light);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.evex-mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.evex-mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.evex-mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .evex-mobile-toggle {
        display: none;
    }
}

/* Mobile Drawer */
.evex-mobile-drawer {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 9, 12, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--gold-border);
    padding: 28px 24px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.evex-mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.evex-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}

.evex-mobile-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--stone-border);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.evex-mobile-link i {
    color: var(--gold);
    width: 20px;
    text-align: center;
}

.evex-mobile-link:hover {
    border-color: var(--gold);
    background: rgba(207, 172, 89, 0.1);
    color: var(--gold-light);
}

.evex-btn--mobile-cta {
    width: 100%;
    margin-bottom: 24px;
    padding: 14px;
}

.evex-mobile-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.evex-social-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--stone-border);
    font-size: 0.82rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. HERO SECTION & RELIC DISPLAY
   -------------------------------------------------------------------------- */
.evex-hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-obsidian);
}

.evex-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* web_bg_hero main background image */
.evex-hero__bg-img {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 25%;
    opacity: 1;
    transform: scale(1.01);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

@media (min-width: 1440px) {
    .evex-hero__bg-img {
        background-position: center 22%;
    }
}

@media (max-width: 1439px) and (min-width: 1024px) {
    .evex-hero__bg-img {
        background-position: center 20%;
    }
}

@media (max-width: 1023px) and (min-width: 640px) {
    .evex-hero__bg-img {
        background-position: 65% 15%;
    }
}

@media (max-width: 639px) {
    .evex-hero__bg-img {
        background-position: 70% 10%;
        opacity: 0.95;
    }
}

/* Centered Text Contrast Shield: gently isolates center content without darkening the assassin on the left or knight on the right */
.evex-hero__vignette-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 980px 680px at 50% 46%, rgba(9, 9, 12, 0.65) 0%, rgba(9, 9, 12, 0.28) 62%, transparent 100%);
    pointer-events: none;
}

@media (max-width: 1023px) {
    .evex-hero__vignette-radial {
        background: radial-gradient(ellipse 850px 700px at 50% 45%, rgba(9, 9, 12, 0.72) 0%, rgba(9, 9, 12, 0.4) 65%, transparent 100%);
    }
}

/* Gentle Top Blend for Navbar */
.evex-hero__vignette-linear {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 9, 12, 0.65) 0%, rgba(9, 9, 12, 0.15) 90px, transparent 180px);
    pointer-events: none;
}

.evex-hero__ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.evex-hero__ambient-glow--gold {
    width: 650px;
    height: 650px;
    top: 5%;
    right: -100px;
    background: radial-gradient(circle, rgba(207, 172, 89, 0.14) 0%, transparent 70%);
}

.evex-hero__ambient-glow--stone {
    width: 500px;
    height: 500px;
    top: 40%;
    left: -150px;
    background: radial-gradient(circle, rgba(179, 178, 170, 0.06) 0%, transparent 70%);
}

/* Centered Grand Cinematic Stage */
@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.evex-hero__center-stage {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
}

.evex-hero__center-stage > * {
    animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.evex-hero__center-stage .evex-badge-wrap { animation-delay: 0.08s; }
.evex-hero__center-stage .evex-hero__emblem-wrap { animation-delay: 0.16s; }
.evex-hero__center-stage .evex-hero__title { animation-delay: 0.22s; }
.evex-hero__center-stage .evex-hero__lead { animation-delay: 0.28s; }
.evex-hero__center-stage .evex-hero__actions { animation-delay: 0.36s; }
.evex-hero__center-stage .evex-hero__social-proof-wrap { animation-delay: 0.44s; }
.evex-hero__center-stage .evex-hero__hud-dock { animation-delay: 0.52s; }

.evex-hero__emblem-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.evex-hero__emblem {
    width: min(440px, 86vw);
    max-height: 140px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(207, 172, 89, 0.32));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.evex-hero__emblem:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 45px rgba(250, 224, 138, 0.45));
}

.evex-hero__title {
    margin-bottom: 14px;
}

.evex-hero__title-sub {
    display: block;
    font-family: var(--font-ui);
    font-size: clamp(0.78rem, 1.4vw, 0.96rem);
    font-weight: 800;
    letter-spacing: 0.32em;
    color: var(--gold);
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.evex-hero__lead {
    color: #c8c6be;
    font-size: clamp(0.94rem, 1.3vw, 1.05rem);
    line-height: 1.68;
    max-width: 660px;
    margin: 0 auto 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

/* Server Stats Inside HUD Dock */
.evex-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .evex-hero__stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
        margin-bottom: 0;
    }
}

/* Individual HUD Stat Tablet */
.evex-stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 86px;
    padding: 13px 16px 14px;
    background: linear-gradient(180deg, rgba(24, 24, 34, 0.85) 0%, rgba(12, 12, 18, 0.94) 100%);
    border: 1px solid rgba(207, 172, 89, 0.22);
    border-radius: 12px;
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(254, 240, 138, 0.16),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    cursor: default;
}

/* Stat card top specular hairline */
.evex-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(254, 240, 138, 0.4) 50%, transparent 100%);
    pointer-events: none;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.evex-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(250, 224, 138, 0.58);
    background: linear-gradient(180deg, rgba(32, 32, 48, 0.92) 0%, rgba(16, 16, 24, 0.98) 100%);
    box-shadow: 
        0 10px 28px rgba(0, 0, 0, 0.72),
        0 0 20px rgba(207, 172, 89, 0.2),
        inset 0 1px 0 rgba(254, 240, 138, 0.35);
}

.evex-stat-card:hover::before {
    opacity: 1;
}

.evex-stat-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.evex-stat-card__k {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #9e9581;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
    transition: color 0.25s ease;
}

.evex-stat-card:hover .evex-stat-card__k {
    color: #fae08a;
}

.evex-stat-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(207, 172, 89, 0.08);
    border: 1px solid rgba(207, 172, 89, 0.24);
    color: var(--gold-light, #fae08a);
    font-size: 0.76rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(254, 240, 138, 0.12);
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.evex-stat-card:hover .evex-stat-card__icon {
    background: rgba(207, 172, 89, 0.22);
    border-color: rgba(250, 224, 138, 0.65);
    color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 0 14px rgba(207, 172, 89, 0.45);
}

.evex-stat-card__v {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: clamp(0.96rem, 1.35vw, 1.15rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Protection Active Status Beacon */
.evex-stat-card--protection .evex-stat-card__icon {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.32);
    color: #34d399;
}

.evex-stat-card--protection:hover {
    border-color: rgba(52, 211, 153, 0.55);
    box-shadow: 
        0 10px 28px rgba(0, 0, 0, 0.72),
        0 0 20px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(110, 231, 183, 0.3);
}

.evex-stat-card--protection:hover .evex-stat-card__icon {
    background: rgba(16, 185, 129, 0.24);
    border-color: rgba(52, 211, 153, 0.75);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
}

.evex-stat-dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.evex-stat-dot__core {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981, 0 0 4px #34d399;
    position: relative;
    z-index: 2;
}

.evex-stat-dot__ping {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.45);
    animation: statDotPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes statDotPing {
    0% {
        transform: scale(0.6);
        opacity: 0.95;
    }
    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Hero Actions Hub */
.evex-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.evex-hero__actions .evex-btn {
    min-height: 52px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Primary Gold Button in Hero */
.evex-hero__actions .evex-btn--gold {
    background: linear-gradient(180deg, #fef08a 0%, #f59e0b 26%, #d97706 72%, #b45309 100%);
    color: #120d04 !important;
    border: 1px solid rgba(254, 240, 138, 0.85);
    box-shadow: 
        0 6px 22px rgba(217, 119, 6, 0.38),
        0 2px 6px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.evex-hero__actions .evex-btn--gold::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 11px 11px 0 0;
}

.evex-hero__actions .evex-btn--gold::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -70%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: rotate(25deg);
    transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.evex-hero__actions .evex-btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(217, 119, 6, 0.55),
        0 0 24px rgba(254, 240, 138, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    filter: brightness(1.05);
}

.evex-hero__actions .evex-btn--gold:hover::after {
    transform: translateX(380%) rotate(25deg);
}

.evex-hero__actions .evex-btn--gold:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 10px rgba(217, 119, 6, 0.35),
        inset 0 1px 2px rgba(0, 0, 0, 0.25);
    filter: brightness(0.97);
}

.evex-hero__actions .evex-btn--gold:focus-visible {
    outline: 2px solid #fae08a;
    outline-offset: 3px;
}

/* Secondary Ghost Button in Hero */
.evex-hero__actions .evex-btn--ghost {
    background: linear-gradient(180deg, rgba(24, 24, 34, 0.75) 0%, rgba(14, 14, 20, 0.92) 100%);
    color: #f5f4ef !important;
    border: 1px solid rgba(207, 172, 89, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.evex-hero__actions .evex-btn--ghost:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(32, 32, 46, 0.88) 0%, rgba(18, 18, 26, 0.96) 100%);
    border-color: rgba(250, 224, 138, 0.65);
    color: #ffffff !important;
    box-shadow: 
        0 10px 28px rgba(0, 0, 0, 0.6),
        0 0 22px rgba(207, 172, 89, 0.22),
        inset 0 1px 0 rgba(254, 240, 138, 0.25);
}

.evex-hero__actions .evex-btn--ghost:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.evex-hero__actions .evex-btn--ghost:focus-visible {
    outline: 2px solid rgba(250, 224, 138, 0.8);
    outline-offset: 3px;
}

.evex-btn__icon {
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.evex-hero__actions .evex-btn--ghost .evex-btn__icon {
    color: var(--gold-light, #fae08a);
}

.evex-hero__actions .evex-btn:hover .evex-btn__icon {
    transform: scale(1.1);
}

.evex-btn__label {
    display: inline-block;
    line-height: 1;
}

.evex-btn__arrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    margin-left: 2px;
    opacity: 0.85;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}

.evex-hero__actions .evex-btn:hover .evex-btn__arrow {
    transform: translateX(4px);
    opacity: 1;
}

@media (max-width: 560px) {
    .evex-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 420px;
    }

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

/* Social Proof Pill */
.evex-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 22px;
    border-radius: var(--radius-full);
    background: linear-gradient(180deg, rgba(20, 20, 28, 0.72) 0%, rgba(12, 12, 17, 0.88) 100%);
    border: 1px solid rgba(207, 172, 89, 0.2);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-size: 0.86rem;
    color: var(--text-secondary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.evex-social-proof:hover {
    border-color: rgba(250, 224, 138, 0.5);
    color: #ffffff;
    background: linear-gradient(180deg, rgba(26, 26, 38, 0.88) 0%, rgba(16, 16, 23, 0.95) 100%);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(207, 172, 89, 0.2),
        inset 0 1px 0 rgba(254, 240, 138, 0.2);
    transform: translateY(-1px);
}

.evex-social-proof__beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--beacon-green);
    box-shadow: 0 0 10px var(--beacon-green);
    animation: beaconPulse 1.8s infinite ease-in-out;
}

.evex-social-proof i.fa-users {
    color: var(--gold-light, #fae08a);
}

.evex-social-proof strong {
    color: var(--gold-light);
    font-weight: 700;
}

.evex-social-proof__sep {
    color: var(--text-muted);
}

.evex-social-proof__trending {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fbbf24;
}

.evex-hero__social-proof-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    width: 100%;
}

/* Master Realm HUD Showcase Dock */
.evex-hero__hud-dock {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 26px auto 0;
    background: 
        radial-gradient(ellipse 700px 140px at 50% 0%, rgba(250, 224, 138, 0.13) 0%, transparent 70%),
        linear-gradient(180deg, rgba(22, 22, 32, 0.8) 0%, rgba(10, 10, 15, 0.92) 100%);
    border: 1px solid rgba(207, 172, 89, 0.28);
    border-radius: 18px;
    padding: 16px 20px 20px;
    box-shadow: 
        0 24px 60px -10px rgba(0, 0, 0, 0.85),
        0 0 35px -5px rgba(207, 172, 89, 0.12),
        inset 0 1px 0 rgba(254, 240, 138, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Top Laser Hairline Beam */
.evex-hero__hud-dock::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(254, 240, 138, 0.65) 50%, transparent 100%);
    pointer-events: none;
    z-index: 3;
    opacity: 0.75;
    transition: opacity 0.35s ease;
}

.evex-hero__hud-dock:hover {
    border-color: rgba(250, 224, 138, 0.5);
    background: 
        radial-gradient(ellipse 750px 160px at 50% 0%, rgba(250, 224, 138, 0.18) 0%, transparent 70%),
        linear-gradient(180deg, rgba(26, 26, 38, 0.88) 0%, rgba(12, 12, 18, 0.96) 100%);
    box-shadow: 
        0 28px 70px -10px rgba(0, 0, 0, 0.9),
        0 0 45px -5px rgba(207, 172, 89, 0.2),
        inset 0 1px 0 rgba(254, 240, 138, 0.4);
}

.evex-hero__hud-dock:hover::before {
    opacity: 1;
}

/* Decorative Corner Filigree Accents */
.evex-hud-dock__corner {
    position: absolute;
    width: 8px;
    height: 8px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.65;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.evex-hero__hud-dock:hover .evex-hud-dock__corner {
    opacity: 1;
}

.evex-hud-dock__corner--tl {
    top: 5px;
    left: 5px;
    border-top: 2px solid rgba(250, 224, 138, 0.85);
    border-left: 2px solid rgba(250, 224, 138, 0.85);
}

.evex-hud-dock__corner--tr {
    top: 5px;
    right: 5px;
    border-top: 2px solid rgba(250, 224, 138, 0.85);
    border-right: 2px solid rgba(250, 224, 138, 0.85);
}

.evex-hud-dock__corner--bl {
    bottom: 5px;
    left: 5px;
    border-bottom: 2px solid rgba(250, 224, 138, 0.85);
    border-left: 2px solid rgba(250, 224, 138, 0.85);
}

.evex-hud-dock__corner--br {
    bottom: 5px;
    right: 5px;
    border-bottom: 2px solid rgba(250, 224, 138, 0.85);
    border-right: 2px solid rgba(250, 224, 138, 0.85);
}

/* Top Meta Console Header */
.evex-hud-dock__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(207, 172, 89, 0.15);
    position: relative;
    z-index: 2;
}

/* Center Filigree Crest Divider */
.evex-hud-dock__crest {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .evex-hud-dock__crest {
        display: inline-flex;
    }
}

.evex-hud-dock__crest::before,
.evex-hud-dock__crest::after {
    content: "";
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(207, 172, 89, 0.35));
}

.evex-hud-dock__crest::after {
    background: linear-gradient(90deg, rgba(207, 172, 89, 0.35), transparent);
}

.evex-hud-dock__crest-gem {
    width: 6px;
    height: 6px;
    transform: rotate(45deg);
    background: var(--gold);
    box-shadow: 0 0 8px rgba(250, 224, 138, 0.6);
}

.evex-clock-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    background: rgba(14, 14, 22, 0.7);
    border: 1px solid rgba(207, 172, 89, 0.22);
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
    color: #b8b7ae;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(250, 224, 138, 0.12);
    transition: all 0.25s ease;
}

.evex-clock-pill:hover {
    border-color: rgba(250, 224, 138, 0.45);
    background: rgba(20, 20, 30, 0.85);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 12px rgba(207, 172, 89, 0.15);
}

.evex-clock-pill i {
    color: var(--gold-light);
    font-size: 0.85rem;
    filter: drop-shadow(0 0 6px rgba(250, 224, 138, 0.5));
}

.evex-clock-val {
    color: #ffffff;
    font-family: var(--font-ui), monospace;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(180deg, #ffffff 0%, #fae08a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.evex-phase-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.09);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #6ee7b7;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(110, 231, 183, 0.15);
    transition: all 0.25s ease;
}

.evex-phase-tag:hover {
    border-color: rgba(52, 211, 153, 0.65);
    background: rgba(16, 185, 129, 0.16);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

/* Responsive Scaling for HUD Dock */
@media (max-width: 767px) {
    .evex-hero__hud-dock {
        padding: 12px 14px 16px;
        margin-top: 18px;
        border-radius: 14px;
    }

    .evex-hud-dock__meta {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .evex-hero__stats {
        gap: 10px;
    }

    .evex-stat-card {
        min-height: 74px;
        padding: 10px 12px;
    }

    .evex-stat-card__k {
        font-size: 0.6rem;
    }

    .evex-stat-card__v {
        font-size: 0.95rem;
    }

    .evex-stat-card__icon {
        width: 22px;
        height: 22px;
        font-size: 0.68rem;
    }
}

/* Scroll Prompt Indicator */
.evex-scroll-prompt {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin: clamp(20px, 3.5vh, 36px) auto 0;
    position: relative;
    z-index: 3;
    color: #a49c89;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.evex-scroll-prompt:hover {
    color: #fae08a;
    transform: translateY(2px);
}

.evex-scroll-prompt__mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(207, 172, 89, 0.45);
    border-radius: var(--radius-full);
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6), inset 0 0 8px rgba(207, 172, 89, 0.12);
}

.evex-scroll-prompt__wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: #fae08a;
    border-radius: var(--radius-full);
    box-shadow: 0 0 6px #fae08a;
    animation: scrollWheel 1.6s ease-in-out infinite;
}

.evex-scroll-prompt i {
    font-size: 0.72rem;
    color: var(--gold);
    animation: chevronBounce 1.6s ease-in-out infinite;
}

@keyframes chevronBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(4px); opacity: 1; }
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 14px); opacity: 0; }
}




/* --------------------------------------------------------------------------
   10. REALM DEPLOYMENT NEXUS (BETA & GRAND OPENING)
   -------------------------------------------------------------------------- */
.evex-nexus-section {
    position: relative;
    z-index: 2;
    padding: clamp(60px, 9vw, 110px) 0;
    overflow: hidden;
    background: transparent !important;
    border-top: 1px solid rgba(207, 172, 89, 0.16);
    border-bottom: 1px solid rgba(207, 172, 89, 0.12);
}

.evex-nexus-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.nexus-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.nexus-glow--beta {
    width: 520px;
    height: 520px;
    top: 20%;
    left: -120px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.09) 0%, transparent 70%);
}

.nexus-glow--grand {
    width: 600px;
    height: 600px;
    top: 15%;
    right: -140px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.13) 0%, transparent 70%);
}

/* Header */
.evex-nexus-header {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto clamp(36px, 6vw, 56px);
}

.nexus-header-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: clamp(280px, 60vw, 560px);
    height: 140px;
    background: radial-gradient(ellipse at center, rgba(207, 172, 89, 0.16) 0%, rgba(207, 172, 89, 0.04) 50%, transparent 75%);
    filter: blur(28px);
    pointer-events: none;
    z-index: -1;
}

/* Strategic Deployment Protocols Crest */
.evex-kicker-crest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 18px);
    margin-bottom: 20px;
    position: relative;
}

/* Flourish Wings */
.kicker-flourish {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kicker-flourish .flourish-line {
    width: clamp(28px, 5vw, 54px);
    height: 1px;
}

.kicker-flourish--left .flourish-line {
    background: linear-gradient(90deg, transparent, rgba(207, 172, 89, 0.85));
}

.kicker-flourish--right .flourish-line {
    background: linear-gradient(90deg, rgba(207, 172, 89, 0.85), transparent);
}

.flourish-diamond {
    display: inline-block;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #fef08a 0%, #d4af37 60%, #854d0e 100%);
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
    flex-shrink: 0;
}

.flourish-diamond--sm {
    width: 4px;
    height: 4px;
    opacity: 0.75;
}

.flourish-diamond--lg {
    width: 7px;
    height: 7px;
}

/* The Imperial Crest Badge */
.evex-kicker-crest .kicker-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px clamp(16px, 2.5vw, 24px);
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(207, 172, 89, 0.22) 0%, transparent 70%),
        linear-gradient(180deg, rgba(28, 24, 18, 0.95) 0%, rgba(13, 13, 18, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius-full);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(207, 172, 89, 0.2),
        inset 0 1px 0 rgba(254, 240, 138, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.evex-kicker-crest .kicker-badge:hover {
    border-color: rgba(250, 224, 138, 0.75);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.8),
        0 0 35px rgba(207, 172, 89, 0.35),
        inset 0 1px 0 rgba(254, 240, 138, 0.5);
    transform: translateY(-1px);
}

/* Pulsing Radar Beacon inside Badge */
.kicker-pulse-radar {
    position: relative;
    width: 8px;
    height: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kicker-pulse-radar .radar-core {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.kicker-pulse-radar .radar-wave {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid rgba(16, 185, 129, 0.8);
    animation: radarWavePulse 1.8s infinite ease-out;
}

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

.kicker-icon {
    font-size: 0.82rem;
    color: var(--gold-light, #fde047);
    filter: drop-shadow(0 0 6px rgba(253, 224, 71, 0.5));
}

.kicker-text {
    font-family: var(--font-ui);
    font-size: clamp(0.72rem, 1.4vw, 0.78rem);
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #fae08a 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.evex-nexus-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    line-height: 1.12;
    margin: 0 0 16px;
}

.evex-nexus-tagline {
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   REALM LAUNCH PROGRESS TIMELINE (DEV -> BETA -> GRAND OPENING)
   ========================================================================== */
.evex-timeline-console {
    position: relative;
    z-index: 3;
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 44px);
    background: 
        radial-gradient(ellipse 700px 240px at 50% 0%, rgba(207, 172, 89, 0.12) 0%, transparent 70%),
        linear-gradient(180deg, rgba(22, 22, 30, 0.85) 0%, rgba(13, 13, 18, 0.95) 100%);
    border: 1px solid rgba(207, 172, 89, 0.28);
    border-radius: var(--radius-lg, 16px);
    box-shadow: 
        0 24px 60px -12px rgba(0, 0, 0, 0.85),
        0 0 35px -8px rgba(207, 172, 89, 0.16),
        inset 0 1px 0 rgba(250, 224, 138, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* HUD Top Metrics Row */
.timeline-hud-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: clamp(34px, 5vw, 50px);
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(207, 172, 89, 0.15);
}

@media (max-width: 860px) {
    .timeline-hud-bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.timeline-hud-item {
    background: rgba(14, 14, 20, 0.65);
    border: 1px solid rgba(207, 172, 89, 0.18);
    border-radius: var(--radius-md, 10px);
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-hud-item:hover {
    border-color: rgba(207, 172, 89, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(250, 224, 138, 0.15);
}

.timeline-hud-item .hud-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-muted, #948b75);
    margin-bottom: 6px;
}

/* Stage Tracker Metric */
.hud-status-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hud-beacon-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: beaconPulseWave 2s infinite ease-out;
    flex-shrink: 0;
}

.timeline-current-stage {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.3);
}

/* Countdown Metric */
.hud-countdown-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: #e2e8f0;
    flex-wrap: wrap;
}

.hud-countdown-wrap i {
    color: var(--gold, #d4af37);
    font-size: 0.9rem;
}

.timeline-next-name {
    font-weight: 700;
    color: #f1f5f9;
}

.hud-sep {
    color: rgba(207, 172, 89, 0.5);
    font-weight: 700;
}

.hud-cd-val {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--gold-light, #fde047);
    text-shadow: 0 0 10px rgba(253, 224, 71, 0.4);
}

/* Conquest Gauge Metric */
.hud-gauge-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hud-gauge-val {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fbbf24;
    text-shadow: 0 0 14px rgba(251, 191, 36, 0.5);
}

.hud-gauge-sub {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--text-muted, #78716c);
}

/* Horizontal Track Stage */
.timeline-track-stage {
    position: relative;
    margin: 32px clamp(20px, 4.5vw, 44px) 14px;
    padding-bottom: 96px;
}

@media (max-width: 580px) {
    .timeline-track-stage {
        margin: 28px 12px 10px;
        padding-bottom: 104px;
    }
}

/* Conduit Channel Bar */
.timeline-channel {
    position: relative;
    width: 100%;
    height: 10px;
    background: rgba(10, 10, 14, 0.95);
    border-radius: 999px;
    border: 1px solid rgba(207, 172, 89, 0.25);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 0, 0, 0.6);
}

/* Dynamic Gold Fill Bar */
.timeline-fill-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #b8860b 0%, #d4af37 40%, #fbbf24 80%, #fef08a 100%);
    box-shadow: 
        0 0 16px rgba(251, 191, 36, 0.65), 
        0 0 32px rgba(212, 175, 55, 0.4);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-fill-flare {
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 16px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(251, 191, 36, 0.6) 45%, transparent 75%);
    pointer-events: none;
}

/* Animated Glowing Beacon Head */
.timeline-beacon-head {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 6;
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.beacon-halo {
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.6) 0%, rgba(207, 172, 89, 0.2) 50%, transparent 75%);
    animation: beaconHaloPulse 2.2s infinite ease-in-out;
}

.beacon-core {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #eab308;
    box-shadow: 0 0 12px #fde047, 0 0 24px #ca8a04;
}

/* Milestone Anchors */
.timeline-milestones {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
}

.milestone-node {
    position: absolute;
    top: 0;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Stage 01: Dev Node (anchored inward from left: 0%) */
.milestone-node--dev {
    transform: translateX(0);
    align-items: flex-start;
    text-align: left;
}

.milestone-node--dev .node-emblem {
    margin-left: -22px; /* Centers 44px emblem precisely over track 0% */
}

.milestone-node--dev .node-details {
    align-items: flex-start;
    text-align: left;
    margin-left: -22px; /* Aligns flush with the left curve of the emblem, remaining fully inside the frame */
}

/* Stage 02: Beta Phase Node (centered at left: 50%) */
.milestone-node--beta {
    transform: translateX(-50%);
    align-items: center;
    text-align: center;
}

.milestone-node--beta .node-emblem {
    margin-left: 0;
}

.milestone-node--beta .node-details {
    align-items: center;
    text-align: center;
}

/* Stage 03: Grand Opening Node (anchored inward from left: 100%) */
.milestone-node--grand {
    transform: translateX(-100%);
    align-items: flex-end;
    text-align: right;
}

.milestone-node--grand .node-emblem {
    margin-right: -22px; /* Centers 44px emblem precisely over track 100% */
}

.milestone-node--grand .node-details {
    align-items: flex-end;
    text-align: right;
    margin-right: -22px; /* Aligns flush with the right curve of the emblem, remaining fully inside the frame */
}

/* Emblem Ring & Icon */
.milestone-node .node-emblem {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #111117;
    border: 2px solid rgba(207, 172, 89, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -17px;
    position: relative;
    z-index: 4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.milestone-node .node-icon {
    font-size: 1.05rem;
    color: #948b75;
    transition: color 0.3s;
}

.milestone-node .node-check {
    display: none;
    font-size: 1.05rem;
    color: #10b981;
}

/* Node Text Details */
.milestone-node .node-details {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}

.milestone-node .node-stage {
    font-family: var(--font-ui);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--gold-muted, #948b75);
    margin-bottom: 2px;
}

.milestone-node .node-title {
    font-family: var(--font-display);
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin-bottom: 2px;
}

.milestone-node .node-meta {
    font-size: 0.74rem;
    color: #94a3b8;
    letter-spacing: 0.03em;
}

/* Node States: Pending / Active / Completed */
.milestone-node.is-pending {
    opacity: 0.62;
}

.milestone-node.is-pending .node-emblem {
    border-color: rgba(148, 163, 184, 0.25);
    background: #0d0d12;
}

.milestone-node.is-pending .node-title {
    color: #94a3b8;
}

.milestone-node.is-active {
    opacity: 1;
}

.milestone-node.is-active .node-emblem {
    border-color: #fde047;
    background: radial-gradient(circle, #2d230e 0%, #151109 100%);
    box-shadow: 
        0 0 22px rgba(250, 204, 21, 0.55), 
        inset 0 0 12px rgba(250, 204, 21, 0.4);
    transform: scale(1.16);
}

.milestone-node.is-active .node-icon {
    color: #fde047;
    filter: drop-shadow(0 0 6px rgba(253, 224, 71, 0.6));
}

.milestone-node.is-active .node-stage {
    color: #fbbf24;
}

.milestone-node.is-active .node-title {
    color: #ffffff;
    text-shadow: 0 0 14px rgba(250, 204, 21, 0.45);
}

.milestone-node.is-completed {
    opacity: 1;
}

.milestone-node.is-completed .node-emblem {
    border-color: #10b981;
    background: radial-gradient(circle, #083c27 0%, #081d15 100%);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.45);
}

.milestone-node.is-completed .node-icon {
    display: none;
}

.milestone-node.is-completed .node-check {
    display: block;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.7));
}

.milestone-node.is-completed .node-stage {
    color: #10b981;
}

.milestone-node.is-completed .node-title {
    color: #e2e8f0;
}

/* Mobile Milestone Responsiveness */
@media (max-width: 640px) {
    .milestone-node .node-title {
        font-size: 0.88rem;
    }

    .milestone-node .node-stage {
        font-size: 0.58rem;
    }

    .milestone-node .node-meta {
        font-size: 0.66rem;
        white-space: normal;
        max-width: 110px;
        line-height: 1.3;
    }

    .milestone-node--dev .node-meta {
        text-align: left;
    }

    .milestone-node--beta .node-meta {
        text-align: center;
    }

    .milestone-node--grand .node-meta {
        text-align: right;
    }
}

/* Beacon Keyframe Animations */
@keyframes beaconHaloPulse {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.35);
        opacity: 0.95;
    }
}

@keyframes beaconPulseWave {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* --------------------------------------------------------------------------
   11. PRE-REGISTRATION TERMINAL & FORM
   -------------------------------------------------------------------------- */
.evex-join-terminal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    background: rgba(16, 16, 24, 0.62);
    border: 1px solid rgba(207, 172, 89, 0.28);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 6vw, 56px);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(250, 224, 138, 0.2);
}

@media (min-width: 1024px) {
    .evex-join-terminal {
        grid-template-columns: 1.1fr 1fr;
        gap: 56px;
        align-items: center;
    }
}

.evex-join-terminal__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.evex-join-terminal__desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 32px;
}

.evex-trust-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.evex-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.evex-trust-item__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(207, 172, 89, 0.12);
    border: 1px solid var(--gold-border);
    display: grid;
    place-items: center;
    color: var(--gold-light);
    flex-shrink: 0;
}

.evex-trust-item__body strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.evex-trust-item__body span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Live Terminal Counter Box */
.evex-live-counter {
    background: rgba(10, 10, 14, 0.7);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.evex-live-counter__head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 6px;
}

.evex-live-counter__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--beacon-green);
    box-shadow: 0 0 10px var(--beacon-green);
    animation: beaconPulse 1.8s infinite;
}

.evex-live-counter__number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(207, 172, 89, 0.4);
}

.evex-live-counter__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.evex-live-counter__trend {
    color: #fbbf24;
    font-weight: 700;
}

/* Form Card Styling */
.evex-join-terminal__form-card {
    position: relative;
    background: rgba(14, 14, 20, 0.72);
    border: 1px solid rgba(207, 172, 89, 0.28);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 5vw, 40px);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(250, 224, 138, 0.15);
}

.evex-join-terminal__form-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(207, 172, 89, 0.16) 0%, transparent 60%);
    pointer-events: none;
    border-radius: var(--radius-lg);
}

.evex-join-terminal__form-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--stone-border);
}

.evex-auth-avatar img {
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 0 10px var(--gold-glow));
}

.evex-form-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
}

.evex-form-subtitle {
    font-size: 0.84rem;
    color: var(--text-secondary);
}

/* Form Elements Overhauls */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.sheet-line {
    position: relative;
    display: flex;
    align-items: center;
}

.sheet-line .form-icon {
    position: absolute;
    left: 16px;
    color: var(--gold);
    font-size: 0.95rem;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(8, 8, 12, 0.85);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-input:focus {
    border-color: var(--gold-light);
    background: rgba(12, 12, 18, 0.95);
    box-shadow: 0 0 20px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sheet-hint {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.passcode-toggle {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.passcode-toggle:hover {
    color: var(--gold-light);
}

.password-requirements {
    background: rgba(8, 8, 12, 0.6);
    border: 1px solid var(--stone-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.password-requirements ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.password-requirements li {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-requirements li .req-icon {
    font-size: 0.55rem;
    color: var(--text-muted);
}

.password-requirements li.is-valid {
    color: #6ee7b7;
}
.password-requirements li.is-valid .req-icon {
    color: var(--beacon-green);
}

.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.form-checkbox {
    accent-color: var(--gold);
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.84rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-checkbox-label a {
    color: var(--gold-light);
    text-decoration: underline;
}

.btn-register {
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-md);
    background: var(--gold-gradient);
    color: #08080a !important;
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid var(--gold-light);
    box-shadow: 0 6px 25px rgba(207, 172, 89, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(207, 172, 89, 0.6);
    filter: brightness(1.08);
}

/* Bonus Banner Inside Form */
.register-bonus {
    background: linear-gradient(90deg, rgba(207, 172, 89, 0.18) 0%, rgba(207, 172, 89, 0.06) 100%);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--gold-light);
    font-weight: 600;
}

.os-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 0.85rem;
}

.os-alert--danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.os-alert--warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fde68a;
}


/* --------------------------------------------------------------------------
   12. WAR ROOM & COMMUNITY HUB
   -------------------------------------------------------------------------- */
.evex-community-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 1024px) {
    .evex-community-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.evex-comm-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 5vw, 40px);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.evex-comm-card__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(207, 172, 89, 0.1) 0%, transparent 60%);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.evex-comm-card__head {
    display: flex;
    align-items: center;
    gap: 18px;
}

.evex-comm-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.evex-comm-icon--discord {
    background: rgba(88, 101, 242, 0.18);
    border: 1px solid rgba(88, 101, 242, 0.45);
    color: #5865F2;
}

.evex-comm-icon--facebook {
    background: rgba(24, 119, 242, 0.18);
    border: 1px solid rgba(24, 119, 242, 0.45);
    color: #1877f2;
}

.evex-comm-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 2px;
}

.evex-comm-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--text-primary);
}

.evex-comm-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.evex-comm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.evex-comm-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.evex-comm-stat__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--beacon-green);
    box-shadow: 0 0 8px var(--beacon-green);
}

.evex-social-links-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.evex-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--stone-border);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.evex-social-btn:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(207, 172, 89, 0.12);
}

.evex-verified-pill {
    font-size: 0.8rem;
    color: #6ee7b7;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. FOOTER & CREDITS
   -------------------------------------------------------------------------- */
.evex-footer {
    position: relative;
    z-index: 2;
    background: var(--bg-void);
    border-top: 1px solid var(--gold-border);
    padding-top: 60px;
    padding-bottom: 40px;
}

.evex-footer-totop {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    max-width: var(--page);
    margin-left: auto;
    margin-right: auto;
}

.evex-footer-totop::before,
.evex-footer-totop::after {
    content: "";
    flex: 1;
    height: 1px;
    max-width: clamp(80px, 25vw, 420px);
}

.evex-footer-totop::before {
    background: linear-gradient(90deg, transparent 0%, rgba(179, 178, 170, 0.15) 30%, rgba(207, 172, 89, 0.65) 100%);
}

.evex-footer-totop::after {
    background: linear-gradient(90deg, rgba(207, 172, 89, 0.65) 0%, rgba(179, 178, 170, 0.15) 70%, transparent 100%);
}

.evex-totop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--gold-border);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--gold-light);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.evex-totop-btn:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: rgba(207, 172, 89, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 16px var(--gold-glow);
}

.evex-footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .evex-footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .evex-footer-main {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 48px;
    }
}

.evex-footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
}

.evex-footer-tagline {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 380px;
}

.evex-footer-socials {
    display: flex;
    gap: 10px;
}

.evex-footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--stone-border);
    display: grid;
    place-items: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.evex-footer-social-link:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(207, 172, 89, 0.15);
    transform: translateY(-2px);
}

.evex-footer-col__title {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 20px;
}

.evex-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.evex-footer-links li a {
    color: var(--text-secondary);
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.evex-footer-links li a i {
    font-size: 0.7rem;
    color: var(--gold);
}

.evex-footer-links li a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

.evex-partner-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 2px;
}

.evex-footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border) 50%, transparent);
    margin-bottom: 32px;
}

.evex-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .evex-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.evex-footer-copy p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.evex-legal-disclaimer {
    font-size: 0.74rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   14. DEVELOPER CREDIT: KABLOZ WORDMARK & DISCORD DEV-CARD POPOVER
   -------------------------------------------------------------------------- */
.site-credit-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .site-credit-col {
        justify-content: flex-end;
    }
}

.site-credit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.site-credit__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    text-decoration: none;
    cursor: pointer;
}

.site-credit__wordmark,
.kabloz-wordmark,
.kabloz-logo {
    display: inline-block;
    width: auto;
    height: 42px;
    max-width: min(220px, 58vw);
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .45));
    transition: transform .25s ease, filter .25s ease;
}

.site-credit__link:hover .site-credit__wordmark,
.site-credit__link:hover .kabloz-wordmark,
.site-credit__link:hover .kabloz-logo {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 4px 14px rgba(224, 192, 96, .45));
}

.dev-card {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    z-index: 100;
    width: 320px;
    overflow: hidden;
    border-radius: 10px;
    background: #0b1418;
    border: 1px solid rgba(80, 200, 255, .18);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .75);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

/* Hover bridge between link and popup */
.dev-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
    background: transparent;
}

.site-credit:hover .dev-card,
.site-credit:focus-within .dev-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dev-card__banner {
    display: block;
    height: 100px;
    overflow: hidden;
    background: #061018;
}

.dev-card__banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.dev-card__identity {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 44px;
    margin: -38px 14px 0;
}

.dev-card__avatar {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #000;
    border: 6px solid #0b1418;
    box-sizing: content-box;
    flex: none;
    box-shadow: 0 0 0 2px rgba(64, 220, 255, .75), 0 0 14px rgba(64, 220, 255, .35);
}

.dev-card__avatar img {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: #000;
    padding: 0;
}

.dev-card__status {
    position: absolute;
    right: -1px;
    bottom: 1px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 65% 35%, transparent 42%, #f0b232 43%),
        #0b1418;
    border: 4px solid #0b1418;
    box-sizing: content-box;
}

.dev-card__domain {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .15rem;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: rgba(12, 20, 26, .92);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #d7f3ff;
    font-size: .72rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.dev-card__domain i {
    color: #3ba55d;
    font-size: .75rem;
}

.dev-card__domain:hover {
    color: #fff;
    border-color: rgba(90, 214, 255, .4);
}

.dev-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
    padding: .85rem 16px 16px;
    text-align: left;
}

.dev-card__name {
    margin: 0;
    color: #f2f3f5;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.dev-card__handle {
    margin: 0;
    color: #9bb4c2;
    font-size: .84rem;
    font-weight: 500;
}

.dev-card__tagline {
    margin: .15rem 0 0;
    color: #c5d0d6;
    font-size: .8rem;
    line-height: 1.35;
}

.dev-card__meta {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
    margin-top: .55rem;
}

.dev-card__badge {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    min-height: 24px;
    padding: 0 .55rem;
    border-radius: 999px;
    background: #1a242c;
    border: 1px solid rgba(90, 214, 255, .35);
    color: #7fe7ff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.dev-card__icons {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #8ec4d8;
    font-size: .82rem;
}

.dev-card__actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .45rem;
    width: 100%;
    margin-top: .75rem;
}

.dev-card__msg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 34px;
    border-radius: 8px;
    background: #2b2d31;
    color: #f2f3f5;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.dev-card__msg:hover {
    background: #5865f2;
    color: #fff;
}

.dev-card__icon-btn {
    display: grid;
    place-items: center;
    width: 34px;
    min-height: 34px;
    border-radius: 8px;
    background: #2b2d31;
    color: #f2f3f5;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.dev-card__icon-btn:hover {
    background: #3a3d44;
    color: #fff;
}

.dev-card__rule {
    display: block;
    width: 100%;
    height: 1px;
    margin: .75rem 0 .55rem;
    background: rgba(255, 255, 255, .08);
}

.dev-card__about-k {
    margin: 0;
    color: #9bb4c2;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dev-card__about {
    margin: .3rem 0 0;
    color: #dbdee1;
    font-size: .84rem;
    line-height: 1.45;
    font-weight: 400;
}

.dev-card__link {
    color: #5ad6ff;
    text-decoration: none;
}

.dev-card__link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .site-credit {
        width: 100%;
        text-align: center;
    }

    .dev-card {
        right: 50%;
        left: auto;
        transform: translateX(50%) translateY(8px);
        width: min(320px, 92vw);
    }

    .site-credit:hover .dev-card,
    .site-credit:focus-within .dev-card {
        transform: translateX(50%) translateY(0);
    }
}

/* --------------------------------------------------------------------------
   15. WELCOME / LAUNCH ANNOUNCEMENT MODAL
   -------------------------------------------------------------------------- */
@keyframes modalFadeIn {
    from { opacity: 0; backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); }
    to { opacity: 1; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}

@keyframes modalPopIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(24px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalAuraPulse {
    0% { transform: scale(0.92); opacity: 0.45; }
    50% { transform: scale(1.14); opacity: 0.85; }
    100% { transform: scale(0.92); opacity: 0.45; }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.discord-invite-overlay,
.evex-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: radial-gradient(circle at center, rgba(20, 16, 10, 0.82) 0%, rgba(4, 4, 6, 0.94) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: opacity 0.3s ease;
}

.discord-invite-overlay.visible,
.discord-invite-overlay.is-active,
.evex-modal-overlay.visible,
.evex-modal-overlay.is-active {
    display: flex !important;
    animation: modalFadeIn 0.35s ease-out forwards;
}

.discord-invite-overlay.hidden,
.evex-modal-overlay.hidden {
    display: none !important;
}

.discord-invite-modal,
.evex-modal-card {
    position: relative;
    width: min(540px, 94vw);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
    border-radius: 20px;
    background:
        radial-gradient(460px 220px at 50% 0%, rgba(207, 172, 89, 0.22), transparent 75%),
        radial-gradient(320px 180px at 50% 100%, rgba(245, 158, 11, 0.12), transparent 70%),
        linear-gradient(180deg, #16151c 0%, #0d0c11 55%, #08080a 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.55);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.95),
        0 0 50px rgba(207, 172, 89, 0.22),
        inset 0 1px 0 rgba(255, 235, 180, 0.35),
        inset 0 0 24px rgba(245, 158, 11, 0.08);
    animation: modalPopIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Subtle luxury top accent line */
.discord-invite-modal::before,
.evex-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, #fef08a, #f59e0b, transparent);
    border-radius: 999px;
    pointer-events: none;
    z-index: 5;
}

/* Scrollbar */
.discord-invite-modal::-webkit-scrollbar,
.evex-modal-card::-webkit-scrollbar {
    width: 6px;
}
.discord-invite-modal::-webkit-scrollbar-track,
.evex-modal-card::-webkit-scrollbar-track {
    background: rgba(10, 8, 6, 0.6);
}
.discord-invite-modal::-webkit-scrollbar-thumb,
.evex-modal-card::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.4);
    border-radius: 3px;
}

/* Modal Close Button */
.nr-modal-close,
.evex-modal-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 15 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(20, 16, 12, 0.88) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
    color: #fef3c7 !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.nr-modal-close:hover,
.evex-modal-close:hover {
    background: rgba(180, 83, 9, 0.95) !important;
    border-color: #fde047 !important;
    color: #ffffff !important;
    transform: rotate(90deg) scale(1.1) !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.65) !important;
}

/* Modal Emblem Header & Celestial Aura */
.modal-crest-aura {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 26px;
    padding-bottom: 6px;
}

.modal-aura-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.42) 0%, rgba(207, 172, 89, 0.26) 45%, transparent 72%);
    filter: blur(18px);
    pointer-events: none;
    animation: modalAuraPulse 3.2s ease-in-out infinite;
}

.nr-modal-logo {
    position: relative;
    z-index: 2;
    display: block !important;
    width: 96px !important;
    height: 96px !important;
    margin: 0 auto !important;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 16px rgba(245, 158, 11, 0.45));
    transition: transform 0.3s ease;
}
.nr-modal-logo:hover {
    transform: scale(1.05);
}

.nr-modal-body {
    padding: 8px 28px 24px !important;
    text-align: center;
}

/* Grand Opening Date Pill */
.modal-launch-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.16), rgba(207, 172, 89, 0.24), rgba(245, 158, 11, 0.16));
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fef3c7;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    margin-bottom: 12px;
}
.modal-launch-pill i {
    color: #fbbf24;
    font-size: 0.82rem;
}
.modal-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80, 0 0 20px #22c55e;
    animation: pulseDot 1.5s infinite;
    flex-shrink: 0;
}

/* Modal Title & Subtitle */
.modal-title {
    font-family: var(--font-display, 'Cinzel', serif) !important;
    font-size: clamp(1.8rem, 3.4vw, 2.3rem) !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    line-height: 1.15 !important;
    margin: 0 0 4px !important;
    color: #ffffff !important;
    background: linear-gradient(180deg, #ffffff 0%, #fef3c7 40%, #f59e0b 80%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85));
    text-transform: uppercase;
}

.modal-subtitle {
    font-size: 0.84rem;
    font-weight: 500;
    color: #d4b896;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 18px !important;
    opacity: 0.9;
}

/* Pre-Registration Rewards Box */
.modal-rewards-box {
    position: relative;
    margin: 0 0 18px;
    padding: 18px 14px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(24, 20, 16, 0.94) 0%, rgba(14, 12, 10, 0.96) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.35);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.modal-rewards-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #b45309, #d97706, #78350f);
    border: 1px solid rgba(254, 240, 138, 0.6);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}
.modal-rewards-badge i {
    color: #fef08a;
    font-size: 0.72rem;
}

.modal-perks-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 6px;
    margin-bottom: 14px;
}

@media (max-width: 520px) {
    .modal-perks-row {
        grid-template-columns: 1fr;
    }
}

.modal-perk-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(245, 158, 11, 0.22);
    transition: all 0.25s ease;
}
.modal-perk-item:hover {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.45);
    transform: translateY(-2px);
}

.modal-perk-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(207, 172, 89, 0.22));
    border: 1px solid rgba(245, 158, 11, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fbbf24;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.modal-perk-text strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: #fef3c7;
    line-height: 1.25;
    margin-bottom: 3px;
}
.modal-perk-text small {
    display: block;
    font-size: 0.72rem;
    color: #c4b5a0;
    line-height: 1.3;
}

/* Live Social Momentum Counter */
.modal-momentum-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(10, 8, 6, 0.8);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #d8c4a8;
    font-size: 0.78rem;
}
.modal-momentum-bar strong {
    color: #fbbf24;
    font-weight: 700;
}
.modal-momentum-sep {
    opacity: 0.4;
}
.modal-momentum-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fb923c;
    font-weight: 700;
}
.modal-momentum-trend i {
    color: #f97316;
}

/* Modal Actions */
.nr-modal-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px !important;
    margin-top: 6px !important;
    margin-bottom: 8px !important;
}

@media (min-width: 440px) {
    .nr-modal-actions {
        grid-template-columns: 1.2fr 1fr;
    }
}

.modal-btn--register {
    width: 100% !important;
    min-height: 50px !important;
    padding: 0 1.25rem !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #fef08a 0%, #f59e0b 35%, #d97706 70%, #92400e 100%) !important;
    color: #1a080c !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border: 1.5px solid #fde047 !important;
    box-shadow: 0 8px 26px rgba(245, 158, 11, 0.55), inset 0 1px 0 #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
}
.modal-btn--register:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.1) !important;
    box-shadow: 0 12px 34px rgba(245, 158, 11, 0.75), inset 0 1px 0 #ffffff !important;
    color: #000000 !important;
}

.modal-btn--discord {
    width: 100% !important;
    min-height: 50px !important;
    padding: 0 1.15rem !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(88, 101, 242, 0.25) 0%, rgba(30, 20, 42, 0.88) 100%) !important;
    border: 1.5px solid rgba(88, 101, 242, 0.6) !important;
    color: #e0e7ff !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}
.modal-btn--discord:hover {
    background: linear-gradient(180deg, rgba(88, 101, 242, 0.45) 0%, rgba(45, 30, 65, 0.95) 100%) !important;
    border-color: #5865f2 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 26px rgba(88, 101, 242, 0.5) !important;
}

/* Modal Skip / Continue Action */
.modal-skip-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 8px auto 0 !important;
    padding: 6px 14px !important;
    background: transparent !important;
    border: 0 !important;
    color: #a8947c !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    text-decoration: none !important;
    opacity: 0.75 !important;
    transition: all 0.2s ease !important;
}
.modal-skip-btn:hover {
    opacity: 1 !important;
    color: #fbbf24 !important;
    transform: translateX(2px) !important;
    text-decoration: none !important;
}
.modal-skip-btn i {
    font-size: 0.68rem !important;
    transition: transform 0.2s ease !important;
}
.modal-skip-btn:hover i {
    transform: translateX(3px) !important;
}

/* Form Register Bonus Banner */
.register-bonus-banner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.register-bonus-item {
    background: linear-gradient(90deg, rgba(207, 172, 89, 0.16) 0%, rgba(207, 172, 89, 0.05) 100%);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.register-bonus-item .register-bonus__icon {
    font-size: 1.15rem;
    color: var(--gold-light);
    flex-shrink: 0;
}

.register-bonus-item .register-bonus__info {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.25;
}

.register-bonus-item .register-bonus__title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-light);
}

.register-bonus-item .register-bonus__sub {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   16. STANDALONE INNER PAGES STYLING (RULES / DOWNLOADS / REGISTER)
   -------------------------------------------------------------------------- */
.rules-section {
    position: relative;
    z-index: 2;
    padding: calc(var(--nav-height) + 48px) 0 100px;
    background: radial-gradient(circle 800px at 50% -10%, rgba(207, 172, 89, 0.08), transparent 70%),
                radial-gradient(circle 600px at 85% 20%, rgba(207, 172, 89, 0.04), transparent 60%);
}

.rules-stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

@media (max-width: 991px) {
    .rules-stats-band {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .rules-stats-band {
        grid-template-columns: 1fr;
    }
}

.rules-stat-card {
    background: linear-gradient(135deg, rgba(20, 20, 26, 0.85) 0%, rgba(12, 12, 16, 0.96) 100%);
    border: 1px solid rgba(207, 172, 89, 0.22);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6);
}

.rules-stat-card:hover {
    border-color: rgba(207, 172, 89, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(207, 172, 89, 0.14);
}

.rules-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(207, 172, 89, 0.2), rgba(207, 172, 89, 0.06));
    border: 1px solid rgba(207, 172, 89, 0.35);
    display: grid;
    place-items: center;
    color: var(--gold-light);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.rules-stat-icon--danger {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.rules-stat-icon--warn {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.rules-stat-icon--discord {
    background: rgba(88, 101, 242, 0.14);
    border-color: rgba(88, 101, 242, 0.35);
    color: #7289da;
}

.rules-stat-info strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 12px rgba(207, 172, 89, 0.3);
}

.rules-stat-info small {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 2px;
}

.rules-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
    background: rgba(16, 16, 22, 0.7);
    border: 1px solid rgba(207, 172, 89, 0.18);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.rules-search-wrap {
    position: relative;
    width: 100%;
}

.rules-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
    font-size: 0.95rem;
}

.rules-search-input {
    width: 100%;
    background: rgba(8, 8, 12, 0.85);
    border: 1px solid rgba(207, 172, 89, 0.22);
    border-radius: var(--radius-full);
    padding: 12px 44px 12px 46px;
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.rules-search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.75;
}

.rules-search-input:focus {
    border-color: var(--gold-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(207, 172, 89, 0.15), 0 0 20px rgba(207, 172, 89, 0.1);
}

.rules-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.78rem;
    transition: all 0.2s;
}

.rules-search-clear:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.35);
}

.rules-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.rules-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(207, 172, 89, 0.18);
    color: var(--text-secondary);
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rules-tab:hover {
    background: rgba(207, 172, 89, 0.12);
    border-color: rgba(207, 172, 89, 0.4);
    color: var(--gold-light);
}

.rules-tab.active {
    background: linear-gradient(135deg, rgba(207, 172, 89, 0.95), rgba(168, 126, 42, 0.95));
    border-color: #f3d489;
    color: #09090c;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(207, 172, 89, 0.35);
}

.rules-tab-count {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-tab.active .rules-tab-count {
    background: #09090c;
    color: var(--gold-light);
    border-color: rgba(0, 0, 0, 0.4);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

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

.rule-card {
    background: linear-gradient(160deg, rgba(22, 22, 28, 0.9) 0%, rgba(13, 13, 17, 0.97) 100%);
    border: 1px solid rgba(207, 172, 89, 0.22);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.65);
}

.rule-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(207, 172, 89, 0.5), transparent);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.rule-card:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 172, 89, 0.55);
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.85), 0 0 25px rgba(207, 172, 89, 0.16);
}

.rule-card:hover::before {
    opacity: 1;
    height: 2px;
}

.rule-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.rule-card__num {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.rule-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.rule-badge--danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.rule-badge--warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fcd34d;
}

.rule-badge--info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.rule-badge--success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.rule-badge--primary {
    background: rgba(207, 172, 89, 0.15);
    border: 1px solid rgba(207, 172, 89, 0.45);
    color: var(--gold-light);
}

.rule-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.rule-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.rule-icon--danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.rule-icon--warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.rule-icon--info {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.rule-icon--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.rule-icon--primary {
    background: rgba(207, 172, 89, 0.15);
    border: 1px solid rgba(207, 172, 89, 0.35);
    color: var(--gold-light);
}

.rule-card__titles {
    flex: 1;
    min-width: 0;
}

.rule-card__cat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 3px;
}

.rule-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.35;
}

.rule-card__summary {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.rule-card__details {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(207, 172, 89, 0.12);
    padding-top: 14px;
}

.rule-card__details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.rule-card__details li i {
    color: var(--gold);
    font-size: 0.72rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.rule-card__details li strong {
    color: #fff;
    font-weight: 700;
}

.rules-empty-state {
    text-align: center;
    padding: 60px 24px;
    background: rgba(18, 18, 24, 0.7);
    border: 1px dashed rgba(207, 172, 89, 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
}

.rules-empty-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0.85;
}

.rules-empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
}

.rules-empty-state p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 20px;
    font-size: 0.92rem;
}

.rules-reset-btn {
    margin: 0 auto;
}

.rules-support-box {
    background: linear-gradient(135deg, rgba(24, 22, 18, 0.95) 0%, rgba(14, 14, 18, 0.98) 100%);
    border: 1px solid rgba(207, 172, 89, 0.35);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(207, 172, 89, 0.12);
}

.rules-support-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 500px at 50% 0%, rgba(207, 172, 89, 0.12), transparent 70%);
    pointer-events: none;
}

.rules-support-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: rgba(207, 172, 89, 0.12);
    border: 1px solid rgba(207, 172, 89, 0.3);
    margin-bottom: 16px;
}

.rules-support-box h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.rules-support-box p {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 28px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.rules-support-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.rules-btn--discord {
    gap: 8px;
}

.rules-btn--home {
    gap: 8px;
}

/* Standalone Downloads Subpage */
.downloads-section {
    position: relative;
    z-index: 2;
    padding: calc(var(--nav-height) + 48px) 0 100px;
    background: radial-gradient(circle 800px at 50% -10%, rgba(207, 172, 89, 0.08), transparent 70%);
}

.dl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dl-card {
    background: linear-gradient(160deg, rgba(22, 22, 28, 0.9) 0%, rgba(13, 13, 17, 0.97) 100%);
    border: 1px solid rgba(207, 172, 89, 0.22);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(14px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.65);
}

.dl-card:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 172, 89, 0.55);
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.85), 0 0 25px rgba(207, 172, 89, 0.16);
}

.dl-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.dl-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(207, 172, 89, 0.12);
    border: 1px solid rgba(207, 172, 89, 0.35);
    display: grid;
    place-items: center;
    color: var(--gold-light);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dl-card__meta {
    flex: 1;
    min-width: 0;
}

.dl-card__badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 3px;
}

.dl-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.dl-card__size {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.dl-card__foot {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(207, 172, 89, 0.12);
}

.dl-card__foot .evex-btn {
    width: 100%;
}

.dl-empty {
    text-align: center;
    padding: 60px 24px;
    background: rgba(18, 18, 24, 0.7);
    border: 1px dashed rgba(207, 172, 89, 0.3);
    border-radius: var(--radius-lg);
}

.dl-empty__icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.dl-empty h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
}

.dl-empty p {
    color: var(--text-secondary);
}

.os-back {
    text-align: center;
    margin-top: 32px;
}
