/* ==========================================================================
   SHRI SHIV MANDIR, RAMPUR - DIVINE TEMPLE DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  /* Divine Temple Palette */
  --primary-saffron: #FF8C00;
  --primary-deep-saffron: #E65100;
  --sacred-gold: #FFD700;
  --radiant-gold: #D4AF37;
  --temple-crimson: #800020;
  --holy-maroon: #560319;
  --vermilion-red: #D32F2F;
  --sanctum-dark: #120805;
  --sanctum-card: #1E0D08;
  --sanctum-card-border: rgba(212, 175, 55, 0.25);
  --sanctum-glass: rgba(30, 13, 8, 0.85);
  
  /* Text & Accent */
  --text-pure: #FFFDF8;
  --text-parchment: #F4E8D1;
  --text-muted: #D1B89D;
  --text-gold: #FFE082;
  --accent-glow: rgba(255, 140, 0, 0.35);
  --gold-glow: rgba(255, 215, 0, 0.4);
  
  /* Typography */
  --font-serif: 'Rozha One', 'Cinzel', 'Yatra One', Georgia, serif;
  --font-heading: 'Cinzel Decorative', 'Rozha One', 'Yatra One', serif;
  --font-body: 'Poppins', 'Mukta', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hindi: 'Mukta', 'Yatra One', sans-serif;
  
  /* Layout & Elevations */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-divine: 0 10px 35px rgba(230, 81, 0, 0.25), 0 0 15px rgba(255, 215, 0, 0.15);
  --shadow-gold: 0 0 25px rgba(255, 215, 0, 0.3);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--sanctum-dark);
  color: var(--text-parchment);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #2A120B 0%, var(--sanctum-dark) 70%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

/* Custom Devotional Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #120805;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-saffron), var(--sacred-gold));
  border-radius: 5px;
  border: 2px solid #120805;
}

/* Background Mandala & Sacred Aura Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(230, 81, 0, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(128, 0, 32, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TOP SACRED MARQUEE / ANNOUNCEMENT TICKER
   ========================================================================== */
.sacred-ticker-bar {
  background: linear-gradient(90deg, #560319, #800020, #9C0D26, #800020, #560319);
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--text-pure);
  font-size: 0.88rem;
  padding: 0.45rem 0;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ticker-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.ticker-badge {
  background: linear-gradient(135deg, var(--sacred-gold), var(--primary-saffron));
  color: #120805;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 1rem;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.ticker-marquee {
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
  position: relative;
}

.ticker-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 32s linear infinite;
  color: var(--text-gold);
  font-weight: 500;
}

.ticker-text:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(18, 8, 5, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.logo-symbol {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sacred-gold) 0%, var(--primary-deep-saffron) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #120805;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.6);
  border: 2px solid var(--sacred-gold);
  flex-shrink: 0;
  animation: divineAura 4s ease-in-out infinite alternate;
}

@keyframes divineAura {
  0% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); transform: scale(1); }
  100% { box-shadow: 0 0 22px rgba(255, 140, 0, 0.8); transform: scale(1.04); }
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FFF8E7 20%, var(--sacred-gold) 80%, var(--primary-saffron) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Nav Links Desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.nav-link {
  color: var(--text-parchment);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-saffron), var(--sacred-gold));
  transition: var(--transition);
  transform: translateX(-50%);
}

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

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

/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--sacred-gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-icon:hover {
  background: var(--primary-deep-saffron);
  color: #fff;
  border-color: var(--sacred-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.4);
}

.btn-icon.active {
  background: linear-gradient(135deg, var(--primary-deep-saffron), var(--primary-saffron));
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.6);
}

