/* ============================================================
   CYBERNET.GG — STYLESHEET
   Cyberpunk 2077 / cyberpunk.net inspired
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Rajdhani:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ---------- Tokens ---------- */
:root {
    --bg-0: #050507;
    --bg-1: #0a0a0e;
    --bg-2: #0f1014;
    --bg-3: #16181f;
    --line: #1f2230;
    --line-2: #2a2e3f;

    --txt-0: #f0f0f5;
    --txt-1: #c8c8d0;
    --txt-2: #7a7d8c;
    --txt-3: #4a4d5c;

    --cyan: #28edff;
    --cyan-bright: #5cf5ff;
    --cyan-dim: #00bcd4;
    --cyan-glow: rgba(40, 237, 255, 0.45);

    --yellow: #fcee0a;
    --yellow-dim: #c9bd00;
    --yellow-glow: rgba(252, 238, 10, 0.5);

    --red: #ff003c;
    --red-dim: #b8002b;
    --red-glow: rgba(255, 0, 60, 0.5);

    --green: #00ff9f;

    --clip-btn: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    --clip-card: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
    --clip-tag: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);

    --font-display: 'Chakra Petch', 'Inter', sans-serif;
    --font-ui: 'Rajdhani', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-ui);
    background: var(--bg-0);
    color: var(--txt-0);
    overflow-x: hidden;
    line-height: 1.5;
    min-height: 100vh;
    position: relative;

    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(40, 237, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(252, 238, 10, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
}

/* ---------- Global atmosphere: scanlines + grain ---------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 2px,
        rgba(0, 0, 0, 0.18) 2px,
        rgba(0, 0, 0, 0.18) 3px
    );
    z-index: 9998;
    opacity: 0.5;
    mix-blend-mode: multiply;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
    opacity: 0.04;
    z-index: 9999;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.05;
    text-transform: uppercase;
}

a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: var(--yellow); }

::selection { background: var(--yellow); color: var(--bg-0); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border: 2px solid var(--bg-1); }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ---------- Container ---------- */
.container {
    width: min(1400px, 100% - 48px);
    margin-inline: auto;
}

/* ============================================================
   TOP BAR (status strip)
   ============================================================ */
.topbar {
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--txt-2);
    padding: 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.topbar .blink { color: var(--green); animation: blink 1.4s infinite; }
.topbar .sep { color: var(--txt-3); margin: 0 12px; }

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.2; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--txt-0);
    flex-shrink: 0;
}

.logo:hover { color: var(--txt-0); }

.logo-mark {
    width: 32px;
    height: 32px;
    position: relative;
    display: inline-block;
}

.logo-mark svg,
.logo-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.logo-mark img { filter: drop-shadow(0 0 6px rgba(40, 237, 255, 0.35)); }
.logo-accent { color: var(--cyan); }
.logo-divider { color: var(--txt-3); margin: 0 4px; font-weight: 400; }
.logo-tld { color: var(--yellow); font-size: 0.7em; letter-spacing: 0.15em; align-self: flex-end; padding-bottom: 3px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--txt-1);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 18px;
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    transition: color .15s;
}

.nav-links a:hover { color: var(--cyan); }
.nav-links a.active { color: var(--cyan); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-glow);
}

.nav-num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--txt-3);
    font-weight: 400;
}
.nav-links a:hover .nav-num,
.nav-links a.active .nav-num { color: var(--yellow); }

.nav-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line-2);
    color: var(--txt-0);
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 20px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    position: relative;
    clip-path: var(--clip-btn);
    transition: transform .12s, color .12s;
    white-space: nowrap;
    -webkit-appearance: none;
    line-height: 1;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: background .12s;
}

.btn-primary { color: var(--bg-0); }
.btn-primary::before { background: var(--yellow); }
.btn-primary:hover { color: var(--bg-0); transform: translate(-1px, -1px); }
.btn-primary:hover::before { background: var(--cyan); }

.btn-secondary { color: var(--cyan); border: 1px solid var(--cyan); background: transparent; clip-path: var(--clip-btn); }
.btn-secondary::before { background: rgba(40, 237, 255, 0.05); }
.btn-secondary:hover { color: var(--bg-0); }
.btn-secondary:hover::before { background: var(--cyan); }

