/* ───────────────────────────  fonts  ──────────────────────────── */
@font-face {
  font-family: Anton;
  src: url("/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ───────────────────────────  tokens  ─────────────────────────── */
:root {
  --bg:        #0a0a0b;
  --bg-raise:  #101012;
  --bg-sunk:   #050506;
  --line:      #1e1e22;
  --line-soft: #17171a;

  --ink:       #eceae7;
  --ink-mid:   #a5a19c;
  --ink-dim:   #6d6963;

  --amber:     #ffd000;
  --orange:    #ff9d00;
  --ember:     #ff6a00;
  --grad: linear-gradient(100deg, var(--amber), var(--orange) 45%, var(--ember));

  --good:      #4ade80;
  --bad:       #ef4444;

  --r:    10px;
  --r-lg: 16px;
  --wrap: 1120px;

  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 50px -20px rgba(0,0,0,.9);
}

/* ───────────────────────────  base  ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain: cheap, GPU-free, sells the "gritty" without an image request */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 1; }

h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .9em;
  background: #17171b;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .14em .42em;
  color: #ffd98a;
  white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 760px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--amber); color: #000; padding: 10px 16px; font-weight: 600; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────────────────────────  nav  ────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,11,.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { border-radius: 7px; image-rendering: pixelated; display: block; }
.brand-text { font: 400 20px/1 Anton, Impact, sans-serif; letter-spacing: .035em; text-transform: uppercase; }
.brand-text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-mid); transition: color .16s; }
.nav-links > a:hover { color: var(--ink); }
.nav-links .btn { color: var(--ink); }

@media (max-width: 640px) {
  .nav-links > a:not(.btn) { display: none; }
}

