:root {
  --night: #14060f;
  --wine: #2a0c22;
  --plum: #5c1d45;
  --rose: #ff8fb1;
  --rose-deep: #e0577f;
  --blush: #f8d3dc;
  --gold: #f2c98a;
  --cream: #fff8f1;
  --text: #fbeef2;
  --muted: #d6aebe;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 200, 220, 0.18);
  --script: "Great Vibes", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  min-height: 100vh;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--night);
  background-image:
    radial-gradient(ellipse 120% 70% at 50% 0%, #6b2150 0%, transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 100%, #3d1030 0%, transparent 70%),
    linear-gradient(180deg, var(--wine), var(--night));
  background-attachment: fixed;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }

#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

/* ---------- Type ---------- */
.script { font-family: var(--script); font-weight: 400; line-height: 1.15; }
.eyebrow {
  font-family: var(--sans); font-weight: 400; font-size: .78rem;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  margin-bottom: .6rem;
}
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.gradient-text, .hero-title, .section-title, .intro-name, #lock h1 {
  background: linear-gradient(100deg, var(--gold) 0%, #ffd9e4 45%, var(--rose) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 143, 177, .35));
}

/* ---------- Full screens (lock / intro) ---------- */
.screen {
  position: fixed; inset: 0; z-index: 20;
  display: grid; place-items: center; text-align: center;
  padding: 24px 16px;
  transition: opacity 1s ease;
}
.screen.fade-out { opacity: 0; pointer-events: none; }

.lock-inner, .intro-inner { max-width: 560px; }
.lock-heart {
  font-size: 3rem; color: var(--rose);
  animation: beat 1.4s ease-in-out infinite;
  text-shadow: 0 0 30px var(--rose);
}
#lock h1 { font-size: clamp(2.6rem, 10vw, 4.4rem); margin: .4rem 0 1rem; }
.countdown { display: flex; gap: 10px; justify-content: center; margin: 2rem 0 1.4rem; }
.cd-box {
  width: clamp(66px, 20vw, 96px); padding: 14px 4px 10px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px; backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08);
}
.cd-box span { display: block; font-family: var(--sans); font-weight: 300; font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.1; color: var(--cream); font-variant-numeric: tabular-nums; }
.cd-box small { font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.intro-name { font-size: clamp(4rem, 18vw, 8rem); margin: .2rem 0 2.2rem; }

.btn-glow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 16px 34px; border-radius: 999px;
  font-family: var(--sans); font-size: 1rem; letter-spacing: .08em;
  color: #3a0d27;
  background: linear-gradient(120deg, var(--gold), var(--blush) 50%, var(--rose));
  box-shadow: 0 0 0 0 rgba(255,143,177,.6), 0 10px 30px rgba(224,87,127,.4);
  animation: pulseGlow 2.2s ease-out infinite;
  transition: transform .2s ease;
}
.btn-glow:hover { transform: translateY(-2px) scale(1.03); }
.btn-glow:active { transform: scale(.97); }
.btn-glow .beat { display: inline-block; animation: beat 1.2s ease-in-out infinite; color: var(--rose-deep); }
.intro-inner .muted { margin-top: 1.2rem; }

/* ---------- Main layout ---------- */
main { position: relative; z-index: 1; }
.section {
  max-width: 980px; margin: 0 auto;
  padding: 90px 16px; text-align: center;
}
.section-title { font-size: clamp(2.8rem, 11vw, 4.6rem); margin-bottom: 2.4rem; }
.small-title { font-size: clamp(2.2rem, 8vw, 3.2rem); margin: 0 0 .6rem; }
.glass {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 24px; backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06);
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 40px 16px 80px; position: relative;
}
.hero-title { font-size: clamp(4.4rem, 20vw, 10rem); }
.hero-name {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(2rem, 8vw, 3.4rem); color: var(--cream);
  margin-top: -.2rem; letter-spacing: .02em;
}
.hero-line { max-width: 520px; margin-top: 1.2rem; color: var(--muted); font-size: 1.25rem; font-style: italic; }
.hero .reveal:nth-child(2) { transition-delay: .25s; }
.hero .reveal:nth-child(3) { transition-delay: .6s; }
.hero .reveal:nth-child(4) { transition-delay: .95s; }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1.5px solid var(--muted); border-radius: 14px; opacity: .7;
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--gold); animation: scrollDot 1.8s ease-in-out infinite;
}

