/* ============================================================
   BOTANICAL WATERCOLOR & BURGUNDY DOODLE 3D WEDDING INVITATION
   ============================================================ */
:root {
  --bg-outer: #EFE4E5;
  --bg-blush: #F6EDEE;
  --bg-paper: #FAF4F5;
  --bg-card: #FFFFFF;
  --burgundy: #6B1D2F;
  --burgundy-deep: #521423;
  --burgundy-soft: #8A394C;
  --rose-dust: #C98E9A;
  --rose-light: #E8C5CD;
  --sage: #8FA58A;
  --sage-soft: #CAD8C6;
  --gold: #C8A267;
  --ink: #5A2230;
  --ink-muted: #845963;

  --font-script: 'Dancing Script', 'Alex Brush', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;

  --phone-w: 430px;
}

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

html, body {
  height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-outer);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

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

/* ============================================================
   DESKTOP AMBIENT BACKDROP (matches reference preview feel)
   ============================================================ */
.desktop-ambient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 250, 251, 0.85), transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(236, 207, 213, 0.45), transparent 50%),
    linear-gradient(180deg, #F3E9EA 0%, #F5ECEC 72%, #DCE6D9 92%, #BFCFBC 100%);
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.85;
}
.ambient-sun { top: 4%; right: 16%; animation: sunSpin 45s linear infinite; }
.ambient-cloud-1 { top: 14%; left: 6%; animation: cloudDrift 14s ease-in-out infinite; }
.ambient-cloud-2 { top: 34%; left: -2%; animation: cloudDrift 18s ease-in-out infinite reverse; }
.ambient-cloud-3 { top: 20%; right: 5%; animation: cloudDrift 16s ease-in-out infinite; }
.ambient-heart-r { top: 32%; right: 2%; transform: rotate(10deg); animation: gentleFloat 5s ease-in-out infinite; }
.ambient-fl-1 { top: 53%; left: 10%; animation: gentleFloat 4.5s ease-in-out infinite; }
.ambient-fl-2 { top: 47%; right: 11%; animation: gentleFloat 5.5s ease-in-out infinite 1s; }
.ambient-fl-3 { top: 68%; left: 16%; animation: gentleFloat 5s ease-in-out infinite 0.5s; }
.ambient-fl-4 { top: 66%; right: 15%; animation: gentleFloat 4.8s ease-in-out infinite 1.4s; }

.ambient-meadow {
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  height: 210px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}
.ambient-meadow img {
  height: 220px;
  width: auto;
  max-width: none;
  margin: 0 -55px;
  filter: drop-shadow(0 6px 12px rgba(90, 60, 65, 0.08));
  transform-origin: bottom center;
  animation: meadowSway 6.5s ease-in-out infinite;
}
.ambient-meadow img:nth-child(2) {
  animation-delay: -2.2s;
  transform: scaleX(-1);
}
.ambient-meadow img:nth-child(3) {
  animation-delay: -4.1s;
}

/* ============================================================
   MAIN VIEWPORT SHELL (Mobile full-bleed / Desktop phone card)
   ============================================================ */
