:root {
  color-scheme: dark;
  --bg: #0c2037;
  --surface: #173654;
  --ink: #eef7ff;
  --muted: #b3c7da;
  --accent: #56dbea;
  --line: #31516e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
}
main { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 16px 0; }
h2 { font-size: 1.25rem; line-height: 1.4; margin-top: 36px; }
p, ul { margin: 16px 0; }
li { margin: 8px 0; }
.breadcrumb, .meta { color: var(--muted); font-size: .9rem; }
.intro { font-size: 1.2rem; color: var(--muted); }
.notice {
  margin: 28px 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--surface);
}
.notice p { margin: 0; }
.links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.mark { display: grid; grid-template-columns: repeat(2, 16px); gap: 4px; margin: 28px 0 20px; }
.mark i { width: 16px; height: 16px; border-radius: 4px; background: var(--accent); }
.mark i:last-child { background: #ffc558; }
footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.landing { max-width: 1120px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin: 40px 0 72px;
}
.hero .mark { margin-top: 0; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
.hero .intro { max-width: 36rem; }
.store-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 56px;
  padding: 14px 22px;
  border-radius: 12px;
  background: #ffc558;
  color: #0c2037;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.store-button:hover { background: #ffd589; }
.download-note { margin: 12px 0; color: var(--muted); font-size: .9rem; }
.ios-status { max-width: 38rem; color: var(--muted); font-size: .9rem; }
.hero-shot { width: 100%; max-width: 300px; margin: 0 auto; }
.hero-shot figcaption { margin-top: 12px; color: var(--muted); font-size: .85rem; text-align: center; }
.screenshot-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.screenshot-link img { display: block; width: 100%; height: auto; }
.gameplay { padding-top: 32px; border-top: 1px solid var(--line); }
.gameplay h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.gallery-intro { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.gallery > li { min-width: 0; margin: 0; }
.gallery figure { margin: 0; }
.gallery h3 { margin: 18px 0 8px; font-size: 1.15rem; line-height: 1.4; }
.gallery p { margin: 0; color: var(--muted); }
.game-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
.landing .notice h2 { margin: 0 0 12px; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; margin: 32px 0 48px; }
  .hero-shot { max-width: 280px; }
  .game-details { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 28px auto 0;
    gap: 36px;
  }
}
@media (max-width: 420px) { main { padding: 32px 20px 56px; } }
