/* ====================================================
   ROMANTIC BIRTHDAY THEME - STYLESHEET
   ==================================================== */

:root {
  --primary-pink: #ff4d8d;
  --deep-rose: #e11d48;
  --dark-rose: #881337;
  --blush: #ffe4e6;
  --light-blush: #fff1f2;
  --gold-glow: #fbbf24;
  --warm-bg-start: #1a0b16;
  --warm-bg-mid: #2d1124;
  --warm-bg-end: #0f0510;
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 192, 203, 0.2);
  --glass-glow: 0 8px 32px 0 rgba(225, 29, 72, 0.25);
  --text-primary: #ffffff;
  --text-secondary: #fbcfe8;
  --text-muted: #f472b6;
  --font-heading: 'Dancing Script', cursive;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  --font-hand: 'Caveat', cursive;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 50% 20%, var(--warm-bg-mid) 0%, var(--warm-bg-start) 50%, var(--warm-bg-end) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background Canvas for Falling Hearts & Confetti */
#heartCanvas,
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#confettiCanvas {
  z-index: 999;
}

/* Top Floating Nav Controls */
.top-nav-controls {
  position: fixed;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.floating-btn {
  background: rgba(30, 10, 25, 0.85);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary-pink);
  box-shadow: 0 6px 20px rgba(255, 77, 141, 0.4);
}

/* Buttons General */
.primary-btn {
  background: linear-gradient(135deg, var(--primary-pink), var(--deep-rose));
  color: white;
  border: none;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.45);
}

.primary-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.65);
}

.glow-btn {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(255, 77, 141, 0.5);
  }
  50% {
    box-shadow: 0 8px 32px rgba(255, 77, 141, 0.85);
  }
}

/* ====================================================
   1. WELCOME SCREEN & ENVELOPE
   ==================================================== */
.welcome-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #35122b 0%, #170414 70%, #0a0108 100%);
  z-index: 50;
  padding: 20px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 440px;
  width: 100%;
}

.glow-orb {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.45) 0%, rgba(225, 29, 72, 0.1) 60%, transparent 80%);
  filter: blur(40px);
  pointer-events: none;
  animation: breathe 3s infinite ease-in-out;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* The Envelope */
.envelope {
  position: relative;
  width: 280px;
  height: 190px;
  background: #a31c44;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  margin-bottom: 28px;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.envelope:hover {
  transform: translateY(-5px);
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 140px solid transparent;
  border-right: 140px solid transparent;
  border-top: 110px solid #be123c;
  transform-origin: top;
  transition: transform 0.6s ease, z-index 0.4s;
  z-index: 3;
}

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

