:root { --ink: #1c2350; --soft: #4a5385; --sky1: #4fa3f0; --sky2: #bfe3ff; --gold: #ffb627; --brown: #6b2e00; --card: #ffffff; --green1: #6fe04a; --green2: #2caf2a; --line: #e3e8f6; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; margin: 0; font-family: "Fredoka", "Nunito", system-ui, sans-serif; color: var(--ink); background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 55%, #eef7ff 100%); min-height: 100vh; display: flex; flex-direction: column; }
body > main, body > .wrap { flex: 1; width: 100%; }
a { color: #1f6fd8; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }

/* hero */
.hero > *, .features > * { min-width: 0; }
.hero { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: 28px 0 24px; }
.intro { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero .logo { width: min(440px, 100%); display: block; }
.tagline { display: inline-block; margin: 0; padding: 6px 18px; background: #fff4d6; border: 2px solid #d29a45; border-radius: 999px; color: #7a4a12; font-weight: 600; box-shadow: 0 3px 0 rgba(11, 20, 64, .25); }
.lead { font-size: 1.2rem; line-height: 1.55; color: #12224f; max-width: 34ch; margin: 0; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 16px; border-radius: 14px; color: #fff; text-decoration: none; background: #111; border: 1.5px solid #a6a6a6; box-shadow: 0 5px 0 rgba(11, 20, 64, .35); transition: transform .1s; line-height: 1.1; text-align: left; }
.store:hover { transform: translateY(-2px); }
.store small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.store b { display: block; font-weight: 600; font-size: 1.35rem; }
.store svg { width: 30px; height: 32px; flex: none; }
.soon { display: block; margin: -10px 0 0; font-size: .9rem; color: var(--soft); }
.shot { position: relative; justify-self: end; height: clamp(420px, calc(100vh - 330px), 640px); width: auto; max-width: 100%; aspect-ratio: 780 / 1688; border-radius: 34px; overflow: hidden; border: 8px solid #10184a; box-shadow: 0 18px 40px rgba(11, 20, 64, .35); background: #cfe3ff url(img/gameplay.jpg) center / cover; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 0 28px; }
.card { background: var(--card); border-radius: 22px; padding: 16px 20px; box-shadow: 0 5px 0 rgba(11, 20, 64, .12); border: 2px solid var(--line); }
.card b { display: block; font-size: 1.1rem; margin: 8px 0 4px; }
.card p { margin: 0; color: var(--soft); line-height: 1.5; }
.card .ico { width: 40px; height: 40px; object-fit: contain; display: block; }

/* footer */
footer { background: #10184a; color: #c9d2ff; padding: 18px 0 calc(26px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer a { color: #fff; text-decoration: none; margin-right: 18px; }
footer a:hover { text-decoration: underline; }

/* legal pages */
.doc { background: #fff; border-radius: 24px; padding: 36px clamp(18px, 4vw, 44px); margin: 28px auto 48px; max-width: 760px; box-shadow: 0 6px 0 rgba(11, 20, 64, .12); line-height: 1.6; }
.doc h1 { margin-top: 0; font-size: 2rem; }
.doc h2 { margin-top: 1.6em; font-size: 1.25rem; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.top img { height: 46px; }
.top a.back { color: #fff; font-weight: 600; text-decoration: none; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 32px; }
  .shot { height: auto; width: min(300px, 100%); }
  .intro { align-items: center; }
  .shot { justify-self: center; }
  .hero .logo { margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .features { grid-template-columns: 1fr; }
}
