/* Bellagio Lake Como Wedding - Master Stylesheet */
@import url("https://use.typekit.net/jzm0juw.css");
@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap");

@font-face {
  font-family: "Romance Delighter";
  src: url("../assets/Romance Delighter.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: 30 21% 89%;
  --foreground: 137 22% 15%;
  --card: 30 21% 89%;
  --card-foreground: 137 19% 28%;
  --popover: 30 21% 89%;
  --popover-foreground: 137 19% 28%;
  --primary: 137 19% 28%;
  --primary-foreground: 30 21% 89%;
  --secondary: 30 18% 86%;
  --secondary-foreground: 137 19% 28%;
  --muted: 30 16% 84%;
  --muted-foreground: 137 19% 28%;
  --accent: 137 19% 28%;
  --accent-foreground: 30 21% 89%;
  --destructive: 0 65% 55%;
  --destructive-foreground: 0 0% 100%;
  --border: 30 14% 80%;
  --input: 30 14% 80%;
  --ring: 137 19% 28%;
  --radius: 0.5rem;
  
  --ivory: 30 21% 89%;
  --cream: 30 18% 86%;
  --sage: 137 19% 28%;
  --sage-dark: 137 19% 22%;
  --sage-light: 137 19% 35%;
  
  --font-display: "Romance Delighter", "Alex Brush", "Great Vibes", cursive;
  --font-script: "Romance Delighter", "Alex Brush", "Great Vibes", cursive;
  --font-body: "mrs-eaves", "Cormorant Garamond", Georgia, serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --shadow-soft: 0 2px 15px -3px rgba(71, 84, 58, 0.08), 0 4px 6px -2px rgba(71, 84, 58, 0.04);
  --shadow-elegant: 0 10px 40px -10px rgba(71, 84, 58, 0.12), 0 4px 15px -3px rgba(71, 84, 58, 0.06);
  --shadow-lifted: 0 20px 50px -15px rgba(71, 84, 58, 0.16), 0 8px 20px -5px rgba(71, 84, 58, 0.08);
}

/* Base typography */
body {
  margin: 0;
  padding: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.lock-scroll {
  overflow: hidden !important;
}

.font-display {
  font-family: var(--font-display) !important;
  font-weight: 400;
}

.font-body {
  font-family: var(--font-body) !important;
}

.language-switch {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 1rem);
  right: calc(env(safe-area-inset-right) + 1rem);
  z-index: 60;
  padding: 0.125rem;
  border: 1px solid rgb(255 255 255 / 0.65);
  border-radius: 999px;
  background-color: hsl(var(--background) / 0.8);
  box-shadow: 0 4px 18px rgb(0 0 0 / 0.15), inset 0 1px 0 rgb(255 255 255 / 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.language-switch:not([hidden]) {
  display: inline-flex;
  gap: 0.125rem;
}

.language-switch button {
  min-width: 2.25rem;
  min-height: 2rem;
  padding: 0 0.375rem;
  border-radius: 999px;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.language-switch button:hover {
  background-color: hsl(var(--foreground) / 0.1);
}

.language-switch button[aria-pressed="true"] {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.18);
}

.language-switch button:focus-visible {
  outline: 2px solid hsl(var(--foreground));
  outline-offset: 2px;
}

.wedding-title {
  padding-top: min(17rem, 38svh);
}

.wedding-date-location {
  margin-top: 2.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.65);
  border-radius: 0.75rem;
  background-color: hsl(var(--background) / 0.72);
  background-image: linear-gradient(135deg, rgb(255 255 255 / 0.3), transparent 70%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.35);
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .wedding-title {
    padding-top: min(21rem, 40svh);
  }

  .wedding-date-location {
    margin-top: 3.5rem;
    font-size: 1rem;
  }
}

/* Animations */
@keyframes floatVilla {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(3px, -4px);
  }
  50% {
    transform: translate(0, 0);
  }
  75% {
    transform: translate(-3px, -4px);
  }
}

.animate-float-villa {
  animation: floatVilla 6s ease-in-out infinite;
}

@keyframes swayFloralLeft {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(0, -3px) rotate(1.5deg);
  }
  50% {
    transform: translate(0, 0) rotate(0deg);
  }
  75% {
    transform: translate(0, 2px) rotate(-1deg);
  }
}

.animate-floral-left {
  animation: swayFloralLeft 10s ease-in-out infinite;
}

@keyframes swayFloralRight {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(0, 3px);
  }
  50% {
    transform: translate(0, 0);
  }
  75% {
    transform: translate(0, -2px);
  }
}

.animate-floral-right {
  animation: swayFloralRight 12s ease-in-out infinite;
}

/* Music Pulsing Waves Animation */
@keyframes soundwave {
  0%, 100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}

/* Reveal on scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Top Gold Reading Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #b89862, #d8c296, #967744);
  z-index: 65;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(196, 169, 125, 0.45);
  transition: width 0.08s linear;
}

/* Hero Ambient Ken Burns & Monogram Float */
@keyframes heroBreath {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.045);
  }
}

