:root {
  color-scheme: dark;
  --midnight: #090709;
  --wine: #45151f;
  --wine-2: #2a0f17;
  --gold: #d9b56d;
  --gold-soft: #f0d797;
  --ivory: #f8f1e7;
  --rose: #b76e79;
  --muted: rgba(248, 241, 231, 0.72);
  --glass: rgba(255, 246, 229, 0.075);
  --glass-strong: rgba(255, 246, 229, 0.13);
  --line: rgba(217, 181, 109, 0.28);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --serif: "Cormorant Garamond", Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space: clamp(4.5rem, 10vw, 9rem);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--midnight);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  font-family: var(--sans);
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 181, 109, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(183, 110, 121, 0.13), transparent 22rem),
    linear-gradient(180deg, #090709 0%, #17080d 42%, #090709 100%);
}

body.no-scroll {
  overflow: hidden;
}

body.countdown-active {
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  padding: 2rem;
  background: #090709;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 2.8vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loader__heart {
  font-size: 2.5rem;
  animation: loaderPulse 1.6s ease-in-out infinite;
}

.ambient-canvas,
.flower-welcome,
.soft-vignette,
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-canvas {
  z-index: 0;
}

.flower-welcome {
  z-index: 3;
  overflow: hidden;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, #000 0 28%, transparent 78%);
}

.flower-welcome span {
  position: absolute;
  top: clamp(0.7rem, 2.6vw, 1.6rem);
  color: rgba(248, 211, 168, 0.86);
  font-size: clamp(0.95rem, 3vw, 1.45rem);
  filter: drop-shadow(0 0 14px rgba(217, 181, 109, 0.35));
  animation: welcomeSway 5.8s ease-in-out infinite;
}

.flower-welcome span:nth-child(1) { left: 4%; animation-delay: -0.4s; }
.flower-welcome span:nth-child(2) { left: 14%; animation-delay: -1.5s; }
.flower-welcome span:nth-child(3) { left: 26%; animation-delay: -2.6s; }
.flower-welcome span:nth-child(4) { left: 39%; animation-delay: -3.2s; }
.flower-welcome span:nth-child(5) { right: 39%; animation-delay: -0.9s; }
.flower-welcome span:nth-child(6) { right: 26%; animation-delay: -2s; }
.flower-welcome span:nth-child(7) { right: 14%; animation-delay: -3.6s; }
.flower-welcome span:nth-child(8) { right: 4%; animation-delay: -1.1s; }

.soft-vignette {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 30%, transparent 0 28%, rgba(9, 7, 9, 0.22) 54%, rgba(9, 7, 9, 0.86) 100%),
    linear-gradient(90deg, rgba(9, 7, 9, 0.76), transparent 24%, transparent 76%, rgba(9, 7, 9, 0.76));
}

.cursor-glow {
  z-index: 2;
  width: 18rem;
  height: 18rem;
  inset: auto;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(217, 181, 109, 0.13), transparent 66%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 300ms ease;
  mix-blend-mode: screen;
}

main {
  position: relative;
  z-index: 4;
}

body.countdown-active #experience {
  display: none;
}

body.birthday-unlocked #countdownLanding {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.countdown-landing {
  position: relative;
  z-index: 4;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 4rem);
  overflow: hidden;
  text-align: center;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.countdown-landing__glow {
  position: absolute;
  width: min(90vw, 42rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(217, 181, 109, 0.16), transparent 62%),
    radial-gradient(circle at 64% 35%, rgba(183, 110, 121, 0.16), transparent 38%);
  filter: blur(4px);
  animation: countdownGlow 5.5s ease-in-out infinite;
}

.countdown-landing__inner {
  position: relative;
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
  gap: clamp(0.85rem, 2.5vh, 1.4rem);
}

.countdown-landing__eyebrow {
  margin-bottom: 0;
}

.countdown-title {
  margin: 0;
  display: grid;
  gap: 0.1em;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 12vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.countdown-title span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(0.78rem, 2.5vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.22em;
}

.countdown-title strong {
  color: var(--ivory);
  text-shadow: 0 0 34px rgba(217, 181, 109, 0.2);
}

.countdown-copy,
.countdown-note,
.countdown-signature {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 3.2vw, 1.18rem);
  line-height: 1.65;
}

