:root {
  --ink: #3f3159;
  --muted: #6f6383;
  --purple: #a77be5;
  --purple-dark: #7652bd;
  --pink: #ff7f99;
  --pink-soft: #ffe4eb;
  --yellow: #ffc856;
  --mint: #8eddbd;
  --blue: #7ed0ed;
  --cream: #fffaf4;
  --white: #ffffff;
  --line: #eadcf7;
  --shadow: 0 18px 55px rgba(112, 80, 151, 0.13);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --page: min(1160px, calc(100% - 36px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 213, 228, 0.78), transparent 24rem),
    radial-gradient(circle at 86% 20%, rgba(221, 245, 255, 0.9), transparent 25rem),
    linear-gradient(180deg, #fffdfc 0%, #fff9fc 48%, #f9f6ff 100%);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.site-header {
  width: var(--page);
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 1000;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand .hero-squishy {
  transform-origin: 50% 82%;
  transition: transform .18s ease;
}

.brand:hover .hero-squishy,
.brand:focus-visible .hero-squishy {
  transform: translateY(-2px) scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--muted);
  padding: 11px 14px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255,255,255,0.82);
  color: var(--purple-dark);
  outline: none;
}

.nav-cta {
  color: white !important;
  background: var(--purple-dark) !important;
}

.hero {
  width: var(--page);
  margin: 0 auto;
  padding: 30px 0 76px;
  text-align: center;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  z-index: -1;
}

.hero::before {
  width: 330px;
  height: 330px;
  left: -170px;
  top: 250px;
  background: rgba(177, 222, 255, 0.28);
}

.hero::after {
  width: 300px;
  height: 300px;
  right: -140px;
  top: 90px;
  background: rgba(255, 202, 218, 0.28);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 2px solid rgba(234, 220, 247, 0.9);
  color: var(--purple-dark);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: .06em;
  text-transform: uppercase;
}


.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: .95;
  letter-spacing: -0.065em;
  color: var(--ink);
}

.hero h1 .pink { color: var(--pink); }
.hero h1 .purple { color: var(--purple-dark); }
.hero h1 .mint { color: #55b896; }

.hero-copy {
  max-width: 680px;
  margin: 22px auto 20px;
  color: var(--muted);
  font-family: ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.34rem);
  line-height: 1.6;
  font-weight: 700;
}

.hero-art-wrap {
  width: min(650px, 95vw);
  margin: -10px auto -5px;
  position: relative;
}

.hero-art-wrap::before {
  content: "";
  position: absolute;
  inset: 18% 11% 2%;
  border-radius: 48% 52% 46% 54%;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.95), rgba(231,217,255,.55) 72%, rgba(231,217,255,0));
  z-index: -1;
}

.hero-image {
  width: 100%;
  transform-origin: 50% 82%;
  animation: squish-float 4.8s ease-in-out infinite;
}

.sparkle {
  position: absolute;
  border-radius: 9px;
  transform: rotate(45deg);
  opacity: .86;
  animation: sparkle 2.8s ease-in-out infinite;
}
.sparkle::after {
  content: "";
  position: absolute;
  inset: 36% -42%;
  background: inherit;
  border-radius: inherit;
}
.sparkle.one { width: 18px; height: 18px; background: var(--yellow); left: 6%; top: 31%; }
.sparkle.two { width: 13px; height: 13px; background: var(--blue); right: 7%; top: 24%; animation-delay: .55s; }
.sparkle.three { width: 15px; height: 15px; background: var(--pink); right: 11%; bottom: 20%; animation-delay: 1.1s; }

.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.app-store-button,
.secondary-button {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 18px;
  padding: 11px 22px;
  text-decoration: none;
  font-weight: 1000;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.app-store-button {
  color: white;
  background: #24202c;
  box-shadow: 0 12px 28px rgba(63,49,89,.2);
}
.app-store-button:hover,
.app-store-button:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(63,49,89,.25); outline: none; }
.app-store-button svg { width: 29px; height: 29px; }
.app-store-button .label { display: grid; text-align: left; line-height: 1; }
.app-store-button small { font-family: system-ui, sans-serif; font-size: .64rem; letter-spacing: .03em; }
.app-store-button strong { font-size: 1.18rem; margin-top: 3px; }

