/* Tank Hill website: landing page and privacy policy. Same dark game look as the app. */
@font-face { font-family: Stencil; src: url(fonts/SairaStencilOne-Regular.ttf) format('truetype'); font-display: swap; }
@font-face { font-family: Barlow; src: url(fonts/BarlowSemiCondensed-Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url(fonts/BarlowSemiCondensed-SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Barlow; src: url(fonts/BarlowSemiCondensed-ExtraBold.ttf) format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --bg: #0f1520; --bg2: #151d2b; --panel: #1c2638; --line: #2b3850;
  --ink: #f3ecd7; --dim: #9aa5ba; --orange: #ff8a3d; --gold: #ffc94a; --blue: #3ec5f0; --green: #6fdc8c;
  --max: 1120px; --r: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 Barlow, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: Stencil, Impact, sans-serif; font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(30px, 5vw, 46px); }
h3 { font-size: 22px; }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.lead { color: var(--dim); font-size: 19px; max-width: 60ch; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(15, 21, 32, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 62px; }
.logo { font-family: Stencil, Impact, sans-serif; font-size: 26px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo span, .hl { color: var(--orange); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--dim); text-decoration: none; font-weight: 600; }
.top nav a:hover { color: var(--ink); }
.top .play-mini { margin-left: 4px; }
@media (max-width: 760px) { .top nav { display: none; } .top .play-mini { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 20px; border-radius: 14px; font: 800 16px/1.1 Barlow, sans-serif; text-decoration: none; color: #1b1208; background: var(--orange); box-shadow: 0 5px 0 #b65a1f; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #b65a1f; }
.btn.small { min-height: 40px; padding: 6px 14px; font-size: 14px; box-shadow: 0 4px 0 #b65a1f; }
.btn.ghost { background: var(--panel); color: var(--ink); box-shadow: 0 5px 0 #0a0f17; border: 1px solid var(--line); }
.store { background: #05080d; color: var(--ink); border: 1px solid #3a4660; box-shadow: 0 5px 0 #000; padding: 8px 18px 8px 14px; }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.store b { display: block; font-size: 19px; }
.store[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: radial-gradient(1100px 500px at 75% 0%, #2a3a5c 0%, transparent 70%), linear-gradient(#141c2b, var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(52px, 9vw, 96px); }
.hero p.lead { margin: 18px 0 0; }
.screen { border-radius: 26px; padding: 10px; background: #05080d; border: 1px solid #33405a; box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 6px #1a2232; transform: rotate(-1.5deg); }
.screen img { border-radius: 18px; aspect-ratio: 13 / 6; object-fit: cover; width: 100%; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; color: var(--dim); font-weight: 600; }
.facts b { color: var(--ink); font-size: 22px; font-weight: 800; margin-right: 4px; }
@media (max-width: 900px) { .hero { padding-top: 40px; } .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .screen { transform: none; } }

/* sections */
section { padding: 80px 0; }
section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.head { margin-bottom: 36px; }
.head p.lead { margin: 12px 0 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: color-mix(in srgb, var(--c, var(--orange)) 18%, transparent); color: var(--c, var(--orange)); }
.card .ic svg { width: 26px; height: 26px; }
.card p { color: var(--dim); margin: 8px 0 0; font-size: 16px; }

/* battlefields */
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fields figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.fields img { aspect-ratio: 15 / 7; object-fit: cover; width: 100%; }
.fields figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 8px; background: rgba(5, 8, 13, .78); font-weight: 800; font-size: 14px; }
.fields figcaption span { color: var(--gold); font-weight: 600; margin-left: 6px; }
@media (max-width: 860px) { .fields { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #1b1208; font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--dim); margin: 6px 0 0; font-size: 16px; }
.steps ol, ol.steps { padding: 0; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* online */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: rgba(111, 220, 140, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236fdc8c' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ticks b { color: var(--ink); }
.ticks li { color: var(--dim); }
.lobby { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 10px; }
.lobby .row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.lobby .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.lobby .dot.busy { background: var(--orange); }
.lobby .dot.off { background: #4a5468; }
.lobby .who { flex: 1; font-weight: 800; }
.lobby .who small { color: var(--dim); font-weight: 600; margin-left: 6px; }
.lobby .tag { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: var(--orange); color: #1b1208; }
.lobby .code { text-align: center; padding: 12px; }
.lobby .code b { display: block; font-family: Stencil, sans-serif; font-size: 44px; letter-spacing: .2em; color: var(--gold); line-height: 1; }
.lobby .code small { color: var(--dim); font-weight: 600; letter-spacing: .14em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* call to action + footer */
.cta { text-align: center; padding: 90px 0; background: radial-gradient(700px 300px at 50% 100%, #3a2a1c 0%, transparent 70%); }
.cta .buttons { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--dim); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer a { color: var(--dim); }
footer a:hover { color: var(--ink); }

/* privacy page */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(38px, 7vw, 56px); }
.doc h2 { font-size: 28px; margin: 44px 0 12px; }
.doc p, .doc li { color: #d6d1c2; }
.doc .updated { color: var(--dim); margin-top: 10px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.doc .scroll { overflow-x: auto; }
.doc .note { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 14px 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
