/*
 * Shared skin for the SEO landing pages (public/<slug>/index.html).
 * The game's own palette and type: hazard yellow, signal red, cyan, near-black. System fonts
 * only — no web-font request stands between a searcher and the first paint.
 */
:root {
  --bg: #05060a;
  --bg-2: #0b0c14;
  --panel: #10121c;
  --line: rgba(252, 238, 10, 0.16);
  --text: #dfe8f2;
  --muted: #9aa6b4;
  --yellow: #fcee0a;
  --yellow-dim: #b3a800;
  --red: #ff2b3d;
  --cyan: #4ff3ff;
  --display: Bahnschrift, "DIN Alternate", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.rb-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.rb-skip { position: absolute; left: -9999px; }
.rb-skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--yellow); color: var(--bg); padding: 8px 12px; }

/* ---------------------------------------------------------------- type */
h1, h2, h3 { font-family: var(--display); font-stretch: condensed; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.02; margin: 0 0 0.5em; color: #fff; }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); letter-spacing: 0.02em; }
h1 em, h2 em { font-style: normal; color: var(--yellow); }
p { margin: 0 0 1em; }
.rb-kicker { display: inline-block; font: 700 12px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bg); background: var(--yellow); padding: 6px 10px 5px; transform: skewX(-7deg);
  box-shadow: 3px 3px 0 rgba(255, 43, 61, 0.6); margin-bottom: 18px; }
.rb-lede { font-size: clamp(18px, 1.9vw, 21px); color: #c7d1dc; max-width: 60ch; }
.rb-muted { color: var(--muted); }
kbd { font: 700 0.82em var(--mono); background: var(--panel); border: 1px solid rgba(255,255,255,0.18);
  border-bottom-width: 3px; border-radius: 4px; padding: 1px 7px; color: #fff; white-space: nowrap; }

/* ---------------------------------------------------------------- nav */
.rb-nav { position: sticky; top: 0; z-index: 20; background: rgba(5, 6, 10, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.rb-nav .rb-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.rb-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--yellow);
  font: 700 22px/1 var(--display); font-stretch: condensed; letter-spacing: 0.03em; transform: skewX(-7deg); }
.rb-logo svg { width: 22px; height: 22px; flex: none; }
.rb-logo:hover { color: #fff; }
.rb-nav__links { display: flex; align-items: center; gap: 22px; }
.rb-nav__links a:not(.rb-btn) { color: var(--muted); text-decoration: none; font: 600 14px var(--body); }
.rb-nav__links a:not(.rb-btn):hover { color: #fff; }
@media (max-width: 760px) { .rb-nav__links a:not(.rb-btn) { display: none; } }

/* ---------------------------------------------------------------- buttons */
.rb-btn { --b: var(--yellow); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  font: 700 17px/1 var(--display); font-stretch: condensed; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bg); background: var(--b); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform 120ms ease, filter 120ms ease; }
.rb-btn:hover { color: var(--bg); filter: brightness(1.12); transform: translateY(-1px); }
.rb-btn:active { transform: translateY(1px); }
.rb-btn svg { width: 18px; height: 18px; flex: none; }
.rb-btn--xl { min-height: 60px; padding: 16px 38px; font-size: 22px; box-shadow: 0 0 34px rgba(252, 238, 10, 0.35); }
.rb-btn--sm { min-height: 38px; padding: 8px 18px; font-size: 15px; }
.rb-btn--ghost { background: transparent; color: var(--yellow); box-shadow: inset 0 0 0 2px var(--yellow); clip-path: none; }
.rb-btn--ghost:hover { background: var(--yellow); }
.rb-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 26px 0 18px; }
.rb-cta-note { font: 600 13px var(--mono); letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

/* ---------------------------------------------------------------- hero */
.rb-hero { position: relative; padding: clamp(28px, 4.5vw, 64px) 0 clamp(40px, 6vw, 72px); overflow: hidden;
  background: radial-gradient(80% 60% at 85% 0%, rgba(79, 243, 255, 0.10), transparent 60%),
              radial-gradient(90% 70% at 10% 110%, rgba(255, 43, 61, 0.16), transparent 60%); }
.rb-hero .rb-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .rb-hero .rb-wrap { grid-template-columns: 1fr; } }
.rb-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.rb-chips li { font: 600 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan);
  border: 1px solid rgba(79, 243, 255, 0.35); padding: 7px 10px; }

/* Framed screenshot: the HUD-corner look of the game's menus. */
.rb-shot { position: relative; margin: 0; background: var(--panel); border: 1px solid var(--line); }
.rb-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rb-shot::before, .rb-shot::after { content: ""; position: absolute; width: 26px; height: 26px; pointer-events: none; }
.rb-shot::before { top: -6px; left: -6px; border-top: 3px solid var(--yellow); border-left: 3px solid var(--yellow); }
.rb-shot::after { bottom: -6px; right: -6px; border-bottom: 3px solid var(--red); border-right: 3px solid var(--red); }
.rb-shot figcaption { font: 600 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; }
.rb-hero .rb-shot { transform: rotate(0.6deg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(252, 238, 10, 0.08); }

/* ---------------------------------------------------------------- sections */
.rb-section { padding: clamp(52px, 8vw, 104px) 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.rb-section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.rb-section__head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.rb-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.rb-split--flip > :first-child { order: 2; }
@media (max-width: 860px) { .rb-split { grid-template-columns: 1fr; } .rb-split--flip > :first-child { order: 0; } }
.rb-prose { max-width: 72ch; }
.rb-prose ul, .rb-prose ol { padding-left: 1.2em; }
.rb-prose li { margin-bottom: 0.4em; }

.rb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rb-card { position: relative; background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.07); padding: 24px 22px 20px; }
.rb-card::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 3px; background: var(--yellow); }
.rb-card h3 { margin-bottom: 0.4em; }
.rb-card p { margin: 0; color: #c1cad4; font-size: 16px; }
.rb-card__icon { width: 34px; height: 34px; color: var(--yellow); margin-bottom: 14px; }

/* Comparison table: scrolls sideways inside itself on a phone, never the page. */
.rb-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.rb-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.rb-table th, .rb-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.07); vertical-align: top; }
.rb-table thead th { font: 700 13px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); background: var(--panel); }
.rb-table tbody th { font-weight: 600; color: #fff; }
.rb-table .rb-yes { color: var(--yellow); font-weight: 700; }
.rb-table .rb-no { color: var(--muted); }

.rb-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rb-steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 70px; background: var(--panel); border-left: 3px solid var(--red); }
.rb-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 14px;
  font: 700 28px/1 var(--display); color: var(--yellow); }

