/* Zombie Road Rumble pages on games.bheeli.com: the dark Neon Outbreak look.
   The light Bheeli Games hub has its own hub.css at the site root. Paths in url() are relative to this file. */

@font-face {
  font-family: "Black Ops One";
  src: url("../fonts/BlackOpsOne.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Russo One";
  src: url("../fonts/RussoOne.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #120D22;
  --bg-deep: #0C0818;
  --panel: #281B3B;
  --panel-deep: #1C1430;
  --text: #F5EEFF;
  --text-dim: #C9BEDD;
  --lime: #CDFF58;
  --lime-glow: rgba(205, 255, 88, 0.45);
  --magenta: #F56CAA;
  --magenta-glow: rgba(245, 108, 170, 0.5);
  --cyan: #63E9ED;
  --cyan-glow: rgba(99, 233, 237, 0.45);
  --line: rgba(99, 233, 237, 0.22);
  --radius: 18px;
  --title: "Black Ops One", "Russo One", Impact, sans-serif;
  --label: "Russo One", "Segoe UI", Roboto, Arial, sans-serif;
  --body: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--lime); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

h1, h2, h3 { font-weight: normal; line-height: 1.15; }
h1 { font-family: var(--title); color: var(--magenta); font-size: clamp(32px, 7vw, 48px); margin: 0 0 8px; }
h2 { font-family: var(--title); color: var(--magenta); font-size: clamp(28px, 5.4vw, 44px); margin: 0 0 14px; }
h3 { font-family: var(--label); color: var(--cyan); font-size: 19px; margin: 24px 0 6px; }

section { padding: 72px 0; }
.kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan);
  font-family: var(--label);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(99, 233, 237, 0.08);
}
.lead { color: var(--text-dim); font-size: 18px; max-width: 640px; margin: 0 0 28px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- the game's name: one title lockup everywhere ----------
   Karan, 22 October 2026: "the text for Zombie Road Rumble I have attached should be used everywhere, I love this font".
   Black Ops One, ZOMBIE in white, ROAD RUMBLE in pink at 0.74 of its size, a hard dark drop and a soft glow.
   .stack puts ROAD and RUMBLE on their own lines; without it ROAD RUMBLE shares one line.
   Markup: <span class="zrr stack"><span class="zrr-z">Zombie</span> <span class="zrr-r"><span>Road</span> <span>Rumble</span></span></span>
   The same lockup is in hub.css (on a dark plate there) and in the game (UIKit.Logo). */

.zrr {
  display: inline-block;
  font-family: var(--title);
  font-weight: normal;
  font-style: normal;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
  text-shadow: 0 0.045em 0 #000, 0 0 0.27em rgba(99, 233, 237, 0.55);
}
.zrr .zrr-z, .zrr .zrr-r { display: block; }
.zrr .zrr-r {
  font-size: 0.74em;
  color: var(--magenta);
  text-shadow: 0 0.06em 0 #3A0F2A, 0 0 0.31em var(--magenta-glow), 0 0 0.72em rgba(245, 108, 170, 0.35);
}
.zrr.stack .zrr-r span { display: block; }

/* ---------- header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 13, 34, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand img { width: 46px; height: 46px; border-radius: 11px; box-shadow: 0 0 14px var(--magenta-glow); }
.brand .zrr { font-size: 21px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--label); font-size: 15px; }
.nav a { color: var(--text-dim); text-decoration: none; padding: 4px 0; position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--lime); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- buttons and badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--bg);
  font-family: var(--label);
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 5px 0 #7E9E2C, 0 10px 34px var(--lime-glow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { color: var(--bg); transform: translateY(-3px); box-shadow: 0 8px 0 #7E9E2C, 0 14px 44px rgba(205, 255, 88, 0.7); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #7E9E2C, 0 6px 20px var(--lime-glow); }
.btn.pulse { animation: pulse 2.6s ease-in-out infinite; }
.btn.alt { background: rgba(40, 27, 59, 0.85); color: var(--text); border: 2px solid var(--cyan); box-shadow: 0 0 22px rgba(99, 233, 237, 0.2); }
.btn.alt:hover { color: var(--lime); border-color: var(--lime); box-shadow: 0 0 30px var(--lime-glow); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 5px 0 #7E9E2C, 0 10px 34px var(--lime-glow); }
  50% { box-shadow: 0 5px 0 #7E9E2C, 0 10px 54px rgba(205, 255, 88, 0.85); }
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.store {
  display: inline-flex;
  flex-direction: column;
  min-width: 170px;
  padding: 9px 18px;
  border: 1px solid rgba(245, 238, 255, 0.35);
  border-radius: 12px;
  background: rgba(12, 8, 24, 0.75);
  font-family: var(--label);
  line-height: 1.25;
}
.store small { color: var(--text-dim); font-family: var(--body); font-size: 12px; }
.store b { font-weight: normal; font-size: 19px; }
.soon {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--magenta);
  color: var(--bg);
  font-family: var(--label);
  font-size: 12px;
  width: fit-content;
  box-shadow: 0 0 14px var(--magenta-glow);
}

/* ---------- Zombie Road Rumble hero ---------- */

.zhero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  background: var(--bg-deep);
}
.zhero-bg { position: absolute; inset: 0; z-index: -3; }
.zhero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(1.2) brightness(0.62); transform: scale(1.06); }
.zhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(99, 233, 237, 0.28), transparent 70%),
    radial-gradient(50% 60% at 15% 85%, rgba(245, 108, 170, 0.3), transparent 70%),
    linear-gradient(90deg, rgba(12, 8, 24, 0.95) 0%, rgba(12, 8, 24, 0.72) 42%, rgba(12, 8, 24, 0.25) 100%);
}
.zhero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.zhero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.logo { display: block; margin: 0; font-size: clamp(64px, 8.4vw, 112px); }
.pitch { max-width: 560px; font-size: 19px; margin: 22px 0 22px; color: var(--text); text-shadow: 0 2px 8px #000; }
.zhero-art { position: relative; height: min(78vh, 700px); }
.zhero-art::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 4%;
  top: 14%;
  bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(99, 233, 237, 0.35), rgba(245, 108, 170, 0.18) 60%, transparent);
  filter: blur(8px);
  animation: breathe 5s ease-in-out infinite;
}
.zhero-art img { position: absolute; bottom: 0; height: 96%; width: auto; max-width: none; }
.zhero-art .c1 { left: 0; z-index: 1; filter: drop-shadow(0 0 22px rgba(99, 233, 237, 0.65)); animation: floaty 6s ease-in-out infinite; }
.zhero-art .c2 { right: 0; height: 90%; filter: drop-shadow(0 0 22px rgba(245, 108, 170, 0.65)); animation: floaty 6s ease-in-out -3s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes breathe { 0%, 100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

/* ---------- stats band ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(40, 27, 59, 0.92), rgba(28, 20, 48, 0.92));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.stats li { padding: 22px 16px; text-align: center; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--title); font-weight: normal; font-size: clamp(30px, 4.4vw, 46px); color: var(--lime); line-height: 1; text-shadow: 0 0 22px var(--lime-glow); }
.stats span { display: block; margin-top: 6px; color: var(--text-dim); font-family: var(--label); font-size: 14px; }
.band { margin-top: -40px; position: relative; z-index: 2; padding: 0; }

/* ---------- gameplay video ---------- */

.play { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.phone {
  position: relative;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, #3A2856, #120D22);
  box-shadow: 0 0 0 2px rgba(99, 233, 237, 0.5), 0 0 50px rgba(99, 233, 237, 0.35), 0 0 120px rgba(245, 108, 170, 0.25);
}
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 30px; background: #000; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; }
.ticks li { position: relative; padding: 6px 0 6px 34px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime-glow);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 14px;
  width: 6px;
  height: 11px;
  border: solid var(--bg);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.note { color: var(--text-dim); font-size: 14px; }

/* ---------- screenshot strip ---------- */

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.track { display: flex; gap: 18px; width: max-content; margin: 0; padding: 12px 0 24px; list-style: none; animation: slide 60s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track li { flex: none; width: 220px; }
.track img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid rgba(99, 233, 237, 0.3);
  background: var(--panel-deep);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.track li:hover img { transform: translateY(-8px) scale(1.03); border-color: var(--lime); box-shadow: 0 0 34px var(--lime-glow); }
@keyframes slide { to { transform: translateX(calc(-50% - 9px)); } }

/* ---------- commanders ---------- */

.cmdrs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.cmdr {
  --team: #59a7ff;
  --team-glow: rgba(63, 127, 217, 0.6);
  position: relative;
  height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 238, 255, 0.12);
  background:
    radial-gradient(85% 60% at 50% 38%, var(--team-glow), transparent 75%),
    linear-gradient(180deg, var(--panel), var(--bg-deep));
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.cmdr.kage { --team: #ff7a7a; --team-glow: rgba(217, 74, 74, 0.6); }
.cmdr.rust { --team: #f0b45c; --team-glow: rgba(217, 154, 63, 0.55); }
.cmdr.grave { --team: #73d28c; --team-glow: rgba(79, 174, 106, 0.55); }
.cmdr img { position: absolute; left: 50%; bottom: 64px; height: 82%; width: auto; max-width: none; transform: translateX(-50%); transition: transform 0.45s var(--ease); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6)); }
.cmdr div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(12, 8, 24, 0.94) 42%);
}
.cmdr b { display: block; font-family: var(--label); font-weight: normal; font-size: 19px; color: #fff; }
.cmdr span { display: block; color: var(--team); font-family: var(--label); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.cmdr small { display: block; color: var(--text-dim); font-size: 13px; line-height: 1.35; margin-top: 4px; }
.cmdr:hover { transform: translateY(-10px); border-color: var(--team); box-shadow: 0 0 40px var(--team-glow), 0 18px 40px rgba(0, 0, 0, 0.5); }
.cmdr:hover img { transform: translateX(-50%) scale(1.07); }

/* ---------- vehicles and weapons ---------- */

.garage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.garage li {
  position: relative;
  padding: 18px 10px 14px;
  border-radius: var(--radius);
  background: radial-gradient(70% 55% at 50% 45%, rgba(99, 233, 237, 0.16), transparent 75%), var(--panel-deep);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.garage img { height: 110px; width: auto; margin: 0 auto 10px; object-fit: contain; transition: transform 0.4s var(--ease); }
.garage b { display: block; font-family: var(--label); font-weight: normal; font-size: 14px; }
.garage small { display: block; color: var(--cyan); font-family: var(--label); font-size: 11px; letter-spacing: 1px; }
.garage li:hover { transform: translateY(-6px); border-color: var(--lime); box-shadow: 0 0 28px var(--lime-glow); }
.garage li:hover img { transform: scale(1.1) rotate(-2deg); }

.armory {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 22px;
  list-style: none;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(99, 233, 237, 0.05) 0 1px, transparent 1px 40px),
    linear-gradient(180deg, var(--panel), var(--bg-deep));
}
.armory li { text-align: center; }
.armory img { height: 74px; width: auto; max-width: 100%; margin: 0 auto 8px; object-fit: contain; transition: transform 0.35s var(--ease), filter 0.35s; }
.armory span { display: block; font-family: var(--label); font-size: 12px; color: var(--text-dim); line-height: 1.3; }
.armory li:hover img { transform: scale(1.15) rotate(-4deg); filter: drop-shadow(0 0 14px var(--magenta-glow)); }

/* ---------- features ---------- */

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(160deg, var(--panel), var(--panel-deep));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.features li:hover { transform: translateY(-5px); border-color: var(--magenta); box-shadow: 0 0 30px rgba(245, 108, 170, 0.3); }
.features img { width: 56px; height: 56px; object-fit: contain; flex: none; filter: drop-shadow(0 0 10px rgba(205, 255, 88, 0.25)); }
.features b { display: block; font-family: var(--label); font-weight: normal; color: var(--lime); font-size: 18px; margin-bottom: 2px; }
.features p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* ---------- call to action band ---------- */

.cta { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0; text-align: center; }
.cta > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: brightness(0.5) saturate(1.2); }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 50% 50%, rgba(18, 13, 34, 0.35), rgba(18, 13, 34, 0.92)), linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg));
}
.cta h2 { font-size: clamp(36px, 7vw, 68px); color: #fff; text-shadow: 0 4px 0 #000, 0 0 30px var(--magenta-glow); }
.cta .stores, .cta .btns { justify-content: center; }
.cta .lead { margin-left: auto; margin-right: auto; color: var(--text); }

/* ---------- link cards ---------- */

.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.cards a {
  display: block;
  height: 100%;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.cards a:hover { border-color: var(--lime); color: var(--text); transform: translateY(-4px); box-shadow: 0 0 24px rgba(205, 255, 88, 0.25); }
.cards b { display: block; font-family: var(--label); font-weight: normal; color: var(--cyan); font-size: 18px; }
.cards span { color: var(--text-dim); font-size: 15px; }
.cards + .meta { margin-top: 18px; }

/* ---------- document pages ---------- */

.page-head { padding: 48px 0 8px; }
.meta { color: var(--text-dim); font-size: 15px; margin: 0; }
.doc { padding: 16px 0 56px; }
.doc h2 { font-size: clamp(24px, 4.6vw, 30px); margin-top: 34px; }
.doc p, .doc li { color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.box {
  background: linear-gradient(160deg, var(--panel), var(--panel-deep));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}
.box > :first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.box.lime { border-color: var(--lime); box-shadow: 0 0 30px rgba(205, 255, 88, 0.12); }
.box h2, .box h3 { margin-top: 0; }
.toc { columns: 2; column-gap: 28px; }
.toc li { break-inside: avoid; }

.table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 16px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table th { font-family: var(--label); font-weight: normal; color: var(--cyan); }
.scroll { overflow-x: auto; }

.mail { font-family: var(--label); font-size: 20px; color: var(--lime); word-break: break-all; text-shadow: 0 0 14px var(--lime-glow); }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding: 8px 0 8px 50px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--bg);
  font-family: var(--label);
  text-align: center;
  line-height: 34px;
  box-shadow: 0 0 14px var(--lime-glow);
}
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; margin: 10px 0; transition: border-color 0.2s; }
.faq details:hover, .faq details[open] { border-color: var(--cyan); }
.faq summary { cursor: pointer; font-family: var(--label); color: var(--cyan); }
.faq details[open] summary { margin-bottom: 8px; }
.faq details p:last-child { margin-bottom: 4px; }

