:root {
  --ink: #172033;
  --muted: #667085;
  --cream: #fffaf0;
  --orange: #ff7a45;
  --yellow: #ffcb45;
  --purple: #7d5cff;
  --line: rgba(23, 32, 51, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, sans-serif; }
a { color: inherit; }

.hero { position: relative; min-height: 650px; padding: 24px max(24px, calc((100vw - 1120px) / 2)); overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 800 1.25rem "Baloo 2", sans-serif; text-decoration: none; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; background: var(--purple); border-radius: 12px; box-shadow: 0 7px 0 #5d40d4; }
.nav-link { font-weight: 600; text-decoration: none; }
.nav-link:hover, .footer-links a:hover { color: var(--purple); }

.hero-copy { position: relative; z-index: 2; max-width: 720px; padding: 112px 0 84px; }
.eyebrow, .section-label { margin: 0 0 12px; color: var(--orange); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { font-family: "Baloo 2", sans-serif; line-height: .98; }
h1 { max-width: 800px; margin: 0; font-size: clamp(4rem, 8vw, 7rem); letter-spacing: -.045em; }
h1 span { color: var(--purple); }
.intro { max-width: 600px; margin: 30px 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.7; }
.button { display: inline-flex; gap: 24px; align-items: center; padding: 15px 20px; color: #fff; background: var(--ink); border-radius: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 7px 0 #000; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(3px); box-shadow: 0 4px 0 #000; }
.orb { position: absolute; border-radius: 50%; opacity: .9; }
.orb-one { top: 120px; right: -70px; width: 340px; height: 340px; background: var(--yellow); }
.orb-two { right: 220px; bottom: -100px; width: 190px; height: 190px; background: var(--orange); }

main { padding: 0 max(24px, calc((100vw - 1120px) / 2)); }
.mission { max-width: 850px; padding: 110px 0; }
h2 { margin: 0 0 20px; font-size: clamp(2.7rem, 5vw, 4.7rem); letter-spacing: -.035em; }
.mission > p:last-child, .game-heading p { color: var(--muted); font-size: 1.1rem; line-height: 1.75; }

.game { margin-bottom: 110px; padding: 64px; background: #fff; border: 1px solid var(--line); border-radius: 32px; box-shadow: 0 20px 60px rgba(23, 32, 51, .08); }
.game-heading { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; max-width: 850px; margin-bottom: 55px; }
.game-heading > img { border-radius: 26px; box-shadow: 0 12px 30px rgba(23, 32, 51, .18); }
.game-heading h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.play-button { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 18px; color: #fff; background: #111; border-radius: 10px; text-decoration: none; }
.play-button small { display: block; font-size: .57rem; letter-spacing: .09em; }
.play-button span:last-child { font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.play-icon { font-size: 1.6rem; }
.screenshots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.screenshots img { display: block; width: 100%; border-radius: 20px; box-shadow: 0 14px 35px rgba(23, 32, 51, .16); }

footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 42px max(24px, calc((100vw - 1120px) / 2)); color: var(--muted); background: #fff; border-top: 1px solid var(--line); }
footer > p { grid-column: 1 / -1; margin: 0; font-size: .82rem; }
.footer-links { display: flex; gap: 24px; font-size: .9rem; }
.footer-links a { text-decoration: none; }

@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero-copy { padding: 86px 0 120px; }
  h1 { font-size: clamp(3.6rem, 19vw, 5.4rem); }
  .orb-one { right: -170px; }
  .orb-two { right: 30px; }
  .mission { padding: 80px 0; }
  .game { padding: 28px 20px; border-radius: 24px; }
  .game-heading { grid-template-columns: 78px 1fr; gap: 18px; }
  .game-heading > img { width: 78px; height: 78px; border-radius: 18px; }
  .game-heading h2, .game-heading p, .play-button { grid-column: 1 / -1; }
  .screenshots { gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .screenshots img { min-width: 74vw; scroll-snap-align: center; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
