/* ===== RESET & BASE ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%;overflow:hidden}
body{
  font-family:'Inter',system-ui,sans-serif;
  background:#000;
  color:#f9fafb;
}
#app{width:100%;height:100vh;position:relative;overflow:visible}

/* ===== SCENES ===== */
.scene{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;
  transition:opacity 1.2s cubic-bezier(.4,0,.2,1);
  z-index:1;
  overflow:visible;
}
.scene.active{opacity:1;pointer-events:auto}

/* ===== 0. LANDING PAGE ===== */
#scene-landing{z-index:0}
.landing-wrapper{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#ff6b9d 0%,#c44569 25%,#a855f7 50%,#3b82f6 75%,#ec4899 100%);
  position:relative;overflow:hidden;
}
.floating-hearts{
  position:absolute;inset:0;pointer-events:none;z-index:0;
}
.floating-heart{
  position:absolute;font-size:2rem;opacity:0.7;
  animation:heartFloat linear infinite;
  color:#fff;text-shadow:0 0 10px rgba(255,255,255,0.5);
}
@keyframes heartFloat{
  0%{transform:translateY(100vh) translateX(0) rotate(0deg);opacity:0}
  10%{opacity:0.7}
  90%{opacity:0.7}
  100%{transform:translateY(-100px) translateX(100px) rotate(360deg);opacity:0}
}
.landing-content{
  position:relative;z-index:1;text-align:center;padding:2rem;max-width:800px;
}
.landing-title{
  font-family:'Dancing Script',cursive;font-size:clamp(2.5rem,6vw,4.5rem);
  font-weight:700;color:#fff;margin-bottom:1.5rem;
  text-shadow:0 4px 20px rgba(0,0,0,0.3);
  animation:fadeInUp 1s ease-out;
}
.landing-subtitle{
  font-size:clamp(1rem,2.5vw,1.4rem);color:rgba(255,255,255,0.95);
  margin-bottom:3rem;line-height:1.6;font-weight:400;
  text-shadow:0 2px 10px rgba(0,0,0,0.2);
  animation:fadeInUp 1s ease-out 0.3s both;
}
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:translateY(0)}
}
.landing-btn{
  background:rgba(255,255,255,0.95);border:none;padding:1rem 3rem;
  border-radius:50px;color:#c44569;font-size:1.1rem;font-weight:600;
  cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,0.3);
  transition:all 0.3s ease;animation:fadeInUp 1s ease-out 0.6s both;
  font-family:'Inter',sans-serif;
}
.landing-btn:hover{
  transform:translateY(-3px);box-shadow:0 15px 40px rgba(0,0,0,0.4);
  background:#fff;
}
.landing-btn:active{transform:translateY(-1px)}

/* ===== 0.5. QUIZ ===== */
#scene-quiz{z-index:0.5}

