/**
 * ===================================================================
 * BLOOM 2.0 — Master Stylesheet & Design System
 * ===================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Cinematic Color Palette */
  --c-burgundy: #210D19;
  --c-midnight: #160B16;
  --c-blush: #F4B7C8;
  --c-petal: #F8DCE5;
  --c-lily-white: #FFF9F7;
  --c-muted-rose: #C98C9E;
  --c-champagne: #E8D6B7;
  --c-warm-ivory: #FAF6F0;
  --c-deep-wine: #2F1123;
  --c-dark-chocolate: #381E15;
  --c-gold-glow: rgba(232, 214, 183, 0.45);
  --c-rose-glow: rgba(244, 183, 200, 0.35);

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-editorial: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-handwriting: 'Alex Brush', cursive;

  /* Transitions */
  --transition-smooth: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fade: opacity 0.8s ease, filter 0.8s ease;
  --transition-fast: all 0.3s ease;
}

/* ===================================================================
   RESET & BASE
   =================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  height: 100dvh;
  min-height: -webkit-fill-available;
  overflow: hidden;
  background-color: var(--c-midnight);
  color: var(--c-lily-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ===================================================================
   ATMOSPHERIC CANVASES & GRAIN OVERLAY
   =================================================================== */

#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 10;
}

/* Cinematic Subtle Film Grain Overlay */
.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 99;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Radial Backdrops */
.ambient-lighting {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(circle at 50% 30%, rgba(244, 183, 200, 0.12) 0%, rgba(33, 13, 25, 0.8) 60%, rgba(22, 11, 22, 1) 100%),
    radial-gradient(circle at 80% 80%, rgba(232, 214, 183, 0.08) 0%, transparent 50%);
  transition: background 1.6s ease;
}

/* Theme shifts for specific scenes */
body.active-scene-5 .ambient-lighting {
  background: 
    radial-gradient(circle at 50% 32%, rgba(244, 183, 200, 0.32) 0%, rgba(47, 17, 35, 0.88) 60%, rgba(22, 11, 22, 1) 100%),
    radial-gradient(circle at 18% 75%, rgba(232, 214, 183, 0.24) 0%, transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(165, 38, 80, 0.28) 0%, transparent 55%);
}

body.active-scene-7 .ambient-lighting {
  background: 
    radial-gradient(circle at 50% 40%, rgba(255, 249, 247, 0.95) 0%, rgba(248, 220, 229, 0.85) 60%, rgba(201, 140, 158, 0.75) 100%),
    radial-gradient(circle at 20% 80%, rgba(232, 214, 183, 0.4) 0%, transparent 60%);
}
body.active-scene-7 { color: var(--c-deep-wine); }

body.active-scene-8 .ambient-lighting {
  background: 
    radial-gradient(circle at 50% 30%, rgba(244, 183, 200, 0.22) 0%, rgba(47, 17, 35, 0.9) 65%, rgba(22, 11, 22, 1) 100%),
    radial-gradient(circle at 50% 85%, rgba(232, 214, 183, 0.2) 0%, transparent 60%);
}

body.active-scene-9 .ambient-lighting {
  background: 
    radial-gradient(circle at 50% 30%, rgba(244, 183, 200, 0.26) 0%, rgba(47, 17, 35, 0.9) 65%, rgba(22, 11, 22, 1) 100%),
    radial-gradient(circle at 50% 85%, rgba(232, 214, 183, 0.22) 0%, transparent 60%);
}

body.active-scene-10 .ambient-lighting {
  background: 
    radial-gradient(circle at 50% 40%, rgba(232, 214, 183, 0.25) 0%, rgba(47, 17, 35, 0.9) 65%, rgba(22, 11, 22, 1) 100%),
    radial-gradient(circle at 50% 85%, rgba(244, 183, 200, 0.2) 0%, transparent 60%);
}

body.active-scene-11 .ambient-lighting {
  background: 
    radial-gradient(circle at 50% 35%, rgba(255, 249, 247, 0.96) 0%, rgba(248, 220, 229, 0.92) 60%, rgba(232, 214, 183, 0.85) 100%);
}
body.active-scene-11 { color: var(--c-deep-wine); }

/* ===================================================================
   MINIMAL FLOATING UI (AUDIO & PROGRESS)
   =================================================================== */

