/* Mob Surge site: dark battlefield, the game's gold, and the three lane colours. */
@font-face {
  font-family: "Russo One";
  src: url("../fonts/RussoOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0e11;
  --bg-2: #11151a;
  --panel: #161b21;
  --panel-2: #1c232b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef0f2;
  --dim: #a3adb5;
  --gold: #f2c14e;
  --gold-deep: #c4860f;
  --orange: #ff9a2e;
  --red: #e8403a;
  --blue: #4fb8f0;
  --green: #7ce35c;
  --radius: 18px;
  --display: "Russo One", "Arial Black", Impact, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; max-width: 1160px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); letter-spacing: 0.06em; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); }
.topnav { display: flex; gap: 22px; font-weight: 700; font-size: 15px; }
.topnav a { color: var(--text); opacity: 0.85; }
.topnav a:hover { opacity: 1; text-decoration: none; color: var(--gold); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 94vh; display: flex; align-items: center;
  overflow: hidden; isolation: isolate; padding: 110px 0 70px;
}
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: drift 26s ease-in-out infinite alternate; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 70% at 72% 45%, rgba(242, 154, 46, 0.18), transparent 65%),
    linear-gradient(90deg, rgba(11, 14, 17, 0.96) 0%, rgba(11, 14, 17, 0.82) 45%, rgba(11, 14, 17, 0.55) 100%),
    linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}
@keyframes drift { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; }
.hero-content { max-width: 620px; }
.phone {
  justify-self: center; width: min(330px, 78vw); aspect-ratio: 540 / 1170; padding: 11px; border-radius: 46px;
  background: linear-gradient(160deg, #2a3038, #0a0c0e 40%, #1b2026);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 90px rgba(0, 0, 0, 0.65), 0 0 140px rgba(242, 154, 46, 0.22);
  transform: rotate(-3deg); animation: float 6s ease-in-out infinite;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
@keyframes float { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
.app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.08); margin-bottom: 18px; }
.kicker { display: inline-block; font-family: var(--display); font-size: 13px; letter-spacing: 0.22em; color: var(--orange); margin-bottom: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; }
.hero h1 {
  font-size: clamp(54px, 10vw, 118px); color: var(--gold); letter-spacing: 0.02em;
  text-shadow: 0 4px 0 #6e4708, 0 14px 40px rgba(0, 0, 0, 0.7);
}
.hero .tagline { font-family: var(--display); font-size: clamp(20px, 3vw, 28px); margin: 14px 0 10px; color: #fff; }
.hero .lede { color: #d6dbe0; font-size: 18px; margin: 0 0 26px; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-badge { height: 54px; width: auto; }
.store-badge--google-play { height: 80px; margin: -13px -10px; }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(242, 193, 78, 0.12); border: 1px solid rgba(242, 193, 78, 0.45);
  color: var(--gold); padding: 12px 18px; border-radius: 999px; font-weight: 800; letter-spacing: 0.04em;
}
.soon .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(124, 227, 92, 0.7); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(124, 227, 92, 0.6); } 80%, 100% { box-shadow: 0 0 0 12px rgba(124, 227, 92, 0); } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 800; letter-spacing: 0.03em; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06); color: var(--text);
}
.btn:hover { text-decoration: none; background: rgba(255, 255, 255, 0.12); }
/* Early-access card (pre-launch betas): two equal buttons side by side, stacked only on the narrowest phones. */
.beta {
  max-width: 460px; margin: 0 0 18px; padding: 16px; border-radius: 18px;
  background: rgba(124, 227, 92, 0.07); border: 1px solid rgba(124, 227, 92, 0.35);
}
.beta-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: #fff; font-weight: 800; }
.beta-title .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: ping 1.6s infinite; }
.beta-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-beta {
  flex-direction: column; gap: 2px; min-height: 58px; padding: 8px 12px; border-radius: 14px; line-height: 1.15;
  border-color: rgba(124, 227, 92, 0.6); background: rgba(124, 227, 92, 0.12); color: #fff;
}
.btn-beta small { font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: 0.04em; }
.btn-beta:hover { background: rgba(124, 227, 92, 0.2); }
.btn-beta.is-soon { border-style: dashed; border-color: var(--line); background: transparent; color: #9aa3ab; cursor: default; }
.btn-beta.is-soon small { color: #9aa3ab; }
.beta-note { margin: 12px 0 0; color: #9aa3ab; font-size: 13px; }

/* ---------------------------------------------------------------- sections */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 5vw, 48px); }
.section-head p { color: var(--dim); font-size: 18px; margin: 12px 0 0; }
.eyebrow { font-family: var(--display); font-size: 13px; letter-spacing: 0.22em; color: var(--orange); display: block; margin-bottom: 10px; }

/* the three lanes */
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lane {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; overflow: hidden;
}
.lane::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c); }
.lane::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%);
}
.lane .tag { font-family: var(--display); letter-spacing: 0.16em; font-size: 13px; color: var(--c); }
.lane h3 { font-size: 26px; margin: 8px 0 10px; }
.lane p { color: var(--dim); margin: 0; }
.lane--upgrades { --c: var(--orange); }
.lane--horde { --c: var(--red); }
.lane--squad { --c: var(--blue); }

