/* ViceMP coming-soon site */

:root {
  --bg-0: #07040f;
  --bg-1: #0d0820;
  --bg-2: #150c2e;
  --glass: rgba(18, 10, 38, 0.55);
  --glass-strong: rgba(14, 8, 30, 0.82);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --pink: #ff2d95;
  --pink-soft: #ff6ec7;
  --pink-fill: #d81b7a;
  --pink-fill-hover: #de2080;
  --orange: #ff7a3d;
  --gold: #ffc857;
  --purple: #8b3dff;
  --cyan: #22e4f0;
  --text: #f6f1ff;
  --text-2: #b9acd0;
  --text-3: #8a7da6;
  --ok: #2ef2a0;
  --warn: #ffc857;
  --bad: #ff4d6d;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Bebas Neue', 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', Consolas, monospace;

  --nav-h: 72px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --elevation: 0 18px 48px rgba(0, 0, 0, 0.55);

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg-0);
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-color: #3b2468 var(--bg-0);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html.menu-open { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg-0);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
p, li, dd, summary { text-wrap: pretty; }
:where(ul[role='list'], ol[role='list']) { list-style: none; padding: 0; }
[hidden] { display: none !important; }

::selection { background: rgba(255, 45, 149, 0.4); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.icon { width: 20px; height: 20px; flex: none; stroke-width: 2; }

.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: var(--text);
  color: var(--bg-0);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

main:focus { outline: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Buttons, labels, dots ---------- */

.btn {
  --btn-h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: none;
  color: var(--text);
  font: 400 19px/1 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn > span { padding-top: 0.1em; }
.btn .icon { width: 18px; height: 18px; }
.btn--lg { --btn-h: 52px; padding: 0 24px; font-size: 20px; }
.btn--xl { --btn-h: 58px; padding: 0 26px; font-size: 21px; }

.btn--primary { background: var(--pink-fill); color: #fff; }
.btn--primary:hover { background: var(--pink-fill-hover); }
.btn--primary:active { background: #c4166f; }

.btn--secondary { background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); }
.btn--secondary:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.3); }

.btn--discord { background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); }
.btn--discord:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.3); }

/* Download button (hero + launcher section) */
.dl { gap: 14px; padding: 0 26px 0 20px; text-align: left; }
.dl__icon { display: grid; place-items: center; flex: none; width: 22px; height: 22px; }
.dl__icon .icon { grid-area: 1 / 1; width: 22px; height: 22px; stroke-width: 2.2; }
.dl .icon--soon { display: none; }
.dl__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding-top: 0.15em; }
.dl__label { font: 400 22px/0.9 var(--font-display); letter-spacing: 0.06em; }
.dl__label small { font-size: 0.72em; letter-spacing: 0.08em; }
.dl__meta { font: 600 11.5px/1 var(--font-body); letter-spacing: 0.02em; text-transform: none; }
.dl[data-state='soon'],
.dl[data-state='unavailable'] {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  color: var(--text);
  cursor: default;
}
.dl[data-state='soon']:hover,
.dl[data-state='unavailable']:hover,
.dl[data-state='soon']:active,
.dl[data-state='unavailable']:active { background: rgba(255, 255, 255, 0.05); }
.dl[data-state='soon'] .icon--dl,
.dl[data-state='unavailable'] .icon--dl { display: none; }
.dl[data-state='soon'] .icon--soon,
.dl[data-state='unavailable'] .icon--soon { display: block; }
.dl[data-state='soon'] .dl__icon { color: var(--gold); }
.dl[data-state='unavailable'] .dl__icon,
.dl[data-state='soon'] .dl__meta,
.dl[data-state='unavailable'] .dl__meta { color: var(--text-2); }

.badge-official {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 22px;
  padding: 1px 8px 0;
  border-radius: var(--r-sm);
  background: var(--pink-fill);
  color: #fff;
  font: 700 10.5px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.dot--ok { background: var(--ok); }
.dot--idle { background: var(--text-3); }

.spinner {
  display: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0 0 -32px;
  background: linear-gradient(180deg, rgba(7, 4, 15, 0.72), rgba(7, 4, 15, 0));
  pointer-events: none;
  transition: opacity 0.2s;
}
.nav::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg-0);
  opacity: 0;
  transition: opacity 0.2s;
}
.nav.is-scrolled::before, .nav.is-open::before { opacity: 0; }
.nav.is-scrolled::after, .nav.is-open::after { opacity: 1; }