.btn-ghost { color: var(--txt-0); background: transparent; }
.btn-ghost::before { background: var(--bg-3); }
.btn-ghost:hover { color: var(--cyan); }
.btn-ghost:hover::before { background: var(--bg-2); }

.btn-discord { color: #fff; }
.btn-discord::before { background: #5865F2; }
.btn-discord:hover::before { background: #4752c4; }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 12px; }

.btn-arrow::after {
    content: '\2192';
    font-family: var(--font-mono);
    transition: transform .15s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* Decorative accent ticks on buttons */
.btn-tick {
    position: relative;
}
.btn-tick::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 8px;
    width: 4px;
    height: 4px;
    background: currentColor;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    padding: 80px 0 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(40, 237, 255, 0.12), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(252, 238, 10, 0.06), transparent 60%),
        linear-gradient(180deg, transparent 0%, var(--bg-0) 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.25;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-meta {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--txt-2);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    border: 1px solid var(--cyan-dim);
    padding: 6px 14px;
    clip-path: var(--clip-tag);
    background: rgba(40, 237, 255, 0.06);
}

.hero-tag .dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse 1.6s ease-in-out infinite;
}

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

.hero h1 {
    font-size: clamp(42px, 7vw, 96px);
    line-height: 0.95;
    margin-bottom: 28px;
    font-weight: 700;
}

.hero h1 .accent {
    color: var(--yellow);
    display: inline-block;
    position: relative;
}

.hero h1 .accent::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: var(--cyan);
    transform: translate(-2px, 0);
    mix-blend-mode: screen;
    opacity: 0.7;
    pointer-events: none;
}

.hero h1 .accent::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: var(--red);
    transform: translate(2px, 0);
    mix-blend-mode: screen;
    opacity: 0.4;
    pointer-events: none;
}

.hero-sub {
    font-family: var(--font-ui);
    font-size: 18px;
    line-height: 1.6;
    color: var(--txt-1);
    margin-bottom: 40px;
    max-width: 560px;
    font-weight: 400;
}

.hero-sub strong { color: var(--cyan); font-weight: 600; }

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-meta-info {
    display: flex;
    gap: 32px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.meta-info-item {
    font-family: var(--font-mono);
    font-size: 11px;
}

.meta-info-item .label {
    color: var(--txt-3);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 6px;
}

.meta-info-item .value {
    color: var(--cyan);
    font-size: 16px;
    font-weight: 700;
}
.meta-info-item .value.yellow { color: var(--yellow); }

/* Hero side panel — pseudo terminal/HUD */
.hero-hud {
    background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line-2);
    clip-path: var(--clip-card);
    padding: 32px;
    position: relative;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--txt-1);
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    color: var(--txt-2);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hud-header .id { color: var(--yellow); }

.hud-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 12px;
}
.hud-line:last-child { border-bottom: none; }
.hud-line .key { color: var(--txt-2); text-transform: uppercase; letter-spacing: 0.1em; }
.hud-line .val { color: var(--cyan); font-weight: 500; }
.hud-line .val.green { color: var(--green); }
.hud-line .val.yellow { color: var(--yellow); }
.hud-line .val.red { color: var(--red); }

.hud-bar {
    margin-top: 24px;
    height: 6px;
    background: var(--bg-3);
    position: relative;
    overflow: hidden;
}

.hud-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 73%;
    background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
    box-shadow: 0 0 10px var(--cyan-glow);
}

.hud-bar-label {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--txt-3);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hud-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--yellow);
}
.hud-corner.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.hud-corner.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 100px 0; position: relative; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    gap: 32px;
    flex-wrap: wrap;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--cyan);
}

.section-head h2 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1;
    max-width: 800px;
}

.section-head h2 .yellow { color: var(--yellow); }

.section-head .section-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--txt-3);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: right;
    line-height: 1.8;
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 32px;
    position: relative;
    clip-path: var(--clip-card);
    transition: border-color .2s, transform .2s;
}

.feature:hover {
    border-color: var(--cyan-dim);
    transform: translateY(-4px);
}

.feature-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--yellow);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    display: block;
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--cyan);
    margin-bottom: 24px;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--txt-0);
}

.feature p {
    font-size: 15px;
    color: var(--txt-1);
    line-height: 1.6;
}