.app-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: var(--phone-w);
  height: min(860px, 100%);
  background: var(--bg-blush);
  border: 2.5px solid var(--burgundy);
  border-radius: 26px;
  box-shadow:
    0 24px 60px rgba(82, 20, 35, 0.18),
    0 6px 18px rgba(82, 20, 35, 0.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (max-width: 520px) {
  .desktop-ambient { display: none; }
  .app-shell { padding: 0; }
  .phone-frame {
    max-width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ============================================================
   COVER SCREEN (00:00 - 00:01)
   ============================================================ */
.cover-screen {
  position: absolute;
  inset: 0;
  z-index: 40;
  background:
    radial-gradient(circle at 50% 18%, #FDF8F9 0%, var(--bg-blush) 65%),
    var(--bg-blush);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 36px 24px 0;
  overflow: hidden;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.cover-screen.is-opening {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}

.cover-screen.is-hidden {
  display: none;
}

.cover-doodle {
  position: absolute;
  pointer-events: none;
}

.cover-header {
  text-align: center;
  position: relative;
  z-index: 4;
  margin-top: 6px;
}

.cover-subtitle {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--rose-dust);
  text-transform: capitalize;
  margin-bottom: 4px;
}

.cover-names {
  font-family: var(--font-script);
  font-size: 46px;
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1.05;
  text-shadow: 0 2px 10px rgba(107, 29, 47, 0.08);
}

/* Overlapping Polaroids */
.cover-polaroids {
  position: relative;
  width: 100%;
  height: 290px;
  margin-top: 8px;
  z-index: 3;
}

.polaroid {
  position: absolute;
  background: #FFFFFF;
  padding: 7px 7px 26px;
  border-radius: 3px;
  box-shadow: 0 10px 26px rgba(82, 20, 35, 0.15);
  transition: transform 0.5s ease;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1px;
}

.polaroid-left {
  width: 175px;
  height: 230px;
  left: 16px;
  top: 0;
  transform: rotate(-7.5deg);
  z-index: 2;
  animation: polaroidFloatL 5.5s ease-in-out infinite;
}

.polaroid-right {
  width: 180px;
  height: 236px;
  right: 16px;
  top: 38px;
  transform: rotate(6.5deg);
  z-index: 1;
  animation: polaroidFloatR 6s ease-in-out infinite;
}

/* Burgundy Scalloped Invitation Card */
.scalloped-card {
  position: relative;
  width: 100%;
  max-width: 318px;
  background: var(--burgundy);
  color: #FFF6F7;
  text-align: center;
  padding: 28px 22px 46px;
  z-index: 6;
  margin-top: -54px;
  box-shadow: 0 14px 32px rgba(82, 20, 35, 0.28);
  border-radius: 6px;
  --scallop-r: 9px;
}

/* Scalloped outer border built cleanly with SVG overlay/pseudo edge */
.scalloped-card::before {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: -1;
  background:
    radial-gradient(circle at 10px 6px, var(--burgundy) 7px, transparent 7.5px) top / 20px 12px repeat-x,
    radial-gradient(circle at 10px 6px, var(--burgundy) 7px, transparent 7.5px) bottom / 20px 12px repeat-x,
    radial-gradient(circle at 6px 10px, var(--burgundy) 7px, transparent 7.5px) left / 12px 20px repeat-y,
    radial-gradient(circle at 6px 10px, var(--burgundy) 7px, transparent 7.5px) right / 12px 20px repeat-y;
}

.scalloped-card::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(255, 240, 242, 0.25);
  border-radius: 3px;
  pointer-events: none;
}

.cover-dear {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 240, 243, 0.85);
  margin-bottom: 6px;
}

.cover-guest {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #FFFFFF;
}

.open-wax-btn {
  position: relative;
  z-index: 8;
  margin-top: -42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  animation: waxPulse 2.6s ease-in-out infinite;
}

.open-wax-btn:hover {
  transform: scale(1.09) rotate(-3deg);
  filter: drop-shadow(0 10px 18px rgba(82, 20, 35, 0.34));
}

.open-wax-btn:active {
  transform: scale(0.96);
}

.wax-seal {
  filter: drop-shadow(0 6px 14px rgba(68, 18, 30, 0.34));
}

.cover-meadow-wrap {
  position: relative;
  width: 100%;
  height: 126px;
  margin-top: -16px;
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 92%, rgba(164, 187, 160, 0.34) 0%, rgba(164, 187, 160, 0.1) 58%, transparent 82%);
}

.cover-meadow-wrap img {
  width: 156%;
  max-width: none;
  height: 175px;
  margin-bottom: -24px;
  object-fit: cover;
  object-position: bottom center;
  transform-origin: bottom center;
  animation: meadowSway 6s ease-in-out infinite;
}

/* ============================================================
   3D CINEMATIC INTRO STAGE (00:01 - 00:20)
   ============================================================ */
.stage-3d {
  position: absolute;
  inset: 0;
  z-index: 30;
  perspective: 720px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 35%, #FAF3F4 0%, #F5EBEC 62%, #DDE8DB 86%, #BFCFBC 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.stage-3d.is-active {
  opacity: 1;
  pointer-events: auto;
}

.stage-3d.is-finished {
  opacity: 0;
  pointer-events: none;
}

.world-3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.plane-3d {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  pointer-events: none;
}

/* Plane 1: Camera Portal Wall (z = 0) — oversized so zero background peeks when zoomed out */
#plane-portal {
  width: 126%;
  height: 126%;
  left: -13%;
  top: -13%;
  transform: translate3d(0, 0, 0);
}

