/* ==========================================================================
   BIRTHDAY WEBSITE - STYLES & DESIGN SYSTEM (PURE LIGHT THEME EDITION)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Caveat:wght@600;700&family=Cormorant+Garamond:ital,wght@0,600;1,400;1,600&family=Inter:ital,wght@0,300;0,400;0,600;0,800;1,400&family=Montserrat:wght@400;500;600;700&family=Outfit:wght@400;600;800;900&family=Playfair+Display:ital,wght@0,600;1,400;1,700&family=Space+Mono:wght@400;700&family=Syne:wght@700;800&display=swap');

:root {
  --rose: #e8547a;
  --rose-lt: #f9b8cb;
  --blush: #fde8ef;
  --blush2: #fcd5e0;
  --petal: #fff0f5;
  --gold: #d4956a;
  --gold-lt: #f5c9a0;
  --mauve: #c2607a;
  --cream: #fff8fb;
  --ink: #3a1828;
  --ink-soft: #6b3050;
  --lavender: #d4a0c0;
  --bg: #fff0f4;

  /* Pure Light Theme Mappings */
  --bg-dark: var(--petal);
  --bg-light: var(--cream);
  --bg-craft: var(--petal);
  --text-dark: var(--ink);
  --text-muted: var(--ink-soft);
  --accent-gold: var(--gold);
  --accent-amber: var(--rose);
  --accent-sparkle: var(--gold-lt);

  --font-display: 'Archivo Black', sans-serif;
  --font-syne: 'Syne', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-mono: 'Space Mono', monospace;
  --font-hand: 'Caveat', cursive;
  --font-sans: 'Inter', sans-serif;
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   FULLSCREEN SNAP SCROLLING LAYOUT
   -------------------------------------------------------------------------- */
.main-container {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.section-snap {
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   SECTION 0: LIGHT THEME INTRO COUNTER & ROSE GOLD BURN REVEAL
   -------------------------------------------------------------------------- */
.intro-section {
  background: radial-gradient(circle at center, var(--cream) 0%, var(--petal) 100%);
  position: relative;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, var(--cream) 0%, var(--bg) 100%);
  cursor: pointer;
  will-change: transform, opacity, filter;
}

.intro-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 28vw, 18rem);
  line-height: 1;
  letter-spacing: -0.02em;
  will-change: transform, opacity, filter;
  display: inline-flex;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--rose) 0%, var(--mauve) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 15px 35px rgba(232, 84, 122, 0.25));
}

.intro-prompt {
  margin-top: 1.5rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve);
  background: var(--cream);
  padding: 8px 24px;
  border-radius: 30px;
  border: 1px solid var(--rose-lt);
  box-shadow: 0 4px 18px rgba(232, 84, 122, 0.18);
  font-family: var(--font-mono);
  animation: pulsePrompt 1.8s ease-in-out infinite alternate;
}

@keyframes pulsePrompt {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 18px rgba(232, 84, 122, 0.18);
  }

  100% {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(232, 84, 122, 0.38);
  }
}

.od-col {
  position: relative;
  height: 1em;
  overflow: hidden;
  display: inline-block;
}

.od-strip {
  display: flex;
  flex-direction: column;
  will-change: transform, filter;
}

.od-digit {
  height: 1em;
  line-height: 1;
  display: block;
  text-align: center;
  color: var(--rose);
}

.intro-label {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  font-family: var(--font-mono);
  background: var(--cream);
  padding: 8px 24px;
  border-radius: 20px;
  border: 1px solid var(--rose-lt);
  box-shadow: 0 4px 15px rgba(232, 84, 122, 0.15);
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.watermark-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 2vh 4vw;
  cursor: pointer;
  z-index: 4;
  -webkit-tap-highlight-color: transparent;
}

.watermark {
  font-family: var(--font-display);
  font-size: clamp(10rem, 46vw, 34rem);
  line-height: 1;
  color: var(--rose);
  opacity: 0.12;
  user-select: none;
  white-space: nowrap;
  transition: opacity 0.3s ease, filter 0.3s ease;
  display: block;
}

.watermark-btn:hover .watermark {
  opacity: 0.22;
  filter: drop-shadow(0 0 45px rgba(232, 84, 122, 0.4));
}

.press-prompt {
  position: absolute;
  top: calc(50% + 9vh);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mauve);
  background: var(--cream);
  padding: 8px 24px;
  border-radius: 20px;
  border: 1px solid var(--rose-lt);
  box-shadow: 0 4px 15px rgba(232, 84, 122, 0.15);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  font-family: var(--font-mono);
}

.corner {
  position: absolute;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  z-index: 5;
  font-family: var(--font-mono);
}

.corner.br {
  bottom: 22px;
  right: 24px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

.ember-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.ember {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-lt) 0%, var(--rose) 55%, transparent 80%);
  pointer-events: none;
}

.smoke {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 184, 203, 0.5) 0%, rgba(194, 96, 122, 0.25) 45%, transparent 75%);
  pointer-events: none;
  filter: blur(1px);
}

.flame-lick {
  position: fixed;
  border-radius: 50% 50% 50% 50% / 68% 68% 32% 32%;
  background: radial-gradient(ellipse at 50% 70%, var(--cream) 0%, var(--rose-lt) 32%, var(--rose) 58%, transparent 78%);
  pointer-events: none;
  filter: blur(1.5px);
  mix-blend-mode: multiply;
  transform-origin: 50% 100%;
}

.reveal-flash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: radial-gradient(circle, var(--cream) 0%, var(--rose-lt) 35%, var(--rose) 60%, transparent 78%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

/* --------------------------------------------------------------------------
   SECTION 1: HYPER-MODERN LUXURY HERO (SMALL ANIMATED GRID BG & ULTRA-PREMIUM FRONT)
   -------------------------------------------------------------------------- */
.hero-first-section {
  background: radial-gradient(circle at 50% 35%, #fffafc 0%, #fde8ef 60%, #f7d6e0 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* Ambient Glow Orbs */
.hero1-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  will-change: transform;
}

.hero1-glow-orb.orb-1 {
  top: 10%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 184, 203, 0.6) 0%, rgba(232, 84, 122, 0.2) 55%, transparent 75%);
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.hero1-glow-orb.orb-2 {
  bottom: 8%;
  right: 12%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 201, 160, 0.55) 0%, rgba(212, 149, 106, 0.18) 60%, transparent 80%);
  animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

.hero1-glow-orb.orb-3 {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 240, 245, 0.8) 0%, rgba(232, 84, 122, 0.1) 70%, transparent 90%);
  animation: floatOrb 10s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(35px, -25px) scale(1.1);
  }
}

/* Small Animated Grid Pattern */
.hero1-grid-pattern {
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(to right, rgba(232, 84, 122, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 84, 122, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  opacity: 0.7;
  pointer-events: none;
  animation: moveSmallGrid 18s linear infinite;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.15) 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.15) 85%);
}

