/* ==========================================================================
   Abhishek & Anjali — Traditional Kerala Hindu Wedding
   Main Stylesheet: styles/style.css
   ========================================================================== */

:root {
  --primary: #380007;
  --primary-dark: #230004;
  --gold: #fed65b;
  --gold-light: #ffe088;
  --gold-muted: #c5a059;
  --gold-deep: #735c00;
  --sand: #fbf9f5;
  --sand-card: #faf8f5;
  --sand-border: #dbc0c0;
}

/* Base Body Styles */
html {
  /* scroll-behavior: auto prevents fighting between browser native smooth scrolling and JS scroll engines */
  scroll-behavior: auto;
}

html.lenis, html.lenis-smooth {
  height: auto;
}

html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}


body {
  background-color: var(--sand);
  color: #1b1c1a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Hide default browser scrollbars for clean aesthetic */
::-webkit-scrollbar {
  display: none;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom Visible Scrollbar for Wishes Board */
#blessings-board, .wishes-scroll {
  overscroll-behavior: auto !important;
  touch-action: pan-y !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(197, 160, 89, 0.75) rgba(219, 192, 192, 0.25) !important;
  -ms-overflow-style: auto !important;
}

#blessings-board::-webkit-scrollbar, .wishes-scroll::-webkit-scrollbar {
  display: block !important;
  width: 6px;
}

#blessings-board::-webkit-scrollbar-track, .wishes-scroll::-webkit-scrollbar-track {
  background: rgba(219, 192, 192, 0.2);
  border-radius: 9999px;
}

#blessings-board::-webkit-scrollbar-thumb, .wishes-scroll::-webkit-scrollbar-thumb {
  background: #c5a059;
  border-radius: 9999px;
}

#blessings-board::-webkit-scrollbar-thumb:hover, .wishes-scroll::-webkit-scrollbar-thumb:hover {
  background: #735c00;
}

/* Floating Audio Player */
.music-player {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(56, 0, 7, 0.92);
  border: 1px solid rgba(255, 224, 136, 0.55);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.music-player:hover {
  transform: scale(1.08);
  background: rgba(88, 14, 23, 0.95);
  box-shadow: 0 12px 32px rgba(56, 0, 7, 0.35);
}

.music-icon {
  color: #ffe088;
  font-size: 20px;
  line-height: 1;
}

/* Animated Music Bars Indicator */
.music-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  pointer-events: none;
}

.music-bars span {
  width: 2px;
  height: 12px;
  border-radius: 2px;
  background: #ffe088;
  transform-origin: center;
  animation: musicBars 0.9s ease-in-out infinite;
}

.music-bars span:nth-child(1) {
  animation-delay: -0.3s;
}

.music-bars span:nth-child(2) {
  animation-delay: -0.15s;
}

.music-bars span:nth-child(3) {
  animation-delay: 0s;
}

.music-bars span:nth-child(4) {
  animation-delay: -0.45s;
}

.music-player.paused .music-bars span {
  animation-play-state: paused;
  height: 5px;
}

.music-player.paused .music-icon {
  opacity: 0.65;
}

@keyframes musicBars {
  0%, 100% {
    transform: scaleY(0.45);
  }
  50% {
    transform: scaleY(1.5);
  }
}

