:root {
  color: #f6f8f7;
  background: #031008;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --green: #00e069;
  --muted: #91a399;
  --line: rgba(255, 255, 255, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; margin: 0; }
body {
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 73% 25%, rgba(0, 224, 105, 0.11), transparent 27%),
    linear-gradient(155deg, #06150d 0%, #020805 62%, #041008 100%);
}
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 12, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.85rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.08em;
}
.brand-white { color: #f4f7f5; }
.brand-green { color: var(--green); }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.site-header nav > a { color: #9baca2; font-size: 0.92rem; transition: color 160ms ease; }
.site-header nav > a:hover { color: #fff; }
.nav-cta,
.primary-action {
  border: 0;
  border-radius: 999px;
  color: #021109;
  background: linear-gradient(135deg, #1af485, var(--green));
  font-weight: 850;
  box-shadow: 0 10px 34px rgba(0, 224, 105, 0.18);
}
.nav-cta { padding: 12px 23px; }

.hero {
  width: min(1500px, 100%);
  min-height: calc(100svh - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  padding: 70px clamp(24px, 7vw, 112px) 84px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}
h1 {
  margin: 0;
  font-size: clamp(3rem, 6.3vw, 6.3rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}
h1 span { color: var(--green); }
.hero-description {
  max-width: 620px;
  margin: 30px 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}
.download-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.download-button {
  min-width: 210px;
  min-height: 63px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 18px;
  border-radius: 18px;
  color: #f5f8f6;
  font-weight: 800;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.download-button:hover { transform: translateY(-2px); }
.download-button.primary { border: 0; color: #021109; background: var(--green); }
.download-button.secondary { border: 1px solid rgba(0, 224, 105, 0.34); background: rgba(0, 224, 105, 0.055); }
.download-button.secondary.ready { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 224, 105, 0.09); }
.download-button span:last-child { display: grid; }
.download-button small { font-size: 0.69rem; font-weight: 650; opacity: 0.72; }
.platform-icon { font-size: 1.5rem; }
.platform-icon.android { color: var(--green); }
.status { min-height: 20px; margin: 17px 0 0; color: #71857a; font-size: 0.76rem; }

.devices { position: relative; min-height: 560px; display: grid; place-items: center; isolation: isolate; }
.glow {
  position: absolute;
  width: 77%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(0, 224, 105, 0.13);
  filter: blur(80px);
  z-index: -1;
}
.desktop-device {
  position: absolute;
  right: 0;
  width: min(90%, 690px);
  aspect-ratio: 1.63;
  padding: 24px;
  overflow: hidden;
  border: 9px solid #17231c;
  border-radius: 26px 26px 18px 18px;
  background: #07130c;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.6);
  transform: perspective(1100px) rotateY(-8deg) rotateX(2deg);
}
.desktop-device::after {
  content: "";
  position: absolute;
  left: -7%;
  right: -7%;
  bottom: -18px;
  height: 22px;
  border-radius: 4px 4px 18px 18px;
  background: linear-gradient(#28352e, #111914);
}
.desktop-topbar { height: 38px; display: flex; align-items: center; gap: 16px; }
.mini-logo { color: var(--green); font-size: 0.8rem; font-style: italic; font-weight: 900; }
.mini-logo b { color: #fff; }
.mini-pill { width: 44%; height: 7px; margin-left: auto; border-radius: 10px; background: #14261b; }
.mini-button { width: 48px; height: 18px; border-radius: 20px; background: var(--green); }
.desktop-banner,
.phone-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(0, 224, 105, 0.17);
  background: radial-gradient(circle at 75% 30%, rgba(0, 224, 105, 0.27), transparent 34%), linear-gradient(120deg, #14271b, #08130d);
}
.desktop-banner { height: 40%; margin: 15px 0; padding: 30px; border-radius: 17px; }
.desktop-banner span, .phone-banner small { color: var(--green); font-size: 0.58rem; font-weight: 900; letter-spacing: 0.12em; }
.desktop-banner strong { margin-top: 7px; font-size: clamp(1.4rem, 2.4vw, 2.4rem); }
.desktop-categories { display: flex; gap: 8px; }
.desktop-categories span { padding: 7px 11px; border-radius: 99px; color: #8fa197; background: #0d2115; font-size: 0.55rem; }
.desktop-games, .phone-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 15px; }
.desktop-games i, .phone-grid i { aspect-ratio: 0.8; border-radius: 9px; background: linear-gradient(145deg, #173921, #0a1d11 55%, #20cb68); }

.phone-device {
  position: absolute;
  left: 5%;
  bottom: 0;
  width: min(38%, 235px);
  aspect-ratio: 0.49;
  padding: 13px 9px;
  border: 6px solid #27342d;
  border-radius: 38px;
  background: #030806;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72);
  transform: rotate(-3deg);
  z-index: 4;
}
.phone-notch { position: absolute; top: 8px; left: 32%; width: 36%; height: 18px; border-radius: 20px; background: #020403; z-index: 2; }
.phone-screen { height: 100%; padding: 22px 8px 12px; overflow: hidden; border-radius: 26px; background: linear-gradient(#09170e, #050b07); }
.phone-header { height: 34px; }
.phone-banner { height: 31%; padding: 12px; border-radius: 11px; }
.phone-banner strong { margin-top: 5px; font-size: 0.9rem; }
.phone-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 13px 0; }
.phone-icons i { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #20df76, #0c4928 58%, #061c10); }
.phone-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 0; }
.phone-grid i { border-radius: 7px; }
.phone-home { position: absolute; bottom: 8px; left: 35%; width: 30%; height: 4px; border-radius: 9px; background: #738078; }

.howto {
  padding: 110px clamp(22px, 6vw, 88px);
  border-top: 1px solid var(--line);
  background: rgba(1, 8, 4, 0.58);
  transition: box-shadow 300ms ease;
}
.howto.attention { box-shadow: inset 0 0 0 2px rgba(0, 224, 105, 0.25); }
.section-heading { max-width: 690px; margin: 0 auto 54px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: -0.045em; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.7; }
.platform-tabs { display: flex; justify-content: center; gap: 10px; margin: -24px auto 30px; }
.platform-tab { min-width: 150px; padding: 12px 17px; border: 1px solid rgba(0, 224, 105, 0.24); border-radius: 999px; color: #b9c9bf; background: #0b1b11; font-size: 0.88rem; font-weight: 750; }
.platform-tab.active { color: #04130a; border-color: var(--green); background: var(--green); }
.platform-tab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.visual-note { margin: -16px auto 27px; color: #7e9386; font-size: 0.76rem; text-align: center; }
.steps { width: min(1320px, 100%); margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card {
  position: relative;
  min-height: 660px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(11, 31, 18, 0.85), rgba(4, 13, 8, 0.95));
}
.step-number { color: var(--green); font-size: 0.71rem; font-weight: 900; letter-spacing: 0.14em; }
.step-visual {
  width: min(100%, 220px);
  aspect-ratio: 390 / 844;
  margin: 22px auto;
  overflow: hidden;
  border: 5px solid #24362a;
  border-radius: 25px;
  background: rgba(0, 224, 105, 0.055);
  box-shadow: 0 18px 30px #0007;
}
.step-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.step-card h3 { margin: 0 0 10px; font-size: 1.14rem; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.final-cta {
  width: min(900px, 100%);
  margin: 65px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid rgba(0, 224, 105, 0.2);
  border-radius: 22px;
  background: rgba(0, 224, 105, 0.055);
}
.final-cta div { display: grid; gap: 4px; }
.final-cta span { color: var(--muted); font-size: 0.86rem; }
.primary-action { padding: 15px 25px; white-space: nowrap; }

footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(22px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: #718379;
}
.footer-brand { font-size: 1.35rem; }
footer p { font-size: 0.78rem; }
footer button { border: 0; color: var(--green); background: transparent; font-weight: 800; }
.noscript { position: fixed; inset: auto 16px 16px; padding: 12px; color: #fff; background: #7b1515; z-index: 50; }
.noscript a { text-decoration: underline; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .devices { width: min(720px, 100%); min-height: 480px; margin: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { min-height: 66px; padding: 0 18px; }
  .site-header nav > a { display: none; }
  .brand { font-size: 1.55rem; }
  .nav-cta { padding: 10px 17px; }
  .hero { min-height: auto; padding: 65px 20px 70px; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.7rem); }
  .hero-description { margin: 24px 0; }
  .download-actions { width: 100%; }
  .download-button { width: 100%; }
  .devices { min-height: 370px; margin-top: 18px; }
  .desktop-device { width: 92%; right: -9%; padding: 15px; border-width: 6px; }
  .phone-device { width: 40%; left: 0; border-radius: 28px; }
  .howto { padding: 80px 18px; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .step-visual { width: min(100%, 240px); }
  .platform-tabs { margin-top: -20px; }
  .platform-tab { min-width: 0; padding: 11px 13px; font-size: 0.8rem; }
  .final-cta { align-items: stretch; flex-direction: column; text-align: center; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
