/* ============================================================
   Legion Network — landing page
   Dark, engineered, cyan→blue brand system. All visuals are
   hand-built vectors/CSS (no raster or generated imagery).
   ============================================================ */

:root {
  --bg: #07090d;
  --bg-raise: #0c1016;
  --panel: #10151d;
  --panel-2: #141a24;
  --line: rgba(148, 179, 222, 0.13);
  --line-strong: rgba(148, 179, 222, 0.24);
  --text: #eef3fa;
  --text-dim: #9fb0c6;
  --text-faint: #66788f;
  --cyan: #22d3f7;
  --blue: #2f6bff;
  --grad: linear-gradient(135deg, var(--cyan), var(--blue));
  --glow-cyan: rgba(34, 211, 247, 0.35);
  --glow-blue: rgba(47, 107, 255, 0.35);
  --radius: 18px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(34, 211, 247, 0.28); }

img, svg { display: block; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Ambient page glow */
.page-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(47, 107, 255, 0.14), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(34, 211, 247, 0.08), transparent 60%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-solid {
  background: var(--grad); color: #051018;
  box-shadow: 0 6px 24px -6px var(--glow-blue), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -6px var(--glow-cyan), inset 0 1px 0 rgba(255,255,255,.25); }

.btn-outline {
  border-color: var(--line-strong); color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover { border-color: var(--cyan); background: rgba(34,211,247,0.06); transform: translateY(-2px); }

.btn-ghost { color: var(--text-dim); padding: 11px 14px; }
.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 34px; padding: 0 28px;
}
.nav-brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 10px rgba(34,211,247,.4)); }
.brand-mark img { width: 32px; height: auto; max-height: 32px; object-fit: contain; }
.brand-text {
  font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em;
}
.brand-text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 5px; font-weight: 500; }

.nav-links { display: flex; gap: 6px; margin-left: 8px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--text-dim);
  padding: 8px 14px; border-radius: 10px; transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column; gap: 4px; padding: 12px 28px 24px;
  background: rgba(7, 9, 13, 0.96); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a { padding: 12px 4px; font-weight: 500; color: var(--text-dim); border-bottom: 1px solid rgba(148,179,222,0.06); }
.nav-mobile a:hover { color: var(--text); }
.nav-mobile .btn { margin-top: 14px; justify-content: center; color: #051018; border: none; }
.nav.open .nav-mobile { display: flex; }

/* ---------- Section scaffolding ---------- */
section { position: relative; z-index: 1; }

.section-head {
  max-width: 780px; margin: 0 auto; text-align: center; padding: 0 24px;
}
.kicker {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px;
}
.section-head h2, .hosting-copy h2, .join-card h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--text-dim); font-size: 17.5px; margin-top: 20px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.65,.25,1), transform .7s cubic-bezier(.2,.65,.25,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: calc(var(--nav-h) + 40px) 24px 90px;
  overflow: hidden;
}

.hero-scene { position: absolute; inset: 0; pointer-events: none; }
.scene-layer { position: absolute; inset: -6%; will-change: transform; }

/* soft nebula mesh */
.layer-mesh {
  background:
    radial-gradient(560px 420px at 22% 28%, rgba(34,211,247,0.10), transparent 62%),
    radial-gradient(680px 480px at 78% 24%, rgba(47,107,255,0.14), transparent 62%),
    radial-gradient(520px 420px at 55% 88%, rgba(47,107,255,0.08), transparent 60%);
}

/* glow orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(58px); opacity: .5; }
.orb-a { width: 380px; height: 380px; left: 6%; top: 16%; background: rgba(34,211,247,0.22); animation: orb-drift 13s ease-in-out infinite; }
.orb-b { width: 460px; height: 460px; right: 2%; top: 34%; background: rgba(47,107,255,0.26); animation: orb-drift 17s ease-in-out infinite reverse; }
.orb-c { width: 260px; height: 260px; left: 42%; bottom: 4%; background: rgba(47,107,255,0.16); animation: orb-drift 11s ease-in-out infinite; }
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(34px, -26px) scale(1.07); }
}

/* floating market cards in the hero */
.layer-cards { inset: 0; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(16, 21, 29, 0.82); border: 1px solid var(--line-strong);
  border-radius: 14px; padding: 12px 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
  animation: card-bob 6s ease-in-out infinite;
}
.fc-listing { right: 7%; top: 24%; animation-delay: -1.2s; }
.fc-sale { left: 6%; top: 56%; animation-delay: -3s; }
.fc-rank { right: 12%; bottom: 18%; animation-delay: -4.4s; }
@keyframes card-bob {
  0%, 100% { transform: translateY(0) rotate(-.4deg); }
  50% { transform: translateY(-14px) rotate(.5deg); }
}
.fc-swatch {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none;
}
.fc-swatch svg { width: 20px; height: 20px; }
.sw-plugin { background: rgba(34,211,247,0.14); color: var(--cyan); }
.sw-rank { background: rgba(255,193,77,0.14); color: #ffc14d; }
.fc-lines { display: flex; flex-direction: column; line-height: 1.35; }
.fc-lines b { font-size: 13.5px; font-weight: 600; }
.fc-lines i { font-style: normal; font-size: 12px; color: var(--text-faint); }
.fc-price {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--cyan); margin-left: 6px;
}
.fc-pulse { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; flex: none; box-shadow: 0 0 0 0 rgba(61,220,132,.5); animation: ping 2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, 100% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); display: inline-block; box-shadow: 0 0 0 0 var(--glow-cyan); animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite; }

