/* 
 * Jobitra Premium Birthday Invitation Template #2 - "Indian Garden Celebration"
 * Light, Bright, Soft, Festive, Floral & Elegant Indian Palette
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Outfit:wght@300;400;500;600;700&family=Rozha+One&display=swap');

:root {
  /* Soft Indian Garden Pastel Palette */
  --bg-primary: #FFFDF7;
  --bg-secondary: #FFF7E8;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #FFFFFF;
  --bg-soft-pink: #FCE4EC;
  --bg-peach: #FFE4D6;

  --primary: #D96C8A;       /* Elegant Rose / Pink */
  --primary-light: #F8BBD0;
  --primary-dark: #B84B69;
  
  --secondary: #F4B942;     /* Warm Saffron / Marigold */
  --secondary-light: #FFE082;
  --secondary-dark: #D4931B;
  
  --accent-gold: #C9A24A;   /* Champagne Gold */
  --accent-gold-light: #E8D08D;
  --accent-coral: #F58F8F;
  --accent-mint: #E5F4EA;
  --accent-lavender: #EDE4F7;

  --text-main: #4A3B43;     /* Deep Warm Plum / Brown for optimal contrast */
  --text-muted: #7A6670;
  --text-accent: #B84B69;

  --border-gold: rgba(201, 162, 74, 0.35);
  --border-rose: rgba(217, 108, 138, 0.25);
  --border-soft: rgba(0, 0, 0, 0.05);

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  --font-display: 'Rozha One', serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --shadow-paper: 0 10px 30px -8px rgba(184, 75, 105, 0.12), 0 0 20px rgba(201, 162, 74, 0.08);
  --shadow-btn: 0 8px 22px -4px rgba(217, 108, 138, 0.35);
  --shadow-gold: 0 4px 15px rgba(201, 162, 74, 0.25);

  --mobile-width: 480px;
}

/* ==========================================================================
   AGE ACCENT PALETTE OVERRIDES (Light & Airy Theme System)
   ========================================================================== */

/* AGE 1 (Baby Pastel) */
.theme-baby {
  --primary: #F48FB1;
  --secondary: #FFE082;
  --bg-primary: #FFFDF9;
  --bg-secondary: #FFF3F6;
  --text-accent: #D81B60;
  --border-gold: rgba(244, 143, 177, 0.35);
}

/* AGE 2-12 (Kids Colorful Pastel) */
.theme-kids {
  --primary: #FF7043;
  --secondary: #FFCA28;
  --bg-primary: #FFFDF7;
  --bg-secondary: #FFF8E1;
  --text-accent: #E64A19;
  --border-gold: rgba(255, 112, 67, 0.35);
}

/* AGE 13-17 (Teen Lavender & Rose) */
.theme-teen {
  --primary: #AB47BC;
  --secondary: #26C6DA;
  --bg-primary: #FCF9FF;
  --bg-secondary: #F3E5F5;
  --text-accent: #8E24AA;
  --border-gold: rgba(171, 71, 188, 0.35);
}

/* AGE 18-25 (Young Adult Rose & Saffron) */
.theme-youngadult {
  --primary: #D96C8A;
  --secondary: #F4B942;
  --bg-primary: #FFFDF7;
  --bg-secondary: #FFF7E8;
  --text-accent: #B84B69;
  --border-gold: rgba(201, 162, 74, 0.35);
}

/* AGE 26-39 (Adult Sage & Rose) */
.theme-adult {
  --primary: #66BB6A;
  --secondary: #FFA726;
  --bg-primary: #FBFDFB;
  --bg-secondary: #E8F5E9;
  --text-accent: #388E3C;
  --border-gold: rgba(102, 187, 106, 0.35);
}

/* AGE 40-59 (Milestone Saffron & Coral) */
.theme-milestone {
  --primary: #E64A19;
  --secondary: #FFA000;
  --bg-primary: #FFFDF7;
  --bg-secondary: #FFF3E0;
  --text-accent: #D84315;
  --border-gold: rgba(230, 74, 25, 0.35);
}

