/* Bot Warz content pages: fast static HTML, no game engine. */
:root {
  --bg: #15161a;
  --panel: #1e2026;
  --panel-2: #262931;
  --line: #343842;
  --text: #eeece8;
  --muted: #a3a6ad;
  --accent: #f2c230;
  --accent-ink: #1a1505;
  --red: #e5452f;
  --display: 'Russo One', Impact, 'Arial Black', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 17px/1.6 var(--body); }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em; }
h1 { font-size: clamp(34px, 6vw, 58px); margin: 0 0 14px; }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 44px 0 12px; }
h3 { font-size: 19px; margin: 24px 0 6px; }
p, li { color: #d0d2d7; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(21, 22, 26, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font: 400 20px var(--display); text-transform: uppercase; white-space: nowrap; }
.brand i { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 16px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; font: 400 17px var(--display); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
  background: var(--panel-2); color: var(--text); border: 1px solid var(--line); white-space: nowrap;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: #ffd85a; box-shadow: 0 3px 0 #a5800f; }
.btn.primary:hover { background: #ffd14a; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 48px; }
.hero p.lead { font-size: 20px; color: #dcdee2; margin: 0 0 22px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero figure { margin: 0; }
.hero figure img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; margin: 0 0 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.facts li::before { content: '✓ '; color: var(--accent); font-weight: 800; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 28px; } }

/* Sections */
main section { padding: 8px 0; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { border-color: var(--accent); }
.shot { border-radius: 12px; border: 1px solid var(--line); }
.callout { background: #2d2814; border: 1px solid var(--accent); border-radius: 14px; padding: 18px 20px; margin: 28px 0; }
.ctaband { text-align: center; margin: 48px 0 24px; padding: 32px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.ctaband h2 { margin-top: 0; }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.tbl td.n, .tbl th.n { text-align: right; }
.tblwrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 8px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 16px 0; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.stats small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.stats b { font: 700 24px var(--body); }
.crumbs { font-size: 14px; color: var(--muted); margin: 22px 0 8px; }
.crumbs a { color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 8px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); margin-right: 6px; }

/* FAQ */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; color: var(--text); }
.faq details p { margin: 10px 0 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.foot h3.fh { margin: 0 0 8px; font: 400 14px var(--display); text-transform: uppercase; color: var(--text); letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 4px 0; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .legal { margin-top: 24px; font-size: 13px; }

/* Arena strip on the home page */
.arena-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.arena-strip .card { padding: 10px; }
.arena-strip .shot { width: 100%; margin-bottom: 8px; border-radius: 8px; }
.arena-strip h3 { margin: 0 0 2px; font-size: 16px; }
.arena-strip p { font-size: 14px; color: var(--muted); line-height: 1.35; }
@media (max-width: 860px) { .arena-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Homepage: full-screen live scene behind the headline */
.hero-live { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: #1c1640; }
.hero-live picture, .hero-live .hero-still, .hero-live canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-live canvas { display: block; opacity: 0; transition: opacity 1.2s ease; }
.hero-live canvas.on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,14,18,0.88) 0%, rgba(14,14,18,0.62) 38%, rgba(14,14,18,0.08) 68%, rgba(14,14,18,0) 100%),
              linear-gradient(0deg, rgba(21,22,26,0.9) 0%, rgba(21,22,26,0) 22%); }
.hero-live .hero-copy { position: relative; display: block; width: 100%; padding-top: 96px; padding-bottom: 96px; }
.hero-live .hero-copy > * { max-width: 600px; }
.hero-live h1 { text-shadow: 0 2px 24px rgba(0,0,0,0.45); }
.hero-live .lead { color: #e6e7ea; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.hero-live .facts { color: #c9cbd0; }
.hero-scroll { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); color: rgba(255,255,255,0.7); text-decoration: none; font-size: 26px; line-height: 1; padding: 8px; }
.hero-scroll:hover { color: #fff; }
@media (max-width: 860px) {
  .hero-live { min-height: 100svh; align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,14,18,0.95) 0%, rgba(14,14,18,0.82) 42%, rgba(14,14,18,0.25) 66%, rgba(14,14,18,0) 82%); }
  .hero-live .hero-copy { padding-top: 40vh; padding-bottom: 44px; }
  .hero-scroll { display: none; }
  .hero-live .lead .more { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-live canvas { display: none; } }

/* ---------- Phones: tighter, scannable homepage ---------- */
.modes { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.modes li { padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 10px 10px 0; }
.modes li b { display: block; color: var(--text); }
@media (max-width: 600px) {
  body { font-size: 16px; line-height: 1.55; }
  .wrap { padding: 0 16px; }
  h2 { font-size: 26px; margin: 34px 0 10px; }
  h3 { font-size: 17px; }
  main section { padding: 4px 0; }
  .hide-sm { display: none !important; }
  .card { padding: 14px; border-radius: 12px; }
  .grid2 { gap: 12px; }

  /* hero */
  .hero-live .hero-copy { padding-bottom: 32px; }
  .hero-live h1 { font-size: 36px; margin-bottom: 10px; }
  .hero-live p.lead { font-size: 17px; margin-bottom: 18px; }
  .hero-live .cta .btn { flex: 1 1 100%; }
  .hero-live .facts { font-size: 14px; margin-top: 14px; gap: 6px 14px; }

  /* how it works: compact numbered rows */
  .steps { gap: 8px; }
  .steps .card { padding: 12px 14px; }
  .steps .card h3 { margin-bottom: 4px; }
  .steps .card p { font-size: 15px; line-height: 1.5; color: #c7c9ce; }

  /* game modes: one compact row each, description under the name */
  .modes li { padding: 9px 12px; font-size: 15px; line-height: 1.45; }
  .modes li b { font-size: 16px; margin-bottom: 1px; }

  /* arenas: swipeable row that bleeds to the screen edge */
  .arena-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 12px -16px 0; padding: 0 16px 6px; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .arena-strip::-webkit-scrollbar { display: none; }
  .arena-strip .card { scroll-snap-align: start; }

  /* garage render as a short banner instead of a near full-screen crop */
  .fig-banner { margin: 6px 0 0; }
  .fig-banner img { width: 100%; height: 200px; object-fit: cover; object-position: 50% 45%; border-radius: 12px; }

  /* feature cards */
  .features { gap: 8px; }
  .features .card p { font-size: 15px; line-height: 1.5; color: #c7c9ce; }

  .faq details { padding: 12px 14px; margin: 8px 0; }
  .faq summary { font-size: 16px; }
  .ctaband { margin: 34px 0 16px; padding: 24px 16px; }
  .foot { margin-top: 36px; padding: 24px 0 36px; }
}
