/* SKY ARCADE website. An information page about the app: nothing on this site is playable. */
@font-face { font-family: Roboto; font-weight: 400; font-display: swap; src: url('fonts/roboto-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Roboto; font-weight: 500; font-display: swap; src: url('fonts/roboto-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: Roboto; font-weight: 700; font-display: swap; src: url('fonts/roboto-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: Roboto; font-weight: 900; font-display: swap; src: url('fonts/roboto-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto Condensed'; font-weight: 800; font-display: swap; src: url('fonts/roboto-condensed-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto Condensed'; font-weight: 900; font-display: swap; src: url('fonts/roboto-condensed-latin-900-normal.woff2') format('woff2'); }

:root {
  --bg: #0b1020;
  --bg2: #060914;
  --card: #131a30;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f1f4ff;
  --soft: #c3cce8;
  --muted: #8d97b8;
  --green: #00f07a;
  --blue: #00a2ff;
  --purple: #9b6bff;
  --orange: #ff7a00;
  --cyan: #00d8ec;
  --red: #ff3d57;
  --gold: #ffc233;
  --pink: #ff2e9a;
  --radius: 22px;
  --wrap: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #4db8ff; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: 'Roboto Condensed', Roboto, sans-serif; font-weight: 900; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.005em; margin: 0; }
h1 { font-size: clamp(46px, 7.2vw, 92px); }
h2 { font-size: clamp(36px, 5.4vw, 68px); }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent, var(--green)); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: 'Roboto Condensed', sans-serif; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; color: var(--accent, var(--green)); margin: 0 0 14px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--soft); max-width: 60ch; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 16, 32, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand b { font-family: 'Roboto Condensed', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: 0.06em; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--soft); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
@media (max-width: 640px) { .nav a:not(.keep) { display: none; } }

/* ---------- light-burst backgrounds (same look as the store art) ---------- */
.burst { position: relative; isolation: isolate; overflow: hidden; }
.burst::before {
  content: '';
  position: absolute;
  inset: -30% -20% auto;
  height: 160%;
  z-index: -2;
  background: repeating-conic-gradient(from 3deg at 50% 22%, rgba(255, 255, 255, 0.06) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 60%);
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 60%);
}
.burst::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 50% at 15% 10%, color-mix(in srgb, var(--accent, var(--green)) 32%, transparent), transparent 70%),
    radial-gradient(50% 45% at 90% 40%, color-mix(in srgb, var(--accent2, var(--blue)) 28%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

/* ---------- hero ---------- */
.hero { --accent: var(--green); --accent2: var(--blue); padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero .lead { margin: 22px 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chip { font-family: 'Roboto Condensed', sans-serif; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.stores { margin: 26px 0 0; color: var(--soft); font-size: 17px; }
.stores b { color: #fff; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- phone mockups with pop-out stickers ---------- */
.stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.phone { position: relative; width: min(300px, 70vw); aspect-ratio: 1170 / 2532; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #39415f 0%, #141a2e 40%, #0a0d18 100%); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1.5px rgba(255, 255, 255, 0.16); transform: rotate(var(--tilt, -3deg)); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.phone::after { content: ''; position: absolute; top: 20px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #05070d; }
.phone.sm { width: min(250px, 60vw); border-radius: 38px; padding: 10px; }
.phone.sm img { border-radius: 30px; }
.sticker { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: 'Roboto Condensed', sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; font-size: clamp(15px, 1.7vw, 20px); line-height: 1; padding: 10px 14px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); transform: rotate(var(--r, 0deg)); }
.sticker svg { width: 1.15em; height: 1.15em; flex: none; }
.stamp { position: absolute; z-index: 2; white-space: nowrap; font-family: 'Roboto Condensed', sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); border: 3px solid var(--red); border-radius: 4px; padding: 4px 12px; background: #fffaf0; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); font-size: clamp(16px, 1.8vw, 22px); transform: rotate(var(--r, -10deg)); }
.tile { position: absolute; z-index: 2; width: clamp(120px, 14vw, 170px); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.85); transform: rotate(var(--r, 0deg)); background: #fff; }
.float { animation: float 6s ease-in-out infinite; }
.float.d2 { animation-delay: -2s; }
.float.d3 { animation-delay: -4s; }
@keyframes float { 50% { translate: 0 -10px; } }

/* ---------- numbers strip ---------- */
.numbers { border-block: 1px solid var(--line); background: #0d1328; }
.numbers ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; }
.numbers b { display: block; font-family: 'Roboto Condensed', sans-serif; font-weight: 900; font-size: clamp(34px, 4.6vw, 56px); line-height: 1; }
.numbers span { color: var(--muted); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.numbers li:nth-child(1) b { color: var(--blue); }
.numbers li:nth-child(2) b { color: var(--green); }
.numbers li:nth-child(3) b { color: var(--purple); }
.numbers li:nth-child(4) b { color: var(--red); }
.numbers li:nth-child(5) b { color: var(--cyan); }
@media (max-width: 720px) { .numbers ul { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } .numbers li:last-child { grid-column: span 2; } }

/* ---------- zones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); }
.section-head .lead { margin: 18px auto 0; }
.zone { --accent2: var(--blue); }
.zone .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.zone.flip .zone-art { order: 2; }
.zone p { color: var(--soft); }
.zone ul.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.zone ul.points li { position: relative; padding-left: 24px; color: var(--soft); }
.zone ul.points li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
@media (max-width: 880px) { .zone .wrap { grid-template-columns: 1fr; } .zone.flip .zone-art { order: 0; } }

/* the 20 games grid */
.zone .wrap.games-wrap { display: block; margin-top: clamp(40px, 6vw, 72px); }
.games { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.games li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.games img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.games b { display: block; padding: 8px 12px 0; font-size: 15px; }
.games small { display: block; padding: 2px 12px 12px; color: var(--muted); font-size: 13px; line-height: 1.4; }
@media (max-width: 980px) { .games { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .games { grid-template-columns: repeat(2, 1fr); } }

/* ---------- screenshots gallery ---------- */
.gallery { position: relative; }
.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 22px; margin: 0; list-style: none; scrollbar-width: thin; }
.shots li { flex: none; width: clamp(220px, 24vw, 280px); scroll-snap-align: center; }
.shots img { border-radius: 20px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); aspect-ratio: 9 / 16; width: 100%; }
.gallery-btns { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.gallery-btns button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; display: grid; place-items: center; }
.gallery-btns button:hover { background: rgba(255, 255, 255, 0.14); }
.gallery-btns svg { width: 22px; height: 22px; }

/* ---------- extras and promise cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c, var(--green)); color: #fff; margin-bottom: 16px; }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--soft); }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }

.moon { --accent: var(--gold); --accent2: var(--purple); }
.moon .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.moon .pals { display: flex; gap: 12px; margin-top: 24px; }
.moon .pals img { width: 72px; height: 72px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45)); }
@media (max-width: 880px) { .moon .wrap { grid-template-columns: 1fr; } }

.promise { --accent: var(--cyan); }
.promise .card { --c: #1d2747; }

/* ---------- questions ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--accent, var(--green)); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 0 0 18px; color: var(--soft); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--soft); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }

/* ---------- reveal on scroll (only when the script runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- plain pages (privacy, 404) ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 16px 72px; }
.doc h1 { font-size: clamp(40px, 7vw, 64px); margin-bottom: 8px; }
.doc h2 { font-size: 22px; color: var(--blue); margin: 30px 0 6px; text-transform: none; font-family: Roboto, sans-serif; font-weight: 700; line-height: 1.3; }
.doc p, .doc li { color: var(--soft); }
.doc .card { padding: 6px 26px 22px; }
/* ---------- help page ---------- */
.help .lead { margin: 14px 0 26px; }
.help .card { margin-bottom: 18px; }
.help .card h3 { font-size: 20px; margin: 22px 0 4px; color: #fff; }
.help .card ul, .help .card ol { padding-left: 22px; color: var(--soft); }
.help .card li { margin: 6px 0; }
.help .card li b { color: #fff; }
.help .contact { border-color: color-mix(in srgb, var(--green) 45%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--green) 14%, var(--card)) 0%, var(--card) 70%); }
.help .contact h2 { color: var(--green); }
.fine { font-size: 14px; color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.toc a { font-size: 14px; font-weight: 500; color: var(--soft); text-decoration: none; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); }
.toc a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.doc h2.section-title { margin: 36px 0 14px; }
.how-name { flex: 1; display: flex; align-items: center; gap: 12px; }
.how-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--c); flex: none; }
.faq ul { margin: 0 0 18px; padding-left: 20px; color: var(--soft); }
.faq li { margin: 6px 0; }
.help [id] { scroll-margin-top: 80px; }
.nav a[aria-current='page'] { color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--green); color: #06121f; font-weight: 700; text-decoration: none; }