.feature::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    border-right: 2px solid var(--cyan-dim);
    border-bottom: 2px solid var(--cyan-dim);
    opacity: 0.5;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 56px 0;
    margin-top: 32px;
    position: relative;
}

.stats-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-num .small { font-size: 28px; vertical-align: top; color: var(--cyan); margin-left: 4px; }

.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--txt-2);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
    background: linear-gradient(90deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--line-2);
    padding: 56px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    clip-path: var(--clip-card);
    position: relative;
    margin-bottom: 0;
}

.cta-strip h3 {
    font-size: 36px;
    line-height: 1.1;
    max-width: 600px;
}
.cta-strip h3 .accent { color: var(--cyan); }

.cta-strip p {
    color: var(--txt-2);
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 8px;
}

/* ============================================================
   FORMS / AUTH
   ============================================================ */
.auth-wrap {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.auth-side {
    background: var(--bg-1);
    padding: 80px;
    border-right: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.auth-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(40, 237, 255, 0.08), transparent 60%),
        linear-gradient(135deg, transparent 50%, rgba(252, 238, 10, 0.04) 100%);
}

.auth-side-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-side h2 {
    font-size: 56px;
    line-height: 0.95;
    margin-top: 80px;
}
.auth-side h2 .yellow { color: var(--yellow); }

.auth-side .blurb {
    margin-top: 24px;
    color: var(--txt-1);
    font-size: 16px;
    max-width: 480px;
    line-height: 1.6;
}

.auth-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.pillar {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--txt-2);
}
.pillar .num { color: var(--yellow); font-size: 14px; display: block; margin-bottom: 6px; letter-spacing: 0.2em; }
.pillar .lbl { color: var(--txt-1); text-transform: uppercase; letter-spacing: 0.15em; line-height: 1.5; }

.auth-form {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-0);
}

.auth-form-inner { max-width: 460px; width: 100%; margin: 0 auto; }

.auth-form h1 {
    font-size: 40px;
    margin-bottom: 8px;
}

.auth-form .form-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--txt-3);
    letter-spacing: 0.2em;
    margin-bottom: 32px;
    text-transform: uppercase;
}
.auth-form .form-meta .green { color: var(--green); }

.field {
    margin-bottom: 20px;
    position: relative;
}

.field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--txt-2);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.field label .req { color: var(--red); margin-left: 4px; }

.field input,
.field select,
.field textarea {
    width: 100%;
    background: var(--bg-1);
    border: 1px solid var(--line-2);
    color: var(--txt-0);
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 14px 16px;
    transition: border-color .15s, background .15s;
    -webkit-appearance: none;
    border-radius: 0;
}

.field input::placeholder { color: var(--txt-3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--cyan-dim);
}

.field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    font-size: 12px;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--txt-2);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
}

.checkbox input { display: none; }

.checkbox .box {
    width: 16px;
    height: 16px;
    border: 1px solid var(--cyan-dim);
    background: var(--bg-2);
    position: relative;
    transition: border-color .15s, background .15s;
    flex-shrink: 0;
}
.checkbox:hover .box { border-color: var(--cyan); }

.checkbox input:checked + .box {
    background: var(--cyan);
    border-color: var(--cyan);
}

.checkbox input:checked + .box::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 9px;
    border: solid var(--bg-0);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.divider {
    margin: 28px 0;
    text-align: center;
    position: relative;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--txt-3);
    letter-spacing: 0.3em;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: var(--line);
}
.divider::before { left: 0; }
.divider::after { right: 0; }

.auth-foot {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed var(--line);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--txt-2);
    text-align: center;
    letter-spacing: 0.05em;
}

.auth-foot a { color: var(--yellow); text-transform: uppercase; letter-spacing: 0.15em; }

/* ============================================================
   SERVER LIST
   ============================================================ */
.server-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: center;
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 16px;
    clip-path: var(--clip-card);
}

.search-box {
    flex: 1;
    min-width: 240px;
    position: relative;
}

.search-box input {
    width: 100%;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--txt-0);
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 10px 14px 10px 40px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--cyan);
}

.search-box::before {
    content: '\2315';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--txt-3);
    font-size: 16px;
}

.filter-pill {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--txt-1);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 8px 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all .15s;
}

