/* Bot Knockout website: landing page and text pages. The game itself styles itself in play.html. */
:root { color-scheme: dark; --bg: #0c0e12; --panel: #161a21; --line: #272c36; --text: #e8eaee; --dim: #a5acb8; --body: #c9ced8; --red: #e0352b; --gold: #f2c230; --kbd: #2a2f39; --kbd-edge: #111; --shadow: rgba(0, 0, 0, 0.55); }
/* Light theme: chosen with the header button, or taken from the device when no choice has been made. */
:root[data-theme="light"] { color-scheme: light; --bg: #f3f4f6; --panel: #ffffff; --line: #d7dbe2; --text: #14171c; --dim: #555d6b; --body: #333a45; --red: #d42b21; --gold: #a97800; --kbd: #e4e7ec; --kbd-edge: #b4bac5; --shadow: rgba(20, 23, 28, 0.18); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) { color-scheme: light; --bg: #f3f4f6; --panel: #ffffff; --line: #d7dbe2; --text: #14171c; --dim: #555d6b; --body: #333a45; --red: #d42b21; --gold: #a97800; --kbd: #e4e7ec; --kbd-edge: #b4bac5; --shadow: rgba(20, 23, 28, 0.18); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
.wrap { width: min(1080px, 92vw); margin: 0 auto; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .mark { display: block; flex: none; }
.logo span { display: block; font: 400 21px/0.98 'Black Ops One', Impact, 'Arial Black', sans-serif; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gold); }
.logo b { display: block; font-weight: 400; color: var(--text); }
nav a { margin-left: 22px; color: var(--dim); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--text); }
.btn { display: inline-block; padding: 14px 30px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.btn:hover { background: #f0463c; }
.btn.small { padding: 9px 18px; font-size: 13px; margin-left: 22px; color: #fff; }
.hero { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: center; padding: 46px 0 64px; }
h1 { margin: 0 0 16px; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; font-weight: 900; letter-spacing: 0.01em; text-transform: uppercase; }
h1 em { font-style: normal; color: var(--gold); }
.hero p { margin: 0 0 26px; font-size: 18px; color: var(--dim); max-width: 30em; }
.hero small { display: block; margin-top: 14px; color: var(--dim); font-size: 13px; }
.shot { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 60px var(--shadow); }
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 8px; font-size: 30px; font-weight: 900; letter-spacing: 0.03em; text-transform: uppercase; }
.lede { margin: 0 0 30px; color: var(--dim); max-width: 44em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.card p { margin: 0; color: var(--dim); font-size: 14.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split ul { margin: 14px 0 0; padding-left: 20px; color: var(--dim); }
.split li { margin: 6px 0; }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.bot { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; }
.bot i { width: 12px; height: 34px; border-radius: 3px; flex: none; }
.bot b { display: block; font-size: 14px; letter-spacing: 0.06em; }
.bot span { font-size: 12.5px; color: var(--dim); }
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
kbd { display: inline-block; min-width: 26px; padding: 2px 7px; margin: 0 1px; border-radius: 5px; background: var(--kbd); border-bottom: 2px solid var(--kbd-edge); font: 600 13px system-ui, sans-serif; text-align: center; }
.cta { text-align: center; }
.cta p { color: var(--dim); margin: 0 0 24px; }
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--dim); font-size: 13px; }
@media (max-width: 820px) {
  .hero, .split { grid-template-columns: 1fr; }
  .grid, .keys { grid-template-columns: 1fr; }
  nav a:not(.btn) { display: none; }
}

/* Footer and the plain text pages (terms, privacy, legal). */
footer { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
footer nav a { margin: 0 18px 0 0; font-size: 13px; }
footer p { margin: 0; }
footer .fine { flex-basis: 100%; font-size: 12px; }
.doc { max-width: 46em; padding: 30px 0 60px; }
.doc h1 { font-size: 38px; margin-bottom: 6px; }
.doc h2 { font-size: 19px; letter-spacing: 0.02em; text-transform: none; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--body); }
.doc .date { color: var(--dim); font-size: 14px; margin: 0 0 26px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--gold); }
.doc .box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.doc .box p { margin: 0; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .grid.four { grid-template-columns: 1fr; } }

/* One advertisement block on the landing page. Space is held for it so the page does not jump when it loads. */
.ad { margin: 48px auto 0; max-width: 970px; min-height: 120px; text-align: center; }
.ad small { display: block; margin-bottom: 6px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.45; }
.ad ins[data-ad-status="unfilled"] { display: none !important; }
.ad:has(ins[data-ad-status="unfilled"]) { display: none; }

/* Theme button in the header. */
.themeBtn { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-left: 14px; padding: 0; vertical-align: middle; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--dim); cursor: pointer; }
.themeBtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.themeBtn:hover { color: var(--text); border-color: var(--text); }
.themeBtn:focus-visible { outline: 2px solid #6fb4ff; outline-offset: 2px; }
header.top nav { display: flex; align-items: center; }

/* Guide pages, FAQ and bot profiles. */
.doc.wide { max-width: 54em; }
.crumb { margin: 0 0 6px; font-size: 13px; color: var(--dim); } .crumb a { color: var(--dim); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--body); }
.doc thead th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.doc tbody th { white-space: nowrap; color: var(--text); }
.doc ol { padding-left: 22px; } .doc li { margin: 6px 0; }
.doc .shot { margin: 18px 0; }
.doc .btn { color: #fff; margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.faq p { margin: 8px 0 0; color: var(--dim); max-width: 46em; }
.lede a, .card a { color: var(--gold); }
.profile { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin: 16px 0; }
.profile header { display: flex; align-items: center; gap: 14px; }
.profile header i { width: 12px; height: 44px; border-radius: 3px; flex: none; }
.profile h2 { margin: 0; font-size: 21px; letter-spacing: 0.05em; text-transform: uppercase; }
.profile header p { margin: 0; font-size: 13px; color: var(--dim); }
.profile dl { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin: 14px 0 4px; }
.profile dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.profile dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .profile dl { grid-template-columns: 1fr; } header.top nav a:not(.btn) { display: none; } }

/* Bot pictures: on the landing roster cards and the bots page profiles. */
.bot.pic { display: block; padding: 0; overflow: hidden; }
.bot.pic img { display: block; width: 100%; height: auto; background: #0d0f14; }
.bot.pic div { padding: 10px 14px 12px; }
.profile header { flex-wrap: wrap; }
.profile .thumb { display: block; width: 240px; max-width: 100%; height: auto; margin-left: auto; border-radius: 8px; border: 1px solid var(--line); background: #0d0f14; }
@media (max-width: 620px) { .profile .thumb { width: 100%; margin: 6px 0 0; } }
