/* ==========================================================================
   ARIANA'S BIRTHDAY CELEBRATION - STYLESHEET
   Aesthetic: Dreamy Rose-Gold Pastel Glow, Glassmorphism, Micro-Interactions
   ========================================================================== */

:root {
  --bg-primary: #0d0714;
  --bg-secondary: #180d24;
  --bg-card: rgba(255, 255, 255, 0.07);
  --bg-card-hover: rgba(255, 255, 255, 0.12);
  --border-glass: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(255, 182, 193, 0.4);
  
  --primary-pink: #ff6b95;
  --primary-rose: #ff477e;
  --gold-glow: #ffd166;
  --soft-lavender: #c77dff;
  --champagne: #fae1dd;
  --text-primary: #ffffff;
  --text-muted: #e2d9eb;
  --text-dark: #2d1832;
  
  --font-main: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-script: 'Dancing Script', cursive;
  --font-bengali: 'Hind Siliguri', sans-serif;
  
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 8px 32px rgba(255, 107, 149, 0.25);
  --shadow-gold: 0 8px 30px rgba(255, 209, 102, 0.3);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at 50% 0%, #291236 0%, #150921 50%, #0d0714 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

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

/* Subtle background glowing ambient orbs */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

body::before {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ff6b95 0%, rgba(255, 107, 149, 0) 70%);
}

body::after {
  bottom: 50px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #7b2cbf 0%, rgba(123, 44, 191, 0) 70%);
}

/* ==========================================================================
   TOP CONTROLS (AUDIO & QUICK ACTIONS)
   ========================================================================== */
.top-controls {
  position: fixed;
  top: 20px;
  right: 24px;
  display: flex;
  gap: 12px;
  z-index: 100;
}

.control-btn {
  background: rgba(30, 15, 45, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-sm);
}

.control-btn i {
  color: var(--primary-pink);
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.control-btn:hover {
  background: rgba(255, 107, 149, 0.25);
  border-color: var(--primary-pink);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 107, 149, 0.35);
}

.control-btn:hover i {
  transform: rotate(15deg);
}

.control-btn.pulse-glow {
  border-color: rgba(255, 209, 102, 0.5);
  background: linear-gradient(135deg, rgba(255, 107, 149, 0.25), rgba(255, 209, 102, 0.2));
  animation: pulseButton 2.5s infinite ease-in-out;
}

.control-btn.pulse-glow i {
  color: var(--gold-glow);
}

@keyframes pulseButton {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 209, 102, 0.3); }
  50% { box-shadow: 0 0 25px rgba(255, 107, 149, 0.6); }
}

/* ==========================================================================
   ENTRANCE OVERLAY (SURPRISE UNWRAP GATE)
   ========================================================================== */
.entrance-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #240c31 0%, #100619 80%, #08030d 100%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.entrance-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.08);
}

.entrance-content {
  max-width: 580px;
  width: 100%;
  text-align: center;
  padding: 48px 36px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 107, 149, 0.2);
  animation: floatEntrance 6s ease-in-out infinite;
}

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

.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(255, 107, 149, 0.2), rgba(255, 209, 102, 0.2));
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-glow);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* 3D Animated Gift Box */
.gift-box-wrapper {
  margin: 15px auto 25px;
  cursor: pointer;
  display: inline-block;
  perspective: 600px;
}