/* ===== 0.75. YEAR SELECTION ===== */
#scene-year-selection{z-index:0.75}
.year-selection-wrapper{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#ff6b9d 0%,#c44569 25%,#a855f7 50%,#3b82f6 75%,#ec4899 100%);
  position:relative;overflow:hidden;
}
.year-selection-content{
  position:relative;z-index:2;text-align:center;padding:2rem;
  max-width:900px;width:100%;
}
.year-selection-title{
  font-family:'Dancing Script',cursive;font-size:clamp(2.5rem,6vw,4rem);
  font-weight:700;color:#fff;margin-bottom:3rem;
  text-shadow:0 4px 20px rgba(0,0,0,0.3);
  animation:fadeInUp 1s ease-out;
}
.year-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:1.5rem;max-width:800px;margin:0 auto;
}
.year-box{
  aspect-ratio:1;background:rgba(255,255,255,0.15);
  backdrop-filter:blur(10px);border-radius:20px;
  border:2px solid rgba(255,255,255,0.3);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  cursor:pointer;transition:all 0.3s ease;
  padding:1.5rem;box-shadow:0 8px 24px rgba(0,0,0,0.2);
  position:relative;overflow:hidden;
}
.year-box::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,0.1),rgba(255,255,255,0.05));
  opacity:0;transition:opacity 0.3s ease;
}
.year-box:hover{
  transform:translateY(-8px) scale(1.05);
  box-shadow:0 12px 32px rgba(0,0,0,0.3);
  border-color:rgba(255,255,255,0.5);
  background:rgba(255,255,255,0.25);
}
.year-box:hover::before{opacity:1}
.year-box:active{transform:translateY(-4px) scale(1.02)}
.year-number{
  font-family:'Playfair Display',serif;font-size:clamp(2rem,4vw,3rem);
  font-weight:700;color:#fff;margin-bottom:0.5rem;
  text-shadow:0 2px 10px rgba(0,0,0,0.3);
}
.year-label{
  font-family:'Inter',sans-serif;font-size:clamp(0.85rem,1.5vw,1rem);
  color:rgba(255,255,255,0.9);font-weight:500;
  text-shadow:0 1px 5px rgba(0,0,0,0.2);
}
.year-popup{
  position:fixed;inset:0;background:rgba(0,0,0,0.7);
  backdrop-filter:blur(5px);z-index:10000;
  display:none;align-items:center;justify-content:center;
  opacity:0;transition:opacity 0.3s ease;
  padding:2rem;
}
.year-popup.active{
  display:flex;opacity:1;
}
.year-popup-content{
  background:rgba(255,255,255,0.95);backdrop-filter:blur(20px);
  border-radius:24px;padding:3rem;max-width:500px;width:100%;
  box-shadow:0 20px 60px rgba(0,0,0,0.4);
  position:relative;animation:popupFadeIn 0.4s ease-out;
}
@keyframes popupFadeIn{
  from{opacity:0;transform:scale(0.9) translateY(20px)}
  to{opacity:1;transform:scale(1) translateY(0)}
}
.year-popup-close{
  position:absolute;top:1rem;right:1rem;
  background:none;border:none;font-size:2rem;
  color:#c44569;cursor:pointer;width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;transition:all 0.2s ease;
  line-height:1;
}
.year-popup-close:hover{
  background:rgba(196,69,105,0.1);transform:rotate(90deg);
}
.year-popup-message{
  font-family:'Dancing Script',cursive;font-size:clamp(1.5rem,3vw,2.2rem);
  color:#c44569;text-align:center;line-height:1.6;
  font-weight:600;margin:0;
}
.quiz-wrapper{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#ff6b9d 0%,#c44569 25%,#a855f7 50%,#3b82f6 75%,#ec4899 100%);
  padding:2rem;
}
.quiz-container{
  background:rgba(255,255,255,0.95);backdrop-filter:blur(20px);
  border-radius:24px;padding:3rem;max-width:600px;width:100%;
  box-shadow:0 20px 60px rgba(0,0,0,0.3);
  animation:quizFadeIn 0.6s ease-out;
}
@keyframes quizFadeIn{
  from{opacity:0;transform:scale(0.95) translateY(20px)}
  to{opacity:1;transform:scale(1) translateY(0)}
}
.quiz-header{text-align:center;margin-bottom:2rem}
.quiz-title{
  font-family:'Dancing Script',cursive;font-size:clamp(2rem,5vw,3rem);
  font-weight:700;color:#c44569;margin-bottom:0.5rem;
}
.quiz-subtitle{
  font-size:1rem;color:#666;font-weight:400;
}
.quiz-content{position:relative}
.question-card{text-align:center}
.question-number{
  font-size:0.9rem;color:#999;margin-bottom:1rem;font-weight:500;
  text-transform:uppercase;letter-spacing:0.1em;
}
.question-text{
  font-size:clamp(1.3rem,3vw,1.8rem);color:#333;margin-bottom:1rem;
  font-weight:600;line-height:1.4;
}
.question-hint{
  font-size:1rem;color:#666;margin-bottom:2rem;font-style:italic;
}
.quiz-input{
  width:100%;padding:1rem 1.5rem;border:2px solid #ddd;
  border-radius:12px;font-size:1.1rem;margin-bottom:1rem;
  font-family:'Inter',sans-serif;transition:all 0.3s ease;
  background:#fff;
}
.quiz-input:focus{
  outline:none;border-color:#c44569;box-shadow:0 0 0 3px rgba(196,69,105,0.1);
}
.quiz-message{
  min-height:2rem;margin-bottom:1rem;font-size:1rem;
  font-weight:500;display:flex;align-items:center;justify-content:center;
}
.quiz-message.error{color:#dc2626}
.quiz-message.success{color:#16a34a}
.quiz-submit-btn{
  width:100%;padding:1rem;border:none;border-radius:12px;
  background:linear-gradient(135deg,#ff6b9d,#c44569);
  color:#fff;font-size:1.1rem;font-weight:600;cursor:pointer;
  transition:all 0.3s ease;box-shadow:0 4px 15px rgba(196,69,105,0.3);
}
.quiz-submit-btn:hover{
  transform:translateY(-2px);box-shadow:0 6px 20px rgba(196,69,105,0.4);
}
.quiz-submit-btn:active{transform:translateY(0)}
.quiz-submit-btn:disabled{
  opacity:0.6;cursor:not-allowed;transform:none;
}
#scene-proposal{
  z-index:10;
  overflow:visible;
}
#scene-celebration{
  z-index:20;
  overflow:visible;
}
/* Force No button to always be visible even when scene is transitioning */
.scene .btn--no,
.scene.active .btn--no,
#scene-proposal .btn--no,
.proposal-buttons .btn--no{
  opacity:1 !important;
  visibility:visible !important;
  display:block !important;
  pointer-events:auto !important;
}

/* ===== MUSIC TOGGLE BUTTON ===== */
.music-toggle-btn{
  position:fixed;top:2rem;right:2rem;z-index:10000;
  width:48px;height:48px;border-radius:50%;
  background:rgba(196,69,105,0.2);backdrop-filter:blur(10px);
  border:2px solid rgba(255,107,157,0.5);
  color:#ff6b9d;cursor:pointer;
  display:none;align-items:center;justify-content:center;
  transition:all 0.3s ease;
  box-shadow:0 0 20px rgba(255,107,157,0.4),0 4px 12px rgba(0,0,0,0.3);
}
.music-toggle-btn:hover{
  background:rgba(196,69,105,0.3);
  transform:scale(1.1);
  box-shadow:0 0 30px rgba(255,107,157,0.6),0 6px 20px rgba(0,0,0,0.4);
  border-color:rgba(255,107,157,0.8);
}
.music-toggle-btn svg{
  width:24px;height:24px;
  filter:drop-shadow(0 0 4px rgba(255,107,157,0.8));
}

/* ===== 1. WELCOME ===== */
#scene-welcome{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.welcome-back-btn{
  position:absolute;top:2rem;left:2rem;z-index:100;
  width:48px;height:48px;border-radius:50%;
  background:rgba(15,23,42,0.8);backdrop-filter:blur(10px);
  border:1px solid rgba(148,163,184,0.3);
  color:#f9fafb;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:all 0.3s ease;box-shadow:0 4px 12px rgba(0,0,0,0.3);
}
.welcome-back-btn:hover{
  background:rgba(15,23,42,0.95);
  transform:translateX(-4px);
  box-shadow:0 6px 16px rgba(0,0,0,0.4);
}
.welcome-back-btn svg{width:24px;height:24px}
.welcome-wrapper{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(ellipse at top,#111827,#020617 55%,#000);
}
.welcome-card{
  display:flex;flex-direction:column;align-items:center;gap:22px;
  background:linear-gradient(145deg,rgba(15,23,42,.92),rgba(15,23,42,.72));
  border:1px solid rgba(148,163,184,.18);
  border-radius:32px;padding:44px 52px 36px;
  box-shadow:0 28px 80px rgba(0,0,0,.7);
  animation:cardPulse 2.8s ease-in-out infinite;
}
@keyframes cardPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.03)}}