.envelope-pocket {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 140px solid #881337;
  border-right: 140px solid #881337;
  border-bottom: 95px solid #9f1239;
  border-top: 95px solid transparent;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.letter-peek {
  position: absolute;
  top: 8px;
  left: 15px;
  right: 15px;
  height: 160px;
  background: #fffdf9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1;
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.envelope.open .letter-peek {
  transform: translateY(-90px);
}

.peek-text {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: #881337;
  font-weight: 600;
  line-height: 1.3;
}

.wax-seal {
  position: absolute;
  top: 85px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: radial-gradient(circle, #e11d48, #9f1239);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4), inset 0 2px 5px rgba(255,255,255,0.3);
  z-index: 4;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: sealBounce 2s infinite ease-in-out;
}

.wax-seal span {
  font-size: 1.4rem;
  line-height: 1;
}

.seal-prompt {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

@keyframes sealBounce {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

.envelope-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 8px;
}

.envelope-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ====================================================
   MAIN EXPERIENCE CONTENT
   ==================================================== */
.main-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 100px;
  display: flex;
  flex-direction: column;
  gap: 75px;
}

.main-content.hidden {
  display: none;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 50px 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-pill {
  display: inline-block;
  background: rgba(255, 77, 141, 0.15);
  border: 1px solid rgba(255, 77, 141, 0.4);
  color: #ff94ba;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.glow-text {
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #ff85b3 0%, #ff4d8d 50%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.25em;
  display: inline-block;
  text-shadow: 0 0 25px rgba(255, 77, 141, 0.4);
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 35px;
  font-weight: 300;
}

.scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.bounce-arrow {
  font-size: 1.4rem;
  animation: arrowBounce 1.5s infinite ease-in-out;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* Section Card Styles */
.section-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 42px 30px;
  box-shadow: var(--glass-glow);
  position: relative;
  overflow: hidden;
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 105, 180, 0.6), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
  color: #fff;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ====================================================
   2. INTERACTIVE CAKE & CANDLE SECTION
   ==================================================== */
.cake-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cake-container {
  position: relative;
  width: 250px;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 15px 0 35px;
}

.plate {
  position: absolute;
  bottom: 0;
  width: 260px;
  height: 18px;
  background: radial-gradient(ellipse at center, #f5f5f5 0%, #cbd5e1 100%);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.cake {
  position: relative;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  margin-bottom: 8px;
}

.cake-layer {
  position: relative;
  border-radius: 12px 12px 6px 6px;
}

.layer-bottom {
  width: 190px;
  height: 55px;
  background: linear-gradient(to right, #9d174d, #be123c, #9d174d);
  box-shadow: inset 0 -6px 12px rgba(0,0,0,0.3);
}

.layer-middle {
  width: 155px;
  height: 50px;
  background: linear-gradient(to right, #fb7185, #fda4af, #fb7185);
  box-shadow: inset 0 -5px 10px rgba(0,0,0,0.2);
}

.layer-top {
  width: 120px;
  height: 48px;
  background: linear-gradient(to right, #fff1f2, #ffe4e6, #fff1f2);
  border-radius: 14px 14px 4px 4px;
}

/* Icing drips */
.icing-drips {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.drip {
  width: 12px;
  height: 16px;
  background: #ffe4e6;
  border-radius: 0 0 10px 10px;
}

.drip:nth-child(2) { height: 22px; }
.drip:nth-child(4) { height: 20px; }

/* Candles */
.candles-wrapper {
  position: absolute;
  top: -38px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-evenly;
  cursor: pointer;
}

.candle {
  position: relative;
  width: 12px;
  height: 38px;
  background: repeating-linear-gradient(
    45deg,
    #fbcfe8,
    #fbcfe8 4px,
    #e11d48 4px,
    #e11d48 8px
  );
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  transition: transform 0.2s;
}

.candle:hover {
  transform: scale(1.1);
}

.wick {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  background: #475569;
}

/* Realistic Flame */
.flame {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 22px;
  background: radial-gradient(ellipse at 50% 80%, #ffffff 0%, #fde047 35%, #f97316 70%, rgba(239, 68, 68, 0) 100%);
  border-radius: 50% 50% 20% 20%;
  box-shadow: 0 0 16px #fde047, 0 0 28px #f97316;
  animation: flicker 1.2s infinite ease-in-out alternate;
  transform-origin: center bottom;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@keyframes flicker {
  0% { transform: translateX(-50%) rotate(-2deg) scale(0.96); }
  50% { transform: translateX(-50%) rotate(3deg) scale(1.05); }
  100% { transform: translateX(-50%) rotate(-1deg) scale(1); }
}

/* Smoke after blowing candle */
.smoke {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: rgba(220, 220, 220, 0.7);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.candle.blown .flame {
  opacity: 0;
  transform: translateX(-50%) scale(0.1);
  pointer-events: none;
}

.candle.blown .smoke {
  animation: riseSmoke 1.6s forwards ease-out;
}

@keyframes riseSmoke {
  0% { opacity: 0.8; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-30%, -35px) scale(3.5); filter: blur(3px); }
}

.wish-message {
  text-align: center;
  margin-bottom: 25px;
  animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wish-message.hidden {
  display: none;
}

.sparkle-icon {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.wish-message h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fbcfe8;
  margin-bottom: 6px;
}

.wish-message p {
  color: #fff;
  max-width: 480px;
  margin: 0 auto;
}

@keyframes popIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ====================================================
   3. LOVE COUNTER / TIME SPENT
   ==================================================== */
.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 20px;
}

.timer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 192, 203, 0.25);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.timer-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-pink);
}

.timer-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #ff85b3;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(255, 77, 141, 0.4);
}

.timer-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

.timer-caption {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: #fbcfe8;
  margin-top: 15px;
}

/* ====================================================
   4. POLAROID MEMORIES
   ==================================================== */
.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin-bottom: 25px;
}

.polaroid-card {
  perspective: 1000px;
  height: 290px;
  cursor: pointer;
}

.polaroid-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.polaroid-card:hover .polaroid-inner,
.polaroid-card.flipped .polaroid-inner {
  transform: rotateY(180deg);
}

.polaroid-front,
.polaroid-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.polaroid-front {
  background: #ffffff;
  color: #1f2937;
  transform: rotate(-1deg);
  transition: transform 0.3s;
}

.polaroid-card:nth-child(even) .polaroid-front {
  transform: rotate(1.5deg);
}

.polaroid-img-wrapper {
  width: 100%;
  height: 195px;
  overflow: hidden;
  border-radius: 6px;
  background: #e2e8f0;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.polaroid-card:hover .polaroid-img {
  transform: scale(1.05);
}

.polaroid-caption {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 600;
  color: #881337;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

.polaroid-back {
  background: radial-gradient(circle, #4c1134, #26071a);
  border: 1px solid var(--glass-border);
  color: white;
  transform: rotateY(180deg);
  justify-content: center;
  align-items: center;
  padding: 22px 18px;
}

.polaroid-back h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fbcfe8;
  margin-bottom: 10px;
}

.polaroid-back p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ffe4e6;
}

.card-heart {
  font-size: 1.5rem;
  margin-top: 14px;
}

.photo-tip {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.9;
}

/* ====================================================
   5. REASONS WHY I LOVE YOU (JAR)
   ==================================================== */
.love-jar-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.love-jar {
  position: relative;
  width: 130px;
  height: 170px;
  cursor: pointer;
  animation: floatJar 3s infinite ease-in-out;
}

@keyframes floatJar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.jar-lid {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 14px;
  background: #d4af37;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.jar-neck {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-left: 2px solid rgba(255,255,255,0.4);
  border-right: 2px solid rgba(255,255,255,0.4);
}

.jar-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 148px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 192, 203, 0.5);
  border-radius: 20px 20px 28px 28px;
  box-shadow: inset 0 0 20px rgba(255, 77, 141, 0.3), 0 8px 25px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.jar-label {
  background: #fffdf9;
  color: #881337;
  font-family: var(--font-hand);
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  margin-bottom: 12px;
}

.jar-hearts {
  display: flex;
  gap: 4px;
  font-size: 1.1rem;
  animation: wiggle 2s infinite ease-in-out;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(5deg); }
}

.note-display {
  flex: 1;
  min-width: 280px;
  max-width: 420px;
}

.note-paper {
  position: relative;
  background: #fffdf7;
  color: #1e1e1e;
  padding: 30px 25px 20px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transform: rotate(-1deg);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 4px solid #f472b6;
}

.pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
}

#noteText {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  line-height: 1.45;
  color: #4a0429;
}

.note-count {
  align-self: flex-end;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.jar-actions {
  text-align: center;
}

/* ====================================================
   6. LOVE LETTER (PARCHMENT)
   ==================================================== */
.parchment-letter {
  position: relative;
  background: #fffdfa;
  color: #2b111e;
  border-radius: 16px;
  padding: 45px 35px 35px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid #f3e8d2;
}

.letter-stamp {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border: 2px dashed #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transform: rotate(8deg);
  border-radius: 6px;
}

.letter-salutation {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #881337;
  margin-bottom: 20px;
}

.letter-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #3f192b;
}

.letter-signature {
  margin-top: 30px;
  text-align: right;
}

.letter-signature p {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: #6b2140;
}

.letter-signature h4 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #9f1239;
  margin-top: 2px;
}

/* ====================================================
   7. PLAYFUL QUESTION (RUNAWAY BUTTON)
   ==================================================== */
.playful-section {
  text-align: center;
}

.playful-box {
  max-width: 550px;
  margin: 0 auto;
}

.playful-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.playful-box h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
}