/* hero content */
.hero-content { position: relative; max-width: 880px; text-align: center; will-change: transform; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-dim);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 18px;
  background: rgba(16,21,29,.55); backdrop-filter: blur(8px);
  margin-bottom: 30px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(42px, 7vw, 84px); line-height: 1.02;
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: normal; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .line:last-child {
  background: linear-gradient(120deg, #eef3fa 30%, #8fb7ff 75%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  color: var(--text-dim); font-size: clamp(16px, 1.6vw, 19px);
  max-width: 640px; margin: 26px auto 0;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: clamp(28px, 5vw, 64px);
  margin-top: 58px; flex-wrap: wrap;
}
.hero-stats div { text-align: center; }
.hero-stats dt {
  font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats dd { font-size: 13px; color: var(--text-faint); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }

.hero-next {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  padding: 10px 22px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(16,21,29,.5); backdrop-filter: blur(8px);
  transition: border-color .2s ease, background .2s ease;
}
.hero-next:hover { border-color: rgba(34,211,247,.45); background: rgba(16,21,29,.8); }
.next-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.next-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--text); }
.hero-next svg { width: 16px; height: 16px; color: var(--cyan); transition: transform .2s ease; }
.hero-next:hover svg { transform: translateY(3px); }

/* ============================================================
   LEGION MARKET — flagship
   ============================================================ */
.market { padding: 130px 24px 110px; }

.market-stage {
  position: relative; max-width: 1060px; margin: 70px auto 0;
  perspective: 1400px;
}

.market-frame {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow:
    0 40px 90px -30px rgba(0, 8, 24, .85),
    0 0 0 1px rgba(34,211,247,.05),
    0 0 80px -30px var(--glow-blue);
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

.frame-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dr { background: #ff5f57; } .dy { background: #febc2e; } .dg { background: #28c840; }
.frame-url {
  margin: 0 auto; font-size: 12.5px; color: var(--text-faint);
  background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 8px;
  padding: 4px 46px; font-family: var(--font-display);
}
.frame-url b { color: var(--cyan); font-weight: 600; }

.frame-body {
  display: grid; grid-template-columns: 62px 1fr 190px;
  min-height: 430px;
}

/* mock sidebar */
.mk-side {
  border-right: 1px solid var(--line); padding: 16px 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.mk-side-brand { width: 26px; margin-bottom: 10px; }
.mk-side-brand img { width: 100%; height: auto; }
.mk-nav-item { width: 32px; height: 32px; border-radius: 9px; background: rgba(148,179,222,0.08); }
.mk-nav-item.active { background: rgba(34,211,247,0.18); box-shadow: inset 0 0 0 1px rgba(34,211,247,.4); }
.mk-nav-low { margin-top: auto; }

/* mock main area */
.mk-main { padding: 18px 20px; min-width: 0; }
.mk-topbar { display: flex; align-items: center; gap: 14px; }
.mk-search {
  flex: 1; display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--text-faint);
  border: 1px solid var(--line); background: rgba(0,0,0,.25);
  border-radius: 10px; padding: 8px 13px;
}
.mk-search svg { width: 14px; height: 14px; }
.mk-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); flex: none; }

