:root {
  --bg: #05080f;
  --panel: #0a0e17;
  --card: #101828;
  --line: #1c2740;
  --text: #ffffff;
  --muted: #7e8ba3;
  --up: #2ee6a8;
  --accent: #ff7a59;
  --max: 44rem;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(46, 230, 168, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(255, 122, 89, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 60%, rgba(46, 230, 168, 0.06), transparent 45%);
}

.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem calc(3rem + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, transparent 60%, var(--bg) 100%),
    radial-gradient(circle at 50% 35%, rgba(16, 24, 40, 0.9), transparent 65%);
}

.hero-inner {
  width: min(100%, var(--max));
  text-align: center;
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.75rem, 10vw, 4.25rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-sm {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.brand-predict {
  color: var(--up);
}

.brand-game {
  color: var(--accent);
}

.headline {
  margin-top: 1.25rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sub {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 11rem;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--up);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--up);
  color: #06251b;
  box-shadow: 0 0 0 0 rgba(46, 230, 168, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(46, 230, 168, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.section {
  width: min(100%, calc(var(--max) + 4rem));
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 0.4rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step-n {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(46, 230, 168, 0.12);
  color: var(--up);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.steps strong {
  display: block;
  margin-bottom: 0.2rem;
}

.steps p,
.cat p,
.features p,
.faq p {
  color: var(--muted);
  font-size: 0.95rem;
}

.num {
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.cats,
.features {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .cats,
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .cta-row {
    flex-wrap: nowrap;
  }
}

.cat,
.features article {
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.cat h3,
.features h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.trust {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin-top: 0.65rem;
}

.final {
  text-align: center;
  padding-bottom: 2rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 1.25rem calc(1.75rem + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--up);
}

.reveal {
  animation: rise 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}
