/* ==========================================================================
   श्रीमद् भागवत कथा आयोजन समिति, टाटीसिलवे, राँची - 835103
   Official Devotional & Modern Responsive Stylesheet (Enhanced)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Mukta:wght@300;400;600;700&family=Poppins:wght@300;400;500;600;700&family=Rozha+One&family=Yatra+One&display=swap');

:root {
  /* Sacred Color Palette */
  --primary-gold: #d97706;
  --gold-light: #fbbf24;
  --gold-glow: #fef3c7;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  --gold-foil: linear-gradient(135deg, #fef3c7 0%, #f59e0b 35%, #d97706 70%, #78350f 100%);
  
  --sacred-saffron: #f97316;
  --saffron-deep: #ea580c;
  --saffron-gradient: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #c2410c 100%);
  
  --royal-maroon: #881337;
  --maroon-dark: #4c0519;
  --maroon-gradient: linear-gradient(135deg, #be123c 0%, #881337 60%, #4c0519 100%);
  --crimson-pink: #be185d;
  
  --temple-ivory: #fffdf8;
  --cream-soft: #fefcf3;
  --cream-accent: #fef3c7;
  
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --text-gold: #92400e;
  
  --border-gold: rgba(217, 119, 6, 0.35);
  --shadow-gold: 0 10px 25px -5px rgba(217, 119, 6, 0.25), 0 8px 10px -6px rgba(217, 119, 6, 0.15);
  --shadow-sacred: 0 20px 35px -10px rgba(136, 19, 55, 0.2);
  
  /* Fonts */
  --font-devanagari: 'Rozha One', 'Yatra One', 'Mukta', serif;
  --font-heading: 'Yatra One', 'Rozha One', 'Mukta', serif;
  --font-body: 'Poppins', 'Mukta', sans-serif;
  --font-accent: 'Cinzel', serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--temple-ivory);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: radial-gradient(rgba(245, 158, 11, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--royal-maroon);
  font-weight: 600;
  line-height: 1.3;
}

body.lang-en h1, 
body.lang-en h2, 
body.lang-en h3, 
body.lang-en h4, 
body.lang-en h5, 
body.lang-en h6 {
  font-family: 'Poppins', 'Cinzel', sans-serif;
  font-weight: 700;
}

.devanagari-title {
  font-family: 'Rozha One', var(--font-heading);
  letter-spacing: 0.5px;
}

.sanskrit-shloka {
  font-family: var(--font-heading);
  color: var(--saffron-deep);
  font-style: italic;
  font-size: 1.18rem;
  text-align: center;
  position: relative;
  padding: 10px 30px;
  line-height: 1.6;
}

.sanskrit-shloka::before {
  content: "॥ ";
  color: var(--primary-gold);
}

.sanskrit-shloka::after {
  content: " ॥";
  color: var(--primary-gold);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Devotional Ribbon */
.top-devotional-bar {
  background: var(--maroon-gradient);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--primary-gold);
  position: relative;
  z-index: 101;
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.event-highlight-tag {
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.top-bar-link {
  color: #fef3c7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-size: 0.85rem;
}

.top-bar-link:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.8);
}

/* Audio Player Toggle */
.audio-toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(254, 243, 199, 0.4);
  color: #fff;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.audio-toggle-btn:hover {
  background: var(--primary-gold);
  color: #fff;
}

.audio-toggle-btn.playing {
  background: var(--primary-gold);
  color: #fff;
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 2px;
  border: 1px solid rgba(254, 243, 199, 0.3);
}

.lang-btn {
  background: transparent;
  border: none;
  color: #fde68a;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--gold-gradient);
  color: var(--maroon-dark);
}

/* ==========================================================================
   Header Banner Section - Transparent PNG Background (No White Box!)
   ========================================================================== */
.header-banner-section {
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.3) 0%, rgba(255, 253, 248, 0.8) 100%);
  padding: 16px 0 10px;
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-banner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.official-header-img {
  width: 100%;
  max-width: 980px;
  height: auto;
  max-height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(180, 83, 9, 0.22));
  transition: transform 0.3s ease;
  background: transparent !important;
}