.portal-svg-wrap {
  position: absolute;
  inset: 0;
}

.portal-float {
  position: absolute;
  pointer-events: none;
}

.portal-bow-tl { top: 20%; left: 15%; transform: rotate(-16deg); animation: gentleFloat 4.2s ease-in-out infinite; }
.portal-rings { top: 53%; left: 18%; transform: rotate(-5deg); animation: gentleFloat 4.8s ease-in-out infinite 0.5s; }
.portal-heart-1 { top: 18%; right: 24%; animation: gentleFloat 4s ease-in-out infinite 0.2s; }
.portal-heart-2 { top: 24%; left: 48%; animation: gentleFloat 4.6s ease-in-out infinite 0.8s; }
.portal-heart-3 { top: 34%; left: 22%; animation: gentleFloat 5s ease-in-out infinite 0.3s; }
.portal-heart-4 { top: 41%; right: 17%; animation: gentleFloat 4.4s ease-in-out infinite 1s; }
.portal-heart-5 { top: 56%; right: 15%; animation: gentleFloat 5.2s ease-in-out infinite 0.6s; }
.portal-heart-6 { top: 66%; left: 15%; animation: gentleFloat 4.7s ease-in-out infinite 1.2s; }
.portal-flower-1 { top: 30%; right: 27%; animation: gentleFloat 5.4s ease-in-out infinite; }
.portal-flower-2 { top: 48%; left: 16%; animation: gentleFloat 4.9s ease-in-out infinite 0.7s; }

/* Decorative Burgundy Card at bottom of Camera Portal scene */
#portal-card-wrap {
  position: absolute;
  bottom: 16%;
  left: 50%;
  width: 255px;
  margin-left: -127px;
  transition: transform 0.2s linear;
}

.portal-mini-card {
  position: relative;
  height: 150px;
  background: var(--burgundy);
  border-radius: 6px;
  transform: rotate(2.5deg);
  box-shadow: 0 12px 28px rgba(82, 20, 35, 0.24);
}
.portal-mini-card::before {
  content: '';
  position: absolute;
  inset: -5px;
  z-index: -1;
  background:
    radial-gradient(circle at 9px 5px, var(--burgundy) 6px, transparent 6.5px) top / 18px 10px repeat-x,
    radial-gradient(circle at 9px 5px, var(--burgundy) 6px, transparent 6.5px) bottom / 18px 10px repeat-x,
    radial-gradient(circle at 5px 9px, var(--burgundy) 6px, transparent 6.5px) left / 10px 18px repeat-y,
    radial-gradient(circle at 5px 9px, var(--burgundy) 6px, transparent 6.5px) right / 10px 18px repeat-y;
}
.portal-mini-wax {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
}

/* Misty watercolor sage grass floor plane spanning the whole 3D garden cleanly below bottom edge */
.garden-ground-wash {
  width: 6800px;
  height: 1800px;
  margin-left: -1600px;
  margin-top: 30px;
  background: linear-gradient(
    180deg,
    rgba(220, 232, 217, 0) 0%,
    rgba(198, 214, 194, 0.52) 10%,
    rgba(166, 188, 162, 0.84) 24%,
    rgba(143, 168, 139, 0.94) 55%,
    rgba(130, 156, 126, 0.98) 100%
  );
  transform: translate3d(0, 0, -2150px);
}

/* Beat 2 Planes: Draped Floral Arch + Cake Table */
#plane-arch {
  width: 560px;
  margin-left: -280px;
  margin-top: -395px;
  transform: translate3d(-68px, -18px, -920px);
}
#plane-arch .sway-inner {
  transform-origin: top center;
  animation: drapeSway 6.5s ease-in-out infinite;
}

