/* Shared style for the website pages (about, privacy, terms). The game itself is index.html. */
@font-face { font-family: Fredoka; font-weight: 500; font-display: swap; src: url(vendor/fonts/fredoka-500.woff2) format('woff2'); }
@font-face { font-family: Fredoka; font-weight: 600; font-display: swap; src: url(vendor/fonts/fredoka-600.woff2) format('woff2'); }
@font-face { font-family: Fredoka; font-weight: 700; font-display: swap; src: url(vendor/fonts/fredoka-700.woff2) format('woff2'); }

:root {
  --bg: #060a17;
  --panel: #0d142e;
  --text: #e6edff;
  --muted: #8f9cc6;
  --cyan: #2de2e6;
  --line: #24305c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, #13204a, var(--bg) 60%) fixed,
    var(--bg);
  color: var(--text);
  font: 500 17px/1.6 Fredoka, system-ui, sans-serif;
}

main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }

header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
header img { width: 56px; height: 56px; border-radius: 14px; }
header a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 26px; }

h1 { font-size: 40px; line-height: 1.15; margin: 0 0 8px; color: var(--cyan); }
h2 { font-size: 23px; margin: 32px 0 8px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--cyan); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 20px 0; }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 14px; background: var(--cyan); color: #04171a;
  font-weight: 700; text-decoration: none; margin: 6px 8px 6px 0;
}
.button.alt { background: #1d2749; color: var(--text); }

footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer a { margin-right: 16px; }