@media (max-width: 640px) {
  .music-player {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

/* Floating Scroll To Top Button with Circular Progress */
.scroll-to-top {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 99;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(56, 0, 7, 0.92);
  border: 1px solid rgba(255, 224, 136, 0.4);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              visibility 0.35s,
              background 0.3s,
              border-color 0.3s,
              box-shadow 0.3s;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  transform: translateY(-2px) scale(1.06);
  background: rgba(88, 14, 23, 0.96);
  border-color: rgba(255, 224, 136, 0.75);
  box-shadow: 0 12px 32px rgba(56, 0, 7, 0.45);
}

.scroll-to-top .progress-ring {
  position: absolute;
  inset: 0;
  width: 50px;
  height: 50px;
  transform: rotate(-90deg); /* Start circular progress at top */
}

.scroll-to-top .progress-ring__track {
  stroke: rgba(255, 224, 136, 0.2);
}

.scroll-to-top .progress-ring__circle {
  stroke: #ffe088;
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  transition: stroke-dashoffset 0.12s linear;
}

.scroll-to-top .scroll-icon {
  position: relative;
  z-index: 2;
  color: #ffe088;
  font-size: 26px;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

.scroll-to-top:hover .scroll-icon {
  transform: translateY(-2px);
  color: #fed65b;
}

@media (max-width: 640px) {
  .scroll-to-top {
    right: 16px;
    bottom: 72px;
    width: 44px;
    height: 44px;
  }
  .scroll-to-top .progress-ring {
    width: 44px;
    height: 44px;
  }
}


/* Realistic Swaying Keyframes */
@keyframes swayL {
  0%, 100% {
    transform: rotate(-2.5deg);
  }
  50% {
    transform: rotate(2.5deg);
  }
}

@keyframes swayR {
  0%, 100% {
    transform: rotate(2.2deg);
  }
  50% {
    transform: rotate(-2.2deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.2);
  }
}

@keyframes rippleBeacon {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.85);
    opacity: 0;
  }
  100% {
    transform: scale(1.85);
    opacity: 0;
  }
}

@keyframes floatParticle {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  75% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-130px) rotate(45deg);
    opacity: 0;
  }
}

@keyframes fallPetal {
  0% {
    transform: translateY(-10px) translateX(0) rotate(0deg);
    opacity: 0;
  }
  20% {
    opacity: 0.9;
  }
  80% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(220px) translateX(30px) rotate(120deg);
    opacity: 0;
  }
}

.animate-sway-left {
  transform-origin: top center;
  animation: swayL 6.5s ease-in-out infinite;
}

.animate-sway-right {
  transform-origin: top center;
  animation: swayR 7s ease-in-out infinite;
}

.diya-pulse {
  animation: pulseGlow 3s ease-in-out infinite;
}

.beacon-ring {
  animation: rippleBeacon 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.particle-up {
  animation: floatParticle 8s ease-in-out infinite;
}

.petal-down {
  animation: fallPetal 9s linear infinite;
}

/* 3D Kerala Floral Garland Elements */
.flower-jasmine {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #ffffff 40%, #fef3c7 80%, #fde68a 100%);
  border-radius: 9999px;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.3);
}

.flower-marigold {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 30% 30%, #fde047 15%, #f59e0b 60%, #b45309 100%);
  border-radius: 9999px;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,0.25), 0 3px 6px rgba(0,0,0,0.35);
}