.nav__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 20px; }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text);
}
.nav__mark { width: 34px; height: 34px; }
.nav__word { padding-top: 3px; font: 400 25px/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }
.nav__chip {
  padding: 4px 6px 3px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(34, 228, 240, 0.45);
  color: var(--cyan);
  font: 700 9.5px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav__menu { display: flex; align-items: center; }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--r-md);
  color: var(--text-2);
  font: 500 14.5px/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav__drawer-foot { display: none; }
.nav__discord { --btn-h: 40px; padding: 0 15px; font-size: 18px; }

.nav__toggle {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(7, 4, 15, 0.5);
}
.nav__burger { position: relative; display: block; width: 20px; height: 14px; }
.nav__burger i {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.15s;
}
.nav__burger i:nth-child(1) { top: 0; }
.nav__burger i:nth-child(2) { top: 6px; }
.nav__burger i:nth-child(3) { top: 12px; }
.nav__toggle[aria-expanded='true'] .nav__burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] .nav__burger i:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded='true'] .nav__burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--nav-h);
  overflow: clip;
}

.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-1); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--ox, 50%) var(--oy, 50%);
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active, .hero__slide.is-leaving { animation: drift 12s linear both; }

/* Dark scrim so the copy stays legible over every photo. The horizontal stops follow the copy column, not the viewport width. */
.hero__shade {
  --copy-x: max(var(--gutter), (100% - var(--container)) / 2);
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 4, 15, 0.9) 0%, rgba(7, 4, 15, 0.76) calc(var(--copy-x) + 560px), rgba(7, 4, 15, 0.28) calc(var(--copy-x) + 880px), rgba(7, 4, 15, 0.4) 100%),
    linear-gradient(180deg, rgba(7, 4, 15, 0.5) 0%, rgba(7, 4, 15, 0) 20%, rgba(7, 4, 15, 0) 52%, rgba(7, 4, 15, 0.8) 86%, var(--bg-0) 100%);
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(20px, 4vh, 48px) clamp(16px, 3vh, 32px);
}
.hero__copy { max-width: 660px; }