.countdown-visual {
  position: relative;
  width: min(100%, clamp(13rem, 34vw, 23rem));
  aspect-ratio: 1.2;
  display: grid;
  place-items: center;
  margin: 0.25rem 0;
  perspective: 900px;
}

.countdown-visual__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  animation: countdownStage 7s ease-in-out infinite;
}

.countdown-visual__stage::before {
  content: "";
  position: absolute;
  bottom: 7%;
  width: 78%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.48), transparent 68%);
  filter: blur(4px);
  transform: translateZ(-80px) rotateX(78deg);
}

.countdown-visual__ring {
  position: absolute;
  width: 54%;
  aspect-ratio: 1;
  border: clamp(0.42rem, 1vw, 0.8rem) solid transparent;
  border-top-color: #fff0b9;
  border-right-color: var(--gold);
  border-bottom-color: #8f6730;
  border-left-color: #f5d88a;
  border-radius: 50%;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.18),
    0 0 42px rgba(217, 181, 109, 0.22);
  transform-style: preserve-3d;
}

.countdown-visual__ring--one {
  transform: translateY(-11%) rotateX(68deg) rotateZ(-18deg);
  animation: countdownRingOne 10s linear infinite;
}

.countdown-visual__ring--two {
  width: 46%;
  opacity: 0.72;
  transform: translateY(-8%) rotateY(67deg) rotateZ(12deg);
  animation: countdownRingTwo 12s linear infinite;
}

.countdown-visual__gift {
  position: absolute;
  bottom: 13%;
  width: 42%;
  aspect-ratio: 1.04;
  transform-style: preserve-3d;
  transform: translateZ(70px) rotateX(8deg) rotateY(-10deg);
}

.countdown-visual__box,
.countdown-visual__lid {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #5b1c2a, var(--wine), #8b3444);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
}

.countdown-visual__box {
  bottom: 0;
  width: 78%;
  height: 58%;
}

.countdown-visual__box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 36%, rgba(0, 0, 0, 0.18));
}

.countdown-visual__lid {
  bottom: 54%;
  width: 88%;
  height: 20%;
  transform: translateX(-50%) translateZ(22px);
}

.countdown-visual__ribbon {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #8f6730, var(--gold-soft), #8f6730);
}

.countdown-visual__ribbon--v {
  bottom: 0;
  width: 13%;
  height: 73%;
}

.countdown-visual__ribbon--h {
  bottom: 29%;
  width: 80%;
  height: 11%;
}

.countdown-visual__heart {
  position: absolute;
  top: 16%;
  font-size: clamp(2rem, 7vw, 3.8rem);
  filter: drop-shadow(0 0 20px rgba(183, 110, 121, 0.45));
  transform: translateZ(130px);
  animation: heartBreathe 2.8s ease-in-out infinite;
}

.countdown-visual__spark {
  position: absolute;
  color: var(--gold-soft);
  filter: drop-shadow(0 0 16px rgba(217, 181, 109, 0.4));
  animation: countdownSpark 4.5s ease-in-out infinite;
}

.countdown-visual__spark--one {
  top: 18%;
  left: 16%;
}

.countdown-visual__spark--two {
  right: 14%;
  top: 31%;
  animation-delay: -1.4s;
}

.countdown-visual__spark--three {
  left: 20%;
  bottom: 24%;
  animation-delay: -2.7s;
}

.countdown-timer {
  width: min(100%, 46rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 2vw, 0.9rem);
}

.countdown-unit {
  min-width: 0;
  padding: clamp(0.8rem, 3vw, 1.2rem) 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 246, 229, 0.12), rgba(69, 21, 31, 0.2));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.countdown-unit strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 0.9;
}

.countdown-unit span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: clamp(0.68rem, 2.4vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.countdown-signature {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 4vw, 1.7rem);
}

body:not(.experience-started) #experience > .chapter {
  display: none;
}

body:not(.letter-complete) #story,
body:not(.letter-complete) .love-list,
body:not(.letter-complete) .extra-love,
body:not(.letter-complete) #gift,
body:not(.letter-complete) #wish,
body:not(.letter-complete) .promise,
body:not(.letter-complete) #finale {
  display: none;
}

