/* ==========================================================================
   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: 1;
    pointer-events: none;
    overflow: hidden;
}

.ember-particle {
    position: absolute;
    bottom: -15px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px 2px var(--gold-glow);
    opacity: 0;
    animation: emberRise linear infinite;
}

.ember-particle.spark {
    width: 2px;
    height: 2px;
    background: var(--gold-light);
    box-shadow: 0 0 8px rgba(250, 224, 138, 0.85);
}

.ember-particle.is-crimson,
.ember-particle.is-stone {
    width: 2.5px;
    height: 2.5px;
    background: var(--stone-light);
    box-shadow: 0 0 8px rgba(179, 178, 170, 0.5);
}

@keyframes emberRise {
    0% { transform: translate3d(0, 10vh, 0); opacity: 0; }
    15% { opacity: 0.85; }
    85% { opacity: 0.65; }
    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 {
    padding: 9px 20px;
    font-size: 0.84rem;
    border-radius: var(--radius-full);
}

/* 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: 140px;
    background: linear-gradient(180deg, transparent 0%, rgba(9, 9, 12, 0.95) 100%);
    pointer-events: none;
    z-index: 1;
}



/* Section: Realm Launch Phases (Beta & Grand Opening) */
.evex-phases {
    background: 
        radial-gradient(ellipse 900px 420px at 50% 0%, rgba(207, 172, 89, 0.08) 0%, transparent 68%),
        radial-gradient(circle 750px at 50% 100%, rgba(147, 197, 253, 0.04) 0%, transparent 75%),
        linear-gradient(180deg, rgba(8, 8, 11, 0.96) 0%, rgba(13, 13, 18, 0.75) 50%, rgba(8, 8, 11, 0.98) 100%);
    border-top: 1px solid rgba(207, 172, 89, 0.16);
    border-bottom: 1px solid rgba(207, 172, 89, 0.12);
}

/* Section: Pre-Registration Terminal */
.evex-join {
    background: 
        radial-gradient(ellipse 900px 380px at 50% 0%, rgba(96, 165, 250, 0.07) 0%, transparent 65%),
        radial-gradient(circle 750px at 50% 50%, rgba(207, 172, 89, 0.04) 0%, transparent 75%),
        linear-gradient(180deg, rgba(7, 7, 10, 0.94) 0%, rgba(12, 12, 17, 0.72) 50%, rgba(7, 7, 10, 0.96) 100%);
    border-top: 1px solid rgba(207, 172, 89, 0.16);
    border-bottom: 1px solid rgba(207, 172, 89, 0.12);
}

/* Section 7: War Room Community */
.evex-community {
    background: 
        radial-gradient(ellipse 900px 380px at 50% 0%, rgba(239, 68, 68, 0.07) 0%, transparent 65%),
        radial-gradient(circle 800px at 50% 100%, rgba(207, 172, 89, 0.09) 0%, transparent 70%),
        linear-gradient(180deg, rgba(11, 11, 15, 0.88) 0%, rgba(6, 6, 8, 0.98) 100%);
    border-top: 1px solid rgba(239, 68, 68, 0.16);
}

/* --------------------------------------------------------------------------
   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;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    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;
}

@media (min-width: 1200px) {
    .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: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--stone-border);
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

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

/* 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) + 30px);
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.evex-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    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.18) 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.1) 0%, transparent 70%);
}

.evex-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .evex-hero__grid {
        grid-template-columns: 1.15fr 0.95fr;
        gap: 60px;
    }
}

/* Left Hero Column */
.evex-hero__title {
    margin-bottom: 20px;
}

.evex-hero__title-sub {
    display: block;
    font-family: var(--font-ui);
    font-size: clamp(0.85rem, 1.8vw, 1.15rem);
    font-weight: 800;
    letter-spacing: 0.32em;
    color: var(--gold);
    margin-bottom: 6px;
}

.evex-hero__title-main {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.05;
    background: linear-gradient(180deg, #ffffff 0%, var(--gold-light) 40%, var(--gold) 85%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 45px rgba(207, 172, 89, 0.35));
}

.evex-hero__lead {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    line-height: 1.65;
    max-width: 580px;
    margin-bottom: 32px;
}

/* Micro Stats Bar */
.evex-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 580px;
    margin-bottom: 32px;
}

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

.evex-stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 72px;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(207, 172, 89, 0.12) 0%, transparent 75%),
        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-sm, 10px);
    padding: 10px 14px;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(250, 224, 138, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.evex-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(250, 224, 138, 0.65);
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(207, 172, 89, 0.22) 0%, transparent 80%),
        linear-gradient(180deg, rgba(30, 30, 42, 0.9) 0%, rgba(16, 16, 22, 0.98) 100%);
    box-shadow: 
        0 12px 28px rgba(0, 0, 0, 0.75),
        0 0 22px rgba(207, 172, 89, 0.25),
        inset 0 1px 0 rgba(254, 240, 138, 0.35);
}

.evex-stat-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}

