:root {
  --ink: #171335;
  --ink-soft: #5a5574;
  --night: #160e4a;
  --night-2: #251076;
  --purple: #6f2ce8;
  --purple-2: #9b49ff;
  --blue: #3e79ff;
  --green: #72db1b;
  --green-dark: #42a900;
  --yellow: #ffcc29;
  --orange: #ff8a28;
  --red: #ff4d47;
  --cream: #fff9ee;
  --surface: #ffffff;
  --surface-soft: #f5f2ff;
  --line: rgba(44, 24, 96, .11);
  --shadow-sm: 0 10px 30px rgba(31, 16, 79, .10);
  --shadow-md: 0 22px 70px rgba(31, 16, 79, .18);
  --shadow-lg: 0 38px 100px rgba(26, 10, 79, .32);
  --radius-sm: 18px;
  --radius: 28px;
  --radius-lg: 40px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f5ff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: #7d42f0;
  color: #fff;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--night);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-light {
  background: linear-gradient(180deg, #fff 0%, #f9f7ff 100%);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 9999;
  background: rgba(255, 255, 255, .12);
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--purple-2));
  box-shadow: 0 0 16px rgba(140, 82, 255, .55);
}

.site-header {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: padding .25s var(--ease), background .25s ease;
}

.site-header.scrolled {
  padding: 8px 0;
}

.nav-shell {
  width: min(calc(100% - 32px), 1220px);
  min-height: 60px;
  margin: auto;
  padding: 7px 10px 7px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 12, 66, .63);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 12px 32px rgba(11, 6, 45, .18);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 96px;
}

.brand img {
  width: 91px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 11px 13px;
  border-radius: 13px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  outline: none;
}