/* Language Toggle Button */
.lang-toggle {
  background: rgba(128, 0, 32, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--sacred-gold);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.lang-toggle:hover {
  background: rgba(128, 0, 32, 0.8);
  border-color: var(--sacred-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Admin Portal Button */
.btn-admin-header {
  background: linear-gradient(135deg, #3A180E, #1F0D07);
  border: 1px solid rgba(255, 215, 0, 0.5);
  color: var(--sacred-gold);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-admin-header:hover {
  background: linear-gradient(135deg, var(--primary-deep-saffron), var(--sacred-gold));
  color: #120805;
  border-color: #fff;
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--sacred-gold);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, 
    rgba(18, 8, 5, 0.65) 0%, 
    rgba(18, 8, 5, 0.78) 50%, 
    var(--sanctum-dark) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-shloka-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(128, 0, 32, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--sacred-gold);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 1.4rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: floatSlow 3s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 140, 0, 0.4);
}

.hero-title span {
  display: block;
  font-size: 0.6em;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-parchment);
  letter-spacing: 1px;
  margin-top: 0.35rem;
}

.hero-shloka-large {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-gold);
  font-style: italic;
  margin-bottom: 1.75rem;
  line-height: 1.6;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Quick Status Badges in Hero */
.hero-status-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(30, 13, 8, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(8px);
}

.status-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 10px #00E676;
  animation: pulseDot 2s infinite;
}

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

.status-badge.closed .status-indicator-dot {
  background: #FF5252;
  box-shadow: 0 0 10px #FF5252;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Devotional Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-saffron) 0%, var(--primary-deep-saffron) 100%);
  color: #FFFDF8;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.85rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 215, 0, 0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 8px 25px rgba(230, 81, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(230, 81, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, #FFA000 0%, #FF6F00 100%);
  color: #fff;
}

.btn-secondary {
  background: rgba(128, 0, 32, 0.7);
  color: var(--text-pure);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(156, 13, 38, 0.9);
  border-color: var(--sacred-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(128, 0, 32, 0.5), 0 0 15px rgba(255, 215, 0, 0.3);
  color: #fff;
}

.btn-gold-outline {
  background: transparent;
  color: var(--sacred-gold);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  border: 1.5px solid var(--sacred-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-gold-outline:hover {
  background: var(--sacred-gold);
  color: #120805;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  transform: translateY(-3px);
}

/* ==========================================================================
   SECTION COMMON STYLING
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.2rem;
  position: relative;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.25;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.title-ornament::before, .title-ornament::after {
  content: '';
  width: 60px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--sacred-gold), transparent);
}

.ornament-icon {
  color: var(--sacred-gold);
  font-size: 1.2rem;
}

/* ==========================================================================
   INTERACTIVE VIRTUAL POOJA & SANCTUM (LIGHT DIYA & BELL)
   ========================================================================== */
.virtual-sanctum-card {
  background: linear-gradient(145deg, #24110A, #160A06);
  border: 1.5px solid rgba(255, 215, 0, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-divine);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.virtual-sanctum-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--sacred-gold), var(--primary-saffron), var(--sacred-gold));
}

.sanctum-stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 380px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8), inset 0 0 30px rgba(0,0,0,0.9);
  border: 2px solid rgba(255, 215, 0, 0.4);
}

.sanctum-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* Interactive Floating Bells */
.sanctum-bell {
  position: absolute;
  top: 15px;
  font-size: 2.2rem;
  color: var(--sacred-gold);
  cursor: pointer;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.7));
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
}

.bell-left { left: 30px; }
.bell-right { right: 30px; }

.sanctum-bell:hover {
  transform: scale(1.15) rotate(15deg);
}

.sanctum-bell.ringing {
  animation: bellChime 0.8s ease-in-out;
}

@keyframes bellChime {
  0% { transform: rotate(0); }
  20% { transform: rotate(-25deg); }
  40% { transform: rotate(20deg); }
  60% { transform: rotate(-15deg); }
  80% { transform: rotate(10deg); }
  100% { transform: rotate(0); }
}

/* Glowing Diya in Sanctum */
.sanctum-diya-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  z-index: 10;
}

.diya-item {
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.diya-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.2), rgba(0,0,0,0.6));
  border: 1px solid rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: relative;
}

.diya-flame {
  position: absolute;
  top: -10px;
  width: 14px;
  height: 22px;
  background: radial-gradient(ellipse at bottom, #FFF 0%, #FFD700 40%, #FF3D00 90%, transparent 100%);
  border-radius: 50% 50% 35% 35%;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 10px #FF9900) drop-shadow(0 0 20px #FF5500);
}

.diya-item.lit .diya-flame {
  opacity: 1;
  transform: scale(1);
  animation: flameFlicker 1.5s infinite alternate ease-in-out;
}

.diya-item.lit .diya-icon-wrapper {
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.8), inset 0 0 15px rgba(255, 215, 0, 0.6);
  border-color: var(--sacred-gold);
}

