/* ==========================================================================
   Happy Birthday, Salma - Elegant Letter & Celebration Experience
   Designed with Warmth, Emotion & Aesthetics
   ========================================================================== */

:root {
  --primary-rose: #d66882;
  --deep-rose: #9e3650;
  --velvet-burgundy: #5c1e2d;
  --warm-gold: #d4af37;
  --champagne: #f7e7ce;
  --blush-bg: #fcf8f6;
  --parchment: #fffaf5;
  --parchment-border: #f0e1d2;
  --text-dark: #2d2427;
  --text-muted: #6e5f64;
  --card-shadow: 0 20px 40px -15px rgba(92, 30, 45, 0.12), 0 0 20px rgba(212, 175, 55, 0.1);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Playfair Display', serif;
  --font-hand: 'Alex Brush', cursive;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at 50% 0%, #fff5f2 0%, #f9ece8 40%, #f4e3df 100%);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background Canvas */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Audio Control */
.audio-control {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.music-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 104, 130, 0.3);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep-rose);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(214, 104, 130, 0.2);
  transition: var(--transition-smooth);
}

.music-btn:hover {
  transform: translateY(-2px) scale(1.03);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(214, 104, 130, 0.3);
  border-color: var(--primary-rose);
}

.music-btn.playing {
  background: linear-gradient(135deg, var(--deep-rose), var(--primary-rose));
  color: #ffffff;
  border-color: transparent;
  animation: pulse-music 2s infinite ease-in-out;
}

@keyframes pulse-music {
  0%, 100% { box-shadow: 0 8px 20px rgba(158, 54, 80, 0.35); }
  50% { box-shadow: 0 12px 30px rgba(158, 54, 80, 0.6); }
}

/* ==========================================================================
   STAGE 1: ENVELOPE INTRO
   ========================================================================== */
.envelope-stage {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: radial-gradient(circle at center, #fff1ec 0%, #ecd5cf 60%, #debdb5 100%);
  transition: opacity 0.8s ease, visibility 0.8s ease;
  padding: 20px;
}

.envelope-stage.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  perspective: 1200px;
  cursor: pointer;
}

.envelope-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(214, 104, 130, 0.3) 0%, transparent 70%);
  filter: blur(25px);
  z-index: 0;
  animation: glow-pulse 3s infinite alternate ease-in-out;
}

@keyframes glow-pulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.05); opacity: 0.9; }
}

.envelope-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  background: #f7ebe4;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(92, 30, 45, 0.25), 0 4px 12px rgba(0,0,0,0.06);
  z-index: 2;
  transition: transform 0.5s ease;
  border: 1px solid rgba(255,255,255,0.8);
}

.envelope-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Envelope Flap */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 230px solid transparent;
  border-right: 230px solid transparent;
  border-top: 170px solid #ecd5ca;
  transform-origin: top;
  z-index: 5;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08));
}

@media (max-width: 500px) {
  .envelope-flap {
    border-left-width: calc(50vw - 20px);
    border-right-width: calc(50vw - 20px);
    border-top-width: 130px;
  }
  .envelope-wrapper {
    height: 250px;
  }
}

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

/* Envelope Pocket */
.envelope-pocket {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f9efe8;
  clip-path: polygon(0% 100%, 100% 100%, 100% 35%, 50% 75%, 0% 35%);
  z-index: 4;
  border-radius: 0 0 14px 14px;
}

/* Paper Peek */
.envelope-paper-peek {
  position: absolute;
  top: 20px;
  left: 25px;
  right: 25px;
  bottom: 25px;
  background: var(--parchment);
  border-radius: 8px;
  z-index: 3;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.8s ease;
}

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

.peek-line {
  height: 8px;
  background: #f1ded2;
  border-radius: 4px;
}
.peek-line.short {
  width: 60%;
}

