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

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

:root {
  --lime: #84cc16;
  --lime-soft: #a3e635;
  --lime-deep: #4d7c0f;
  --lime-glow: rgba(132, 204, 22, 0.4);
  --lime-pale: #d9f99d;
  --gold: #d4a574;
  --gold-light: #f0d9b5;
  --cream: #fdf6ec;
  --night: #0a0a1a;
  --night-blue: #0d1b2a;
  --star: #fffbe6;
  --petal: #d9f99d;
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--night);
  font-family: 'Cormorant Garamond', serif;
  cursor: none;
}

/* ═══════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════ */
#cursor {
  position: fixed;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132,204,22,0.8), transparent);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
  mix-blend-mode: screen;
}
#cursor-trail {
  position: fixed;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(132,204,22,0.3);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease-out;
}

/* ═══════════════════════════════════════
   SCENES SYSTEM
   ═══════════════════════════════════════ */
.scene {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease, visibility 0s 1.5s;
  z-index: 1;
}
.scene.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.5s ease, visibility 0s 0s;
  z-index: 2;
}

.transition-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--night);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hidden { display: none !important; }

/* ═══════════════════════════════════════
   SCENE 0: INTRO — STARS
   ═══════════════════════════════════════ */
#scene-intro {
  background: var(--night);
  overflow: hidden;
}
#stars-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}
.intro-announce {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  color: var(--gold-light);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeFloat 2s ease forwards 0.3s;
}
.intro-content h1 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--lime);
  opacity: 0;
  animation: fadeFloat 2s ease forwards 0.8s;
  text-shadow: 0 0 40px var(--lime-glow), 0 0 80px rgba(132,204,22,0.2);
}
.intro-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  color: var(--gold-light);
  letter-spacing: 0.3em;
  opacity: 0;
  animation: fadeFloat 2s ease forwards 1.8s;
  margin-top: 0.5rem;
}
.intro-snoopy {
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeFloat 1.5s ease forwards 2.5s;
}
.intro-snoopy img {
  width: clamp(80px, 18vw, 130px);
  filter: drop-shadow(0 0 20px rgba(132,204,22,0.3));
}
.begin-btn {
  margin-top: 2.5rem;
  padding: 1rem 3rem;
  background: transparent;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: none;
  opacity: 0;
  animation: fadeFloat 2s ease forwards 3.2s;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}
.begin-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(132,204,22,0.2), transparent);
  transition: left 0.5s ease;
}
.begin-btn:hover::before { left: 100%; }
.begin-btn:hover {
  background: rgba(132,204,22,0.1);
  box-shadow: 0 0 30px var(--lime-glow);
  transform: scale(1.05);
}

/* Shooting stars */
.shooting-star {
  position: absolute;
  width: 3px; height: 3px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(255,255,255,0.6);
  animation: shoot linear forwards;
  opacity: 0;
}
@keyframes shoot {
  0% { opacity: 1; transform: translate(0,0) rotate(-45deg); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-400px, 400px) rotate(-45deg); }
}

/* ═══════════════════════════════════════
   SCENE 1: ENVELOPE
   ═══════════════════════════════════════ */
#scene-envelope {
  background: linear-gradient(135deg, #0a1a0a 0%, #0d1b2a 50%, #0a1a0a 100%);
}
.fireflies {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.firefly {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--lime-pale);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime), 0 0 20px var(--lime), 0 0 40px rgba(132,204,22,0.3);
  animation: firefly-float linear infinite;
}
@keyframes firefly-float {
  0%, 100% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { transform: translate(var(--dx), var(--dy)); }
}