.mk-chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip {
  font-size: 11.5px; font-weight: 500; color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.chip-on { background: var(--grad); color: #051018; border-color: transparent; font-weight: 600; }

.mk-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px;
}
.mk-card {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: transform .2s ease, border-color .2s ease;
}
.market-frame:hover .mk-card:hover { transform: translateY(-3px); border-color: rgba(34,211,247,.45); }
.mk-thumb {
  height: 64px; display: grid; place-items: center;
}
.mk-thumb svg { width: 26px; height: 26px; }
.th-a { background: linear-gradient(135deg, rgba(34,211,247,.2), rgba(47,107,255,.28)); color: #9ee9fb; }
.th-b { background: linear-gradient(135deg, rgba(61,220,132,.16), rgba(34,211,247,.2)); color: #8ff0bd; }
.th-c { background: linear-gradient(135deg, rgba(255,193,77,.16), rgba(255,110,64,.18)); color: #ffd28f; }
.th-d { background: linear-gradient(135deg, rgba(47,107,255,.26), rgba(140,82,255,.22)); color: #b3c9ff; }
.th-e { background: linear-gradient(135deg, rgba(140,82,255,.2), rgba(233,84,167,.16)); color: #d3b8ff; }
.th-f { background: linear-gradient(135deg, rgba(34,211,247,.16), rgba(61,220,132,.14)); color: #9ee9fb; }
.mk-meta { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.mk-meta b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-sub { font-size: 10.5px; color: var(--text-faint); }
.stars { font-style: normal; color: #ffc14d; letter-spacing: 1px; }
.mk-row { display: flex; align-items: center; justify-content: space-between; margin-top: 3px; }
.tag {
  font-size: 9.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--cyan); background: rgba(34,211,247,.1); border-radius: 5px; padding: 2px 7px;
}
.price { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--text); }

/* mock activity rail */
.mk-activity {
  border-left: 1px solid var(--line); padding: 18px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.mk-act-title { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 2px; }
.mk-act-row { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--text-dim); }
.act-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.act-dot.ok { background: #3ddc84; }
.act-dot.buy { background: var(--cyan); }
.act-dot.mod { background: #ffc14d; }

/* badges floating beside the frame */
.market-badges { position: absolute; inset: 0; pointer-events: none; }
.m-badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(16,21,29,.9); border: 1px solid var(--line-strong);
  border-radius: 13px; padding: 12px 18px; backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.85);
  animation: card-bob 7s ease-in-out infinite;
}
.m-badge svg { width: 20px; height: 20px; color: var(--cyan); }
.mb-left { left: -26px; top: 20%; animation-delay: -2s; }
.mb-right { right: -30px; bottom: 16%; animation-delay: -4.6s; }

/* feature trio */
.market-features {
  max-width: 1060px; margin: 64px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0;
}
.feature {
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 70%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .25s ease, transform .25s ease;
}
.feature:hover { border-color: rgba(34,211,247,.4); transform: translateY(-4px); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(34,211,247,.1); color: var(--cyan); margin-bottom: 18px;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.feature p { color: var(--text-dim); font-size: 14.5px; margin-top: 9px; }

.market-cta { text-align: center; margin-top: 54px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-note { font-size: 13px; color: var(--text-faint); }

/* ============================================================
   NETWORK pillars
   ============================================================ */
.network { padding: 110px 24px; }
.pillars {
  max-width: 1160px; margin: 64px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.pillar {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel), rgba(16,21,29,.4));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 26px; min-height: 250px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.pillar:hover {
  border-color: rgba(34,211,247,.45);
  box-shadow: 0 24px 50px -24px rgba(0,10,30,.9), 0 0 40px -18px var(--glow-cyan);
}
.pillar-market {
  background:
    radial-gradient(300px 190px at 85% -20%, rgba(34,211,247,.14), transparent 65%),
    linear-gradient(180deg, var(--panel-2), rgba(16,21,29,.5));
  border-color: rgba(34,211,247,.34);
}
.pillar-flag {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--grad); color: #051018; border-radius: 999px; padding: 4px 11px;
}
.pillar-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(148,179,222,.09); color: var(--cyan); margin-bottom: 18px;
}
.pillar-icon svg { width: 23px; height: 23px; }
.pillar h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.pillar p { color: var(--text-dim); font-size: 14px; margin-top: 8px; flex: 1; }
.pillar-link {
  margin-top: 18px; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--cyan);
  display: inline-flex; gap: 7px; align-items: center;
}
.pillar-link i { font-style: normal; transition: transform .2s ease; }
.pillar:hover .pillar-link i { transform: translateX(4px); }

/* ============================================================
   SERVERS
   ============================================================ */
.servers { padding: 110px 24px; }
.server-cards {
  max-width: 1160px; margin: 64px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.server-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.server-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -28px rgba(0,10,30,.95); }
.sc-art { height: 180px; position: relative; overflow: hidden; background: var(--panel-2); }
.sc-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .45s cubic-bezier(.2,.65,.25,1);
}
.server-card:hover .sc-art img { transform: scale(1.05); }
.sc-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--panel) 2%, transparent 45%);
  pointer-events: none;
}
.sc-art-crest {
  display: grid; place-items: center; padding: 22px 26px;
  background:
    radial-gradient(340px 160px at 50% 40%, rgba(255,193,77,.14), transparent 70%),
    linear-gradient(140deg, #12141c, #0d1016);
}
.sc-art-crest img { width: 100%; height: 100%; object-fit: contain; }
.sc-pvp:hover { border-color: rgba(255,143,143,.45); }
.sc-smp:hover { border-color: rgba(178,140,255,.45); }
.sc-rsps:hover { border-color: rgba(255,210,143,.45); }
.sc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.sc-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint);
}
.sc-body h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-top: 9px; letter-spacing: -.01em; }
.sc-body p { color: var(--text-dim); font-size: 14.5px; margin-top: 9px; flex: 1; }
.sc-cta { margin-top: 20px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--cyan); }
.sc-cta i { font-style: normal; transition: transform .2s ease; display: inline-block; }
.server-card:hover .sc-cta i { transform: translateX(4px); }