#plane-cake {
  width: 470px;
  margin-left: -235px;
  margin-top: -285px;
  transform: translate3d(105px, 145px, -1040px);
}
.cake-inner {
  position: relative;
}
/* Live animated flickering taper candle flame! */
.candle-flame {
  position: absolute;
  left: 28.5%;
  top: 16.2%;
  width: 14px;
  height: 22px;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background: radial-gradient(circle at 50% 68%, #FFFDF5 0%, #FFE082 48%, rgba(255, 160, 64, 0.85) 85%, transparent 100%);
  box-shadow: 0 0 18px 6px rgba(255, 204, 102, 0.58);
  transform-origin: bottom center;
  animation: candleFlicker 1.3s ease-in-out infinite alternate;
}

.arch-heart-3d {
  transform: translate3d(55px, -110px, -1120px);
  margin-left: -28px;
  margin-top: -28px;
}

/* Beat 3 Planes: Meadow Beds & Cute Bunny */
.meadow-layer {
  width: 920px;
  margin-left: -460px;
  margin-top: -120px;
}
.meadow-layer img {
  width: 100%;
  height: auto;
  transform-origin: bottom center;
  animation: meadowSway 7s ease-in-out infinite;
}
.meadow-layer.flip img {
  transform: scaleX(-1);
  animation: meadowSwayFlip 7.4s ease-in-out infinite;
}

#plane-bunny {
  width: 310px;
  margin-left: -155px;
  margin-top: -155px;
  transform: translate3d(885px, 148px, -1760px);
}
.bunny-inner {
  transform-origin: bottom center;
  animation: bunnyBreathe 3.2s ease-in-out infinite;
}

/* Beat 4 Planes: Cocktail Table + Wooden Floral Pergola */
#plane-cocktail {
  width: 375px;
  margin-left: -187px;
  margin-top: -187px;
  transform: translate3d(1460px, 148px, -1680px);
}

#plane-pergola {
  width: 980px;
  margin-left: -490px;
  margin-top: -390px;
  transform: translate3d(1870px, 28px, -2020px);
}
.pergola-inner {
  position: relative;
}
.chandelier-sparkle {
  position: absolute;
  left: 50%;
  top: 37%;
  width: 110px;
  height: 110px;
  margin-left: -55px;
  margin-top: -55px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 249, 232, 0.72) 0%, rgba(255, 244, 214, 0.18) 45%, transparent 72%);
  animation: chandelierGlow 2.8s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Beat 5 Sky Doodles inside 3D World */
.sky-3d-cloud { margin-left: -60px; margin-top: -35px; }
.sky-3d-sun { margin-left: -58px; margin-top: -58px; }
.sky-3d-sun .spin-inner { animation: sunSpin 36s linear infinite; }
.sky-3d-flower { margin-left: -18px; margin-top: -18px; }

/* Beat 5 Hero Title Overlay inside 3D stage (seamless handoff!) */
#stage-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 110px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 8;
}

/* Floating petals canvas */
#petals-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
}

/* Intro HUD: Subtle progress hairline & Skip button */
.intro-hud {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
}

.intro-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(107, 29, 47, 0.16);
  border-radius: 99px;
  overflow: hidden;
}

#intro-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--burgundy);
  border-radius: 99px;
}

.skip-intro-btn {
  background: rgba(250, 244, 245, 0.85);
  border: 1px solid rgba(107, 29, 47, 0.35);
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}

.skip-intro-btn:hover {
  background: var(--burgundy);
  color: #FFFFFF;
}

/* ============================================================
   SCROLLABLE MAIN INVITATION CONTENT (00:19 - 01:15)
   ============================================================ */
.invitation-scroll {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--bg-blush);
  scrollbar-width: thin;
  scrollbar-color: rgba(107, 29, 47, 0.28) transparent;
}

.invitation-scroll::-webkit-scrollbar {
  width: 4px;
}
.invitation-scroll::-webkit-scrollbar-thumb {
  background: rgba(107, 29, 47, 0.28);
  border-radius: 99px;
}

.section {
  position: relative;
  padding: 54px 26px;
  text-align: center;
  overflow: hidden;
}

.script-title {
  font-family: var(--font-script);
  font-size: 40px;
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1.15;
  margin-bottom: 12px;
}

.body-copy {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 315px;
  margin: 0 auto;
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 26px;
  border: 1.4px solid var(--burgundy);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--burgundy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.outline-btn:hover {
  background: var(--burgundy);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107, 29, 47, 0.2);
}

.solid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  background: var(--burgundy);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.solid-btn:hover {
  background: var(--burgundy-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(82, 20, 35, 0.24);
}

/* Meadow Watercolor Divider Strip — seamless soft watercolor mist with zero rectangular box edges */
.meadow-divider {
  position: relative;
  width: 100%;
  height: 118px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 68%, rgba(168, 190, 164, 0.28) 0%, rgba(168, 190, 164, 0.08) 54%, transparent 78%);
}

