/* ===================================================
   Nimishka's Birthday Extravaganza - Stylesheet
   Modern Glassmorphism, Luxury Rose-Gold & Velvet Theme
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,800;1,500&family=Rozha+One&family=Tiro+Devanagari+Hindi:ital@0;1&family=Yatra+One&display=swap');

:root {
  --font-main: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-cursive: 'Dancing Script', cursive;
  --font-hindi: 'Rozha One', 'Tiro Devanagari Hindi', 'Yatra One', serif;

  --color-bg-dark: #090614;
  --color-bg-card: rgba(26, 17, 43, 0.65);
  --color-bg-card-hover: rgba(43, 27, 71, 0.8);
  --color-primary: #ff4d8d;
  --color-primary-glow: rgba(255, 77, 141, 0.4);
  --color-accent: #ffd166;
  --color-purple: #9d4edd;
  --color-lavender: #c77dff;
  --color-text-main: #f8f9fa;
  --color-text-muted: #b8b0c8;
  --color-gold: #f4b251;
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-highlight: rgba(255, 182, 193, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 15%, #231139 0%, #0d071a 50%, #05030a 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* Glowing orbs behind content */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-orb-1 {
  width: 450px;
  height: 450px;
  background: #ff3377;
  top: -100px;
  right: -100px;
}

.glow-orb-2 {
  width: 550px;
  height: 550px;
  background: #7928ca;
  bottom: 5%;
  left: -150px;
  animation-duration: 24s;
}