body:not(.gift-complete) #wish,
body:not(.gift-complete) .promise,
body:not(.gift-complete) #finale {
  display: none;
}

.scene,
.chapter {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--space) clamp(1rem, 4vw, 4rem);
  isolation: isolate;
}

.chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 24% 24%, rgba(217, 181, 109, 0.08), transparent 18rem),
    radial-gradient(circle at 72% 68%, rgba(183, 110, 121, 0.08), transparent 20rem);
  opacity: 0.85;
}

.chapter__inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.chapter__inner.narrow {
  width: min(100%, 760px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.opening {
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(69, 21, 31, 0.72), transparent 29rem),
    linear-gradient(180deg, #050405, #090709 62%, #16070c);
}

.opening__depth {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  perspective: 900px;
  opacity: 0.88;
  transition: opacity 900ms ease, transform 900ms ease, filter 900ms ease;
}

.opening.name-revealed .opening__depth {
  opacity: 0.055;
  filter: blur(0.4px);
  transform: translateY(-12svh) scale(0.86);
}

.opening.name-revealed .ring-scene__date,
.opening.name-revealed .ring-scene__label {
  opacity: 0;
}

.opening__content {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  display: grid;
  justify-items: center;
  gap: clamp(0.7rem, 2vh, 1.2rem);
  padding-top: clamp(1.5rem, 5vh, 5rem);
  padding-bottom: clamp(1.5rem, 5vh, 4rem);
}

.opening-lines {
  min-height: clamp(5.5rem, 16vh, 8rem);
  display: grid;
  place-items: center;
}

.opening-lines p {
  grid-area: 1 / 1;
  margin: 0;
  max-width: 46rem;
  opacity: 0;
  transform: translateY(0.8rem);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 5.6vw, 4.6rem);
  line-height: 1.08;
}

.opening-lines p.is-visible,
.opening-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.opening-lines .emphasis {
  color: var(--gold-soft);
  text-shadow: 0 0 30px rgba(217, 181, 109, 0.3);
}

.opening-step {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 900ms ease, transform 900ms ease;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: clamp(0.72rem, 2.5vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pretitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 3vw, 1.08rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-name {
  position: relative;
  margin: 0;
  display: grid;
  gap: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 16vw, 13rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ivory);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 30px rgba(217, 181, 109, 0.22),
    0 28px 70px rgba(0, 0, 0, 0.38);
}

.hero-name::after,
.name-line::after {
  content: "";
  position: absolute;
  inset: -8% -12%;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 242, 197, 0.55) 48%, transparent 58% 100%);
  transform: translateX(-125%);
  animation: shimmer 4.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-name span {
  display: block;
}

.hero-subtitle,
.hero-greeting,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 3.3vw, 1.25rem);
  line-height: 1.7;
}

.hero-greeting {
  color: var(--ivory);
}

.ring-scene {
  position: relative;
  width: clamp(13rem, 44vw, 30rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  animation: cameraDrift 9s ease-in-out infinite;
  cursor: pointer;
}

.ring-scene__halo {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 181, 109, 0.18), transparent 66%);
  filter: blur(6px);
}

.ring-scene__ring {
  width: 48%;
  aspect-ratio: 1;
  border: clamp(0.65rem, 2vw, 1.05rem) solid transparent;
  border-top-color: #fff0b9;
  border-right-color: #d9b56d;
  border-bottom-color: #8f6730;
  border-left-color: #f5d88a;
  border-radius: 50%;
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.2),
    0 0 46px rgba(217, 181, 109, 0.28),
    0 28px 80px rgba(0, 0, 0, 0.45);
  transform: rotateX(66deg) rotateZ(-22deg);
  animation: ringRotate 12s linear infinite;
}

.ring-scene__date,
.ring-scene__label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: rgba(248, 241, 231, 0.76);
  font-size: clamp(0.7rem, 2.8vw, 0.86rem);
  letter-spacing: 0.12em;
  transition: opacity 500ms ease;
}

.ring-scene__date {
  top: 18%;
}

.ring-scene__label {
  bottom: 18%;
}