.audio-control-pill {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(33, 13, 25, 0.45);
  border: 1px solid rgba(244, 183, 200, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--c-petal);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.audio-control-pill:hover {
  background: rgba(47, 17, 35, 0.7);
  border-color: var(--c-blush);
  box-shadow: 0 0 15px var(--c-rose-glow);
  transform: translateY(-2px);
}

/* Animated Sound Wave Bars */
.sound-waves {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.sound-waves span {
  display: block;
  width: 2px;
  height: 6px;
  background: var(--c-champagne);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.sound-waves.active span:nth-child(1) { animation: soundBar 1.2s infinite ease-in-out; }
.sound-waves.active span:nth-child(2) { animation: soundBar 1.2s infinite ease-in-out 0.2s; }
.sound-waves.active span:nth-child(3) { animation: soundBar 1.2s infinite ease-in-out 0.4s; }
.sound-waves.active span:nth-child(4) { animation: soundBar 1.2s infinite ease-in-out 0.1s; }

/* Scene Progress Dots */
.scene-progress-container {
  position: fixed;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.progress-dots {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.95rem;
  background: rgba(33, 13, 25, 0.45);
  border: 1px solid rgba(244, 183, 200, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

body.active-scene-7 .progress-dots,
body.active-scene-11 .progress-dots {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(201, 140, 158, 0.35);
}

.progress-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(244, 183, 200, 0.35);
  transition: var(--transition-fast);
  cursor: pointer;
}

.progress-dot.active {
  background: var(--c-champagne);
  transform: scale(1.4);
  box-shadow: 0 0 10px var(--c-champagne);
}

.progress-dot.completed {
  background: var(--c-blush);
}

.progress-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--c-muted-rose);
  opacity: 0.8;
  font-family: var(--font-sans);
}

body.active-scene-7 .progress-label,
body.active-scene-11 .progress-label {
  color: var(--c-deep-wine);
}

/* ===================================================================
   DESKTOP CUSTOM CURSOR
   =================================================================== */

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-champagne);
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  box-shadow: 0 0 8px var(--c-champagne);
  transition: opacity 0.3s ease;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  margin-left: -16px;
  border-radius: 50%;
  border: 1px solid rgba(244, 183, 200, 0.5);
  pointer-events: none;
  z-index: 9998;
  transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, border-color 0.3s ease;
}

body.cursor-hover .custom-cursor-ring {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  margin-left: -26px;
  border-color: var(--c-champagne);
  background: rgba(232, 214, 183, 0.08);
}

/* ===================================================================
   SCENE WRAPPER & ARCHITECTURE
   =================================================================== */

.experience-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  height: 100dvh;
  min-height: -webkit-fill-available;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: calc(var(--vh, 1vh) * 100);
  height: 100dvh;
  min-height: -webkit-fill-available;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem 5rem 1.5rem;
  text-align: center;
  z-index: 20;
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scene.scene-active {
  display: flex;
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

.scene.scene-exit {
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.04);
}

/* Editorial Badges */
.scene-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-champagne);
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(232, 214, 183, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(232, 214, 183, 0.2);
}

body.active-scene-7 .scene-badge,
body.active-scene-11 .scene-badge {
  color: var(--c-deep-wine);
  background: rgba(201, 140, 158, 0.15);
  border-color: rgba(201, 140, 158, 0.35);
}

/* ===================================================================
   LUXURY BUTTONS & INTERACTION STYLES
   =================================================================== */

.btn-primary-bloom {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.8rem;
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-midnight);
  background: linear-gradient(135deg, #FFF9F7 0%, #F4B7C8 60%, #E8D6B7 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(244, 183, 200, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-bloom:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(244, 183, 200, 0.5), 0 0 25px rgba(232, 214, 183, 0.4);
}

.btn-primary-bloom:active {
  transform: translateY(1px) scale(0.98);
}

.btn-secondary-bloom {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  margin-top: 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-petal);
  background: rgba(33, 13, 25, 0.65);
  border: 1px solid rgba(244, 183, 200, 0.35);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.btn-secondary-bloom:hover {
  background: rgba(50, 18, 38, 0.85);
  border-color: var(--c-champagne);
  color: var(--c-champagne);
  box-shadow: 0 0 20px var(--c-rose-glow);
  transform: translateY(-2px);
}

.hidden {
  display: none !important;
}

/* ===================================================================
   SCENE 01 — THE INVITATION: CINEMATIC SIGNATURE TITLE
   =================================================================== */