.play-btn-ring{position:relative}
.play-btn-ring::before{
  content:'';position:absolute;inset:-12px;border-radius:50%;
  border:1px solid rgba(249,115,22,.45);opacity:.7;
  pointer-events:none;
}
.play-btn{
  width:88px;height:88px;border-radius:50%;border:none;cursor:pointer;
  background:radial-gradient(circle at 35% 25%,#f97316,#c2410c);
  color:#fefce8;display:flex;align-items:center;justify-content:center;
  box-shadow:0 0 44px rgba(249,115,22,.6);
  transition:transform .2s,box-shadow .2s;
}
.play-btn svg{width:44px;height:44px;margin-left:4px}
.play-btn:hover{transform:scale(1.08);box-shadow:0 0 60px rgba(249,115,22,.85)}
.play-btn:active{transform:scale(.95)}
.welcome-hint{
  color:#9ca3af;font-size:.88rem;font-weight:400;
  letter-spacing:.08em;text-transform:uppercase;
}

/* ===== 2. SLIDESHOW ===== */
.slideshow-wrapper{
  width:100%;height:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:radial-gradient(ellipse at top,#111827,#020617 55%,#000);
  position:relative;
}
.slideshow-frame{
  position:relative;
  width:100%;
  height:100%;
}
.slide-img{
  position:absolute;
  top:50%;
  left:50%;
  max-width:90vw;
  max-height:90vh;
  width:auto;
  height:auto;
  object-fit:cover;
  opacity:0;
  transition:opacity 0.6s ease,transform 0.6s ease,clip-path 0.8s ease,border-radius 0.8s ease;
  transform:translate3d(-50%,-50%,0) scale(1);
  transform-origin:center center;
  will-change:transform,clip-path,border-radius;
  background-color:transparent;
}
.slide-img.visible{opacity:1}

/* ===== 2.5. HEART COLLAGE ===== */
.heart-collage-wrapper{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(ellipse at top,#111827,#020617 55%,#000);
  padding:2rem;
}
.heart-collage-container{
  width:min(900px,90vw);
  height:min(900px,90vh);
  position:relative;
  clip-path:polygon(50% 15%, 58% 10%, 70% 12%, 85% 25%, 88% 45%, 75% 70%, 50% 95%, 25% 70%, 12% 45%, 15% 25%, 30% 12%, 42% 10%);
  display:grid;
  grid-template-columns:repeat(6,1fr);
  grid-template-rows:repeat(6,1fr);
  gap:2px;
  animation:heartCollagePulse 2s ease-in-out infinite,heartCollageFloat 4s ease-in-out infinite,heartCollageGlow 3s ease-in-out infinite;
  will-change:transform,filter;
  background:rgba(0,0,0,0.3);
  overflow:hidden;
  transition:opacity 0.8s ease;
}
.collage-img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  animation:fadeInCollage 0.5s ease forwards;
  display:block;
  position:relative;
}
.collage-img:nth-child(1){animation-delay:0.1s}
.collage-img:nth-child(2){animation-delay:0.15s}
.collage-img:nth-child(3){animation-delay:0.2s}
.collage-img:nth-child(4){animation-delay:0.25s}
.collage-img:nth-child(5){animation-delay:0.3s}
.collage-img:nth-child(6){animation-delay:0.35s}
.collage-img:nth-child(7){animation-delay:0.4s}
.collage-img:nth-child(8){animation-delay:0.45s}
.collage-img:nth-child(9){animation-delay:0.5s}
.collage-img:nth-child(10){animation-delay:0.55s}
.collage-img:nth-child(11){animation-delay:0.6s}
.collage-img:nth-child(12){animation-delay:0.65s}
.collage-img:nth-child(13){animation-delay:0.7s}
.collage-img:nth-child(14){animation-delay:0.75s}
.collage-img:nth-child(15){animation-delay:0.8s}
.collage-img:nth-child(16){animation-delay:0.85s}
.collage-img:nth-child(17){animation-delay:0.9s}
.collage-img:nth-child(18){animation-delay:0.95s}
.collage-img:nth-child(19){animation-delay:1s}
.collage-img:nth-child(20){animation-delay:1.05s}
.collage-img:nth-child(21){animation-delay:1.1s}

@keyframes fadeInCollage{
  from{opacity:0;transform:scale(0.8)}
  to{opacity:1;transform:scale(1)}
}
@keyframes heartCollagePulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.05)}
}
@keyframes heartCollageFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
@keyframes heartCollageGlow{
  0%,100%{filter:drop-shadow(0 0 20px rgba(255,107,157,0.4))}
  50%{filter:drop-shadow(0 0 40px rgba(255,107,157,0.8))}
}