.gift-box {
  width: 110px;
  height: 100px;
  position: relative;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gift-box:hover {
  transform: scale(1.1) rotate(-3deg);
}

.gift-lid {
  position: absolute;
  top: 0;
  left: -8px;
  width: 126px;
  height: 28px;
  background: linear-gradient(135deg, #ff477e, #ff70a6);
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gift-box-wrapper:hover .gift-lid {
  transform: translateY(-16px) rotate(-8deg);
}

.gift-ribbon-bow {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 22px;
}

.gift-ribbon-bow::before, .gift-ribbon-bow::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 18px;
  border: 4px solid var(--gold-glow);
  border-radius: 50% 50% 10% 50%;
  top: 0;
}

.gift-ribbon-bow::before {
  left: 0;
  transform: rotate(-30deg);
}

.gift-ribbon-bow::after {
  right: 0;
  transform: rotate(30deg) scaleX(-1);
}

.gift-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 110px;
  height: 75px;
  background: linear-gradient(135deg, #c77dff, #ff477e);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.gift-ribbon-v {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 100%;
  background: linear-gradient(to right, #ffd166, #ffe082);
  box-shadow: 0 0 8px rgba(255, 209, 102, 0.4);
}

.gift-ribbon-h {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, #ffd166, #ffe082);
  box-shadow: 0 0 8px rgba(255, 209, 102, 0.4);
}

.tap-hint {
  font-size: 0.85rem;
  color: var(--soft-lavender);
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: pulseText 2s infinite ease-in-out;
}

.glow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-glow);
  box-shadow: 0 0 8px var(--gold-glow);
}

@keyframes pulseText {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.entrance-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 12px;
  line-height: 1.25;
}

.highlight-name {
  background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 50%, #ffd166 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: 0 0 25px rgba(255, 107, 149, 0.4);
}

.entrance-subtitle {
  font-family: var(--font-bengali);
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.btn-primary {
  background: linear-gradient(135deg, #ff477e 0%, #ff70a6 50%, #c77dff 100%);
  color: #ffffff;
  border: none;
  padding: 16px 36px;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-bounce);
  box-shadow: 0 8px 25px rgba(255, 71, 126, 0.45);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 35px rgba(255, 71, 126, 0.65);
}

/* ==========================================================================
   MAIN WRAPPER & SECTIONS
   ========================================================================== */
.main-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section titles & badges */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 107, 149, 0.12);
  border: 1px solid rgba(255, 107, 149, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-pink);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-bengali);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.section-subtext {
  font-family: var(--font-bengali);
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   FLOATING BALLOONS SYSTEM
   ========================================================================== */
.balloons-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.balloon {
  position: absolute;
  width: 55px;
  height: 72px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: inset -6px -6px 15px rgba(0, 0, 0, 0.2), inset 8px 8px 15px rgba(255, 255, 255, 0.4), 0 10px 20px rgba(0, 0, 0, 0.3);
  animation: floatBalloon 16s infinite ease-in-out;
}

.balloon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 48px;
  background: rgba(255, 255, 255, 0.4);
}

.balloon:hover {
  transform: scale(1.15) !important;
}

.balloon-pop {
  animation: balloonPopAnim 0.3s forwards ease-out !important;
}

@keyframes balloonPopAnim {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.8; }
  100% { transform: scale(0); opacity: 0; }
}

@keyframes floatBalloon {
  0% { transform: translateY(110vh) rotate(0deg); }
  50% { transform: translateY(50vh) rotate(8deg); }
  100% { transform: translateY(-120px) rotate(-8deg); }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  text-align: center;
  padding: 60px 16px 50px;
  position: relative;
}

.hero-decorations .sparkle-star {
  position: absolute;
  font-size: 1.8rem;
  pointer-events: none;
  animation: floatDecor 5s infinite ease-in-out;
}

.sparkle-star.s1 { top: 20px; left: 10%; animation-delay: 0s; }
.sparkle-star.s2 { top: 40px; right: 12%; animation-delay: 1.2s; }
.sparkle-star.s3 { bottom: 20px; left: 15%; animation-delay: 2.4s; }
.sparkle-star.s4 { bottom: 30px; right: 18%; animation-delay: 3.6s; }
.sparkle-star.s5 { top: 80px; left: 50%; animation-delay: 1.8s; font-size: 2.2rem; }

@keyframes floatDecor {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-14px) scale(1.15) rotate(12deg); opacity: 1; }
}

.celebration-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 209, 102, 0.35);
  color: var(--gold-glow);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06d6a0;
  box-shadow: 0 0 10px #06d6a0;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.main-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.bengali-title {
  font-family: var(--font-bengali);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.english-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--champagne);
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 50%, #ffd166 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(255, 107, 149, 0.4));
}

.script-font {
  font-family: var(--font-script);
  color: var(--gold-glow);
  font-weight: 700;
  font-size: 1.2em;
}

.hero-tagline {
  font-family: var(--font-bengali);
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-bengali);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-sm);
}

.btn-glass i {
  color: var(--primary-pink);
  font-size: 1.1rem;
}

.btn-glass:hover {
  background: rgba(255, 107, 149, 0.2);
  border-color: var(--primary-pink);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 107, 149, 0.35);
}