/* ---------- pages read from the database (site.js): loading, unavailable, help center ---------- */

[hidden] { display: none !important; }
.doc [id] { scroll-margin-top: 96px; }
.doc code { font-size: 0.92em; padding: 1px 6px; border-radius: 6px; background: var(--panel); }
.loading { display: none; color: var(--text-dim); font-family: var(--label); }
.js .loading { display: flex; align-items: center; gap: 12px; }
.loading::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime-glow); animation: breathe 1.2s ease-in-out infinite; }
.unavailable, .help-none { padding: 16px 20px; border: 1px solid var(--magenta); border-radius: 14px; background: var(--panel); box-shadow: 0 0 24px rgba(245, 108, 170, 0.15); }
.help-tools { margin: 6px 0 22px; }
.help-label { display: block; font-family: var(--label); color: var(--cyan); margin-bottom: 8px; }
.help-search { width: 100%; box-sizing: border-box; padding: 14px 16px; font: inherit; font-size: 17px; color: var(--text); background: var(--panel-deep); border: 2px solid var(--line); border-radius: 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.help-search::placeholder { color: var(--text-dim); opacity: 0.75; }
.help-search:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 18px var(--lime-glow); }
.help-count { min-height: 1.3em; margin: 8px 0 0; color: var(--text-dim); font-size: 15px; }
.help-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.help-cats a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text); font-family: var(--label); font-size: 14px; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.help-cats a:hover { border-color: var(--lime); color: var(--lime); }
.help-cat h2 { margin-bottom: 4px; }