.hero__title { font-weight: 400; }
.hero__logo-wrap {
  --logo-w: clamp(240px, min(32vw, 42vh), 440px);
  display: block;
  width: var(--logo-w);
  margin-left: calc(var(--logo-w) * -0.045);
}
.hero__logo { width: 100%; height: auto; }
.hero__headline {
  display: block;
  margin-top: clamp(10px, 1.8vh, 18px);
  color: #fff;
  font: 400 clamp(36px, min(4.4vw, 6.6vh), 64px)/0.95 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__lead {
  max-width: 520px;
  margin-top: clamp(14px, 2.2vh, 20px);
  color: #d8cfe9;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.4vh, 34px); }

.hero__panel {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--glass-strong);
}
.panel__head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.panel__title { padding-top: 2px; font: 400 22px/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.panel__date { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font: 600 12.5px/1 var(--font-body); white-space: nowrap; }
.panel__date .icon { width: 14px; height: 14px; color: var(--pink-soft); }
.panel__note { margin-top: 12px; color: var(--text-2); font-size: 12.5px; line-height: 1.5; }

.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.countdown__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 2px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.countdown__num {
  display: flex;
  justify-content: center;
  padding-top: 0.06em;
  color: #fff;
  font: 400 clamp(36px, 3.2vw, 46px)/0.9 var(--font-display);
}
.countdown__num > span { display: inline-block; width: 0.5em; text-align: center; }
.countdown__label { color: var(--text-2); font: 700 10px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; }
.countdown__live {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(46, 242, 160, 0.35);
  background: rgba(46, 242, 160, 0.08);
  font-weight: 600;
}

.signup { margin-top: 22px; }
/* The no-JS form post redirects to #waitlist: keep the hero in view on desktop and the countdown above the form on phones. */
.hero__panel .signup { scroll-margin-top: 50vh; }
.signup__label { display: block; margin-bottom: 10px; color: var(--text); font: 600 14px/1.4 var(--font-body); }
.signup__row { display: flex; gap: 8px; }
.signup__field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.signup__field .icon { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--text-3); pointer-events: none; }
.signup__field input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 40px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(7, 4, 15, 0.6);
  color: var(--text);
  font: 500 15px/1 var(--font-body);
  transition: border-color 0.15s, background-color 0.15s;
}
.signup__field input:hover { border-color: rgba(255, 255, 255, 0.28); }
.signup__field input:focus { background: rgba(7, 4, 15, 0.8); }
.signup__field input:focus-visible { outline-offset: 2px; }
.signup__field input::placeholder { color: var(--text-3); opacity: 1; }
.signup__field input[aria-invalid='true'] { border-color: rgba(255, 77, 109, 0.85); }
.signup__submit { --btn-h: 46px; flex: none; padding: 0 20px; }
.signup__submit .spinner { width: 16px; height: 16px; }
.signup.is-busy .spinner { display: inline-block; }
.signup.is-busy .signup__submit { pointer-events: none; }
.signup__msg { margin-top: 10px; color: var(--text-2); font-size: 13px; line-height: 1.45; }
.signup__msg:empty { display: none; }
.signup__msg[data-tone='error'] { color: #ff9aac; }
.signup__note { margin-top: 10px; color: var(--text-2); font-size: 12.5px; line-height: 1.5; }
.signup.is-done .signup__label, .signup.is-done .signup__row, .signup.is-done .signup__note { display: none; }
.signup.is-done .signup__msg { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.signup__success:focus { outline: none; }
.signup__success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(46, 242, 160, 0.35);
  background: rgba(46, 242, 160, 0.08);
  text-align: left;
  animation: fade-up 0.25s var(--ease);
}
.signup__check { flex: none; padding-top: 1px; color: var(--ok); }
.signup__check .icon { width: 22px; height: 22px; stroke-width: 2.5; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 0.25s ease 0.1s forwards; }
.signup__success-title { padding-top: 2px; color: #fff; font: 400 22px/1.05 var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; }
.signup__success-text { margin-top: 4px; color: var(--text-2); font-size: 13px; line-height: 1.45; }

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(32px, 6vh, 56px);
}
.stats {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 14px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--glass-strong);
}
.stats__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ok);
  font: 700 11px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.stats[data-state='live'] .dot { background: var(--ok); }
.stats[data-state='loading'] .stats__live,
.stats[data-state='idle'] .stats__live { color: var(--text-2); }
.stats[data-state='idle'] .dot,
.stats[data-state='lineup'] .stats__live,
.stats:not([data-state='live']) .stat--players { display: none; }
.stats__list { display: flex; gap: 30px; }
.stat { display: flex; flex-direction: column-reverse; gap: 7px; }
.stat dt { color: var(--text-2); font: 700 10.5px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.stat dd { font: 400 30px/0.9 var(--font-display); letter-spacing: 0.03em; white-space: nowrap; }
.stat__of { color: var(--text-2); font-size: 0.62em; letter-spacing: 0.04em; }

.slidenav { display: flex; align-items: center; gap: 16px; }
.slidenav__caption {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 200px;
  color: var(--text-2);
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.slidenav__caption .icon { width: 14px; height: 14px; color: var(--pink-soft); }
.slidenav__dots { display: flex; gap: 4px; }
.slidenav__dot { position: relative; width: 28px; height: 22px; padding: 0; border: 0; border-radius: var(--r-sm); background: none; }
.slidenav__dot::before, .slidenav__dot::after {
  content: '';
  position: absolute;
  left: 2px; right: 2px; top: 50%;
  height: 2px;
  margin-top: -1px;
}
.slidenav__dot::before { background: rgba(255, 255, 255, 0.25); transition: background-color 0.15s; }
.slidenav__dot:hover::before { background: rgba(255, 255, 255, 0.5); }
.slidenav__dot::after { background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.slidenav__dot.is-active::after { animation: dot-fill var(--slide-ms, 7000ms) linear forwards; }
.no-autoplay .slidenav__dot.is-active::after { animation: none; transform: scaleX(1); }
.slidenav__toggle {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  padding: 0;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(14, 8, 30, 0.6);
  color: var(--text-2);
  transition: color 0.15s, border-color 0.15s;
}
.slidenav__toggle:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.32); }
.slidenav__toggle .icon { grid-area: 1 / 1; width: 14px; height: 14px; }
.slidenav__toggle .icon--play { display: none; }
.slidenav__toggle[aria-pressed='true'] .icon--pause { display: none; }
.slidenav__toggle[aria-pressed='true'] .icon--play { display: block; }

.motion-paused .hero__slide,
.motion-paused .slidenav__dot::after,
.hero.is-offscreen .hero__slide,
.hero.is-offscreen .slidenav__dot::after { animation-play-state: paused; }

/* ---------- Sections ---------- */

.section { position: relative; padding-block: clamp(72px, 7vw, 104px); }

.section__head { max-width: 760px; }
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: end;
  gap: 24px 64px;
}