.meadow-divider img {
  width: 152%;
  max-width: none;
  height: 162px;
  margin-bottom: -24px;
  object-fit: cover;
  object-position: bottom center;
  transform-origin: bottom center;
  animation: meadowSway 6.8s ease-in-out infinite;
}

.meadow-divider.flip img {
  transform: scaleX(-1);
  animation: meadowSwayFlip 7.2s ease-in-out infinite;
}

/* Floating Section Doodles */
.sec-doodle {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* ---- 1. HERO SECTION ---- */
.hero-section {
  min-height: 760px;
  padding: 66px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background:
    radial-gradient(circle at 50% 24%, #FCF7F8 0%, var(--bg-blush) 65%),
    var(--bg-blush);
}

.hero-sky-sun {
  margin-bottom: 10px;
  animation: sunSpin 36s linear infinite;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.hero-couple-stack {
  font-family: var(--font-script);
  color: var(--burgundy);
  line-height: 1.15;
}

.hero-couple-stack .hero-name {
  display: block;
  font-size: 56px;
  font-weight: 600;
}

.hero-couple-stack .hero-amp {
  display: block;
  font-size: 38px;
  margin: 4px 0;
  color: var(--burgundy-soft);
}

.hero-date {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--burgundy);
}

.scroll-cue {
  margin-top: 22px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-dust);
  animation: bounceCue 2.2s ease-in-out infinite;
}

.hero-bottom-meadow {
  width: calc(100% + 48px);
  margin: 10px -24px 0;
  height: 146px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 72%, rgba(166, 188, 162, 0.3) 0%, rgba(166, 188, 162, 0.08) 55%, transparent 80%);
}

.hero-bottom-meadow img {
  width: 152%;
  max-width: none;
  height: 185px;
  margin-bottom: -24px;
  object-fit: cover;
  object-position: bottom center;
  transform-origin: bottom center;
  animation: meadowSway 6.5s ease-in-out infinite;
}

/* ---- 2. ARCHED PHOTO + QUOTE ---- */
.arch-photo-wrap {
  position: relative;
  width: 228px;
  height: 294px;
  margin: 14px auto 34px;
  z-index: 2;
}

.arch-outer-border {
  position: absolute;
  inset: -9px;
  border: 1.6px solid var(--burgundy);
  border-radius: 130px 130px 0 0;
  pointer-events: none;
}

.arch-inner-frame {
  width: 100%;
  height: 100%;
  border: 1.6px solid var(--burgundy);
  border-radius: 120px 120px 0 0;
  padding: 5px;
  background: #FFF9FA;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(82, 20, 35, 0.12);
}

.arch-inner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 114px 114px 0 0;
  transition: transform 0.6s ease;
}

.arch-inner-frame:hover img {
  transform: scale(1.04);
}

.arch-bow-tl {
  position: absolute;
  top: 10px;
  left: -34px;
  transform: rotate(-28deg);
  z-index: 4;
  animation: gentleFloat 5s ease-in-out infinite;
}

.arch-bow-br {
  position: absolute;
  bottom: 6px;
  right: -34px;
  transform: rotate(-18deg);
  z-index: 4;
  animation: gentleFloat 5.5s ease-in-out infinite 0.8s;
}

.quote-source {
  margin-top: 14px;
  font-weight: 700;
  font-size: 13px;
  color: var(--burgundy);
}

/* ---- 3. BRIDE & GROOM PROFILES ---- */
.profile-block {
  position: relative;
  padding: 26px 0 18px;
}

/* Architectural Crossed-Corner Frame (like reference 00:26 & 00:30) */
.crossed-frame {
  position: relative;
  width: 214px;
  height: 230px;
  margin: 26px auto 26px;
  padding: 8px;
  background: #FFF9FA;
  border: 1.5px solid var(--burgundy);
  z-index: 2;
}

/* Extended corner tick lines! */
.crossed-frame::before,
.crossed-frame::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.crossed-frame::before {
  top: -12px;
  bottom: -12px;
  left: -1px;
  right: -1px;
  border-left: 1.5px solid var(--burgundy);
  border-right: 1.5px solid var(--burgundy);
}

.crossed-frame::after {
  left: -12px;
  right: -12px;
  top: -1px;
  bottom: -1px;
  border-top: 1.5px solid var(--burgundy);
  border-bottom: 1.5px solid var(--burgundy);
}