/* ==========================================================================
   CAKE & CANDLE SECTION
   ========================================================================== */
.cake-section {
  text-align: center;
  padding: 70px 16px;
  margin: 40px 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(123, 44, 191, 0.15) 0%, rgba(13, 7, 20, 0) 70%);
}

.cake-stage {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.cake-display-container {
  position: relative;
  display: inline-block;
  border-radius: var(--radius-lg);
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 149, 0.2);
}

.cake-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 440px;
}

.cake-img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  transition: filter 0.8s ease;
}

.cake-img.dimmed {
  filter: brightness(0.85) contrast(1.1);
}

/* Dynamic Candle Flame Overlays on top of the cake candles */
.candles-overlay {
  position: absolute;
  top: 31%;
  left: 45%;
  transform: translateX(-50%);
  width: 180px;
  height: 50px;
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
}

.candle-flame-wrapper {
  position: absolute;
  width: 18px;
  height: 30px;
  cursor: pointer;
}

/* Adjust candle positions matching the cake image candles */
.candle-flame-wrapper.c1 { left: 10px; top: 8px; }
.candle-flame-wrapper.c2 { left: 45px; top: 0px; }
.candle-flame-wrapper.c3 { left: 80px; top: -6px; }
.candle-flame-wrapper.c4 { left: 115px; top: 0px; }
.candle-flame-wrapper.c5 { left: 148px; top: 6px; }

