@charset "utf-8";
/* Fasty DNS - site styles. Brand: signal green #C7F000 on #07080A. */
@font-face {
  font-family: Vazirmatn;
  font-weight: 100 900;
  font-display: swap;
  src: url("vazirmatn.woff2") format("woff2");
}

:root {
  --bg: #07080a;
  --bg-2: #0c0e12;
  --bg-3: #12151b;
  --line: #1c2028;
  --line-2: #2a303b;
  --fg: #edeff2;
  --muted: #9aa1ac;
  --dim: #6b7280;
  --signal: #c7f000;
  --signal-ink: #07080a;
  --signal-soft: rgba(199, 240, 0, 0.1);
  --signal-line: rgba(199, 240, 0, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1120px;
  --mono: ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { 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: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Vazirmatn, Tahoma, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.35; margin: 0; }
p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 8, 10, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; }
.brand b { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; direction: ltr; }
.brand small {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
  color: var(--muted); direction: ltr; margin-inline-start: 2px;
}
.nav { display: none; gap: 4px; margin-inline-start: auto; }
.nav a {
  text-decoration: none; color: var(--muted); font-size: 15px;
  padding: 6px 12px; border-radius: 8px;
}
.nav a:hover { color: var(--fg); background: var(--bg-3); }
.top .btn { margin-inline-start: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .top .btn { margin-inline-start: 8px; }
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--signal); color: var(--signal-ink); }
.btn-primary:hover { background: #d4ff1a; }
.btn-ghost { border-color: var(--line-2); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); background: var(--bg-3); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(199, 240, 0, 0.13), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 30%, transparent 75%);
  opacity: 0.55;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) {
  .hero { padding: 88px 0 72px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--signal);
  background: var(--signal-soft); border: 1px solid var(--signal-line);
  padding: 4px 12px; border-radius: 999px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(199, 240, 0, 0.6); animation: ping 2.4s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(199, 240, 0, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(199, 240, 0, 0); }
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.05rem, 6.2vw, 3.55rem);
  font-weight: 900; letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--signal); white-space: nowrap; }
.lead { margin-top: 18px; font-size: clamp(1rem, 2.3vw, 1.15rem); color: var(--muted); max-width: 40em; }
.lead strong { color: var(--fg); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.devices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.devices span {
  font-size: 13px; color: var(--muted); border: 1px solid var(--line-2);
  padding: 3px 11px; border-radius: 999px; direction: ltr;
}
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 34px; max-width: 520px;
}
.stats div { border-inline-start: 2px solid var(--signal); padding-inline-start: 12px; }
.stats b { display: block; font-size: clamp(1.35rem, 4vw, 1.75rem); font-weight: 800; line-height: 1.3; }
.stats span { font-size: 13px; color: var(--muted); }

/* the route card in the hero */
.route {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line-2); border-radius: 20px; padding: 22px;
  box-shadow: 0 30px 80px -40px rgba(199, 240, 0, 0.25);
}
.route-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.route-head h2 { font-size: 15px; font-weight: 700; }
.route-head .mono { font-size: 12px; color: var(--dim); }
.hops { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
/* The icons sit at the top of their rows, always 10px down, so their centres
   are at a known height whatever the text beside them wraps to. Each row
   then draws the line from its top to its icon and from its icon to its
   bottom: the chain joins icon to icon at any width. A fixed-length line
   between rows used to stop short wherever a row's text took two lines. */
.hop {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  position: relative; padding: 10px 0;
}
.hop + .hop::before, .hop:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-start: 21px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--signal) 0 5px, transparent 5px 10px);
  background-size: 2px 10px; animation: flow 0.8s linear infinite;
}
.hop + .hop::before { top: 0; height: 32px; }
.hop:not(:last-child)::after { top: 32px; bottom: 0; }
@keyframes flow { to { background-position: 0 10px; } }
.hop-ico {
  position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-3); border: 1px solid var(--line-2); color: var(--fg);
}
.hop-ico svg { width: 22px; height: 22px; }
.hop.is-fasty .hop-ico { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.hop-text { padding-top: 1px; min-width: 0; }
.hop b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.hop span { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; }
.hop .tag {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px;
  color: var(--signal); background: var(--signal-soft); border: 1px solid var(--signal-line);
  white-space: nowrap; line-height: 1.6;
}
.route-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2);
  display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted);
}
.route-foot svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--muted); }