.s1-container {
  max-width: 920px;
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

.s1-lily-silhouette {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 540px;
  height: 540px;
  opacity: 0.085;
  pointer-events: none;
  animation: pulseSilhouette 8s infinite alternate ease-in-out;
}

/* 1. Eyebrow Container */
.s1-eyebrow-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.s1-eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  font-weight: 500;
  letter-spacing: clamp(0.24em, 0.6vw, 0.36em);
  text-transform: uppercase;
  color: var(--c-champagne);
  padding: 0.4rem 1.1rem;
  background: rgba(232, 214, 183, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(232, 214, 183, 0.22);
  box-shadow: 0 2px 14px rgba(232, 214, 183, 0.08);
}

.s1-eyebrow-sparkle {
  color: var(--c-blush);
  font-size: 0.7rem;
  opacity: 0.75;
  animation: sparkleTwinkle 3s infinite ease-in-out alternate;
}

/* 2. Signature Title Hero Wrap */
.s1-signature-title-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 0.6rem;
  opacity: 0;
  transform: scale(0.94) translateY(14px);
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.s1-main-title {
  margin: 0;
  padding: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 9.5vw, 6.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: clamp(0.26em, 2vw, 0.46em);
  padding-left: clamp(0.26em, 2vw, 0.46em); /* Optical centering for wide letter-spacing */
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Luminous multi-stop luxury gradient */
  background: linear-gradient(135deg, #FFF9F7 0%, #F8DCE5 35%, #F4B7C8 65%, #E8D6B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Delicate luminous film lighting */
  filter: drop-shadow(0 4px 22px rgba(244, 183, 200, 0.25)) drop-shadow(0 0 14px rgba(232, 214, 183, 0.18));
}

.s1-title-letter {
  display: inline-block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.s1-main-title:hover .s1-title-letter {
  transform: translateY(-2px);
}

/* Delicate Flanking Petals */
.s1-flanking-petal {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  opacity: 0.85;
  filter: drop-shadow(0 2px 8px rgba(244, 183, 200, 0.35));
}

.s1-petal-left {
  animation: floatPetalLeft 5s infinite ease-in-out alternate;
}

.s1-petal-right {
  animation: floatPetalRight 5.5s infinite ease-in-out alternate;
}

/* 3. Subtitle */
.s1-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 2.05rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--c-petal);
  line-height: 1.35;
  margin: 0.4rem 0 1.2rem 0;
  text-shadow: 0 0 20px rgba(244, 183, 200, 0.3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Film Ornament Divider */
.s1-film-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 1.2rem auto;
  opacity: 0;
  transform: scaleX(0.75);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.s1-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 214, 183, 0.4), transparent);
}

.s1-divider-knot {
  color: var(--c-champagne);
  font-size: 0.65rem;
  opacity: 0.75;
}

/* 4. Supporting Text */
.s1-supporting {
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 1.8vw, 1.12rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--c-champagne);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 5. Opening Button Wrap */
.s1-cta-wrap {
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.s1-cta-wrap .btn-primary-bloom {
  margin-top: 0;
}

/* Staggered Cinematic Entrance Animation (Active on Scene 1) */
.scene.scene-active .s1-eyebrow-container {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.scene.scene-active .s1-signature-title-wrap {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.9s;
}

.scene.scene-active .s1-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.6s;
}

.scene.scene-active .s1-film-divider {
  opacity: 0.8;
  transform: scaleX(1);
  transition-delay: 1.95s;
}

.scene.scene-active .s1-supporting {
  opacity: 0.95;
  transform: translateY(0);
  transition-delay: 2.3s;
}

.scene.scene-active .s1-cta-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 2.95s;
}

/* ===================================================================
   SCENE 02 — THE FIRST BLOOM
   =================================================================== */

.s2-container {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.s2-flower-stage {
  position: relative;
  width: clamp(280px, 42vw, 440px);
  height: clamp(280px, 42vw, 440px);
  margin-bottom: 1.2rem;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.s2-flower-stage:hover {
  transform: scale(1.03);
}

.s2-flower-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.45));
  animation: gentleSway 6s infinite ease-in-out;
  transform-origin: 50% 85%;
  transition: opacity 0.5s ease;
}

.s2-flower-stage.bloomed .s2-flower-img {
  animation: blossomGlow 4s infinite alternate ease-in-out;
}

.s2-poetry-block {
  min-height: 80px;
  margin-bottom: 1.2rem;
}