.big404 { font-family: var(--title); font-size: clamp(90px, 25vw, 180px); color: var(--magenta); line-height: 1; margin: 0; text-shadow: 0 6px 0 #000, 0 0 50px var(--magenta-glow); }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line); background: var(--bg-deep); padding: 30px 0 40px; font-size: 15px; color: var(--text-dim); }
.foot-brand { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 20px; text-decoration: none; }
.foot-brand img { width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 0 18px var(--magenta-glow); }
.foot-brand .zrr { font-size: 30px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; font-family: var(--label); }
.foot nav a { color: var(--text); text-decoration: none; }
.foot nav a:hover { color: var(--lime); }
.foot p { margin: 4px 0; }

/* ---------- scroll reveal (only when the small script runs) ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > :nth-child(2) { transition-delay: 0.08s; }
.js .stagger.in > :nth-child(3) { transition-delay: 0.16s; }
.js .stagger.in > :nth-child(4) { transition-delay: 0.24s; }
.js .stagger.in > :nth-child(5) { transition-delay: 0.32s; }
.js .stagger.in > :nth-child(6) { transition-delay: 0.4s; }
.js .stagger.in > :nth-child(7) { transition-delay: 0.48s; }
.js .stagger.in > :nth-child(8) { transition-delay: 0.56s; }
.js .stagger.in > .cmdr:hover { transform: translateY(-10px); transition-delay: 0s; }
.js .stagger.in > .garage-item:hover { transform: translateY(-6px); transition-delay: 0s; }
.js .stagger.in > .feat:hover { transform: translateY(-5px); transition-delay: 0s; }

/* ---------- tablets ---------- */

@media (max-width: 1000px) {
  .cmdrs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 4px 18px; }
  .cmdr { flex: 0 0 230px; scroll-snap-align: start; }
  .garage { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .armory { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .play { grid-template-columns: 280px 1fr; gap: 36px; }
}

/* ---------- phones ---------- */

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .top .wrap { justify-content: center; }
  .nav { justify-content: center; gap: 2px 14px; font-size: 14px; }
  .zhero { min-height: 0; }
  .zhero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 0; gap: 0; }
  .zhero-art { height: 360px; margin: 6px 0 0; }
  .zhero-art .c1 { left: 2%; }
  .zhero-art .c2 { right: 2%; }
  .zhero::before { background: radial-gradient(70% 40% at 50% 80%, rgba(99, 233, 237, 0.25), transparent 70%), linear-gradient(180deg, rgba(12, 8, 24, 0.88) 0%, rgba(12, 8, 24, 0.6) 60%, rgba(12, 8, 24, 0.3) 100%); }
  .pitch { font-size: 17px; margin: 16px 0; }
  .band { margin-top: -20px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .play { grid-template-columns: 1fr; gap: 30px; }
  .phone { max-width: 290px; margin: 0 auto; }
  .track li { width: 160px; }
  .track { gap: 12px; animation-name: slide_small; }
  .cmdr { flex-basis: 210px; height: 380px; }
  .garage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garage li:last-child { grid-column: span 2; }
  .armory { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; gap: 18px 10px; }
  .features { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .store { min-width: 0; flex: 1 1 140px; }
  .toc { columns: 1; }
  .doc [id] { scroll-margin-top: 160px; }   /* the sticky header is two rows tall on phones */
  .box { padding: 16px; }
  .cta { padding: 72px 0; }
}
@keyframes slide_small { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- less motion when the phone asks for it ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .track .dup { display: none; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
}