@keyframes flameFlicker {
  0% { transform: scale(1) rotate(-2deg); filter: drop-shadow(0 0 8px #FF9900); }
  50% { transform: scale(1.08) rotate(3deg); filter: drop-shadow(0 0 15px #FF7700); }
  100% { transform: scale(0.96) rotate(-1deg); filter: drop-shadow(0 0 10px #FF9900); }
}

.diya-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-gold);
  margin-top: 0.35rem;
}

/* Sanctum Offerings Action Bar */
.sanctum-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-sanctum-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--text-parchment);
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-sanctum-action:hover, .btn-sanctum-action.active {
  background: linear-gradient(135deg, var(--temple-crimson), var(--primary-deep-saffron));
  color: #fff;
  border-color: var(--sacred-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 81, 0, 0.35);
}

/* Floating Flowers Canvas Overlay */
#poojaParticleCanvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 5;
}

/* ==========================================================================
   PHOTO GALLERY & DAILY DARSHAN
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: rgba(30, 13, 8, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--text-muted);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--primary-deep-saffron), var(--sacred-gold));
  color: #120805;
  border-color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.6rem;
}

.gallery-card {
  background: var(--sanctum-card);
  border: 1px solid var(--sanctum-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #0D0503;
  cursor: pointer;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 8, 5, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--sacred-gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.gallery-overlay-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(230, 81, 0, 0.85);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid var(--sacred-gold);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-card:hover .gallery-overlay-btn {
  opacity: 1;
  transform: translateY(0);
}

.gallery-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.gallery-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-gold);
}

.gallery-actions-row {
  display: flex;
  gap: 0.5rem;
}

.btn-gallery-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.2rem;
  transition: var(--transition);
}

.btn-gallery-icon:hover {
  color: var(--sacred-gold);
  transform: scale(1.15);
}

/* ==========================================================================
   AARTI & TEMPLE TIMINGS SECTION
   ========================================================================== */
.timings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.timing-card {
  background: var(--sanctum-card);
  border: 1px solid var(--sanctum-card-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.25rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}

.timing-card:hover, .timing-card.current-aarti {
  transform: translateY(-5px);
  border-color: var(--sacred-gold);
  box-shadow: var(--shadow-divine);
}

.timing-card.current-aarti {
  background: linear-gradient(145deg, #301309, #1E0D08);
  border-width: 2px;
}

.timing-card.current-aarti::after {
  content: 'वर्तमान / अगली आरती (NEXT AARTI)';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--sacred-gold), var(--primary-saffron));
  color: #120805;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.timing-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--sacred-gold);
  margin: 0 auto 1rem;
}

.timing-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.timing-time {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary-saffron);
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
}

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

/* Temple Gate Info Box */
.temple-gate-banner {
  background: linear-gradient(135deg, #38120A, #1C0905);
  border: 1.5px solid rgba(255, 215, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}

.gate-info-item h4 {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gate-info-item p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-gold);
}

/* ==========================================================================
   POOJA & ANUSHTHAN BOOKING SECTION
   ========================================================================== */
.pooja-booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .pooja-booking-layout {
    grid-template-columns: 1fr;
  }
}

.pooja-list-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pooja-card-select {
  background: var(--sanctum-card);
  border: 1px solid var(--sanctum-card-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.pooja-card-select:hover, .pooja-card-select.selected {
  border-color: var(--sacred-gold);
  background: linear-gradient(135deg, #2E120A, #1E0D08);
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(230, 81, 0, 0.25);
}

.pooja-info h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-pure);
  margin-bottom: 0.2rem;
}

.pooja-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pooja-dakshina {
  text-align: right;
  flex-shrink: 0;
}

.dakshina-amt {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sacred-gold);
}

.dakshina-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

/* Booking Form Card */
.booking-form-card {
  background: linear-gradient(145deg, #220F09, #170905);
  border: 1.5px solid rgba(255, 215, 0, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-divine);
}

.booking-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--text-pure);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gold);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: rgba(18, 8, 5, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--sacred-gold);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
  background: rgba(18, 8, 5, 0.95);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DONATIONS & E-HUNDI SECTION
   ========================================================================== */