@keyframes moveSmallGrid {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 48px 48px;
  }
}

/* Micro Dot Overlay on Grid Intersections */
.hero1-grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 149, 106, 0.4) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  background-position: 12px 12px;
  opacity: 0.5;
  pointer-events: none;
  animation: pulseSmallGridDots 5s ease-in-out infinite alternate;
}

@keyframes pulseSmallGridDots {
  0% {
    opacity: 0.35;
    transform: scale(1);
  }

  100% {
    opacity: 0.65;
    transform: scale(1.008);
  }
}

/* Scanning Light Beam across grid */
.hero1-grid-scanline {
  position: absolute;
  top: -25%;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(180deg, transparent 0%, rgba(232, 84, 122, 0.09) 50%, transparent 100%);
  pointer-events: none;
  animation: scanGrid 7s ease-in-out infinite;
}

@keyframes scanGrid {
  0% {
    top: -25%;
  }

  50% {
    top: 110%;
  }

  100% {
    top: -25%;
  }
}

/* Random Floating 3D Background Hearts Layer */
.hero1-hearts-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
  perspective: 800px;
}

.hero1-bg-heart {
  position: absolute;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 18px rgba(232, 84, 122, 0.38));
  will-change: transform, opacity;
  transform-style: preserve-3d;
  animation: floatHeart3D 6s ease-in-out infinite alternate;
}

@keyframes floatHeart3D {
  0% {
    transform: perspective(600px) translateY(0px) rotateX(15deg) rotateY(-15deg) rotateZ(0deg) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: perspective(600px) translateY(-25px) rotateX(35deg) rotateY(25deg) rotateZ(12deg) scale(1.15);
    opacity: 0.75;
  }

  100% {
    transform: perspective(600px) translateY(-45px) rotateX(-20deg) rotateY(-30deg) rotateZ(-15deg) scale(0.9);
    opacity: 0.35;
  }
}

/* Staggered Random Positions & Sizes for 3D Background Hearts */
.hero1-bg-heart.pos-1 {
  top: 8%;
  left: 6%;
  font-size: 1.4rem;
  animation-duration: 6.5s;
  animation-delay: 0s;
}

.hero1-bg-heart.pos-2 {
  top: 18%;
  left: 88%;
  font-size: 1.8rem;
  animation-duration: 8.2s;
  animation-delay: 1.2s;
}

.hero1-bg-heart.pos-3 {
  top: 78%;
  left: 8%;
  font-size: 2.1rem;
  animation-duration: 7.0s;
  animation-delay: 0.5s;
}

.hero1-bg-heart.pos-4 {
  top: 82%;
  left: 92%;
  font-size: 1.5rem;
  animation-duration: 9.1s;
  animation-delay: 2.1s;
}

.hero1-bg-heart.pos-5 {
  top: 42%;
  left: 4%;
  font-size: 1.6rem;
  animation-duration: 5.8s;
  animation-delay: 1.8s;
}

.hero1-bg-heart.pos-6 {
  top: 52%;
  left: 94%;
  font-size: 1.3rem;
  animation-duration: 7.4s;
  animation-delay: 0.8s;
}

.hero1-bg-heart.pos-7 {
  top: 12%;
  left: 32%;
  font-size: 1.2rem;
  animation-duration: 6.2s;
  animation-delay: 2.4s;
}

.hero1-bg-heart.pos-8 {
  top: 15%;
  left: 68%;
  font-size: 1.7rem;
  animation-duration: 8.5s;
  animation-delay: 0.3s;
}

.hero1-bg-heart.pos-9 {
  top: 72%;
  left: 24%;
  font-size: 1.4rem;
  animation-duration: 7.8s;
  animation-delay: 1.5s;
}

.hero1-bg-heart.pos-10 {
  top: 76%;
  left: 74%;
  font-size: 2.0rem;
  animation-duration: 6.9s;
  animation-delay: 2.7s;
}

.hero1-bg-heart.pos-11 {
  top: 30%;
  left: 16%;
  font-size: 1.1rem;
  animation-duration: 5.5s;
  animation-delay: 0.9s;
}

.hero1-bg-heart.pos-12 {
  top: 36%;
  left: 82%;
  font-size: 1.5rem;
  animation-duration: 7.2s;
  animation-delay: 1.7s;
}

.hero1-bg-heart.pos-13 {
  top: 62%;
  left: 12%;
  font-size: 1.3rem;
  animation-duration: 8.0s;
  animation-delay: 2.0s;
}

.hero1-bg-heart.pos-14 {
  top: 88%;
  left: 48%;
  font-size: 1.6rem;
  animation-duration: 6.7s;
  animation-delay: 0.4s;
}

.hero1-bg-heart.pos-15 {
  top: 5%;
  left: 52%;
  font-size: 1.4rem;
  animation-duration: 7.5s;
  animation-delay: 1.1s;
}

/* Glass Header Pill Badges */
.hero1-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 30;
}

.header-badge-luxe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 250, 252, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(249, 184, 203, 0.75);
  padding: 8px 22px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(232, 84, 122, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header-badge-luxe:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
  box-shadow: 0 14px 35px rgba(232, 84, 122, 0.22), inset 0 1px 0 #ffffff;
  color: var(--rose);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 12px var(--rose);
  animation: pulseDot 1.5s infinite;
}

.live-icon {
  font-size: 13px;
  animation: floatSparkle 3s ease-in-out infinite alternate;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
}

/* Center Hero Body */
.hero1-body {
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  position: relative;
  max-width: 720px;
  width: 100%;
}

/* Floating Sparkle Micro Ornaments */
.floating-sparkle {
  position: absolute;
  pointer-events: none;
  font-size: 1.8rem;
  filter: drop-shadow(0 6px 14px rgba(232, 84, 122, 0.35));
  animation: floatSparkle 4s ease-in-out infinite alternate;
}

.floating-sparkle.spark-1 {
  top: -30px;
  left: 5%;
  animation-delay: 0s;
}

.floating-sparkle.spark-2 {
  top: 22%;
  right: -30px;
  animation-delay: 1.2s;
  font-size: 2.2rem;
}

.floating-sparkle.spark-3 {
  bottom: 20%;
  left: -25px;
  animation-delay: 2.4s;
}

.floating-sparkle.spark-4 {
  top: -15px;
  right: 8%;
  animation-delay: 0.8s;
  font-size: 1.6rem;
}

.floating-sparkle.spark-5 {
  bottom: 8%;
  right: -10px;
  animation-delay: 1.8s;
  font-size: 1.7rem;
}

@keyframes floatSparkle {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  100% {
    transform: translateY(-18px) rotate(18deg) scale(1.1);
  }
}

/* Giant 3D Metallic Foil "20" Backdrop Badge */
.hero1-20-badge-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -1.6rem;
  z-index: 1;
}

