@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --night: #0B1A17;
  --moss: #12241F;
  --canopy: #081311;
  --mint: #5FE3A1;
  --amber: #FFB765;
  --cyan: #7FD8FF;
  --violet: #B08BFF;
  --cream: #EDF6F0;
  --fog: #9BB3A9;
  --break: #F3F7F1;
  --ink: #0E1F1B;
  --ink-soft: #4C6459;
  --font-head: 'Outfit', 'Poppins', sans-serif;
  --font-body: 'Inter', 'DM Sans', sans-serif;
  --shell: 1240px;
  --r-lg: 24px;
  --r-md: 18px;
  --glow-mint: 0 0 32px rgba(95, 227, 161, .25);
  --glow-amber: 0 0 32px rgba(255, 183, 101, .28);
  --edge: inset 0 1px 0 rgba(237, 246, 240, .09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html:not(.hide) body { overflow: hidden; }

body {
  background: var(--night);
  color: var(--fog);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.fixed { overflow: hidden; }

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--cream);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 21px; }

p + p { margin-top: 16px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

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

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(95, 227, 161, .7);
  margin-bottom: 18px;
}

.eyebrow.on-light { color: #2F8F63; }

.lead {
  font-family: var(--font-head);
  font-size: clamp(19px, 2.1vw, 23px);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.45;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--night);
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader img { width: 50px; height: 50px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  padding: 17px 40px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease, color .35s ease, filter .35s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--mint), var(--cyan));
  color: #06231A;
  box-shadow: var(--glow-mint);
}

.btn-primary:hover { box-shadow: 0 0 44px rgba(95, 227, 161, .45); }

.btn-ghost {
  background: rgba(237, 246, 240, .05);
  color: var(--cream);
  border: 1px solid rgba(95, 227, 161, .28);
}

.btn-ghost:hover {
  background: rgba(95, 227, 161, .12);
  border-color: rgba(95, 227, 161, .5);
}

.hero-cta {
  overflow: hidden;
  animation: levitate 3s ease-in-out infinite, breathe 4s ease-in-out infinite;
}

.hero-cta span {
  position: relative;
  z-index: 2;
}

.hero-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
  z-index: 1;
}

.hero-cta:hover {
  animation-play-state: paused, paused;
  filter: brightness(1.07) saturate(1.12) drop-shadow(0 0 24px rgba(95, 227, 161, .55));
}

.hero-cta:hover::after { left: 140%; }

@keyframes levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes breathe {
  0%, 100% { box-shadow: 0 0 26px rgba(95, 227, 161, .22); }
  50% { box-shadow: 0 0 48px rgba(95, 227, 161, .5); }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  padding: 20px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}

.header.scrolled {
  background: rgba(8, 19, 17, .88);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(95, 227, 161, .14);
}

.header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 11px; }

.logo img { width: 38px; height: 38px; }

.logo span {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--mint), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav { display: flex; align-items: center; gap: 34px; }

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--fog);
  position: relative;
  transition: color .3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.nav-link:hover { color: var(--cream); }

.nav-link:hover::after { transform: scaleX(1); }

.burger-btn {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
}

.burger-btn span {
  position: absolute;
  left: 9px;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  transition: transform .3s ease, opacity .3s ease;
}

.burger-btn span:nth-child(1) { top: 14px; }
.burger-btn span:nth-child(2) { top: 20px; }
.burger-btn span:nth-child(3) { top: 26px; }

.burger-btn.act span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(8, 19, 17, .97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

#mobile-menu.opened { opacity: 1; pointer-events: auto; }

#mobile-menu .nav-link {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 600;
  color: var(--cream);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.webp') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 68% at 24% 48%, rgba(11, 26, 23, .82), rgba(11, 26, 23, .34) 66%),
    linear-gradient(180deg, rgba(8, 19, 17, .68), rgba(11, 26, 23, .12) 42%, rgba(11, 26, 23, .92) 92%, var(--night) 100%);
}

.hero .shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 48px;
}

.hero-copy p { max-width: 560px; }

.hero-copy .lead { margin-bottom: 22px; max-width: 540px; }

.hero-actions { margin-top: 36px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(95, 227, 161, .82);
  background: rgba(95, 227, 161, .07);
  border: 1px solid rgba(95, 227, 161, .2);
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: var(--edge);
}