.glow-orb-3 {
  width: 350px;
  height: 350px;
  background: #ffb703;
  top: 45%;
  right: 10%;
  opacity: 0.18;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Main Content Wrapper */
.site-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Custom Typography */
.font-serif {
  font-family: var(--font-serif);
}

.font-cursive {
  font-family: var(--font-cursive);
}

.font-hindi {
  font-family: var(--font-hindi);
}

.text-gradient {
  background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 40%, #ffc371 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-purple-gradient {
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Containers */
.glass-panel {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--glass-border-highlight);
  box-shadow: 0 16px 50px -10px rgba(255, 77, 141, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1100px;
  z-index: 50;
  padding: 12px 24px;
  border-radius: 9999px;
  background: rgba(18, 11, 31, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.pill-btn:hover {
  background: rgba(255, 77, 141, 0.2);
  border-color: rgba(255, 77, 141, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 77, 141, 0.3);
}

.pill-btn.primary {
  background: linear-gradient(135deg, #ff4d8d, #f72585);
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255, 77, 141, 0.4);
}

.pill-btn.primary:hover {
  background: linear-gradient(135deg, #ff5f9e, #ff007f);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 25px rgba(255, 77, 141, 0.6);
}

/* ================= Curtained Welcome Screen Overlay ================= */
#welcome-curtain {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #1b0c2e 0%, #07030d 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s ease;
  overflow: hidden;
}

#welcome-curtain.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}

.curtain-envelope {
  position: relative;
  width: 320px;
  max-width: 90vw;
  background: linear-gradient(145deg, #2a1645, #18092a);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 77, 141, 0.25);
  animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 77, 141, 0.2); }
  100% { box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 55px rgba(255, 77, 141, 0.5); }
}

.envelope-stamp {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: bounceSlow 2s infinite ease-in-out;
}

.envelope-stamp:hover {
  transform: scale(1.15) rotate(10deg);
}

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

/* ================= Hero Section ================= */
.hero-section {
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 77, 141, 0.15);
  border: 1px solid rgba(255, 77, 141, 0.35);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ff9bbb;
  margin-bottom: 24px;
  animation: fadeInDown 1s ease-out;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* Countdown Clock */
.countdown-container {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 20px;
  min-width: 90px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.countdown-number {
  font-size: clamp(1.2rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  font-family: var(--font-serif);
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-lavender);
  margin-top: 6px;
}

/* ================= Section Layout ================= */
.section {
  padding: 90px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

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

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ================= Interactive Cake Section ================= */
.cake-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.cake-wrapper {
  position: relative;
  width: 280px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 40px;
}

/* Cake Layers */
.cake-tier {
  position: relative;
  border-radius: 16px 16px 10px 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.tier-bottom {
  width: 240px;
  height: 75px;
  background: linear-gradient(135deg, #f72585, #b5179e);
  border: 3px solid #ff9bbb;
}

.tier-middle {
  width: 180px;
  height: 65px;
  background: linear-gradient(135deg, #7209b7, #560bad);
  border: 3px solid #c77dff;
}

.tier-top {
  width: 120px;
  height: 55px;
  background: linear-gradient(135deg, #ffd166, #f39c12);
  border: 3px solid #ffe8a1;
}

/* Frosting drips */
.tier-frosting {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px 12px 6px 6px;
}

/* Candles */
.candles-row {
  position: absolute;
  top: -42px;
  display: flex;
  gap: 16px;
  z-index: 10;
}

.candle {
  position: relative;
  width: 12px;
  height: 44px;
  background: repeating-linear-gradient(45deg, #fff, #fff 4px, #ff4d8d 4px, #ff4d8d 8px);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

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

.candle-wick {
  position: absolute;
  top: -8px;
  left: 5px;
  width: 2px;
  height: 8px;
  background: #333;
}

.flame {
  position: absolute;
  top: -24px;
  left: -2px;
  width: 16px;
  height: 24px;
  background: radial-gradient(ellipse at bottom, #fff 0%, #ffea79 40%, #ff5e36 80%, rgba(255, 77, 0, 0) 100%);
  border-radius: 50% 50% 35% 35% / 80% 80% 20% 20%;
  animation: flicker 0.15s infinite alternate ease-in-out;
  box-shadow: 0 0 20px #ffb703, 0 0 40px #ff5400;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.flame.blown-out {
  opacity: 0;
  transform: translateY(-10px) scale(0.2);
  pointer-events: none;
}

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

.cake-plate {
  position: absolute;
  bottom: -10px;
  width: 280px;
  height: 18px;
  background: linear-gradient(90deg, #d4af37, #fff6a2, #aa820a);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* ================= Polaroid Photo Memories Vault ================= */
.photo-filter-btn {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.photo-filter-btn:hover, .photo-filter-btn.active {
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.35), rgba(157, 78, 221, 0.35));
  border-color: #ff4d8d;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 77, 141, 0.3);
}

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 34px 26px;
  padding: 24px 8px;
}

.polaroid-card {
  position: relative;
  background: #fdfdfd;
  border-radius: 4px;
  padding: 14px 14px 20px 14px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: rotate(var(--tilt, 0deg));
  display: flex;
  flex-direction: column;
}

.polaroid-card:hover {
  transform: translateY(-10px) scale(1.04) rotate(0deg) !important;
  box-shadow: 0 25px 50px rgba(255, 77, 141, 0.35), 0 5px 15px rgba(0, 0, 0, 0.4);
  z-index: 15;
}

/* Washi tape sticker */
.polaroid-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 18px;
  background: rgba(255, 235, 170, 0.8);
  border-left: 2px dashed rgba(255, 255, 255, 0.6);
  border-right: 2px dashed rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  z-index: 5;
  pointer-events: none;
}

.polaroid-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #190c2a;
  border-radius: 2px;
}

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

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

.polaroid-art-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  color: #fff;
}

.polaroid-sticker {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 77, 141, 0.9);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 4;
}

.polaroid-caption-area {
  padding-top: 14px;
  text-align: center;
}

.polaroid-title {
  font-family: var(--font-cursive);
  font-size: 1.55rem;
  color: #1b1325;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
}

.polaroid-desc {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.35;
  font-family: var(--font-main);
}

.polaroid-date {
  display: inline-block;
  font-size: 0.68rem;
  color: #999;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ================= 3D Flip Cards (Why Nimishka is One in a Million) ================= */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.flip-card {
  background-color: transparent;
  perspective: 1000px;
  height: 320px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

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

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
}

.flip-card-front {
  background: linear-gradient(145deg, rgba(32, 18, 52, 0.8), rgba(16, 8, 28, 0.9));
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.flip-card-front .card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 10px rgba(255, 77, 141, 0.4));
}

.flip-card-back {
  background: linear-gradient(145deg, #381a5c, #200f38);
  color: white;
  transform: rotateY(180deg);
  border-color: rgba(255, 77, 141, 0.4);
  box-shadow: 0 15px 40px rgba(255, 77, 141, 0.25);
}

/* ================= Scratch Card Section ================= */
.scratch-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.scratch-card-box {
  position: relative;
  width: 360px;
  max-width: 90vw;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.25);
  border: 2px solid rgba(255, 215, 0, 0.4);
}

.scratch-card-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2b104a, #4a154b);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 1;
}

#scratch-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: crosshair;
  touch-action: none;
}

/* ================= Virtual Gift Box Section ================= */
.gift-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}

.gift-box-3d {
  position: relative;
  width: 170px;
  height: 170px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 30px;
}

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

.gift-base {
  position: absolute;
  bottom: 0;
  width: 160px;
  height: 120px;
  background: linear-gradient(135deg, #ff007f, #b5179e);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(255, 0, 127, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-ribbon-v {
  position: absolute;
  width: 28px;
  height: 100%;
  background: linear-gradient(180deg, #ffd700, #ffae00);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.gift-ribbon-h {
  position: absolute;
  height: 28px;
  width: 100%;
  background: linear-gradient(90deg, #ffd700, #ffae00);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.gift-lid {
  position: absolute;
  top: 15px;
  left: -6px;
  width: 172px;
  height: 40px;
  background: linear-gradient(135deg, #ff2a8d, #7209b7);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gift-box-3d.opened .gift-lid {
  transform: translateY(-80px) rotate(-25deg);
  opacity: 0.8;
}

.gift-bow {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
}

.gift-coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 960px;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.5s ease;
}

.gift-coupons-grid.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.coupon-card {
  background: linear-gradient(135deg, rgba(46, 23, 77, 0.85), rgba(28, 12, 50, 0.95));
  border: 1px dashed rgba(255, 215, 0, 0.4);
  border-radius: 18px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.coupon-card:hover {
  transform: translateY(-4px);
  border-color: #ffd700;
}

/* ================= Bestie Quiz Section ================= */
.quiz-box {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 30px;
}

.quiz-option-btn {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 1rem;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-option-btn:hover {
  background: rgba(255, 77, 141, 0.15);
  border-color: rgba(255, 77, 141, 0.4);
  transform: translateX(4px);
}

.quiz-option-btn.correct {
  background: rgba(46, 213, 115, 0.2) !important;
  border-color: #2ed573 !important;
  color: #a8ffb2 !important;
}

.quiz-option-btn.wrong {
  background: rgba(255, 71, 87, 0.2) !important;
  border-color: #ff4757 !important;
  color: #ffb8b8 !important;
}

/* ================= Heartfelt Letter Section ================= */
.letter-parchment {
  max-width: 760px;
  margin: 0 auto;
  background: #fff8eb;
  color: #2b1e16;
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 215, 0, 0.2);
  position: relative;
  font-family: var(--font-serif);
  line-height: 1.85;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.letter-parchment::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(175, 130, 40, 0.25);
  border-radius: 12px;
  pointer-events: none;
}

.letter-stamp {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2.2rem;
  opacity: 0.85;
}

/* ================= Fireworks Launchpad Section ================= */
.fireworks-stage-box {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 440px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(ellipse at bottom, #1b0a33 0%, #090314 60%, #030108 100%);
  border: 1px solid rgba(255, 77, 141, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(255, 77, 141, 0.15);
  cursor: crosshair;
  touch-action: none;
}

#fireworks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.fireworks-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' fill='%2306020c'%3E%3Cpath d='M0,100 L0,70 L40,70 L40,45 L70,45 L70,75 L110,75 L110,30 L135,30 L135,15 L145,15 L145,30 L170,30 L170,80 L220,80 L220,50 L260,50 L260,65 L300,65 L300,20 L320,20 L320,65 L370,65 L370,55 L420,55 L420,75 L480,75 L480,35 L510,35 L510,80 L560,80 L560,40 L600,40 L600,60 L650,60 L650,25 L680,25 L680,70 L730,70 L730,45 L770,45 L770,85 L820,85 L820,30 L850,30 L850,75 L910,75 L910,50 L950,50 L950,70 L1000,70 L1000,100 Z'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
  opacity: 0.9;
  z-index: 3;
  pointer-events: none;
}

.sky-letter-display {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
  z-index: 4;
  pointer-events: none;
  flex-wrap: nowrap;
}

.sky-letter {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 15px #ffd700, 0 0 35px #ff007f, 0 0 50px #ff007f;
  display: inline-block;
  opacity: 0;
  transform: translateY(25px) scale(0.6);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sky-letter.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  text-shadow: 0 0 20px #ffd700, 0 0 45px #ff007f, 0 0 65px #ff007f;
}

/* ================= Photo Lightbox Modal ================= */
.photo-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.photo-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.photo-modal-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #150b24;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 77, 141, 0.3);
}

.photo-modal-img-wrapper {
  width: 100%;
  max-height: 60vh;
  background: #090312;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-modal-img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

.photo-modal-placeholder {
  padding: 60px 24px;
  text-align: center;
  color: #fff;
  width: 100%;
}

.photo-modal-footer {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1c0e32;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #ff4d8d;
  transform: rotate(90deg);
}

/* Floating Party Popper Button */
.fab-popper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d8d, #f72585);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(255, 77, 141, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 45;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-popper:hover {
  transform: scale(1.15) rotate(15deg);
}

/* Floating Audio Player Button */
.fab-music {
  position: fixed;
  bottom: 24px;
  left: 24px;
  height: 48px;
  padding: 0 18px;
  border-radius: 9999px;
  background: rgba(22, 12, 36, 0.85);
  backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  z-index: 45;
  transition: all 0.25s;
}

.fab-music:hover {
  border-color: rgba(255, 77, 141, 0.5);
  transform: translateY(-3px);
}

.music-waves {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.music-bar {
  width: 3px;
  height: 6px;
  background: #ff4d8d;
  border-radius: 2px;
}

.fab-music.playing .music-bar:nth-child(1) { animation: wave 0.8s infinite ease-in-out; }
.fab-music.playing .music-bar:nth-child(2) { animation: wave 1.1s infinite 0.2s ease-in-out; }
.fab-music.playing .music-bar:nth-child(3) { animation: wave 0.9s infinite 0.4s ease-in-out; }

@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

/* ================= Sanskrit Lyrics Karaoke Banner ================= */
.sanskrit-lyrics-banner {
  position: fixed;
  bottom: 84px;
  left: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  background: rgba(20, 10, 34, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 77, 141, 0.25);
  z-index: 46;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatLyrics 4.5s infinite ease-in-out;
}

.sanskrit-lyrics-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  display: none;
}

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

.sanskrit-banner-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sanskrit-banner-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #00ffaa;
  border-radius: 50%;
  margin-right: 4px;
  box-shadow: 0 0 10px #00ffaa;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.lyrics-close-btn {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 15px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  transition: all 0.2s;
  line-height: 1;
}

.lyrics-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.sanskrit-lyric-hindi {
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sanskrit-lyric-meaning {
  font-size: 0.84rem;
  color: #ffccd8;
  line-height: 1.35;
  font-style: italic;
  transition: opacity 0.25s ease;
}

/* Mobile Navigation Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: calc(100% - 32px);
  max-width: 480px;
  background: rgba(18, 10, 30, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 77, 141, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 77, 141, 0.2);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-menu-content {
  padding: 18px 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mobile-nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: rgba(255, 77, 141, 0.2);
  border-color: rgba(255, 77, 141, 0.4);
  color: #ff9bbb;
}

/* ================= COMPREHENSIVE RESPONSIVE STYLES ================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .navbar {
    padding: 8px 14px;
    top: 10px;
  }
  .hero-section {
    padding-top: 96px;
    padding-bottom: 50px;
  }
  .section {
    padding: 60px 16px;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .section-desc {
    font-size: 0.95rem;
  }
  .letter-parchment {
    padding: 28px 18px;
    margin: 0 8px;
  }
  .countdown-container {
    gap: 8px;
  }
  .countdown-box {
    min-width: 68px;
    padding: 10px 8px;
    border-radius: 14px;
  }
  .countdown-number {
    font-size: 1.65rem;
  }
  .countdown-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
    margin-top: 2px;
  }
  .polaroid-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .flip-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .flip-card {
    height: 280px;
  }
  .gift-coupons-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .quiz-box {
    padding: 24px 18px;
  }
  .scratch-card-box {
    width: 100%;
    max-width: 330px;
    height: 190px;
  }
  .fab-music {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    height: 42px;
    padding: 0 14px;
    font-size: 0.78rem;
  }
  .fab-popper {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  .sanskrit-lyrics-banner {
    left: 12px;
    bottom: 68px;
    width: calc(100% - 24px);
    max-width: none;
    padding: 12px 14px;
    border-radius: 16px;
  }
  .sanskrit-lyric-hindi {
    font-size: 1.05rem;
  }
  .sanskrit-lyric-meaning {
    font-size: 0.76rem;
  }
}

@media (max-width: 400px) {
  .cake-wrapper {
    transform: scale(0.85);
    margin-bottom: 20px;
  }
  .tier-bottom { width: 210px; height: 65px; }
  .tier-middle { width: 160px; height: 55px; }
  .tier-top { width: 110px; height: 48px; }
  .cake-plate { width: 240px; }
  .countdown-box {
    min-width: 60px;
    padding: 8px 6px;
  }
  .countdown-number {
    font-size: 1.4rem;
  }
  .mobile-menu-content {
    grid-template-columns: 1fr;
  }
}

