:root {
  --rose: #e11d48;
  --rose-deep: #be123c;
  --rose-ink: #9f1239;
  --rose-soft: #fde8ee;
  --rose-softer: #fff1f4;
  --ink: #2a151c;
  --ink-2: #4b3239;
  --muted: #7b6169;
  --surface: #ffffff;
  --line: #f3e0e5;
  --line-strong: #e9ccd4;
  --good-bg: #e9f7ef;
  --good-ink: #17754a;
  --tint-pink: #fde8ee;
  --tint-amber: #fdf0dd;
  --tint-violet: #f1e9fd;
  --tint-mint: #e6f6ef;
  --tint-sky: #e7f1fd;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 6px rgba(42, 21, 28, 0.05);
  --shadow: 0 12px 34px rgba(190, 18, 60, 0.08);
  --shadow-lg: 0 26px 60px rgba(190, 18, 60, 0.14);
}

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

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: Outfit, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

/* Blush wash behind the top of every page. */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 820px;
  background:
    radial-gradient(680px 420px at 88% 6%, #fde2ea 0%, transparent 60%),
    linear-gradient(180deg, #fff2f5 0%, #fff7f9 46%, #ffffff 100%);
  pointer-events: none;
  z-index: 0;
}

.play-body,
.play-body #play-root {
  min-height: 100vh;
  overflow: hidden;
}