/* --------------------------------------------------------------- sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.sec-head { max-width: 46em; margin-bottom: 36px; }
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--signal);
  direction: ltr; display: inline-block; margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(1.6rem, 4.2vw, 2.35rem); font-weight: 850; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }

/* features */
.features { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.feature-ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--signal-soft); color: var(--signal); border: 1px solid var(--signal-line);
}
.feature-ico svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.1rem; font-weight: 800; margin-top: 16px; }
.feature p { color: var(--muted); margin-top: 6px; font-size: 15px; line-height: 1.85; }

/* platforms */
.platforms { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .platforms { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .platforms { grid-template-columns: repeat(5, 1fr); } }
.platform {
  display: flex; align-items: center; gap: 12px; min-height: 64px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.platform svg { width: 24px; height: 24px; fill: currentColor; color: var(--fg); flex-shrink: 0; }
.platform .ph {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
  background: var(--bg-3); border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 800; display: grid; place-items: center; color: var(--muted);
}
.platform b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.45; }
.platform span { display: block; font-size: 12px; color: var(--dim); direction: ltr; text-align: right; line-height: 1.4; }

/* games */
.games-tools { display: grid; gap: 14px; margin: 44px 0 20px; }
.search { position: relative; }
.search input {
  width: 100%; min-height: 50px; padding: 0 46px 0 16px;
  background: var(--bg-2); color: var(--fg); border: 1px solid var(--line-2);
  border-radius: 12px; font: inherit; font-size: 16px;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.search svg {
  position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; color: var(--dim); pointer-events: none;
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip {
  flex-shrink: 0; font: inherit; font-size: 14px; color: var(--muted);
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 5px 14px; cursor: pointer; white-space: nowrap;
}
.chip:hover { color: var(--fg); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); font-weight: 700; }
.chip small { opacity: 0.7; margin-inline-start: 4px; }

.cat + .cat { margin-top: 34px; }
.cat-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.cat-head h3 { font-size: 1.15rem; font-weight: 800; }
.cat-head span { color: var(--dim); font-size: 14px; }
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .games { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .games { grid-template-columns: repeat(4, 1fr); } }
.game {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 14px; min-height: 64px; display: flex; flex-direction: column; justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.game:hover { border-color: var(--signal-line); background: var(--bg-3); }
.game b { font-size: 15px; font-weight: 700; line-height: 1.5; }
.game span { font-size: 12.5px; color: var(--dim); direction: ltr; text-align: right; line-height: 1.45; }
.game i { font-style: normal; font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.no-match {
  display: none; text-align: center; padding: 36px 16px; color: var(--muted);
  border: 1px dashed var(--line-2); border-radius: var(--radius);
}
.no-match.show { display: block; }
.note {
  margin-top: 28px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line); border-inline-start: 3px solid var(--signal);
  color: var(--muted); font-size: 14.5px;
}
.note b { color: var(--fg); }

/* beyond games */
.beyond { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .beyond { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-pill {
  display: inline-flex; align-items: center; gap: 9px; direction: ltr;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; font-weight: 600;
}
.logo-pill svg { width: 18px; height: 18px; fill: currentColor; }

/* how it works */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; counter-increment: s;
}
.step::before {
  content: counter(s, persian); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; font-weight: 800;
  background: var(--signal); color: var(--signal-ink);
}
.step h3 { font-size: 1.08rem; font-weight: 800; margin-top: 14px; }
.step p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.split { margin-top: 14px; display: grid; gap: 14px; }
@media (min-width: 720px) { .split { grid-template-columns: 1fr 1fr; } }
.lane {
  border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}
.lane svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }
.lane b { display: block; font-weight: 800; }
.lane p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.lane.via { background: var(--signal-soft); border-color: var(--signal-line); }
.lane.via svg { color: var(--signal); }
.lane.direct { background: var(--bg-2); }
.lane.direct svg { color: var(--muted); }

/* setup */
.setup { display: grid; gap: 28px; }
/* Grid columns may shrink below their content: the device tabs scroll
   sideways inside them, and must not push the page wider than a phone. */
.setup > *, .hero-grid > *, .beyond > *, .games-tools > * { min-width: 0; }
@media (min-width: 980px) { .setup { grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; } }
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: t; }
.todo li {
  counter-increment: t; display: grid; grid-template-columns: 34px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.todo li:last-child { border-bottom: 0; }
.todo li::before {
  content: counter(t, persian); width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
  border: 1px solid var(--signal-line); color: var(--signal); background: var(--signal-soft);
}
.todo b { display: block; font-weight: 800; }
.todo p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.todo a { color: var(--signal); text-decoration: none; font-weight: 600; }
.todo a:hover { text-decoration: underline; }

.dnsbox {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; padding: 20px;
}
.dnsbox-label { font-size: 14px; color: var(--muted); }
.dns-ip {
  margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg); border: 1px solid var(--signal-line); border-radius: 12px; padding: 10px 10px 10px 16px;
}
.dns-ip code {
  font-family: var(--mono); font-size: clamp(1.25rem, 5vw, 1.6rem); font-weight: 700;
  color: var(--signal); direction: ltr; letter-spacing: 0.02em;
}
.warn {
  margin-top: 14px; display: flex; gap: 10px; font-size: 14px; color: var(--muted);
  background: rgba(255, 196, 0, 0.06); border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: 10px; padding: 10px 12px;
}
.warn svg { width: 18px; height: 18px; flex-shrink: 0; color: #ffc400; margin-top: 3px; }
.warn b { color: var(--fg); }

.tabs { margin-top: 20px; }
.tablist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-2); }
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted);
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 8px 12px; cursor: pointer; white-space: nowrap;
}
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: var(--signal); border-bottom-color: var(--signal); }
.panel { padding: 16px 2px 2px; }
.panel h4 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.js .panel[hidden] { display: none; }
.panel + .panel { border-top: 1px solid var(--line); }
.js .panel + .panel { border-top: 0; }
.path { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
/* The consoles' own menus are in English, so the path reads left to right. */
.path { direction: ltr; }
.path li {
  font-size: 13.5px; background: var(--bg-3); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 2px 9px; line-height: 1.8; unicode-bidi: isolate;
}
.path li[dir="rtl"] { color: var(--signal); border-color: var(--signal-line); }
.path li + li { position: relative; margin-left: 14px; }
.path li + li::before {
  content: "›"; position: absolute; left: -13px; top: 50%; transform: translateY(-52%);
  color: var(--dim); font-size: 15px;
}
.panel p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.panel p code { font-family: var(--mono); color: var(--fg); direction: ltr; unicode-bidi: isolate; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 18px;
}
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--mono); font-size: 20px; color: var(--signal);
  transition: transform 0.2s ease; flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 15px; }