.hero-art { position: relative; display: flex; justify-content: center; }

.hero-art::before {
  content: '';
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 183, 101, .3), rgba(95, 227, 161, .12) 55%, transparent 76%);
  filter: blur(12px);
  animation: bloom 9s ease-in-out infinite;
}

.hero-art img {
  position: relative;
  width: 100%;
  max-width: 430px;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .55));
  animation: drift 7s ease-in-out infinite;
}

@keyframes bloom {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.07); }
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.motes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.mote {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  opacity: .5;
  filter: blur(1px);
  animation: float-up 16s linear infinite;
}

.mote:nth-child(1) { left: 12%; bottom: -8%; animation-duration: 19s; }
.mote:nth-child(2) { left: 28%; bottom: -14%; background: var(--amber); animation-duration: 23s; animation-delay: -6s; }
.mote:nth-child(3) { left: 47%; bottom: -6%; animation-duration: 26s; animation-delay: -12s; }
.mote:nth-child(4) { left: 66%; bottom: -12%; background: var(--cyan); animation-duration: 21s; animation-delay: -3s; }
.mote:nth-child(5) { left: 81%; bottom: -9%; background: var(--amber); animation-duration: 28s; animation-delay: -16s; }
.mote:nth-child(6) { left: 92%; bottom: -15%; animation-duration: 24s; animation-delay: -9s; }

@keyframes float-up {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: .55; }
  80% { opacity: .4; }
  100% { transform: translateY(-108vh) translateX(38px); opacity: 0; }
}

.mist {
  background: var(--break);
  color: var(--ink-soft);
  margin: 84px 0;
}

.mist::before,
.mist::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 74px;
  background: var(--break);
}

.mist::before { top: -73px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.mist::after { bottom: -73px; border-radius: 0 0 50% 50% / 0 0 100% 100%; }

.mist h2, .mist h3 { color: var(--ink); }

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

.split.reverse .split-art { order: 2; }

.split-art { position: relative; }

.split-art img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(8, 19, 17, .28);
}

.split-art::after {
  content: '';
  position: absolute;
  inset: auto 0 -18px 0;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(95, 227, 161, .3), transparent 72%);
  filter: blur(10px);
  z-index: -1;
}

.split-copy h2 { margin-bottom: 20px; }

.section-head { max-width: 720px; margin-bottom: 56px; }

.section-head h2 { margin-bottom: 18px; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

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

.step {
  background: linear-gradient(165deg, rgba(18, 36, 31, .95), rgba(11, 26, 23, .9));
  border: 1px solid rgba(95, 227, 161, .14);
  border-radius: var(--r-lg);
  padding: 34px 26px 30px;
  box-shadow: var(--edge);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 183, 101, .32);
  box-shadow: var(--glow-amber);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--amber);
  background: rgba(255, 183, 101, .1);
  border: 1px solid rgba(255, 183, 101, .28);
  margin-bottom: 22px;
}

.step h3 { margin-bottom: 12px; }

.step p { font-size: 16px; }

.gameplay { background: var(--night); }

.boosters { background: var(--moss); }

.boosters::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 46% at 18% 8%, rgba(95, 227, 161, .09), transparent 68%),
    radial-gradient(46% 44% at 84% 88%, rgba(176, 139, 255, .09), transparent 70%);
  pointer-events: none;
}

.boosters .shell { position: relative; z-index: 1; }

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

.booster {
  background: rgba(11, 26, 23, .66);
  border: 1px solid rgba(95, 227, 161, .13);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  box-shadow: var(--edge);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.booster:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 183, 101, .3);
  box-shadow: var(--glow-amber);
}

.booster-icon {
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(95, 227, 161, .06);
  border: 1px solid rgba(95, 227, 161, .2);
}

.booster-icon img { width: 62px; height: 62px; object-fit: contain; }

.booster h3 { margin-bottom: 9px; }

.booster p { font-size: 15.5px; line-height: 1.62; }

.booster.amber .booster-icon { background: rgba(255, 183, 101, .07); border-color: rgba(255, 183, 101, .26); }
.booster.cyan .booster-icon { background: rgba(127, 216, 255, .07); border-color: rgba(127, 216, 255, .26); }
.booster.violet .booster-icon { background: rgba(176, 139, 255, .09); border-color: rgba(176, 139, 255, .3); }