/* Wax Seal */
.wax-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: radial-gradient(circle at 35% 35%, #be3c59 0%, #852238 65%, #5a1424 100%);
  border-radius: 50%;
  z-index: 6;
  box-shadow: 0 8px 24px rgba(92, 30, 45, 0.4), inset 0 2px 4px rgba(255,255,255,0.4), inset 0 -3px 6px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wax-seal:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.wax-inner {
  width: 58px;
  height: 58px;
  border: 2px dashed rgba(255, 230, 200, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wax-letter {
  font-family: var(--font-hand);
  font-size: 2.4rem;
  color: #fff1d8;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Envelope Label & Instructions */
.envelope-label {
  position: absolute;
  bottom: 22px;
  left: 20px;
  right: 20px;
  z-index: 7;
  text-align: center;
  pointer-events: none;
}

.stamp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--deep-rose);
  letter-spacing: 1px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.to-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
}

.recipient-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--velvet-burgundy);
  font-weight: 700;
  margin: 2px 0 8px;
}

.click-hint {
  font-size: 0.88rem;
  color: var(--deep-rose);
  font-weight: 600;
  animation: bounce-hint 2s infinite;
}

@keyframes bounce-hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================================================
   STAGE 2: MAIN LETTER & CELEBRATION
   ========================================================================== */
.letter-stage {
  position: relative;
  z-index: 10;
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.letter-stage.hidden {
  display: none;
  opacity: 0;
}

/* Celebration Header */
.celebration-header {
  text-align: center;
  margin-bottom: 45px;
  animation: fadeInDown 1s ease;
}

.sparkle-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(214, 104, 130, 0.15), rgba(212, 175, 55, 0.15));
  border: 1px solid rgba(214, 104, 130, 0.3);
  color: var(--deep-rose);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.main-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--velvet-burgundy);
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(158, 54, 80, 0.1);
}

.subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: var(--text-muted);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   THE PARCHMENT LETTER
   ========================================================================== */
.letter-wrapper {
  margin-bottom: 70px;
}

.parchment-paper {
  position: relative;
  background: #fffdfa;
  border-radius: 18px;
  padding: 55px 50px;
  box-shadow: 0 25px 60px -15px rgba(92, 30, 45, 0.15), 0 0 0 1px rgba(214, 104, 130, 0.15);
  border: 1px solid var(--parchment-border);
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .parchment-paper {
    padding: 35px 24px;
  }
}

.paper-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--warm-gold);
  opacity: 0.5;
  pointer-events: none;
}
.paper-corner.top-left { top: 15px; left: 15px; border-top: 2px solid; border-left: 2px solid; }
.paper-corner.top-right { top: 15px; right: 15px; border-top: 2px solid; border-right: 2px solid; }
.paper-corner.bottom-left { bottom: 15px; left: 15px; border-bottom: 2px solid; border-left: 2px solid; }
.paper-corner.bottom-right { bottom: 15px; right: 15px; border-bottom: 2px solid; border-right: 2px solid; }

.letter-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  border-bottom: 1px dashed rgba(214, 104, 130, 0.3);
  padding-bottom: 18px;
  margin-bottom: 30px;
}

.letter-date {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 500;
}

.letter-salutation {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--deep-rose);
  font-style: italic;
}

.letter-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.letter-p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.85;
  color: #3b2c31;
}

.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 3.8rem;
  line-height: 0.8;
  float: left;
  margin: 6px 14px 0 0;
  color: var(--deep-rose);
  font-weight: 700;
}

.letter-quote-block {
  margin: 15px 0;
  padding: 24px 30px;
  background: linear-gradient(135deg, rgba(254, 243, 240, 0.8), rgba(255, 250, 245, 0.9));
  border-left: 4px solid var(--warm-gold);
  border-radius: 0 12px 12px 0;
  position: relative;
}

.quote-icon {
  font-size: 1.4rem;
  color: var(--warm-gold);
  margin-bottom: 10px;
  opacity: 0.7;
}

.letter-quote-block p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--velvet-burgundy);
  line-height: 1.6;
}

/* Signature Block */
.letter-signature-block {
  margin-top: 45px;
  text-align: right;
  padding-top: 25px;
  border-top: 1px dashed rgba(214, 104, 130, 0.3);
}

.sign-closing {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-muted);
}

.handwritten-name {
  font-family: var(--font-hand);
  font-size: 3.4rem;
  color: var(--deep-rose);
  line-height: 1.2;
  margin: 4px 0;
  text-shadow: 0 2px 6px rgba(158, 54, 80, 0.15);
}