.nav-links .nav-cta {
  color: #132500;
  background: linear-gradient(180deg, #a4f84e, #69d716);
  box-shadow: inset 0 1px rgba(255, 255, 255, .6), 0 6px 20px rgba(80, 221, 24, .25);
  padding-inline: 18px;
}

.nav-links .nav-cta:hover {
  background: linear-gradient(180deg, #b7ff69, #76df1f);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 13px;
  background: rgba(255, 255, 255, .10);
  padding: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  border-radius: 10px;
}

.hero {
  position: relative;
  min-height: 890px;
  padding: 145px 0 84px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 38%, rgba(125, 72, 255, .42), transparent 28%),
    radial-gradient(circle at 20% 20%, rgba(23, 109, 255, .24), transparent 32%),
    linear-gradient(145deg, #100a38 0%, #1a0d55 44%, #241173 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .42;
  background-image: radial-gradient(rgba(255, 255, 255, .8) .7px, transparent .7px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -110px;
  height: 220px;
  border-radius: 50% 50% 0 0/65% 65% 0 0;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-top: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #d9ceff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #7148b1;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(117, 222, 29, .12);
}

.hero-logo {
  width: clamp(220px, 31vw, 420px);
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 26px rgba(14, 4, 52, .24));
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .97;
  letter-spacing: -.055em;
  font-weight: 900;
}

.hero h1 span {
  color: #b2ff63;
}

.hero-text {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 55px;
  padding: 0 23px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 850;
  transition: transform .22s var(--ease), box-shadow .22s ease, background .22s ease;
}

.btn:focus-visible,
.store-button:focus-visible,
.gallery-arrow:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.btn-primary {
  color: #152500;
  background: linear-gradient(180deg, #b5ff61, #6bd918);
  box-shadow: inset 0 1px rgba(255, 255, 255, .78), 0 15px 30px rgba(89, 229, 24, .22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .78), 0 20px 38px rgba(89, 229, 24, .30);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .13);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 8px 11px;
  color: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: 12px;
  font-weight: 750;
}

.hero-stage {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(145deg, #302887, #0e0a38 55%, #5a31c6);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .26);
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 34px;
  pointer-events: none;
}

.phone-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 706 / 1255;
  object-fit: cover;
  object-position: top center;
  border-radius: 29px;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 50%;
  width: 86px;
  height: 19px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0827;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.hero-phone {
  width: min(390px, 72vw);
  transform: rotate(3deg);
  z-index: 3;
  will-change: transform;
}

.phone-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(187, 154, 255, .28);
  animation: orbitPulse 5.6s ease-in-out infinite;
}

.orbit-one {
  width: 540px;
  height: 540px;
}

.orbit-two {
  width: 650px;
  height: 650px;
  opacity: .46;
  animation-delay: -2s;
}

.float-character {
  position: absolute;
  z-index: 5;
  width: 170px;
  height: auto;
  filter: drop-shadow(0 20px 32px rgba(14, 5, 48, .26));
  animation: bob 4.2s ease-in-out infinite;
}

.character-apple {
  left: -48px;
  bottom: 80px;
  --rot: -8deg;
}

.character-banana {
  right: -58px;
  top: 80px;
  width: 155px;
  animation-delay: -1.6s;
  --rot: 8deg;
}

.hero-badge {
  position: absolute;
  z-index: 6;
  min-width: 190px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(21, 10, 73, .72);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(5, 2, 25, .26);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  font-size: 14px;
}

.hero-badge span {
  margin-top: 3px;
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
}

.badge-sort {
  left: -44px;
  top: 170px;
}

.badge-escape {
  right: -30px;
  bottom: 90px;
}

.hero-sparkle {
  position: absolute;
  pointer-events: none;
  animation: sparkle 3.8s ease-in-out infinite;
}

.sparkle-a {
  width: 90px;
  right: 0;
  top: 260px;
}

.sparkle-b {
  width: 100px;
  left: 16px;
  bottom: 250px;
  animation-delay: -1.2s;
}

.hero-leaves {
  position: absolute;
  z-index: -1;
  width: 290px;
  height: auto;
  opacity: .16;
}

.hero-leaves-left {
  left: -120px;
  bottom: 120px;
  transform: rotate(13deg);
}

.hero-leaves-right {
  right: -100px;
  top: 170px;
  transform: scaleX(-1) rotate(12deg);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .52);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-scroll span {
  display: block;
  width: 18px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  position: relative;
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 3px;
  background: #fff;
  transform: translateX(-50%);
  animation: mouse 1.8s ease-in-out infinite;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.gameplay-copy h2,
.market-copy h2,
.story-copy h2,
.faq-intro h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 900;
}

.section-heading h2 span,
.gameplay-copy h2 span,
.market-copy h2 span,
.story-copy h2 span,
.faq-intro h2 span {
  color: var(--purple);
}

.section-heading p,
.lead,
.market-copy>p,
.story-copy p,
.faq-intro p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading p {
  max-width: 680px;
  margin: 18px auto 0;
}

.section-heading:not(.centered) p {
  margin-left: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s ease;
  transform-style: preserve-3d;
}

.feature-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: -100px;
  right: -90px;
  background: radial-gradient(circle, #e8deff, transparent 70%);
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(48, 24, 115, .15);
}

.feature-icon {
  height: 145px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature-icon img {
  max-width: 135px;
  max-height: 135px;
  object-fit: contain;
  filter: drop-shadow(0 15px 22px rgba(45, 22, 105, .10));
}

.feature-icon-fruit img {
  max-width: 112px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
  font-size: 15px;
}

.gameplay-section {
  color: #fff;
  background: linear-gradient(145deg, #1c0e5b, #29107c 60%, #35139b);
  overflow: hidden;
}

.gameplay-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -220px;
  top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 83, 255, .35), transparent 67%);
}

.gameplay-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 70px;
}

.gameplay-copy h2 span {
  color: #b4ff64;
}