.filter-pill:hover { border-color: var(--cyan-dim); color: var(--cyan); }
.filter-pill.active { background: var(--cyan); border-color: var(--cyan); color: var(--bg-0); }

.server-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.server-row {
    display: grid;
    grid-template-columns: 60px 1fr 120px 100px 140px 140px;
    gap: 20px;
    align-items: center;
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 18px 24px;
    clip-path: var(--clip-card);
    transition: border-color .15s, background .15s;
    position: relative;
}

.server-row:hover {
    border-color: var(--cyan-dim);
    background: var(--bg-2);
}

.server-row.featured {
    border-color: var(--yellow-dim);
    background: linear-gradient(90deg, rgba(252, 238, 10, 0.05), var(--bg-1));
}

.server-rank {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--yellow);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.server-info { min-width: 0; }
.server-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--txt-0);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 10px;
}

.tag {
    color: var(--txt-2);
    border: 1px solid var(--line-2);
    padding: 2px 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.tag.pvp { color: var(--red); border-color: var(--red-dim); }
.tag.rp { color: var(--cyan); border-color: var(--cyan-dim); }
.tag.modded { color: var(--yellow); border-color: var(--yellow-dim); }

.server-region {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--txt-1);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.server-region .flag { color: var(--cyan); margin-right: 6px; }

.server-ping {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--green);
    font-weight: 500;
}
.server-ping.mid { color: var(--yellow); }
.server-ping.high { color: var(--red); }

.server-players {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--txt-0);
    font-weight: 500;
}
.server-players .total { color: var(--txt-3); }
.server-players .bar {
    height: 3px;
    background: var(--bg-3);
    margin-top: 6px;
    position: relative;
    overflow: hidden;
}
.server-players .bar-fill {
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--cyan);
}

.btn-connect {
    font-size: 12px;
    padding: 10px 20px;
}

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */
.download-hero {
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

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

.download-info h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    margin-bottom: 24px;
}
.download-info h1 .accent { color: var(--cyan); }

.download-info .lede {
    font-size: 17px;
    color: var(--txt-1);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 540px;
}

.version-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    border: 1px solid var(--cyan-dim);
    padding: 6px 14px;
    clip-path: var(--clip-tag);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    background: rgba(40, 237, 255, 0.05);
}

.version-tag .ver-num { color: var(--yellow); font-weight: 700; }

.download-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    align-items: center;
}

.dl-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--txt-3);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.8;
}

.platform-list {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.platform {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--txt-2);
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform.active { color: var(--cyan); }
.platform .check { color: var(--green); }
.platform .x { color: var(--txt-3); }

/* Specs panel */
.specs-panel {
    background: var(--bg-1);
    border: 1px solid var(--line-2);
    clip-path: var(--clip-card);
    padding: 40px;
    position: relative;
}

.specs-panel h3 {
    font-size: 14px;
    color: var(--cyan);
    font-family: var(--font-mono);
    letter-spacing: 0.2em;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
}
.specs-panel h3::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--cyan);
}

.specs-grid {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 12px 24px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.specs-grid > div {
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
}
.specs-grid > div:nth-child(-n+3) {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 4px;
    color: var(--yellow);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom-color: var(--line-2);
}
.specs-grid .key {
    color: var(--txt-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
}
.specs-grid .min { color: var(--txt-1); }
.specs-grid .rec { color: var(--cyan); }

.changelog {
    margin-top: 64px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    clip-path: var(--clip-card);
    padding: 40px;
}

.changelog h3 {
    font-size: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.changelog h3 .ver {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--cyan);
    letter-spacing: 0.2em;
}

.changelog-list { list-style: none; }
.changelog-list li {
    padding: 10px 0 10px 24px;
    border-bottom: 1px dashed var(--line);
    color: var(--txt-1);
    position: relative;
    font-size: 14px;
}
.changelog-list li:last-child { border-bottom: none; }
.changelog-list li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--green);
    font-family: var(--font-mono);
    font-weight: 700;
}
.changelog-list li.fix::before { content: '~'; color: var(--yellow); }
.changelog-list li.rm::before { content: '-'; color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    padding: 64px 0 24px;
    margin-top: 80px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow) 20%, var(--cyan) 80%, transparent);
    opacity: 0.4;
}

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

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
    color: var(--txt-2);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 0.25em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: var(--txt-1);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color .15s, padding .15s;
    display: inline-block;
}
.footer-col a:hover { color: var(--cyan); padding-left: 6px; }

