:root {
  color-scheme: dark;
  --background: #101112;
  --text: #f2f3f3;
  --muted: #b5b8ba;
  --accent: #ffd04a;
  --accent-hover: #ffdf80;
  --on-accent: #19160d;
  --border: #303335;
  --radius: 4px;
  --width: 1000px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-tap-highlight-color: #ffd04a33;
}
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}
a:active { opacity: .8; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 650; text-wrap: balance; }
p + p { margin-top: 1rem; }
img { display: block; max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--width), calc(100% - 48px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--background); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 650; padding-block: 10px; }
.wordmark img { width: 60px; height: auto; }
.nav-list { display: flex; gap: 28px; }
.nav-list a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-list a { color: var(--muted); font-size: 14px; }
.nav-list a:hover, .wordmark:hover, .text-link:hover, .footer-links a:hover { color: var(--accent); }

.hero { position: relative; isolation: isolate; background: #0d0c15; }
.hero-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(10 11 14 / 65%); }
.hero-inner { padding-block: 80px; }
.hero-copy { max-width: 550px; }
h1 { font-size: 64px; }
.hero-tagline { margin-top: 20px; font-size: 25px; line-height: 1.4; max-width: 450px; }
.hero-description { margin-top: 20px; max-width: 440px; color: #d0d2d4; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 10px 20px; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 650; }
.button:hover { background: var(--accent-hover); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; gap: 10px; font-size: 14px; }

.section { padding-top: 64px; scroll-margin-top: 6rem; }
h2 { font-size: 27px; margin-bottom: 28px; }
.game-list { display: grid; gap: 48px; }
.game { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.game > * { min-width: 0; }
.game-media img { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); }
figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }
.game-status { color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
h3 { font-size: 26px; margin-bottom: 16px; }
.game-copy > p:not(.game-status) { color: var(--muted); font-size: 15px; }
.game-copy .steam-unavailable { margin-top: 24px; font-size: 13px; }
.about-section { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; }
.section-copy { color: var(--muted); max-width: 650px; }
.about-section h2 { margin: 0; }
.socials-section { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; padding-bottom: 64px; }
.socials-section h2 { margin: 0; }
.social-list li + li { border-top: 1px solid var(--border); }
.social-list a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 4px; font-size: 15px; }
.social-list a:hover { color: var(--accent); }
.social-list svg { width: 20px; height: 20px; flex-shrink: 0; }
.social-handle { color: var(--muted); font-size: 13px; margin-left: auto; overflow-wrap: anywhere; }
.social-list a > span[aria-hidden] { margin-left: auto; }
.social-handle + span[aria-hidden] { margin-left: 8px; }
.site-footer { padding-block: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { min-width: 24px; justify-content: center; }

@media (min-width: 1440px) { .hero-art { object-position: center 55%; } }
@media (max-width: 767px) {
  .header-inner { min-height: 68px; }
  .nav-list { gap: 20px; }
  .hero-inner { padding-block: 56px; }
  h1 { font-size: 48px; }
  .hero-tagline { font-size: 23px; }
  .hero-art { object-position: 60% center; }
  .hero::after { background: rgb(10 11 14 / 78%); }
  .section { padding-top: 48px; }
  .game { grid-template-columns: 1fr; gap: 24px; }
  .game-copy { max-width: 540px; }
  .about-section, .socials-section { grid-template-columns: 1fr; gap: 24px; }
  .socials-section { padding-bottom: 48px; }
}
@media (max-width: 479px) {
  .container { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; justify-content: flex-start; gap: 0; padding-block: 8px; }
  .wordmark { width: 100%; padding-block: 4px; font-size: 18px; }
  .wordmark img { width: 48px; }
  .nav-list { gap: 28px; }
  html { scroll-padding-top: 8rem; }
  .section { scroll-margin-top: 8rem; }
  .hero-inner { padding-block: 44px; }
  h1 { font-size: 38px; }
  .hero-tagline { font-size: 21px; }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 12px 20px; margin-top: 24px; }
  .button { gap: 16px; padding-inline: 16px; }
  h2 { font-size: 25px; }
  .social-handle { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  a { transition: color 150ms ease, background-color 150ms ease, opacity 150ms ease; }
}
@media (forced-colors: active) {
  .button { border: 1px solid ButtonText; }
}
