/* The studio's own look: plain and quiet, deliberately unlike the games' styles.
   No web fonts, no scripts. */
:root {
  --bg: #fafaf7;
  --text: #16161a;
  --muted: #5c5c66;
  --line: #e2e2dc;
  --card: #ffffff;
  --accent: #16161a;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111114;
    --text: #ececf0;
    --muted: #a0a0aa;
    --line: #2a2a31;
    --card: #18181d;
    --accent: #ececf0;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

header, main, footer {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

header { padding-top: 32px; }

.wordmark {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

main { flex: 1; padding-top: 12vh; padding-bottom: 64px; }

h1 {
  margin: 0 0 72px;
  max-width: 18ch;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.game-link {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.game-link:hover { border-color: var(--muted); transform: translateY(-2px); }
.game-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.game-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; font-weight: 650; }

.game-text p { margin: 0 0 10px; color: var(--muted); }

.status {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.cta { display: block; margin-top: 6px; font-weight: 600; }

.more { margin: 24px 0 0; color: var(--muted); }

footer { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); }
footer p { margin: 0; font-size: 14px; color: var(--muted); }

@media (max-width: 600px) {
  main { padding-top: 8vh; }
  h1 { margin-bottom: 48px; }
  .game-link { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .game-link { transition: none; }
  .game-link:hover { transform: none; }
}