.eyebrow { color: var(--pink-soft); font: 700 12px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; }

.section__title {
  margin-top: 14px;
  color: #fff;
  font: 400 clamp(40px, 5.2vw, 76px)/0.92 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.section__lead {
  max-width: 600px;
  margin-top: 18px;
  color: var(--text-2);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
}

/* ---------- Features ---------- */

.features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 4.4vw, 56px); }
.features__item { display: flex; }
.feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
}
.feature__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: 22px 24px 26px; }
.feature__title { font: 400 clamp(26px, 2.2vw, 32px)/1 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; }
.feature__text { margin-top: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }

/* ---------- Servers ---------- */

.servers__aside { display: grid; gap: 16px; }
.servers__aside .section__lead { margin-top: 0; }
.servers__summary { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font: 600 13.5px/1.35 var(--font-body); }
.servers__summary strong { color: var(--text); font-weight: 700; }
.servers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 4.4vw, 56px); }
.servers__item { display: flex; }
.servers__noscript { margin-top: 24px; color: var(--text-2); }
.servers__community { margin-top: 22px; color: var(--text-2); font-size: 14.5px; }
.servers__community a {
  margin-left: 4px;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.servers__community a:hover { text-decoration-color: currentColor; }

.server {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
}
.server__media { position: relative; aspect-ratio: 16 / 7.5; overflow: hidden; background: var(--bg-2); }
.server__banner { width: 100%; height: 100%; object-fit: cover; }
.server__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 4, 15, 0.5) 0%, rgba(7, 4, 15, 0) 42%);
}
.server__flag, .status {
  position: absolute;
  z-index: 1;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: rgba(7, 4, 15, 0.8);
}
.server__flag { left: 14px; padding: 0 10px 0 6px; font: 700 12px/1 var(--font-body); letter-spacing: 0.1em; }
.server__flag-img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.server__globe { display: none; width: 16px; height: 16px; margin-left: 2px; color: var(--text-2); }
.server__flag.is-generic .server__flag-img { display: none; }
.server__flag.is-generic .server__globe { display: block; }
.status { right: 14px; padding: 0 10px; color: var(--text-2); font: 700 10.5px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; }
.status__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.status[data-state='online'] { color: #cbffe9; }
.status[data-state='online'] .status__dot { background: var(--ok); }
.status[data-state='offline'] { color: #ffc4cf; }
.status[data-state='offline'] .status__dot { background: var(--bad); }
.status[data-state='soon'] { color: var(--text); }
.status[data-state='soon'] .status__dot { display: none; }

.server__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; }
.server__name { font: 400 clamp(28px, 2.4vw, 34px)/1 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; }
.server__desc { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.server__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.server__tags li {
  padding: 5px 8px 4px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  font: 700 10px/1 var(--font-body);
  letter-spacing: 0.12em;
}
.server__meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 4px; }
.server__meta div { display: flex; flex-direction: column-reverse; gap: 5px; }
.server__meta dt { color: var(--text-3); font: 700 10px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; }
.server__meta dd { font: 600 14px/1.2 var(--font-body); }
.server__players { margin-top: auto; padding-top: 8px; }
.server__players-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--text-3);
  font: 700 10px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.server__count { color: var(--text); font: 400 26px/1 var(--font-display); letter-spacing: 0.03em; }