.secondary-button {
  border: 2px solid var(--line);
  background: rgba(255,255,255,.76);
  color: var(--purple-dark);
}
.secondary-button:hover,
.secondary-button:focus-visible { transform: translateY(-2px); background: white; outline: none; }

.tiny-note {
  font-family: system-ui, sans-serif;
  color: #8b8098;
  font-size: .82rem;
  margin-top: 14px;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 76px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 650;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: rgba(255,255,255,.84);
  border: 2px solid rgba(234,220,247,.78);
  border-radius: var(--radius-lg);
  padding: 26px;
  min-height: 245px;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -52px;
  bottom: -52px;
  opacity: .38;
}
.feature-card:nth-child(1)::after { background: var(--pink-soft); }
.feature-card:nth-child(2)::after { background: #ede2ff; }
.feature-card:nth-child(3)::after { background: #dff8ee; }
.feature-card:nth-child(4)::after { background: #fff1c9; }
.feature-card:nth-child(5)::after { background: #dcf4ff; }
.feature-card:nth-child(6)::after { background: #ffe4f2; }

.feature-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #f3eafd;
  font-size: 2rem;
  margin-bottom: 22px;
}
.feature-card:nth-child(2) .feature-icon { background: #ffe6ed; }
.feature-card:nth-child(3) .feature-icon { background: #e1f8ef; }
.feature-card:nth-child(4) .feature-icon { background: #fff1cc; }
.feature-card:nth-child(5) .feature-icon { background: #dff4fc; }
.feature-card:nth-child(6) .feature-icon { background: #f3e7ff; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.35rem; }
.feature-card p { margin: 0; color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.6; font-weight: 600; position: relative; z-index: 2; }

.play-banner {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #9a72dc 0%, #b88ae7 46%, #ff92ab 100%);
  padding: clamp(28px, 6vw, 68px);
  color: white;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.play-banner::before,
.play-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
}
.play-banner::before { width: 280px; height: 280px; right: -80px; top: -120px; }
.play-banner::after { width: 170px; height: 170px; left: 46%; bottom: -100px; }
.play-banner h2 { margin: 0 0 12px; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.055em; }
.play-banner p { margin: 0 0 24px; font-family: system-ui, sans-serif; font-size: 1.08rem; line-height: 1.55; max-width: 610px; font-weight: 650; color: rgba(255,255,255,.9); }
.play-banner .secondary-button { width: fit-content; background: white; border-color: white; }
.banner-bubbles { position: relative; min-height: 220px; }
.blob {
  position: absolute;
  border-radius: 48% 52% 46% 54% / 60% 55% 45% 40%;
  display: grid;
  place-items: center;
  font-size: 3rem;
  border: 8px solid rgba(255,255,255,.62);
}
.blob.pink { width: 150px; height: 135px; background: #ff8198; right: 7%; top: 18px; transform: rotate(7deg); }
.blob.yellow { width: 118px; height: 108px; background: #ffc858; left: 2%; bottom: 4px; transform: rotate(-8deg); }
.blob.mint { width: 98px; height: 95px; background: #8eddbd; right: 42%; bottom: 0; }

.site-footer {
  width: var(--page);
  margin: 28px auto 0;
  padding: 34px 0 44px;
  border-top: 2px solid rgba(234,220,247,.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: .9rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; font-weight: 750; }
.footer-links a:hover { color: var(--purple-dark); }

/* Inner pages */
.page-hero {
  width: var(--page);
  margin: 0 auto;
  text-align: center;
  padding: 62px 0 36px;
}
.page-hero h1 { font-size: clamp(3rem, 8vw, 6rem); }
.page-hero p {
  max-width: 700px;
  margin: 20px auto 0;
  font-family: system-ui, sans-serif;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
  font-weight: 650;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.step-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: start;
  background: rgba(255,255,255,.86);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.step-number {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  background: linear-gradient(145deg, #ad83e8, #8e63d4);
  color: white;
  font-size: 1.65rem;
  font-weight: 1000;
}
.step-card:nth-child(2) .step-number { background: linear-gradient(145deg, #ff98ad, #f47791); }
.step-card:nth-child(3) .step-number { background: linear-gradient(145deg, #ffd66f, #f9b83d); }
.step-card:nth-child(4) .step-number { background: linear-gradient(145deg, #8edcf3, #57badd); }
.step-card:nth-child(5) .step-number { background: linear-gradient(145deg, #9be4c7, #5dbf9a); }
.step-card:nth-child(6) .step-number { background: linear-gradient(145deg, #bd9af0, #8d67d2); }
.step-card h2 { font-size: 1.42rem; margin: 2px 0 8px; }
.step-card p { margin: 0; color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.6; font-weight: 600; }

.tip-card {
  margin-top: 22px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff0c9;
  border: 2px solid #ffe4a3;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  font-weight: 650;
}
.tip-card strong { color: #8a5c05; }

.legal-wrap {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 76px;
}
.legal-card {
  background: rgba(255,255,255,.9);
  border: 2px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 6vw, 54px);
}
.legal-card h2 { margin: 32px 0 10px; font-size: 1.42rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li {
  color: #665d72;
  font-family: system-ui, sans-serif;
  line-height: 1.72;
  font-weight: 540;
}
.legal-card ul { padding-left: 22px; }
.legal-card a { color: var(--purple-dark); font-weight: 750; }
.updated { font-family: system-ui, sans-serif; color: #8d8299; font-size: .9rem; margin-top: 12px; }

@keyframes squish-float {
  0%, 100% { transform: translateY(0) scaleX(1) scaleY(1); }
  45% { transform: translateY(-12px) scaleX(1.015) scaleY(.99); }
  60% { transform: translateY(-8px) scaleX(.995) scaleY(1.01); }
}
@keyframes sparkle {
  0%, 100% { transform: rotate(45deg) scale(.82); opacity: .55; }
  50% { transform: rotate(45deg) scale(1.18); opacity: 1; }
}

@media (max-width: 860px) {
  .site-header { min-height: 74px; }
  .brand img { width: 62px; height: 62px; }
  .nav-links a { padding: 9px 10px; font-size: .86rem; }
  .nav-cta { display: none; }
  .hero { padding-top: 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .play-banner { grid-template-columns: 1fr; text-align: center; }
  .play-banner p { margin-left: auto; margin-right: auto; }
  .play-banner .secondary-button { margin: 0 auto; }
  .banner-bubbles { min-height: 185px; max-width: 390px; width: 100%; margin: 0 auto; }
}

@media (max-width: 620px) {
  :root { --page: min(100% - 24px, 1160px); }
  .site-header { align-items: center; }
  .brand img { width: 56px; height: 56px; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: .78rem; padding: 9px 8px; }
  .hero { padding-bottom: 50px; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 5.2rem); }
  .hero-copy { font-size: 1rem; line-height: 1.55; }
  .hero-art-wrap { margin-top: -1px; }
  .app-store-button, .secondary-button { width: 100%; max-width: 330px; }
  .section { padding: 52px 0; }
  .feature-grid, .steps-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .step-card { grid-template-columns: 56px 1fr; padding: 20px; gap: 14px; }
  .step-number { width: 52px; height: 52px; border-radius: 18px; }
  .site-footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .page-hero { padding-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Prevent accidental text selection on app-like and decorative UI.
   Reading content on How to Play and Privacy remains selectable. */
.site-header,
.site-footer,
.hero,
.section-heading,
.feature-card,
.play-banner,
.cta-row,
.step-number {
  -webkit-user-select: none;
  user-select: none;
}

/* Explicitly preserve selection for instructional, legal and contact text. */
.steps-grid,
.tip-card,
.legal-card,
.legal-card a {
  -webkit-user-select: text;
  user-select: text;
}
