/* Styles for static content pages (how-to-play, strategy, about, privacy).
   The game's style.css disables scrolling and text selection, which content
   pages must not inherit — so they load this sheet instead. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0A0A1A;
  --panel:    #12122A;
  --accent:   #00F0F0;
  --text:     #E0E0FF;
  --dim:      #6060AA;
  --btn-bg:   #1E1E3A;
  --btn-hover:#2A2A50;
  font-family: 'Courier New', Courier, monospace;
}

html, body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

/* ── Header / nav ───────────────────────────────────────────── */
.site-header {
  text-align: center;
  margin-bottom: 28px;
}
.site-header .home-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 4px;
}
.site-header .tagline {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 3px;
  margin-top: 2px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 13px;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--dim);
  padding-bottom: 1px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }

/* ── Article ────────────────────────────────────────────────── */
article h1 {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
article h2 {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 1px;
  margin: 28px 0 10px;
}
article p, article li { font-size: 14px; }
article p { margin: 10px 0; }
article ul, article ol { margin: 10px 0 10px 24px; }
article li { margin: 4px 0; }
article a { color: var(--accent); }
article strong { color: #fff; }

article table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0;
  font-size: 13px;
}
article th, article td {
  border: 1px solid var(--dim);
  padding: 6px 10px;
  text-align: left;
}
article th {
  background: var(--panel);
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 11px;
  text-transform: uppercase;
}
article kbd {
  background: var(--btn-bg);
  border: 1px solid var(--dim);
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 12px;
}

.play-cta {
  display: inline-block;
  background: var(--btn-bg);
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 2px;
  padding: 10px 22px;
  margin: 18px 0 4px;
}
.play-cta:hover { background: var(--btn-hover); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--panel);
  text-align: center;
  font-size: 12px;
  color: var(--dim);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-bottom: 10px;
}
.site-footer a { color: var(--dim); }
.site-footer a:hover { color: var(--accent); }