.btn {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
  padding: 0.95rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ivory);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-120%);
  transition: transform 650ms ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(120%);
}

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

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--primary {
  background: linear-gradient(135deg, #8f6730, var(--gold), #f2d99a);
  color: #1a0e0d;
  box-shadow: 0 18px 60px rgba(217, 181, 109, 0.25);
}

.btn--secondary {
  border-color: var(--line);
  background: rgba(255, 246, 229, 0.08);
  backdrop-filter: blur(16px);
}

.split-title {
  margin: 0;
  display: grid;
  gap: 0.1em;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 12vw, 9.2rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.split-title span {
  display: block;
}

.name-line {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: clamp(1rem, 3vw, 1.6rem) auto;
  overflow: hidden;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 7vw, 4.8rem);
  line-height: 1.04;
  text-align: center;
  text-transform: uppercase;
}

.birthday-reveal {
  text-align: center;
}

.birthday-card,
.gift-message,
.wish-saved,
.voice-card {
  width: min(100%, 720px);
  margin: clamp(1.4rem, 5vw, 3rem) auto 0;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 246, 229, 0.11), rgba(69, 21, 31, 0.2));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.birthday-card p,
.gift-message p,
.wish-saved p {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  line-height: 1.7;
}

.cake {
  width: clamp(5rem, 22vw, 8rem);
  height: clamp(5rem, 22vw, 8rem);
  margin: 0 auto 1rem;
  position: relative;
}

.cake__base,
.cake__top {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--rose), #f0b4bb);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.cake__base {
  bottom: 0.8rem;
  width: 78%;
  height: 32%;
}

.cake__top {
  bottom: 35%;
  width: 58%;
  height: 24%;
}

.cake__candle {
  position: absolute;
  bottom: 58%;
  left: 50%;
  width: 0.5rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--ivory);
  transform: translateX(-50%);
}

.cake__flame {
  position: absolute;
  bottom: 78%;
  left: 50%;
  width: 0.8rem;
  height: 1.15rem;
  border-radius: 60% 60% 55% 55%;
  background: radial-gradient(circle at 50% 70%, #fff, #f7d672 42%, #d96c42 74%);
  transform: translateX(-50%);
  animation: flame 1.6s ease-in-out infinite;
}

.section-title {
  margin: 0;
  max-width: 880px;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 7.8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.statement,
.big-question {
  margin: clamp(1rem, 3vw, 1.6rem) 0 0;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 5rem);
  line-height: 1.02;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.statement {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  align-items: baseline;
}

.statement__heart {
  display: inline-block;
  font-size: 0.82em;
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(183, 110, 121, 0.35));
}

.date-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(60px, 0.4fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
  margin-top: clamp(3rem, 8vw, 5rem);
}

.date-bridge article {
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
}

.date-bridge span,
.timeline time {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.date-bridge strong {
  display: block;
  margin: 0.45rem 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.date-bridge p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.date-bridge__line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  position: relative;
  overflow: hidden;
}

.date-bridge__line span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: lineTravel 2.6s ease-in-out infinite;
}

.days-line {
  margin: 1.5rem 0 0;
  color: var(--gold-soft);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4.8vw, 2.7rem);
}

.ring-union {
  position: relative;
  width: min(100%, 24rem);
  aspect-ratio: 1.15;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(circle, rgba(217, 181, 109, 0.12), rgba(255, 246, 229, 0.05));
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
}

.ring-union__ring {
  position: absolute;
  width: 38%;
  aspect-ratio: 1;
  border: 0.7rem solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(217, 181, 109, 0.24);
  transform: rotateX(62deg);
}

.ring-union__ring--left {
  left: 20%;
  animation: leftRing 5s ease-in-out infinite;
}

.ring-union__ring--right {
  right: 20%;
  animation: rightRing 5s ease-in-out infinite;
}

.ring-union__light {
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 241, 184, 0.38), transparent 68%);
  animation: unionGlow 5s ease-in-out infinite;
}

.ring-union p {
  position: absolute;
  bottom: 1rem;
  margin: 0;
  color: var(--muted);
}

.line-reveals {
  display: grid;
  gap: clamp(1rem, 3vw, 1.35rem);
  margin-top: clamp(1.8rem, 5vw, 3rem);
}

.line-reveals p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 4.6vw, 2rem);
  line-height: 1.55;
}