.footer-bot {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--txt-3);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-bot .legal { color: var(--txt-2); }
.footer-bot a { color: var(--txt-2); }
.footer-bot a:hover { color: var(--cyan); }

.disclaimer {
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 20px 24px;
    margin-top: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--txt-3);
    line-height: 1.6;
    letter-spacing: 0.05em;
}
.disclaimer strong { color: var(--yellow); letter-spacing: 0.15em; }

/* ============================================================
   PAGE HEADER (sub pages)
   ============================================================ */
.page-head {
    padding: 80px 0 40px;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.page-head::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(40, 237, 255, 0.08), transparent 60%),
        linear-gradient(135deg, transparent 60%, rgba(252, 238, 10, 0.04) 100%);
}

.page-head-inner { position: relative; z-index: 2; }

.crumb {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--txt-3);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.crumb a { color: var(--txt-2); }
.crumb a:hover { color: var(--cyan); }
.crumb .sep { color: var(--txt-3); margin: 0 8px; }
.crumb .here { color: var(--cyan); }

.page-head h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    margin-bottom: 16px;
}
.page-head h1 .accent { color: var(--yellow); }

.page-head .lede {
    color: var(--txt-1);
    font-size: 17px;
    max-width: 700px;
    line-height: 1.6;
}

.page-stat-strip {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 12px;
}

.page-stat-strip .stat .lbl {
    color: var(--txt-3);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
}
.page-stat-strip .stat .val { color: var(--cyan); font-size: 18px; font-weight: 700; }
.page-stat-strip .stat .val.yellow { color: var(--yellow); }
.page-stat-strip .stat .val.green { color: var(--green); }

/* ============================================================
   ANIMATIONS — page intro
   ============================================================ */
@keyframes flicker-in {
    0% { opacity: 0; transform: translateY(8px); }
    20% { opacity: 0.4; }
    40% { opacity: 0.1; }
    60% { opacity: 0.7; }
    100% { opacity: 1; transform: translateY(0); }
}

.fadeup { animation: flicker-in 0.8s ease-out backwards; }
.fadeup.d1 { animation-delay: 0.05s; }
.fadeup.d2 { animation-delay: 0.18s; }
.fadeup.d3 { animation-delay: 0.32s; }
.fadeup.d4 { animation-delay: 0.46s; }
.fadeup.d5 { animation-delay: 0.6s; }

@keyframes glitch-x {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-2px, 0); }
    40% { transform: translate(2px, 0); }
    60% { transform: translate(-1px, 0); }
    80% { transform: translate(1px, 0); }
}

.glitch:hover { animation: glitch-x 0.3s ease-in-out; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-hud { display: none; }
    .features { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; gap: 40px; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-side { padding: 56px; min-height: auto; }
    .auth-side h2 { margin-top: 32px; font-size: 40px; }
    .auth-form { padding: 56px; }
    .download-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .server-row { grid-template-columns: 40px 1fr 100px 100px; gap: 16px; padding: 16px; }
    .server-row .server-region { display: none; }
    .server-row .server-ping { display: none; }
}

@media (max-width: 720px) {
    .container { width: calc(100% - 32px); }
    section { padding: 64px 0; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-1); flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); padding: 8px 0; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 24px; }
    .nav-links a.active::after { display: none; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-actions .btn:not(.btn-primary) { display: none; }
    .topbar-inner { font-size: 10px; gap: 12px; }
    .topbar-inner .hide-sm { display: none; }
    .features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-strip { padding: 32px 24px; }
    .cta-strip h3 { font-size: 26px; }
    .auth-side, .auth-form { padding: 40px 24px; }
    .auth-side h2 { font-size: 32px; }
    .specs-panel, .changelog { padding: 24px; }
    .specs-grid { grid-template-columns: 1fr; gap: 4px; }
    .specs-grid > div { padding: 6px 0; }
    .server-row { grid-template-columns: 30px 1fr 100px; }
    .server-row .server-players { display: none; }
    .hero-meta-info { flex-wrap: wrap; gap: 20px; }
    .page-stat-strip { flex-wrap: wrap; gap: 20px; }
    .stat-num { font-size: 40px; }
}