.mango-leaf {
  width: 12px;
  height: 18px;
  background: linear-gradient(135deg, #15803d, #14532d);
  border-radius: 0 100% 0 100%;
  transform: rotate(45deg);
}

/* Polaroid Chapter Cards */
.polaroid-card {
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

/* ==========================================================================
   INTERACTIVE ENVELOPE OPENER OVERLAY
   ========================================================================== */
body.no-scroll {
  overflow: hidden !important;
}

#envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: radial-gradient(ellipse 100% 90% at 50% 0%, #faf8f5 0%, #f4eee2 55%, #e8decb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.8rem;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
  user-select: none;
}

#envelope-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 45%, rgba(56, 0, 7, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

#envelope-overlay.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.env-wrap {
  width: min(340px, 86vw);
  aspect-ratio: 1.45 / 1;
  position: relative;
  perspective: 1400px;
  cursor: pointer;
  overflow: visible;
  filter: drop-shadow(0 20px 42px rgba(56, 0, 7, 0.18)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s ease;
}

.env-wrap:hover {
  transform: translateY(-4px) scale(1.02);
}

.env-wrap.open:hover {
  transform: none;
}

.env-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 58%;
  background: linear-gradient(180deg, #380007 0%, #520610 100%);
  clip-path: polygon(0 0, 100% 0, 95% 30%, 50% 100%, 5% 30%);
  transform-origin: top center;
  transform: rotateX(0deg);
  border-bottom: 1px solid rgba(254, 214, 91, 0.45);
  box-shadow: 0 4px 20px rgba(56, 0, 7, 0.25);
  z-index: 3;
  transition: transform 1.8s cubic-bezier(0.22, 0.61, 0.36, 1), z-index 0s linear 0.9s;
}

.env-wrap.open .env-flap {
  transform: rotateX(-180deg);
  z-index: 1;
}

.env-pocket {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.pocket-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2b0106 0%, #42040b 100%);
  clip-path: polygon(0 100%, 40% 40%, 60% 40%, 100% 100%);
  filter: drop-shadow(0 18px 40px rgba(56, 0, 7, 0.22));
  border-bottom: 1px solid rgba(254, 214, 91, 0.35);
}

.pocket-left {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, #48050e 0%, #350107 100%);
  clip-path: polygon(0 0, 20% 4%, 90% 35%, 90% 100%, 0 100%);
  box-shadow: inset -14px 0 18px rgba(0, 0, 0, 0.15);
}

.pocket-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(225deg, #48050e 0%, #350107 100%);
  clip-path: polygon(0 35%, 90% 5%, 100% 0%, 100% 100%, 0 100%);
  box-shadow: inset 14px 0 18px rgba(0, 0, 0, 0.15);
}

.env-letter {
  position: relative;
  background: linear-gradient(160deg, #fffdfa 0%, #faf8f5 50%, #f4ede2 100%);
  border: 1px solid rgba(197, 160, 89, 0.6);
  box-shadow: 0 8px 36px rgba(56, 0, 7, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 94%;
  height: 90%;
  margin: auto;
  top: 5%;
  gap: 0.6rem;
  overflow: hidden;
  border-radius: 8px;
  transform: translateY(0) scale(1);
  z-index: 1;
}

.env-seal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  transition: transform 1.2s cubic-bezier(0.6, 0, 0.2, 1), opacity 0.8s ease;
  animation: sealFloat 3s ease-in-out infinite;
}

@keyframes sealFloat {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -53%) scale(1.03);
  }
}

.env-wrap.open .env-seal {
  transform: translate(-50%, -180%) scale(0.35);
  opacity: 0;
  animation: none;
  pointer-events: none;
}

.env-monogram {
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-size: clamp(1.85rem, 8vw, 2.6rem);
  color: var(--primary);
  line-height: 1;
  font-weight: 600;
}

.env-rule {
  width: 85px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c5a059, transparent);
}

.env-names {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #554242;
  text-align: center;
  padding: 0 12px;
  font-weight: 600;
}

.env-date {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}

.env-cta {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #7a7060;
  animation: breathe 3.2s ease-in-out infinite;
}

.env-cta::before,
.env-cta::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: #d4c4a8;
  vertical-align: middle;
  margin: 0 0.65rem;
}

@keyframes breathe {
  0%, 100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.env-overlay-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  letter-spacing: 0.32em;
  color: #6e6a63;
  text-transform: uppercase;
  font-style: italic;
}

/* ==========================================================================
   POPUP & MODAL ANIMATIONS
   ========================================================================== */

/* Universal Modal Backdrop Transition */
.app-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.app-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal Inner Card (Spring Entrance & Smooth Exit) */
.modal-card-container {
  transform: scale(0.93) translateY(24px);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease-out;
  will-change: transform, opacity;
}

.app-modal.is-active .modal-card-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   LIGHTBOX MODAL & SMOOTH SLIDING STYLES
   ========================================================================== */

#lightbox-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#lightbox-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Header Slide Down */
#lightbox-modal .lightbox-header {
  transform: translateY(-24px);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
              opacity 0.35s ease 0.08s;
}

#lightbox-modal.is-active .lightbox-header {
  transform: translateY(0);
  opacity: 1;
}

/* Navigation Buttons Appearance */
#lightbox-modal .lightbox-nav-btn {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease 0.1s,
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

#lightbox-modal.is-active .lightbox-nav-btn {
  opacity: 1;
  transform: scale(1);
}

#lightbox-modal .lightbox-nav-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 25px rgba(254, 214, 91, 0.35);
}

/* Dots Indicator */
#lightbox-modal #lightbox-dots {
  transform: translate(-50%, 24px);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
              opacity 0.35s ease 0.1s;
}

#lightbox-modal.is-active #lightbox-dots {
  transform: translate(-50%, 0);
  opacity: 1;
}

.lightbox-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  padding: 0;
}

