:root {
  color-scheme: dark;
  --background: #1f2326;
  --surface: #171b1e;
  --text: #ffffff;
  --muted: #bdc5ca;
  --line: #3a4248;
  --blue: #1a80b6;
  --link: #79c8f3;
  --button: #176f9f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; top: -100px; left: 16px; z-index: 5;
  padding: 12px 16px; background: white; color: #141719;
}
.skip:focus { top: 12px; }
.site-header { background: #141719; border-bottom: 1px solid #30383e; }
.masthead {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 83px; padding-block: 14px;
}
.brand { display: block; flex: 0 0 114px; }
.brand img { width: 114px; height: 55px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-link, .reserve {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px; font-size: 14px; font-weight: 600;
}
.nav-link { color: #e4e9ed; }
.nav-link:hover { color: var(--link); }
.reserve { background: var(--button); color: white; }
.reserve:hover { background: #1876a8; }
.hero { padding-block: 40px 30px; }
h1 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 44px); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.intro { margin: 0; color: var(--muted); font-size: 17px; }
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.game { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.game:hover { border-color: var(--blue); }
.game-cover, .collection-art { display: block; }
.game-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: contain; }
.game-body { border-top: 1px solid var(--line); }
.play {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 13px 18px; color: #f2f5f7; font-size: 15px; font-weight: 500;
}
.play span { color: var(--link); font-size: 23px; line-height: 1; }
.play:hover { background: #212c34; }
.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding-block: 18px 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.site-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--link); }
.site-footer a:hover { text-decoration: underline; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
@media (max-width: 759px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { gap: 12px; min-height: 79px; padding-block: 12px; }
  .site-nav { gap: 6px; }
  .nav-link { padding-inline: 8px; }
  .reserve { padding-inline: 12px; }
  .hero { padding-block: 30px 24px; }
  .intro { font-size: 16px; max-width: 34ch; }
  .games { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .site-footer { margin-top: 28px; padding-block: 12px 20px; font-size: 12px; }
}