/* AGE 60+ (Senior Royal Gold & Ivory) */
.theme-senior {
  --primary: #C9A24A;
  --secondary: #D96C8A;
  --bg-primary: #FFFFFA;
  --bg-secondary: #FFFDF0;
  --text-accent: #9A7B31;
  --border-gold: rgba(201, 162, 74, 0.45);
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #F8F3EA;
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  /* Soft Indian handmade paper background with subtle floral backdrop pattern */
  background: radial-gradient(circle at 50% 0%, #FFF7E8 0%, #F5ECE0 60%, #EFE4D6 100%);
}

/* Mobile Shell Container */
#app-container {
  width: 100%;
  max-width: var(--mobile-width);
  min-height: 100vh;
  background-color: var(--bg-primary);
  position: relative;
  box-shadow: 0 15px 50px rgba(91, 70, 80, 0.12), 0 0 2px rgba(201, 162, 74, 0.3);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s ease;
  /* Paper Texture Overlay */
  background-image: radial-gradient(rgba(201, 162, 74, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

@media (min-width: 500px) {
  body {
    padding: 24px 0;
  }
  #app-container {
    border-radius: 32px;
    border: 2px solid rgba(201, 162, 74, 0.25);
  }
}

/* Typography Helpers */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.text-gold-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-gold) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating Petals Canvas */
#floating-petals-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   FLOATING ACTION & MUSIC CONTROLS (SOFT LIGHT DESIGN - NO BLACK)
   ========================================================================== */

.floating-music-btn {
  position: fixed;
  top: 20px;
  right: max(20px, calc(50vw - 220px));
  z-index: 99;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(184, 75, 105, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-music-btn:hover {
  transform: scale(1.08);
}

.floating-music-btn.playing {
  animation: floralPulse 2s infinite ease-in-out;
}

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

.music-bar {
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  height: 4px;
}

.floating-music-btn.playing .bar-1 { animation: eqBar 0.8s infinite alternate ease-in-out; }
.floating-music-btn.playing .bar-2 { animation: eqBar 0.6s 0.2s infinite alternate ease-in-out; }
.floating-music-btn.playing .bar-3 { animation: eqBar 0.9s 0.4s infinite alternate ease-in-out; }

@keyframes eqBar {
  0% { height: 4px; }
  100% { height: 16px; }
}

@keyframes floralPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(217, 108, 138, 0.3); }
  50% { box-shadow: 0 0 20px rgba(244, 185, 66, 0.5); }
}

/* Mobile Sticky Bottom Bar (Soft Cream & Rose - NO BLACK) */
.mobile-sticky-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 90;
  box-shadow: 0 10px 30px rgba(91, 70, 80, 0.15);
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.sticky-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: transparent;
  transition: all 0.25s ease;
}

.sticky-action-btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-btn);
}

.sticky-action-btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   DECORATIVE INDIAN SYSTEM (Floral Frames, Mandalas, Rangoli)
   ========================================================================== */

.decor-mandala-bg {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  opacity: 0.08;
  pointer-events: none;
  transform: rotate(45deg);
}

.flower-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--accent-gold);
}

.flower-divider::before, .flower-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
}

.flower-divider svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* Organic Floral Frame Styles */
.hero-photo-frame {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  padding: 6px;
  box-shadow: var(--shadow-paper);
  transition: all 0.4s ease;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  display: block;
  transition: border-radius 0.4s ease;
}

/* Frame 1: Floral Arch */
.frame-floral-arch {
  border-radius: 100px 100px 20px 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--accent-gold) 100%);
}

.frame-floral-arch img {
  border-radius: 94px 94px 14px 14px;
}

/* Frame 2: Floral Oval */
.frame-floral-oval {
  border-radius: 50% / 40%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary) 100%);
}

.frame-floral-oval img {
  border-radius: 50% / 40%;
}

/* Frame 3: Petal Circle */
.frame-floral-circle {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.frame-floral-circle img {
  border-radius: 50%;
}

.frame-corner-flowers {
  position: absolute;
  width: 38px;
  height: 38px;
  top: -12px;
  right: -12px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 40px;
  overflow: hidden;
  z-index: 2;
}

.hero-top-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 4px;
}

.hero-person-name {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 6px;
}

.hero-age-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 16px;
  background: var(--bg-secondary);
  border: 1px dashed var(--accent-gold);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-accent);
  margin-bottom: 20px;
}

.hero-message-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 360px;
  margin: 0 auto 24px;
  font-style: italic;
}

.hero-date-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 320px;
}