.gameplay-copy .lead {
  color: rgba(255, 255, 255, .70);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 35px 0 0;
  display: grid;
  gap: 10px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.steps li.active {
  background: rgba(159, 102, 255, .16);
  border-color: rgba(188, 151, 255, .32);
  transform: translateX(6px);
}

.steps li>span {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #1c2a02;
  background: linear-gradient(180deg, #b9ff6a, #73df1f);
  font-weight: 900;
}

.steps strong,
.steps small {
  display: block;
}

.steps strong {
  font-size: 15px;
}

.steps small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}

.demo-wrap {
  position: relative;
}

.demo-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(65, 42, 151, .88), rgba(19, 12, 70, .92));
  box-shadow: 0 32px 90px rgba(7, 3, 33, .35), inset 0 1px rgba(255, 255, 255, .08);
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 13px;
}

.demo-head strong {
  display: block;
  font-size: 16px;
}

.demo-kicker {
  display: block;
  margin-bottom: 2px;
  color: #baaaff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.reset-demo {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  padding: 8px 11px;
  border-radius: 11px;
  font-size: 12px;
  cursor: pointer;
}

.reset-demo:hover {
  background: rgba(255, 255, 255, .14);
}

.demo-board {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    radial-gradient(circle at 50% 20%, rgba(86, 58, 191, .42), transparent 35%),
    linear-gradient(180deg, #16104d, #100b38);
  touch-action: none;
}

.demo-grid-lines {
  position: absolute;
  inset: 54px;
  border-radius: 20px;
  opacity: .36;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 66px 66px;
}

.demo-fruit,
.demo-exit {
  position: absolute;
  z-index: 3;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  transition: filter .2s ease, opacity .25s ease, transform .18s var(--ease);
  touch-action: none;
}

.demo-fruit:focus-visible,
.demo-exit:focus-visible {
  outline: 3px solid #b5ff61;
  outline-offset: 3px;
  border-radius: 20px;
}

.demo-fruit img {
  width: 82px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, .18));
}

.demo-fruit.selected img {
  filter: drop-shadow(0 0 16px rgba(181, 255, 97, .65)) drop-shadow(0 15px 20px rgba(0, 0, 0, .20));
}

.demo-fruit.dragging {
  cursor: grabbing;
  z-index: 10;
  transition: none;
}

.demo-fruit.sorted {
  opacity: 0;
  pointer-events: none;
  transform: scale(.55) !important;
}

.fruit-a {
  left: 22%;
  top: 24%;
}

.fruit-b {
  left: 54%;
  top: 49%;
}

.fruit-c {
  left: 32%;
  top: 66%;
}

.demo-obstacle {
  position: absolute;
  z-index: 2;
  width: 78px;
  height: auto;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .18));
}

.obstacle-stone {
  left: 54%;
  top: 23%;
}

.obstacle-crate {
  left: 68%;
  top: 68%;
}

.demo-exit img {
  width: 105px;
  height: auto;
  pointer-events: none;
}

.demo-exit {
  cursor: pointer;
}

.demo-exit.targeted img {
  filter: drop-shadow(0 0 18px rgba(181, 255, 97, .75));
}

.exit-apple {
  left: 4%;
  top: 7%;
}

.exit-banana {
  right: 3%;
  top: 7%;
}

.exit-grape {
  left: 4%;
  bottom: 3%;
}

.demo-message {
  position: absolute;
  z-index: 11;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .72);
  background: rgba(9, 6, 37, .72);
  backdrop-filter: blur(10px);
  font-size: 11px;
  text-align: center;
  pointer-events: none;
}

.demo-message.success {
  color: #d8ffb3;
}

.demo-message.error {
  color: #ffd0ce;
}

.demo-progress {
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
}

.demo-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #7cdf23, #c2ff79);
  transition: width .35s var(--ease);
}

.demo-board.shake {
  animation: shake .32s ease;
}

.booster-section {
  background: linear-gradient(180deg, #f8f5ff, #fff);
}

.booster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.booster-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 22px;
  min-height: 230px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s ease;
}

.booster-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(46, 20, 117, .13);
}