.crossed-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-script-name {
  font-family: var(--font-script);
  font-size: 40px;
  color: var(--burgundy);
  line-height: 1.1;
  margin-bottom: 6px;
}

.profile-full-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 10px;
}

.profile-parents {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-muted);
  white-space: pre-line;
  margin-bottom: 18px;
}

/* ---- 4. FULL-BLEED PHOTO + SCALLOPED COUNTDOWN ---- */
.countdown-hero-section {
  padding: 0 0 46px;
  position: relative;
}

.countdown-photo-wrap {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.countdown-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.countdown-photo-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(180deg, var(--bg-blush) 0%, transparent 100%);
  z-index: 2;
}

.countdown-card {
  position: relative;
  max-width: 344px;
  margin: -56px auto 0;
  padding: 50px 20px 30px;
  background: var(--burgundy);
  color: #FFF6F7;
  text-align: center;
  border-radius: 6px;
  z-index: 5;
  box-shadow: 0 16px 36px rgba(82, 20, 35, 0.25);
}

.countdown-card::before {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: -1;
  background:
    radial-gradient(circle at 10px 6px, var(--burgundy) 7px, transparent 7.5px) top / 20px 12px repeat-x,
    radial-gradient(circle at 10px 6px, var(--burgundy) 7px, transparent 7.5px) bottom / 20px 12px repeat-x,
    radial-gradient(circle at 6px 10px, var(--burgundy) 7px, transparent 7.5px) left / 12px 20px repeat-y,
    radial-gradient(circle at 6px 10px, var(--burgundy) 7px, transparent 7.5px) right / 12px 20px repeat-y;
}

.countdown-wax {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.countdown-card .script-title {
  color: #FFF6F7;
  font-size: 36px;
  margin-bottom: 18px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
}

.cd-label {
  font-size: 11px;
  letter-spacing: 0.8px;
  color: rgba(255, 240, 242, 0.82);
  margin-top: 5px;
}

.save-date-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1.3px solid rgba(255, 244, 246, 0.78);
  border-radius: 4px;
  background: transparent;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.save-date-btn:hover {
  background: #FFFFFF;
  color: var(--burgundy);
}

/* ---- 5. HOLY MATRIMONY & RECEPTION ---- */
.event-row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 330px;
  padding: 28px 20px;
  overflow: hidden;
}

.event-row.align-left {
  justify-content: flex-start;
  text-align: center;
}

.event-row.align-right {
  justify-content: flex-end;
  text-align: center;
}

.event-info {
  position: relative;
  z-index: 3;
  width: 63%;
}

.event-info .script-title {
  font-size: 36px;
  margin-bottom: 6px;
}

.event-day {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}

.event-big-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.05;
  margin: 2px 0;
}

.event-month {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.event-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 10px;
}

.event-venue {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.event-address {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.event-art {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.event-art-pergola {
  right: -68px;
  bottom: 14px;
  width: 245px;
  filter: drop-shadow(0 8px 16px rgba(90, 50, 58, 0.08));
}

.event-art-archcake {
  left: -56px;
  bottom: 6px;
  width: 215px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-art-archcake .mini-drape {
  width: 185px;
  margin-bottom: -110px;
  position: relative;
  z-index: 1;
}

.event-art-archcake .mini-cake {
  width: 168px;
  position: relative;
  z-index: 2;
  margin-left: 24px;
}

/* ---- 6. DRESSCODE ---- */
.swatch-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.25s ease;
}

.swatch-item:hover {
  transform: translateY(-4px) scale(1.06);
}

.swatch-item span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

/* ---- 7. ORGANIC HEART PHOTO FRAME ---- */
.heart-frame-wrap {
  position: relative;
  width: 288px;
  height: 270px;
  margin: 6px auto;
  z-index: 2;
}

.heart-frame-wrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 12px 26px rgba(82, 20, 35, 0.14));
}

/* ---- 8. WEDDING GIFT & LIVE STREAMING ---- */
.feature-card {
  position: relative;
  padding: 26px 12px;
  z-index: 2;
}

.feature-icon {
  margin: 0 auto 8px;
  display: flex;
  justify-content: center;
}

.feature-card .outline-btn {
  margin-top: 18px;
}

/* ---- 9. PREWEDDING VIDEO (Deep Burgundy Curved Arch Section) ---- */
.video-section {
  position: relative;
  background: var(--burgundy);
  color: #FFF6F7;
  padding: 78px 24px 66px;
  margin-top: 24px;
  border-radius: 50% 50% 0 0 / 48px 48px 0 0;
}

.video-section .script-title {
  color: #FFF6F7;
  font-size: 36px;
  margin-bottom: 20px;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 4px solid #FFF9FA;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(42, 8, 16, 0.35);
  cursor: pointer;
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-frame:hover img {
  transform: scale(1.05);
}

.video-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(54, 12, 22, 0.25);
  transition: background 0.3s;
}

.video-frame:hover .video-play-badge {
  background: rgba(54, 12, 22, 0.4);
}

.video-play-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 249, 250, 0.92);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.video-caption {
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(255, 242, 244, 0.85);
  margin: 18px auto 16px;
  max-width: 290px;
}