.donation-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 850px) {
  .donation-grid {
    grid-template-columns: 1fr;
  }
}

.donation-details-card {
  background: var(--sanctum-card);
  border: 1px solid var(--sanctum-card-border);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow-subtle);
}

.donation-amounts-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.amt-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--text-parchment);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.amt-pill:hover, .amt-pill.selected {
  background: var(--primary-deep-saffron);
  color: #fff;
  border-color: var(--sacred-gold);
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.4);
}

.qr-box-container {
  background: linear-gradient(145deg, #24110A, #170A06);
  border: 2px solid var(--sacred-gold);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-divine);
}

.qr-code-wrapper {
  background: #FFF;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 1rem 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.qr-code-wrapper img, .qr-code-wrapper canvas {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.upi-id-badge {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 215, 0, 0.5);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--sacred-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   TEMPLE HISTORY & SIGNIFICANCE
   ========================================================================== */
.history-story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 850px) {
  .history-story-layout {
    grid-template-columns: 1fr;
  }
}

.history-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.35);
  box-shadow: var(--shadow-divine);
  height: 420px;
}

.history-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-card-body {
  padding: 1rem 0;
}

.history-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--text-pure);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.history-card-body p {
  color: var(--text-parchment);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.temple-highlights-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.temple-highlights-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-gold);
}

.temple-highlights-list li i {
  color: var(--primary-saffron);
}

/* ==========================================================================
   LOCATION, GOOGLE MAP & HOW TO REACH
   ========================================================================== */
.map-section-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .map-section-layout {
    grid-template-columns: 1fr;
  }
}

.map-embed-wrapper {
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.35);
  box-shadow: var(--shadow-divine);
  background: #111;
  position: relative;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.route-guide-card {
  background: var(--sanctum-card);
  border: 1px solid var(--sanctum-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.route-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.route-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--sacred-gold);
  flex-shrink: 0;
}

.route-item-text h4 {
  font-size: 0.98rem;
  color: var(--text-pure);
  margin-bottom: 0.2rem;
}

.route-item-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0D0503;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 950px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--sacred-gold);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--sacred-gold);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.8rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 8, 5, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.7);
  z-index: 1000;
  padding: 0.4rem 0.5rem;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  body {
    padding-bottom: 65px; /* Prevent bottom bar overlap */
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
  border: none;
}

.bottom-nav-item i {
  font-size: 1.25rem;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--sacred-gold);
}

.bottom-nav-item.highlight-btn {
  color: #120805;
  background: linear-gradient(135deg, var(--sacred-gold), var(--primary-saffron));
  border-radius: 50px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  transform: translateY(-4px);
}

/* ==========================================================================
   ADMIN PORTAL MODAL & DASHBOARD STYLES
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 3, 2, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: linear-gradient(145deg, #1E0D08, #140704);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-divine);
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header {
  background: rgba(128, 0, 32, 0.4);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--sacred-gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.modal-body {
  padding: 1.8rem;
  overflow-y: auto;
  flex: 1;
}

/* Admin PIN Login Form */
.admin-login-box {
  max-width: 400px;
  margin: 3rem auto;
  text-align: center;
}

.admin-login-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.15);
  border: 2px solid var(--sacred-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--sacred-gold);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.pin-inputs {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.pin-digit {
  width: 48px;
  height: 54px;
  background: rgba(18, 8, 5, 0.8);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sacred-gold);
  transition: var(--transition);
}

.pin-digit:focus {
  outline: none;
  border-color: var(--sacred-gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  background: #2A120A;
}

/* Admin Dashboard Tabs */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.8rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.admin-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--text-muted);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-tab-btn:hover, .admin-tab-btn.active {
  background: var(--primary-deep-saffron);
  color: #fff;
  border-color: var(--sacred-gold);
}