.line-reveals .signature-line,
.line-reveals .strong {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 5.6vw, 3rem);
  line-height: 1.25;
}

.signature-line span {
  color: var(--gold);
}

.heart-sculpture {
  position: relative;
  width: min(100%, 25rem);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
  cursor: pointer;
  perspective: 800px;
  overflow: hidden;
}

.heart-sculpture__core {
  font-size: clamp(5rem, 19vw, 11rem);
  filter: drop-shadow(0 0 34px rgba(183, 110, 121, 0.44));
  animation: heartBreathe 3.4s ease-in-out infinite;
}

.heart-sculpture span {
  position: absolute;
  color: var(--gold-soft);
  font-size: clamp(0.7rem, 2.5vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: wordFloat 5.5s ease-in-out infinite;
}

.heart-sculpture span:nth-child(2) { top: 19%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.heart-sculpture span:nth-child(3) { top: 49%; right: 9%; animation-delay: -1.2s; }
.heart-sculpture span:nth-child(4) { bottom: 18%; left: 50%; transform: translateX(-50%); animation-delay: -2.4s; }
.heart-sculpture span:nth-child(5) { top: 49%; left: 9%; animation-delay: -3.6s; }

.envelope {
  position: relative;
  width: min(100%, 28rem);
  aspect-ratio: 1.55;
  display: block;
  margin: clamp(2rem, 6vw, 3rem) auto 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ivory);
  perspective: 900px;
}

.envelope__body,
.envelope__flap {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.envelope__body {
  background:
    linear-gradient(145deg, rgba(248, 241, 231, 0.95), rgba(221, 196, 163, 0.92)),
    linear-gradient(45deg, transparent 49.5%, rgba(69, 21, 31, 0.16) 50%, transparent 50.5%);
}

.envelope__body::before,
.envelope__body::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 70%;
  background: rgba(183, 110, 121, 0.13);
}

.envelope__body::before {
  left: 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.envelope__body::after {
  right: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.envelope__flap {
  z-index: 2;
  transform-origin: top;
  background: linear-gradient(160deg, #f8f1e7, #d6bfa0);
  clip-path: polygon(0 0, 100% 0, 50% 58%);
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}

.envelope.is-open .envelope__flap {
  transform: rotateX(176deg);
}

.envelope__label,
.envelope__hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  color: #35131a;
  white-space: nowrap;
}

.envelope__label {
  top: 42%;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 5vw, 2.5rem);
}

.envelope__hint {
  top: 62%;
  font-size: clamp(0.82rem, 3vw, 0.95rem);
  opacity: 0.72;
}

.letter-paper {
  width: min(100%, 46rem);
  margin: -2rem auto 0;
  padding: clamp(1.2rem, 4.5vw, 2.4rem);
  border-radius: var(--radius);
  color: #2b1715;
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    repeating-linear-gradient(0deg, rgba(217, 181, 109, 0.08) 0 1px, transparent 1px 2rem),
    #f8f1e7;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  transform: translateY(3rem) scale(0.96);
  opacity: 0;
}

.letter-paper.is-visible {
  animation: letterSlide 900ms cubic-bezier(.2,.8,.2,1) forwards;
}

.letter-paper p {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 3.8vw, 1.14rem);
  line-height: 1.75;
}

.letter-read-marker {
  display: block;
  width: 100%;
  height: 1px;
}

.letter-continue {
  margin: clamp(1.2rem, 4vw, 2rem) auto 0;
}

.letter-continue[hidden] {
  display: none;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 6vw, 4rem);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  bottom: 0.8rem;
  left: 1rem;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(217, 181, 109, 0.05));
}

.timeline__item {
  position: relative;
  min-width: 0;
  margin-left: 2.8rem;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.25rem;
  top: 1.45rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 22px rgba(217, 181, 109, 0.55);
}

.timeline h3 {
  margin: 0.4rem 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4.5vw, 2.1rem);
}

.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.section-head .lead {
  max-width: 28rem;
}

.love-card-grid,
.wish-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2.5vw, 1.1rem);
  margin-top: clamp(2rem, 6vw, 3.5rem);
}