.booster-image {
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: 24px;
  background: radial-gradient(circle, #f0e9ff 0, #fbfaff 62%, transparent 63%);
}

.booster-image img {
  width: 130px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  transition: transform .25s var(--ease);
}

.booster-card:hover .booster-image img {
  transform: scale(1.05) rotate(-2deg);
}

.booster-label {
  color: var(--purple);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.booster-card h3 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.booster-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.market-section {
  color: #fff;
  background: linear-gradient(150deg, #101347, #192263 44%, #123a66);
  overflow: hidden;
}

.market-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}

.market-art {
  min-height: 560px;
  display: grid;
  place-items: center;
}

.market-platform {
  position: relative;
  width: min(540px, 100%);
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(90, 197, 255, .22), transparent 64%);
}

.market-stall {
  position: absolute;
  left: 8%;
  bottom: 8%;
  width: 58%;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .22));
  animation: bob 5.5s ease-in-out infinite;
}

.market-truck {
  position: absolute;
  right: 1%;
  bottom: 4%;
  width: 48%;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .24));
  animation: bob 5s ease-in-out infinite;
  animation-delay: -1.8s;
}

.market-smoothie {
  position: absolute;
  top: 3%;
  left: 51%;
  width: 26%;
  height: auto;
  z-index: 5;
  --rot: 7deg;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .20));
  animation: bob 4.2s ease-in-out infinite;
  animation-delay: -.8s;
}

.market-coin {
  position: absolute;
  width: 54px;
  height: auto;
  z-index: 6;
  animation: spinFloat 5s ease-in-out infinite;
}

.coin-one {
  top: 30%;
  left: 7%;
}

.coin-two {
  top: 16%;
  right: 9%;
  animation-delay: -1.4s;
}

.market-copy h2 span {
  color: #9ef052;
}

.market-copy>p {
  color: rgba(255, 255, 255, .70);
}

.market-milestones {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.market-milestones>div:nth-child(odd) {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  align-items: start;
}

.market-milestones strong,
.market-milestones small {
  display: block;
  grid-column: 2;
}

.market-milestones strong {
  font-size: 1.2rem;
}

.market-milestones small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .52);
  font-size: 1rem;
}

.milestone-dot {
  grid-column: 1;
  grid-row: 1/3;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border: 2px solid #7d74b6;
  border-radius: 50%;
  background: #26205d;
}

.milestone-dot.done {
  border-color: #a9f65e;
  background: #75dc1d;
  box-shadow: 0 0 0 5px rgba(117, 220, 29, .12);
}

.market-milestones>div:nth-child(even) {
  width: 2px;
  height: 18px;
  margin-left: 6px;
  background: rgba(255, 255, 255, .12);
}

.market-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.market-blob-a {
  width: 530px;
  height: 530px;
  left: -220px;
  top: 40px;
  background: radial-gradient(circle, rgba(89, 74, 255, .26), transparent 68%);
}

.market-blob-b {
  width: 500px;
  height: 500px;
  right: -150px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(85, 221, 98, .18), transparent 67%);
}

.characters-section {
  background: #fff;
}

.character-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.character-card {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  padding: 22px 22px 26px;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(180deg, #f2edff, #fff);
  border: 1px solid var(--line);
}

.character-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 44px;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(53, 27, 117, .12), transparent 68%);
  filter: blur(7px);
}

.character-card img {
  position: relative;
  z-index: 2;
  height: 225px;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
  transition: transform .25s var(--ease);
}

.character-card:hover img {
  transform: translateY(-6px) rotate(-2deg);
}

.character-card h3 {
  position: relative;
  z-index: 3;
  margin: 10px 0 4px;
  font-size: 21px;
}