/* Upload Zone */
.upload-dropzone {
  border: 2px dashed rgba(255, 215, 0, 0.45);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: rgba(18, 8, 5, 0.6);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
  border-color: var(--sacred-gold);
  background: rgba(230, 81, 0, 0.1);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.dropzone-icon {
  font-size: 3rem;
  color: var(--sacred-gold);
  margin-bottom: 0.75rem;
}

.image-preview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.preview-thumbnail {
  position: relative;
  height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--sacred-gold);
}

.preview-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-thumbnail .btn-remove-thumb {
  position: absolute;
  top: 4px; right: 4px;
  background: rgba(211, 47, 47, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
}

/* Admin Photo Management Table/Cards */
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-photo-card {
  background: rgba(18, 8, 5, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.admin-photo-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.admin-photo-info {
  padding: 0.6rem;
  font-size: 0.78rem;
}

.admin-photo-actions {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 2, 1, 0.95);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  border: 2px solid var(--sacred-gold);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.4);
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--text-pure);
  font-size: 1.1rem;
  font-family: var(--font-serif);
}

.lightbox-toolbar {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Toast Alerts */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toast {
  background: linear-gradient(135deg, #2E120A, #180905);
  border: 1px solid var(--sacred-gold);
  color: var(--text-pure);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideToast 0.3s ease;
}

@keyframes slideToast {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   HINDU PANCHANG & 2026-2027 FESTIVAL CALENDAR STYLES
   ========================================================================== */

.panchang-calendar-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(230, 81, 0, 0.08) 0%, transparent 60%),
              rgba(18, 8, 5, 0.6);
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

/* Date picker query container */
.panchang-query-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(30, 13, 8, 0.65);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.panchang-date-picker-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-parchment);
  font-size: 0.9rem;
}