.love-card {
  min-width: 0;
  min-height: 12rem;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ivory);
  background: var(--glass);
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
  transition: transform 260ms ease, background 260ms ease, border-color 260ms ease;
}

.love-card span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4.2vw, 2rem);
  margin-bottom: 0.8rem;
}

.love-card small {
  display: block;
  color: var(--muted);
  font-size: clamp(0.94rem, 2.9vw, 1rem);
  line-height: 1.6;
}

.love-card:hover,
.love-card.is-tapped {
  transform: translateY(-6px);
  border-color: rgba(217, 181, 109, 0.6);
  background: var(--glass-strong);
}

.extra-love {
  text-align: center;
}

.love-pop-zone {
  position: relative;
  min-height: 8rem;
  margin-top: 1rem;
  overflow: hidden;
}

.floating-message,
.burst-particle,
.petal {
  position: fixed;
  pointer-events: none;
  will-change: transform, opacity;
}

.floating-message {
  z-index: 18;
  color: var(--gold-soft);
  font-weight: 800;
  text-shadow: 0 0 18px rgba(217, 181, 109, 0.32);
  animation: floatMessage 2.4s ease-out forwards;
}

.burst-particle {
  z-index: 18;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  animation: burst 900ms ease-out forwards;
}

.petal {
  z-index: 3;
  color: rgba(248, 205, 213, 0.36);
  font-size: clamp(0.85rem, 2.8vw, 1.18rem);
  filter: drop-shadow(0 0 10px rgba(217, 181, 109, 0.18));
  opacity: 0.46;
  animation: petalFall 9.5s linear forwards;
}

.gift-box {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  margin-inline: auto;
  transform-style: preserve-3d;
  animation: giftFloat 3.2s ease-in-out infinite;
}

.gift-box__base,
.gift-box__lid {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #5d1d2b, var(--wine), #7d2e3d);
  box-shadow: var(--shadow);
}

.gift-box__base {
  bottom: 14%;
  width: 72%;
  height: 48%;
}

.gift-box__lid {
  z-index: 2;
  bottom: 60%;
  width: 80%;
  height: 18%;
  transition: transform 850ms cubic-bezier(.2,.8,.2,1);
}

.gift-box__ribbon {
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #8f6730, var(--gold-soft), #8f6730);
}

.gift-box__ribbon--v {
  bottom: 14%;
  width: 12%;
  height: 64%;
}

.gift-box__ribbon--h {
  bottom: 42%;
  width: 76%;
  height: 10%;
}

.gift-box__glow {
  position: absolute;
  left: 50%;
  bottom: 52%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 159, 0.5), transparent 70%);
  opacity: 0;
  transform: translateX(-50%) scale(0.6);
  transition: opacity 800ms ease, transform 800ms ease;
}

.gift-box.is-open .gift-box__lid {
  transform: translateX(-50%) translateY(-4rem) rotate(-8deg);
}

.gift-box.is-open .gift-box__glow {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.gift-message {
  text-align: center;
}

.gift-message .btn {
  margin-top: 0.8rem;
}

.wish-section {
  text-align: center;
}

.wish-form {
  display: grid;
  gap: 1.2rem;
  margin-top: clamp(2rem, 6vw, 3rem);
  text-align: left;
}

.wish-options label {
  min-width: 0;
}

.wish-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wish-options span {
  min-height: 6.8rem;
  display: grid;
  place-items: center;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.2);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.wish-options input:checked + span {
  border-color: var(--gold);
  background: rgba(217, 181, 109, 0.14);
  transform: translateY(-3px);
}

.wish-options strong {
  font-size: clamp(0.9rem, 2.9vw, 1rem);
}

.custom-wish,
.full-label {
  display: grid;
  gap: 0.55rem;
  color: var(--gold-soft);
  font-weight: 700;
}

textarea {
  width: 100%;
  min-width: 0;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--ivory);
  background: rgba(9, 7, 9, 0.58);
  font-size: 16px;
  line-height: 1.5;
}

.form-error {
  min-height: 1.4rem;
  margin: 0;
  color: #ffd0d0;
}

.wish-saved {
  text-align: center;
}

