:root {
  --primary: #ff708a;      /* coral pink */
  --secondary: #8e8ffa;    /* periwinkle */
  --tertiary: #ffb2c1;     /* light pink */
  --bg: #fffdf9;           /* vanilla milk */
  --surface: #ffffff;
  --text: #3c3c3c;
  --text-soft: #7d7d7d;
  --border: #ffd6dc;
  --soft-rose: #ffecef;
  --soft-blue: #e3f2fd;
  --grad: linear-gradient(120deg, #ff708a 0%, #8e8ffa 100%);
  --shadow: 0 18px 40px -18px rgba(255, 112, 138, 0.45);
  --radius: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.mono, .eyebrow, .nav-brand span, .step-no, .strip strong {
  font-family: 'JetBrains Mono', monospace;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Background blobs ---------- */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.4; }
.blob-1 { width: 420px; height: 420px; background: var(--tertiary); top: -120px; left: -100px; animation: drift 18s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: var(--secondary); top: 40%; right: -120px; animation: drift 22s ease-in-out infinite reverse; }
.blob-3 { width: 300px; height: 300px; background: var(--primary); bottom: -100px; left: 30%; animation: drift 26s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 60px);
  background: rgba(255, 253, 249, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.nav-brand img { width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--border); }
.nav-brand span { font-weight: 800; letter-spacing: 1px; font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 32px); }
.nav-links a { text-decoration: none; color: var(--text-soft); font-weight: 700; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  padding: 13px 26px; border-radius: 16px; transition: transform 0.15s, box-shadow 0.2s;
  font-size: 0.98rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: 0 22px 46px -16px rgba(142, 143, 250, 0.55); }
.btn-ghost { background: var(--surface); color: var(--primary); border: 2px solid var(--border); }
.nav-links .btn-ghost { padding: 9px 20px; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  max-width: 1180px; margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 60px);
}
.eyebrow { color: var(--secondary); font-weight: 700; font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 900; line-height: 1.05; letter-spacing: -1px; }
.lead { font-size: 1.12rem; color: var(--text-soft); margin: 22px 0 30px; max-width: 540px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.platform-note { margin-top: 20px; color: var(--text-soft); font-weight: 600; font-size: 0.92rem; }

/* Hero art */
.hero-art { position: relative; display: flex; justify-content: center; }
.logo-card {
  background: var(--surface); border: 2px solid var(--border); border-radius: 32px;
  padding: 20px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite;
}
.logo-card img { width: 100%; max-width: 360px; display: block; border-radius: 20px; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

.float-chip {
  position: absolute; background: var(--surface); border: 2px solid var(--border);
  border-radius: 14px; padding: 8px 14px; font-weight: 800; font-size: 0.9rem;
  box-shadow: 0 10px 24px -12px rgba(60,60,60,0.3); animation: bob 4s ease-in-out infinite;
}
.chip-1 { top: 6%; left: -4%; color: var(--primary); }
.chip-2 { bottom: 14%; left: -8%; color: var(--secondary); animation-delay: 1s; }
.chip-3 { top: 18%; right: -6%; color: #e09b00; animation-delay: 2s; }

/* ---------- Strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 1000px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px) 20px;
}
.strip div {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 20px;
  padding: 22px 16px; text-align: center;
}
.strip strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.strip span { color: var(--text-soft); font-size: 0.85rem; font-weight: 700; }

/* ---------- Sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 60px); }
.section-alt { background: var(--soft-rose); max-width: none; }
.section-alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; text-align: center; letter-spacing: -0.5px; }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--text-soft); font-size: 1.1rem; margin: 12px 0 50px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-ic {
  width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.6rem;
  background: var(--soft-rose); border-radius: 16px; margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--text-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.step-no {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--text-soft); }

/* ---------- Split / multiplayer ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split-copy .lead { margin: 18px 0 22px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { font-weight: 700; padding-left: 32px; position: relative; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; display: grid; place-items: center;
  background: var(--grad); color: #fff; border-radius: 7px; font-size: 0.8rem;
}
.split-art { position: relative; height: 340px; }
.face {
  position: absolute; width: 180px; height: 180px; object-fit: cover;
  border-radius: 24px; border: 3px solid var(--surface); box-shadow: var(--shadow);
}
.f1 { top: 0; left: 6%; transform: rotate(-6deg); z-index: 2; }
.f2 { top: 30%; right: 4%; transform: rotate(5deg); z-index: 3; width: 200px; height: 200px; }
.f3 { bottom: 0; left: 22%; transform: rotate(3deg); z-index: 1; }

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center; max-width: 760px; margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 40px);
}
.cta-final h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; }
.cta-final p { color: var(--text-soft); font-size: 1.15rem; margin: 16px 0 32px; }

/* ---------- Footer ---------- */
.footer {
  text-align: center; padding: 50px 20px; border-top: 1.5px solid var(--border);
  background: var(--surface);
}
.footer img { width: 52px; border-radius: 14px; border: 2px solid var(--border); margin-bottom: 14px; }
.footer p { font-weight: 700; }
.footer .muted { color: var(--text-soft); font-weight: 600; font-size: 0.88rem; margin-top: 6px; }
.footer .muted a { color: var(--primary); font-weight: 700; text-decoration: none; }
.footer .muted a:hover { text-decoration: underline; }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal {
  max-width: 820px; margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 40px) 80px;
}
.legal-head { text-align: center; margin-bottom: 48px; }
.legal-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.5px; }
.legal-head .updated { color: var(--text-soft); font-weight: 700; margin-top: 10px; font-size: 0.95rem; }
.legal h2 {
  font-size: 1.35rem; font-weight: 800; margin: 40px 0 12px;
  padding-bottom: 10px; border-bottom: 2px solid var(--border);
}
.legal h3 { font-size: 1.08rem; font-weight: 800; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--primary); font-weight: 700; }
.legal .intro {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px; color: var(--text-soft);
}
.legal .contact {
  background: var(--soft-rose); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-top: 32px;
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--primary); font-weight: 800; margin-bottom: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-art { margin-top: 30px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .section-title.left { text-align: center; }
  .split-art { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .nav-links a:not(.btn) { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .face { width: 130px; height: 130px; }
  .f2 { width: 150px; height: 150px; }
}