.hero1-20-badge {
  font-family: var(--font-syne), var(--font-display);
  font-size: clamp(6.5rem, 18vw, 12.5rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #e8547a 0%, #c2607a 30%, #d4956a 65%, #f5c9a0 85%, #e8547a 100%);
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 20px 40px rgba(232, 84, 122, 0.32));
  animation: goldShimmer 6s linear infinite;
  user-select: none;
}

@keyframes goldShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero1-20-subtag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: -12px;
  background: rgba(255, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px 20px;
  border-radius: 20px;
  border: 1px solid rgba(249, 184, 203, 0.85);
  box-shadow: 0 8px 22px rgba(232, 84, 122, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.subtag-star {
  color: var(--rose);
  font-size: 9px;
  animation: pulseDot 2s infinite;
}

/* Masterpiece Editorial Title */
.hero1-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  z-index: 2;

}

.hero1-title .title-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--ink);
  letter-spacing: 0.03em;
  text-shadow: 0 4px 15px rgba(232, 84, 122, 0.1);
}

.hero1-title .title-bold-modern {
  font-family: var(--font-syne), var(--font-sans);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-transform: uppercase;
  filter: drop-shadow(0 6px 18px rgba(58, 24, 40, 0.12));
}

.hero1-title .title-gold-shimmer {
  font-family: var(--font-syne), var(--font-sans);
  font-weight: 800;
  font-size: clamp(3.4rem, 8.5vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #e8547a 0%, #d4956a 40%, #f5c9a0 70%, #e8547a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 4.5s linear infinite;
  filter: drop-shadow(0 8px 24px rgba(232, 84, 122, 0.3));
}

@keyframes shimmerText {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.hero1-gold-line {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--rose) 50%, transparent 100%);
  margin: 1.4rem 0;
  border-radius: 2px;
}

.gold-line-diamond {
  font-size: 8px;
  color: var(--rose);
  background: var(--cream);
  padding: 0 4px;
  position: absolute;
}

/* Glassmorphism Frosted Subtitle Card */
.hero1-subtitle-card {
  background: rgba(255, 250, 252, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(249, 184, 203, 0.85);
  border-radius: 24px;
  padding: 14px 32px;
  box-shadow: 0 12px 35px rgba(194, 96, 122, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  max-width: 520px;
  transition: all 0.3s ease;
}

.hero1-subtitle-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(232, 84, 122, 0.2), inset 0 1px 0 #ffffff;
}

.hero1-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 2.1vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Scroll Hint Action Button */
.hero1-scroll-btn {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mauve);
  background: rgba(255, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 11px 30px;
  border-radius: 35px;
  border: 1px solid rgba(249, 184, 203, 0.9);
  box-shadow: 0 8px 25px rgba(232, 84, 122, 0.2), inset 0 1px 0 #ffffff;
  animation: bounceHint 2.2s cubic-bezier(0.36, 0, 0.66, -0.56) infinite;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.scroll-arrow {
  color: var(--rose);
  font-size: 12px;
  transition: transform 0.3s ease;
}

.hero1-scroll-btn:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 16px 40px rgba(232, 84, 122, 0.38), inset 0 1px 0 #ffffff;
  color: var(--rose);
  border-color: var(--rose);
}

.hero1-scroll-btn:hover .scroll-arrow {
  transform: translateY(3px);
}

@keyframes bounceHint {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-7px);
  }

  60% {
    transform: translateY(-3px);
  }
}

/* --------------------------------------------------------------------------
   SECTION 2: HERO BANNER & CURVED WAVE MARQUEE (PURE LIGHT THEME)
   -------------------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(135deg, var(--bg) 0%, var(--petal) 100%);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 4rem;
  position: relative;
  font-family: var(--font-sans);
  overflow: hidden;
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  z-index: 20;
}

.dynamic-datetag {
  background: var(--cream);
  color: var(--rose);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--rose-lt);
  box-shadow: 0 4px 14px rgba(232, 84, 122, 0.12);
}

.hero-body {
  margin-top: 1.5rem;
  z-index: 20;
  position: relative;
  max-width: 460px;
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--ink);
  pointer-events: auto;
}

.hero-title span.font-light {
  font-weight: 300;
  color: var(--ink);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  display: inline-block;
}

.hero-title span.font-bold {
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(2.1rem, 5.4vw, 4.2rem);
  letter-spacing: -0.02em;
  display: inline-block;
}

.hero-title span.font-gold {
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(232, 84, 122, 0.2));
  font-size: clamp(2.5rem, 6.4vw, 4.8rem);
  display: inline-block;
}

.gold-divider {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, var(--rose) 0%, var(--gold) 100%);
  margin: 1.75rem 0;
  pointer-events: auto;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 360px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  pointer-events: auto;
}

/* Curved Wave Photo Marquee Layer */
.marquee-layer {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.marquee-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
}

.marquee-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 8px;
  border: 1.5px solid var(--rose-lt);
  background: var(--cream);
  pointer-events: auto;
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: offset-distance, transform;
  box-shadow: 0 6px 16px rgba(194, 96, 122, 0.15);
}

.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.marquee-card:hover {
  transform: scale(1.35) !important;
  z-index: 50;
  box-shadow: 0 16px 35px rgba(232, 84, 122, 0.35);
  border-color: var(--rose);
}

.marquee-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  z-index: 20;
}

.hero-footer-line {
  flex: 1;
  height: 1px;
  background: var(--blush2);
  margin-right: 2rem;
}

/* --------------------------------------------------------------------------
   SECTION 2: LUXURY WAX SEAL ENVELOPE & UNFOLDING LETTER (LIGHT THEME)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   SECTION 2.5: LUXURY WAX SEAL ENVELOPE & UNFOLDING LETTER (FULLY RESPONSIVE)
   -------------------------------------------------------------------------- */
.envelope-section {
  background: radial-gradient(ellipse at 50% 30%, var(--petal) 0%, var(--blush) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  user-select: none;
  height: 100vh;
  max-height: 100vh;
  padding: 0;
}

.envelope-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 100vw);
  height: min(600px, 100vh);
  background: radial-gradient(circle, rgba(249, 184, 203, 0.5) 0%, rgba(245, 201, 160, 0.25) 50%, transparent 75%);
  pointer-events: none;
  filter: blur(50px);
}

.envelope-header {
  position: absolute;
  top: clamp(1.2rem, 4.5vh, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 100%;
}

.envelope-badge {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--rose-lt);
  color: var(--mauve);
  padding: 6px 20px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: clamp(10px, 2.5vw, 11px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 8px 25px rgba(232, 84, 122, 0.12);
}

.envelope-stage {
  position: relative;
  width: min(460px, 86vw);
  height: min(270px, 36vh);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  z-index: 20;
  margin: auto;
}

/* Envelope Container Card */
.envelope-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush2) 100%);
  border-radius: 18px;
  box-shadow: 0 25px 65px rgba(194, 96, 122, 0.22), 0 0 0 1.5px var(--rose-lt);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.envelope-wrapper:hover {
  transform: translateY(-4px) rotateX(3deg) scale(1.015);
  box-shadow: 0 35px 80px rgba(194, 96, 122, 0.32), 0 0 0 2px var(--rose);
}