/* stats strip */
.stats { background: linear-gradient(90deg, #15110a, #1a140a 50%, #15110a); border-block: 1px solid rgba(242, 193, 78, 0.18); padding: 34px 0; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; }
.stats b { display: block; font-family: var(--display); font-size: clamp(30px, 4.5vw, 46px); color: var(--gold); line-height: 1; }
.stats span { color: var(--dim); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature svg { width: 40px; height: 40px; color: var(--gold); margin-bottom: 14px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--dim); margin: 0; font-size: 15.5px; }

/* screenshots */
.shots-wrap { position: relative; }
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 24px; margin: 0 -20px;
  scrollbar-width: thin; scrollbar-color: #2c343d transparent;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); aspect-ratio: 540 / 1170; height: auto; object-fit: cover; width: 100%; background: var(--panel); }
.shots figcaption { color: var(--dim); font-size: 14px; font-weight: 700; margin-top: 10px; text-align: center; }

/* elite band */
.elite { background: radial-gradient(90% 120% at 80% 0%, rgba(196, 92, 255, 0.16), transparent 60%), var(--bg-2); }
.elite-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.elite-item { border: 1px solid rgba(196, 92, 255, 0.3); background: rgba(196, 92, 255, 0.06); border-radius: 14px; padding: 16px 18px; }
.elite-item b { font-family: var(--display); font-weight: 400; color: #e3b8ff; display: block; margin-bottom: 4px; letter-spacing: 0.03em; }
.elite-item span { color: var(--dim); font-size: 15px; }

/* faq */
.faq { max-width: 820px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--dim); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; background: #080a0c; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 14px; color: var(--dim); font-size: 14px; }
.footer-brand img { width: 64px; height: 64px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; font-size: 15px; }
.footer-links a { color: var(--text); opacity: 0.85; }
.footer-links a:hover { opacity: 1; color: var(--gold); text-decoration: none; }

/* legal and support pages */
.page-head { padding: 120px 0 28px; background: linear-gradient(180deg, #14100a, var(--bg)); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(36px, 6vw, 56px); color: var(--gold); }
.page-head p { color: var(--dim); margin: 10px 0 0; }
.doc { max-width: 820px; padding: 40px 20px 80px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; color: #fff; }
.doc h3 { font-size: 20px; margin: 28px 0 10px; }
.doc p, .doc li { color: #cfd5da; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc code { background: var(--panel-2); padding: 2px 6px; border-radius: 6px; font-size: 0.92em; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; }
.doc table, .guide-body table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.doc th, .doc td, .guide-body th, .guide-body td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th, .guide-body th { background: var(--panel-2); color: #fff; font-weight: 800; }
.doc tr:last-child td, .guide-body tr:last-child td { border-bottom: 0; }
.doc em { color: var(--dim); }
.doc a { overflow-wrap: anywhere; }   /* long URLs wrap instead of widening the page on small phones */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 18px 0; }
.card h2 { margin-top: 0; }
.section-cta { margin-top: 28px; }
.faq-more { max-width: 820px; margin: 22px 0 0; color: var(--dim); }

/* ---------------------------------------------------------------- game guide */
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 40px; padding-bottom: 80px; }
.toc {
  position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px;
}
.toc-title { display: block; font-family: var(--display); font-size: 13px; letter-spacing: 0.22em; color: var(--orange); margin: 0 0 8px 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--text); opacity: 0.85; font-weight: 700; font-size: 15px; line-height: 1.3; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--display); font-size: 12px; color: var(--gold); padding-top: 2px; }
.toc a:hover { opacity: 1; color: var(--gold); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.to-toc { display: none; margin-top: 22px; font-weight: 700; font-size: 14px; }

.guide-body { min-width: 0; }
.guide-body :where(p, li) { color: #cfd5da; }
.guide-body :where(ul, ol) { padding-left: 22px; }
.guide-body :where(li) { margin: 6px 0; }
.guide-body :where(h3) { font-size: 21px; margin: 36px 0 10px; color: #fff; }
.guide-body :where(b, strong) { color: #fff; }
.guide-section { padding: 0; scroll-margin-top: 20px; }
.guide-section + .guide-section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.guide-section > h2 { font-size: clamp(30px, 4.4vw, 40px); margin-bottom: 14px; }
.guide-section .lede { font-size: 18px; color: var(--dim); margin-top: 0; }
.guide-body table.compact { min-width: 0; }
.guide-body .lanes { margin: 16px 0; }
.guide-body .card h2 { font-size: 24px; margin-bottom: 8px; }
.guide-body .card p { margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; margin: 0; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(242, 193, 78, 0.14); border: 1px solid rgba(242, 193, 78, 0.45); color: var(--gold); font-family: var(--display);
}
.steps li > span { padding-top: 4px; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 18px 0; }
.info-grid.two { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.info { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 22px; }
.info::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--c, var(--gold)); }
.info b { display: block; font-family: var(--display); font-weight: 400; letter-spacing: 0.03em; color: var(--c, #fff); margin-bottom: 4px; }
.info .kind { display: block; color: var(--dim); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin: -2px 0 6px; }
.info p { margin: 0; font-size: 15px; color: var(--dim); }
.info p + p { margin-top: 8px; }
.info p.beat { color: #cfd5da; }
.info p.beat strong { color: var(--gold); }

.tip { margin: 24px 0; padding: 16px 20px; border-radius: 14px; background: rgba(242, 193, 78, 0.07); border: 1px solid rgba(242, 193, 78, 0.28); border-left: 4px solid var(--gold); }
.tip-label { display: block; font-family: var(--display); font-size: 13px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 6px; }
.tip p, .tip ul { margin: 0; }
.tip ul { padding-left: 20px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; align-items: start; }
.split > div > :first-child { margin-top: 0; }
.guide-shot { margin: 6px 0 0; }
.guide-shot img { width: 100%; height: auto; aspect-ratio: 540 / 1170; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); background: var(--panel); }
.guide-shot figcaption { color: var(--dim); font-size: 14px; font-weight: 700; margin-top: 10px; text-align: center; }
.shot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.shot-row .guide-shot { margin: 0; }

.gun-list { list-style: none; margin: 16px 0; padding: 0; columns: 3 220px; column-gap: 26px; counter-reset: gun; }
.gun-list li { counter-increment: gun; break-inside: avoid; display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 8px 2px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 15.5px; }
.gun-list li::before { content: counter(gun); min-width: 22px; font-family: var(--display); font-weight: 400; font-size: 14px; color: var(--gold); }
.gun-list small { margin-left: auto; color: var(--dim); font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.gun-list .energy small { color: #e3b8ff; }

.faq details ul { margin: 0; padding: 0 20px 18px 42px; }
.faq details li { color: var(--dim); }
.faq details .table-wrap { margin: 0 20px 20px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats ul { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .guide-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .toc { position: static; max-height: none; overflow: visible; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2); font-size: 14px; }
  .toc a::before { display: none; }
  .to-toc { display: inline-block; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .topnav { gap: 16px; font-size: 14px; }
  .topnav .nav-home { display: none; }
  .split { grid-template-columns: 1fr; }
  .split .guide-shot { max-width: 240px; margin: 8px auto 0; }
  .shot-row { gap: 8px; }
  .shot-row .guide-shot figcaption { font-size: 12px; }
  .hero { min-height: 0; padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero::after { background: linear-gradient(180deg, rgba(11, 14, 17, 0.9), rgba(11, 14, 17, 0.75) 60%, var(--bg)); }
  .phone { width: min(280px, 72vw); }
  .lanes { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 370px) {
  .brand span { display: none; }
}
@media (max-width: 330px) {
  .beta-buttons { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img, .soon .dot, .beta-title .dot, .phone { animation: none; }
}