.server__count small { color: var(--text-3); font-size: 0.7em; }
.meter { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.meter__fill { display: block; width: var(--fill, 0%); height: 100%; background: var(--pink); transition: width 0.25s var(--ease); }
.server__soon { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--text-2); font: 600 13.5px/1.3 var(--font-body); }
.server__soon .icon { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Launcher ---------- */

.launcher__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.launcher__cta { margin-top: 30px; }

.shot__frame {
  position: relative;
  aspect-ratio: 1280 / 760;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-1);
  overflow: hidden;
}
.shot__img { width: 100%; height: 100%; object-fit: cover; }
.shot__fallback { position: absolute; inset: 0; display: none; place-items: center; }
.shot__fallback::after { content: ''; position: absolute; inset: 0; background: rgba(7, 4, 15, 0.6); }
.shot__fallback-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__fallback-logo { position: relative; z-index: 1; width: 46%; }
.shot.is-fallback .shot__img { display: none; }
.shot.is-fallback .shot__fallback { display: grid; }
.shot__caption { margin-top: 14px; color: var(--text-3); font-size: 13px; text-align: center; }

/* ---------- Roadmap ---------- */

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(40px, 5vw, 64px); }
.timeline__step { position: relative; padding-top: 68px; }
/* Connector between step indicators. */
.timeline__step::before {
  content: '';
  position: absolute;
  top: 21px; left: 56px; right: -16px;
  height: 2px;
  background: var(--line-strong);
}
.timeline__step:last-child::before { display: none; }
.timeline__step.is-done::before { background: var(--pink); }
.timeline__node {
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-2);
  font: 400 18px/1 var(--font-display);
  letter-spacing: 0.04em;
}
.is-done .timeline__node { border-color: var(--pink); background: var(--pink); color: #fff; }
.is-done .timeline__node .icon { width: 20px; height: 20px; stroke-width: 3; }
.is-current .timeline__node { border-color: var(--pink); }
.is-current .timeline__node i { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }
.timeline__phase {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-3);
  font: 700 11px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.timeline__status {
  padding: 4px 7px 3px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  font: 700 10px/1 var(--font-body);
  letter-spacing: 0.12em;
}
.timeline__status--done { border-color: rgba(46, 242, 160, 0.4); background: rgba(46, 242, 160, 0.08); color: var(--ok); }
.timeline__status--now { border-color: rgba(255, 110, 199, 0.45); background: rgba(255, 45, 149, 0.1); color: var(--pink-soft); }
.timeline__title { margin-top: 12px; font: 400 clamp(28px, 2.4vw, 34px)/1 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; }
.timeline__text { max-width: 290px; margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* ---------- FAQ ---------- */

.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; gap: clamp(40px, 6vw, 96px); }
.faq__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__head .btn { margin-top: 26px; }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-1);
  transition: border-color 0.15s;
}
.faq__item:hover, .faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  list-style: none;
  font: 600 17px/1.35 var(--font-body);
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 16px; height: 16px; color: var(--text-2); transition: color 0.15s; }
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  left: 1px; right: 1px; top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item summary:hover .faq__icon { color: var(--text); }
.faq__item[open] .faq__icon { color: var(--pink-soft); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__body { padding: 0 22px 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.faq__body strong { color: var(--text); }
.faq__item::details-content { block-size: 0; overflow: clip; transition: block-size 0.25s var(--ease), content-visibility 0.25s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

/* ---------- Newsletter CTA ---------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(88px, 9vw, 128px);
  text-align: center;
}
.cta__media { position: absolute; inset: 0; z-index: -1; background: var(--bg-1); }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
/* Dark scrim that also blends the photo into the page above and below. */
.cta__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-0) 0%, rgba(7, 4, 15, 0.8) 24%, rgba(7, 4, 15, 0.8) 76%, var(--bg-0) 100%);
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title {
  margin-top: 14px;
  color: #fff;
  font: 400 clamp(52px, 7.5vw, 112px)/0.9 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.cta__lead { max-width: 540px; margin-top: 16px; color: var(--text-2); font-size: clamp(16px, 1.2vw, 18px); }
.cta__proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: rgba(7, 4, 15, 0.6);
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.3;
}
.cta__proof strong { color: var(--text); font-weight: 700; }
.signup--cta { width: min(100%, 560px); margin-top: 30px; }
.cta__proof:not([hidden]) + .signup--cta { margin-top: 18px; }
.signup--cta .signup__field input { height: 52px; font-size: 16px; }
.signup--cta .signup__submit { --btn-h: 52px; }
.signup--cta .signup__msg, .signup--cta .signup__note { text-align: left; }

/* ---------- Footer ---------- */

.footer {
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-0);
}
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.55fr) minmax(0, 1.35fr); gap: 48px; }
.footer__brand img { width: 180px; height: auto; margin-left: -8px; }
.footer__brand p { max-width: 330px; margin-top: 14px; color: var(--text-2); font-size: 14.5px; }
.footer__brand .btn { margin-top: 22px; }
.footer__heading { margin-bottom: 16px; color: var(--text-2); font: 700 11px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; }
.footer__nav ul { display: grid; gap: 10px; }
.footer__nav a { color: var(--text-2); font-size: 14.5px; text-decoration: none; transition: color 0.15s; }
.footer__nav a:hover { color: var(--text); }
.footer__disclaimer { max-width: 520px; color: var(--text-3); font-size: 13px; line-height: 1.75; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13px;
}
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-sm); color: var(--text-2); text-decoration: none; transition: color 0.15s; }
.footer__top-link:hover { color: var(--text); }
.footer__top-link .icon { width: 16px; height: 16px; }