.rb-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.rb-keys li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); font-size: 15px; }

/* ---------------------------------------------------------------- faq */
.rb-faq { display: grid; gap: 10px; max-width: 860px; }
.rb-faq details { background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.07); }
.rb-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font: 600 17px/1.35 var(--body); color: #fff; }
.rb-faq summary::-webkit-details-marker { display: none; }
.rb-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font: 700 26px/1 var(--display); color: var(--yellow); }
.rb-faq details[open] summary::after { content: "–"; }
.rb-faq details > div { padding: 0 20px 18px; color: #c1cad4; }
.rb-faq details > div p:last-child { margin: 0; }

/* ---------------------------------------------------------------- final CTA */
.rb-band { position: relative; text-align: center; padding: clamp(60px, 9vw, 110px) 0; overflow: hidden;
  background: radial-gradient(60% 90% at 50% 120%, rgba(252, 238, 10, 0.16), transparent 70%), var(--bg-2);
  border-top: 1px solid var(--line); }
.rb-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0 1px, transparent 1px 3px); }
.rb-band .rb-wrap { position: relative; }
.rb-band .rb-cta-row { justify-content: center; }
.rb-band .rb-lede { margin: 0 auto; }

/* ---------------------------------------------------------------- footer */
.rb-footer { padding: 44px 0 110px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 14px; }
.rb-footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 14px 0 20px; }
.rb-footer nav a { color: #c1cad4; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.rb-footer nav a:hover { color: var(--yellow); }
.rb-footer small { display: block; max-width: 80ch; line-height: 1.55; }
@media (min-width: 761px) { .rb-footer { padding-bottom: 44px; } }

/* Breadcrumbs */
.rb-crumbs { font: 600 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.rb-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.rb-crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, 0.25); }
.rb-crumbs a { color: var(--muted); text-decoration: none; }

/* ---------------------------------------------------------------- sticky phone CTA */
.rb-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 6, 10, 0.94);
  border-top: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rb-sticky .rb-btn { width: 100%; }
@media (max-width: 760px) { .rb-sticky { display: block; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rb-btn { transition: none; }
}