.question-text {
  font-size: 1.15rem;
  color: #fbcfe8;
  margin-bottom: 30px;
}

.playful-buttons {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 80px;
}

.yes-btn {
  font-size: 1.15rem;
  padding: 15px 36px;
  z-index: 2;
}

.no-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffb3c6;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.fun-response {
  margin-top: 25px;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: #f472b6;
  animation: popIn 0.5s ease;
}

.fun-response.hidden {
  display: none;
}

/* ====================================================
   FOOTER
   ==================================================== */
.romantic-footer {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 192, 203, 0.15);
  color: #fbcfe8;
}

.romantic-footer p {
  font-size: 1.1rem;
}

.romantic-footer .small-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ====================================================
   CUSTOMIZE MODAL
   ==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: #1f0b1a;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px 25px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fbcfe8;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal-desc {
  font-size: 0.88rem;
  color: #f472b6;
  margin-bottom: 22px;
}

.customize-form .form-group {
  margin-bottom: 18px;
}

.customize-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #ffe4e6;
}

.customize-form input,
.customize-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 192, 203, 0.3);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 6px;
}

.customize-form input:focus,
.customize-form textarea:focus {
  border-color: var(--primary-pink);
  background: rgba(255, 255, 255, 0.12);
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.secondary-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ====================================================
   RESPONSIVE DESIGN (MOBILE PERFECTION)
   ==================================================== */
@media (max-width: 600px) {
  .main-content {
    padding: 40px 14px 80px;
    gap: 55px;
  }

  .section-card {
    padding: 30px 18px;
    border-radius: 22px;
  }

  .top-nav-controls {
    top: 12px;
    right: 12px;
  }

  .floating-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  .timer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .parchment-letter {
    padding: 30px 20px 25px;
  }

  .letter-salutation {
    font-size: 1.8rem;
  }

  .envelope {
    width: 250px;
    height: 170px;
  }

  .envelope-flap {
    border-left-width: 125px;
    border-right-width: 125px;
    border-top-width: 95px;
  }

  .envelope-pocket {
    border-left-width: 125px;
    border-right-width: 125px;
    border-bottom-width: 85px;
    border-top-width: 85px;
  }
}
