:root {
  --purple: #6a1b9a;
  --purple-dark: #4a148c;
  --purple-light: #8e24aa;
  --purple-soft: #f3e5f5;
  --ink: #212121;
  --ink-soft: #616161;
  --surface: #ffffff;
  --bg: #faf7fc;
  --line: #e7dcef;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(74, 20, 140, 0.12);
  --maxw: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--purple);
  text-decoration: none;
}

.nav-cta {
  background: var(--purple);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--purple-dark);
  color: #fff;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(160deg, #f6ecfa 0%, #efe0f8 40%, #fdf9ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
  background: linear-gradient(120deg, var(--purple-dark), var(--purple-light));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 18px;
}

.hero-img {
  width: 220px;
  height: 220px;
  border-radius: 46px;
  box-shadow: var(--shadow);
  border: 1px solid #fff;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hands-row {
  display: flex;
  gap: 14px;
  font-size: 2.6rem;
}

.hand-chip {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(106, 27, 154, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.play-btn:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.play-btn small {
  font-weight: 400;
  opacity: 0.85;
}

.play-btn .play-icon {
  width: 28px;
  height: 28px;
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
}

.section-tag {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 40px;
}

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

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 4px 14px rgba(74, 20, 140, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature .emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- How to play ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 26px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(106, 27, 154, 0.35);
}

.step h3 {
  margin-top: 14px;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Download ---------- */
.download {
  background: linear-gradient(150deg, var(--purple-dark), var(--purple) 55%, var(--purple-light));
  color: #fff;
  text-align: center;
}

.download .section-title {
  color: #fff;
}

.download .section-sub {
  color: rgba(255, 255, 255, 0.85);
  margin-left: auto;
  margin-right: auto;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000;
  border-radius: 16px;
  padding: 14px 26px;
  color: #fff;
  margin-top: 8px;
  transition: transform 0.15s ease;
}

.download-badge:hover {
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.download-badge .play-icon {
  width: 30px;
  height: 30px;
}

.download-badge .badge-label {
  font-size: 0.78rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.download-badge .badge-name {
  font-size: 1.15rem;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  background: #2a0a45;
  color: #d9c6ee;
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer a {
  color: #d9c6ee;
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer a:hover {
  color: #fff;
}

.footer .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer .brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer p {
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #b89ecf;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal h1 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.legal .update {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 30px 0 10px;
  color: var(--purple-dark);
}

.legal p,
.legal li {
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal li {
  margin-bottom: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero h1 {
    font-size: 2.3rem;
  }
}