.panchang-date-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--sacred-gold);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.panchang-date-input:focus {
  border-color: var(--sacred-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Panchang Details Master Box */
.panchang-details-box {
  background: linear-gradient(135deg, rgba(35, 15, 10, 0.95), rgba(20, 8, 5, 0.95));
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(230, 81, 0, 0.15);
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.panchang-details-box::before {
  content: 'ॐ';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 8rem;
  color: rgba(255, 215, 0, 0.03);
  font-family: var(--font-serif);
  pointer-events: none;
}

.panchang-top-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  font-size: 0.92rem;
  color: var(--text-gold);
}

.panchang-top-badge.somwar-highlight {
  border-bottom-color: rgba(255, 140, 0, 0.4);
}

.badge-somwar {
  background: linear-gradient(135deg, #FF8C00, #E65100);
  color: #FFF;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  animation: pulseSomwar 2s infinite ease-in-out;
}

@keyframes pulseSomwar {
  0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 140, 0, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 0 25px rgba(255, 140, 0, 0.7); }
}

.panchang-date-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.panchang-date-main h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--text-pure);
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.panchang-hindu-month {
  color: var(--sacred-gold);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panchang-sun-times {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.sun-time-pill {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sun-time-pill.sunrise i { color: #FFA726; }
.sun-time-pill.sunset i { color: #FF7043; }

/* 4-Pillars Grid */
.panchang-grid-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.pillar-card {
  background: rgba(20, 8, 5, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--sacred-gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sacred-gold);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.pillar-data label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pillar-data strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-pure);
  margin-top: 0.15rem;
}

/* Muhurats Row */
.panchang-muhurats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 215, 0, 0.15);
}

.muhurat-badge {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
}

.muhurat-badge i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.muhurat-badge span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.muhurat-badge strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.muhurat-badge.shiva-pradosh {
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.25), rgba(128, 0, 32, 0.35));
  border: 1px solid var(--primary-saffron);
  color: var(--text-pure);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.15);
}
.muhurat-badge.shiva-pradosh i { color: #FF9800; }
.muhurat-badge.shiva-pradosh strong { color: var(--sacred-gold); }

.muhurat-badge.abhijit {
  background: rgba(46, 125, 50, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #A5D6A7;
}
.muhurat-badge.abhijit i { color: #66BB6A; }
.muhurat-badge.abhijit strong { color: #E8F5E9; }

.muhurat-badge.brahma {
  background: rgba(103, 58, 183, 0.2);
  border: 1px solid rgba(156, 39, 176, 0.4);
  color: #CE93D8;
}
.muhurat-badge.brahma i { color: #BA68C8; }
.muhurat-badge.brahma strong { color: #F3E5F5; }

.muhurat-badge.rahu {
  background: rgba(198, 40, 40, 0.15);
  border: 1px solid rgba(239, 83, 80, 0.35);
  color: #EF9A9A;
}
.muhurat-badge.rahu i { color: #E57373; }
.muhurat-badge.rahu strong { color: #FFCDD2; }

/* ==========================================================================
   LIVE FESTIVAL COUNTDOWN BANNER
   ========================================================================== */
.festival-countdown-card {
  background: linear-gradient(135deg, #3A0C16, #240905);
  border: 2px solid var(--sacred-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.25);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.festival-countdown-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
  pointer-events: none;
}

.countdown-grid-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .countdown-grid-wrap {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }
}

.countdown-info-side .countdown-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--sacred-gold);
  color: var(--sacred-gold);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.countdown-info-side h3 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.countdown-date-str {
  color: var(--text-gold);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .countdown-date-str {
    justify-content: center;
  }
}

.countdown-tithi-str {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.countdown-desc {
  color: var(--text-parchment);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* Digital Ticking Timer Boxes */
.countdown-timer-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.timer-boxes-row {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
}

.timer-box {
  background: rgba(15, 5, 2, 0.85);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 1rem 0.8rem;
  min-width: 75px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(230, 81, 0, 0.2);
  transition: var(--transition);
}

.timer-box:hover {
  border-color: var(--sacred-gold);
  transform: translateY(-2px);
}

.timer-digit {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sacred-gold);
  line-height: 1;
  display: block;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.timer-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.4rem;
  display: block;
}

/* 2026-2027 Festival Calendar Grid & Cards */
.fest-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.fest-filter-btn {
  background: rgba(30, 13, 8, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--text-parchment);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.fest-filter-btn:hover,
.fest-filter-btn.active {
  background: linear-gradient(135deg, var(--primary-deep-saffron), var(--temple-crimson));
  border-color: var(--sacred-gold);
  color: #FFF;
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.35);
  font-weight: 600;
}

.festivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}

.festival-card {
  background: linear-gradient(135deg, rgba(30, 13, 8, 0.9), rgba(18, 8, 5, 0.95));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.festival-card:hover {
  transform: translateY(-4px);
  border-color: var(--sacred-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.15);
}

.festival-card.shiva-card {
  border-left: 4px solid var(--primary-saffron);
}

.festival-card.past-fest {
  opacity: 0.65;
}

.fest-card-header {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.fest-date-box {
  background: linear-gradient(180deg, var(--temple-crimson), #24050D);
  border: 1px solid var(--sacred-gold);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  min-width: 62px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.fest-day-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sacred-gold);
  line-height: 1;
  display: block;
}

.fest-month-str {
  font-size: 0.72rem;
  color: #FFF;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-top: 0.2rem;
}

.fest-year-str {
  font-size: 0.68rem;
  color: var(--text-gold);
  display: block;
}

.fest-info-main {
  flex: 1;
}

.fest-badge-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.badge-shiva-pill {
  background: rgba(255, 140, 0, 0.15);
  border: 1px solid rgba(255, 140, 0, 0.4);
  color: var(--primary-saffron);
  padding: 0.15rem 0.55rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
}

.fest-status-badge {
  padding: 0.15rem 0.55rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
}

.fest-status-badge.today {
  background: #D32F2F;
  color: #FFF;
  animation: pulseSomwar 1.5s infinite;
}

.fest-status-badge.upcoming {
  background: rgba(46, 125, 50, 0.25);
  border: 1px solid #4CAF50;
  color: #A5D6A7;
}

.fest-status-badge.past {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.fest-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.fest-tithi-pill {
  font-size: 0.8rem;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fest-desc {
  font-size: 0.86rem;
  color: var(--text-parchment);
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

.fest-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 215, 0, 0.12);
}

.fest-deity {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-share-fest {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-share-fest:hover {
  background: #25D366;
  color: #000;
  font-weight: 600;
}