.official-header-img:hover {
  transform: scale(1.015);
}

/* ==========================================================================
   Main Navigation Bar
   ========================================================================== */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--primary-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Round Logo Image Provided by User - Small Round & Perfectly Fits Header Ratio */
.nav-round-logo {
  width: 46px;
  height: 46px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--primary-gold);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28);
  flex-shrink: 0;
  background: transparent;
  transition: transform 0.3s ease;
}

.nav-round-logo:hover {
  transform: rotate(6deg) scale(1.08);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-family: 'Rozha One', var(--font-heading);
  color: var(--royal-maroon);
  line-height: 1.2;
}

body.lang-en .brand-title {
  font-family: 'Cinzel', 'Poppins', serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.92rem;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-gold);
}

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

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

/* Donate Button */
.btn-donate {
  background: var(--gold-gradient);
  color: var(--maroon-dark) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
  color: #fff !important;
  background: var(--saffron-gradient);
}

/* Live Edit Trigger Button */
.btn-edit-mode-trigger {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-edit-mode-trigger:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-edit-mode-trigger.editing {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--royal-maroon);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #fffdf8 0%, #fff7ed 50%, #fef3c7 100%);
  padding: 60px 0 80px;
  border-bottom: 3px solid var(--primary-gold);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/kalash.svg');
  background-repeat: no-repeat;
  background-position: right -50px center;
  background-size: 320px;
  opacity: 0.07;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--primary-gold);
  padding: 6px 16px;
  border-radius: 30px;
  color: var(--saffron-deep);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.12);
}

.hero-title {
  font-size: 3.1rem;
  font-family: 'Rozha One', var(--font-heading);
  color: var(--royal-maroon);
  line-height: 1.15;
  margin-bottom: 14px;
}

body.lang-en .hero-title {
  font-family: 'Cinzel', 'Poppins', serif;
  font-size: 2.7rem;
}

.hero-title span {
  background: var(--saffron-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  color: var(--saffron-deep);
  margin-bottom: 20px;
  font-weight: 600;
}

body.lang-en .hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.hero-venue-box {
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--primary-gold);
  padding: 14px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.venue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 500;
}

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

.venue-icon {
  color: var(--primary-gold);
  font-size: 1.25rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}

/* Event Countdown Card */
.countdown-card {
  background: #ffffff;
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sacred);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gold-gradient);
}

.countdown-header {
  margin-bottom: 20px;
}

.countdown-om {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  display: block;
}

.countdown-title {
  font-size: 1.4rem;
  color: var(--royal-maroon);
  font-family: var(--font-heading);
}

body.lang-en .countdown-title {
  font-family: 'Cinzel', 'Poppins', serif;
}

.countdown-date {
  color: var(--saffron-deep);
  font-weight: 600;
  font-size: 0.95rem;
}

.countdown-timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.timer-box {
  background: var(--cream-soft);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  transition: var(--transition);
}

.timer-box:hover {
  transform: translateY(-3px);
  border-color: var(--primary-gold);
  background: #fff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.timer-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--royal-maroon);
  font-family: var(--font-heading);
  display: block;
  line-height: 1;
}

.timer-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 5px;
  display: block;
}

.countdown-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
  position: relative;
}

.section-tag {
  color: var(--saffron-deep);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 2.3rem;
  font-family: 'Rozha One', var(--font-heading);
  color: var(--royal-maroon);
  margin-bottom: 12px;
  position: relative;
}

body.lang-en .section-title {
  font-family: 'Cinzel', 'Poppins', serif;
  font-size: 2.1rem;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 14px 0;
}

.divider-ornament .line {
  height: 2px;
  width: 60px;
  background: var(--gold-gradient);
}

.divider-ornament .symbol {
  color: var(--primary-gold);
  font-size: 1.2rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Generic Section Padding */
.section-padding {
  padding: 75px 0;
}

.bg-cream {
  background-color: var(--cream-soft);
}

.bg-white {
  background-color: #ffffff;
}

/* Mission Grid */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.mission-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  border: 1px solid rgba(217, 119, 6, 0.2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mission-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-gold);
}

