:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --text: #2b2a26;
  --muted: #6b675d;
  --line: #e7e1d3;
  --accent: #e8650f;
  --accent-text: #ffffff;
  --link: #b8500a;
  --green: #4f9a1f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17160f;
    --surface: #211f17;
    --text: #efeadc;
    --muted: #a9a290;
    --line: #36332a;
    --accent: #f07a26;
    --accent-text: #1a1206;
    --link: #ffab5e;
    --green: #8fd14f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--link); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 8px; }
nav { display: flex; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav a:hover { color: var(--text); }

main { padding: 28px 16px 48px; }

.hero .banner { width: 100%; border-radius: 14px; }
.game { display: flex; gap: 20px; align-items: flex-start; margin-top: 24px; }
.game .icon { border-radius: 22px; flex: none; width: 112px; }
.game h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.2; }
.game p { margin: 0 0 6px; }
.game .vi { color: var(--muted); }
.play {
  display: inline-block; margin-top: 10px; padding: 11px 20px; border-radius: 999px;
  background: var(--accent); color: var(--accent-text); font-weight: 700; text-decoration: none;
}
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0; }
.shots img { border-radius: 10px; border: 1px solid var(--line); }
.about { border-top: 1px solid var(--line); padding-top: 8px; }
.about h2 { font-size: 20px; }

.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px 28px 24px; }
.doc h1 { font-size: 28px; line-height: 1.25; margin-top: 28px; }
.doc h2 { font-size: 19px; margin-top: 28px; color: var(--green); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0 8px; }
.doc li { margin: 4px 0; }
.doc a { overflow-wrap: anywhere; }
.lang { margin: 16px 0 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px; }

@media (max-width: 600px) {
  .game { flex-direction: column; gap: 12px; }
  .game .icon { width: 88px; }
  .game h1 { font-size: 24px; }
  .shots { grid-template-columns: 1fr; }
  .doc { padding: 4px 16px 16px; }
}
