:root {
  --bg: #f7f4ee;
  --ink: #1a1a2e;
  --muted: #55566a;
  --line: #d9d3c7;
  --card: #ffffff;
  --accent: #1a1a2e;
  --accent-ink: #ffffff;
  --gold: #c98a12;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #13131f;
    --ink: #f4f1ea;
    --muted: #b4b3c2;
    --line: #2c2c40;
    --card: #1c1c2c;
    --accent: #f2b84b;
    --accent-ink: #1a1a2e;
    --gold: #f2b84b;
  }
}

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

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
}

.mark {
  width: 4.5rem;
  height: 4.5rem;
  display: block;
  margin: 0 auto 1.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.lede {
  margin: 0 auto 2rem;
  max-width: 32rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.cta {
  display: inline-block;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.18);
}

.cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.more {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.more h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.games a {
  display: block;
  height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--card);
  text-align: left;
  text-decoration: none;
}

.games a:hover,
.games a:focus-visible {
  border-color: var(--gold);
}

.games strong {
  display: block;
  margin-bottom: 0.15rem;
}

.games span {
  font-size: 0.92rem;
  color: var(--muted);
}

footer {
  padding: 1.5rem 1.25rem 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

footer p {
  margin: 0.25rem 0;
}