.pill-light-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 99px;
  border: none;
  background: #FFF9FA;
  color: var(--burgundy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s;
}

.pill-light-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 6, 13, 0.25);
}

/* ---- 10. OUR MOMENT — VERTICAL FILMSTRIP GALLERY ---- */
.gallery-section {
  padding: 46px 14px 22px;
  position: relative;
}

.gallery-stage {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 8px;
  align-items: stretch;
  margin-top: 16px;
}

.gallery-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  opacity: 0.88;
}

.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-card {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: 0 8px 22px rgba(82, 20, 35, 0.12);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

/* ---- 11. TILTED STATIONERY RSVP FORM ---- */
.rsvp-section {
  padding: 42px 22px 24px;
  position: relative;
}

.rsvp-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 34px 24px 28px;
  text-align: left;
  box-shadow: 0 16px 38px rgba(82, 20, 35, 0.12);
  transform: rotate(-2.2deg);
  transition: transform 0.4s ease;
  z-index: 3;
}

.rsvp-card:focus-within {
  transform: rotate(0deg);
}

.rsvp-bow {
  position: absolute;
  top: -32px;
  right: -10px;
  transform: rotate(12deg);
  z-index: 5;
}

.rsvp-card .script-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1.2px solid rgba(107, 29, 47, 0.35);
  border-radius: 4px;
  background: #FFFDFD;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107, 29, 47, 0.1);
}

.rsvp-pergola-vignette {
  position: relative;
  margin: 26px -22px -18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rsvp-pergola-vignette .pergola-img {
  width: 245px;
  position: relative;
  z-index: 2;
  margin-bottom: -48px;
}

/* ---- 12. OUR LOVE STORY (Dashed Cards) ---- */
.story-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.story-card {
  position: relative;
  padding: 20px 18px;
  border: 1.5px dashed var(--burgundy);
  border-radius: 18px;
  background: rgba(255, 252, 253, 0.72);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-muted);
}

.story-year-pill {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 12px;
  border-radius: 99px;
  background: rgba(107, 29, 47, 0.09);
  color: var(--burgundy);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

/* ---- 13. FULL-BLEED PHOTO BEFORE WISHES ---- */
.pre-wishes-photo {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  margin-top: -12px;
}

.pre-wishes-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pre-wishes-photo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, var(--bg-blush) 0%, transparent 100%);
  z-index: 2;
}

/* ---- 14. BEST WISHES GUESTBOOK ---- */
.wishes-section {
  position: relative;
  padding: 46px 22px 44px;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 142, 154, 0.14) 0%, transparent 32%),
    radial-gradient(circle at 88% 35%, rgba(201, 142, 154, 0.14) 0%, transparent 34%),
    var(--bg-blush);
}

.wishes-form-card {
  background: rgba(255, 252, 253, 0.78);
  border: 1.3px solid rgba(107, 29, 47, 0.18);
  border-radius: 12px;
  padding: 20px 18px;
  text-align: left;
  margin: 22px 0 26px;
}

.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wish-card {
  border: 1.4px dashed var(--burgundy);
  border-radius: 14px;
  background: rgba(255, 252, 253, 0.85);
  padding: 18px 16px;
  text-align: left;
  animation: fadeUp 0.45s ease both;
}