.envelope-container {
  position: relative;
  z-index: 2;
  text-align: center;
  perspective: 1000px;
}
.envelope {
  width: clamp(280px, 60vw, 420px);
  height: clamp(180px, 35vw, 280px);
  position: relative;
  cursor: none;
  transform-style: preserve-3d;
  margin: 0 auto;
}
.envelope-body {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #e8f5d0, #d4e8b8);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 100px rgba(132,204,22,0.08);
  overflow: hidden;
}
.envelope-body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 5L55 30 30 55 5 30z' fill='none' stroke='%2384cc1620' stroke-width='.5'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.envelope-flap {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 55%;
  background: linear-gradient(165deg, #c8e6a0, #b0d890);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transform-origin: top center;
  transition: transform 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 3;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.envelope.open .envelope-flap {
  transform: rotateX(180deg);
}
.wax-seal {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: radial-gradient(circle at 35% 35%, #a3e635, var(--lime-deep), #2d5016);
  border-radius: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.2);
  transition: all 0.8s ease;
  font-size: 1.5rem;
}
.envelope.open .wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}
.letter-paper {
  position: absolute;
  width: 85%; height: 70%;
  left: 7.5%; bottom: 10%;
  background: linear-gradient(to bottom, #fffef9, #faf5ed);
  border-radius: 2px;
  z-index: 2;
  transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.envelope.open .letter-paper {
  transform: translateY(-120%);
}
.envelope-hint {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--lime-pale);
  margin-top: 2rem;
  opacity: 0;
  animation: pulse-text 2s ease-in-out infinite 1s;
  letter-spacing: 0.2em;
}
@keyframes pulse-text {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ═══════════════════════════════════════
   SCENE 2: LETTER (scrollable)
   ═══════════════════════════════════════ */
#scene-letter {
  background: linear-gradient(180deg, #0a1a0a 0%, #0d1b2a 100%);
  overflow-y: auto;
  align-items: flex-start;
  padding: 5vh 0;
}
.letter-container {
  width: clamp(300px, 88vw, 650px);
  background: linear-gradient(to bottom, #fffef9, #faf5ed);
  padding: clamp(1.8rem, 6vw, 3.5rem);
  position: relative;
  margin: 2rem auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 120px rgba(132,204,22,0.06);
}
.letter-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--gold), var(--lime));
}
.letter-deco {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
}
.letter-deco.top-left {
  top: 10px; left: 10px;
  font-size: 6rem;
  color: var(--lime-deep);
  font-family: 'Great Vibes', cursive;
}
.letter-deco.bottom-right {
  bottom: 10px; right: 15px;
  font-size: 6rem;
  color: var(--gold);
  font-family: 'Great Vibes', cursive;
}
.letter-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: #b8a898;
  letter-spacing: 0.15em;
  text-align: right;
  margin-bottom: 2rem;
}
.letter-greeting {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--lime-deep);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}
.letter-body p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  line-height: 2;
  color: #4a3f35;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
}
.letter-body .highlight {
  color: var(--lime-deep);
  font-style: italic;
  font-weight: 600;
}
.letter-section-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--lime-deep);
  margin: 1.5rem 0 1rem;
  opacity: 0;
  transform: translateY(20px);
}
.letter-signature {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--lime-deep);
  text-align: right;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
}
.heart-divider {
  text-align: center;
  margin: 1.5rem 0;
  opacity: 0;
}
.heart-divider span {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 1em;
  animation: heartbeat 1.5s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Chat messages inside letter */
.chat-in-letter {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
}
.chat-msg {
  padding: 10px 16px;
  border-radius: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  line-height: 1.6;
  max-width: 85%;
}
.chat-msg.me {
  background: #dcfce7;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  border: 1px solid rgba(132,204,22,0.2);
}
.chat-msg.her {
  background: #fce7f3;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  border: 1px solid rgba(244,114,182,0.2);
}
.chat-label {
  font-weight: 600;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 2px;
  color: #666;
}

/* Love list */
.love-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 1rem 0 1.5rem;
}
.love-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(132,204,22,0.06);
  border-radius: 14px;
  border-left: 3px solid var(--lime);
  opacity: 0;
  transform: translateY(15px);
  transition: background 0.3s;
}
.love-item:hover {
  background: rgba(132,204,22,0.12);
}
.love-item-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.love-item-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lime-deep);
  margin-bottom: 3px;
}
.love-item-body p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #5a5045 !important;
  margin-bottom: 0 !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Sticker grid */