/* 3D Top Triangular Flap */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 56%;
  background: linear-gradient(180deg, var(--petal) 0%, var(--blush) 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.75s cubic-bezier(0.645, 0.045, 0.355, 1), z-index 0.2s ease;
  z-index: 20;
  border-bottom: 1.5px solid var(--rose-lt);
}

/* 3D Metallic Golden Wax Seal */
.wax-seal {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(52px, 12vw, 68px);
  height: clamp(52px, 12vw, 68px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-lt) 0%, var(--gold) 60%, #b87a4c 100%);
  box-shadow: 0 8px 20px rgba(212, 149, 106, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  border: 2px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 900;
  z-index: 30;
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
}

.wax-seal:hover {
  transform: translate(-50%, -50%) scale(1.12);
  filter: drop-shadow(0 0 20px rgba(232, 84, 122, 0.5));
}

.wax-seal-prompt {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: clamp(9px, 2.2vw, 10px);
  letter-spacing: 0.12em;
  color: var(--mauve);
  background: var(--cream);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--rose-lt);
  box-shadow: 0 4px 12px rgba(232, 84, 122, 0.18);
}

/* Front Pocket Body */
.envelope-pocket {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--blush) 0%, var(--blush2) 100%);
  clip-path: polygon(0 0, 50% 50%, 100% 0, 100% 100%, 0 100%);
  z-index: 15;
  box-shadow: inset 0 4px 14px rgba(194, 96, 122, 0.15);
  border: 1px solid var(--rose-lt);
}

/* Responsive Viewport-Contained Unfolding Letter (Perfect Fixed Centering) */
.envelope-letter {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(520px, 92vw);
  height: auto;
  max-height: min(560px, 82vh);
  background: var(--cream);
  background-image: radial-gradient(var(--blush2) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  border-radius: 22px;
  padding: clamp(1rem, 3.5vw, 1.5rem) clamp(1rem, 4vw, 1.8rem);
  box-shadow: 0 25px 85px rgba(194, 96, 122, 0.45);
  border-left: 5px double var(--rose);
  border-right: 1px solid var(--rose-lt);
  border-top: 1px solid var(--rose-lt);
  border-bottom: 1px solid var(--rose-lt);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -45%) scale(0.85);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
  color: var(--ink);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.letter-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 4.5vw, 1.8rem);
  color: var(--mauve);
  margin-bottom: 0.3rem;
  font-weight: 900;
  line-height: 1.2;
  flex-shrink: 0;
}

.letter-scroll-area {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 6px;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rose) rgba(232, 84, 122, 0.1);
  display: flex;
  flex-direction: column;
}

.letter-scroll-area::-webkit-scrollbar {
  width: 5px;
}

.letter-scroll-area::-webkit-scrollbar-track {
  background: rgba(232, 84, 122, 0.08);
  border-radius: 10px;
}

.letter-scroll-area::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 10px;
}

.letter-scroll-area::-webkit-scrollbar-thumb:hover {
  background: var(--mauve);
}

.letter-text {
  font-family: var(--font-hand);
  font-size: clamp(0.95rem, 3.6vw, 1.35rem);
  line-height: 1.38;
  color: var(--ink);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.letter-signature {
  font-family: var(--font-hand);
  font-size: clamp(1.05rem, 3.8vw, 1.45rem);
  color: var(--mauve);
  text-align: right;
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
  font-weight: bold;
}

.letter-footer-actions {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(232, 84, 122, 0.25);
}

.letter-close-btn {
  display: inline-block;
  align-self: center;
  background: linear-gradient(135deg, var(--rose) 0%, var(--mauve) 100%);
  color: var(--cream);
  border: none;
  padding: 8px 22px;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(9px, 2.5vw, 11px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(232, 84, 122, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.letter-close-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 84, 122, 0.5);
}

/* Open Envelope Animation State */
.envelope-wrapper.is-open .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
}

.envelope-wrapper.is-open .wax-seal {
  opacity: 0;
  pointer-events: none;
}

.envelope-wrapper.is-open .envelope-letter,
.envelope-wrapper.is-open~.envelope-letter,
.envelope-section.is-open .envelope-letter {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  z-index: 999;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   PHOTO LIGHTBOX POPUP MODAL (LIGHT THEME)
   -------------------------------------------------------------------------- */
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

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

.photo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(253, 232, 239, 0.88);
  backdrop-filter: blur(14px);
}

.photo-modal-content {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 85vh;
  background: var(--cream);
  padding: 16px 16px 22px 16px;
  border-radius: 24px;
  box-shadow: 0 35px 80px rgba(194, 96, 122, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1.5px solid var(--rose-lt);
}

.photo-modal.active .photo-modal-content {
  transform: scale(1) translateY(0);
}

.photo-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  background: var(--cream);
  color: var(--rose);
  border: 2px solid var(--rose-lt);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(194, 96, 122, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-modal-close:hover {
  transform: scale(1.15) rotate(90deg);
  background: var(--rose);
  color: var(--cream);
}

.photo-modal-img-wrap {
  max-width: 80vw;
  max-height: 70vh;
  overflow: hidden;
  border-radius: 16px;
  background: var(--blush);
}

.photo-modal-img-wrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.photo-modal-caption {
  font-family: var(--font-hand);
  font-size: 1.9rem;
  color: var(--ink);
  margin-top: 12px;
  text-align: center;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   SECTION 3: DRAGGABLE POLAROID SCRAPBOOK (LIGHT THEME)
   -------------------------------------------------------------------------- */
.scrapbook-section {
  background-color: var(--bg);
  position: relative;
  user-select: none;
  overflow: hidden;
}

.scrapbook-cork-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(232, 84, 122, 0.12) 1.5px, transparent 1.5px),
    linear-gradient(rgba(252, 213, 224, 0.4) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px;
}

.scrapbook-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(253, 232, 239, 0.7));
}

.scrapbook-header {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  text-align: center;
  pointer-events: none;
}

.scrapbook-badge {
  display: inline-block;
  background: var(--cream);
  color: var(--rose);
  padding: 8px 24px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(232, 84, 122, 0.12);
  border: 1px solid var(--rose-lt);
}

.scrapbook-instruction {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.polaroid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.polaroid-card {
  position: absolute;
  width: 210px;
  background: var(--cream);
  padding: 10px 10px 18px 10px;
  border-radius: 10px;
  box-shadow: 0 18px 40px -8px rgba(194, 96, 122, 0.2), 0 0 2px rgba(194, 96, 122, 0.1);
  cursor: grab;
  touch-action: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
  will-change: left, top, transform;
}

.polaroid-card.dragging {
  cursor: grabbing;
  transform: scale(1.09) rotate(0deg) !important;
  box-shadow: 0 35px 70px -10px rgba(194, 96, 122, 0.35) !important;
  z-index: 200 !important;
}

.polaroid-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--blush);
}

.polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  pointer-events: none;
  display: block;
}

.polaroid-caption {
  font-family: var(--font-hand);
  font-size: 1.55rem;
  color: var(--ink);
  text-align: center;
  margin-top: 8px;
  line-height: 1.1;
  font-weight: 700;
}

/* Push Pin & Tape Decorative Styling */
.polaroid-pin {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  z-index: 15;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.polaroid-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: rgba(253, 232, 239, 0.9);
  box-shadow: 0 3px 6px rgba(194, 96, 122, 0.1);
  backdrop-filter: blur(2px);
  border: 1px dashed var(--rose-lt);
  pointer-events: none;
}

/* Corkboard Decorative Stickers */
.scrapbook-sticker {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid var(--rose-lt);
}

.scrapbook-sticker.pos-tl {
  top: 35px;
  left: 40px;
  font-size: 26px;
  background: none;
  border: none;
}

.scrapbook-sticker.pos-tr {
  top: 35px;
  right: 40px;
}

.scrapbook-sticker.pos-bl {
  bottom: 35px;
  left: 40px;
  font-size: 26px;
  background: none;
  border: none;
}

.scrapbook-sticker.pos-br {
  bottom: 35px;
  right: 180px;
}

.scrapbook-shuffle-btn {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  background: linear-gradient(135deg, var(--rose) 0%, var(--mauve) 100%);
  color: var(--cream);
  border: none;
  padding: 11px 24px;
  border-radius: 40px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(232, 84, 122, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.scrapbook-shuffle-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 16px 35px rgba(232, 84, 122, 0.55);
}

/* --------------------------------------------------------------------------
   SECTION 4: REAL 3D FLIP SKETCHBOOK (LIGHT THEME)
   -------------------------------------------------------------------------- */
.sketchbook-album-section {
  background: radial-gradient(circle at center, var(--petal) 0%, var(--blush) 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.sketchbook-album-header {
  text-align: center;
  margin-bottom: 1.2rem;
  z-index: 10;
}

.sketchbook-badge-title {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--rose-lt);
  color: var(--rose);
  padding: 7px 22px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(232, 84, 122, 0.15);
}

.sketchbook-subtitle {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
  font-family: var(--font-sans);
}

/* 3D Perspective Stage Container */
.open-sketchbook-stage {
  width: 100%;
  max-width: 940px;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  perspective: 1800px;
  perspective-origin: 50% 50%;
}

.book-3d-wrap {
  position: relative;
  width: 440px;
  height: 540px;
  transform-style: preserve-3d;
  transition: width 0.75s cubic-bezier(0.645, 0.045, 0.355, 1);
  will-change: width, transform;
  margin: 0 auto;
}

.book-3d-wrap.is-open {
  width: 900px;
}

/* 3D Front Cover Leaf */
.book-cover-leaf {
  position: absolute;
  top: 0;
  left: 0;
  width: 440px;
  height: 100%;
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush2) 100%);
  border-radius: 16px;
  border: 2px solid var(--rose-lt);
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, box-shadow 0.3s ease;
  z-index: 50;
  box-shadow: 0 30px 75px rgba(194, 96, 122, 0.25), 0 0 0 8px var(--blush);
  cursor: pointer;
  backface-visibility: hidden;
  overflow: hidden;
}

.book-cover-leaf:hover {
  transform: rotateY(-6deg) translateY(-4px);
  box-shadow: 0 40px 90px rgba(194, 96, 122, 0.35), 0 0 0 8px var(--rose-lt);
}

.book-3d-wrap.is-open .book-cover-leaf {
  transform: rotateY(-180deg);
  opacity: 0;
  pointer-events: none;
}

.closed-spine-rings {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 32px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background: rgba(232, 84, 122, 0.08);
  border-right: 1px solid var(--rose-lt);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  padding: 10px 0;
  overflow: hidden;
}

.closed-spine-rings .ring-loop {
  width: 26px;
  height: 10px;
  border-radius: 5px;
  transform: none;
  background: linear-gradient(180deg, var(--cream) 0%, var(--gold-lt) 35%, var(--gold) 75%, #b87a4c 100%);
  box-shadow: 0 2px 4px rgba(194, 96, 122, 0.2);
}

.cover-content {
  width: 100%;
  height: 100%;
  padding-left: 32px;
  position: relative;
  box-sizing: border-box;
}

.cover-click-prompt {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--rose) 0%, var(--mauve) 100%);
  color: var(--cream);
  padding: 9px 22px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 8px 22px rgba(232, 84, 122, 0.35);
  animation: pulse-cover-prompt 1.8s infinite ease-in-out;
  z-index: 40;
  white-space: nowrap;
}

@keyframes pulse-cover-prompt {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.08);
  }
}

/* Open Sketchbook Container */
.open-sketchbook {
  width: 100%;
  height: 100%;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: 0 30px 75px rgba(194, 96, 122, 0.25), 0 0 0 8px var(--blush);
  display: flex;
  position: relative;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.book-3d-wrap.is-open .open-sketchbook {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Center Metallic Spiral Binding Spine */
.spiral-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background: rgba(232, 84, 122, 0.08);
  border-left: 1px solid var(--rose-lt);
  border-right: 1px solid var(--rose-lt);
  padding: 6px 0;
}

.ring-loop {
  width: 48px;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--gold-lt) 35%, var(--gold) 75%, #b87a4c 100%);
  box-shadow: 0 3px 7px rgba(194, 96, 122, 0.25);
  transform: scaleX(1.15);
}

/* Active Spread Container */
.sketchbook-spread {
  width: 100%;
  height: 100%;
  display: flex;
}

.sketchbook-page {
  flex: 1;
  height: 100%;
  position: relative;
  padding: 2rem;
  background-image: radial-gradient(var(--blush2) 1.3px, transparent 1.3px);
  background-size: 20px 20px;
  background-color: var(--cream);
  overflow: hidden;
}

.sketchbook-page.page-left {
  border-right: 1px solid var(--blush2);
}

.sketchbook-page.page-right {
  border-left: 1px solid var(--blush2);
}

/* Journal Tape Quotes & Cutouts */
.sketch-quote-tape {
  position: absolute;
  background: var(--blush);
  border: 1px solid var(--rose-lt);
  padding: 7px 14px;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(194, 96, 122, 0.12);
  border-radius: 6px;
  transform: rotate(-1.5deg);
  max-width: 82%;
  line-height: 1.25;
  font-weight: 700;
  z-index: 5;
}