/* ============================================================
   HOSTING
   ============================================================ */
.hosting { padding: 110px 24px; }
.hosting-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center;
}
.hosting-copy .kicker { margin-bottom: 16px; }
.hosting-copy .lede { margin-top: 18px; }
.host-list { list-style: none; margin: 28px 0 34px; display: flex; flex-direction: column; gap: 12px; }
.host-list li { display: flex; gap: 12px; align-items: center; color: var(--text-dim); font-size: 15.5px; }
.host-list i {
  font-style: normal; width: 24px; height: 24px; border-radius: 8px; flex: none;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: rgba(61,220,132,.14); color: #3ddc84;
}

.hosting-visual { display: flex; justify-content: center; }
.rack {
  width: 100%; max-width: 420px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 26px 24px 20px;
  box-shadow: 0 40px 80px -34px rgba(0,10,30,.9), 0 0 60px -30px var(--glow-blue);
  display: flex; flex-direction: column; gap: 15px;
  will-change: transform;
}
.rack-row {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px;
  background: rgba(0,0,0,.22);
}
.rk-led { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.rk-led.on { background: #3ddc84; box-shadow: 0 0 8px rgba(61,220,132,.8); animation: led-blink 3.2s ease-in-out infinite; }
.rack-row:nth-child(2) .rk-led { animation-delay: -.9s; }
.rack-row:nth-child(3) .rk-led { animation-delay: -1.7s; }
.rack-row:nth-child(4) .rk-led { animation-delay: -2.4s; }
@keyframes led-blink { 0%,92%,100% { opacity: 1; } 96% { opacity: .35; } }
.rk-bars { flex: 1; height: 7px; border-radius: 4px; background: rgba(148,179,222,.12); overflow: hidden; }
.rk-bars b { display: block; height: 100%; width: var(--w, 50%); border-radius: 4px; background: var(--grad); animation: bar-breathe 5s ease-in-out infinite; transform-origin: left; }
@keyframes bar-breathe { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(.88); } }
.rk-label { font-family: var(--font-display); font-size: 12px; color: var(--text-faint); }
.rack-foot { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-dim); padding: 4px 2px 0; }

/* ============================================================
   JOIN
   ============================================================ */
.join { padding: 60px 24px 130px; }
.join-card {
  max-width: 980px; margin: 0 auto; text-align: center;
  border: 1px solid var(--line-strong); border-radius: 26px;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 6vw, 72px);
  background:
    radial-gradient(500px 260px at 50% -20%, rgba(34,211,247,.14), transparent 65%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 50px 100px -50px rgba(0,10,30,.95);
  position: relative; overflow: hidden;
}
.join-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, rgba(34,211,247,.5), transparent 30%, transparent 70%, rgba(47,107,255,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.join-card p { color: var(--text-dim); font-size: 17px; max-width: 560px; margin: 20px auto 0; }
.join-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: rgba(0,0,0,.25); position: relative; z-index: 1; }
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 64px 28px 48px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand p { color: var(--text-faint); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col b { font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.footer-col a { color: var(--text-faint); font-size: 14.5px; transition: color .15s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-base {
  max-width: 1160px; margin: 0 auto; padding: 20px 28px 28px;
  border-top: 1px solid rgba(148,179,222,.07);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: var(--text-faint);
}
.footer-base a:hover { color: var(--cyan); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .mb-left { left: 8px; } .mb-right { right: 8px; }
  .hosting-inner { gap: 48px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .frame-body { grid-template-columns: 52px 1fr; }
  .mk-activity { display: none; }
  .mk-grid { grid-template-columns: repeat(2, 1fr); }
  .market-features { grid-template-columns: 1fr; }
  .server-cards { grid-template-columns: 1fr; max-width: 560px; }
  .hosting-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .fc-listing { right: 3%; top: 17%; }
  .fc-rank { display: none; }
  .m-badge { display: none; }
}

@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero-stats { gap: 26px; }
  .frame-body { grid-template-columns: 1fr; }
  .mk-side { display: none; }
  .mk-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .mk-thumb { height: 52px; }
  .float-card { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-base { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-cta, .join-actions { flex-direction: column; align-items: stretch; }
  .hero-next { display: none; }
}

/* Reduced motion: kill parallax + ambient animation */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .scene-layer, .hero-content, .market-frame { transform: none !important; }
}