/* ===== 3. TRANSITION TEXT ===== */
.transition-wrapper{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(ellipse at top,#111827,#020617 55%,#000);
  padding:2rem;
}
.transition-text{
  font-family:'Dancing Script',cursive;
  font-size:clamp(1.8rem,5vw,3.6rem);
  color:#f9fafb;text-align:center;
  font-weight:600;max-width:88%;
  text-shadow:0 2px 24px rgba(0,0,0,.5);
  opacity:0;transform:translateY(28px);
  animation:textReveal 1.2s .3s ease-out forwards;
}
@keyframes textReveal{to{opacity:1;transform:translateY(0)}}

/* ===== 4. AIRPLANE WINDOW ===== */
.airplane-wrapper{
  width:100%;height:100%;position:relative;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(ellipse at 50% 30%,#1e293b,#0f172a 45%,#020617 75%,#000);
  z-index:2;
}

/* --- Realistic window frame --- */
.plane-window{
  position:relative;z-index:3;
  transition:opacity 2s ease;
}
.plane-window__outer{
  width:min(320px,72vw);
  aspect-ratio:3/4;
  border-radius:42% 42% 42% 42% / 35% 35% 35% 35%;
  background:linear-gradient(160deg,#d4d4d8 0%,#a1a1aa 25%,#bfc3cc 50%,#d4d4d8 75%,#9ca3af 100%);
  padding:18px;
  box-shadow:
    0 0 0 3px rgba(161,161,170,.35),
    0 8px 40px rgba(0,0,0,.6),
    inset 0 2px 6px rgba(255,255,255,.25),
    inset 0 -2px 6px rgba(0,0,0,.18);
  position:relative;
}
.plane-window__outer::before{
  content:'';position:absolute;inset:6px;
  border-radius:42% 42% 42% 42% / 35% 35% 35% 35%;
  border:2px solid rgba(255,255,255,.12);
  pointer-events:none;z-index:1;
}
.plane-window__inner{
  width:100%;height:100%;
  border-radius:42% 42% 42% 42% / 34% 34% 34% 34%;
  background:linear-gradient(160deg,#71717a,#52525b);
  padding:6px;
  box-shadow:inset 0 2px 8px rgba(0,0,0,.45);
}
.plane-window__glass{
  width:100%;height:100%;
  border-radius:42% 42% 42% 42% / 33% 33% 33% 33%;
  overflow:hidden;position:relative;
  background:transparent;
  box-shadow:inset 0 0 30px rgba(0,0,0,.15);
}
#airplaneCanvas{
  width:100%;
  height:100%;
  display:block;
  position:absolute;
  inset:0;
}

/* --- Fullscreen stars behind window --- */
.fullscreen-stars{
  position:fixed;inset:0;z-index:5;
  opacity:0;transition:opacity 1.5s ease;
  background:#020617;
  pointer-events:none;
}
.fullscreen-stars.visible{
  opacity:1;
  z-index:5;
}
.fullscreen-stars .stars{
  position:absolute;inset:0;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 12%,#fef08a,transparent),
    radial-gradient(1px 1px at 82% 28%,#e5e7eb,transparent),
    radial-gradient(1.5px 1.5px at 47% 72%,#fda4af,transparent),
    radial-gradient(1px 1px at 8% 65%,#e5e7eb,transparent),
    radial-gradient(2px 2px at 92% 15%,#facc15,transparent),
    radial-gradient(1px 1px at 28% 42%,#cbd5e1,transparent),
    radial-gradient(1.5px 1.5px at 68% 8%,#fef08a,transparent),
    radial-gradient(1px 1px at 12% 88%,#fbbf24,transparent),
    radial-gradient(1.5px 1.5px at 88% 58%,#e5e7eb,transparent),
    radial-gradient(1px 1px at 42% 22%,#fda4af,transparent),
    radial-gradient(1px 1px at 55% 90%,#cbd5e1,transparent),
    radial-gradient(2px 2px at 75% 45%,#fef08a,transparent),
    radial-gradient(1px 1px at 35% 55%,#e5e7eb,transparent),
    radial-gradient(1.5px 1.5px at 62% 82%,#fbbf24,transparent),
    radial-gradient(1px 1px at 5% 35%,#cbd5e1,transparent),
    radial-gradient(1px 1px at 25% 75%,#fef08a,transparent),
    radial-gradient(1.5px 1.5px at 95% 50%,#e5e7eb,transparent),
    radial-gradient(1px 1px at 60% 15%,#fda4af,transparent),
    radial-gradient(2px 2px at 18% 60%,#facc15,transparent),
    radial-gradient(1px 1px at 78% 85%,#cbd5e1,transparent);
  background-size:180px 180px;
  animation:twinkle 3s ease-in-out infinite;
}
.fullscreen-stars .stars--2{
  animation-delay:1s;
  transform:scale(1.1) rotate(15deg);
  opacity:.75;
}
.fullscreen-stars .stars--3{
  animation-delay:2s;
  transform:scale(.9) rotate(-10deg);
  opacity:.6;
}
@keyframes twinkle{
  0%,100%{opacity:.55}
  50%{opacity:1}
}

/* ===== THREE.JS CANVAS ===== */
#airplaneCanvas{
  width:100%;
  height:100%;
  display:block;
  position:absolute;
  inset:0;
}

/* ===== 5. PROPOSAL ===== */
.proposal-wrapper{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:transparent;
  padding:2rem;position:relative;
  z-index:10;
  overflow:visible;
}
.proposal-card{
  background:linear-gradient(145deg,rgba(15,23,42,.94),rgba(15,23,42,.82));
  backdrop-filter:blur(14px);
  border:1px solid rgba(148,163,184,.2);
  border-radius:32px;padding:48px 52px;
  text-align:center;
  box-shadow:0 28px 80px rgba(0,0,0,.7);
  max-width:520px;width:100%;
  animation:cardIn .6s ease-out;
  z-index:10;
}
@keyframes cardIn{
  from{opacity:0;transform:scale(.92) translateY(24px)}
  to{opacity:1;transform:scale(1) translateY(0)}
}
.proposal-heart{
  font-size:3.6rem;
  animation:heartPulse 1.2s ease-in-out infinite;
  margin-bottom:18px;
}
@keyframes heartPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}

.proposal-question{
  font-family:'Dancing Script',cursive;
  font-size:clamp(2rem,5vw,3.4rem);
  font-weight:700;color:#f9fafb;
  margin-bottom:10px;
  text-shadow:0 2px 18px rgba(0,0,0,.4);
}
.proposal-sub{
  font-size:1.05rem;color:#9ca3af;font-weight:300;
  font-style:italic;margin-bottom:36px;
}
.proposal-buttons{
  display:flex;gap:12px;justify-content:center;flex-wrap:nowrap;
  position:relative;min-height:52px;
  align-items:center;
}

/* Buttons */
.btn{
  padding:13px 34px;font-size:1.05rem;font-weight:600;
  border:none;border-radius:999px;cursor:pointer;
  transition:transform .2s,box-shadow .2s;
  font-family:system-ui,-apple-system,sans-serif;
  min-width:110px;
}
.btn--yes{
  background:linear-gradient(135deg,#f97316,#facc15);
  color:#111827;
  box-shadow:0 10px 28px rgba(249,115,22,.5);
}
.btn--yes:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(249,115,22,.7)}
.btn--yes:active{transform:translateY(0) scale(.97)}

.btn--no{
  background:rgba(30,41,59,.85) !important;
  backdrop-filter:blur(8px) !important;
  color:#f9fafb !important;
  border:1px solid rgba(148,163,184,.6) !important;
  transition:left .15s cubic-bezier(.4,0,.2,1),top .15s cubic-bezier(.4,0,.2,1),transform .2s !important;
  z-index:10000 !important;
  opacity:1 !important;
  visibility:visible !important;
  display:block !important;
  pointer-events:auto !important;
  box-shadow:0 4px 12px rgba(0,0,0,.4) !important;
  position:static !important;
  margin:0 !important;
}
.btn--no[style*="position: fixed"],
.btn--no[style*="position:fixed"]{
  position:fixed !important;
  margin:0 !important;
}
.scene.active .btn--no,
#scene-proposal .btn--no,
.proposal-buttons .btn--no{
  pointer-events:auto !important;
  opacity:1 !important;
  visibility:visible !important;
  display:block !important;
}
.btn--no:hover{background:rgba(30,41,59,.7) !important}

/* ===== 6. CELEBRATION ===== */
.celebration-wrapper{
  width:100%;height:100%;position:relative;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(ellipse at top,#111827dd,#020617f0);
  padding:2rem;overflow:visible;
}
.celebration-card{
  text-align:center;z-index:2;
  background:linear-gradient(145deg,rgba(15,23,42,.94),rgba(15,23,42,.82));
  border:1px solid rgba(148,163,184,.2);
  border-radius:32px;padding:48px 56px;
  box-shadow:0 28px 80px rgba(0,0,0,.7);
  backdrop-filter:blur(14px);
  animation:cardIn .8s ease-out;
}
.celebration-icon{
  font-size:4.5rem;margin-bottom:20px;
  animation:iconFloat 1.4s ease-in-out infinite;
  display:inline-block;
}
@keyframes iconFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-12px) rotate(8deg)}}

.celebration-title{
  font-family:'Dancing Script',cursive;
  font-size:clamp(2.4rem,6vw,4rem);
  font-weight:700;color:#f9fafb;margin-bottom:14px;
  text-shadow:0 2px 18px rgba(0,0,0,.4);
}
.celebration-msg{
  font-size:clamp(1rem,2.5vw,1.35rem);
  color:#9ca3af;font-weight:400;
}

.hearts-rain{
  position:absolute;inset:0;pointer-events:none;z-index:1;overflow:visible;
}
.hearts-rain .h{
  position:absolute;top:-40px;
  font-size:1.6rem;
  animation:heartFall linear forwards;
  opacity:.85;
}
@keyframes heartFall{
  0%{transform:translateY(0) rotate(0deg);opacity:.9}
  100%{transform:translateY(110vh) rotate(360deg);opacity:0}
}

/* Romantic message animations */
@keyframes messagePop{
  from{
    opacity:0;
    transform:translate(-50%, -50%) scale(0.8);
  }
  to{
    opacity:1;
    transform:translate(-50%, -50%) scale(1);
  }
}
@keyframes messageFadeOut{
  from{
    opacity:1;
    transform:translate(-50%, -50%) scale(1);
  }
  to{
    opacity:0;
    transform:translate(-50%, -50%) scale(0.9);
  }
}

/* ===== RESPONSIVE ===== */
@media(max-width:600px){
  .proposal-card{padding:36px 24px}
  .celebration-card{padding:36px 28px}
  .plane-window__outer{width:min(280px,78vw)}
  .welcome-card{padding:36px 32px 28px}
}