.play-body::before {
  height: 100%;
  background:
    radial-gradient(760px 460px at 12% 0%, #fde2ea 0%, transparent 62%),
    radial-gradient(680px 420px at 92% 96%, #fdeee3 0%, transparent 60%),
    linear-gradient(180deg, #fff4f7 0%, #fffafb 100%);
}

.bg-glow {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 200, 216, 0.55), transparent 65%);
  animation: pulse 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

#app,
#play-root {
  position: relative;
  z-index: 1;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6vw;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  color: var(--rose);
  font-size: 1.2rem;
  line-height: 1;
}

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

.nav nav a,
.text-btn {
  color: var(--muted);
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.text-btn:hover,
.nav nav a:hover {
  color: var(--ink);
}

.nav .nav-cta {
  color: #fff;
  background: linear-gradient(180deg, #ec2c58 0%, var(--rose-deep) 100%);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}

.nav .nav-cta:hover {
  color: #fff;
  filter: brightness(1.05);
}

/* ---------- Layout blocks ---------- */

.hero,
.page-head,
.block,
.pricing-note,
.create,
.activity-hero {
  position: relative;
  padding: 30px 6vw 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
  padding-top: 54px;
  padding-bottom: 26px;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 14px;
}

h1,
.display {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero h1 {
  max-width: 14ch;
}

.accent {
  color: var(--rose);
  font-style: italic;
  font-weight: 500;
}

.accent .heart {
  display: inline-block;
  margin-left: 0.18em;
  font-style: normal;
  font-size: 0.55em;
  vertical-align: 0.35em;
  animation: bob 3.6s ease-in-out infinite;
}

.display span {
  display: inline-block;
  animation: crown 2.4s ease-in-out infinite;
}

.lede,
.proposal {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.proposal {
  max-width: 26ch;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-style: italic;
  font-weight: 500;
  color: var(--ink-2);
}

.hero-actions,
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Buttons ---------- */

.btn {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 13px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.gold,
.yes,
.yes-slot {
  color: #fff;
  background: linear-gradient(180deg, #ec2c58 0%, var(--rose-deep) 100%);
  box-shadow: var(--shadow);
}

.btn.gold:hover {
  color: #fff;
}

.btn.rose,
.no-float {
  color: var(--rose-ink);
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn.ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn.ghost:hover,
.btn.rose:hover {
  border-color: var(--rose);
}

.btn.block {
  width: 100%;
  margin-top: 10px;
}

.btn.mini {
  pointer-events: none;
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn .arrow {
  font-size: 1.05em;
  line-height: 1;
}

/* ---------- Hero visual ---------- */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.hero-visual .blob {
  position: absolute;
  width: 90%;
  height: 90%;
  right: -4%;
  top: 2%;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: linear-gradient(150deg, #fdd7e2, #fbe4ea 55%, #fdeee3);
  filter: blur(2px);
}

.preview-stack {
  position: relative;
  width: min(360px, 92%);
  min-height: 280px;
}

.ui-card {
  position: relative;
  z-index: 2;
  width: 86%;
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  animation: float-card 5.5s ease-in-out infinite;
}

.ui-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}

.ui-title {
  margin-top: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.ui-field {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--rose-softer);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.ui-btn {
  display: inline-flex;
  margin-top: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ec2c58 0%, var(--rose-deep) 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.envelope-card {
  position: absolute;
  right: -4%;
  bottom: 8%;
  z-index: 3;
  width: 148px;
  height: 108px;
  border-radius: 18px;
  background: linear-gradient(160deg, #ff8aa8, #e11d48);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  animation: float-env 6.2s ease-in-out infinite;
}

.envelope-card::before {
  content: "";
  position: absolute;
  inset: 12px 14px auto;
  height: 42px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #ffe0e8, #ffb3c6);
  clip-path: polygon(0 100%, 50% 18%, 100% 100%);
}

.env-seal {
  position: relative;
  z-index: 1;
  margin-top: -6px;
  font-size: 1.6rem;
  color: #fff;
  filter: drop-shadow(0 4px 8px rgba(120, 10, 40, 0.25));
}

.env-label {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-visual .spark {
  position: absolute;
  color: rgba(225, 29, 72, 0.42);
  font-size: 1.1rem;
  animation: bob 4.5s ease-in-out infinite;
}

.hero-visual .spark:nth-child(3) {
  left: 0%;
  top: 22%;
}

.hero-visual .spark:nth-child(4) {
  right: 2%;
  bottom: 18%;
  animation-delay: 1.4s;
}

.hero-visual .spark:nth-child(5) {
  right: 18%;
  top: 6%;
  font-size: 0.85rem;
  animation-delay: 2.2s;
}

/* ---------- Steps ---------- */

.how-wrap {
  padding: 8px 6vw 34px;
}

.how {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
}

.step:last-child {
  border-right: 0;
}

.icon-chip {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tint-pink);
  color: var(--rose);
}

.icon-chip.tone-pink {
  background: #fde2ea;
  color: #e11d48;
}

.icon-chip.tone-mint {
  background: #d9f5ea;
  color: #0f8a62;
}

.icon-chip.tone-violet {
  background: #ebe4fd;
  color: #6d4ad4;
}

.icon-chip.tone-amber {
  background: #fdeed0;
  color: #c47a10;
}

.icon-chip svg {
  width: 20px;
  height: 20px;
}

.step strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
}

.step p {
  margin-top: 5px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Cards ---------- */

.step,
.cat,
.card,
.preview,
.form,
.share-box,
.rather-card,
.letter,
.win-card,
.modal-card,
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.how .step {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border-color: transparent;
  border-right: 1px solid var(--line);
}

.block-head {
  margin-bottom: 20px;
}

.block-head h2,
.pricing-note h2,
.create h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3.4vw, 2.3rem);
  font-weight: 600;
}

.block-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

.cats,
.grid {
  display: grid;
  gap: 16px;
}

.cats {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.grid {
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  padding: 0 6vw 26px;
}

.block .grid {
  padding: 0;
}

.cat,
.card-link {
  color: inherit;
}

.cat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 0;
  box-shadow: none;
}

.cat.tint-1 {
  background: var(--tint-pink);
}

.cat.tint-2 {
  background: var(--tint-amber);
}

.cat.tint-3 {
  background: var(--tint-violet);
}

.cat.tint-4 {
  background: var(--tint-mint);
}

.cat.tint-5 {
  background: var(--tint-sky);
}

.cat,
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cat:hover,
.card-link:hover .card {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cat-emoji,
.card-emoji {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.tint-1 .card-emoji {
  background: var(--tint-pink);
}

.tint-2 .card-emoji {
  background: var(--tint-amber);
}

.tint-3 .card-emoji {
  background: var(--tint-violet);
}

.tint-4 .card-emoji {
  background: var(--tint-mint);
}

.tint-5 .card-emoji {
  background: var(--tint-sky);
}

.cat h2 {
  font-family: Outfit, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.cat p,
.card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 5px;
  line-height: 1.5;
}

.cat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.cat-tags {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cat-arrow {
  color: var(--muted);
  font-size: 1.05rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cat:hover .cat-arrow {
  color: var(--rose);
  transform: translateX(3px);
}

.muted {
  color: var(--muted);
  font-size: 0.85rem;
}

.tiny {
  margin-top: 14px;
  font-size: 0.78rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-height: 186px;
  height: 100%;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.04rem;
  font-weight: 600;
}

/* ---------- Pills ---------- */

.pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill.free {
  background: var(--good-bg);
  color: var(--good-ink);
}

.pill.paid {
  background: var(--rose-soft);
  color: var(--rose-ink);
}

.pill.unlocked {
  background: var(--tint-sky);
  color: #1b5e91;
}

/* ---------- Pricing ---------- */

.pricing-note {
  padding-bottom: 24px;
}

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

.price-card {
  padding: 22px 20px;
}

.price-card .price-lg {
  font-size: 2.1rem;
  margin: 6px 0 10px;
}

.price-card p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.price-lg {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Footer ---------- */

.foot {
  position: relative;
  margin-top: 22px;
  padding: 30px 6vw 44px;
  border-top: 1px solid var(--line);
  background: #fffafb;
  color: var(--muted);
  font-size: 0.85rem;
}

.foot-mark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.legal-nav a,
.legal-nav span {
  color: var(--muted);
}

.legal-nav a:hover {
  color: var(--rose);
}

/* ---------- Legal / long-form ---------- */

.legal {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 34px 6vw 28px;
}

.legal h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}

.legal h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  margin: 30px 0 8px;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 8px;
}

.legal ul {
  padding-left: 18px;
}

.legal b {
  color: var(--ink);
}

.report-line {
  margin-top: 28px;
  font-size: 0.82rem;
}

.report-line a {
  color: var(--muted);
}

.report-line a:hover {
  color: var(--rose);
}

/* ---------- Forms ---------- */

.form,
.share-box {
  padding: 24px;
  margin-top: 20px;
  max-width: 560px;
}

.form label,
.code-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
}

input,
textarea,
select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fffdfd;
  color: var(--ink);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #b49aa3;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--rose);
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.share-box input {
  margin: 10px 0 4px;
}

/* ---------- Category / activity pages ---------- */

.back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.back:hover {
  color: var(--rose);
}

.page-head {
  padding-top: 40px;
}

.activity-hero {
  padding-top: 40px;
}

.activity-layout {
  display: grid;
  gap: 26px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.facts {
  margin-top: 24px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.preview {
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.preview-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 600;
  margin: 8px 0;
}

.preview-q {
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}

.preview-btns {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.preview-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  background: rgba(255, 247, 249, 0.86);
  backdrop-filter: blur(3px);
  color: var(--rose-ink);
  font-weight: 600;
  font-size: 0.94rem;
}

/* ---------- Play stage ---------- */

.stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 80px;
  text-align: center;
}

.stage .proposal {
  max-width: 30ch;
}

.sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.98rem;
  min-height: 1.5em;
}

.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  width: min(560px, 92vw);
  margin-top: 34px;
}

.yes-slot {
  position: static;
  z-index: 3;
}

.no-float {
  position: relative;
  z-index: 4;
}

.no-float.is-fleeing {
  position: fixed;
  will-change: left, top;
}

.no-float.shake {
  animation: no-shake 0.28s ease;
}

.dodge-note {
  margin-top: 22px;
  min-height: 2.8em;
  color: var(--rose-ink);
  font-size: 0.94rem;
}

.dodge-note:empty {
  visibility: hidden;
}

.floaters {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.floater {
  position: absolute;
  bottom: -40px;
  color: rgba(236, 44, 88, 0.28);
  animation: float-up linear infinite;
  user-select: none;
}

/* ---------- Envelope ---------- */

.envelope {
  position: relative;
  width: min(280px, 70vw);
  height: 170px;
  margin-top: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 16px 30px rgba(190, 18, 60, 0.16));
}

.flap,
.env-body {
  position: absolute;
  inset: 0;
  border-radius: 8px;
}

.env-body {
  background: linear-gradient(180deg, #fbd9e2 0%, #f6b8c9 100%);
  clip-path: polygon(0 38%, 50% 68%, 100% 38%, 100% 100%, 0 100%);
}

.flap {
  background: linear-gradient(180deg, #fdeaf0 0%, #f9cbd8 100%);
  clip-path: polygon(0 0, 100% 0, 50% 52%);
  transform-origin: top center;
  transition: transform 0.3s ease;
}

.envelope:hover .flap {
  transform: rotateX(22deg);
}

.env-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  color: var(--rose-ink);
  font-weight: 600;
}

.letter {
  max-width: 480px;
  padding: 28px 26px;
  margin-top: 24px;
  text-align: left;
  box-shadow: var(--shadow);
  animation: pop 0.45s ease;
}

.letter-kicker {
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.letter-body {
  font-family: Caveat, "Playfair Display", cursive;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink-2);
}

.after-ask {
  width: min(560px, 92vw);
}

.cake-btn {
  margin-top: 30px;
  padding: 26px 36px;
  border: 0;
  border-radius: 26px;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #ec2c58 0%, var(--rose-deep) 100%);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.rather-card {
  width: min(480px, 92vw);
  padding: 26px 24px;
  margin-top: 20px;
  box-shadow: var(--shadow);
}

.rather-q {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.progress-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.progress-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.progress-dots span.on {
  background: var(--rose);
}

/* ---------- Overlays ---------- */

.win-overlay,
.overlay-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(42, 21, 28, 0.42);
  backdrop-filter: blur(6px);
}

.overlay-modal[hidden],
[hidden] {
  display: none !important;
}

.win-card,
.modal-card {
  width: min(520px, 92vw);
  padding: 36px 28px 28px;
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: pop 0.5s cubic-bezier(0.2, 1.2, 0.3, 1);
}

.kiss {
  font-size: 3.2rem;
  animation: smoosh 0.9s ease-in-out infinite;
}

.stamp {
  margin-top: 10px;
  color: var(--rose);
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  font-weight: 700;
}

.win-card h2,
.modal-card h2 {
  margin-top: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.95rem;
  font-weight: 600;
}

.win-copy {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.fine-print,
.win-foot {
  margin: 16px auto 18px;
  max-width: 40ch;
  font-size: 0.82rem;
  color: var(--muted);
}

.win-foot a {
  color: var(--rose);
}

.replay {
  position: static;
}

.modal-card {
  position: relative;
}

.modal-card .price-lg {
  margin: 8px 0 18px;
}

.close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.close:hover {
  color: var(--ink);
}

.pay-actions,
.code-form {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

#confetti {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Animations ---------- */

@keyframes float-up {
  from {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  to {
    transform: translateY(-110vh) rotate(220deg);
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes crown {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(8deg) translateY(-6px);
  }
}

@keyframes pop {
  from {
    transform: scale(0.9) translateY(16px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes smoosh {
  0%,
  100% {
    transform: scale(1) rotate(-8deg);
  }
  50% {
    transform: scale(1.16) rotate(8deg);
  }
}

@keyframes no-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-7px) rotate(-3deg);
  }
  75% {
    transform: translateX(7px) rotate(3deg);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@keyframes float-env {
  0%,
  100% {
    transform: translateY(0) rotate(8deg);
  }
  50% {
    transform: translateY(-10px) rotate(10deg);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 280px;
    order: 2;
  }

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

  .step:nth-child(2) {
    border-right: 0;
  }

  .step:nth-child(1),
  .step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 800px) {
  .activity-layout,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 12px 5vw;
  }

  .nav nav {
    gap: 12px;
  }

  .nav nav a:not(.nav-cta) {
    font-size: 0.88rem;
  }

  .nav .nav-cta {
    padding: 9px 16px;
  }
}

@media (max-width: 720px) {
  .how {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .nav nav a:not(.nav-cta) {
    display: none;
  }

  .yes-slot,
  .no-float {
    font-size: 0.95rem;
    padding: 13px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