.wish-author {
  font-family: var(--font-script);
  font-size: 25px;
  color: var(--burgundy);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.wish-time {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: var(--rose-dust);
  font-weight: 600;
}

.wish-text {
  font-size: 12.8px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.page-btn {
  border: none;
  background: transparent;
  color: var(--burgundy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.page-btn:hover:not(:disabled) {
  background: rgba(107, 29, 47, 0.1);
}

.page-btn.is-active {
  background: var(--burgundy);
  color: #FFFFFF;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ---- 15. THANK YOU FOOTER ---- */
.thankyou-section {
  padding: 52px 24px 0;
  position: relative;
}

.cloud-medallion-wrap {
  position: relative;
  width: 244px;
  height: 244px;
  margin: 18px auto 24px;
  z-index: 2;
}

.cloud-medallion-wrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 12px 26px rgba(82, 20, 35, 0.14));
}

.thankyou-names {
  font-family: var(--font-script);
  font-size: 40px;
  color: var(--burgundy);
  margin: 14px 0 6px;
}

.footer-credit {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--rose-dust);
  padding: 10px 0 18px;
}

/* ============================================================
   FLOATING CONTROLS (Audio Disc + Replay 3D Button)
   ============================================================ */
.floating-controls {
  position: absolute;
  right: 16px;
  bottom: 18px;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.floating-controls.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.fab-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 245, 247, 0.6);
  background: var(--burgundy-deep);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(52, 12, 22, 0.32);
  transition: transform 0.25s, background 0.25s;
}

.fab-btn:hover {
  transform: scale(1.08);
  background: var(--burgundy);
}

.fab-btn.is-playing svg {
  animation: sunSpin 7s linear infinite;
}

.fab-replay {
  width: 36px;
  height: 36px;
  background: rgba(255, 249, 250, 0.92);
  color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
  font-size: 14px;
}

.fab-replay:hover {
  background: var(--burgundy);
  color: #FFFFFF;
}

/* ============================================================
   MODALS & LIGHTBOX & TOAST
   ============================================================ */
.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 60;
  background: rgba(54, 14, 24, 0.55);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  max-height: 84%;
  overflow-y: auto;
  background: var(--bg-paper);
  border: 1.5px solid var(--burgundy);
  border-radius: 14px;
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: 0 22px 48px rgba(42, 8, 16, 0.35);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(107, 29, 47, 0.1);
  color: var(--burgundy);
  font-size: 18px;
  cursor: pointer;
}

.bank-box {
  background: #FFFFFF;
  border: 1.2px dashed var(--burgundy);
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0;
  text-align: left;
}

.bank-name {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rose-dust);
}

.bank-num {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--burgundy);
  margin: 2px 0;
}

.bank-holder {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.copy-mini-btn {
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid var(--burgundy);
  background: transparent;
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}

.copy-mini-btn:hover {
  background: var(--burgundy);
  color: #FFFFFF;
}

.qr-canvas-box {
  background: #FFFFFF;
  display: inline-block;
  padding: 14px;
  border-radius: 10px;
  border: 1.5px dashed var(--burgundy);
  margin: 14px 0;
}

.lightbox-img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 6px;
}

.toast {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 80;
  background: var(--burgundy-deep);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 99px;
  box-shadow: 0 8px 22px rgba(42, 8, 16, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}

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

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes meadowSway {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  50% { transform: rotate(1.15deg) translateX(4px); }
}

@keyframes meadowSwayFlip {
  0%, 100% { transform: scaleX(-1) rotate(0deg) translateX(0); }
  50% { transform: scaleX(-1) rotate(-1.15deg) translateX(-4px); }
}

@keyframes drapeSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(1.4deg); }
}

@keyframes bunnyBreathe {
  0%, 100% { transform: scaleY(1) translateY(0); }
  45% { transform: scaleY(1.032) scaleX(0.985) translateY(-3px); }
  65% { transform: scaleY(0.99) translateY(0); }
}

@keyframes candleFlicker {
  0% { transform: scale(0.95) rotate(-2deg); opacity: 0.9; }
  50% { transform: scale(1.08) rotate(2deg); opacity: 1; }
  100% { transform: scale(0.98) rotate(-1deg); opacity: 0.94; }
}

@keyframes chandelierGlow {
  0% { opacity: 0.55; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1.1); }
}

@keyframes sunSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes cloudDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(14px); }
}

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

@keyframes polaroidFloatL {
  0%, 100% { transform: rotate(-7.5deg) translateY(0); }
  50% { transform: rotate(-6.2deg) translateY(-5px); }
}

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

@keyframes waxPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@keyframes bounceCue {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