#hero img[src*="hero-archway"] {
  animation: heroBreath 18s ease-in-out infinite alternate;
  will-change: transform;
}

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

#hero-text img[src*="couple-logo"] {
  animation: floatLogo 5.5s ease-in-out infinite;
}

/* Location Watercolor Float & Hover Lift */
.location-cream-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.location-cream-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -12px rgba(71, 84, 58, 0.2);
}

.location-cream-card img {
  animation: floatVilla 7s ease-in-out infinite;
}

/* Music Toggle Halo Pulse */
@keyframes musicHalo {
  0% {
    box-shadow: 0 0 0 0 rgba(71, 84, 58, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(71, 84, 58, 0), 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(71, 84, 58, 0), 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

#music-toggle-btn.is-playing {
  animation: musicHalo 2.8s ease-out infinite;
}

/* Linen & Hotel Card Gentle Micro-Hover */
.linen-container img {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.65s ease;
}

#accommodation .rounded-xl {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

#accommodation .rounded-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(71, 84, 58, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  #hero img[src*="hero-archway"],
  #hero-text img[src*="couple-logo"],
  .location-cream-card img,
  #music-toggle-btn.is-playing {
    animation: none;
  }
}

/* Linen Embroidered Section Responsive Container */
.linen-container {
  container-type: inline-size;
}

/* Form inputs customized to matching Bellagio aesthetic */
.form-input-bellagio {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--foreground) / 0.2);
  background-color: transparent;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input-bellagio:focus {
  border-color: hsl(var(--foreground) / 0.5);
  box-shadow: 0 0 0 2px hsl(var(--foreground) / 0.1);
}

.form-input-bellagio::placeholder {
  color: hsl(var(--foreground) / 0.4);
}

.form-radio-custom {
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid hsl(var(--foreground) / 0.35);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: border-color 0.2s ease;
  background-color: transparent;
}

.form-radio-custom:checked {
  border-color: hsl(var(--foreground));
}

.form-radio-custom:checked::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background-color: hsl(var(--foreground));
}

.form-checkbox-custom {
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid hsl(var(--foreground) / 0.35);
  border-radius: 0.25rem;
  outline: none;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: all 0.2s ease;
  background-color: transparent;
}

.form-checkbox-custom:checked {
  background-color: hsl(var(--foreground));
  border-color: hsl(var(--foreground));
}

.form-checkbox-custom:checked::after {
  content: "";
  width: 0.35rem;
  height: 0.65rem;
  border: solid hsl(var(--background));
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* Custom button states */
.btn-counter {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--foreground) / 0.2);
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-counter:hover:not(:disabled) {
  background-color: hsl(var(--foreground) / 0.05);
  border-color: hsl(var(--foreground) / 0.4);
}

.btn-counter:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Floating Audio Toggle */
#music-toggle-btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#music-toggle-btn:hover {
  transform: scale(1.08);
}

/* Details Linen Content Overlay */
.details-overlay-content {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 24% !important;
  bottom: 18% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: center !important;
  pointer-events: none !important;
  user-select: none !important;
}

/* ==========================================================================
   DayNight Template & Client Punchlist Enhancements
   ========================================================================== */

/* Color & Tone Tokens */
.bg-sage-dark {
  background-color: #283728 !important;
}

.text-sage-dark {
  color: #283728 !important;
}

.border-sage-dark {
  border-color: #283728 !important;
}

.bg-sage-deep {
  background-color: #1f2c1f !important;
}

.bg-ivory {
  background-color: #f7f3eb !important;
}

.text-ivory {
  color: #f7f3eb !important;
}

.bg-burgundy {
  background-color: #4a151e !important;
}

.text-burgundy {
  color: #4a151e !important;
}

/* Envelope Invitation Card (Matches uploaded reference media_1795424131640_05c59d2c.jpg) */
.envelope-card-wrapper {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.envelope-card-outer {
  position: relative;
  background-color: #44131c;
  background-image: radial-gradient(circle at 50% 30%, #581824 0%, #3a0f16 100%);
  border-radius: 1.5rem 1.5rem 1.75rem 1.75rem;
  padding: 1.25rem 1.25rem 3.5rem 1.25rem;
  box-shadow: 0 20px 45px -10px rgba(40, 10, 15, 0.45), 0 8px 16px -4px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 235, 235, 0.15);
  overflow: visible;
}

.envelope-card-inner {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  padding: 3rem 2rem 2.75rem 2rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(180, 140, 100, 0.25), inset 0 0 0 4px #faf8f5, 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid #e8e0d5;
}

.envelope-card-inner::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(160, 120, 80, 0.35);
  border-radius: 0.65rem;
  pointer-events: none;
}

.wax-seal-badge {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d4af37, #aa8222, #7a5811);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 2px 3px rgba(255, 255, 255, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #8e6819;
  z-index: 20;
}

.wax-seal-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff8e8;
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
}