.wish-saved h3 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.voice-card {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.voice-card--opening {
  width: min(100%, 32rem);
  margin-top: clamp(0.35rem, 1.5vh, 0.8rem);
  padding: clamp(0.85rem, 2.8vw, 1.2rem);
}

.voice-card--opening {
  position: relative;
  overflow: hidden;
}

.voice-card--opening::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 36%, rgba(255, 239, 184, 0.14) 50%, transparent 64% 100%);
  transform: translateX(-120%);
  animation: voiceSweep 4.8s ease-in-out infinite;
  pointer-events: none;
}

.voice-card--opening p {
  margin: 0;
}

.voice-card__title {
  position: relative;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 4vw, 1.75rem);
  line-height: 1.18;
}

.voice-card__subtitle {
  position: relative;
  color: var(--muted);
  font-size: clamp(0.85rem, 2.6vw, 0.95rem);
  line-height: 1.5;
}

.voice-card__heart {
  font-size: 3rem;
  filter: drop-shadow(0 0 24px rgba(183, 110, 121, 0.45));
}

.waveform {
  height: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.waveform span {
  width: 0.38rem;
  height: 30%;
  border-radius: 999px;
  background: var(--gold);
}

.waveform.is-playing span {
  animation: wave 900ms ease-in-out infinite;
}

.waveform span:nth-child(2) { animation-delay: 100ms; }
.waveform span:nth-child(3) { animation-delay: 200ms; }
.waveform span:nth-child(4) { animation-delay: 300ms; }
.waveform span:nth-child(5) { animation-delay: 400ms; }

.voice-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.voice-controls button {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ivory);
  background: rgba(255, 246, 229, 0.08);
  cursor: pointer;
}

.voice-controls button[hidden] {
  display: none;
}

.voice-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

#beginButton {
  opacity: 0;
  transform: translateY(0.8rem);
  pointer-events: none;
}

.opening.voice-complete #beginButton {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.opening.voice-complete #beginButton {
  box-shadow: 0 18px 70px rgba(217, 181, 109, 0.34);
}

.finale {
  min-height: 120svh;
  text-align: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(217, 181, 109, 0.14), transparent 24rem),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
}

.final-lines {
  display: grid;
  gap: 0.4rem;
  margin: 2rem 0;
}

.final-lines p,
.signoff,
.forever,
.made-with-love {
  margin: 0.6rem 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  line-height: 1.7;
}

.signoff strong {
  color: var(--gold-soft);
}

.infinity {
  width: min(100%, 42rem);
  margin: clamp(2rem, 6vw, 3rem) auto 1rem;
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.7rem, 3vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--ivory);
  background: rgba(255, 246, 229, 0.07);
  cursor: pointer;
}

