/* 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: #0b0820;
  --panel: #141a33;
  --text: #eef2ff;
  --muted: #aab6d3;
  --green: #3dffb0;
  --pink: #ff2e88;
  --line: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 50% 0%, #2a1250, 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(--green); }
h2 { font-size: 23px; margin: 32px 0 8px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--green); }

.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(--green); color: #04261a;
  font-weight: 700; text-decoration: none; margin: 6px 8px 6px 0;
}
.button.alt { background: #2a3346; 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; }