/* final call */
.final { text-align: center; }
.final .box {
  position: relative; overflow: hidden; border-radius: 24px; padding: 48px 20px;
  background: var(--signal); color: var(--signal-ink);
}
.final .box::after {
  content: ""; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px;
  background: url("mark-signal.svg") center / contain no-repeat;
  filter: invert(1) brightness(0); opacity: 0.08;
}
.final h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 900; }
.final p { margin: 10px auto 0; max-width: 34em; font-weight: 500; opacity: 0.85; }
.final .cta-row { justify-content: center; }
.final .btn-primary { background: var(--signal-ink); color: var(--signal); }
.final .btn-primary:hover { background: #1a1d24; }
.final .btn-ghost { border-color: rgba(7, 8, 10, 0.35); color: var(--signal-ink); }
.final .btn-ghost:hover { background: rgba(7, 8, 10, 0.08); border-color: var(--signal-ink); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
@media (min-width: 720px) { footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer nav a { text-decoration: none; color: var(--muted); }
footer nav a:hover { color: var(--fg); }
footer p { margin-top: 8px; font-size: 13px; }

/* toast */
.toast {
  position: fixed; inset-inline: 0; bottom: 22px; margin: 0 auto; width: max-content; max-width: calc(100% - 32px);
  background: var(--fg); color: var(--bg); font-weight: 700; font-size: 14px;
  padding: 8px 16px; border-radius: 10px; opacity: 0; transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none; z-index: 40;
}
.toast.show { opacity: 1; transform: none; }

/* ------------------------------------------------------------- pages */
.nav a[aria-current="page"] { color: var(--fg); background: var(--bg-3); }
/* On a phone the pages are a row of their own under the header. */
.nav-mobile { border-top: 1px solid var(--line); }
.nav-mobile .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.nav-mobile .wrap::-webkit-scrollbar { display: none; }
.nav-mobile a {
  flex-shrink: 0; text-decoration: none; color: var(--muted); font-size: 14px;
  padding: 4px 12px; border-radius: 999px; border: 1px solid transparent;
}
.nav-mobile a[aria-current="page"] { color: var(--signal); border-color: var(--signal-line); background: var(--signal-soft); }
@media (min-width: 900px) { .nav-mobile { display: none; } }

.page-head { position: relative; padding: 56px 0 8px; border-top: 0; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px 220px at 80% 0%, rgba(199, 240, 0, 0.12), transparent 70%);
}
.page-head h1 { font-size: clamp(1.9rem, 5.4vw, 3rem); font-weight: 900; }
section.tight { padding-top: 28px; padding-bottom: 28px; border-top: 0; }
.sub-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 14px; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; }
.sec-head-row > div { max-width: 46em; }
.steps code { font-family: var(--mono); color: var(--signal); direction: ltr; unicode-bidi: isolate; }
.steps + .cta-row { margin-top: 24px; }

/* ------------------------------------------------------- game tiles */
.featured { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .featured { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .featured { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line-2); text-decoration: none;
  background: radial-gradient(120% 80% at 70% 10%, color-mix(in srgb, var(--tile) 55%, transparent), transparent 60%),
              linear-gradient(160deg, color-mix(in srgb, var(--tile) 28%, var(--bg-2)), var(--bg));
  isolation: isolate;
}
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 0.4s ease;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 38%, rgba(7, 8, 10, 0.55) 62%, rgba(7, 8, 10, 0.94));
}
.tile:hover img { transform: scale(1.05); }
.tile:hover { border-color: var(--signal-line); }
.tile:focus-visible { outline-offset: 2px; }
.tile-mark {
  position: absolute; inset: 14% 10% auto; z-index: -1; direction: ltr; text-align: center;
  font-size: clamp(1.1rem, 3.6vw, 1.6rem); font-weight: 900; letter-spacing: -0.02em;
  line-height: 1.15; color: color-mix(in srgb, var(--tile) 70%, #fff); text-transform: uppercase;
}
.tile-text { position: absolute; inset: auto 0 0; padding: 14px; display: grid; gap: 1px; }
.tile-text b { font-size: 1.05rem; font-weight: 800; line-height: 1.4; color: #fff; }
.tile-text span { font-size: 12.5px; color: #c9ced6; direction: ltr; text-align: right; }
.tile-text small {
  margin-top: 6px; justify-self: start; font-size: 11.5px; color: var(--signal);
  background: rgba(7, 8, 10, 0.6); border: 1px solid var(--signal-line);
  padding: 1px 8px; border-radius: 999px; direction: ltr; unicode-bidi: isolate;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
