/* Shared styles for the legal / info pages (privacy, terms, support).
   Color tokens mirror web/src/styles/tokens.css. Monospace everywhere
   matches the in-game type style; sharp corners are house style. No JS,
   no external fonts, no tracking. */
:root {
  --bg: #04020a;
  --surface: #0a081a;
  --surface-card: #0a0818;
  --border: #1c2a3e;
  --border-bright: #3a5a82;
  --text: #e6f1ff;
  --text-dim: #6e7ca0;
  --accent-cyan: #0bd4ff;
  --accent-cyan-bright: #41e8ff;
  --accent-magenta: #ff3d7f;
  --accent-yellow: #ffd148;
  --mono: ui-monospace, SFMono-Regular, 'JetBrains Mono', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%,
      rgba(11, 212, 255, 0.10) 0%,
      rgba(11, 212, 255, 0.02) 60%,
      rgba(11, 212, 255, 0) 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.55) 100%),
    var(--bg);
  background-attachment: fixed;
  padding: 32px 20px 64px;
  -webkit-font-smoothing: antialiased;
}
/* Faint scanlines — same atmosphere as the game. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(11, 212, 255, 0.022) 2px,
    rgba(11, 212, 255, 0.022) 3px
  );
  mix-blend-mode: screen;
  z-index: 0;
}
main {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 28px;
}
header a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
header a:hover { color: var(--accent-cyan); }
h1 {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 14px 0 6px;
  color: var(--text);
}
.updated {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
h2 {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 36px 0 10px;
  color: var(--accent-cyan-bright);
}
h3 {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 22px 0 6px;
  color: var(--text-dim);
}
p, li { color: var(--text); }
.muted, .muted * { color: var(--text-dim); }
ul { padding-left: 22px; }
ul li::marker { color: var(--accent-cyan); }
li { margin: 4px 0; }
a { color: var(--accent-magenta); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-cyan-bright); }
code {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 6px;
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--accent-yellow);
}
strong { color: var(--text); }
footer {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
footer a { color: var(--text-dim); margin: 0 4px; text-decoration: none; }
footer a:hover { color: var(--accent-cyan); }
