:root {
  color-scheme: dark;
  font-family: system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: #fff8e9;
  background: #0e1728;
  --muted: #c5cddd;
  --border: #354258;
  --accent: #ffd887;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(100% - 48px, 1160px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 8px; left: 8px; transform: translateY(-200%); padding: 12px; background: #0e1728; }
.skip:focus { transform: none; }

.site-header { background: #0b1322; border-bottom: 1px solid var(--border); }
.navigation, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.navigation { min-height: 68px; }
.brand { font-size: clamp(14px, 2vw, 20px); font-weight: 700; letter-spacing: .09em; }
.navigation nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.site-header a, .site-footer a { text-decoration: none; }
.navigation nav a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header a:hover, .site-footer a:hover { color: var(--accent); }
.language { padding-inline: 12px; border: 1px solid var(--border); border-radius: 6px; }

.hero { position: relative; background: #143652; }
.hero img { width: 100%; height: min(43vw, 540px); object-fit: cover; object-position: center 48%; }
.hero::after { position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(transparent, #0e1728); content: ""; pointer-events: none; }
.intro { position: relative; display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-top: -26px; padding-bottom: 54px; }
.game-heading { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 26px); }
.game-icon { width: clamp(64px, 9vw, 106px); height: auto; flex: none; border-radius: 20%; border: 2px solid #ffdc9a; box-shadow: 0 6px 25px #080c1699; }
.genre { color: var(--accent); font-size: clamp(14px, 2vw, 18px); font-weight: 650; }
h1, h2 { line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h1 { margin-top: 4px; font-size: clamp(28px, 4.5vw, 58px); }
h2 { margin-bottom: 20px; font-size: clamp(25px, 3vw, 38px); }
.summary { max-width: 41rem; margin-top: 20px; color: var(--muted); line-height: 1.75; font-size: 17px; word-break: keep-all; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 7px; text-decoration: none; font-weight: 650; }
.button:hover { border-color: var(--accent); }
.primary { color: #211809; background: var(--accent); border-color: var(--accent); }
.primary:hover { background: #ffe8b9; }
.game-info { margin: 0; padding: 4px 18px; border: 1px solid var(--border); border-radius: 10px; background: #152135; }
.game-info div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; }
.game-info div + div { border-top: 1px solid var(--border); }
.game-info dt { color: var(--muted); }
.game-info dd { margin: 0; text-align: right; font-weight: 650; }

.section { padding: 38px 0 46px; border-top: 1px solid var(--border); scroll-margin-top: 16px; }
.gameplay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: start; gap: clamp(24px, 4vw, 56px); }
.highlights { margin: 0; padding-left: 21px; color: var(--muted); line-height: 1.65; word-break: keep-all; }
.highlights li + li { margin-top: 12px; }
.highlights strong { color: #fff8e9; }
.gameplay video { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 10px; background: #080e19; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gallery a { display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: #152135; text-decoration: none; }
.gallery a:hover { border-color: var(--accent); }
.gallery img { width: 100%; height: auto; }
.gallery span { display: block; padding: 10px 12px; font-weight: 650; }
.site-footer { padding: 22px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer-row { flex-wrap: wrap; }

@media (max-width: 810px) {
  .intro, .gameplay { grid-template-columns: 1fr; }
  .game-info { max-width: 34rem; }
  .gallery { gap: 12px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .navigation { min-height: 58px; gap: 8px; }
  .navigation nav { gap: 10px; font-size: 14px; }
  .hero img { height: auto; aspect-ratio: 1; }
  .intro { margin-top: -20px; padding-bottom: 36px; }
  .summary { font-size: 16px; }
  .section { padding-block: 28px 36px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