.sticker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 1rem 0 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}
.sticker-slot {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}
.sticker-slot:hover {
  transform: scale(1.05) rotate(2deg);
}
.sticker-slot:nth-child(even):hover {
  transform: scale(1.05) rotate(-2deg);
}
.sticker-placeholder {
  width: 100%; height: 100%;
  background: #f7fee7;
  border: 2px dashed rgba(132,204,22,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: var(--lime-deep);
  text-align: center;
  padding: 8px;
}
.sticker-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.snoopy-inline {
  text-align: center;
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(20px);
}
.snoopy-inline img {
  width: clamp(80px, 20vw, 120px);
  filter: drop-shadow(0 0 15px rgba(132,204,22,0.2));
  animation: snoopy-dance 3s ease-in-out infinite;
}
@keyframes snoopy-dance {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg) translateY(-5px); }
}

.letter-next {
  text-align: center;
  margin-top: 2.5rem;
  padding-bottom: 1rem;
}
.letter-continue-btn {
  padding: 0.9rem 2.5rem;
  background: none;
  border: 1px solid var(--lime);
  color: var(--lime-deep);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  cursor: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.letter-continue-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(132,204,22,0.15), transparent);
  transition: left 0.5s ease;
}
.letter-continue-btn:hover::before { left: 100%; }
.letter-continue-btn:hover {
  background: rgba(132,204,22,0.08);
  box-shadow: 0 0 25px rgba(132,204,22,0.2);
}

/* ═══════════════════════════════════════
   SCENE 3: PROBABILITY
   ═══════════════════════════════════════ */
#scene-probability {
  background: var(--night);
  overflow: hidden;
}
#probability-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.probability-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 600px;
  width: 100%;
}
.prob-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--lime);
  text-shadow: 0 0 30px var(--lime-glow);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeFloat 1.5s ease forwards 0.3s;
}
.prob-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--gold-light);
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeFloat 1.5s ease forwards 0.8s;
}
.prob-factors {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.prob-factor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(132,204,22,0.06);
  border: 1px solid rgba(132,204,22,0.1);
  border-radius: 12px;
  text-align: left;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}
.prob-factor.visible {
  opacity: 1;
  transform: translateX(0);
}
.factor-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.factor-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.glow-btn {
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  cursor: none;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  animation: btnPulse 2s ease-in-out infinite;
}
.glow-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(132,204,22,0.2), transparent);
  transition: left 0.5s ease;
}
.glow-btn:hover::before { left: 100%; }
.glow-btn:hover {
  background: rgba(132,204,22,0.1);
  box-shadow: 0 0 30px var(--lime-glow);
  transform: scale(1.05);
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(132,204,22,0.15); }
  50% { box-shadow: 0 0 35px rgba(132,204,22,0.35); }
}

.prob-result {
  margin-top: 2rem;
}
.prob-number-display {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.prob-big-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 700;
  color: var(--lime);
  text-shadow: 0 0 30px var(--lime-glow);
  font-variant-numeric: tabular-nums;
}
.prob-percent-sign {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--lime-soft);
  margin-left: 4px;
}
.prob-final {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-top: 1.5rem;
  line-height: 1.8;
}
.prob-mega {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--lime);
  text-shadow: 0 0 20px var(--lime-glow);
}

/* ═══════════════════════════════════════
   SCENE 4: FINALE
   ═══════════════════════════════════════ */
#scene-finale {
  background: var(--night);
  overflow: hidden;
}
#petals-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.finale-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 600px;
}
.finale-pre {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  opacity: 0;
  animation: fadeFloat 1.5s ease forwards 0.3s;
}
.finale-pre-2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.5);
  margin-top: 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeFloat 1.5s ease forwards 1s;
}
.the-question {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 7vw, 4rem);
  color: var(--lime);
  text-shadow: 0 0 40px var(--lime-glow), 0 0 80px rgba(132,204,22,0.15);
  line-height: 1.3;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeFloat 2s ease forwards 1.8s;
}
.finale-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  min-height: 80px;
  position: relative;
  opacity: 0;
  animation: fadeFloat 1.5s ease forwards 2.8s;
}
.btn-yes {
  padding: 1rem 2.5rem;
  background: var(--lime);
  border: none;
  color: var(--night);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px var(--lime-glow);
  animation: yesGlow 2s ease-in-out infinite;
  position: relative;
  z-index: 5;
}
@keyframes yesGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(132,204,22,0.3); }
  50% { box-shadow: 0 0 40px rgba(132,204,22,0.5); transform: scale(1.03); }
}
.btn-yes:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 0 50px var(--lime-glow) !important;
}
.btn-no {
  padding: 0.8rem 2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  cursor: none;
  transition: all 0.15s ease;
  position: relative;
  z-index: 4;
}