.sketch-photo-wrap {
  position: absolute;
  background: var(--cream);
  padding: 8px 8px 14px 8px;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(194, 96, 122, 0.18);
  cursor: pointer;
  z-index: 15;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sketch-photo-wrap:hover {
  transform: scale(1.08) rotate(0deg) !important;
  z-index: 40;
  box-shadow: 0 20px 40px rgba(194, 96, 122, 0.3);
}

.sketch-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.sketch-sticker-element {
  position: absolute;
  font-size: 2.2rem;
  z-index: 20;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

/* Filmstrip Style Stack */
.filmstrip-stack {
  position: absolute;
  top: 6%;
  right: 6%;
  width: 115px;
  background: var(--cream);
  padding: 10px 8px;
  border-radius: 6px;
  border: 1px solid var(--rose-lt);
  box-shadow: 0 12px 28px rgba(194, 96, 122, 0.2);
  transform: rotate(4deg);
  z-index: 15;
}

/* Precise Layout for Sketchbook Spreads to ensure NO text covers photos */
.photo-left-main {
  top: 8%;
  left: 12%;
  width: 160px;
  height: 180px;
  transform: rotate(-3deg);
}

.photo-left-1 {
  top: 6%;
  left: 8%;
  width: 125px;
  height: 135px;
  transform: rotate(-4deg);
}

.photo-left-2 {
  top: 36%;
  right: 8%;
  width: 125px;
  height: 135px;
  transform: rotate(5deg);
}

.tape-left {
  bottom: 6%;
  left: 6%;
}

.photo-right-main {
  top: 8%;
  right: 12%;
  width: 160px;
  height: 180px;
  transform: rotate(4deg);
}

.photo-right-1 {
  top: 6%;
  left: 8%;
  width: 125px;
  height: 135px;
  transform: rotate(-3deg);
}

.photo-right-2 {
  top: 36%;
  right: 8%;
  width: 125px;
  height: 135px;
  transform: rotate(6deg);
}

.tape-right {
  bottom: 6%;
  left: 6%;
  background: var(--petal);
  border-color: var(--gold-lt);
}

.filmstrip-item {
  width: 100%;
  height: 90px;
  margin-bottom: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--blush);
  cursor: pointer;
}

.filmstrip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Nav Controls */
.sketchbook-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 1.2rem;
  z-index: 20;
}

.sketch-btn {
  background: var(--cream);
  border: 1px solid var(--rose-lt);
  color: var(--rose);
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(232, 84, 122, 0.15);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sketch-btn:hover {
  background: var(--rose);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 84, 122, 0.35);
}

.spread-indicator {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mauve);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* --------------------------------------------------------------------------
   SECTION 4.5: HYPER-PREMIUM QUALITIES BIG TEXT MARQUEE
   -------------------------------------------------------------------------- */
.qualities-marquee-section {
  background: radial-gradient(circle at 50% 50%, #fff0f5 0%, #fde8ef 50%, #f7d4e1 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* Ambient Glow Orbs */
.qualities-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  will-change: transform;
}

.qualities-glow-orb.orb-q1 {
  top: 15%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 184, 203, 0.55) 0%, rgba(232, 84, 122, 0.18) 60%, transparent 80%);
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.qualities-glow-orb.orb-q2 {
  bottom: 12%;
  right: 12%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 201, 160, 0.5) 0%, rgba(212, 149, 106, 0.15) 60%, transparent 80%);
  animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

/* Small Animated Grid Pattern */
.qualities-grid-pattern {
  position: absolute;
  inset: -60px;
  background-image: 
    linear-gradient(to right, rgba(232, 84, 122, 0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 84, 122, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  opacity: 0.65;
  pointer-events: none;
  animation: moveSmallGrid 18s linear infinite;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 25%, rgba(0,0,0,0.12) 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 25%, rgba(0,0,0,0.12) 85%);
}

.qualities-header {
  z-index: 20;
}

/* Marquee Stage Container */
.qualities-marquee-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 20;
  margin: auto 0;
}

.qualities-marquee-track {
  display: flex;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, transparent 100%);
}

.marquee-content-group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  flex-shrink: 0;
  will-change: transform;
}

/* Track 1: Scroll Left */
.track-left .marquee-content-group {
  animation: marqueeScrollLeft 28s linear infinite;
}

/* Track 2: Scroll Right */
.track-right .marquee-content-group {
  animation: marqueeScrollRight 32s linear infinite;
}

@keyframes marqueeScrollLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

@keyframes marqueeScrollRight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0%); }
}

/* Marquee Items Styling */
.marquee-item {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

/* Solid Shimmer Quality Item */
.marquee-item.item-solid {
  font-family: var(--font-syne), var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  filter: drop-shadow(0 6px 16px rgba(58, 24, 40, 0.12));
}

/* Gold Gradient Shimmer Quality Item */
.marquee-item.item-gold {
  font-family: var(--font-syne), var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e8547a 0%, #d4956a 50%, #f5c9a0 80%, #e8547a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 4s linear infinite;
  filter: drop-shadow(0 6px 18px rgba(232, 84, 122, 0.3));
}

/* Serif Italic Elegant Quality Item */
.marquee-item.item-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--rose);
  text-shadow: 0 4px 15px rgba(232, 84, 122, 0.2);
}

.marquee-item.item-serif-gold {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  text-shadow: 0 4px 15px rgba(212, 149, 106, 0.2);
}

/* Outline Stroke Quality Item */
.marquee-item.item-outline {
  font-family: var(--font-syne), var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.8px var(--rose);
  filter: drop-shadow(0 4px 14px rgba(232, 84, 122, 0.2));
  transition: all 0.3s ease;
}

.marquee-item.item-outline:hover {
  color: var(--rose);
  -webkit-text-stroke: 0px transparent;
}

/* Diamond Divider Star */
.marquee-item.item-star {
  font-size: 1.2rem;
  color: var(--rose);
  opacity: 0.6;
}

.qualities-footer {
  z-index: 20;
}

.footer-tag-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  background: rgba(255, 250, 252, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(249, 184, 203, 0.8);
  padding: 8px 24px;
  border-radius: 30px;
  box-shadow: 0 8px 22px rgba(232, 84, 122, 0.12);
}

/* --------------------------------------------------------------------------
   SECTION 5: CELEBRATION WISHES, SVG CAKE & CANDLE BLOWING (ULTRA-LUXURY THEME)
   -------------------------------------------------------------------------- */
.wishes-section {
  background: radial-gradient(circle at 50% 40%, #fff4f8 0%, #fde8ef 55%, #f7d4e1 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* Ambient Glow Orbs for Wishes Section */
.wishes-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(95px);
  will-change: transform;
}

.wishes-glow-orb.orb-w1 {
  top: 15%;
  left: 20%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(249, 184, 203, 0.55) 0%, rgba(232, 84, 122, 0.18) 60%, transparent 80%);
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.wishes-glow-orb.orb-w2 {
  bottom: 10%;
  right: 18%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(245, 201, 160, 0.5) 0%, rgba(212, 149, 106, 0.15) 60%, transparent 80%);
  animation: floatOrb 16s ease-in-out infinite alternate-reverse;
}

