/* "What's in the game" page (index.html, the homepage). Stands alone (no css/style.css): the game's tokens are repeated here. */
:root {
  --bg: #070A08; --panel: rgba(7, 10, 8, 0.92); --panel-solid: #0D1210; --line: #1C2720; --line2: #243326;
  --text: #E6EBE4; --muted: #8EA091; --dim: #3E4F42; --green: #7CFF9A; --amber: #F2B544;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif; --body: Barlow, system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gut: 16px; --navh: 54px; color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #070A08; } }
:root[data-theme="dark"] { --bg: #070A08; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.wi { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--body); overflow-x: hidden;
  background-image: linear-gradient(rgba(124,255,154,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(124,255,154,0.025) 1px, transparent 1px); background-size: 48px 48px; }
.wi a { color: var(--green); }
.wi-skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 14px; background: var(--green); color: #071008 !important; font-family: var(--mono); font-size: 12px; }
.wi-skip:focus { left: 8px; }
.wi .pg-head { position: relative; z-index: 5; padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }

/* ---------- hero ---------- */
.wi-hero { position: relative; min-height: min(760px, 92vh); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.wi-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.wi-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,10,8,0.96) 0%, rgba(7,10,8,0.82) 34%, rgba(7,10,8,0.2) 66%, rgba(7,10,8,0.35) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(7,10,8,0) 30%); }
.wi-hero-in { width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto; padding: 96px 0 56px; max-width: 1240px; }
.wi-hero-in > * { max-width: 600px; }
.wi-kicker { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--green); text-transform: uppercase; }
.wi-hero h1 { margin: 12px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(52px, 9vw, 104px); line-height: 0.9; color: #F3F6F2; text-transform: uppercase; letter-spacing: 0.005em; text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.wi-hero h1 span { color: var(--amber); display: block; }
.wi-lead { margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: #D9E0DA; }
.wi-stats { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 0; flex-wrap: wrap; border: 1px solid var(--line2); background: rgba(7,10,8,0.7); width: fit-content; max-width: 100%; }
.wi-stats li { padding: 10px 18px 9px; border-right: 1px solid var(--line2); display: flex; flex-direction: column; }
.wi-stats li:last-child { border-right: 0; }
.wi-stats b { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; color: #F3F6F2; }
.wi-stats li > span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.wi-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.wi-play, .wi-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.12em; text-decoration: none; }
.wi .wi-play { background: var(--green); color: #071008; box-shadow: 0 0 34px rgba(124,255,154,0.28); }
.wi .wi-play:hover, .wi .wi-play:focus-visible { background: #A6FFBC; }
.wi .wi-ghost { border: 1px solid var(--line2); color: #F3F6F2; background: rgba(7,10,8,0.6); font-size: 18px; }
.wi .wi-ghost:hover { border-color: var(--green); color: var(--green); }
.wi-note { margin: 14px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted); }

/* ---------- sticky section chips ---------- */
.wi-nav { position: sticky; top: 0; z-index: 20; background: rgba(7,10,8,0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.wi-chips { display: flex; gap: 6px; width: min(1240px, 100%); margin: 0 auto; padding: 10px var(--gut); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.wi-chips::-webkit-scrollbar { display: none; }
.wi .wi-chip { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--line2); color: var(--muted); text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; background: rgba(13,18,16,0.8); }
.wi-chip b { font-weight: 500; color: var(--dim); font-size: 10px; }
.wi .wi-chip:hover { color: #F3F6F2; border-color: var(--muted); }
.wi .wi-chip.on { color: #071008; background: var(--green); border-color: var(--green); }
.wi-chip.on b { color: #0f3b1b; }

/* ---------- sections and cards ---------- */
.wi-main { width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto; padding: 8px 0 40px; }
.wi-sec { padding-top: 48px; scroll-margin-top: calc(var(--navh) + 4px); }
.wi-sec-head { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 20px; padding-left: 14px; border-left: 3px solid var(--green); }
.wi-sec-head h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 52px); line-height: 0.95; color: #F3F6F2; text-transform: uppercase; }
.wi-sec-head p { margin: 2px 0 0; max-width: 680px; color: #C9D2CB; font-size: 16px; line-height: 1.5; }
.wi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
@media (min-width: 1100px) { .wi-grid { grid-template-columns: repeat(3, 1fr); } }
.wi-card { display: flex; flex-direction: column; background: var(--panel-solid); border: 1px solid var(--line); scroll-margin-top: calc(var(--navh) + 12px); transition: border-color 0.15s, transform 0.15s; }
.wi-card:hover { border-color: #2f4636; }
.wi-card:target { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.wi-shot { position: relative; margin: 0; aspect-ratio: 16 / 9; background: #0a0f0c; overflow: hidden; border-bottom: 1px solid var(--line); }
.wi-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wi-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px;
  background: radial-gradient(ellipse at 50% 50%, rgba(124,255,154,0.1), transparent 65%), repeating-linear-gradient(0deg, rgba(124,255,154,0.06) 0 1px, transparent 1px 32px), repeating-linear-gradient(90deg, rgba(124,255,154,0.06) 0 1px, transparent 1px 32px); }
.wi-ph span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--green); }
.wi-ph b { font-family: var(--display); font-size: 30px; font-weight: 800; color: #F3F6F2; text-transform: uppercase; }
.wi-price { position: absolute; right: 10px; top: 10px; padding: 6px 10px 5px; background: var(--amber); color: #1a1205; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 0.04em; box-shadow: 0 4px 16px rgba(0,0,0,0.5); }
.wi-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wi-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.wi-ver, .wi-new, .wi-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 6px; line-height: 1.5; }
.wi-ver { color: var(--muted); border: 1px solid var(--line2); }
.wi-new { color: #1a1205; background: var(--amber); font-weight: 500; }
.wi-tag { color: var(--green); background: rgba(124,255,154,0.07); }
.wi-card h3 { margin: 2px 0 0; font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1; color: #F3F6F2; text-transform: uppercase; letter-spacing: 0.01em; }
.wi-card p { margin: 0; font-size: 15px; line-height: 1.55; color: #C3CDC5; }
.wi-paid { border-color: rgba(242,181,68,0.28); }

/* ---------- closing call to action ---------- */
.wi-end { text-align: center; padding: 56px var(--gut) 64px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(124,255,154,0.1), transparent 60%); }
.wi-end h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7vw, 72px); line-height: 0.95; text-transform: uppercase; color: #F3F6F2; }
.wi-end h2 span { color: var(--amber); }
.wi-end p { margin: 14px auto 24px; max-width: 520px; color: #C9D2CB; font-size: 17px; line-height: 1.5; }
.wi .pg-foot { padding-bottom: max(20px, env(safe-area-inset-bottom)); }

/* ---------- phones ---------- */
@media (max-width: 720px) {
  :root { --navh: 52px; }
  .wi .pg-head { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .wi .pg-logo { font-size: 18px; }
  .wi .pg-head nav a { padding: 8px 6px; font-size: 10px; letter-spacing: 0.12em; }
  .wi .pg-head nav a[href="privacy.html"] { display: none; }
  .wi-hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .wi-hero-img { position: relative; height: auto; aspect-ratio: 16 / 10; object-position: 58% 50%; }
  .wi-hero::before { background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 62%, rgba(7,10,8,0.15) 76%, rgba(7,10,8,0) 100%); }
  .wi-hero-in { margin-top: 0; padding: 18px 0 36px; }
  .wi-kicker { font-size: 10px; letter-spacing: 0.18em; }
  .wi-hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .wi-lead { font-size: 16px; }
  .wi-stats { width: 100%; }
  .wi-stats li { flex: 1 1 0; padding: 9px 10px 8px; min-width: 0; }
  .wi-stats b { font-size: 26px; }
  .wi-stats li > span { font-size: 9px; letter-spacing: 0.12em; }
  .wi-cta a { flex: 1 1 100%; }
  .wi-sec { padding-top: 36px; }
  .wi-grid { gap: 14px; }
  .wi-card h3 { font-size: 25px; }
}
/* AdSense units between the sections (js/homeads.js) */
.wi-ad { max-width: 1100px; margin: 28px auto; padding: 0 16px; min-height: 90px; }
.wi-ad .adsbygoogle { width: 100%; }
.wi-adph { display: flex; align-items: center; justify-content: center; min-height: 90px; border: 1px dashed rgba(255,255,255,.25); border-radius: 8px; color: rgba(255,255,255,.55); font: 500 12px 'IBM Plex Mono', monospace; letter-spacing: .04em; }