/* ==========================================================================
   COMMON BUTTONS & CARDS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(217, 108, 138, 0.45);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.section-container {
  position: relative;
  z-index: 2;
  padding: 36px 20px;
  width: 100%;
}

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

.section-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 4px;
  display: block;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-main);
}

.card-paper {
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-paper);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   SCRATCH TO REVEAL DATE CARD
   ========================================================================== */

.scratch-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 190px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  border: 1.5px solid var(--border-gold);
}

.scratch-hidden-content {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  z-index: 1;
}

.scratch-hidden-content h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.scratch-date-val {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.scratch-time-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
  touch-action: none;
  transition: opacity 0.5s ease;
}

/* ==========================================================================
   COUNTDOWN TIMER
   ========================================================================== */

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.countdown-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.countdown-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 4px;
}

.countdown-finished {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  padding: 12px;
  text-align: center;
}

/* ==========================================================================
   EVENT DETAILS & MAP
   ========================================================================== */

.event-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

.event-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.event-icon-circle svg {
  width: 20px;
  height: 20px;
}

.event-info-text h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 2px;
}

.event-info-text p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.event-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* ==========================================================================
   BIRTHDAY NOTE / MESSAGE
   ========================================================================== */

.stationery-card {
  text-align: center;
  padding: 32px 24px;
  border: 2px dashed var(--border-gold);
  background: #FFFDF9;
}

.stationery-note {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 16px;
}

.stationery-author {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ==========================================================================
   PHOTO GALLERY & LIGHTBOX
   ========================================================================== */

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

.gallery-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

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

.gallery-caption-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(91, 70, 80, 0.75) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-caption-overlay {
  opacity: 1;
}

.gallery-caption-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
}

.lightbox-img-frame {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: var(--radius-md);
  border: 4px solid #FFFFFF;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  object-fit: contain;
}

/* ==========================================================================
   MEMORY TIMELINE & LIFE JOURNEY
   ========================================================================== */

.timeline-flow {
  position: relative;
  padding-left: 28px;
}

.timeline-flow::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary), var(--primary));
}

.timeline-step {
  position: relative;
  margin-bottom: 20px;
}

.timeline-flower-marker {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--primary);
}

.timeline-paper-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.timeline-year-chip {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

/* Life's Journey Stepper (Milestones 40+) */
.journey-stepper-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.journey-step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

.journey-flower-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   FAVORITE THINGS (Kids / Teens)
   ========================================================================== */

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

.favorite-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.favorite-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  border: 1px solid var(--border-rose);
}

/* ==========================================================================
   FAMILY / PARTY / DRESS CODE
   ========================================================================== */

.family-chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.family-chip {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.family-chip strong {
  color: var(--primary);
  margin-right: 4px;
}

.party-highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  margin-bottom: 10px;
}

.party-time-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-full);
  color: var(--primary);
  white-space: nowrap;
}

/* ==========================================================================
   RSVP FORM (SOFT PASTEL - NO BLACK)
   ========================================================================== */

.rsvp-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.rsvp-option-btn {
  padding: 12px 6px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-gold);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.rsvp-option-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-btn);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-input:focus {
  border-color: var(--primary);
}

.guest-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.counter-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.rsvp-success-box {
  text-align: center;
  padding: 30px 10px;
  display: none;
}

.rsvp-success-box.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* ==========================================================================
   FOOTER (INDIAN GARDEN FLORAL THANK YOU)
   ========================================================================== */

.footer-section {
  padding: 40px 20px 100px;
  text-align: center;
  border-top: 1px solid var(--border-gold);
  margin-top: 40px;
  background: var(--bg-secondary);
}

.footer-thankyou {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.jobitra-brand {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jobitra-brand strong {
  color: var(--primary);
}

/* ==========================================================================
   DEVELOPER DEMO SWITCHER PANEL
   ========================================================================== */

.demo-panel-toggle {
  position: fixed;
  bottom: 75px;
  left: 16px;
  z-index: 100;
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-panel {
  position: fixed;
  bottom: 120px;
  left: 16px;
  z-index: 100;
  width: 270px;
  background: #FFFFFF;
  border: 1.5px solid var(--accent-gold);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: none;
}

.demo-panel.active {
  display: block;
  animation: slideUp 0.3s ease;
}

.demo-panel-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.demo-btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.demo-preset-btn {
  padding: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.demo-preset-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