.booster.featured {
  grid-column: span 2;
  align-items: center;
  padding: 34px 36px;
  background: linear-gradient(110deg, rgba(176, 139, 255, .12), rgba(11, 26, 23, .7) 46%);
  border-color: rgba(176, 139, 255, .26);
}

.booster.featured .booster-icon {
  flex-basis: 108px;
  width: 108px;
  height: 108px;
}

.booster.featured .booster-icon img { width: 78px; height: 78px; }

.booster.featured:hover { box-shadow: 0 0 36px rgba(176, 139, 255, .26); }

.feature-list { margin-top: 26px; }

.feature-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 15px;
  font-size: 16.5px;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  box-shadow: 0 0 14px rgba(95, 227, 161, .45);
}

.footer {
  position: relative;
  padding: 92px 0 34px;
  background: var(--canopy);
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: url('../img/footer-bg.webp') center/cover no-repeat;
  opacity: .55;
}

.footer-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--canopy), rgba(8, 19, 17, .82));
}

.footer .shell { position: relative; z-index: 2; }

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 460px;
  font-size: 16px;
}

.footer-nav h4 {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(95, 227, 161, .7);
  margin-bottom: 18px;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.footer-nav a {
  font-size: 15.5px;
  color: var(--fog);
  transition: color .3s ease;
}

.footer-nav a:hover { color: var(--mint); }

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 15.5px;
}

.footer-contact a { color: var(--amber); }

.footer-contact a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(95, 227, 161, .13);
  padding-top: 24px;
  font-size: 14.5px;
  color: rgba(155, 179, 169, .72);
}

.legal-page { padding: 176px 0 104px; }

.legal-page h1 { margin-bottom: 12px; }

.legal-updated {
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(95, 227, 161, .68);
  margin-bottom: 40px;
}

.legal-content {
  background: var(--moss);
  border: 1px solid rgba(95, 227, 161, .13);
  border-radius: var(--r-lg);
  padding: 48px 52px;
  box-shadow: var(--edge);
}

.legal-content h2 {
  font-size: 24px;
  margin: 40px 0 16px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p { font-size: 16.5px; }

.legal-content ul,
.legal-content ol { margin: 16px 0 16px 24px; }

.legal-content ul li,
.legal-content ol li {
  position: relative;
  margin-bottom: 12px;
  font-size: 16.5px;
}

.legal-content ul li { padding-left: 20px; list-style: none; }

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.legal-content ol { list-style: decimal; }

.legal-content ol li::marker { color: var(--mint); font-weight: 600; }

.legal-content strong { color: var(--cream); font-weight: 600; }

.legal-content em { color: var(--cream); font-style: normal; }

.legal-content .name { color: var(--mint); font-weight: 600; }

.legal-content .app-domain { color: var(--amber); }

.legal-content a { color: var(--amber); }

.legal-content a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .section { padding: 84px 0; }
  .nav { gap: 24px; }
  .hero .shell { grid-template-columns: 1fr; gap: 44px; }
  .hero-art img { max-width: 340px; }
  .hero-copy p, .hero-copy .lead { max-width: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .booster-grid { grid-template-columns: repeat(2, 1fr); }
  .booster.featured { grid-column: span 2; }
  .split { gap: 40px; }
  .legal-content { padding: 38px 34px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .shell { padding: 0 20px; }
  .section { padding: 68px 0; }
  .nav.desktop { display: none; }
  .burger-btn { display: block; }
  .hero { min-height: auto; padding: 132px 0 76px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-art { order: 0; }
  .mist { margin: 62px 0; }
  .mist::before, .mist::after { height: 52px; }
  .mist::before { top: -51px; }
  .mist::after { bottom: -51px; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; }
  .legal-page { padding: 132px 0 76px; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .booster-grid { grid-template-columns: 1fr; }
  .booster.featured { grid-column: span 1; }
  .booster { flex-direction: column; gap: 18px; }
  .booster.featured { align-items: flex-start; }
  .btn { width: 100%; padding: 16px 28px; }
  .hero-art img { max-width: 260px; }
  .footer-nav ul { grid-template-columns: 1fr; }
  .legal-content { padding: 28px 22px; }
  .legal-content h2 { font-size: 21px; }
}
