/* Universe #1340 landing site. Tokens from docs/design-system.md in universe1340_thegame. */
:root {
  --bg: #212121;
  --deep: #1a1a1a;
  --term: #141414;
  --line: #333333;
  --card: #262b26;
  --card-line: #3a423a;
  --green: #7df94b;
  --green-dim: #3c7a25;
  --green-ink: #15260d;
  --mag: #8c6bd1;
  --mag-light: #b39ae6;
  --cream: #f3eed9;
  --cream-dim: #cfcbbd;
  --dim: #8d8d8d;
  --red: #e0353f;
  --glow: 0 0 7px rgba(125, 249, 75, 0.55);
  --vglow: 0 0 7px rgba(140, 107, 209, 0.6);
  --display: "Orbitron", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --gutter: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 15px/1.6 var(--mono);
  overflow-x: hidden;
}
/* faint scanlines, like the store screenshots */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
  z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }

a { color: var(--green); }
a:hover { text-shadow: var(--glow); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- header ---- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font: 700 15px var(--display); color: var(--green); text-decoration: none; text-shadow: var(--glow);
  white-space: nowrap;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 18px; font: 500 12px var(--display); }
.nav a { text-decoration: none; color: var(--cream-dim); }
.nav a:hover { color: var(--green); }
@media (max-width: 560px) { .nav .opt { display: none; } }

/* ---- type ---- */
.label, .split p.label, .intro p.label, .doc p.label {
  font: 500 12px var(--display); color: var(--mag); letter-spacing: 0.04em;
  text-transform: uppercase; margin: 0 0 12px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--green); margin: 0; line-height: 1.12; }
h1 { font-size: clamp(34px, 6.4vw, 60px); text-shadow: var(--glow); }
h2 { font-size: clamp(26px, 4.2vw, 40px); text-shadow: var(--glow); }
h3 { font-size: 15px; }
p { margin: 0 0 14px; }
.lead { color: var(--cream-dim); font-size: 16px; max-width: 34em; margin-top: 18px; }
.muted { color: var(--dim); font-size: 13px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font: 700 14px var(--display); text-decoration: none;
  background: var(--green); color: var(--green-ink); border: 0;
  box-shadow: 0 0 18px rgba(125, 249, 75, 0.25);
}
.btn:hover { text-shadow: none; box-shadow: 0 0 26px rgba(125, 249, 75, 0.45); }
.btn.ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green-dim); box-shadow: none; }
.btn.soon { cursor: default; }
.btn svg { width: 18px; height: 18px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }

/* ---- phone frame ---- */
.phone {
  width: 100%; max-width: 300px; aspect-ratio: 1320 / 2868;
  border: 2px solid var(--green); border-radius: 38px; padding: 8px;
  background: var(--term); box-shadow: 0 0 28px rgba(125, 249, 75, 0.18);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }

/* ---- hero ---- */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding-top: 48px; padding-bottom: 72px;
}
.hero .phone { justify-self: center; max-width: 320px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 44px; }
  .hero .phone { max-width: 270px; }
}

/* ---- sections ---- */
section { padding: 64px 0; border-top: 1px solid var(--line); }
.intro > * { max-width: 34em; }
.intro h2 { margin-bottom: 22px; }
.intro p { color: var(--cream-dim); font-size: 16px; }
.intro p.dna { font: 700 18px var(--display); color: var(--cream); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.step .phone { max-width: 260px; margin: 0 auto 22px; }
.step .num { font: 500 12px var(--display); color: var(--mag); margin-bottom: 6px; }
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--cream-dim); font-size: 14px; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .step { max-width: 420px; margin: 0 auto; }
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .phone { justify-self: center; }
.split p { color: var(--cream-dim); font-size: 15px; }
.split h2 { margin-bottom: 20px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .split .phone { max-width: 260px; }
}

.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.facts li {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 6px;
  padding: 12px 14px; font-size: 14px; color: var(--cream-dim);
}
.facts b { font: 700 13px var(--display); color: var(--green); display: block; margin-bottom: 2px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.trio figure { margin: 0; }
.trio .phone { max-width: 240px; margin: 0 auto 16px; }
.trio figcaption { font-size: 13px; color: var(--cream-dim); max-width: 280px; margin: 0 auto; }
.trio figcaption b { font: 700 13px var(--display); color: var(--mag-light); text-shadow: var(--vglow); display: block; margin-bottom: 4px; }
@media (max-width: 820px) {
  .trio { grid-template-columns: 1fr; gap: 44px; }
  .trio figcaption { text-align: center; }
}

/* worlds: cards like Portal Bay */
.worlds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; margin-top: 32px; }
.world {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 6px; padding: 16px 18px;
}
.world h3 { font-size: 15px; margin-bottom: 6px; }
.world p { margin: 0; font-size: 13px; color: var(--cream-dim); line-height: 1.55; }
.world.own { border-style: dashed; border-color: var(--green-dim); background: transparent; }

.final { text-align: center; padding: 88px 0; }
.final img { width: 120px; height: 120px; border-radius: 26px; margin: 0 auto 28px; box-shadow: 0 0 34px rgba(125,249,75,0.35); }
.final .cta-row { justify-content: center; }
.final .lead { margin-left: auto; margin-right: auto; }

/* ---- text pages ---- */
.doc { max-width: 44em; padding-top: 32px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 28px; }
.doc h2 { font-size: 18px; text-shadow: none; margin: 34px 0 12px; }
.doc p, .doc li { color: var(--cream-dim); }
.doc strong { color: var(--cream); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 10px; }
.doc .q { margin-bottom: 26px; }
.doc .q h2 { margin-top: 0; }

/* ---- footer ---- */
.foot {
  border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--dim);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--cream-dim); text-decoration: none; }
.foot a:hover { color: var(--green); }
.final.opening { border-top: 0; padding: 40px 0 64px; }