.candle-flame {
  width: 16px;
  height: 26px;
  background: radial-gradient(ellipse at bottom, #fff7ad 0%, #ffa500 60%, rgba(255, 69, 0, 0.8) 100%);
  border-radius: 50% 50% 20% 20% / 60% 60% 30% 30%;
  box-shadow: 0 0 16px #ffbe0b, 0 0 32px #fb5607;
  animation: flicker 0.15s infinite alternate ease-in-out;
  transform-origin: center bottom;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@keyframes flicker {
  0% { transform: scale(1) rotate(-1.5deg); opacity: 0.95; }
  100% { transform: scale(1.12, 1.18) rotate(1.5deg); opacity: 1; }
}

.candle-smoke {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(220, 220, 220, 0.7);
  filter: blur(3px);
  opacity: 0;
  pointer-events: none;
}

/* Blown state */
.candle-flame-wrapper.blown .candle-flame {
  opacity: 0;
  transform: scale(0.2) translateY(-10px);
}

.candle-flame-wrapper.blown .candle-smoke {
  animation: smokePuff 1.5s forwards ease-out;
}

@keyframes smokePuff {
  0% { opacity: 0.9; transform: translate(-50%, 0) scale(1); }
  50% { opacity: 0.5; transform: translate(-30%, -25px) scale(2.2); }
  100% { opacity: 0; transform: translate(10%, -50px) scale(3.5); }
}

.cake-controls {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.blow-btn {
  font-size: 1.1rem;
  padding: 16px 36px;
  background: linear-gradient(135deg, #06d6a0 0%, #118ab2 100%);
  box-shadow: 0 8px 25px rgba(6, 214, 160, 0.4);
}

.blow-btn:hover {
  box-shadow: 0 12px 35px rgba(6, 214, 160, 0.6);
}

.relight-btn {
  font-size: 1.05rem;
}

.wish-toast {
  margin-top: 25px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 209, 102, 0.5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  animation: popWishToast 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wish-toast.hidden, .hidden {
  display: none !important;
}

@keyframes popWishToast {
  0% { transform: scale(0.85) translateY(15px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.wish-toast-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.wish-toast h3 {
  font-family: var(--font-serif);
  color: var(--gold-glow);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.wish-toast p {
  font-family: var(--font-bengali);
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ==========================================================================
   HEARTFELT LETTER SECTION
   ========================================================================== */
.letter-section {
  text-align: center;
  padding: 60px 16px;
}

.letter-card-container {
  max-width: 760px;
  margin: 0 auto;
}

.letter-card {
  position: relative;
  text-align: left;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 35px rgba(255, 107, 149, 0.15);
  overflow: hidden;
}

.letter-stamp {
  position: absolute;
  top: 30px;
  right: 36px;
  width: 75px;
  height: 85px;
  border: 2px dashed rgba(255, 209, 102, 0.6);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--gold-glow);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(8deg);
  background: rgba(255, 209, 102, 0.08);
}

.letter-stamp i {
  font-size: 1.3rem;
}

.letter-header {
  margin-bottom: 24px;
}

.letter-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--soft-lavender);
  font-weight: 500;
  margin-bottom: 12px;
}

.letter-greeting {
  font-family: var(--font-bengali);
  font-size: 2rem;
  color: var(--gold-glow);
  font-weight: 700;
}

.letter-body {
  font-family: var(--font-bengali);
  font-size: 1.15rem;
  color: #f1e9f7;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.letter-body p {
  text-align: justify;
}

.letter-english {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--champagne);
  padding: 16px 20px;
  background: rgba(255, 107, 149, 0.08);
  border-left: 3px solid var(--primary-pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.7;
}

.letter-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signature {
  font-family: var(--font-bengali);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.signature span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.signature strong {
  font-size: 1.25rem;
  color: var(--primary-pink);
  font-weight: 700;
}

.letter-actions {
  display: flex;
  gap: 10px;
}

.btn-sm {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-bengali);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-sm:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-sm.love-btn {
  background: rgba(255, 71, 126, 0.25);
  border-color: rgba(255, 71, 126, 0.5);
  color: #ff9ebb;
}

.btn-sm.love-btn:hover {
  background: rgba(255, 71, 126, 0.45);
  box-shadow: 0 4px 15px rgba(255, 71, 126, 0.4);
}

/* ==========================================================================
   POLAROID GALLERY SECTION
   ========================================================================== */
/* ==========================================================================
   PHOTO SLIDE VIEW & CAROUSEL SECTION
   ========================================================================== */
.gallery-section {
  text-align: center;
  padding: 70px 16px;
  position: relative;
}

.slider-master-wrapper {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.slider-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.slider-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  font-family: var(--font-bengali);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-glow);
}

.slider-counter strong {
  font-size: 1.15rem;
  color: #ffffff;
}

.slider-action-pills {
  display: flex;
  gap: 10px;
}

.pill-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-bengali);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-bounce);
}

.pill-btn:hover {
  background: rgba(255, 107, 149, 0.25);
  border-color: var(--primary-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 149, 0.3);
}

.pill-btn.active {
  background: linear-gradient(135deg, rgba(255, 71, 126, 0.4), rgba(255, 209, 102, 0.3));
  border-color: var(--gold-glow);
}

/* Viewport & Track */
.slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 107, 149, 0.2);
}

.slides-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.slide-card {
  flex: 0 0 100%;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 16px 22px;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.slide-img-frame {
  width: 100%;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  background: #190c23;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

.slide-card:hover .carousel-img {
  transform: scale(1.04);
}

.slide-info {
  margin-top: 14px;
}

.slide-info h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #1a0e21;
  margin-bottom: 4px;
}

.slide-info p {
  font-family: var(--font-bengali);
  font-size: 1.05rem;
  color: #5d4866;
  font-weight: 500;
}

/* Slide Navigation Arrows */
.slide-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 15, 45, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: var(--transition-bounce);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.slide-nav-btn.prev-btn {
  left: 20px;
}

.slide-nav-btn.next-btn {
  right: 20px;
}

.slide-nav-btn:hover {
  background: var(--primary-pink);
  transform: translateY(-50%) scale(1.15);
  border-color: #ffffff;
  box-shadow: 0 8px 25px rgba(255, 71, 126, 0.6);
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 28px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary-pink), var(--gold-glow));
  box-shadow: 0 0 10px rgba(255, 107, 149, 0.6);
}

/* Thumbnail Navigation Strip */
.thumbnails-container {
  margin-top: 20px;
  overflow-x: auto;
  padding: 8px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 107, 149, 0.4) transparent;
}

.thumbnails-track {
  display: flex;
  gap: 12px;
  justify-content: center;
  min-width: max-content;
}

.thumb-item {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.15);
  opacity: 0.6;
  transition: all 0.3s ease;
  background: #1a0e21;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-item:hover {
  opacity: 0.9;
  transform: translateY(-3px) scale(1.05);
  border-color: var(--soft-lavender);
}

.thumb-item.active {
  opacity: 1;
  border-color: var(--primary-pink);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 16px rgba(255, 71, 126, 0.6);
}