.character-card p {
  position: relative;
  z-index: 3;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.screenshots-section {
  color: #fff;
  background: linear-gradient(180deg, #170b4e, #21106c);
  overflow: hidden;
}

.screenshots-section .section-heading h2 span {
  color: #abff59;
}

.screenshots-section .section-heading p {
  color: rgba(255, 255, 255, .62);
}

.gallery-shell {
  position: relative;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 320px);
  gap: 30px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 18px calc(50% - 160px) 36px;
  margin-inline: calc(50% - 50vw);
  scroll-padding-inline: calc(50% - 160px);
}

.gallery::-webkit-scrollbar {
  display: none;
}

.screen-card {
  margin: 0;
  opacity: .62;
  transform: scale(.92);
  scroll-snap-align: center;
  transition: opacity .25s ease, transform .25s var(--ease);
}

.screen-card.active {
  opacity: 1;
  transform: scale(1);
}

.screen-card .phone-frame {
  padding: 8px;
  border-radius: 34px;
  box-shadow: 0 32px 70px rgba(3, 1, 24, .32);
}

.screen-card .phone-frame img {
  border-radius: 27px;
}

.screen-card figcaption {
  margin-top: 14px;
  color: white;
  text-align: center;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery-arrow {
  position: absolute;
  z-index: 8;
  top: 46%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 31px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, .15);
  transform: scale(1.05);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .26);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.gallery-dots button.active {
  width: 24px;
  background: #b2ff63;
}

.story-section {
  background: linear-gradient(180deg, #fff, #f7f4ff);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.story-art {
  position: relative;
  min-height: 520px;
  border-radius: 44px;
  background: radial-gradient(circle at 50% 48%, #e7ddff, transparent 62%);
}

.story-apple,
.story-grape,
.story-chest,
.story-glow {
  position: absolute;
}

.story-apple {
  width: 250px;
  height: auto;
  left: 4%;
  bottom: 60px;
  z-index: 3;
  animation: bob 4.6s ease-in-out infinite;
}

.story-grape {
  width: 220px;
  height: auto;
  right: 4%;
  top: 70px;
  z-index: 4;
  animation: bob 4.2s ease-in-out infinite;
  animation-delay: -1.7s;
}

.story-chest {
  width: 170px;
  height: auto;
  left: 42%;
  bottom: 20px;
  z-index: 5;
  animation: bob 5.1s ease-in-out infinite;
  animation-delay: -.8s;
}

.story-glow {
  width: 330px;
  height: auto;
  left: 30%;
  bottom: -80px;
  opacity: .5;
  z-index: 1;
}

.story-copy p {
  font-size: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: var(--purple);
  font-weight: 850;
}

.text-link:hover span {
  transform: translateX(3px);
}

.text-link span {
  transition: transform .2s ease;
}

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fbfaff;
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  list-style: none;
  padding: 20px 54px 20px 22px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--purple);
  background: #eee7ff;
  transition: transform .2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 14px;
}

.download-section {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  padding: 110px 0;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(152, 101, 255, .44), transparent 34%),
    linear-gradient(145deg, #160c4d, #281075 63%, #301291);
}

.download-inner {
  position: relative;
  z-index: 4;
  max-width: 780px;
}

.download-logo {
  width: 300px;
  height: auto;
  margin: 0 auto 16px;
  filter: drop-shadow(0 18px 30px rgba(9, 2, 38, .22));
}

.download-inner h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.05em;
}

.download-inner>p {
  max-width: 640px;
  margin: 18px auto 28px;
  color: rgba(255, 255, 255, .70);
  font-size: 17px;
  line-height: 1.65;
}

.store-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button {
  min-width: 190px;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: #0c0928;
  box-shadow: 0 16px 28px rgba(5, 2, 22, .24);
  text-align: left;
  transition: transform .2s var(--ease), background .2s ease;
}

.store-button:hover {
  transform: translateY(-3px);
  background: #121039;
}

.store-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #0b1e01;
  background: linear-gradient(180deg, #b6ff61, #70d91c);
  font-weight: 900;
  font-size: 18px;
}

.play-mark {
  background: linear-gradient(135deg, #58c8ff, #77f0b0, #ffd85e, #ff5e6f);
  color: #fff;
}

.store-button small,
.store-button strong {
  display: block;
}

.store-button small {
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
}

.store-button strong {
  margin-top: 1px;
  font-size: 17px;
}

.placeholder-note {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, .42);
  font-size: 10px;
}

.download-character {
  position: absolute;
  z-index: 2;
  width: 260px;
  height: auto;
  bottom: -24px;
  filter: drop-shadow(0 22px 38px rgba(7, 2, 34, .28));
  animation: bob 5.2s ease-in-out infinite;
}