/* ---------- Distance ---------- */
.distance-card { max-width: 560px; margin: 0 auto; padding: 28px 20px 30px; }
.distance-map { width: 100%; height: auto; overflow: visible; }
.pin { fill: var(--rose); filter: drop-shadow(0 0 6px var(--rose)); }
.pin-pulse { fill: none; stroke: var(--rose); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
.distance-cities {
  display: flex; justify-content: space-between; padding: 0 2%;
  margin-top: -6px; font-family: var(--sans); font-size: .85rem; letter-spacing: .08em; color: var(--blush);
}
.distance-cities span { width: 40%; }
.distance-cities span:first-child { text-align: left; }
.distance-cities span:last-child { text-align: right; }
.big-number {
  font-family: var(--sans); font-weight: 300; color: var(--cream);
  font-size: clamp(3rem, 14vw, 4.6rem); line-height: 1.1; margin: 1.2rem 0 .3rem;
  font-variant-numeric: tabular-nums;
}
.big-number small { font-size: .4em; color: var(--gold); letter-spacing: .1em; }

/* ---------- "If I were there today" plan ---------- */
.plan { list-style: none; max-width: 560px; margin: 0 auto; padding: 30px 22px 10px; text-align: left; }
.plan-item { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding-bottom: 24px; }
.plan-item:not(:last-child)::before {
  content: ""; position: absolute; left: 22px; top: 50px; bottom: 4px; width: 2px;
  background: linear-gradient(var(--gold), rgba(255,143,177,.15));
  opacity: .5;
}
.plan-icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem;
  background: rgba(255,143,177,.12); border: 1px solid var(--glass-border);
  box-shadow: 0 0 18px rgba(255,143,177,.2);
}
.plan-time { font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 4px 0 2px; }
.plan-text { font-size: 1.15rem; color: var(--cream); line-height: 1.45; }
.plan-close { font-size: clamp(2rem, 8vw, 2.8rem); color: var(--rose); margin-top: 2rem; text-shadow: 0 0 22px rgba(255,143,177,.45); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px;
  padding: 0 4px;
}
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 36px 28px; } }
.polaroid {
  background: var(--cream); padding: 10px 10px 0; border-radius: 4px;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s, opacity 1s ease;
  cursor: zoom-in; text-align: center;
}
.polaroid.reveal { transform: translateY(30px) rotate(var(--tilt, 0deg)); }
.polaroid.reveal.in { transform: rotate(var(--tilt, 0deg)); }
.polaroid:hover, .polaroid:focus-visible { transform: rotate(0deg) scale(1.04) !important; box-shadow: 0 20px 60px rgba(224,87,127,.45); z-index: 2; outline: none; }
.polaroid .ph { aspect-ratio: 4/5; overflow: hidden; background: #e9d6dc; border-radius: 2px; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; }
.polaroid .cap {
  font-family: var(--script); color: #6b2a49; font-size: clamp(1.05rem, 4.2vw, 1.5rem);
  line-height: 1.2; min-height: 3.2em; display: grid; place-items: center; padding: 4px 4px 8px;
}
.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 4px;
  background: linear-gradient(140deg, #f6c9d6, #e9a3b9 60%, #d58aa5);
  color: #fff; font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.placeholder b { font-size: 2.2rem; font-weight: 400; }

/* ---------- Reasons ---------- */
.reasons-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: 820px; margin: 0 auto 1.6rem;
}
@media (min-width: 720px) { .reasons-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.reason { perspective: 900px; aspect-ratio: 3/4; }
.reason-inner {
  display: block; position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,1.3,.5,1);
}
.reason.flipped .reason-inner { transform: rotateY(180deg); }
.reason-face {
  position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: grid; place-items: center; padding: 14px; text-align: center;
}
.reason-front {
  background: linear-gradient(150deg, #7a2557, #3d1030);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 30px rgba(0,0,0,.35), inset 0 0 30px rgba(255,143,177,.12);
}
.reason-front .r-heart { font-size: 2.2rem; color: var(--rose); animation: beat 1.6s ease-in-out infinite; }
.reason-front .r-num { font-family: var(--sans); font-size: .72rem; letter-spacing: .25em; color: var(--gold); }
.reason-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, var(--cream), var(--blush));
  color: #4a1534; font-style: italic; font-size: clamp(.98rem, 3.6vw, 1.15rem); line-height: 1.35;
  box-shadow: 0 12px 30px rgba(224,87,127,.35);
}
.reason:not(.flipped):hover .reason-inner { transform: translateY(-4px) rotate(-1deg); }