.signature-date {
  font-size: 0.95rem;
  color: var(--warm-gold);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SPOTLIGHT HERO CARD (Photo 3)
   ========================================================================== */
.spotlight-section {
  margin-bottom: 70px;
}

.spotlight-card {
  background: linear-gradient(145deg, #ffffff, #fdf5f3);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 45px rgba(92, 30, 45, 0.12);
  border: 1px solid rgba(214, 104, 130, 0.2);
  text-align: center;
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--warm-gold), #b89328);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(184, 147, 40, 0.3);
}

.spotlight-image-container {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  margin-bottom: 22px;
}

.spotlight-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover .spotlight-img {
  transform: scale(1.03);
}

.spotlight-caption h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--velvet-burgundy);
  margin-bottom: 8px;
}

.spotlight-caption p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ==========================================================================
   POLAROID MEMORIES SECTION
   ========================================================================== */
.memories-section {
  margin-bottom: 80px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.section-mini {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--deep-rose);
  font-weight: 700;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--velvet-burgundy);
  margin: 4px 0 12px;
}

.divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--warm-gold);
}
.divider-line::before, .divider-line::after {
  content: '';
  width: 60px;
  height: 1px;
  background: rgba(214, 104, 130, 0.3);
}

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 10px;
}

.polaroid-item {
  background: #ffffff;
  padding: 16px 16px 24px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(92, 30, 45, 0.1);
  cursor: pointer;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.polaroid-item.tilt-left { transform: rotate(-2.5deg); }
.polaroid-item.tilt-right { transform: rotate(2.5deg); }
.polaroid-item.tilt-center { transform: rotate(-0.5deg); }

.polaroid-item:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.03);
  box-shadow: 0 25px 50px rgba(92, 30, 45, 0.18);
  z-index: 5;
}

.pin {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #f1c40f, #d4af37, #997b1a);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 2;
}

.polaroid-photo {
  width: 100%;
  height: 280px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f0f0f0;
}

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

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

.polaroid-caption {
  text-align: center;
  font-family: var(--font-display);
}

.polaroid-caption span {
  display: block;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 2px;
}

