@font-face {
  font-family: "Alfa Slab One";
  src: url("/assets/fonts/AlfaSlabOne-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  --night: #121510;
  --panel: #1b2019;
  --green: #2d4433;
  --gold: #d6aa52;
  --text: #efe8d6;
  --dim: #b4ae9d;
  --line: #3a4236;
  --slab: "Alfa Slab One", Rockwell, Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--gold); }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
img { display: block; max-width: 100%; height: auto; }

.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; border-bottom: 1px solid var(--line); padding: 12px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.topbar nav { display: flex; gap: 18px; }
.topbar nav a { color: var(--text); text-decoration: none; }
.topbar nav a:hover, .topbar nav a[aria-current] { color: var(--gold); }

main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 32px 16px 48px; }
.hero { text-align: center; padding: 28px 0 44px; }
.hero img { width: min(320px, 76vw); margin: 0 auto; }
.hero p { max-width: 560px; margin: 28px auto 0; font-size: 21px; line-height: 1.45; }

h1, h2.section { font-family: var(--slab); font-weight: 400; line-height: 1.2; }
h1 { margin: 0 0 8px; font-size: 38px; overflow-wrap: anywhere; }
h2 { margin: 32px 0 6px; font-size: 20px; color: var(--gold); }
h2.section { margin: 0 0 16px; font-size: 26px; color: var(--text); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
.lead { font-size: 20px; line-height: 1.5; }
.updated { color: var(--dim); font-size: 15px; margin-bottom: 24px; }

.game-card { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; color: var(--text); text-decoration: none; }
.game-card:hover { border-color: var(--gold); color: var(--text); }
.game-card img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.game-card div { padding: 20px; }
.game-card h3 { margin: 0 0 8px; font: 400 24px/1.2 var(--slab); }
.game-card p { margin: 0 0 12px; font-size: 16px; }
.game-card .more { color: var(--gold); font-weight: 600; }

.game-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.game-head img { width: 88px; height: 88px; flex: none; border-radius: 8px; image-rendering: pixelated; }
.game-head h1 { margin: 0; }
.availability { display: inline-block; margin: 0 0 24px; padding: 8px 14px; background: var(--green); border-radius: 6px; font-weight: 600; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; }
.shots figure { margin: 0; }
.shots img { width: 100%; border: 1px solid var(--line); border-radius: 6px; image-rendering: pixelated; }

footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; border-top: 1px solid var(--line); padding: 16px; color: var(--dim); font-size: 15px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 30px; }
  .hero { padding: 12px 0 32px; }
  .hero p { font-size: 19px; }
  .game-card { grid-template-columns: minmax(0, 1fr); }
  .game-card img { height: auto; }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .game-head img { width: 64px; height: 64px; }
}