/* ---------- 404 ---------- */

.lost {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
}
.lost__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-1); }
.lost__media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* Even dark scrim so the centred copy stays legible over the photo. */
.lost__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 4, 15, 0.72) 0%, rgba(7, 4, 15, 0.78) 60%, var(--bg-0) 100%);
}
.lost__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(40px, 7vh, 72px) 32px;
  text-align: center;
}
.lost__brand { border-radius: var(--r-md); }
.lost__brand img { width: clamp(150px, 15vw, 200px); height: auto; }
.lost__code {
  margin-top: clamp(20px, 4vh, 40px);
  color: #fff;
  font: 400 clamp(120px, 20vw, 240px)/0.82 var(--font-display);
  letter-spacing: 0.02em;
}
.lost__title { margin-top: clamp(14px, 2.4vh, 24px); font: 400 clamp(30px, 3.4vw, 46px)/1 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; text-wrap: balance; }
.lost__text { max-width: 470px; margin-top: 14px; color: var(--text-2); font-size: clamp(15px, 1.15vw, 17px); }
.lost__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(24px, 4vh, 34px); }
.lost__legal { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) calc(22px + env(safe-area-inset-bottom)); color: var(--text-3); font-size: 12px; line-height: 1.6; text-align: center; }

@media (max-width: 720px) {
  .lost__actions { flex-direction: column; align-self: stretch; }
  .lost__actions .btn { width: 100%; }
}

/* ---------- Reveal on scroll ---------- */