.mission-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
}

.mission-card:hover::after {
  opacity: 1;
}

.mission-icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--cream-accent);
  border: 2px solid var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--royal-maroon);
}

.mission-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--royal-maroon);
}

.mission-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 7-Day Katha Mahotsav Timeline */
.katha-schedule-section {
  background: linear-gradient(180deg, #fff 0%, #fffbf0 100%);
}

.schedule-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.day-card {
  background: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.day-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--primary-gold);
}

.day-card-header {
  background: var(--maroon-gradient);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.day-number-badge {
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: var(--font-heading);
}

.day-date-text {
  font-size: 0.88rem;
  color: #fde68a;
}

.day-card-body {
  padding: 22px;
}

.day-theme-title {
  font-size: 1.25rem;
  color: var(--royal-maroon);
  margin-bottom: 10px;
  font-family: 'Rozha One', var(--font-heading);
}

body.lang-en .day-theme-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.day-prasang-list {
  list-style: none;
  margin-bottom: 16px;
}

.day-prasang-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.day-prasang-item::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary-gold);
}

.day-special-event {
  background: var(--cream-soft);
  border: 1px dashed var(--primary-gold);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--saffron-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Past Kathas Section */
.past-kathas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.past-katha-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.past-katha-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sacred);
}

.katha-image-thumb {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.katha-year-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.katha-info-box {
  padding: 22px;
}

.katha-info-title {
  font-size: 1.25rem;
  color: var(--royal-maroon);
  margin-bottom: 8px;
}

.katha-stats-row {
  display: flex;
  gap: 16px;
  margin: 14px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.katha-stats-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Samiti Members Section */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.member-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
}

.member-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-gold);
}

.member-avatar {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid var(--primary-gold);
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-gold);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
}

.member-name {
  font-size: 1.15rem;
  color: var(--royal-maroon);
  margin-bottom: 4px;
}