.s2-line {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 300;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.s2-line.revealed {
  opacity: 1;
  transform: translateY(0);
}

.s2-line:first-child { color: var(--c-petal); }
.s2-line:last-child {
  color: var(--c-lily-white);
  font-style: italic;
  font-weight: 600;
  text-shadow: 0 0 25px rgba(244, 183, 200, 0.4);
}

/* Lily Variety Selector Pills */
.lily-variety-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
  z-index: 5;
}

.lily-pill {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: rgba(244, 183, 200, 0.12);
  border: 1px solid rgba(244, 183, 200, 0.35);
  color: var(--c-petal);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  outline: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.lily-pill .pill-icon {
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.3s ease;
}

.lily-pill:hover {
  background: rgba(244, 183, 200, 0.24);
  border-color: var(--c-champagne);
  color: var(--c-lily-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 183, 200, 0.35);
}

.lily-pill:hover .pill-icon {
  transform: scale(1.15) rotate(5deg);
}

.lily-pill.active {
  background: linear-gradient(135deg, rgba(244, 183, 200, 0.36) 0%, rgba(232, 214, 183, 0.28) 100%);
  border-color: var(--c-champagne);
  color: var(--c-lily-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 22px rgba(244, 183, 200, 0.45), 0 0 16px rgba(232, 214, 183, 0.4);
}

.s2-flower-desc {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2.2vw, 1.18rem);
  font-style: italic;
  color: var(--c-champagne);
  margin-top: 1rem;
  min-height: 1.6em;
  opacity: 0.95;
  transition: opacity 0.3s ease;
  text-align: center;
  max-width: 540px;
  line-height: 1.45;
}

/* ===================================================================
   SCENE 03 — THE BLOOMING GARDEN
   =================================================================== */

.s3-garden-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.s3-garden-backdrop {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  opacity: 0.9;
  filter: brightness(0.85) contrast(1.05);
}

.s3-content-overlay {
  position: relative;
  z-index: 3;
  max-width: 860px;
  padding: 2.5rem;
  background: rgba(22, 11, 22, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  border: 1px solid rgba(244, 183, 200, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.s3-quote-block {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}

.s3-quote-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.s3-quote-line1 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 300;
  color: var(--c-petal);
  display: block;
}

.s3-quote-line2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-lily-white);
  line-height: 1.35;
  display: block;
  margin-top: 0.5rem;
  text-shadow: 0 0 30px rgba(232, 214, 183, 0.5);
}

/* ===================================================================
   SCENE 04 — LITTLE THINGS (NEW)
   =================================================================== */

.s4-little-things-container {
  max-width: 780px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
}

.little-things-title {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-lily-white);
  margin-bottom: 2rem;
  text-shadow: 0 0 25px rgba(244, 183, 200, 0.35);
}

.little-things-cards {
  position: relative;
  width: clamp(290px, 86vw, 620px);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.little-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.2rem 2rem;
  background: rgba(33, 13, 25, 0.65);
  border: 1px solid rgba(244, 183, 200, 0.28);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.little-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.card-flower-motif {
  font-size: 1.4rem;
  color: var(--c-blush);
  margin-bottom: 0.6rem;
  display: block;
}

.card-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--c-lily-white);
}

.card-dots-nav {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 183, 200, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.card-dot.active {
  background: var(--c-champagne);
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--c-champagne);
}

/* ===================================================================
   SCENE 05 — A THOUSAND PETALS (INTERACTIVE GARDEN)
   =================================================================== */

.s5-garden-ambient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.s5-garden-bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.35;
  filter: none;
}

.s5-petals-sanctuary {
  max-width: 780px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
  margin: 0 auto;
}

.sanctuary-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-lily-white);
  margin-bottom: 0.35rem;
  text-shadow: 0 0 25px rgba(244, 183, 200, 0.45), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.sanctuary-hint {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.5vw, 0.85rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-champagne);
  margin-bottom: 1.5rem;
  opacity: 0.95;
  text-shadow: 0 0 10px rgba(232, 214, 183, 0.3);
}

.interactive-lilies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  width: 100%;
  max-width: 680px;
  margin-bottom: 1.6rem;
}

.interactive-lily-node {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 249, 247, 0.22) 0%, rgba(244, 183, 200, 0.12) 50%, rgba(33, 13, 25, 0.88) 100%);
  border: 1px solid rgba(244, 183, 200, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  min-height: 155px;
  padding: 1rem 0.6rem 0.8rem 0.6rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background 0.25s ease;
  will-change: transform;
}

