/* ==========================================================================
   Gluxolot — site stylesheet (custom CSS, no framework)
   Palette mirrors the game: night-purple sky, cream titles, green buttons,
   orange targets, gold stars.
   ========================================================================== */

/* ---------- fonts (OFL, shipped locally) ---------- */
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/Baloo2.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg-0: #0d0722;
  --bg-1: #150b33;
  --bg-2: #1f0f47;
  --bg-3: #2b165c;
  --panel: rgba(43, 22, 92, 0.55);
  --panel-border: rgba(179, 108, 255, 0.22);
  --text: #f3edff;
  --text-soft: #cdbfe9;
  --muted: #a693cf;
  --cream: #ffefc4;
  --purple: #8e44e0;
  --purple-2: #b36cff;
  --purple-deep: #5a1f9e;
  --green: #3ddc84;
  --green-deep: #1fa85c;
  --orange: #ff4e1a;
  --gold: #ffc93c;
  --blue: #3fa7ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  background-image:
    radial-gradient(1200px 700px at 15% -10%, rgba(142, 68, 224, 0.35), transparent 60%),
    radial-gradient(900px 600px at 95% 10%, rgba(63, 167, 255, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 45%, #0a0619 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-2); text-decoration: none; }
a:hover { color: #d3a8ff; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; background: rgba(255,255,255,0.08); padding: 0.1em 0.4em; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: #062; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { --container: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.section--support .muted { margin-top: 32px; }

/* ---------- starfield ---------- */
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.stars__layer { position: absolute; inset: -50% 0 0 0; height: 200%; background-repeat: repeat; opacity: 0.8; }
.stars__layer--a {
  background-image:
    radial-gradient(1.6px 1.6px at 20px 30px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 90px 120px, #fff, transparent),
    radial-gradient(1.8px 1.8px at 160px 60px, #fff, transparent),
    radial-gradient(1px 1px at 230px 180px, #fff, transparent),
    radial-gradient(1.4px 1.4px at 300px 90px, #fff, transparent),
    radial-gradient(1px 1px at 360px 220px, #fff, transparent);
  background-size: 420px 260px;
  animation: drift 160s linear infinite;
}
.stars__layer--b {
  background-image:
    radial-gradient(1px 1px at 50px 80px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.3px 1.3px at 140px 20px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 210px 150px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.6px 1.6px at 330px 110px, rgba(255,255,255,0.7), transparent);
  background-size: 380px 300px;
  opacity: 0.5;
  animation: drift 240s linear infinite reverse;
}
@keyframes drift { to { transform: translateY(25%); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(13, 7, 34, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(179, 108, 255, 0.12);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); }
.brand:hover { color: #fff; }
.brand__icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.04em; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 4px; list-style: none; }
.site-nav__list a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text-soft); font-weight: 700; font-size: 0.95rem; transition: background 0.2s, color 0.2s; }
.site-nav__list a:hover, .site-nav__list a[aria-current] { color: #fff; background: rgba(179, 108, 255, 0.14); }
.site-nav__actions { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; border: 1px solid var(--panel-border); border-radius: 999px; padding: 3px; background: rgba(0,0,0,0.25); }
.lang__item { padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; color: var(--muted); letter-spacing: 0.05em; }
.lang__item.is-active { background: var(--purple); color: #fff; }
.lang__item:not(.is-active):hover { color: #fff; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--panel-border); background: rgba(0,0,0,0.25); border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle__bar { position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 2px; background: var(--cream); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle__bar:nth-child(1) { top: 13px; }
.nav-toggle__bar:nth-child(2) { top: 20.5px; }
.nav-toggle__bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 20px; margin: 0;
    background: rgba(13, 7, 34, 0.96);
    border-bottom: 1px solid var(--panel-border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav__list { flex-direction: column; }
  .site-nav__list a { padding: 12px 14px; font-size: 1.05rem; }
  .site-nav__actions { justify-content: space-between; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 16px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; line-height: 1;
  transition: transform 0.15s var(--ease), box-shadow 0.15s, background 0.2s;
  white-space: nowrap;
}
.btn--sm { padding: 10px 16px; font-size: 0.92rem; border-radius: 12px; }
.btn__icon { width: 1.15em; height: 1.15em; flex: none; }
.btn__icon--after { transition: transform 0.2s; }
.btn:hover .btn__icon--after { transform: translateY(3px); }
.btn--primary {
  color: #05341a;
  background: linear-gradient(180deg, #5cf0a0 0%, var(--green) 55%, #2ccb74 100%);
  box-shadow: 0 5px 0 var(--green-deep), 0 14px 30px rgba(61, 220, 132, 0.25);
}
.btn--primary:hover { color: #05341a; transform: translateY(-2px); box-shadow: 0 7px 0 var(--green-deep), 0 18px 34px rgba(61, 220, 132, 0.32); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--green-deep); }
.btn--ghost {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 239, 196, 0.35);
  box-shadow: 0 4px 0 rgba(0,0,0,0.25);
}
.btn--ghost:hover { color: #fff; background: rgba(255,255,255,0.11); border-color: rgba(255,239,196,0.6); transform: translateY(-2px); }

/* Google Play style badge */
.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px; border-radius: 14px;
  background: #0b0b10; color: #fff; border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 6px 0 #000, 0 16px 30px rgba(0,0,0,0.45);
  transition: transform 0.15s var(--ease), box-shadow 0.15s, border-color 0.2s;
  line-height: 1;
}
.play-badge:hover { color: #fff; transform: translateY(-2px); border-color: rgba(255,255,255,0.5); box-shadow: 0 8px 0 #000, 0 20px 34px rgba(0,0,0,0.5); }
.play-badge:active { transform: translateY(3px); box-shadow: 0 3px 0 #000; }
.play-badge__icon { width: 30px; height: 30px; color: var(--green); }
.play-badge__text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.play-badge__text small { font-size: 0.62rem; letter-spacing: 0.12em; font-weight: 800; opacity: 0.8; }
.play-badge__text strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.01em; }
.play-badge--lg { padding: 12px 24px 12px 16px; border-radius: 16px; }
.play-badge--lg .play-badge__icon { width: 36px; height: 36px; }
.play-badge--lg .play-badge__text strong { font-size: 1.55rem; }
.play-badge--sm { padding: 8px 14px 8px 12px; }
.play-badge--sm .play-badge__icon { width: 24px; height: 24px; }
.play-badge--sm .play-badge__text strong { font-size: 1.1rem; }

/* ---------- type helpers ---------- */
.kicker {
  display: inline-block; margin: 0 0 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple-2);
}
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 64px); }
.section__title { font-size: clamp(1.9rem, 4.2vw, 3rem); color: var(--cream); text-wrap: balance; }
.section__title--left { text-align: left; margin: 56px 0 20px; font-size: clamp(1.5rem, 3vw, 2rem); }
.section__lead { margin: 16px auto 0; font-size: 1.12rem; color: var(--text-soft); max-width: 600px; }
.section__lead--small { font-size: 0.95rem; color: var(--muted); }
.accent { color: var(--green); text-shadow: 0 0 30px rgba(61, 220, 132, 0.35); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(120px, 14vw, 200px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 6.4vw, 4.9rem); color: var(--cream); line-height: 1.02; text-shadow: 0 6px 0 rgba(42, 10, 74, 0.9), 0 18px 40px rgba(0,0,0,0.5); }
.hero__lead { margin: 22px 0 30px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-soft); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__sub { margin: 14px 0 0; font-size: 0.92rem; color: var(--muted); font-weight: 700; }

.stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 38px; list-style: none; }
.stat { display: flex; flex-direction: column; line-height: 1; }
.stat__n { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--gold); text-shadow: 0 3px 0 rgba(0,0,0,0.35); }
.stat__l { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.hero__art { position: relative; padding: 40px 30px 30px 10px; }
.hero__blob { position: absolute; width: clamp(110px, 13vw, 180px); height: auto; left: -7%; bottom: -10%; filter: drop-shadow(0 18px 24px rgba(0,0,0,0.5)); z-index: 3; }
.hero__star { position: absolute; width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(255, 201, 60, 0.8)); z-index: 3; }
.hero__star--1 { top: 4%; left: 6%; width: 26px; animation-delay: 0s; }
.hero__star--2 { top: -2%; right: 14%; width: 36px; animation-delay: 0.9s; }
.hero__star--3 { bottom: 8%; right: -2%; width: 24px; animation-delay: 1.7s; }
.hero__target { position: absolute; width: clamp(54px, 6vw, 84px); top: 14%; right: -3%; z-index: 3; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.45)); }

/* phone frame (landscape) */
.phone {
  position: relative;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(160deg, #2a2338, #0f0c18);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255,255,255,0.08), inset 0 0 0 6px #05040a;
}
.phone::before { /* camera dot */
  content: ""; position: absolute; left: 50%; top: 5px; width: 46px; height: 4px; margin-left: -23px;
  border-radius: 999px; background: rgba(255,255,255,0.08);
}
.phone__screen { border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone--hero { transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); transition: transform 0.6s var(--ease); }
.hero__art:hover .phone--hero { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
.phone--tilt { transform: perspective(1400px) rotateY(10deg) rotateX(3deg); }

.hero__hills {
  position: absolute; left: 0; right: 0; bottom: -2px; height: clamp(90px, 12vw, 170px); pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23150b33' d='M0 120 C 200 60, 340 160, 520 110 S 820 40, 1000 100 S 1300 170, 1440 90 V200 H0 Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23241252' d='M0 160 C 260 100, 400 190, 640 140 S 980 90, 1180 150 S 1380 180, 1440 140 V200 H0 Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}

/* float / twinkle / pulse */
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
.twinkle { animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 0.9; } 50% { transform: scale(1.25) rotate(18deg); opacity: 1; } }
.pulse { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ---------- how to play ---------- */
.section--how { padding-top: clamp(40px, 6vw, 80px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; counter-reset: step; }
.step {
  position: relative; padding: 28px 26px 30px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(179,108,255,0.45); }
.step__art { margin: -8px -6px 14px; border-radius: var(--radius-sm); background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.05)); padding: 10px 16px; }
.step__art svg { width: 100%; height: auto; }
.step__n {
  position: absolute; top: -16px; left: 22px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #2a0a4a;
  background: var(--gold); box-shadow: 0 4px 0 #b98a15, 0 8px 18px rgba(0,0,0,0.4);
}
.step__title { font-size: 1.6rem; color: var(--cream); margin-bottom: 8px; }
.step__desc { margin: 0; color: var(--text-soft); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.feature {
  padding: 26px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.feature:hover { transform: translateY(-5px); background: linear-gradient(180deg, rgba(179,108,255,0.14), rgba(179,108,255,0.04)); border-color: rgba(179,108,255,0.4); }
.feature__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(160deg, var(--purple-2), var(--purple-deep)); color: #fff;
  box-shadow: 0 8px 20px rgba(142, 68, 224, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature:nth-child(4n+2) .feature__icon { background: linear-gradient(160deg, #5cf0a0, var(--green-deep)); box-shadow: 0 8px 20px rgba(61,220,132,0.35); color: #05341a; }
.feature:nth-child(4n+3) .feature__icon { background: linear-gradient(160deg, #ffd970, #e09a00); box-shadow: 0 8px 20px rgba(255,201,60,0.35); color: #3a2a00; }
.feature:nth-child(4n+4) .feature__icon { background: linear-gradient(160deg, #ff7a4e, #c7320a); box-shadow: 0 8px 20px rgba(255,78,26,0.35); }
.feature__title { font-size: 1.25rem; color: var(--cream); margin-bottom: 8px; }
.feature__desc { margin: 0; font-size: 0.97rem; color: var(--text-soft); }

/* ---------- worlds ---------- */
.worlds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; list-style: none; }
.world {
  grid-column: span 2;
  border-radius: var(--radius); overflow: hidden;
  background: var(--panel); border: 1px solid var(--panel-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.world:nth-child(4), .world:nth-child(5) { grid-column: span 3; }
.world:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,0,0,0.45), 0 0 0 2px var(--accent); }
.world__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.world__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.6s var(--ease); }
.world:hover .world__img img { transform: scale(1.08); }
.world__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,7,34,0.85)); }
.world__body { position: relative; padding: 18px 22px 24px; }
.world__n {
  position: absolute; top: -26px; right: 20px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #130a1e;
  background: var(--accent); box-shadow: 0 6px 16px rgba(0,0,0,0.45);
}
.world__title { font-size: 1.5rem; color: var(--cream); }
.world__levels { margin: 2px 0 8px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.world__desc { margin: 0; color: var(--text-soft); font-size: 0.98rem; }

/* ---------- screenshots ---------- */
.section--shots { padding-bottom: clamp(40px, 6vw, 80px); }
.shots { overflow: hidden; }
.shots__track {
  display: flex; gap: 20px; list-style: none;
  padding: 10px max(20px, calc((100vw - var(--container)) / 2)) 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - var(--container)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--purple) transparent;
}
.shots__track::-webkit-scrollbar { height: 8px; }
.shots__track::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 8px; }
.shot { flex: 0 0 clamp(280px, 42vw, 560px); scroll-snap-align: start; }
.shot__btn {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius-sm); overflow: hidden; background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 1px var(--panel-border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.shot__btn:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 0 2px var(--purple-2); }
.shot__btn img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.shot__cap { margin: 12px 4px 0; font-weight: 700; color: var(--text-soft); font-size: 0.95rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(8, 4, 20, 0.92); backdrop-filter: blur(6px); padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: min(1200px, 96vw); text-align: center; }
.lightbox__img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.7); }
.lightbox__cap { margin-top: 14px; font-weight: 700; color: var(--cream); font-family: var(--font-head); font-size: 1.2rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: background 0.2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------- made for phones ---------- */
.phone-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.phone-block .section__title { margin-bottom: 18px; }
.checks { list-style: none; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 38px; font-size: 1.05rem; color: var(--text-soft); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2305341a' d='M9.5 16.2 5.3 12l1.4-1.4 2.8 2.8 7.8-7.8L18.7 7z'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 3px 0 var(--green-deep);
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--panel-border); overflow: hidden; transition: border-color 0.2s; }
.faq__item[open] { border-color: rgba(179,108,255,0.5); }
.faq__q {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--cream);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chev { flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.08); position: relative; transition: transform 0.3s var(--ease), background 0.2s; }
.faq__chev::after { content: ""; position: absolute; left: 9px; top: 7px; width: 8px; height: 8px; border-right: 2.5px solid var(--purple-2); border-bottom: 2.5px solid var(--purple-2); transform: rotate(45deg); }
.faq__item[open] .faq__chev { transform: rotate(180deg); background: var(--purple); }
.faq__item[open] .faq__chev::after { border-color: #fff; }
.faq__a { padding: 0 22px 20px; color: var(--text-soft); }
.faq__a p { margin: 0; }

/* ---------- final CTA ---------- */
.section--cta { padding-bottom: clamp(80px, 10vw, 140px); }
.cta {
  position: relative; text-align: center; padding: clamp(48px, 7vw, 80px) 24px;
  border-radius: 32px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(179,108,255,0.35), transparent 70%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid rgba(179,108,255,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.12);
  overflow: hidden;
}
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.5; pointer-events: none; }
.cta::before { width: 280px; height: 280px; left: -80px; bottom: -120px; background: var(--green); opacity: 0.18; }
.cta::after { width: 320px; height: 320px; right: -100px; top: -140px; background: var(--orange); opacity: 0.16; }
.cta__blob { margin: 0 auto 10px; width: clamp(100px, 12vw, 140px); filter: drop-shadow(0 18px 24px rgba(0,0,0,0.5)); }
.cta__title { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--cream); margin-bottom: 10px; }
.cta__lead { color: var(--text-soft); font-size: 1.15rem; margin-bottom: 28px; }
.cta .play-badge, .cta .btn { position: relative; }

/* ---------- legal / support ---------- */
.legal-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); text-align: center; }
.legal-hero__title { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--cream); }
.legal-hero__meta { margin: 14px 0 0; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.legal-hero__lead { margin: 18px auto 0; max-width: 640px; font-size: 1.1rem; color: var(--text-soft); }

.section--legal { padding-top: 8px; }
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 22px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--panel-border); }
.legal__toc-title { margin: 0 0 12px; font-family: var(--font-head); font-weight: 800; color: var(--cream); letter-spacing: 0.04em; }
.legal__toc ol { list-style: none; display: grid; gap: 4px; }
.legal__toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 0.93rem; font-weight: 700; color: var(--text-soft); }
.legal__toc a:hover, .legal__toc a.is-active { background: rgba(179,108,255,0.16); color: #fff; }
.legal__back { display: inline-block; margin-top: 16px; font-size: 0.9rem; font-weight: 800; }
.legal__body { min-width: 0; }
.legal__section { scroll-margin-top: calc(var(--header-h) + 24px); padding-top: 8px; }

.prose h2 { font-size: 1.55rem; color: var(--cream); margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.prose li::marker { color: var(--purple-2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose em { color: var(--cream); font-style: normal; font-weight: 700; }

.callout {
  margin: 0 0 36px; padding: 22px 24px 22px 28px; border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(61,220,132,0.16), rgba(61,220,132,0.04));
  border: 1px solid rgba(61,220,132,0.35); border-left: 6px solid var(--green);
}
.callout__label { display: block; margin-bottom: 6px; font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.callout p { margin: 0; color: var(--text); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { padding: 30px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-border); box-shadow: 0 10px 30px rgba(0,0,0,0.25); display: flex; flex-direction: column; align-items: flex-start; }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 18px; background: linear-gradient(160deg, var(--purple-2), var(--purple-deep)); color: #fff; box-shadow: 0 8px 20px rgba(142,68,224,0.4); }
.card__icon svg { width: 30px; height: 30px; }
.card__title { font-size: 1.5rem; color: var(--cream); margin-bottom: 8px; }
.card__desc { color: var(--text-soft); flex: 1; }
.card .btn { max-width: 100%; white-space: normal; text-align: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid rgba(179,108,255,0.14); background: rgba(8, 4, 20, 0.6); padding: clamp(44px, 6vw, 72px) 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer__brand .brand { margin-bottom: 14px; }
.site-footer__tag { color: var(--muted); max-width: 320px; margin-bottom: 18px; }
.site-footer__title { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); margin-bottom: 14px; }
.site-footer__col ul { list-style: none; display: grid; gap: 8px; }
.site-footer__col a { color: var(--text-soft); font-weight: 600; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.07); color: var(--muted); font-size: 0.9rem; }
.site-footer__bottom p { margin: 0 0 6px; }
.site-footer__fine { font-size: 0.8rem; opacity: 0.8; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal--delay { transition-delay: 0.12s; }
.js .reveal--delay2 { transition-delay: 0.24s; }
.js .features .reveal { transition-delay: calc(var(--i, 0) * 0.06s); }
.js .worlds .reveal { transition-delay: calc(var(--i, 0) * 0.08s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .worlds { grid-template-columns: repeat(2, 1fr); }
  .world, .world:nth-child(4), .world:nth-child(5) { grid-column: span 1; }
  .world:nth-child(5) { grid-column: span 2; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .stats { justify-content: center; }
  .hero__art { max-width: 640px; margin: 20px auto 0; padding: 30px 20px 20px; }
  .phone--hero, .hero__art:hover .phone--hero { transform: none; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 34px; }
  .phone-block { grid-template-columns: 1fr; }
  .phone-block__art { max-width: 560px; margin: 0 auto; }
  .phone--tilt { transform: none; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .features, .worlds { grid-template-columns: 1fr; }
  .world:nth-child(5) { grid-column: span 1; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .play-badge--lg { padding: 10px 18px 10px 14px; }
  .play-badge--lg .play-badge__text strong { font-size: 1.3rem; }
  .hero__blob { left: -2%; bottom: -4%; }
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .twinkle, .pulse, .stars__layer { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .phone--hero, .phone--tilt { transform: none; }
  * { transition-duration: 0.01ms !important; }
}