.polaroid-caption small {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE CAKE & CANDLE
   ========================================================================== */
.interactive-cake-section {
  margin-bottom: 80px;
}

.cake-card {
  background: radial-gradient(circle at top, #ffffff, #fff6f4);
  border-radius: 28px;
  padding: 45px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(92, 30, 45, 0.1);
  border: 1px solid rgba(214, 104, 130, 0.25);
  max-width: 640px;
  margin: 0 auto;
}

.interactive-tag {
  display: inline-block;
  background: rgba(214, 104, 130, 0.15);
  color: var(--deep-rose);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cake-header h2 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--velvet-burgundy);
  margin-bottom: 8px;
}

.cake-header p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Cake Illustration */
.cake-stage {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 30px;
}

.cake-container {
  position: relative;
  width: 180px;
  cursor: pointer;
}

.plate {
  width: 220px;
  height: 16px;
  background: #e6d3cc;
  border-radius: 10px;
  position: absolute;
  bottom: -8px;
  left: -20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.layer {
  position: absolute;
  width: 180px;
  border-radius: 10px 10px 4px 4px;
}

.layer-bottom {
  bottom: 0;
  height: 48px;
  background: linear-gradient(to right, #8a4859, #b05c72, #8a4859);
}

.layer-middle {
  bottom: 40px;
  height: 44px;
  width: 150px;
  left: 15px;
  background: linear-gradient(to right, #f7d5dc, #ffe9ee, #f7d5dc);
}

.layer-top {
  bottom: 76px;
  height: 42px;
  width: 120px;
  left: 30px;
  background: linear-gradient(to right, #8a4859, #b05c72, #8a4859);
}

.icing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background: #ffffff;
  border-radius: 10px 10px 0 0;
}

.drip {
  position: absolute;
  background: #ffffff;
  width: 12px;
  border-radius: 0 0 10px 10px;
}
.drip1 { top: 12px; left: 16px; height: 16px; }
.drip2 { top: 12px; left: 52px; height: 22px; }
.drip3 { top: 12px; left: 88px; height: 14px; }

/* Candle */
.candle {
  position: absolute;
  bottom: 118px;
  left: 82px;
  width: 14px;
  height: 45px;
}

.candle-stick {
  width: 12px;
  height: 38px;
  background: repeating-linear-gradient(45deg, #ffffff, #ffffff 5px, #d4af37 5px, #d4af37 10px);
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.flame {
  position: absolute;
  top: -24px;
  left: -2px;
  width: 16px;
  height: 24px;
  background: radial-gradient(ellipse at bottom, #ffea79 0%, #ff7c24 70%, #d42b00 100%);
  border-radius: 50% 50% 20% 20% / 70% 70% 30% 30%;
  box-shadow: 0 0 20px #ffbb44, 0 0 35px #ff7c24;
  animation: flicker 1.2s infinite alternate ease-in-out;
  transform-origin: bottom center;
}

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

.flame.blown-out {
  display: none;
}

.smoke {
  position: absolute;
  top: -25px;
  left: 3px;
  width: 8px;
  height: 24px;
  background: rgba(180, 180, 180, 0.6);
  border-radius: 50%;
  filter: blur(4px);
  animation: smoke-rise 1.5s forwards ease-out;
}

@keyframes smoke-rise {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  100% { transform: translateY(-40px) scale(3); opacity: 0; }
}

.btn-blow {
  background: linear-gradient(135deg, var(--deep-rose), var(--primary-rose));
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(158, 54, 80, 0.3);
  transition: var(--transition-smooth);
}

.btn-blow:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(158, 54, 80, 0.45);
}

.wish-message {
  margin-top: 25px;
  animation: fadeInUp 0.8s ease;
}

.wish-box {
  background: linear-gradient(135deg, #fff5f2, #ffede8);
  border: 1px solid rgba(214, 104, 130, 0.3);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(92, 30, 45, 0.08);
}

.wish-sparkle {
  font-size: 2rem;
  color: var(--warm-gold);
  margin-bottom: 8px;
}

.wish-box h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--velvet-burgundy);
  margin-bottom: 6px;
}

.wish-box p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-dark);
}

/* ==========================================================================
   REASONS CARDS
   ========================================================================== */
.reasons-section {
  margin-bottom: 80px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.reason-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 22px;
  box-shadow: 0 12px 30px rgba(92, 30, 45, 0.08);
  border: 1px solid rgba(214, 104, 130, 0.15);
  text-align: center;
  transition: var(--transition-smooth);
}

.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(92, 30, 45, 0.14);
  border-color: var(--primary-rose);
}

.reason-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #fff1f4, #ffe3e8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--deep-rose);
  box-shadow: 0 4px 12px rgba(214, 104, 130, 0.2);
}

.reason-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--velvet-burgundy);
  margin-bottom: 8px;
}

.reason-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   BLESSING GENERATOR
   ========================================================================== */
.blessing-generator-section {
  margin-bottom: 80px;
}

.blessing-box {
  background: linear-gradient(135deg, #ffffff, #fff7f4);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 40px rgba(92, 30, 45, 0.09);
  max-width: 680px;
  margin: 0 auto;
}

.blessing-icon {
  font-size: 2.2rem;
  color: var(--warm-gold);
  margin-bottom: 12px;
}

.blessing-box h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--velvet-burgundy);
  margin-bottom: 12px;
}

.blessing-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-dark);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 0 15px;
  line-height: 1.6;
}

.btn-blessing {
  background: linear-gradient(135deg, var(--warm-gold), #b89328);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(184, 147, 40, 0.3);
  transition: var(--transition-smooth);
}

.btn-blessing:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 25px rgba(184, 147, 40, 0.45);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  text-align: center;
  padding: 40px 20px 20px;
  border-top: 1px dashed rgba(214, 104, 130, 0.3);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-heart {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--deep-rose);
}

.footer-credit {
  font-size: 1rem;
  color: var(--text-dark);
}

.footer-signature {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--velvet-burgundy);
}

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

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

#lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.2);
}

.lightbox-caption {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: #fff1e8;
  margin-top: 14px;
}

/* Helpers */
.hidden {
  display: none !important;
}

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

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