.interactive-lily-node:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 32px rgba(244, 183, 200, 0.5);
  border-color: var(--c-champagne);
}

.interactive-lily-node:active {
  transform: scale(0.97);
}

.interactive-lily-node.node-bloomed {
  background: radial-gradient(circle at 50% 38%, rgba(244, 183, 200, 0.42) 0%, rgba(232, 214, 183, 0.26) 55%, rgba(33, 13, 25, 0.92) 100%);
  border-color: var(--c-champagne);
  box-shadow: 0 0 28px rgba(244, 183, 200, 0.55), 0 0 16px rgba(232, 214, 183, 0.45), inset 0 0 15px rgba(244, 183, 200, 0.25);
}

.node-img-wrapper {
  width: 100%;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  overflow: visible;
}

.mini-cluster-img {
  width: 104px;
  height: 104px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: scale(1.35) translateZ(0);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 14px rgba(244, 183, 200, 0.5));
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.interactive-lily-node:hover .mini-cluster-img {
  transform: scale(1.48) rotate(4deg);
}

.interactive-lily-node.node-bloomed .mini-cluster-img {
  transform: scale(1.45);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(232, 214, 183, 0.8)) drop-shadow(0 0 14px rgba(244, 183, 200, 0.6));
}

.node-flower-name {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFF9F7;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

/* Subtle halo inside the node without clipping glitches */
.node-sparkle-halo {
  position: absolute;
  inset: 4px;
  border-radius: 16px;
  border: 1px dashed rgba(232, 214, 183, 0.4);
  opacity: 0.2;
  pointer-events: none;
  animation: haloPulse 3s infinite ease-in-out;
}

.hidden-discovery-box {
  max-width: 540px;
  width: 90%;
  padding: 0.9rem 1.6rem;
  background: rgba(33, 13, 25, 0.75);
  border: 1px solid rgba(232, 214, 183, 0.45);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(244, 183, 200, 0.25);
}

.discovery-text {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-style: italic;
  color: var(--c-lily-white);
  line-height: 1.35;
  text-shadow: 0 0 15px rgba(244, 183, 200, 0.3);
}

/* ===================================================================
   SCENE 06 — THE ALMOST CONFESSION (NEW)
   =================================================================== */

.s6-confession-prelude {
  max-width: 820px;
  position: relative;
  z-index: 5;
}

.prelude-text-group {
  margin-bottom: 2.2rem;
}

.s6-whisper-line {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--c-petal);
  margin-bottom: 0.8rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.s6-whisper-line.revealed {
  opacity: 1;
  transform: translateY(0);
}

.s6-whisper-line.highlight-whisper {
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-lily-white);
  text-shadow: 0 0 35px rgba(244, 183, 200, 0.45);
  margin-top: 1rem;
}

/* ===================================================================
   SCENE 07 — THE LITTLE LETTER (UPDATED FOR SCENE 7)
   =================================================================== */