/* ---------- Envelope ---------- */
.envelope-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; transition: opacity .6s, transform .6s; }
.envelope-wrap.gone { opacity: 0; transform: scale(.92); }
.envelope {
  position: relative; width: min(340px, 86vw); aspect-ratio: 3/2;
  perspective: 1000px; filter: drop-shadow(0 22px 40px rgba(0,0,0,.45));
  animation: floaty 3.4s ease-in-out infinite;
}
.envelope > span { position: absolute; display: block; }
.env-back { inset: 0; background: #d98ea4; border-radius: 8px; }
.env-peek {
  left: 7%; right: 7%; top: 8%; bottom: 6%; z-index: 2;
  background: var(--cream); border-radius: 4px; padding: 14% 10%;
  transition: transform .9s cubic-bezier(.3,1.2,.5,1) .45s;
}
.peek-lines { display: block; height: 100%;
  background: repeating-linear-gradient(transparent 0 12px, rgba(107,42,73,.22) 12px 13.5px); }
.env-front {
  inset: 0; z-index: 3; border-radius: 8px;
  background: linear-gradient(160deg, #f6c4d2, #eaa5b9);
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
}
.env-flap {
  left: 0; right: 0; top: 0; height: 60%; z-index: 4;
  background: linear-gradient(180deg, #e7a0b5, #d27f99);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform .6s ease, z-index 0s linear .3s;
}
.env-seal {
  left: 50%; top: 56%; z-index: 5; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; display: grid !important; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ff6f98, #b8264f 70%);
  color: #ffd6e1; font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.35), inset 0 -3px 6px rgba(0,0,0,.25);
  transition: opacity .3s, transform .3s;
}
.envelope.open { animation: none; }
.envelope.open .env-flap { transform: rotateX(180deg); z-index: 1; }
.envelope.open .env-seal { opacity: 0; transform: scale(.4); }
.envelope.open .env-peek { transform: translateY(-48%); }
.env-hint { animation: blink 2.2s ease-in-out infinite; }

.letter-paper {
  max-width: 640px; margin: 0 auto; text-align: left;
  background: linear-gradient(175deg, var(--cream), #fbe9ee);
  color: #4a1534; border-radius: 6px; padding: clamp(28px, 7vw, 56px) clamp(22px, 6vw, 52px);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.4) inset;
  animation: paperIn 1s cubic-bezier(.2,.8,.2,1) both;
  position: relative;
}
.letter-paper::before {
  content: "♥"; position: absolute; top: 18px; right: 22px; color: var(--rose-deep); opacity: .5; font-size: 1.3rem;
}
.letter-greeting { font-size: clamp(2.2rem, 8vw, 2.8rem); color: #8b2b57; margin-bottom: 1rem; }
#letterBody p { margin-bottom: 1.1rem; font-size: 1.2rem; opacity: 0; transform: translateY(10px); animation: lineIn .9s ease forwards; }
.letter-poem {
  margin: 1.8rem 0 2rem; padding: 1.4rem 0 1.4rem 1.2rem;
  border-left: 2px solid rgba(224, 87, 127, .45);
}
#letterBody .letter-poem p { margin-bottom: .35rem; font-style: italic; font-size: 1.2rem; color: #6b2a49; }
#letterBody .letter-poem .poem-last {
  margin-top: .9rem; font-family: var(--script); font-style: normal;
  font-size: clamp(1.7rem, 6.5vw, 2.1rem); line-height: 1.25; color: #b8264f;
}
.letter-signoff { margin-top: 1.6rem; font-style: italic; }
.letter-name { font-size: clamp(2rem, 7vw, 2.6rem); color: #8b2b57; }

/* ---------- Our picture: arched mirror ---------- */
.mirror {
  width: min(340px, 82vw); margin: 0 auto 2rem; padding: 12px;
  border-radius: 999px 999px 22px 22px;
  background: linear-gradient(145deg, #f7dca8, #c9974f 35%, #fbe6bd 55%, #b9853f 80%, #f2c98a);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 24px 60px rgba(0,0,0,.5), 0 0 60px rgba(242,201,138,.25);
}
.mirror.reveal.in { animation: floaty 5s ease-in-out infinite; }
.mirror-glass {
  position: relative; overflow: hidden; border-radius: 999px 999px 14px 14px;
  background: #2a0c22; box-shadow: 0 0 0 3px rgba(90,40,10,.35);
}
.mirror-glass img { width: 100%; height: auto; }
.mirror-glass .placeholder { aspect-ratio: 3/4; }
.mirror-glass::after {
  content: ""; position: absolute; inset: -20% -60%; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.28) 50%, transparent 58%);
  animation: shimmer 5s ease-in-out infinite;
}
.us-text { max-width: 540px; margin: 0 auto 1.2rem; font-size: 1.2rem; color: var(--cream); font-style: italic; }
.us-ask { max-width: 480px; margin: 0 auto 1.6rem; color: var(--gold); font-size: 1.15rem; }
.us-reply { font-size: clamp(2.2rem, 9vw, 3rem); color: var(--rose); text-shadow: 0 0 22px rgba(255,143,177,.5); animation: paperIn .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes shimmer { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }

/* ---------- Cake ---------- */
.cake { position: relative; width: 240px; margin: 60px auto 26px; }
.candles { display: flex; justify-content: center; gap: 14px; height: 70px; align-items: flex-end; position: relative; z-index: 2; }
.candle {
  position: relative; width: 12px; height: 46px; border-radius: 3px 3px 0 0;
  background: repeating-linear-gradient(135deg, #fff 0 6px, var(--rose) 6px 12px);
  box-shadow: inset -2px 0 3px rgba(0,0,0,.15);
}
.candle::before { content: ""; position: absolute; top: -8px; left: 50%; width: 2px; height: 8px; margin-left: -1px; background: #3a2a2a; }
.flame {
  position: absolute; bottom: 100%; left: 50%; width: 30px; height: 56px; margin-left: -15px; margin-bottom: 2px;
  display: flex; align-items: flex-end; justify-content: center; cursor: pointer;
}
.flame i {
  display: block; width: 14px; height: 24px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse at 50% 75%, #fff 0 18%, #ffe27a 35%, #ff9d2e 70%, rgba(255,90,40,0) 100%);
  box-shadow: 0 0 18px 6px rgba(255,190,90,.55), 0 0 50px 14px rgba(255,140,60,.25);
  transform-origin: 50% 90%; animation: flicker .14s ease-in-out infinite alternate;
  transition: transform .35s ease, opacity .35s ease;
}
.candle.out .flame i { transform: scale(0, .2); opacity: 0; }
.candle.out .flame { cursor: default; }
.smoke {
  position: absolute; bottom: 100%; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: rgba(220,210,220,.6); filter: blur(3px);
  animation: smoke 1.6s ease-out forwards; pointer-events: none;
}
.tier { position: relative; margin: 0 auto; border-radius: 10px 10px 6px 6px; overflow: hidden; }
.tier-top { width: 170px; height: 62px; background: linear-gradient(180deg, #f7c6d3, #e59ab0); }
.tier-bottom { width: 230px; height: 78px; background: linear-gradient(180deg, #fbe1e8, #eaaabd); margin-top: -2px; }
.drip {
  position: absolute; top: 0; left: 0; right: 0; height: 22px; background: var(--cream);
  -webkit-mask: radial-gradient(circle 11px at 50% 11px, #000 99%, transparent) 0 0 / 28px 100% repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 10px no-repeat;
          mask: radial-gradient(circle 11px at 50% 11px, #000 99%, transparent) 0 0 / 28px 100% repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 10px no-repeat;
}
.tier-bottom::after { content: "♥ ♥ ♥ ♥ ♥"; position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--rose-deep); letter-spacing: .5em; font-size: .9rem; }
.plate { width: 270px; height: 14px; margin: -2px auto 0; border-radius: 50%; background: linear-gradient(180deg, #f4e6ea, #bfa4ae); box-shadow: 0 14px 30px rgba(0,0,0,.4); margin-left: -15px; }
.link-btn { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; font-style: italic; }
.link-btn.listening { color: var(--rose); animation: blink 1s infinite; text-decoration: none; }

.final { max-width: 560px; margin: 2.4rem auto 0; animation: paperIn 1.2s cubic-bezier(.2,.8,.2,1) both; }
.final-msg { font-size: 1.35rem; font-style: italic; color: var(--cream); }
.final-sign { font-size: clamp(2.8rem, 12vw, 4rem); margin: 1rem 0 1.6rem; color: var(--rose); text-shadow: 0 0 24px rgba(255,143,177,.6); }
.small-btn { padding: 12px 26px; font-size: .9rem; }

.footer { text-align: center; padding: 40px 16px 60px; color: var(--muted); font-size: .95rem; font-style: italic; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(15, 4, 11, .92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  animation: fadeIn .3s ease;
}
.lightbox figure { max-width: min(92vw, 900px); text-align: center; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox figcaption { font-family: var(--script); font-size: 1.8rem; color: var(--blush); margin-top: 12px; }
.lb-close { position: absolute; top: 10px; right: 16px; font-size: 2.6rem; line-height: 1; color: var(--blush); padding: 6px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 3rem; color: var(--blush); padding: 10px 14px; opacity: .8; }
.lb-prev { left: 4px; } .lb-next { right: 4px; }

/* ---------- Music button ---------- */
.music-btn {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(8px);
  font-size: 1.3rem; color: var(--gold); box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.music-btn.playing { animation: spin 6s linear infinite; }
.music-btn.muted { opacity: .55; text-decoration: line-through; }

/* ---------- Keyframes ---------- */
@keyframes beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 rgba(255,143,177,.55), 0 10px 30px rgba(224,87,127,.4); } 100% { box-shadow: 0 0 0 22px rgba(255,143,177,0), 0 10px 30px rgba(224,87,127,.4); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes blink { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes paperIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lineIn { to { opacity: 1; transform: none; } }
@keyframes flicker { from { transform: rotate(-3deg) scaleY(1); } to { transform: rotate(3deg) scaleY(1.08); } }
@keyframes smoke { from { opacity: .8; transform: translate(0,0) scale(1); } to { opacity: 0; transform: translate(6px,-50px) scale(3.5); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

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