.slider-hints {
  font-family: var(--font-bengali);
  font-size: 0.9rem;
  color: var(--soft-lavender);
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   VIDEO REELS & SPECIAL MOMENTS SECTION
   ========================================================================== */
.video-section {
  text-align: center;
  padding: 60px 16px;
  position: relative;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.video-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: left;
  transition: var(--transition-bounce);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 149, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 107, 149, 0.25);
}

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

.video-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 71, 126, 0.2);
  border: 1px solid rgba(255, 71, 126, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-pink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.video-duration {
  font-size: 0.85rem;
  color: var(--gold-glow);
  font-weight: 600;
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.celebration-video {
  width: 100%;
  max-height: 480px;
  display: block;
  border-radius: var(--radius-md);
  outline: none;
  background: #0d0714;
}

.video-info {
  margin-top: 16px;
}

.video-info h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.video-info p {
  font-family: var(--font-bengali);
  font-size: 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   REASONS / ADMIRATION SECTION
   ========================================================================== */
.reasons-section {
  text-align: center;
  padding: 60px 16px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.reason-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: left;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color, #ff6b95);
  opacity: 0.8;
  transition: height 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 107, 149, 0.2);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon i {
  font-size: 1.5rem;
  color: var(--accent-color, #ff6b95);
}

.reason-card h3 {
  font-family: var(--font-bengali);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.reason-card p {
  font-family: var(--font-bengali);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   FUN & SURPRISE WISH GENERATOR
   ========================================================================== */
.fun-section {
  padding: 60px 16px;
}

.interactive-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: linear-gradient(135deg, rgba(255, 107, 149, 0.1) 0%, rgba(123, 44, 191, 0.15) 100%);
  box-shadow: var(--shadow-sm);
}

.fun-header .pulse-icon {
  font-size: 2.2rem;
  color: var(--gold-glow);
  margin-bottom: 16px;
  animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.fun-header h3 {
  font-family: var(--font-bengali);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.fun-header p {
  font-family: var(--font-bengali);
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.quote-display {
  font-family: var(--font-bengali);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff9db;
  padding: 24px 28px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 209, 102, 0.4);
  margin-bottom: 28px;
  line-height: 1.8;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.fun-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  text-align: center;
  padding: 60px 16px 30px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hearts {
  font-size: 1.5rem;
  letter-spacing: 8px;
  margin-bottom: 16px;
}

.footer-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-friend-name {
  color: var(--primary-pink);
}

.footer-sub {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-year {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   MODALS (GALLERY & CUSTOMIZE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-dialog {
  position: relative;
  max-width: 650px;
  width: 100%;
  border-radius: var(--radius-md);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 38px;
  height: 38px;
  background: #ffffff;
  color: #1a0e21;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  transform: scale(1.15) rotate(90deg);
}

#modalImg {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: block;
  margin: 0 auto;
}

.modal-caption {
  font-family: var(--font-bengali);
  font-size: 1.15rem;
  color: #ffffff;
  margin-top: 14px;
}

/* Customize Dialog */
.customize-dialog {
  background: rgba(28, 14, 38, 0.95);
  border: 1px solid var(--border-glass);
  padding: 36px 30px;
  text-align: left;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.modal-title {
  font-family: var(--font-bengali);
  font-size: 1.5rem;
  color: var(--gold-glow);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-sub {
  font-family: var(--font-bengali);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.customize-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-bengali);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--primary-pink);
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--font-bengali);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 10px rgba(255, 107, 149, 0.3);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 768px) {
  .top-controls {
    top: 14px;
    right: 14px;
    gap: 8px;
  }
  
  .control-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .control-btn .btn-text {
    display: none;
  }

  .entrance-content {
    padding: 36px 20px;
  }

  .entrance-title {
    font-size: 2rem;
  }

  .bengali-title {
    font-size: 2.2rem;
  }

  .english-title {
    font-size: 1.6rem;
  }

  .cake-img-wrapper {
    max-height: 320px;
  }

  .candles-overlay {
    top: 28%;
    width: 140px;
    transform: scale(0.8) translateX(-55%);
  }

  .letter-card {
    padding: 32px 20px;
  }

  .letter-stamp {
    display: none;
  }

  .polaroid-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

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