.s7-container {
  width: 100%;
  max-width: 720px;
  height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.envelope-stage {
  position: relative;
  width: clamp(300px, 90vw, 560px);
  perspective: 1200px;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.envelope-wrapper {
  position: relative;
  width: 100%;
  height: 340px;
  background: #FDF9F3;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(33, 13, 25, 0.25), 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: visible;
  transition: transform 0.8s ease;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 56%;
  background: linear-gradient(180deg, #F4EAE0 0%, #E7D7C4 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}

.wax-seal {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  background: radial-gradient(circle, #A52650 0%, #691032 70%, #45081E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(105, 16, 50, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.35);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
}

.wax-seal:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(105, 16, 50, 0.7);
}

.wax-seal-symbol {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #FFF;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.envelope-to-label {
  position: absolute;
  bottom: 2rem;
  width: 100%;
  text-align: center;
  font-family: var(--font-handwriting);
  font-size: 2.2rem;
  color: var(--c-deep-wine);
  z-index: 4;
}

.envelope-hint {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-deep-wine);
  opacity: 0.65;
  animation: pulseHint 2s infinite ease-in-out;
}

.letter-sheet {
  position: absolute;
  top: 0;
  left: 5%;
  width: 90%;
  max-height: 70vh;
  max-height: 70dvh;
  background: #FFFDF9;
  border-radius: 10px;
  padding: 3rem 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(232, 214, 183, 0.5);
  background-image: 
    linear-gradient(rgba(244, 183, 200, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 183, 200, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--c-blush) transparent;
  opacity: 0;
  transform: translateY(60px) scale(0.92);
  pointer-events: none;
  z-index: 2;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 1s ease;
}

.letter-inner-btn {
  margin: 1.8rem auto 0.5rem auto;
  display: inline-flex;
  font-size: 1.05rem;
  padding: 0.85rem 2.2rem;
  box-shadow: 0 6px 25px rgba(244, 183, 200, 0.45);
}

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

.envelope-stage.envelope-open .wax-seal,
.envelope-stage.envelope-open .envelope-hint,
.envelope-stage.envelope-open .envelope-to-label {
  opacity: 0;
  pointer-events: none;
}

.envelope-stage.envelope-open .envelope-wrapper {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: transparent;
}

.envelope-stage.envelope-open .letter-sheet {
  opacity: 1;
  transform: translateY(-80px) scale(1);
  pointer-events: auto;
  z-index: 20;
}

.letter-header {
  font-family: var(--font-editorial);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-deep-wine);
  margin-bottom: 1.8rem;
  text-align: center;
  border-bottom: 1px solid rgba(201, 140, 158, 0.3);
  padding-bottom: 0.8rem;
}

.letter-body {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.8;
  color: #381E29;
  text-align: left;
}

.letter-para {
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(8px);
}

.envelope-open .letter-para {
  animation: inkReveal 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.letter-footer-note {
  margin-top: 1.5rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted-rose);
  opacity: 0.8;
}

/* ===================================================================
   SCENE 08 — WORDS LEFT UNSAID (SECTION 8: TEXT REVEAL)
   =================================================================== */

.s8-text-reveal-container {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 5;
}

.s8-reveal-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-lily-white);
  margin-bottom: 2rem;
  text-shadow: 0 0 25px rgba(244, 183, 200, 0.4);
}

.s8-staggered-lines {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
  max-width: 680px;
}

.s8-reveal-line {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  color: var(--c-petal);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.s8-reveal-line.highlight-line {
  color: var(--c-champagne);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  text-shadow: 0 0 20px rgba(232, 214, 183, 0.4);
  margin-top: 0.5rem;
}

/* Staggered Line Animation on Scene 8 Active */
.scene.scene-active .s8-line-1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.scene.scene-active .s8-line-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.4s;
}

.scene.scene-active .s8-line-3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 2.4s;
}

.scene.scene-active .s8-line-4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 3.4s;
}

/* ===================================================================
   SCENE 09 — THE INDIRECT PROPOSAL (SECTION 9: CLIMAX PROPOSAL)
   =================================================================== */

.s9-arch-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.s9-arch-img {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  opacity: 0.88;
}

.s9-proposal-card {
  position: relative;
  z-index: 4;
  max-width: 760px;
  width: 90%;
  padding: 2.8rem 2.4rem;
  background: rgba(22, 11, 22, 0.55);
  border: 1px solid rgba(232, 214, 183, 0.35);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 30px rgba(244, 183, 200, 0.2);
}

.proposal-main-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-lily-white);
  line-height: 1.25;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 35px rgba(244, 183, 200, 0.4);
}

.proposal-supporting-text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.65;
  color: var(--c-petal);
  margin-bottom: 1.6rem;
  opacity: 0.95;
}

.proposal-question-highlight {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-champagne);
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(232, 214, 183, 0.4);
}

.proposal-choices-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-proposal-choice {
  appearance: none;
  -webkit-appearance: none;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  border: 1px solid rgba(232, 214, 183, 0.4);
  background: rgba(33, 13, 25, 0.7);
  color: var(--c-lily-white);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn-proposal-choice.choice-opt1 {
  background: linear-gradient(135deg, rgba(244, 183, 200, 0.3) 0%, rgba(201, 140, 158, 0.3) 100%);
  border-color: var(--c-blush);
}

.btn-proposal-choice.choice-opt2 {
  background: linear-gradient(135deg, rgba(232, 214, 183, 0.25) 0%, rgba(201, 140, 158, 0.25) 100%);
  border-color: rgba(232, 214, 183, 0.45);
}

.btn-proposal-choice:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px var(--c-rose-glow);
  border-color: var(--c-champagne);
}