.infinity span {
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.infinity strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 12vw, 6rem);
  line-height: 0.7;
  animation: infinityBreathe 3.6s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 800ms ease, transform 800ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(calc(100vw - 2rem), 28rem);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ivory);
  background: rgba(9, 7, 9, 0.82);
  box-shadow: var(--shadow);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 1rem);
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .love-card-grid,
  .wish-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  :root {
    --space: clamp(4rem, 13vw, 5.5rem);
  }

  .countdown-landing {
    align-items: start;
    padding-top: max(1.5rem, env(safe-area-inset-top));
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .countdown-landing__inner {
    gap: 0.75rem;
  }

  .countdown-title {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .countdown-copy,
  .countdown-note {
    font-size: 0.95rem;
  }

  .countdown-visual {
    width: min(100%, 15rem);
  }

  .countdown-timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene,
  .chapter {
    padding-inline: clamp(1rem, 5vw, 1.25rem);
  }

  .opening__content {
    gap: 0.55rem;
    padding-top: clamp(1rem, 4vh, 2rem);
  }

  .ring-scene {
    transform: translateY(-13svh);
  }

  .opening.name-revealed .opening__depth {
    opacity: 0.04;
    transform: translateY(-20svh) scale(0.72);
  }

  .opening.name-revealed .ring-scene__ring {
    box-shadow:
      inset 0 0 16px rgba(255, 255, 255, 0.1),
      0 0 24px rgba(217, 181, 109, 0.12);
  }

  .hero-name {
    font-size: clamp(3.15rem, 15vw, 4.75rem);
  }

  .opening-lines {
    min-height: clamp(4.2rem, 11vh, 5.6rem);
  }

  .opening-lines p {
    font-size: clamp(1.35rem, 5vw, 2.5rem);
  }

  .voice-card--opening {
    gap: 0.55rem;
    padding: 0.85rem;
  }

  .voice-card--opening .voice-card__heart {
    font-size: 2.1rem;
  }

  .voice-card--opening .waveform {
    height: 2rem;
  }

  .date-bridge {
    grid-template-columns: 1fr;
  }

  .date-bridge__line {
    width: 2px;
    height: 4rem;
    margin: 0 auto;
  }

  .love-card-grid,
  .wish-options {
    grid-template-columns: 1fr;
  }

  .love-card {
    min-height: 9rem;
  }

}

@media (max-width: 380px) {
  .countdown-visual {
    width: min(100%, 12.5rem);
  }

  .countdown-unit {
    padding: 0.7rem 0.35rem;
  }

  .countdown-unit strong {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .split-title {
    font-size: clamp(2.55rem, 14vw, 3.1rem);
  }

  .section-title {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .statement,
  .big-question {
    font-size: clamp(1.75rem, 10.8vw, 2.75rem);
  }

  .wish-options span {
    min-height: 5.7rem;
  }

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

@media (hover: none) {
  .btn:hover,
  .love-card:hover {
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}

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

  .reveal,
  .opening-step,
  .opening-lines p {
    opacity: 1;
    transform: none;
  }
}

@keyframes loaderPulse {
  50% { transform: scale(1.12); filter: drop-shadow(0 0 24px rgba(183, 110, 121, 0.5)); }
}

@keyframes countdownGlow {
  50% { transform: scale(1.06); opacity: 0.82; }
}

@keyframes countdownSpin {
  to { rotate: 360deg; }
}

@keyframes countdownStage {
  50% { transform: translateY(-0.45rem) rotateX(3deg) rotateY(5deg); }
}

@keyframes countdownRingOne {
  to { transform: translateY(-11%) rotateX(68deg) rotateZ(342deg); }
}

@keyframes countdownRingTwo {
  to { transform: translateY(-8%) rotateY(67deg) rotateZ(372deg); }
}

@keyframes countdownSpark {
  50% { transform: translateY(-0.7rem) scale(1.08); opacity: 0.62; }
}

@keyframes welcomeSway {
  50% { transform: translateY(0.35rem) rotate(8deg); opacity: 0.72; }
}

@keyframes dotPulse {
  70% { box-shadow: 0 0 0 0.6rem rgba(217, 181, 109, 0); }
}

@keyframes shimmer {
  0%, 48% { transform: translateX(-125%); }
  72%, 100% { transform: translateX(125%); }
}

@keyframes cameraDrift {
  50% { transform: translate3d(0, -0.8rem, 4rem) rotateX(4deg); }
}

@keyframes ringRotate {
  to { transform: rotateX(66deg) rotateZ(338deg); }
}

@keyframes flame {
  50% { transform: translateX(-50%) scale(0.86) rotate(3deg); }
}

@keyframes lineTravel {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

@keyframes leftRing {
  50% { left: 27%; }
}

@keyframes rightRing {
  50% { right: 27%; }
}

@keyframes unionGlow {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes heartBreathe {
  50% { transform: scale(1.07); }
}

@keyframes wordFloat {
  50% { translate: 0 -0.45rem; opacity: 0.72; }
}

@keyframes letterSlide {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatMessage {
  to { opacity: 0; transform: translate3d(var(--x), -8rem, 0) scale(0.95); }
}

@keyframes burst {
  to { opacity: 0; transform: translate3d(var(--x), var(--y), 0) scale(0.2); }
}

@keyframes petalFall {
  to { opacity: 0; transform: translate3d(var(--drift), 105dvh, 0) rotate(220deg); }
}

@keyframes giftFloat {
  50% { transform: translateY(-0.55rem); }
}

@keyframes wave {
  50% { height: 100%; }
}

@keyframes voiceSweep {
  0%, 46% { transform: translateX(-120%); }
  74%, 100% { transform: translateX(120%); }
}

@keyframes infinityBreathe {
  50% { transform: scale(1.08); text-shadow: 0 0 28px rgba(217, 181, 109, 0.48); }
}