/* Small Animated Background Grid Pattern */
.wishes-grid-pattern {
  position: absolute;
  inset: -60px;
  background-image: 
    linear-gradient(to right, rgba(232, 84, 122, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 84, 122, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  opacity: 0.65;
  pointer-events: none;
  animation: moveSmallGrid 20s linear infinite;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 25%, rgba(0,0,0,0.12) 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 25%, rgba(0,0,0,0.12) 85%);
}

/* Floating Sparkles in Wishes Section */
.floating-sparkle.spark-w1 { top: 12%; left: 8%; animation-delay: 0s; font-size: 1.8rem; }
.floating-sparkle.spark-w2 { top: 25%; right: 10%; animation-delay: 1.4s; font-size: 2.1rem; }
.floating-sparkle.spark-w3 { bottom: 18%; left: 10%; animation-delay: 2.2s; font-size: 1.7rem; }
.floating-sparkle.spark-w4 { bottom: 22%; right: 12%; animation-delay: 0.7s; font-size: 1.9rem; }

.wishes-header-wrap {
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sec-label-cake {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(249, 184, 203, 0.8);
  padding: 6px 22px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(232, 84, 122, 0.12);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 0.6rem;
}

.sec-title-cake {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(232, 84, 122, 0.15);
}

.wishes-gold-line {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--rose) 50%, transparent 100%);
  margin: 0.4rem 0 0.6rem 0;
  border-radius: 2px;
}

/* 3D Glass Pedestal Aura underneath Cake */
.cake-stage {
  display: inline-block;
  position: relative;
  margin: 0.3rem 0 0.4rem 0;
  z-index: 20;
}

.cake-pedestal-aura {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 240, 245, 0.95) 0%, rgba(249, 184, 203, 0.5) 50%, transparent 75%);
  box-shadow: 0 20px 50px rgba(232, 84, 122, 0.3);
  pointer-events: none;
  z-index: 1;
  animation: pulsePedestal 4s ease-in-out infinite alternate;
}

@keyframes pulsePedestal {
  0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.08); opacity: 1; }
}

.cake-svg {
  width: min(220px, 60vw);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 45px rgba(232, 84, 122, 0.32));
}

/* Glass Wish Prompt Tag */
.wish-prompt-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 250, 252, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(249, 184, 203, 0.7);
  padding: 5px 18px;
  border-radius: 24px;
  box-shadow: 0 8px 22px rgba(194, 96, 122, 0.1);
  margin-top: 0.3rem;
  z-index: 20;
}

.prompt-icon {
  font-size: 13px;
  animation: floatSparkle 3s ease-in-out infinite alternate;
}

.prompt-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Hyper-Premium Blow Candles Button */
.blow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.8rem;
  padding: 0.75rem 2.2rem;
  background: linear-gradient(135deg, #e8547a 0%, #c2607a 45%, #d4956a 100%);
  background-size: 200% 200%;
  color: #fff8fb;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 60px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(232, 84, 122, 0.38), inset 0 1px 0 #ffffff;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  z-index: 20;
  animation: pulseBlowBtn 2.2s ease-in-out infinite;
}

.blow-btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-icon {
  font-size: 14px;
}

/* Site End Footer Tag */
.site-end-footer {
  margin-top: 0.9rem;
  z-index: 20;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mauve);
  background: rgba(255, 250, 252, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(249, 184, 203, 0.85);
  box-shadow: 0 6px 20px rgba(232, 84, 122, 0.12);
}

.blow-btn:hover {
  background-position: 100% 0%;
  box-shadow: 0 18px 50px rgba(232, 84, 122, 0.52), inset 0 1px 0 #ffffff;
  transform: translateY(-4px) scale(1.03);
}

@keyframes pulseBlowBtn {
  0%, 100% {
    box-shadow: 0 12px 35px rgba(232, 84, 122, 0.38), inset 0 1px 0 #ffffff;
  }
  50% {
    box-shadow: 0 16px 45px rgba(232, 84, 122, 0.55), inset 0 1px 0 #ffffff;
  }
}

/* Floating Elements */
.float-el {
  position: fixed;
  pointer-events: none;
  z-index: 200;
  font-size: 2rem;
  animation: floatRise linear forwards;
  opacity: 0.9;
}

@keyframes floatRise {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.9;
  }

  100% {
    transform: translateY(-110vh) rotate(360deg) scale(0.5);
    opacity: 0;
  }
}

.lights-row {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none;
  z-index: 15;
}

.light-bulb {
  width: 12px;
  height: 16px;
  border-radius: 50% 50% 40% 40%;
  animation: lightFlicker ease-in-out infinite;
  box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

.string-line {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--rose-lt) 20%, var(--gold-lt) 50%, var(--rose-lt) 80%, transparent 100%);
}

/* Floating Audio Control Pill */
.audio-floating-pill {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 248, 251, 0.94);
  backdrop-filter: blur(14px);
  border: 1.5px solid var(--rose-lt);
  padding: 9px 18px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(232, 84, 122, 0.18);
  transition: transform 0.2s ease;
}

.audio-floating-pill:hover {
  transform: scale(1.06);
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.eq-bar {
  width: 3px;
  height: 100%;
  background: var(--rose);
  border-radius: 2px;
  animation: eq-anim 1s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) {
  animation-delay: 0.1s;
}

.eq-bar:nth-child(2) {
  animation-delay: 0.3s;
}

.eq-bar:nth-child(3) {
  animation-delay: 0.5s;
}

.audio-floating-pill.paused .eq-bar {
  animation-play-state: paused;
  height: 4px;
}

@keyframes eq-anim {
  0% {
    height: 4px;
  }

  100% {
    height: 14px;
  }
}

.audio-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}

