:root {
  color-scheme: dark;
  --bg: #16121c;
  --bg-2: #1c1824;
  --panel: #231d2c;
  --line: #3a3146;
  --text: #efe6d2;
  --muted: #a99f8a;
  --gold: #efc46a;
  --ink: #1a1320;
  --serif: 'Palatino Linotype', Palatino, 'Book Antiqua', 'Iowan Old Style', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
h1, h2, h3, .brand { font-variant-numeric: lining-nums; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  background-image: radial-gradient(900px 500px at 50% -10%, #2a2236 0%, transparent 70%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #fff0b8; }
.wrap { width: min(960px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* header */
.top { padding: 20px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.brand img { width: 40px; height: 40px; }
.top nav { display: flex; gap: 20px; font-size: 16px; }
.top nav a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.top nav a:hover { color: var(--text); }

/* intro */
.intro { padding: 56px 0 40px; }
.intro h1 { font-family: var(--serif); font-size: clamp(44px, 9vw, 72px); line-height: 1.05; margin: 0 0 14px; color: var(--gold); }
.intro p { font-size: clamp(19px, 3vw, 22px); color: var(--text); margin: 0; max-width: 34em; }

section { padding: 28px 0; }
h2 { font-family: var(--serif); font-size: 30px; margin: 0 0 18px; }

/* game card */
.game {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.shot { display: flex; align-items: center; overflow: hidden; background: #120e17; }
.shot img { width: 100%; height: auto; transition: transform 0.3s ease; }
.shot:hover img { transform: scale(1.02); }
.info { padding: 26px 28px 24px; }
.info p { margin: 0 0 18px; }
.title { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.title img { width: 56px; height: 56px; border-radius: 13px; }
.title h3 { font-family: var(--serif); font-size: 28px; line-height: 1.1; margin: 0; }
.title .where { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-size: 17px; font-weight: 600; text-decoration: none;
  border: 2px solid var(--ink); transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-gold { background: linear-gradient(#ffe39a, var(--gold) 45%, #d29a3c); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn-gold:hover { color: var(--ink); }
.btn-dark { background: #2f2839; color: var(--text); border-color: var(--line); }
.btn-dark:hover { color: var(--text); }
.links { display: flex; gap: 20px; font-size: 16px; margin: 0 !important; }

/* footer */
footer { padding: 28px 0 36px; border-top: 1px solid var(--line); margin-top: 32px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

@media (max-width: 760px) {
  .game { grid-template-columns: 1fr; }
  .info { padding: 22px 20px 20px; }
  .intro { padding: 32px 0 24px; }
  .actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .shot img { transition: none; }
}