.btn-proposal-choice.choice-selected {
  background: linear-gradient(135deg, rgba(244, 183, 200, 0.45) 0%, rgba(232, 214, 183, 0.35) 100%);
  border-color: var(--c-champagne);
  box-shadow: 0 0 25px rgba(244, 183, 200, 0.5), 0 0 15px rgba(232, 214, 183, 0.4);
  transform: translateY(-1px);
}

.proposal-response-box {
  margin-top: 1.8rem;
  padding: 1.4rem 1.8rem;
  border-radius: 18px;
  background: rgba(244, 183, 200, 0.15);
  border: 1px solid rgba(232, 214, 183, 0.4);
  box-shadow: 0 0 30px rgba(244, 183, 200, 0.25);
}

.response-sparkle-badge {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.response-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-style: italic;
  color: var(--c-lily-white);
  line-height: 1.5;
  transition: opacity 0.25s ease;
}

/* ===================================================================
   SCENE 10 — MAKE A WISH (SECTION 10: PETAL INTERACTION)
   =================================================================== */

.s10-wish-container {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 5;
}

.s10-wish-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-lily-white);
  margin-bottom: 0.4rem;
  text-shadow: 0 0 25px rgba(244, 183, 200, 0.35);
}

.s10-wish-hint {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.5vw, 0.86rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-champagne);
  margin-bottom: 1.6rem;
  opacity: 0.9;
}

.s10-wish-flower-stage {
  position: relative;
  width: clamp(230px, 58vw, 290px);
  height: clamp(230px, 58vw, 290px);
  margin-bottom: 1.5rem;
  cursor: pointer;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.45));
}

.s10-wish-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wish-petal {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              stroke-width 0.3s ease;
  transform-origin: 200px 200px;
  stroke: rgba(255, 249, 247, 0.6);
  stroke-width: 0.8;
}

.wish-petal:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 16px rgba(244, 183, 200, 0.85));
  stroke: #FFF9F7;
  stroke-width: 1.4;
}

.wish-petal.petal-wished {
  filter: drop-shadow(0 0 24px rgba(232, 214, 183, 0.95)) drop-shadow(0 0 12px rgba(244, 183, 200, 0.8));
  stroke: var(--c-champagne);
  stroke-width: 1.8;
}

.wish-reveal-box {
  max-width: 580px;
  width: 90%;
  padding: 1.2rem 1.8rem;
  background: rgba(232, 214, 183, 0.14);
  border: 1px solid rgba(232, 214, 183, 0.4);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 4px 25px rgba(232, 214, 183, 0.3);
}

.wish-star-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  animation: sparkleTwinkle 2.5s infinite ease-in-out;
}

.wish-message-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-style: italic;
  color: var(--c-lily-white);
  line-height: 1.35;
}

/* ===================================================================
   SCENE 11 — DEVELOPER SIGNATURE (SECTION 11: EPILOGUE)
   =================================================================== */

.s11-signature-container {
  max-width: 680px;
  width: 90%;
  padding: 3rem 2.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(201, 140, 158, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(33, 13, 25, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
}

.corner-lily {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.corner-top-left {
  top: 2rem;
  left: 2rem;
}

.corner-bottom-right {
  bottom: 2rem;
  right: 2rem;
}

.s10-main-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 600;
  font-style: italic;
  color: var(--c-deep-wine);
  margin-bottom: 0.8rem;
}

.s10-supporting-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: #55273B;
  margin-bottom: 2rem;
}

.s10-author-card {
  width: 100%;
  max-width: 480px;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(232, 214, 183, 0.6);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.s10-author-intro {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted-rose);
  display: block;
  margin-bottom: 0.4rem;
}

.s10-author-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--c-deep-wine);
  margin-bottom: 1.4rem;
}

.s10-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.dev-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-pill {
  background: linear-gradient(135deg, #FDF0F4 0%, #FBE4EC 100%);
  border: 1px solid #F4B7C8;
  color: #A52650;
}

.github-pill {
  background: linear-gradient(135deg, #F8F9FA 0%, #EEF1F5 100%);
  border: 1px solid #D1D5DB;
  color: #1F2937;
}

.dev-social-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.dev-social-icon {
  width: 18px;
  height: 18px;
}

.s10-signature-line {
  font-family: var(--font-handwriting);
  font-size: 1.8rem;
  color: var(--c-muted-rose);
  margin-top: 0.5rem;
}

.s10-bottom-copyright {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-deep-wine);
  opacity: 0.6;
  margin-top: 1.8rem;
}