/* --------------------------------------------------------------------------
   RESPONSIVE MOBILE ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1.5rem;
  }

  .hero-body {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.7rem;
    line-height: 1.02;
  }

  .hero-title span.font-light {
    font-size: 1.7rem;
  }

  .hero-title span.font-bold {
    font-size: 2.05rem;
  }

  .hero-title span.font-gold {
    font-size: 2.7rem;
  }

  .envelope-wrapper {
    width: 330px;
    height: 230px;
  }

  .envelope-letter {
    left: 50%;
    width: min(92vw, 480px);
    padding: 1.2rem 1.4rem;
    max-height: 80vh;
    height: auto;
  }

  .letter-title {
    font-size: 1.6rem;
  }

  .letter-text {
    font-size: 1.2rem;
  }

  .polaroid-card {
    width: 155px;
    padding: 8px 8px 12px 8px;
  }

  .polaroid-img-wrap {
    height: 145px;
  }

  .polaroid-caption {
    font-size: 1.15rem;
  }

  .scrapbook-header {
    top: 18px;
  }

  .scrapbook-instruction {
    font-size: 10px;
  }

  .scrapbook-shuffle-btn {
    bottom: 20px;
    right: 20px;
    padding: 8px 16px;
    font-size: 11px;
  }

  .audio-floating-pill {
    bottom: auto;
    top: 14px;
    right: 14px;
    left: auto;
    padding: 6px 14px;
    font-size: 11px;
    z-index: 150;
  }

  .sketchbook-album-section {
    padding: 1rem 0.5rem 0.8rem 0.5rem;
    justify-content: flex-start;
  }

  .sketchbook-album-header {
    margin-bottom: 0.5rem;
  }

  .sketchbook-badge-title {
    padding: 5px 16px;
    font-size: 10px;
  }

  .sketchbook-subtitle {
    font-size: 11px;
    margin-top: 3px;
  }

  .open-sketchbook-stage {
    width: 100%;
    max-width: 360px;
    height: 470px;
    margin: 0 auto;
  }

  .book-3d-wrap {
    width: min(92vw, 340px);
    height: 470px;
    margin: 0 auto;
  }

  .book-3d-wrap.is-open {
    width: min(92vw, 340px);
  }

  .book-cover-leaf {
    width: min(92vw, 340px);
    height: 470px;
  }

  .open-sketchbook {
    flex-direction: column;
    height: 470px;
  }

  .spiral-spine {
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 24px;
    flex-direction: row;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--rose-lt);
    border-bottom: 1px solid var(--rose-lt);
    padding: 0 8px;
    background: rgba(232, 84, 122, 0.12);
  }

  .ring-loop {
    width: 10px;
    height: 32px;
    border-radius: 4px;
    transform: scaleY(1.1);
  }

  .sketchbook-spread {
    flex-direction: column;
    height: 100%;
  }

  .sketchbook-page {
    padding: 0.6rem 0.8rem;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }

  .sketchbook-page.page-left {
    border-right: none;
    border-bottom: 1px solid var(--blush2);
    padding-bottom: 24px;
  }

  .sketchbook-page.page-right {
    border-left: none;
    border-top: 1px solid var(--blush2);
    padding-top: 24px;
  }

  /* Responsive inner elements for mobile sketchbook pages */
  .sketchbook-page .sketch-photo-wrap {
    max-width: 105px !important;
    max-height: 115px !important;
    padding: 4px 4px 8px 4px !important;
    z-index: 15 !important;
  }

  .sketchbook-page .sketch-quote-tape {
    font-size: 0.95rem !important;
    padding: 4px 10px !important;
    max-width: 85% !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    z-index: 5 !important;
  }

  .sketchbook-page.page-left .sketch-quote-tape,
  .sketchbook-page.page-right .sketch-quote-tape {
    bottom: 5% !important;
    top: auto !important;
    left: 5% !important;
  }

  .sketchbook-page .filmstrip-stack {
    width: 75px !important;
    top: 5% !important;
    right: 4% !important;
    padding: 6px 4px !important;
    z-index: 15 !important;
  }

  .sketchbook-page .filmstrip-item {
    height: 52px !important;
    margin-bottom: 4px !important;
  }

  .sketchbook-page .sketch-sticker-element {
    font-size: 1.4rem !important;
  }

  .sketchbook-nav {
    margin-top: 0.5rem;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }

  .sketch-btn {
    padding: 7px 14px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .spread-indicator {
    font-size: 10px;
    white-space: nowrap;
  }

  .qualities-marquee-section {
    padding: 2rem 0;
  }

  .marquee-item {
    font-size: clamp(2rem, 8vw, 3.4rem);
  }

  .marquee-content-group {
    gap: 1.2rem;
  }

  /* Section 5 Mobile Scaling */
  .wishes-section {
    padding: 1rem 0.8rem !important;
    justify-content: center !important;
  }

  .sec-title-cake {
    font-size: 1.45rem !important;
    margin-bottom: 0.2rem !important;
  }

  .wishes-gold-line {
    margin: 0.3rem 0 0.4rem 0 !important;
  }

  .cake-stage {
    margin: 0.2rem 0 0.3rem 0 !important;
  }

  .cake-svg {
    width: min(160px, 48vw) !important;
  }

  .cake-pedestal-aura {
    width: 140px !important;
    height: 40px !important;
  }

  .wish-prompt-tag {
    padding: 4px 12px !important;
    margin-top: 0.2rem !important;
  }

  .prompt-text {
    font-size: 0.82rem !important;
  }

  .blow-btn {
    margin-top: 0.6rem !important;
    padding: 0.65rem 1.6rem !important;
    font-size: 0.65rem !important;
  }

  .site-end-footer {
    margin-top: 0.6rem !important;
    padding: 5px 14px !important;
    font-size: 8.5px !important;
    letter-spacing: 0.15em !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.05;
  }

  .hero-title span.font-light {
    font-size: 1.45rem;
  }

  .hero-title span.font-bold {
    font-size: 1.75rem;
  }

  .hero-title span.font-gold {
    font-size: 2.25rem;
  }
}

/* --------------------------------------------------------------------------
   SECRET MESSAGE MODAL & TRIGGER BUTTON
   -------------------------------------------------------------------------- */
.secret-trigger-btn {
  margin: 1.2rem auto 0.8rem auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--mauve) 100%);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(232, 84, 122, 0.35);
  transition: all 0.3s ease;
}

.secret-trigger-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(232, 84, 122, 0.5);
  background: linear-gradient(135deg, var(--mauve) 0%, var(--rose) 100%);
}

.secret-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

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

.secret-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 18, 32, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.secret-modal-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(145deg, #fffbfd 0%, #fde8ef 100%);
  border: 1.5px solid var(--rose-lt);
  border-radius: 24px;
  padding: 2.2rem 2rem 2rem 2rem;
  box-shadow: 0 25px 60px rgba(232, 84, 122, 0.35), inset 0 1px 0 #ffffff;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.secret-modal.active .secret-modal-content {
  transform: scale(1) translateY(0);
}

.secret-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(232, 84, 122, 0.1);
  border: 1px solid var(--rose-lt);
  color: var(--rose);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.secret-modal-close:hover {
  background: var(--rose);
  color: #ffffff;
  transform: rotate(90deg);
}

.secret-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mauve);
  background: rgba(232, 84, 122, 0.08);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid var(--rose-lt);
  margin-bottom: 0.8rem;
}

.secret-heart-glow {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  animation: heartPulse 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 6px 15px rgba(232, 84, 122, 0.4));
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.secret-text-p {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.secret-highlight {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: var(--rose);
  background: rgba(249, 184, 203, 0.25);
  padding: 10px 18px;
  border-radius: 12px;
  border-left: 3.5px solid var(--rose);
  margin-bottom: 1.2rem;
}

.secret-footer {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}