/* ---------- per-game pages (normal scroll, built by _build_games.py) ---------- */
.game-page main { max-width: 1240px; margin: 0 auto; padding: 88px clamp(16px, 4vw, 56px) 40px; }
.game-page .nav { background: linear-gradient(var(--paper) 60%, rgba(243, 238, 228, 0)); }
.game-page .lang { margin-left: 8px; color: var(--ink); text-decoration: none; border: 1px solid var(--hair); border-radius: 999px; padding: 6px 12px; }
.game-page .lang span + span::before { content: none; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.g-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 3vw; min-height: 70vh; }
.g-hero h1 { margin: 0; font-size: clamp(34px, 4vw, 54px); }
.g-hero .game-head img { width: 88px; height: 88px; border-radius: 22px; }
.g-hero .lead { margin: 6px 0 24px; }
.g-hero .meta { margin: 18px 0 0; font-size: 13px; color: var(--faint); }
.game-page .model { opacity: 1; translate: none; scale: none; }
.g-model > * { animation: rise 1s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes rise { from { opacity: 0; translate: 0 -50px; } }

.g-media { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; margin: 4vh 0 8vh; }
.g-media video { height: min(62vh, 560px); max-width: 100%; border-radius: 18px; background: #23222b; box-shadow: 0 24px 50px -28px rgba(35, 34, 43, .6); }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots img { height: min(52vh, 460px); width: auto; flex: none; border-radius: 16px; scroll-snap-align: start; box-shadow: 0 18px 40px -26px rgba(35, 34, 43, .55); }

.g-about { max-width: 760px; margin: 0 auto 10vh; }
.g-about h2, .g-more h2 { font-size: clamp(26px, 2.6vw, 36px); }
.desc h3 { margin: 30px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.desc p { margin: 0 0 14px; color: var(--muted); font-size: 17px; }
.desc ul { margin: 0 0 14px; padding-left: 0; list-style: none; }
.desc li { position: relative; padding-left: 22px; margin: 0 0 8px; color: var(--muted); font-size: 17px; }
.desc li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 9px; background: var(--turq); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.g-more { margin-bottom: 6vh; }
.minis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mini { display: grid; gap: 6px; text-decoration: none; padding: 10px 10px 16px; border-radius: 18px; transition: background .3s, transform .4s var(--ease); }
.mini:hover { background: rgba(253, 251, 247, .8); transform: translateY(-3px); }
.mini img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(farthest-side, #000 72%, transparent 100%); mask-image: radial-gradient(farthest-side, #000 72%, transparent 100%); }
.mini b { display: block; font-weight: 500; font-size: 16px; }
.mini small { color: var(--faint); font-size: 12px; letter-spacing: .04em; }

.g-foot { text-align: center; padding: 28px 16px 40px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--faint); }
.g-foot p { margin: 4px 0; }
.g-foot a { color: var(--muted); }

@media (max-width: 860px) {
  .g-hero { grid-template-columns: 1fr; min-height: 0; }
  .g-model { order: -1; margin: 0 -8px; }
  .g-media { grid-template-columns: 1fr; }
  .g-media video { height: auto; width: 100%; max-height: 70vh; }
  .shots img { height: 300px; }
  .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .g-model > * { animation: none; } }

.g-legal { max-width: 760px; margin: 0 auto 10vh; }
.g-legal > p { color: var(--muted); margin: 0 0 18px; }
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.doc { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 18px 20px; border-radius: 16px; background: rgba(253, 251, 247, .85); border: 1px solid var(--hair); text-decoration: none; transition: transform .4s var(--ease), border-color .3s; }
.doc:hover { transform: translateY(-2px); border-color: var(--faint); }
.doc b { font-weight: 500; }
.doc small { flex-basis: 100%; color: var(--faint); font-size: 13px; }
.doc span { color: var(--faint); }
