/* The games' pages (games.html, games/*.html), on top of the site's style.css: its themes and tokens, header, sections
   (.block), facts, buttons and a game's card. What only these pages have is here. */

/* ---------- Header: the page in its other language, beside the theme toggle ---------- */
.lang-switch{display:grid;place-items:center;height:44px;padding:0 15px;border:1px solid var(--line);border-radius:999px;font-size:14px;color:var(--muted);text-decoration:none;white-space:nowrap}
.lang-switch:hover{color:var(--ink);background:var(--surface-hover)}

/* ---------- Hero: the game's name and status beside its art ---------- */
.game-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:center;gap:5vw;padding:150px 0 96px}
.game-eyebrow{text-transform:uppercase;gap:16px;margin-bottom:26px}
.game-icon{width:72px;height:72px;border-radius:22.5%;box-shadow:0 6px 18px var(--shadow);flex-shrink:0}
.game-hero h1{font-size:clamp(46px,5vw,82px);letter-spacing:-2.6px}
.game-tagline{font-family:Nunito,sans-serif;font-weight:800;font-size:clamp(21px,1.8vw,27px);letter-spacing:-.5px;line-height:1.3;margin:22px 0 0;color:var(--ink)}
.game-intro .intro-copy{max-width:46ch;margin:18px 0 30px}
/* The dot stands at the middle of the first line, also when the words wrap. */
.game-status{display:flex;align-items:flex-start;gap:12px;margin:0 0 26px;font-size:16px;font-weight:700;line-height:1.5;color:var(--ink)}
.game-status-dot{width:10px;height:10px;margin-top:calc(.75em - 5px);border-radius:50%;background:var(--accent);box-shadow:0 0 0 0 var(--accent-tint);animation:game-pulse 2.4s ease-out infinite;flex-shrink:0}
@keyframes game-pulse{0%{box-shadow:0 0 0 0 var(--accent-tint)}70%{box-shadow:0 0 0 10px transparent}100%{box-shadow:0 0 0 0 transparent}}
.game-intro .game-chips{margin-top:30px}
.game-intro .hero-actions{gap:20px 36px}
/* The sky's own blue behind the art while it loads. */
.game-art img{display:block;width:100%;height:auto;border-radius:28px;background:#a8bdea;box-shadow:0 28px 70px var(--shadow)}

/* ---------- Sections: what the game is, with its screenshots ---------- */
.game-feature{min-width:0}
.game-lead{margin:0 0 40px;color:var(--body);font-size:18px;line-height:1.65;max-width:62ch}
.game-lead a,.game-facts a{color:var(--accent-ink);text-decoration-thickness:1px;text-underline-offset:3px}
.game-lead a:hover,.game-facts a:hover{color:var(--brand)}
.points{list-style:none;margin:0 0 44px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.points-four{grid-template-columns:repeat(2,minmax(0,1fr))}
.points li{border-top:1px solid var(--line);padding-top:18px}
.points h3{font-family:Nunito,sans-serif;font-weight:800;font-size:19px;letter-spacing:-.4px;line-height:1.25;margin:0 0 10px}
.points p{margin:0;font-size:15px;line-height:1.6;color:var(--muted)}
/* Screenshots as the game draws them, without a device around them (Apple's marketing guidelines allow only its own
   product images, unchanged). */
.shots{display:grid;grid-template-columns:repeat(2,minmax(0,340px));gap:24px}
.shots img{display:block;width:100%;height:auto;border-radius:18px;background:var(--surface);box-shadow:0 18px 44px var(--shadow)}
.game-facts{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:36px}
.game-get-line{font-family:Nunito,sans-serif;font-weight:800;font-size:clamp(26px,2.4vw,36px);letter-spacing:-.8px;line-height:1.2;margin:0 0 28px;color:var(--ink)}

/* ---------- The games page: what the studio's games are, each on its card, and a game of your own ---------- */
.games-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5vw;padding:168px 0 72px}
.games-hero h1{font-size:clamp(46px,5vw,82px);letter-spacing:-2.6px}
.games-hero .intro-copy{max-width:52ch;margin:26px 0 0}
/* The service glyph of the home page, its windows lit. */
.games-glyph{width:clamp(150px,15vw,236px);height:auto;aspect-ratio:68/72;margin-right:2vw;filter:drop-shadow(0 0 28px var(--glyph-glow))}
.games-glyph{--vt:var(--brick-top);--vl:var(--brick-side);--vr:var(--brick);--vw:var(--window-lit)}
.games-list{display:grid;gap:32px;padding:0 0 104px}
.games-make .game-lead{margin-bottom:28px}
.games-make .capabilities{margin-bottom:36px}

@media(max-width:1050px){
  .game-hero{grid-template-columns:1fr;gap:44px;padding:120px 0 64px}
  .game-art{max-width:640px}
  .game-facts{grid-template-columns:1fr 1fr}
  .games-hero{padding:132px 0 56px}
  .games-list{padding-bottom:76px}
}
@media(max-width:700px){
  .game-hero{padding:106px 0 48px;gap:36px}
  .games-hero{grid-template-columns:1fr;padding:112px 0 40px}
  .games-hero h1{font-size:clamp(40px,11vw,54px);letter-spacing:-1.8px}
  .games-hero .intro-copy{margin-top:18px}
  .games-glyph{display:none}
  .games-list{padding-bottom:58px}
  .game-get-line{margin-bottom:22px}
  .game-eyebrow{font-size:11px;letter-spacing:2px;gap:14px;margin-bottom:20px}
  .game-icon{width:60px;height:60px}
  .game-hero h1{font-size:clamp(40px,11vw,54px);letter-spacing:-1.8px}
  .game-intro .intro-copy{max-width:none;margin:14px 0 24px}
  .game-intro .game-chips{margin-top:24px}
  .game-art img{border-radius:20px}
  .game-lead{font-size:16px;margin-bottom:28px}
  .points,.points-four{grid-template-columns:1fr;gap:20px;margin-bottom:32px}
  .shots{grid-template-columns:1fr 1fr;gap:12px}
  .shots img{border-radius:12px}
  .game-facts{grid-template-columns:1fr;row-gap:20px}
}
/* The narrowest phones have no room for the wordmark's "STUDIO" beside the language link; the link's name keeps it. */
@media(max-width:380px){
  .header:has(.lang-switch) .brand span{display:none}
  .lang-switch{padding:0 13px}
}