.evex-stat-card__k {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--gold-muted, #948b75);
    text-transform: uppercase;
    white-space: nowrap;
}

.evex-stat-card__icon {
    font-size: 0.76rem;
    color: var(--gold, #d4af37);
    opacity: 0.9;
    flex-shrink: 0;
}

.evex-stat-card__v {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: clamp(0.96rem, 1.6vw, 1.08rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.evex-stat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
    flex-shrink: 0;
}

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

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

    .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: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(18, 18, 25, 0.7);
    border: 1px solid var(--stone-border);
    font-size: 0.86rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.evex-social-proof:hover {
    border-color: var(--gold);
    color: var(--text-primary);
    background: rgba(26, 26, 36, 0.9);
}

.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);
}

.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;
}

/* Right Hero Column: Relic Card & Countdown Terminal */
.evex-hero__terminal {
    display: flex;
    justify-content: center;
}

.evex-relic-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: radial-gradient(circle at 50% 20%, rgba(207, 172, 89, 0.12), transparent 70%), linear-gradient(180deg, rgba(22, 22, 30, 0.9) 0%, rgba(12, 12, 16, 0.98) 100%);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 5vw, 40px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(250, 224, 138, 0.25), var(--gold-glow-lg);
    backdrop-filter: blur(20px);
}

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

.evex-relic-card__logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.evex-relic-card__logo {
    width: min(380px, 85%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 35px var(--gold-glow));
    transition: transform 0.35s ease;
}

.evex-relic-card__logo:hover {
    transform: scale(1.03);
}

.evex-relic-card__badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--gold-border);
    position: relative;
    z-index: 2;
}

.evex-clock-pill {
    display: flex;
    align-items: center;
    gap: 6px;
}

.evex-clock-val {
    color: var(--gold-light);
    font-family: monospace;
    font-size: 0.85rem;
}

.evex-phase-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fbbf24;
    font-weight: 700;
}

/* Scroll Prompt */
.evex-scroll-prompt {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 40px auto 0;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    transition: color 0.25s ease;
}

@media (min-width: 768px) {
    .evex-scroll-prompt {
        display: flex;
    }
}

.evex-scroll-prompt:hover {
    color: var(--gold-light);
}

.evex-scroll-prompt__mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--gold-border);
    border-radius: var(--radius-full);
    position: relative;
}

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

@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: 
        radial-gradient(ellipse 900px 420px at 50% 0%, rgba(207, 172, 89, 0.08) 0%, transparent 68%),
        radial-gradient(circle 750px at 50% 100%, rgba(147, 197, 253, 0.04) 0%, transparent 75%),
        linear-gradient(180deg, rgba(8, 8, 11, 0.96) 0%, rgba(13, 13, 18, 0.75) 50%, rgba(8, 8, 11, 0.98) 100%);
    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;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 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 Alignment Edge Tuning */
@media (max-width: 580px) {
    .milestone-node--dev {
        transform: translateX(-15%);
        align-items: flex-start;
        text-align: left;
    }
    .milestone-node--dev .node-details {
        align-items: flex-start;
    }

    .milestone-node--grand {
        transform: translateX(-85%);
        align-items: flex-end;
        text-align: right;
    }
    .milestone-node--grand .node-details {
        align-items: flex-end;
    }

    .milestone-node .node-meta {
        font-size: 0.68rem;
    }
}

/* 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: radial-gradient(circle at 10% 20%, rgba(207, 172, 89, 0.1) 0%, transparent 60%), linear-gradient(180deg, rgba(22, 22, 30, 0.85) 0%, rgba(12, 12, 16, 0.98) 100%);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 6vw, 56px);
    backdrop-filter: blur(20px);
    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.85);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 5vw, 40px);
    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 MODAL
   -------------------------------------------------------------------------- */
.evex-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(4, 4, 6, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.evex-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.evex-modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: radial-gradient(circle at 50% 0%, rgba(207, 172, 89, 0.18) 0%, transparent 65%), linear-gradient(180deg, #161622 0%, #0d0d12 100%);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 6vw, 44px);
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px var(--gold-glow);
    animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.evex-modal-card__glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 50% 10%, rgba(250, 224, 138, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.evex-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--stone-border);
    color: var(--text-secondary);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.evex-modal-close:hover {
    color: var(--gold-light);
    border-color: var(--gold);
    transform: rotate(90deg);
}

.evex-modal-emblem {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.evex-modal-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px var(--gold-glow));
    animation: preloaderPulse 2.5s infinite ease-in-out;
}

.evex-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(207, 172, 89, 0.15);
    border: 1px solid var(--gold-border);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.evex-modal-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--beacon-green);
    box-shadow: 0 0 8px var(--beacon-green);
    animation: beaconPulse 1.8s infinite;
}

.evex-modal-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

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

.evex-modal-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 0.8rem;
    color: var(--gold-light);
    font-weight: 600;
}

.evex-modal-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.evex-modal-features i {
    color: var(--beacon-green);
}

.evex-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   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;
}
