:root {
  --candle-bg-hero: #0D0A09;
  --candle-bg-secondary: #14100E;
  --candle-card-cream: #FAF5EE;
  --candle-card-cream-border: #F0E6D6;
  --candle-glow-primary: #FFA439;
  --candle-glow-secondary: #FF7E1D;
  --candle-warm-gold: #E2A65E;
  --candle-text-hero: #FFF8F0;
  --candle-text-hero-muted: #C7B9AB;
  --candle-text-dark: #2C2017;
  --candle-text-dark-muted: #5C4D41;
  --candle-accent-coral: #E06D69;
  --candle-accent-coral-hover: #C95652;
  --polaroid-bg: #FFFFFF;
  --polaroid-shadow: 0 14px 35px -4px rgba(0, 0, 0, 0.6), 0 4px 10px -2px rgba(0, 0, 0, 0.4);
  --font-script: 'Alex Brush', cursive;
  --font-handwriting: 'Caveat', cursive;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--candle-bg-hero);
  color: var(--candle-text-hero);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Warm Bokeh Particles */
.bokeh-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bokeh {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.18;
  animation: bokehFloat 8s ease-in-out infinite alternate;
}

.bokeh.b1 { width: 320px; height: 320px; background: #FFA439; top: 5%; left: 10%; }
.bokeh.b2 { width: 280px; height: 280px; background: #FF7E1D; top: 40%; right: 15%; animation-delay: 2s; }
.bokeh.b3 { width: 360px; height: 360px; background: #E2A65E; bottom: 10%; left: 20%; animation-delay: 4s; }
.bokeh.b4 { width: 220px; height: 220px; background: #E06D69; top: 70%; right: 25%; animation-delay: 1.5s; }
.bokeh.b5 { width: 260px; height: 260px; background: #FFA439; top: 20%; right: 30%; animation-delay: 3.5s; }

@keyframes bokehFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.15); }
}

/* Floating Audio Toggle */
.audio-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(20, 16, 14, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 166, 94, 0.4);
  color: var(--candle-warm-gold);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-btn:hover {
  background: rgba(226, 166, 94, 0.2);
  transform: scale(1.04);
}

/* Header */
.warm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 10, 9, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: #FFF;
}

.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-menu a {
  color: var(--candle-text-hero-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--candle-warm-gold);
}

/* Hero Section */
.hero-section {
  padding: 60px 24px 80px;
  position: relative;
  z-index: 10;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-container {
    grid-template-columns: 1.1fr 1fr;
  }
}

.hero-title-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(255, 164, 57, 0.3);
}

