:root {
  --plum: #5e2752;
  --plum-soft: #8a5a7e;
  --rose: #f72585;
  --pink: #ff7eb6;
  --blush: #ffd6e8;
  --cream: #fff6fa;
  --lilac: #9d7bff;
  --sky: #8fd3ff;
  --mint: #7ed9b5;
  --gold: #ffb84d;
  --card: #ffffff;
  --radius: 28px;
  --shadow: 0 12px 32px rgba(247, 37, 133, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--plum);
  background: linear-gradient(180deg, #ffe3f1 0%, #fff6fa 30%, #fff6fa 70%, #f4ecff 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, .brand { font-family: "Fredoka", "Nunito", system-ui, sans-serif; line-height: 1.15; margin: 0; }

a { color: var(--rose); }

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

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 24px; font-weight: 700; color: var(--plum); text-decoration: none;
}
.brand .spark { font-size: 26px; }
.nav { display: flex; gap: 20px; font-weight: 700; }
.nav a { color: var(--plum-soft); text-decoration: none; }
.nav a:hover { color: var(--rose); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center;
  padding: 40px 0 64px;
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; }
.hero h1 .accent { color: var(--rose); }
.hero p.lead { font-size: 20px; color: var(--plum-soft); max-width: 520px; margin: 18px 0 28px; }
.hero-art { position: relative; overflow: visible; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.hero-art .pip { position: absolute; inset: 8% 16%; width: 68%; height: 84%; object-fit: contain; animation: bob 3.2s ease-in-out infinite; }
.hero-art .st { position: absolute; width: 26%; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 8px 12px rgba(94, 39, 82, .15)); }
.hero-art .st.a { left: 0; top: 8%; transform: rotate(-12deg); animation-delay: -1s; }
.hero-art .st.b { right: 2%; top: 4%; transform: rotate(10deg); animation-delay: -2s; }
.hero-art .st.c { left: 4%; bottom: 6%; transform: rotate(8deg); animation-delay: -.5s; }
.hero-art .st.d { right: 0; bottom: 10%; transform: rotate(-8deg); animation-delay: -1.5s; }
.blob {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #ffd6e8 45%, #e6d9ff 100%);
  filter: blur(2px);
}

@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .hero-art .pip, .hero-art .st { animation: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 800; font-size: 17px;
  text-decoration: none; color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--rose));
  box-shadow: 0 5px 0 #c81a6b, 0 12px 24px rgba(247, 37, 133, .25);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.soft { background: #fff; color: var(--plum); box-shadow: 0 4px 0 #f1d6e6, var(--shadow); }
.badge-soon {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800;
  background: var(--blush); color: var(--rose); letter-spacing: .02em;
}

/* Sections */
section { padding: 32px 0 56px; }
.section-title { font-size: clamp(30px, 4vw, 42px); font-weight: 700; text-align: center; }
.section-sub { text-align: center; color: var(--plum-soft); font-size: 18px; margin: 10px auto 36px; max-width: 620px; }

.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game {
  background: var(--card); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); border: 3px solid #fff;
  display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit;
  transition: transform .2s ease;
}
a.game:hover { transform: translateY(-4px); }
.game .icon {
  width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center;
  font-size: 44px; box-shadow: 0 6px 16px rgba(94, 39, 82, .15); overflow: hidden;
}
.game .icon img { width: 100%; height: 100%; object-fit: cover; }
.game h3 { font-size: 26px; font-weight: 700; }
.game p { margin: 0; color: var(--plum-soft); }
.game .more { margin-top: auto; font-weight: 800; color: var(--rose); }
.game.soon { opacity: .92; }
.game.soon .icon.numbers { background: linear-gradient(135deg, #8fd3ff, #9d7bff); }
.game.soon .icon.stories { background: linear-gradient(135deg, #ffd66b, #ff8fb8); }

.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise { background: rgba(255, 255, 255, .8); border-radius: 22px; padding: 22px; text-align: center; }
.promise .emoji { font-size: 34px; }
.promise h3 { font-size: 19px; margin: 8px 0 4px; }
.promise p { margin: 0; color: var(--plum-soft); font-size: 15px; }

/* Feature list (game page) */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: #fff; border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow); display: flex; gap: 16px; }
.feature .dot {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px;
  background: var(--blush);
}
.feature h3 { font-size: 20px; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--plum-soft); }

.sticker-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.sticker-row img { width: 96px; filter: drop-shadow(0 6px 10px rgba(94, 39, 82, .15)); }

.pricing { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; }
.pricing ul { margin: 12px 0 0; padding-left: 20px; }

/* Legal / support pages */
.doc {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 48px); margin: 16px auto 48px; max-width: 820px;
}
.doc h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 700; }
.doc .updated { color: var(--plum-soft); margin: 6px 0 28px; }
.doc h2 { font-size: 23px; margin: 32px 0 10px; }
.doc p, .doc li { color: #4a2442; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.faq details { background: var(--cream); border-radius: 18px; padding: 16px 20px; margin: 12px 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 17px; }
.faq details p { margin: 10px 0 0; }
.contact-card { background: linear-gradient(135deg, #ffe3f1, #efe6ff); border-radius: 22px; padding: 22px; margin-top: 28px; }

/* Footer */
footer { padding: 32px 0 48px; text-align: center; color: var(--plum-soft); font-size: 15px; }
footer nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
footer a { color: var(--plum-soft); font-weight: 700; text-decoration: none; }
footer a:hover { color: var(--rose); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 16px; }
  .hero p.lead { margin-inline: auto; }
  .hero-art { max-width: 340px; order: -1; }
  .games { grid-template-columns: 1fr; }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .nav { gap: 14px; font-size: 15px; }
  .brand { font-size: 20px; }
  .hero-art { max-width: 300px; }
}
html { background: #fff6fa; overflow-x: hidden; }
@media (max-width: 420px) {
  .nav a.hide-sm { display: none; }
  .promises { grid-template-columns: 1fr; }
}

/* App Store badge */
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.stores { display: inline-flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store { display: inline-block; transition: transform .15s ease; }
.store:hover { transform: translateY(-2px); }
.store img { height: 60px; width: auto; }
.store-note { margin: 8px 0 0; color: var(--plum-soft); font-weight: 700; font-size: 15px; }
@media (max-width: 860px) { .cta-row, .stores { justify-content: center; } }