.lightbox-dot:hover {
  background: rgba(255, 255, 255, 0.65);
  transform: scale(1.2);
}

.lightbox-dot.active {
  width: 26px;
  background: linear-gradient(90deg, #fed65b 0%, #ffe088 100%);
  border-color: #ffe088;
  box-shadow: 0 0 14px rgba(254, 214, 91, 0.7);
}

/* Lightbox Stage & Slide Image Viewport */
.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-slide {
  position: absolute;
  max-height: 80vh;
  max-width: 90vw;
  object-fit: contain;
  border-radius: 1.25rem;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
  will-change: transform, opacity;
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   CARDS ANIMATIONS (Ceremonies, Gallery, Couple, Wishes)
   ========================================================================== */

/* 1. Ceremony Event Cards */
.ceremony-card {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  will-change: transform, box-shadow;
}

.ceremony-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 50px rgba(56, 0, 7, 0.3), 0 0 0 1.5px rgba(197, 160, 89, 0.65);
  border-color: rgba(254, 214, 91, 0.75) !important;
}

.ceremony-card .ceremony-img {
  object-position: right bottom !important;
  transition: transform 0.75s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform;
}

#modal-banner-img {
  object-position: right bottom !important;
}

.ceremony-card:hover .ceremony-img {
  transform: scale(1.08);
}

.ceremony-card .action-plus-btn {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.3s ease,
              color 0.3s ease,
              box-shadow 0.3s ease;
}

.ceremony-card:hover .action-plus-btn {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(254, 214, 91, 0.5);
}

.ceremony-card:hover .action-plus-btn .material-symbols-outlined {
  transform: rotate(90deg);
}

/* 2. Gallery Cards */
.gallery-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  will-change: transform, box-shadow;
}

.gallery-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 45px rgba(56, 0, 7, 0.25);
  border-color: rgba(197, 160, 89, 0.85) !important;
}

.gallery-card img {
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), filter 0.5s ease;
  will-change: transform;
}

.gallery-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.04);
}

.gallery-card .fullscreen-badge {
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.gallery-card:hover .fullscreen-badge {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(254, 214, 91, 0.4);
}

/* 3. Couple Cards */
.couple-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  will-change: transform, box-shadow;
}

.couple-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(56, 0, 7, 0.14);
  border-color: rgba(115, 92, 0, 0.55);
}

.couple-card .couple-img {
  transition: transform 0.75s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform;
}

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

/* 4. Ashirwad Wish Cards */
.wish-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  will-change: transform;
}

.wish-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(56, 0, 7, 0.08);
  border-color: rgba(197, 160, 89, 0.7);
}

@keyframes wishNewEntrance {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    border-color: #fed65b;
    box-shadow: 0 0 24px rgba(254, 214, 91, 0.45);
  }
  60% {
    transform: translateY(2px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: rgba(219, 192, 192, 0.6);
  }
}

.wish-card-new {
  animation: wishNewEntrance 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 5. Animated Toast & Feedback Notification */
@keyframes toastSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(0.94);
  }
  60% {
    transform: translateY(3px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast-animated {
  animation: toastSlideDown 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ========================================================= */
/* 6. MOBILE SLIDE-IN HAMBURGER DRAWER                       */
/* ========================================================= */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 2, 4, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: linear-gradient(180deg, #240308 0%, #160104 100%);
  border-left: 1px solid rgba(254, 214, 91, 0.28);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.65);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

/* Hamburger button icon morph */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4f0e8;
  border: 1px solid #e4e2de;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hamburger-btn:hover {
  background: #eae6dc;
  border-color: #c5a059;
}

.hamburger-btn span {
  display: block;
  width: 17px;
  height: 2px;
  background-color: #380007;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav Links */
.mobile-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  color: #fbf9f5;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(254, 214, 91, 0.12);
  border-color: rgba(254, 214, 91, 0.35);
  transform: translateX(3px);
}

/* ========================================================= */
/* 7. GUEST ESSENTIALS & FAQ ACCORDION                       */
/* ========================================================= */
.faq-item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(56, 0, 7, 0.05);
}

.faq-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
  animation: faqExpand 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes faqExpand {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




