/* 
 * Jobitra Premium Birthday Invitation Template #1
 * Mobile-First, Dynamic Age Adaptive, Luxury Glassmorphism Theme
 */

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

:root {
  /* Default Luxury Dark Gold Palette */
  --bg-primary: #0B0F19;
  --bg-card: rgba(21, 27, 43, 0.75);
  --bg-card-hover: rgba(30, 38, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(243, 198, 104, 0.3);
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-accent: #F3C668;
  
  --accent-gold: #F3C668;
  --accent-gold-light: #FFE08A;
  --accent-gold-dark: #C49735;
  --accent-gradient: linear-gradient(135deg, #F3C668 0%, #E0A938 100%);
  --accent-glow: rgba(243, 198, 104, 0.25);

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  --font-fun: 'Fredoka', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(243, 198, 104, 0.05);
  --shadow-btn: 0 8px 20px -4px rgba(243, 198, 104, 0.35);
  --shadow-glow: 0 0 25px rgba(243, 198, 104, 0.4);

  --mobile-width: 480px;
}

/* ==========================================================================
   AGE THEME OVERRIDES (Dynamic Theme Classes)
   ========================================================================== */

/* BABY THEME (Age 1) */
.theme-baby {
  --bg-primary: #0F172A;
  --bg-card: rgba(30, 41, 59, 0.75);
  --accent-gold: #FFD166;
  --accent-gold-light: #FFE5A3;
  --accent-gradient: linear-gradient(135deg, #FFD166 0%, #FF9F1C 100%);
  --border-accent: rgba(255, 209, 102, 0.35);
  --text-accent: #FFD166;
  --accent-glow: rgba(255, 209, 102, 0.3);
  --font-heading: 'Fredoka', sans-serif;
}

/* KIDS THEME (Age 2-12) */
.theme-kids {
  --bg-primary: #111827;
  --bg-card: rgba(31, 41, 55, 0.8);
  --accent-gold: #06B6D4;
  --accent-gold-light: #67E8F9;
  --accent-gradient: linear-gradient(135deg, #3B82F6 0%, #06B6D4 50%, #10B981 100%);
  --border-accent: rgba(6, 182, 212, 0.35);
  --text-accent: #38BDF8;
  --accent-glow: rgba(56, 189, 248, 0.3);
  --font-heading: 'Outfit', sans-serif;
}

/* TEEN THEME (Age 13-17) */
.theme-teen {
  --bg-primary: #0D0814;
  --bg-card: rgba(26, 16, 43, 0.8);
  --accent-gold: #C084FC;
  --accent-gold-light: #E9D5FF;
  --accent-gradient: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
  --border-accent: rgba(192, 132, 252, 0.35);
  --text-accent: #F472B6;
  --accent-glow: rgba(236, 72, 153, 0.3);
}

/* YOUNG ADULT THEME (Age 18-25) */
.theme-youngadult {
  --bg-primary: #0A0D14;
  --bg-card: rgba(20, 26, 38, 0.8);
  --accent-gold: #F43F5E;
  --accent-gold-light: #FDA4AF;
  --accent-gradient: linear-gradient(135deg, #F43F5E 0%, #FB7185 50%, #F3C668 100%);
  --border-accent: rgba(244, 63, 94, 0.35);
  --text-accent: #FB7185;
  --accent-glow: rgba(244, 63, 94, 0.3);
}

/* ADULT THEME (Age 26-39) */
.theme-adult {
  --bg-primary: #091310;
  --bg-card: rgba(16, 33, 27, 0.8);
  --accent-gold: #34D399;
  --accent-gold-light: #A7F3D0;
  --accent-gradient: linear-gradient(135deg, #059669 0%, #34D399 50%, #F3C668 100%);
  --border-accent: rgba(52, 211, 153, 0.35);
  --text-accent: #34D399;
  --accent-glow: rgba(52, 211, 153, 0.25);
}

/* MILESTONE THEME (Age 40-59) */
.theme-milestone {
  --bg-primary: #12090F;
  --bg-card: rgba(35, 17, 28, 0.8);
  --accent-gold: #F3C668;
  --accent-gold-light: #FFE08A;
  --accent-gradient: linear-gradient(135deg, #D97706 0%, #F3C668 50%, #E11D48 100%);
  --border-accent: rgba(243, 198, 104, 0.4);
  --text-accent: #F3C668;
  --accent-glow: rgba(243, 198, 104, 0.3);
}

/* SENIOR THEME (Age 60+) */
.theme-senior {
  --bg-primary: #0A0F1D;
  --bg-card: rgba(20, 30, 55, 0.8);
  --accent-gold: #E2E8F0;
  --accent-gold-light: #FFFFFF;
  --accent-gradient: linear-gradient(135deg, #CBD5E1 0%, #F3C668 50%, #94A3B8 100%);
  --border-accent: rgba(226, 232, 240, 0.35);
  --text-accent: #F1F5F9;
  --accent-glow: rgba(226, 232, 240, 0.25);
}

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

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #05070C;
  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;
  background: radial-gradient(circle at 50% 0%, rgba(243, 198, 104, 0.08) 0%, #05070C 70%);
}

/* App 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 0 50px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.1);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s ease;
}

@media (min-width: 500px) {
  body {
    padding: 20px 0;
  }
  #app-container {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
}

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

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Particles Canvas background */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   FLOATING ACTION & MUSIC CONTROLS
   ========================================================================== */

/* Floating Music Player Button */
.floating-music-btn {
  position: fixed;
  top: 20px;
  right: max(20px, calc(50vw - 220px));
  z-index: 99;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 21, 35, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  color: var(--text-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

.equalizer-bar {
  width: 3px;
  background: var(--text-accent);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.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 pulseGlow {
  0%, 100% { box-shadow: 0 0 10px var(--accent-glow); }
  50% { box-shadow: 0 0 22px var(--accent-glow); }
}

/* Floating Bottom Sticky Bar (Mobile UX) */
.mobile-sticky-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  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(0, 0, 0, 0.6);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.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.2s ease;
}

.sticky-action-btn.primary {
  background: var(--accent-gradient);
  color: #0B0F19;
  box-shadow: var(--shadow-btn);
}

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

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

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

.hero-backdrop-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: var(--accent-glow);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-image-wrapper {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 24px;
}

.hero-image-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 5px;
  background: var(--accent-gradient);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  display: block;
  background-color: var(--bg-card);
}

.hero-sparkles {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent-gradient);
  color: #0B0F19;
  width: 38px;
  height: 38px;
  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.4);
  animation: floatBounce 3s infinite ease-in-out;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(12deg); }
}

.hero-title-group {
  margin-bottom: 16px;
}

.hero-name {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
}

.hero-heading {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

.hero-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-date-chip svg {
  color: var(--text-accent);
}

.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: var(--accent-gradient);
  color: #0B0F19;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(243, 198, 104, 0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-main);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(10px);
}

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

.btn-block {
  width: 100%;
}

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

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

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

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

.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card-glass:hover {
  border-color: var(--border-accent);
}

/* ==========================================================================
   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-card);
  border: 1.5px solid var(--border-accent);
}

.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;
  backdrop-filter: blur(12px);
}

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

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

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

.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-card {
  text-align: center;
}

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

.countdown-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-accent);
  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(--text-accent);
  padding: 12px;
}

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

.event-details-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.event-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-accent);
  flex-shrink: 0;
}

.event-icon-box svg {
  width: 22px;
  height: 22px;
}

.event-info-text h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  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: 12px;
}

/* ==========================================================================
   MESSAGE SECTION
   ========================================================================== */

.message-card {
  position: relative;
  text-align: center;
  padding: 32px 24px;
}

.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--border-accent);
  margin-bottom: 12px;
  opacity: 0.5;
}

.message-body {
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  color: #E5E7EB;
  margin-bottom: 20px;
}

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

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

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

.gallery-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
}

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

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

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

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

.gallery-year {
  font-size: 0.65rem;
  color: var(--text-accent);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  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: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lightbox-caption-text {
  margin-top: 16px;
  color: #E5E7EB;
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.lightbox-nav button {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   MEMORIES TIMELINE & LIFE JOURNEY
   ========================================================================== */

.timeline-wrapper {
  position: relative;
  padding-left: 24px;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--border-accent), rgba(255, 255, 255, 0.05));
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

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

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.timeline-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

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

.journey-step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.journey-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #0B0F19;
  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: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

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

.favorite-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.favorite-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   PARTY SCHEDULE ("WHAT'S WAITING FOR YOU")
   ========================================================================== */

.party-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.party-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.party-time-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  color: var(--text-accent);
  white-space: nowrap;
}

.party-detail h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.party-detail p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAMILY / DRESS CODE / GIFT SECTIONS
   ========================================================================== */

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

.family-chip {
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-main);
}

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

.dress-code-box {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.dress-code-style {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-accent);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

/* ==========================================================================
   RSVP FORM
   ========================================================================== */

.rsvp-card {
  position: relative;
  overflow: hidden;
}

.rsvp-options {
  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: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.775rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.rsvp-option-btn.active {
  background: var(--bg-glass);
  border-color: var(--accent-gold);
  color: var(--text-accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.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(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
  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(--accent-gold);
}

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

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

.guest-count-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-accent);
  min-width: 24px;
  text-align: center;
}

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

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

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #0B0F19;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

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

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.jobitra-brand {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

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

.demo-panel-toggle {
  position: fixed;
  bottom: 75px;
  left: 16px;
  z-index: 100;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F8FAFC;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-panel {
  position: fixed;
  bottom: 120px;
  left: 16px;
  z-index: 100;
  width: 260px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(243, 198, 104, 0.4);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  backdrop-filter: blur(20px);
  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: #F3C668;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.demo-preset-btn {
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #E2E8F0;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.demo-preset-btn:hover {
  background: rgba(243, 198, 104, 0.2);
  border-color: #F3C668;
  color: #FFF;
}

/* ==========================================================================
   ANIMATIONS & ACCESSIBILITY
   ========================================================================== */

@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;
  }
}
