/* Squidbite — one small stylesheet. No external fonts, no CDNs. */
:root {
  --bg: #241f4a;
  --bg-deep: #1a1638;
  --card: #322b66;
  --line: #4a4290;
  --text: #f4f2ff;
  --muted: #bcb6e6;
  --cyan: #3cc8ef;
  --orange: #f8a427;
  --yellow: #f4c534;
  --radius: 20px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -200px, #3a3280 0%, transparent 70%),
    var(--bg);
  display: flex;
  flex-direction: column;
}

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--yellow); }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.site-header { padding: 28px 0 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--orange); }
.site-header nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-header nav a:hover { color: var(--text); }

main { flex: 1; }

/* Home hero */
.hero { padding: 64px 0 36px; }
.hero h1 {
  margin: 0;
  font-size: clamp(44px, 11vw, 76px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--cyan);
  text-shadow: 0 4px 0 var(--bg-deep);
}
.hero p { margin: 18px 0 0; font-size: 20px; color: var(--muted); max-width: 32em; }

.section-label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Game card */
.game-card {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--bg-deep);
}
.game-card img {
  width: 112px;
  height: 112px;
  flex: none;
  border-radius: 24px;
  box-shadow: 0 0 0 3px var(--cyan);
}
.game-card h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--orange);
}
.game-card .tagline {
  margin: 6px 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.game-card p { margin: 0 0 12px; color: var(--muted); }
.game-card .links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; }
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
}

.contact { padding: 44px 0 56px; }
.contact p { margin: 0; color: var(--muted); }
.contact a { font-weight: 700; font-size: 19px; }

/* Long-form text (privacy policy) */
.doc { padding: 40px 0 56px; }
.doc h1 { margin: 0 0 6px; font-size: clamp(30px, 7vw, 42px); line-height: 1.15; color: var(--cyan); }
.doc .meta { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.doc .meta strong { color: var(--text); }
.doc h2 {
  margin: 36px 0 10px;
  font-size: 22px;
  color: var(--orange);
}
.doc p, .doc li { color: #e2dfff; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--yellow); font-weight: 700; }
.doc .card {
  padding: 16px 20px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 14px;
}
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--yellow); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* 404 */
.notfound { padding: 90px 0; text-align: center; }
.notfound h1 { margin: 0; font-size: 84px; line-height: 1; color: var(--orange); }
.notfound p { color: var(--muted); }

/* Footer */
.site-footer { padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 28px; }
  .game-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .game-card img { width: 96px; height: 96px; border-radius: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .game-card { transition: transform 0.15s ease; }
  .game-card:hover { transform: translateY(-2px); }
}