[data-reveal] { transition: opacity 0.25s ease, transform 0.25s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal-pending { opacity: 0; transform: translateY(12px); }

/* ---------- Keyframes ---------- */

@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes dot-fill { to { transform: scaleX(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .slidenav__caption { min-width: 0; }
}

/* Small laptops keep the two-column hero so the countdown and waitlist stay above the fold. */
@media (min-width: 961px) and (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(330px, 360px); gap: 36px; }
  .hero__panel { padding: 22px 20px 20px; }
  .hero__logo-wrap { --logo-w: clamp(240px, min(30vw, 40vh), 360px); }
  .hero__headline { font-size: clamp(34px, 4.4vw, 48px); }
}

@media (max-width: 1080px) {
  .hero__bar { flex-wrap: wrap; }
  .section__head--split { grid-template-columns: minmax(0, 1fr); }
  .launcher__grid { grid-template-columns: minmax(0, 1fr); }
  .launcher__visual { max-width: 760px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .timeline__step:nth-child(2)::before { display: none; }
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__legal { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); align-content: center; padding-top: 40px; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(7, 4, 15, 0.9) 0%, rgba(7, 4, 15, 0.76) calc(var(--copy-x) + 600px), rgba(7, 4, 15, 0.46) calc(var(--copy-x) + 860px), rgba(7, 4, 15, 0.46) 100%),
      linear-gradient(180deg, rgba(7, 4, 15, 0.5) 0%, rgba(7, 4, 15, 0) 20%, rgba(7, 4, 15, 0) 50%, rgba(7, 4, 15, 0.8) 84%, var(--bg-0) 100%);
  }
  .hero__copy { max-width: 720px; }
  .hero__panel { max-width: 560px; }
  .features__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature { flex-direction: row; }
  .feature__media { flex: 0 0 40%; aspect-ratio: auto; min-height: 200px; }
  .feature__body { align-self: center; padding: 24px 28px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav__discord { display: none; }
  .nav__toggle { display: grid; }
  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: -2;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    padding: calc(var(--nav-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--bg-0);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transition: opacity 0.2s ease; }
  .nav__links { flex-direction: column; gap: 0; }
  /* Hairline dividers between the stacked menu links. */
  .nav__links a {
    padding: 16px 2px 12px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font: 400 40px/1 var(--font-display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .nav__links a:hover, .nav__links a.is-active { color: var(--pink-soft); background: none; }
  .nav__drawer-foot { display: grid; gap: 14px; justify-items: start; }
}

@media (max-width: 720px) {
  .hero__media { bottom: auto; height: max(100svh, 640px); }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 4, 15, 0.62) 0%, rgba(7, 4, 15, 0.3) 16%, rgba(7, 4, 15, 0.6) 36%, rgba(7, 4, 15, 0.85) 60%, rgba(7, 4, 15, 0.96) 82%, var(--bg-0) 100%),
      linear-gradient(90deg, rgba(7, 4, 15, 0.45), rgba(7, 4, 15, 0.1));
  }
  .hero__inner { padding-top: 28px; gap: 36px; }
  .hero__logo-wrap { --logo-w: min(80vw, 340px); }
  .hero__headline { font-size: clamp(34px, 10vw, 48px); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .launcher__cta .dl { width: 100%; }
  .hero__panel { padding: 20px 16px; }
  .countdown { gap: 6px; }
  .countdown__num { font-size: clamp(30px, 9vw, 40px); }
  .countdown__label { font-size: 10.5px; letter-spacing: 0.1em; }
  .signup__row { flex-direction: column; }
  .signup__submit { width: 100%; }
  .hero__bar { flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 40px; }
  .stats { flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 16px 16px; }
  .stats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stats:not([data-state='live']) .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { justify-content: flex-end; }
  .stat dd { font-size: 26px; }
  .stat dt { font-size: 10.5px; letter-spacing: 0.1em; white-space: normal; line-height: 1.3; }
  .slidenav { justify-content: space-between; }
  .slidenav__caption { font-size: 10.5px; letter-spacing: 0.12em; }
  .slidenav__dots { display: none; }
  .servers__grid { grid-template-columns: minmax(0, 1fr); }
  .server__body { padding: 20px 20px 22px; }
  .timeline { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .timeline__step { padding: 4px 0 40px 68px; }
  .timeline__step:last-child { padding-bottom: 0; }
  .timeline__step::before,
  .timeline__step:nth-child(2)::before {
    display: block;
    top: 52px; bottom: 8px; left: 21px; right: auto;
    width: 2px; height: auto;
  }
  .timeline__step:last-child::before { display: none; }
  .timeline__text { max-width: none; }
  .faq__item summary { padding: 18px; font-size: 16px; }
  .faq__body { padding: 0 18px 20px; font-size: 15px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 599px) {
  .feature { flex-direction: column; }
  .feature__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .feature__body { align-self: auto; padding: 20px 20px 22px; }
}

/* Very narrow phones: keep the download buttons inside the viewport. */
@media (max-width: 400px) {
  .dl { gap: 12px; padding: 0 16px; }
  .dl__label { font-size: 20px; }
  .dl__label small { display: none; }
}

/* ---------- Motion preferences & capture mode ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

.is-shot *, .is-shot *::before, .is-shot *::after {
  animation-delay: -60s !important;
  animation-play-state: paused !important;
  transition: none !important;
}

@media print {
  .nav, .hero__media, .cta__media { display: none !important; }
  .reveal-pending { opacity: 1 !important; transform: none !important; }
  body, .hero, .cta { background: #fff !important; color: #000 !important; }
}