.member-designation {
  color: var(--saffron-deep);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.member-contact {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Showcase Pass Banner */
.bms-showcase-box {
  background: linear-gradient(135deg, #4c0519 0%, #881337 50%, #991b1b 100%);
  border-radius: var(--radius-xl);
  padding: 45px;
  color: #fff;
  border: 2px solid var(--gold-light);
  box-shadow: var(--shadow-sacred);
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.bms-showcase-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.bms-tag {
  background: #f84464;
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.bms-title {
  font-size: 2.2rem;
  color: #fff;
  font-family: 'Rozha One', var(--font-heading);
  margin-bottom: 12px;
}

body.lang-en .bms-title {
  font-family: 'Cinzel', 'Poppins', serif;
  font-size: 2rem;
}

.bms-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 28px;
}

.bms-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #fef3c7;
}

.bms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Live QR Teaser */
.live-qr-teaser-box {
  background: linear-gradient(135deg, #fffbf0 0%, #fef3c7 50%, #fed7aa 100%);
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.live-qr-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 30px;
  align-items: center;
}

.qr-preview-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 2px dashed var(--primary-gold);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.2);
}

.qr-code-img {
  width: 170px;
  height: 170px;
  margin: 0 auto 12px;
  display: block;
  border: 1px solid #e5e7eb;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.qr-live-pill {
  background: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Donations Section */
.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.donation-plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.donation-plan-card {
  background: #fff;
  border: 2px solid rgba(217, 119, 6, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.donation-plan-card:hover, .donation-plan-card.selected {
  border-color: var(--primary-gold);
  background: var(--cream-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.plan-title {
  font-size: 1.1rem;
  color: var(--royal-maroon);
  margin-bottom: 6px;
}

.plan-amount {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--saffron-deep);
  font-family: var(--font-heading);
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.donation-payment-box {
  background: #fff;
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sacred);
  text-align: center;
}

.upi-qr-display {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
  border: 1px solid #e5e7eb;
  padding: 10px;
  border-radius: var(--radius-md);
  background: #fff;
}

.bank-details-box {
  background: var(--cream-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: left;
  font-size: 0.88rem;
  margin-top: 18px;
  border-left: 3px solid var(--primary-gold);
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-features {
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-dark);
}

.about-feature-item span {
  color: var(--primary-gold);
  font-size: 1.2rem;
}

/* Contact Us Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--cream-soft);
  border: 1px solid var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-maroon);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.contact-val {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-top: 2px;
}

.contact-form-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--primary-gold);
  box-shadow: var(--shadow-sacred);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--royal-maroon);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Footer */
.devotional-footer {
  background: var(--maroon-gradient);
  color: #fef3c7;
  padding: 60px 0 20px;
  border-top: 4px solid var(--primary-gold);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col-title {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Rozha One', var(--font-heading);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

body.lang-en .footer-col-title {
  font-family: 'Cinzel', 'Poppins', serif;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-gold);
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #fde68a;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(254, 243, 199, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #fde68a;
}

/* Floating Actions */
.floating-actions-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid #fff;
}

.fab-btn:hover {
  transform: scale(1.1);
}

.fab-whatsapp { background: #25d366; }
.fab-edit { background: #6366f1; }
.fab-top { background: var(--royal-maroon); }

/* ==========================================================================
   LIVE CONTENT EDITOR MODAL & INLINE EDITING STYLING
   ========================================================================== */
.content-editable-active [data-editable="true"] {
  outline: 2px dashed #f59e0b !important;
  outline-offset: 3px;
  background-color: rgba(254, 243, 199, 0.4) !important;
  cursor: text !important;
  transition: background 0.2s ease;
}

.content-editable-active [data-editable="true"]:focus {
  outline: 2px solid #ea580c !important;
  background-color: #fff !important;
}

.editor-banner-notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #1e1b4b;
  color: #fef3c7;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  font-size: 0.9rem;
}

.customizer-tab-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.customizer-tab-btn.active {
  color: #881337;
  border-bottom-color: #d97706;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .bms-showcase-grid, .live-qr-grid, .donation-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 600px) {
  .nav-round-logo {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1rem;
  }
  .brand-subtitle {
    font-size: 0.68rem;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .countdown-timer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .donation-plans-grid, .bms-features-list, .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-content {
    flex-direction: column;
    text-align: center;
  }
  .top-bar-left, .top-bar-right {
    justify-content: center;
  }
}

/* ==========================================================================
   OFFLINE DONATION RECEIPT LOOKUP & VERIFICATION STYLES
   ========================================================================== */
.receipt-lookup-card {
  background: #ffffff;
  border: 2px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.08);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.receipt-phone-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid #d1d5db;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  background: #fff;
}

.receipt-phone-input-wrap:focus-within {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.receipt-phone-prefix {
  background: #f3f4f6;
  color: #374151;
  font-weight: 700;
  padding: 12px 16px;
  border-right: 1px solid #d1d5db;
  font-size: 1rem;
}

.receipt-phone-input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 1.1rem;
  outline: none;
  font-family: inherit;
}

.receipt-demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  font-size: 0.82rem;
  color: #6b7280;
}

.receipt-chip {
  background: #fef3c7;
  color: #92400e;
  padding: 3px 10px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  border: 1px solid rgba(217, 119, 6, 0.3);
  transition: all 0.2s ease;
}

.receipt-chip:hover {
  background: #fde68a;
  transform: translateY(-1px);
}

.receipt-otp-display-badge {
  background: #1e1b4b;
  color: #fef3c7;
  padding: 4px 12px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Print Styles for Official Receipt */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-offline-slip, #printable-offline-slip * {
    visibility: visible;
  }
  #printable-offline-slip {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    border: 2px solid #000 !important;
    box-shadow: none !important;
    padding: 20px !important;
  }
  .smart-modal-overlay {
    background: transparent !important;
    position: static !important;
  }
  .smart-modal-box {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
  .modal-header, .pass-action-bar {
    display: none !important;
  }
}
