/* Shared styles for static content pages — matches the app's dark spy-thriller look.
   Every rule is scoped under .wrap so nothing leaks into the React app,
   which loads this file too (index.html uses .wrap for the below-game content). */
.wrap {
  --bg: #111827;
  --panel: #1f2937;
  --line: #374151;
  --red: #dc2626;
  --red-dark: #7f1d1d;
  --ink: #f3f4f6;
  --mut: #9ca3af;
  --faint: #6b7280;

  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 64px;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap *, .wrap *::before, .wrap *::after { box-sizing: border-box; }
html:has(.wrap) { background: #111827; }
body:has(> .wrap) { margin: 0; background: #111827; }

.wrap header.site {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 20px 0; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.wrap .brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--red); text-decoration: none;
  font-weight: 900; font-style: italic; text-transform: uppercase;
  letter-spacing: .2em; font-size: 1.1rem;
}
.wrap nav.site { display: flex; gap: 4px; flex-wrap: wrap; }
.wrap nav.site a {
  color: var(--mut); text-decoration: none; font-size: .8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 10px; border-radius: 8px;
}
.wrap nav.site a:hover, .wrap nav.site a:focus-visible { color: var(--ink); background: var(--panel); }
.wrap nav.site a[aria-current="page"] { color: var(--red); }
.wrap h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 900;
  text-transform: uppercase; font-style: italic; letter-spacing: .06em;
  color: var(--ink); margin: .6em 0 .3em; text-wrap: balance;
}
.wrap h1 .accent { color: var(--red); }
.wrap h2 {
  font-size: 1.25rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; font-style: italic;
  margin: 2em 0 .5em; color: var(--ink);
  border-left: 4px solid var(--red); padding-left: 12px;
}
.wrap h3 { font-size: 1rem; font-weight: 700; margin: 1.5em 0 .4em; color: var(--ink); }
.wrap p, .wrap li { color: var(--mut); max-width: 68ch; }
.wrap li { margin-bottom: .4em; }
.wrap strong { color: var(--ink); font-weight: 600; }
.wrap a { color: var(--red); }
.wrap a:hover { color: #ef4444; }
.wrap .lead { font-size: 1.05rem; color: var(--ink); }
.wrap .card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px; margin: 16px 0;
}
.wrap .card h3 { margin-top: 0; }
.wrap .cta {
  display: inline-block; margin: 24px 0;
  background: var(--red); color: #fff; text-decoration: none;
  font-weight: 900; text-transform: uppercase; letter-spacing: .15em; font-style: italic;
  padding: 14px 32px; border-radius: 16px;
  border-bottom: 5px solid var(--red-dark);
}
.wrap .cta:hover { background: #ef4444; color: #fff; }
.wrap footer.site {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--faint);
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.wrap footer.site a { color: var(--faint); text-decoration: none; }
.wrap footer.site a:hover { color: var(--mut); }
.wrap table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.wrap th, .wrap td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; font-size: .9rem; color: var(--mut); }
.wrap th { color: var(--ink); background: var(--panel); text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; }