.highlight-name {
  color: var(--candle-glow-primary);
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--candle-text-hero-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-quote-badge {
  font-family: var(--font-handwriting);
  font-size: 1.4rem;
  color: var(--candle-warm-gold);
  margin-bottom: 30px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-warm-glow {
  background: linear-gradient(135deg, #FFA439 0%, #FF7E1D 100%);
  color: #1A0E05;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 126, 29, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.btn-warm-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 126, 29, 0.6);
}

.btn-blow-candles {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-blow-candles:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Cake Stage Artwork */
.cake-display-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cake-glow-backdrop {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 164, 57, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cake-artwork-wrap {
  position: relative;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.cake-candles-glow {
  display: flex;
  gap: 18px;
  margin-bottom: -6px;
  z-index: 10;
}

.candle-flame {
  font-size: 1.5rem;
  animation: flameFlicker 0.6s infinite alternate;
  user-select: none;
}

.candle-flame.blown-out {
  opacity: 0;
  transform: scale(0);
}

@keyframes flameFlicker {
  0% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 10px #FFA439); }
  100% { transform: scale(1.15) translateY(-3px) rotate(4deg); filter: drop-shadow(0 0 18px #FF7E1D); }
}

.cake-body-visual {
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cake-frosting-top {
  width: 200px;
  height: 28px;
  background: #3B2113;
  border-radius: 20px 20px 0 0;
  border: 2px solid #57331D;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.cake-layer-top {
  width: 210px;
  height: 48px;
  background: #2E190D;
  border-left: 2px solid #57331D;
  border-right: 2px solid #57331D;
}

.cake-filling {
  width: 220px;
  height: 12px;
  background: #D97706;
  border-radius: 6px;
}

.cake-layer-bottom {
  width: 230px;
  height: 60px;
  background: #25140A;
  border-radius: 0 0 16px 16px;
  border: 2px solid #442413;
}

.cake-stand {
  width: 250px;
  height: 16px;
  background: #E5E7EB;
  border-radius: 999px;
  margin-top: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

.pinned-note-card {
  margin-top: 24px;
  background: #FFFDF8;
  color: #2D1B10;
  padding: 12px 24px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  font-family: var(--font-handwriting);
  font-size: 1.35rem;
  font-weight: 600;
  position: relative;
  transform: rotate(-2deg);
}

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

/* SECTION 2: CREAM PARCHMENT LETTER */
.letter-section {
  padding: 60px 24px;
  position: relative;
  z-index: 10;
}

.cream-parchment-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--candle-card-cream);
  color: var(--candle-text-dark);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  border: 1px solid var(--candle-card-cream-border);
}

@media (min-width: 850px) {
  .cream-parchment-card {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: center;
  }
}

.section-tag-script {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: #B45309;
  margin-bottom: 12px;
}

.letter-salute {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-style: italic;
  margin-bottom: 18px;
  color: #1F1610;
}

.letter-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--candle-text-dark-muted);
}

.letter-body p {
  margin-bottom: 16px;
}

.letter-signature-row {
  border-top: 1px dashed rgba(180, 83, 9, 0.3);
  padding-top: 18px;
  margin-top: 24px;
}

.letter-closing {
  font-family: var(--font-handwriting);
  font-size: 1.4rem;
  color: #B45309;
}

.letter-sender-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #1F1610;
}

/* Pinned Polaroid */
.single-pinned-polaroid {
  background: #FFF;
  padding: 12px 12px 38px 12px;
  border-radius: 2px;
  box-shadow: var(--polaroid-shadow);
  transform: rotate(2deg);
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}

.washi-tape-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 90px;
  height: 26px;
  background: rgba(226, 166, 94, 0.7);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px);
}

.polaroid-img-frame {
  width: 100%;
  aspect-ratio: 1;
  background: #251B14;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
}

.warm-sunset {
  background-color: #2D1B10;
  background-image: radial-gradient(circle at 50% 80%, #FFA439 0%, #7C2D12 50%, #0F0906 100%);
}

.polaroid-handwriting {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-handwriting);
  font-size: 1.25rem;
  font-weight: 600;
  color: #3B2A1E;
}

/* SECTION 3: MEMORIES GALLERY */
.memories-section {
  padding: 80px 24px;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.memories-header {
  text-align: center;
  margin-bottom: 50px;
}

.memories-title-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 6vw, 4.2rem);
  color: #FFF;
  margin-bottom: 8px;
}

.memories-sub {
  font-family: var(--font-handwriting);
  font-size: 1.4rem;
  color: var(--candle-text-hero-muted);
}

.polaroid-gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.polaroid-item {
  transition: transform 0.35s ease, z-index 0.35s ease;
}

.polaroid-item:hover {
  transform: scale(1.08) rotate(0deg) !important;
  z-index: 20;
}

.polaroid-item.tilt-1 { transform: rotate(-3deg); }
.polaroid-item.tilt-2 { transform: rotate(2.5deg) translateY(-8px); }
.polaroid-item.tilt-3 { transform: rotate(-2deg) translateY(6px); }
.polaroid-item.tilt-4 { transform: rotate(3.5deg); }

.polaroid-white-frame {
  background: #FFF;
  padding: 12px 12px 42px 12px;
  box-shadow: var(--polaroid-shadow);
  border-radius: 2px;
  position: relative;
}

.photo-box {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
}

.photo-talks { background-color: #1A120B; background-image: radial-gradient(circle at 60% 40%, #E2A65E 0%, #3B2113 60%, #0D0805 100%); }
.photo-crazy { background-color: #1A120B; background-image: radial-gradient(circle at 40% 60%, #E06D69 0%, #4C1D18 60%, #0D0805 100%); }
.photo-together { background-color: #1A120B; background-image: radial-gradient(circle at 50% 50%, #FFA439 0%, #57331D 60%, #0D0805 100%); }
.photo-forever { background-color: #1A120B; background-image: radial-gradient(circle at 70% 30%, #F59E0B 0%, #361E10 60%, #0D0805 100%); }

.photo-caption {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-handwriting);
  font-size: 1.25rem;
  font-weight: 600;
  color: #2D1B10;
}

/* SECTION 4: SURPRISE BANNER */
.surprise-section {
  padding: 20px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.surprise-banner-card {
  background: linear-gradient(135deg, rgba(224, 109, 105, 0.12) 0%, rgba(255, 164, 57, 0.1) 100%);
  border: 1px dashed rgba(224, 109, 105, 0.4);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.surprise-icon-bounce {
  font-size: 3rem;
  animation: bounceGift 2s infinite ease-in-out;
}

@keyframes bounceGift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.surprise-info h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #FFF;
  margin-bottom: 6px;
}

.surprise-info p {
  color: var(--candle-text-hero-muted);
  font-size: 0.95rem;
}

.btn-surprise-coral {
  background: var(--candle-accent-coral);
  color: #FFF;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(224, 109, 105, 0.4);
  transition: all 0.2s ease;
}

.btn-surprise-coral:hover {
  background: var(--candle-accent-coral-hover);
  transform: scale(1.04);
}

/* FOOTER */
.warm-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 24px 40px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-quote {
  font-family: var(--font-handwriting);
  font-size: 1.85rem;
  color: var(--candle-warm-gold);
  line-height: 1.5;
  margin-bottom: 28px;
}

.whatsapp-share-bar {
  margin-bottom: 30px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFF;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.footer-meta {
  font-size: 0.85rem;
  color: #666;
}

/* Modal Dialog */
.surprise-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.surprise-modal-card {
  background: #18120E;
  border: 1px solid rgba(226, 166, 94, 0.4);
  border-radius: 28px;
  padding: 40px 32px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 164, 57, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.2rem;
  color: #AAA;
  cursor: pointer;
}

.modal-gift-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--candle-warm-gold);
  margin-bottom: 14px;
}

.modal-body-text {
  color: #CBD5E1;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-sign {
  font-family: var(--font-handwriting);
  font-size: 1.4rem;
  color: var(--candle-glow-primary);
  margin-bottom: 24px;
}

.btn-modal-close {
  background: var(--candle-accent-coral);
  color: #FFF;
  border: none;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
