@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/fredoka-500-700.woff2") format("woff2"); }
/* Shared by the static pages: welcome, About, Privacy and Terms. The game itself uses src/styles.css. */
:root {
  color-scheme: light dark;
  --lemon: #f1d886; --peach: #f2a65a; --tomato: #ec9a86; --mint: #98d9bc; --sky: #98cde6; --pink: #eab0c9; --lilac: #cbbfe9; --sand: #e4d9c3; --onc: #2a2621;
  --bg: #f6f2ea; --card: #fcfaf5; --ink: #2a2621; --muted: #6b6254; --edge: #3d3830;
  --lift: 0 1px 0 var(--edge), 0 10px 26px -14px rgba(42, 38, 33, 0.28);
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #1b1916; --card: #24211c; --ink: #ece6d8; --muted: #a29a8a; --edge: #6a6354; --lift: 0 1px 0 var(--edge), 0 10px 26px -14px rgba(0, 0, 0, 0.6); }
}
:root[data-theme="dark"] { --bg: #1b1916; --card: #24211c; --ink: #ece6d8; --muted: #a29a8a; --edge: #6a6354; --lift: 0 1px 0 var(--edge), 0 10px 26px -14px rgba(0, 0, 0, 0.6); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 1.0625rem; line-height: 1.6; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); border: 2px solid var(--edge); border-radius: 10px; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* header and footer, the same on every page */
.site-header { padding: 14px 0; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.brand { font-weight: 900; font-size: 1.5rem; letter-spacing: -0.02em; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.nav a { text-decoration: none; font-weight: 700; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { background: var(--sand); color: var(--onc); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav a.btn { padding: 8px 18px; }
.site-footer { margin-top: 56px; padding: 28px 0 48px; border-top: 2px solid var(--edge); }
.site-footer .nav { margin: 0 -10px 10px; }
.site-footer p { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; background: var(--lemon); color: var(--onc); font-weight: 900; font-size: 1.0625rem; text-decoration: none; border: 2px solid var(--edge); border-radius: 14px; box-shadow: 0 3px 0 var(--edge); }
.btn:hover { background: #f5e19b; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge); }
.link-btn { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }

/* welcome page */
.hero { padding: 36px 0 24px; }
.hero h1 { font-size: clamp(2.25rem, 9vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 900; max-width: 14em; }
.hero .sub { margin-top: 18px; max-width: 34em; font-size: 1.1875rem; }
.hero .actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.section { padding: 36px 0 0; }
.section h2 { font-size: clamp(1.5rem, 5vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.section > .wrap > p { max-width: 40em; }
.eyebrow { display: inline-block; margin-bottom: 8px; font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.grid { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: 1fr; padding: 0; list-style: none; }
.card { background: var(--card); border: 2px solid var(--edge); border-radius: 20px; box-shadow: var(--lift); padding: 18px; }
.card h3 { font-size: 1.1875rem; margin-bottom: 4px; }
.card p { color: var(--ink); }
.card.tint { background: var(--c, var(--card)); color: var(--onc); }
.card.tint p { color: var(--onc); }
.badge { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border: 2px solid var(--edge); border-radius: 999px; background: var(--lemon); color: var(--onc); font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.badge.soon { background: var(--lilac); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 8px; border: 2px solid var(--edge); border-radius: 50%; background: var(--lemon); color: var(--onc); font-weight: 900; }
.cta { margin-top: 20px; }
.trust { margin-top: 40px; padding: 18px; border: 2px solid var(--edge); border-radius: 20px; background: var(--card); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
.trust ul { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 0; list-style: none; font-weight: 800; }
.muted { color: var(--muted); }

/* About, Privacy and Terms */
.doc { max-width: 720px; margin: 0 auto; padding: 8px 20px 0; }
.doc h1 { font-size: 1.875rem; letter-spacing: -0.02em; margin: 8px 0 4px; }
.doc h2 { font-size: 1.25rem; margin: 32px 0 6px; }
.doc p, .doc li { margin: 8px 0; }
.box { background: var(--card); border: 2px solid var(--edge); border-radius: 16px; padding: 4px 18px 10px; margin-top: 16px; }

@media (min-width: 720px) {
  .hero { padding: 72px 0 40px; }
  .section { padding-top: 64px; }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.games { grid-template-columns: repeat(3, 1fr); }
  .site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

h1, h2, h3, .brand, .btn, .link-btn { font-family: "Fredoka", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif; }
h1, h2, h3, .brand { font-weight: 700; }