/* ───────────────────────────  buttons  ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px;
  border-radius: var(--r);
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .14s, box-shadow .18s, background .18s, border-color .18s;
  white-space: nowrap;
}
.btn-sm { height: 36px; padding: 0 15px; font-size: 14px; border-radius: 8px; }

.btn-primary {
  background: var(--grad);
  color: #140c00;
  box-shadow: 0 8px 26px -10px rgba(255,140,0,.75);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -10px rgba(255,140,0,.9); }

.btn-ghost {
  background: #141417;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: #1b1b1f; border-color: #33333a; transform: translateY(-1px); }

/* ───────────────────────────  hero  ───────────────────────────── */
.hero {
  position: relative;
  padding: clamp(64px, 11vw, 124px) 0 clamp(52px, 8vw, 88px);
  text-align: center;
  overflow: hidden;
}
/* ember glow behind the headline */
.hero::after {
  content: "";
  position: absolute; left: 50%; top: -280px;
  width: 1000px; height: 620px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255,120,0,.18), rgba(255,120,0,.05) 42%, transparent 68%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.status {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  background: #111114;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-mid);
  margin-bottom: 30px;
}
.status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-dim);
  flex: none;
}
.status[data-state="online"]  { color: var(--ink); border-color: #23412e; background: #0e1912; }
.status[data-state="online"] .dot  { background: var(--good); box-shadow: 0 0 0 0 rgba(74,222,128,.55); animation: pulse 2.4s infinite; }
.status[data-state="offline"] { color: #f2b8b8; border-color: #3d1f1f; background: #180d0d; }
.status[data-state="offline"] .dot { background: var(--bad); }
.status[data-state="loading"] .dot { animation: blink 1.1s ease-in-out infinite; }

@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
@keyframes blink { 50% { opacity: .3; } }

.display {
  font: 400 clamp(46px, 10.5vw, 104px)/0.95 Anton, Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .005em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.display.sm { font-size: clamp(34px, 6.5vw, 62px); margin-bottom: 30px; }

.lede {
  max-width: 600px;
  font-size: clamp(16px, 2.1vw, 18.5px);
  color: var(--ink-mid);
  text-wrap: pretty;
  margin-bottom: 38px;
}

/* ── ip box ── */
.ipbox { width: 100%; max-width: 480px; margin-bottom: 30px; }
.ipbox-label {
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 10px;
}
.ipbox-copy {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 16px 16px 20px;
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  cursor: pointer;
  font: inherit; color: inherit;
  box-shadow: var(--shadow);
  transition: border-color .18s, background .18s;
}
.ipbox-copy:hover { border-color: #3a3a42; background: #08080a; }
.ipbox-copy .ip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(15px, 3.4vw, 20px);
  font-weight: 600;
  letter-spacing: -.01em;
}
.copy-hint {
  flex: none;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 11px;
  transition: color .18s, border-color .18s, background .18s;
}
.ipbox-copy:hover .copy-hint { color: var(--ink); border-color: #3a3a42; }
.ipbox-copy.copied .copy-hint { color: #0d1a10; background: var(--good); border-color: var(--good); }

.ipbox-note { margin-top: 11px; font-size: 13.5px; color: var(--ink-dim); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.live-players { margin-top: 26px; font-size: 14px; color: var(--ink-dim); }
.live-players b { color: var(--ink); font-weight: 600; }

.inline-ip { cursor: pointer; }
.inline-ip:hover { border-color: #4a4a54; }

/* ───────────────────────────  stats  ──────────────────────────── */
.stats { border-block: 1px solid var(--line-soft); background: var(--bg-sunk); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 8px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat dt {
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 8px;
}
.stat dd {
  margin: 0;
  font: 400 clamp(22px, 4.2vw, 30px)/1 Anton, Impact, sans-serif;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* ───────────────────────────  sections  ───────────────────────── */
.section { padding: clamp(64px, 10vw, 110px) 0; }
.section-alt { background: var(--bg-sunk); border-block: 1px solid var(--line-soft); }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2 {
  font: 400 clamp(30px, 5.4vw, 46px)/1.05 Anton, Impact, sans-serif;
  text-transform: uppercase;
  margin-bottom: 44px;
}

/* ── steps ── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 28px 26px 30px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.step-n {
  font: 400 15px/1 Anton, Impact, sans-serif; letter-spacing: .1em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--ink-mid); font-size: 15px; }

.callout {
  margin-top: 30px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--r) var(--r) 0;
  background: linear-gradient(90deg, rgba(255,157,0,.055), transparent 70%);
  color: var(--ink-mid);
  font-size: 15px;
}
.callout strong { color: var(--ink); }

/* ── cards ── */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.card {
  padding: 26px 24px 28px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #37373f; transform: translateY(-2px); }
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 9px; }
.card p { color: var(--ink-mid); font-size: 14.8px; }

/* ── faq ── */
.faq { border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-size: 16.5px; font-weight: 600;
  transition: color .16s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--amber); }
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink-dim); border-bottom: 2px solid var(--ink-dim);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-mid); font-size: 15.2px; max-width: 62ch; }
.faq details a { color: var(--amber); }

/* ───────────────────────────  final cta  ──────────────────────── */
.final {
  position: relative;
  padding: clamp(72px, 11vw, 120px) 0;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}
.final::after {
  content: "";
  position: absolute; left: 50%; bottom: -320px;
  width: 900px; height: 560px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255,106,0,.2), transparent 66%);
  pointer-events: none;
}
.final-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.ipbox-copy.big { max-width: 440px; margin-bottom: 16px; }

/* ───────────────────────────  footer  ─────────────────────────── */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-sunk); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font: 400 17px/1 Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.footer-brand img { border-radius: 6px; image-rendering: pixelated; }
.footer-brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--ink-mid); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-note { width: 100%; font-size: 12.5px; color: var(--ink-dim); }
@media (min-width: 820px) { .footer-note { width: auto; } }

/* ───────────────────────────  toast  ──────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  background: var(--ink); color: #0a0a0b;
  padding: 11px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ───────────────────────────  discord band  ───────────────────── */
.dc-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px 40px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
@media (max-width: 860px) {
  .dc-panel { grid-template-columns: 1fr; gap: 28px; padding: 30px 24px; }
}

.dc-copy .eyebrow { margin-bottom: 10px; }
.dc-title {
  font: 400 clamp(24px, 3.6vw, 32px)/1.05 Anton, Impact, sans-serif;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.dc-copy p { color: var(--ink-mid); font-size: 15px; max-width: 46ch; }

.dc-right { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }


/* ───────────────────────────  live motd  ──────────────────────── */
.motd {
  margin-top: 24px;
  font-size: 15px;
  font-style: italic;
  color: var(--ink-dim);
  max-width: 44ch;
  text-wrap: pretty;
}

.dc-count { font-size: 13px; color: var(--ink-dim); text-align: center; }

.footer-note a { color: var(--ink-mid); text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-note a:hover { color: var(--ink); border-bottom-color: #3a3a42; }
.footer-note .sep { color: var(--line); margin: 0 4px; }

.footer-legal {
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  line-height: 1.55;
  color: #565249;
  max-width: 78ch;
}