/* Cream Luxury Cards (Clean light theme without green background) */
.card-green-luxury {
  background-color: #f9f8f5;
  border: 1px solid rgba(71, 84, 58, 0.16);
  border-radius: 1.5rem;
  color: #283728;
  box-shadow: 0 14px 35px -10px rgba(71, 84, 58, 0.12);
  position: relative;
  overflow: hidden;
}

.card-green-inner {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 1.25rem;
  color: #283728;
  border: 1px solid rgba(40, 55, 40, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Location Card (Clean Cream Arch Card without green background) */
.location-ornate-frame {
  padding: 0;
  border-radius: 3.25rem;
}

.location-cream-card {
  background-color: #f9f8f5;
  border-radius: 3.25rem;
  padding: 2.5rem 1.5rem 2rem;
  color: #47543a;
  border: 1px solid rgba(71, 84, 58, 0.18);
  box-shadow: 0 14px 35px -10px rgba(71, 84, 58, 0.14);
  text-align: center;
  overflow: hidden;
}

/* Luxury Editorial Timeline Components */
.timeline-track {
  position: relative;
  padding-left: 2.25rem;
  --timeline-progress: 0%;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 0.55rem;
  width: 2px;
  background-color: rgba(196, 169, 125, 0.22);
  border-radius: 9999px;
}

.timeline-track::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 0.55rem;
  width: 2px;
  height: calc((100% - 3rem) * var(--timeline-progress-ratio, 0));
  background: linear-gradient(to bottom, #c4a97d, #9e7e47);
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(196, 169, 125, 0.45);
  transition: height 0.12s ease-out;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.35rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.02rem;
  top: 1.45rem;
  width: 0.75rem;
  height: 0.75rem;
  background-color: #e6dfd1;
  border: 2px solid #f9f8f5;
  box-shadow: 0 0 0 2px rgba(196, 169, 125, 0.25);
  transform: rotate(45deg) scale(0.65);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s ease, box-shadow 0.55s ease;
  z-index: 2;
}

.timeline-reveal.is-revealed .timeline-marker {
  background-color: #c4a97d;
  transform: rotate(45deg) scale(1.1);
  box-shadow: 0 0 0 5px rgba(196, 169, 125, 0.28), 0 0 12px rgba(196, 169, 125, 0.5);
}

.timeline-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.timeline-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 238, 0.75));
  border: 1px solid rgba(196, 169, 125, 0.32);
  border-radius: 1.25rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 24px -8px rgba(71, 84, 58, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(71, 84, 58, 0.16);
  border-color: rgba(196, 169, 125, 0.6);
}

.timeline-time-pill {
  display: inline-block;
  background-color: rgba(196, 169, 125, 0.15);
  color: #7c6238;
  border: 1px solid rgba(196, 169, 125, 0.38);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.18rem 0.7rem;
  margin-bottom: 0.35rem;
}

.timeline-watercolor-icon {
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: scale(0.82);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-reveal.is-revealed .timeline-watercolor-icon {
  transform: scale(1);
}

.timeline-watercolor-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Accordion Component */
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.95);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(255, 255, 255, 0.95);
}

.accordion-content.is-open {
  max-height: 800px;
}

.accordion-chevron {
  transition: transform 0.3s ease;
}

.accordion-chevron.is-open {
  transform: rotate(180deg);
}

.badge-preferred {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(40, 55, 40, 0.15);
  color: #283728;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

/* Modal for "More Details" */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 25, 20, 0.65);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background-color: #f7f3eb;
  border: 1px solid rgba(40, 55, 40, 0.2);
  border-radius: 1.5rem;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
  position: relative;
}

.modal-overlay.is-active .modal-dialog {
  transform: translateY(0) scale(1);
}

/* Boutiques & Recommendations Grid */
.recommendation-card {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(40, 55, 40, 0.15);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recommendation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  background-color: rgba(255, 255, 255, 0.9);
}

/* Copy button feedback */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(40, 55, 40, 0.25);
  background: rgba(255, 255, 255, 0.85);
  color: #283728;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: #283728;
  color: #f7f3eb;
}

/* Ambient Falling Pastel Leaves Overlay */
.falling-leaves-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  overflow: hidden;
}

.pastel-leaf {
  position: absolute;
  top: -10%;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  animation-name: leafFall, leafSway;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}

.pastel-leaf svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(71, 84, 58, 0.12));
}

@keyframes leafFall {
  0% {
    top: -10%;
    opacity: 0;
  }
  10% {
    opacity: var(--leaf-opacity, 0.65);
  }
  85% {
    opacity: var(--leaf-opacity, 0.65);
  }
  100% {
    top: 108%;
    opacity: 0;
  }
}

@keyframes leafSway {
  0%, 100% {
    transform: translateX(0) rotate(0deg) rotateY(0deg);
  }
  33% {
    transform: translateX(var(--leaf-sway, 36px)) rotate(55deg) rotateY(35deg);
  }
  66% {
    transform: translateX(calc(var(--leaf-sway, 36px) * -0.7)) rotate(-40deg) rotateY(-25deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .falling-leaves-overlay {
    display: none;
  }
}