.download-banana {
  left: max(10px, calc(50% - 660px));
  --rot: -7deg;
  transform: rotate(var(--rot));
}

.download-orange {
  right: max(10px, calc(50% - 660px));
  --rot: 7deg;
  transform: rotate(var(--rot));
}

.download-cloud {
  position: absolute;
  width: 520px;
  height: 190px;
  border-radius: 50%;
  opacity: .08;
  background: #fff;
  filter: blur(10px);
}

.cloud-a {
  left: -160px;
  bottom: 30px;
}

.cloud-b {
  right: -190px;
  top: 60px;
}

.site-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, .68);
  background: #0b0825;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-brand img {
  width: 140px;
  height: 78px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p,
.footer-legal p {
  font-size: 1rem;
}

.footer-links,
.footer-legal {
  display: grid;
  gap: 10px;
  font-size: 1rem;
}

.footer-links {
  justify-items: center;
  text-align: center;
}

.footer-legal {
  justify-items: end;
  text-align: right;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #fff;
}

.footer-powered {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 1rem !important;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 1rem;
  font-weight: 700;
}

.powered-by:hover {
  color: #fff;
}

.powered-by img {
  width: 92px;
  height: 28px;
  object-fit: contain;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, .42);
  font-size: 1rem;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 15px;
  color: #fff;
  background: rgba(23, 13, 70, .82);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(10, 5, 40, .20);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.noscript {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 10px;
  background: #fff2c6;
  color: #433600;
  text-align: center;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg))
  }

  50% {
    transform: translateY(-12px) rotate(var(--rot, 0deg))
  }
}

@keyframes orbitPulse {

  0%,
  100% {
    transform: scale(.96);
    opacity: .45
  }

  50% {
    transform: scale(1.04);
    opacity: .7
  }
}

@keyframes sparkle {

  0%,
  100% {
    opacity: .35;
    transform: scale(.92) rotate(-4deg)
  }

  50% {
    opacity: .85;
    transform: scale(1.08) rotate(4deg)
  }
}

@keyframes mouse {
  0% {
    opacity: 0;
    transform: translate(-50%, 0)
  }

  35% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 9px)
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0)
  }

  25% {
    transform: translateX(-7px)
  }

  50% {
    transform: translateX(6px)
  }

  75% {
    transform: translateX(-3px)
  }
}

@keyframes spinFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-10deg)
  }

  50% {
    transform: translateY(-12px) rotate(12deg)
  }
}