/* Celebration */
.celebration {
  animation: fadeFloat 1s ease forwards;
}
.finale-heart {
  font-size: clamp(4rem, 12vw, 7rem);
  display: inline-block;
  animation: heartbeat 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(132,204,22,0.6));
}
.celebration-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--lime);
  margin: 1rem 0;
  text-shadow: 0 0 40px var(--lime-glow);
}
.celebration-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}
.snoopy-party img {
  width: clamp(100px, 25vw, 160px);
  animation: snoopy-dance 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(132,204,22,0.3));
}
.celebration-footer {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1.5rem;
  letter-spacing: 0.2em;
}

/* Float hearts */
.float-heart {
  position: absolute;
  color: var(--lime);
  opacity: 0;
  animation: float-up linear forwards;
  pointer-events: none;
  z-index: 1;
}
@keyframes float-up {
  0% { opacity: 0; transform: translateY(0) rotate(0deg) scale(0); }
  10% { opacity: 0.7; transform: scale(1); }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-100vh) rotate(720deg) scale(0.5); }
}

/* ═══════════════════════════════════════
   NAV DOTS + MUSIC BUTTON
   ═══════════════════════════════════════ */
.nav-dots {
  position: fixed;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}
.nav-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(132,204,22,0.5);
  background: transparent;
  cursor: none;
  transition: all 0.4s ease;
  padding: 0;
}
.nav-dot.active {
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime-glow);
  transform: scale(1.3);
}

.music-btn {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(132,204,22,0.1);
  border: 1px solid rgba(132,204,22,0.3);
  color: var(--lime);
  font-size: 1.2rem;
  cursor: none;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.music-btn:hover {
  background: rgba(132,204,22,0.2);
  transform: scale(1.1);
}
.music-btn .bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 16px;
}
.music-btn .bar {
  width: 3px;
  background: var(--lime);
  border-radius: 2px;
  transition: height 0.3s;
}
.music-btn.playing .bar { animation: bar-dance 0.8s ease-in-out infinite alternate; }
.music-btn .bar:nth-child(1) { height: 6px; animation-delay: 0s; }
.music-btn .bar:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.music-btn .bar:nth-child(3) { height: 8px; animation-delay: 0.3s; }
.music-btn .bar:nth-child(4) { height: 14px; animation-delay: 0.1s; }
@keyframes bar-dance {
  to { height: 16px; }
}

/* ═══════════════════════════════════════
   TOUCH HEARTS + GLOBAL
   ═══════════════════════════════════════ */
.touch-heart {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  font-size: 1.2rem;
  animation: pop-heart 1.5s ease-out forwards;
}
@keyframes pop-heart {
  0% { opacity: 1; transform: scale(0) translateY(0); }
  20% { transform: scale(1.2) translateY(-10px); }
  100% { opacity: 0; transform: scale(0.6) translateY(-120px); }
}

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

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 600px) {
  .nav-dots { right: 0.6rem; gap: 10px; }
  .music-btn { bottom: 1rem; right: 1rem; width: 38px; height: 38px; }
  .sticker-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .finale-buttons { flex-direction: column; gap: 12px; }
  .chat-msg { max-width: 90%; }
  .prob-factor { padding: 8px 12px; gap: 10px; }
}
@media (min-width: 601px) {
  .sticker-grid { grid-template-columns: repeat(3, 1fr); }
}
