@font-face { font-family: "Cinzel"; src: url("/fonts/Cinzel-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/Nunito-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/Nunito-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #15141a;
  --bg-2: #1e1c24;
  --panel: #24222b;
  --line: #36333f;
  --ink: #f3ead3;
  --muted: #b8b2a7;
  --gold: #e0b54a;
  --cyan: #5fe3e8;
  --moss: #9cc46b;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Nunito", system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(21, 20, 26, 0.9); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: "Cinzel", serif; font-size: 20px; letter-spacing: 0.04em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--gold); display: grid; place-items: center; }
.brand-mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--cyan); }
.nav { display: flex; gap: 22px; font-weight: 700; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 40px; }
.eyebrow { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-family: "Cinzel", serif; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; margin: 0 0 18px; }
.hero p { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0; }

/* Featured game */
.section-title { font-family: "Cinzel", serif; font-size: 26px; margin: 48px 0 18px; }
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-media { position: relative; min-height: 280px; background: #000; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 30px 30px 32px; display: flex; flex-direction: column; gap: 14px; }
.feature-body h3 { font-family: "Cinzel", serif; font-size: 30px; line-height: 1.15; margin: 0; }
.feature-body p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid transparent; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-primary { background: var(--gold); color: #1c1b22; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg-2); }

/* Grid of game cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.card:hover { text-decoration: none; border-color: #4a4656; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 16px 18px 18px; }
.card-body h4 { margin: 0 0 4px; font-size: 18px; }
.card-body p { margin: 0; color: var(--muted); font-size: 15px; }
.card.placeholder { border-style: dashed; justify-content: center; align-items: center; min-height: 220px; color: var(--muted); text-align: center; padding: 24px; }

/* Game page */
.game-hero { padding: 48px 0 24px; }
.game-hero h1 { font-family: "Cinzel", serif; font-size: clamp(34px, 5.5vw, 58px); line-height: 1.05; margin: 0 0 12px; }
.game-hero .lede { color: var(--muted); font-size: 19px; max-width: 720px; margin: 0 0 22px; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.shots img { border-radius: var(--radius); border: 1px solid var(--line); }
.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.panel h2 { font-family: "Cinzel", serif; font-size: 22px; margin: 0 0 12px; }
.panel ul { margin: 0; padding-left: 20px; color: var(--muted); }
.panel li { margin: 4px 0; }
table.controls { width: 100%; border-collapse: collapse; font-size: 15px; }
table.controls th, table.controls td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--line); }
table.controls th { color: var(--gold); font-weight: 700; }
table.controls td:first-child { color: var(--ink); font-weight: 700; }
table.controls td { color: var(--muted); }
kbd { font: 700 13px/1 "Nunito", sans-serif; background: var(--bg); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 2px 6px; color: var(--ink); }
.note { font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .feature, .cols { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .hero { padding-top: 48px; }
}