@media (max-width: 1024px) {
  :root {
    --container: 920px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 120px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .hero-stage {
    min-height: 600px;
  }

  .hero-phone {
    width: 330px;
  }

  .float-character {
    width: 130px;
  }

  .character-apple {
    left: -18px;
  }

  .character-banana {
    right: -10px;
    width: 120px;
  }

  .hero-badge {
    min-width: 160px;
  }

  .badge-sort {
    left: 0;
  }

  .badge-escape {
    right: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gameplay-grid,
  .market-grid,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .market-copy {
    order: -1;
  }

  .booster-grid {
    grid-template-columns: 1fr 1fr;
  }

  .character-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-intro {
    position: static;
  }

  .download-character {
    width: 190px;
    opacity: .78;
  }

  .download-banana,
  .download-orange {
    animation: bob 5s ease-in-out infinite;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 66px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .site-header {
    padding-top: 8px;
  }

  .nav-shell {
    width: calc(100% - 18px);
    border-radius: 19px;
    min-height: 54px;
    padding: 5px 6px 5px 12px;
  }

  .brand img {
    width: 82px;
    height: 40px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 9px;
    right: 9px;
    display: grid;
    gap: 3px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(19, 11, 63, .96);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px rgba(8, 4, 33, .28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .hero {
    padding: 118px 0 130px;
  }

  .hero::after {
    bottom: -80px;
    height: 140px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-logo {
    margin-inline: auto;
    width: 245px;
  }

  .hero h1 {
    font-size: clamp(44px, 13.4vw, 64px);
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .hero-stage {
    min-height: 570px;
  }

  .hero-phone {
    width: min(315px, 72vw);
    transform: rotate(1deg);
  }

  .phone-frame {
    border-radius: 32px;
  }

  .phone-frame img {
    border-radius: 25px;
  }

  .phone-speaker {
    top: 15px;
    width: 68px;
    height: 15px;
  }

  .phone-orbit {
    width: 420px;
    height: 420px;
  }

  .orbit-two {
    width: 500px;
    height: 500px;
  }

  .float-character {
    width: 120px;
  }

  .character-apple {
    left: 0;
    bottom: 60px;
  }

  .character-banana {
    right: 0;
    top: 70px;
    width: 106px;
  }

  .hero-badge {
    display: none;
  }

  .hero-scroll {
    bottom: 48px;
  }

  .section-heading h2,
  .gameplay-copy h2,
  .market-copy h2,
  .story-copy h2,
  .faq-intro h2 {
    font-size: clamp(36px, 10.5vw, 52px);
  }

  .feature-grid,
  .booster-grid,
  .character-row {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 310px;
  }

  .feature-icon {
    height: 125px;
  }

  .booster-card {
    grid-template-columns: 115px 1fr;
    min-height: 190px;
    padding: 18px;
  }

  .booster-image {
    min-height: 120px;
  }

  .booster-image img {
    width: 105px;
  }

  .gameplay-grid {
    gap: 38px;
  }

  .demo-board {
    height: 430px;
  }

  .demo-grid-lines {
    inset: 45px;
    background-size: 58px 58px;
  }

  .demo-fruit img {
    width: 70px;
  }

  .demo-exit img {
    width: 90px;
  }

  .demo-obstacle {
    width: 68px;
  }

  .market-art {
    min-height: 410px;
  }

  .market-platform {
    height: 390px;
  }

  .market-stall {
    left: 2%;
    width: 63%;
  }

  .market-truck {
    right: -2%;
    width: 51%;
  }

  .market-smoothie {
    width: 28%;
  }

  .gallery {
    grid-auto-columns: minmax(240px, 72vw);
    gap: 20px;
    padding-inline: 14vw;
    scroll-padding-inline: 14vw;
  }

  .gallery-arrow {
    display: none;
  }

  .story-art {
    min-height: 430px;
  }

  .story-apple {
    width: 205px;
  }

  .story-grape {
    width: 175px;
  }

  .story-chest {
    width: 145px;
  }

  .download-section {
    min-height: 650px;
    padding-bottom: 150px;
  }

  .download-character {
    width: 150px;
    bottom: -12px;
  }

  .download-banana {
    left: -12px;
  }

  .download-orange {
    right: -12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .hero-actions .btn {
    width: 100%;
  }

  .hero-tags {
    gap: 6px;
  }

  .hero-tags span {
    font-size: 10px;
  }

  .hero-stage {
    min-height: 500px;
  }

  .float-character {
    width: 98px;
  }

  .character-banana {
    width: 90px;
  }

  .phone-orbit {
    width: 350px;
    height: 350px;
  }

  .orbit-two {
    width: 410px;
    height: 410px;
  }

  .booster-card {
    grid-template-columns: 92px 1fr;
    gap: 14px;
  }

  .booster-image img {
    width: 86px;
  }

  .booster-card h3 {
    font-size: 22px;
  }

  .demo-card {
    padding: 12px;
  }

  .demo-board {
    height: 390px;
  }

  .demo-fruit img {
    width: 62px;
  }

  .demo-exit img {
    width: 80px;
  }

  .demo-obstacle {
    width: 60px;
  }

  .demo-message {
    font-size: 10px;
  }

  .market-art {
    min-height: 350px;
  }

  .market-platform {
    height: 330px;
  }

  .story-art {
    min-height: 365px;
  }

  .story-apple {
    width: 165px;
    left: -4%;
  }

  .story-grape {
    width: 145px;
    right: -4%;
  }

  .story-chest {
    width: 120px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}