/* ============================================
   BHAKTI DHARA - भक्ति धारा
   पूर्ण हिंदी देवनागरी संस्करण
   Webdunia-style news card layout
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Hindi:ital@0;1&family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Mukta:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Devotional Color Palette */
  --saffron: #FF6F00;
  --saffron-light: #FF9933;
  --saffron-deep: #D84315;
  --gold: #D4AF37;
  --gold-light: #F4D03F;
  --gold-deep: #B8860B;
  --maroon: #6B1E1E;
  --maroon-deep: #4A0E0E;
  --cream: #FFF8E7;
  --cream-deep: #FAEBD7;
  --vermilion: #E34234;
  --turmeric: #FFC72C;
  --tulsi-green: #2D5016;
  --lotus-pink: #F88379;
  --ink: #2C1810;
  --ink-soft: #5D4037;
  --white-pure: #FFFFFF;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(107, 30, 30, 0.12);
  --shadow-deep: 0 10px 40px rgba(107, 30, 30, 0.20);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 24px rgba(216, 67, 21, 0.18);
  
  /* Fonts */
  --font-display: 'Mukta', 'Noto Sans Devanagari', sans-serif;
  --font-body: 'Noto Sans Devanagari', sans-serif;
  --font-hindi: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 153, 51, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }

/* ============ TOP UTILITY BAR ============ */
.utility-bar {
  background: var(--maroon-deep);
  color: var(--cream);
  padding: 6px 20px;
  font-size: 13px;
}

.utility-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.utility-bar .date-tithi {
  color: var(--gold-light);
  font-family: var(--font-hindi);
}

.utility-bar .quick-links {
  display: flex;
  gap: 18px;
}

.utility-bar .quick-links a {
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.utility-bar .quick-links a:hover {
  opacity: 1;
  color: var(--gold-light);
}

/* ============ TOP OM BAR ============ */
.om-bar {
  background: linear-gradient(90deg, var(--saffron-deep), var(--saffron), var(--gold-light), var(--saffron), var(--saffron-deep));
  color: var(--maroon-deep);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-hindi);
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 600;
}

.om-bar span {
  display: inline-block;
  margin: 0 12px;
}

/* ============ HEADER ============ */
.site-header {
  background: var(--white-pure);
  padding: 22px 20px 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  border-bottom: 3px solid var(--saffron);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-svg {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.site-logo {
  font-family: var(--font-hindi);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--maroon-deep);
  letter-spacing: 1px;
  line-height: 1;
}

.site-tagline {
  font-family: var(--font-hindi);
  color: var(--saffron-deep);
  font-size: 0.95rem;
  margin-top: 4px;
  font-style: italic;
}

/* ============ SEARCH ============ */
.search-block {
  flex: 1;
  max-width: 460px;
  min-width: 240px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 48px 12px 20px;
  border: 2px solid var(--gold);
  border-radius: 30px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.15);
  background: var(--white-pure);
}

.search-input::placeholder {
  color: var(--ink-soft);
  font-family: var(--font-hindi);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--saffron);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.2s;
}

.search-btn:hover { background: var(--saffron-deep); }

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white-pure);
  border: 1px solid var(--gold);
  border-radius: 12px;
  margin-top: 8px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: var(--shadow-deep);
  z-index: 200;
  display: none;
}

.search-results.active { display: block; }

.search-result-item {
  padding: 12px 18px;
  border-bottom: 1px solid var(--cream-deep);
  cursor: pointer;
  transition: background 0.2s;
  display: block;
  color: var(--ink);
}

.search-result-item:hover {
  background: var(--cream);
}

.search-result-item:last-child { border-bottom: none; }

.search-result-title {
  font-family: var(--font-hindi);
  font-weight: 600;
  color: var(--maroon-deep);
  font-size: 1rem;
}

.search-result-type {
  font-size: 0.85rem;
  color: var(--saffron-deep);
  margin-top: 2px;
}

.search-no-results {
  padding: 18px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--font-hindi);
  line-height: 1.5;
}
.search-result-item {
  text-decoration: none;
}
.search-result-item:focus {
  outline: 2px solid var(--saffron);
  outline-offset: -2px;
  background: var(--cream);
}

/* ============ NAVIGATION ============ */
.main-nav {
  background: var(--maroon-deep);
  padding: 0;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  color: var(--gold-light);
  padding: 14px 18px;
  font-family: var(--font-hindi);
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--maroon);
  color: var(--white-pure);
  border-bottom-color: var(--saffron);
}

/* ============ HAMBURGER (mobile only) ============ */
.hamburger-btn {
  display: none;
  background: transparent;
  border: 2px solid var(--maroon-deep);
  border-radius: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.hamburger-btn:hover { background: rgba(107, 30, 30, 0.08); }
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--maroon-deep);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-close-btn {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.nav-close-btn:hover { background: rgba(255, 255, 255, 0.1); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.active { opacity: 1; }

/* Hide desktop nav on small screens; show drawer instead */
@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  
  .nav-overlay { display: block; pointer-events: none; }
  .nav-overlay.active { pointer-events: auto; }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, var(--maroon-deep) 0%, #4A1414 100%);
    z-index: 200;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding-top: 70px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
  }
  .main-nav.open { left: 0; }
  
  .nav-close-btn { display: flex; align-items: center; justify-content: center; }
  
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
    padding: 0;
  }
  .nav-inner::before {
    content: 'मेनू';
    font-family: var(--font-hindi);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0 22px 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 8px;
  }
  
  .main-nav a {
    padding: 14px 22px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    font-size: 1.05rem;
    border-left: 3px solid transparent;
    border-right: none;
    border-top: none;
  }
  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(255, 111, 0, 0.15);
    border-left-color: var(--saffron);
    border-bottom-color: rgba(212, 175, 55, 0.15);
  }
  
  /* Header layout adjusts to fit hamburger */
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }
  .logo-block { flex: 1; min-width: 0; }
  
  /* Lock body when drawer is open */
  body.nav-open { overflow: hidden; }
}

/* ============ HERO ============ */
.hero {
  background: 
    radial-gradient(ellipse at center, rgba(255, 199, 44, 0.18) 0%, transparent 70%),
    linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: 50px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gold);
}

.hero-decoration-left,
.hero-decoration-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  opacity: 0.25;
}

.hero-decoration-left { left: 2%; }
.hero-decoration-right { right: 2%; transform: translateY(-50%) scaleX(-1); }

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

.hero h1 {
  font-family: var(--font-hindi);
  font-size: 3rem;
  color: var(--maroon-deep);
  margin-bottom: 14px;
  line-height: 1.3;
}

.hero h1 .accent {
  color: var(--saffron-deep);
}

.hero p {
  font-family: var(--font-hindi);
  font-size: 1.25rem;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto;
  max-width: 280px;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-divider span {
  padding: 0 14px;
  color: var(--saffron-deep);
  font-size: 1.5rem;
}

/* ============ MAIN LAYOUT ============ */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* WEBDUNIA-STYLE TWO COLUMN */
.layout-two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

@media (max-width: 1024px) {
  .layout-two-col {
    grid-template-columns: 1fr;
  }
}

/* ============ SECTION HEADER ============ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--saffron);
}

.section-header h2 {
  font-family: var(--font-hindi);
  font-size: 1.8rem;
  color: var(--maroon-deep);
  font-weight: 700;
  position: relative;
  padding-left: 16px;
}

.section-header h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 5px;
  background: var(--saffron);
  border-radius: 3px;
}

.section-header .see-all {
  font-family: var(--font-hindi);
  color: var(--saffron-deep);
  font-size: 0.95rem;
  font-weight: 500;
}

.section-header .see-all:hover {
  color: var(--maroon-deep);
}

/* ============ NEWS-STYLE CARD GRID (webdunia inspired) ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.news-card {
  background: var(--white-pure);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--saffron);
}

.news-card-img {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--cream-deep), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.news-card-img svg {
  width: 100%;
  height: 100%;
}

.news-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--saffron);
  color: var(--white-pure);
  font-family: var(--font-hindi);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.news-card-tag.aarti { background: var(--vermilion); }
.news-card-tag.mantra { background: var(--turmeric); color: var(--maroon-deep); }
.news-card-tag.chalisa { background: var(--maroon); }
.news-card-tag.festival { background: var(--tulsi-green); }

.news-card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-title {
  font-family: var(--font-hindi);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 6px;
  line-height: 1.4;
}

.news-card-desc {
  font-family: var(--font-hindi);
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-hindi);
  font-size: 0.82rem;
  color: var(--saffron-deep);
}

.news-card-meta .meta-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============ DEITY HEADER ============ */
.deity-header {
  text-align: center;
  padding: 50px 20px 40px;
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 60%, var(--saffron-deep) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}

.deity-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 199, 44, 0.30) 0%, transparent 70%);
}

.deity-header-svg {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 0 25px rgba(255, 199, 44, 0.7));
  position: relative;
}

.deity-header h1 {
  font-family: var(--font-hindi);
  font-size: 3.2rem;
  color: var(--gold-light);
  margin-bottom: 8px;
  position: relative;
  text-shadow: 2px 2px 0 var(--maroon-deep);
}

.deity-header .description {
  margin-top: 12px;
  font-family: var(--font-hindi);
  font-style: italic;
  font-size: 1.15rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  opacity: 0.95;
}

/* ============ BHAJAN CARD (full content) ============ */
.bhajan-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.bhajan-card {
  background: var(--white-pure);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.bhajan-card-header {
  padding: 24px 32px 18px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
  border-bottom: 2px solid var(--gold);
  position: relative;
}

.bhajan-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--saffron);
}

.bhajan-type {
  display: inline-block;
  background: var(--saffron);
  color: var(--white-pure);
  font-family: var(--font-hindi);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.bhajan-type.aarti { background: var(--vermilion); }
.bhajan-type.mantra { background: var(--turmeric); color: var(--maroon-deep); }
.bhajan-type.chalisa { background: var(--maroon); }

.bhajan-title {
  font-family: var(--font-hindi);
  font-size: 2rem;
  color: var(--maroon-deep);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.bhajan-subtitle {
  font-family: var(--font-hindi);
  color: var(--saffron-deep);
  font-style: italic;
  font-size: 1.05rem;
}

/* ============ AUDIO PLAYER ============ */
.audio-player {
  margin: 18px 32px 0;
  background: var(--maroon-deep);
  border-radius: 50px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  border: 2px solid var(--gold);
}

.audio-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--saffron);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.audio-play-btn:hover {
  background: var(--saffron-deep);
  transform: scale(1.05);
}

.audio-info {
  flex: 1;
  font-family: var(--font-hindi);
  font-size: 0.9rem;
}

.audio-info .audio-title {
  display: block;
  color: var(--gold-light);
  font-weight: 600;
}

.audio-info .audio-status {
  display: block;
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 2px;
}

audio.audio-element {
  flex: 1;
  height: 36px;
}

.audio-yt-link {
  background: var(--vermilion);
  color: var(--white-pure);
  padding: 6px 14px;
  border-radius: 16px;
  font-family: var(--font-hindi);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.audio-yt-link:hover { background: var(--maroon-deep); color: var(--cream); }

.bhajan-card-body {
  padding: 28px 32px 32px;
}

.bhajan-section {
  margin-bottom: 26px;
}

.bhajan-section:last-child { margin-bottom: 0; }

.bhajan-section-label {
  font-family: var(--font-hindi);
  font-size: 1rem;
  font-weight: 700;
  color: var(--saffron-deep);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px dotted var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bhajan-section-label::before {
  content: '❋';
  color: var(--saffron);
}

.lyrics-hindi {
  font-family: var(--font-hindi);
  font-size: 1.4rem;
  color: var(--maroon-deep);
  line-height: 2.1;
  white-space: pre-line;
  font-weight: 500;
}

.lyrics-meaning {
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.85;
  background: var(--cream);
  padding: 18px 24px;
  border-radius: 8px;
  border-left: 4px solid var(--tulsi-green);
}

/* ============ SIDEBAR (webdunia-style) ============ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: var(--white-pure);
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.sidebar-widget-title {
  background: var(--maroon-deep);
  color: var(--gold-light);
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 18px;
  border-bottom: 3px solid var(--saffron);
}

.sidebar-widget-body {
  padding: 16px 18px;
}

/* PANCHANG WIDGET */
.panchang-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panchang-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dotted var(--gold);
  font-family: var(--font-hindi);
}

.panchang-row:last-child { border-bottom: none; }

.panchang-label {
  color: var(--saffron-deep);
  font-weight: 600;
}

.panchang-value {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

/* TODAY BANNER */
.today-banner {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--vermilion) 100%);
  color: var(--white-pure);
  padding: 20px 18px;
  border-radius: 10px;
  text-align: center;
  font-family: var(--font-hindi);
  margin-bottom: 0;
  border: 2px solid var(--gold);
}

.today-banner-day {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 4px;
}

.today-banner-date {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin: 4px 0 8px;
}

.today-banner-month {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.today-banner-tithi {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dotted rgba(255,255,255,0.4);
  font-size: 0.95rem;
  color: var(--gold-light);
}

/* SIDEBAR LIST */
.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--gold);
  font-family: var(--font-hindi);
}

.sidebar-list li:last-child { border-bottom: none; }

.sidebar-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.sidebar-list a:hover {
  color: var(--saffron-deep);
}

.sidebar-list .num {
  background: var(--saffron);
  color: var(--white-pure);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ============ AD SLOT ============ */
.ad-slot {
  background: var(--cream-deep);
  border: 2px dashed var(--gold);
  padding: 24px;
  text-align: center;
  margin: 32px 0;
  border-radius: 10px;
  color: var(--ink-soft);
  font-family: var(--font-hindi);
  font-style: italic;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot.sidebar-ad {
  margin: 0;
  min-height: 250px;
}

/* ============ FOOTER ============ */
footer {
  background: var(--maroon-deep);
  color: var(--cream);
  padding: 50px 20px 20px;
  margin-top: 60px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--saffron) 0,
    var(--saffron) 20px,
    var(--gold) 20px,
    var(--gold) 40px,
    var(--maroon) 40px,
    var(--maroon) 60px
  );
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

.footer-col h3 {
  font-family: var(--font-hindi);
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--saffron);
  padding-bottom: 8px;
  display: inline-block;
  font-weight: 600;
}

.footer-col p,
.footer-col a {
  color: var(--cream);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-col a:hover {
  color: var(--gold-light);
  opacity: 1;
}

.footer-bottom {
  max-width: 1280px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--maroon);
  text-align: center;
  color: var(--gold-light);
  font-family: var(--font-hindi);
  font-size: 1rem;
}

/* ============ DEITY GRID (homepage main) ============ */
.deity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.deity-tile {
  background: var(--white-pure);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  border: 2px solid rgba(212, 175, 55, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
}

.deity-tile:hover {
  transform: translateY(-6px);
  border-color: var(--saffron);
  box-shadow: var(--shadow-card-hover);
}

.deity-tile-svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  filter: drop-shadow(2px 2px 4px rgba(107, 30, 30, 0.15));
}

.deity-tile-name {
  font-family: var(--font-hindi);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 4px;
}

.deity-tile-desc {
  font-family: var(--font-hindi);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ============ FESTIVAL CARDS ============ */
.festival-card {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white-pure) 100%);
  border-radius: 12px;
  padding: 24px;
  border-left: 6px solid var(--vermilion);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.festival-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card-hover);
}

.festival-card h3 {
  font-family: var(--font-hindi);
  color: var(--maroon-deep);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.festival-card .festival-date {
  color: var(--saffron-deep);
  font-family: var(--font-hindi);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.festival-card p {
  font-family: var(--font-hindi);
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ============ CHIPS (category pills) ============ */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.chip {
  background: var(--white-pure);
  border: 2px solid var(--gold);
  color: var(--maroon-deep);
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.chip:hover, .chip.active {
  background: var(--saffron);
  color: var(--white-pure);
  border-color: var(--saffron);
}

/* ============ INFO PAGE BLOCK ============ */
.info-block {
  background: var(--white-pure);
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 175, 55, 0.4);
  margin-bottom: 28px;
  font-family: var(--font-hindi);
}

.info-block h2 {
  font-family: var(--font-hindi);
  font-size: 1.8rem;
  color: var(--maroon-deep);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--saffron);
}

.info-block h3 {
  font-family: var(--font-hindi);
  font-size: 1.3rem;
  color: var(--saffron-deep);
  margin: 20px 0 10px;
}

.info-block p {
  font-family: var(--font-hindi);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.85;
  margin-bottom: 14px;
}

.info-block ul {
  font-family: var(--font-hindi);
  padding-left: 24px;
  margin-bottom: 14px;
}

.info-block li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.info-block a {
  color: var(--saffron-deep);
  font-weight: 600;
  text-decoration: underline;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  /* ===== MOBILE HEADER LAYOUT FIX ===== */
  .site-header {
    padding: 12px 14px 14px;
  }
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "hamburger logo"
      "search    search";
    align-items: center;
    gap: 10px 12px;
    flex-wrap: nowrap;
  }
  .hamburger-btn { 
    grid-area: hamburger; 
    display: flex !important;
    margin: 0;
    flex-shrink: 0;
  }
  .logo-block { 
    grid-area: logo;
    flex: initial;
    min-width: 0;
    overflow: hidden;
  }
  .search-block {
    grid-area: search;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
    order: initial;
  }
  .logo-svg { width: 44px; height: 44px; }
  .site-logo { 
    font-size: 1.55rem; 
    line-height: 1.1;
  }
  .site-tagline { 
    font-size: 0.78rem; 
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .deity-header h1 { font-size: 2.2rem; }
  .deity-header-svg { width: 80px; height: 80px; }
  .bhajan-card-header { padding: 18px 20px 14px; }
  .bhajan-card-body { padding: 20px; }
  .audio-player { margin: 14px 20px 0; padding: 8px 12px; }
  .bhajan-title { font-size: 1.5rem; }
  .lyrics-hindi { font-size: 1.2rem; line-height: 2; }
  .lyrics-meaning { font-size: 1rem; padding: 14px 16px; }
  .section-header h2 { font-size: 1.4rem; }
  .info-block { padding: 24px 22px; }
  .info-block h2 { font-size: 1.4rem; }
  .info-block p { font-size: 1rem; }
  .container { padding: 0 12px; }
  .layout-two-col { gap: 24px; }
  .card-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .news-card-body { padding: 12px; }
  .news-card-title { font-size: 0.95rem; line-height: 1.45; }
  .news-card-meta { font-size: 0.78rem; }
  .deity-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .deity-card { padding: 16px 8px; }
  .deity-card-name { font-size: 1rem; }
  .deity-card-svg { width: 60px; height: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .utility-bar { font-size: 0.78rem; padding: 6px 10px; flex-wrap: wrap; gap: 8px; }
  .om-bar { font-size: 0.95rem; padding: 6px 0; }
  .panchang-widget { padding: 14px; }
  .panchang-row { font-size: 0.9rem; padding: 6px 0; }
  .sidebar-widget { padding: 14px; }
  .sidebar-widget h3 { font-size: 1.05rem; }
  .today-banner { padding: 14px; font-size: 0.95rem; }
  .audio-player-title { font-size: 0.92rem; }
  .audio-play-btn { width: 38px; height: 38px; }
  .ad-slot { padding: 18px 12px; font-size: 0.85rem; min-height: 90px; }
  .festival-card { padding: 16px; }
  .search-results { max-height: 320px; }
  .search-result-item { padding: 12px 14px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  /* Tighter header on small phones */
  .site-header { padding: 10px 12px 12px; }
  .header-inner { gap: 8px 10px; }
  .logo-svg { width: 38px; height: 38px; }
  .site-logo { font-size: 1.35rem; letter-spacing: 0.5px; }
  .site-tagline { font-size: 0.72rem; }
  .search-block { margin-top: 2px; }
  .search-input { padding: 10px 42px 10px 16px; font-size: 0.92rem; }
  .search-btn { width: 34px; height: 34px; right: 4px; }
  
  .hero { padding: 30px 16px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.95rem; }
  .card-grid { grid-template-columns: 1fr; }
  .deity-grid { grid-template-columns: repeat(2, 1fr); }
  .deity-header h1 { font-size: 1.7rem; }
  .deity-header { padding: 24px 16px; }
  .deity-header-svg { width: 64px; height: 64px; }
  .bhajan-card-header { padding: 14px 16px 10px; }
  .bhajan-card-body { padding: 14px 16px; }
  .bhajan-title { font-size: 1.25rem; }
  .lyrics-hindi { font-size: 1.1rem; line-height: 1.95; padding: 14px; }
  .lyrics-meaning { font-size: 0.95rem; padding: 12px 14px; }
  .audio-player { margin: 12px 16px 0; padding: 8px 10px; gap: 10px; }
  .audio-player-title { font-size: 0.85rem; }
  .audio-play-btn { width: 34px; height: 34px; flex-shrink: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-col h4 { margin-top: 8px; }
  .section-header { flex-direction: row; gap: 8px; }
  .section-header h2 { font-size: 1.2rem; padding-left: 12px; }
  .section-header .see-all { font-size: 0.85rem; }
  .utility-bar { display: none; }
  .om-bar { font-size: 0.85rem; }
  .panchang-widget h3 { font-size: 1rem; }
  .panchang-row { font-size: 0.85rem; }
  .info-block { padding: 18px 14px; }
  .info-block h2 { font-size: 1.2rem; }
  .info-block p { font-size: 0.95rem; line-height: 1.7; }
  .festival-card-title { font-size: 1.05rem; }
  .festival-card-svg { height: 100px; }
  .breadcrumb { font-size: 0.82rem; }
  .ad-slot { padding: 14px 10px; min-height: 70px; font-size: 0.8rem; }
  /* Touch-friendly buttons */
  .deity-card, .news-card, .festival-card { -webkit-tap-highlight-color: rgba(255, 111, 0, 0.1); }
  a, button { min-height: 36px; }
}

/* ============ FULL PANCHANG PAGE ============ */
.full-panchang-block {
  margin: 24px 0 32px;
}
.full-panchang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.full-panchang-card {
  background: var(--white-pure);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--saffron);
}
.full-panchang-card h3 {
  font-family: var(--font-hindi);
  color: var(--maroon-deep);
  font-size: 1.15rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.5);
}
.full-panchang-card.highlight-card {
  background: linear-gradient(135deg, var(--cream) 0%, #FFF1D6 100%);
  border-top-color: var(--vermilion);
}
.full-panchang-card .big-date {
  font-family: var(--font-hindi);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin: 8px 0 4px;
}
.full-panchang-card .big-day {
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  color: var(--saffron-deep);
  margin-bottom: 6px;
}
.full-panchang-card .big-tithi {
  font-family: var(--font-hindi);
  color: var(--text);
  font-size: 0.95rem;
  margin: 2px 0;
}
.panchang-disclaimer {
  margin-top: 18px;
  padding: 14px;
  background: rgba(255, 248, 231, 0.8);
  border-left: 3px solid var(--saffron);
  font-size: 0.92rem;
  color: var(--text-light);
  border-radius: 4px;
}
.panchang-placeholder {
  padding: 30px;
  text-align: center;
  color: var(--text-light);
  font-family: var(--font-hindi);
}
@media (max-width: 480px) {
  .full-panchang-grid { grid-template-columns: 1fr; gap: 12px; }
  .full-panchang-card { padding: 14px; }
  .full-panchang-card .big-date { font-size: 1.2rem; }
}

/* ============ FESTIVAL HERO ============ */
.festival-hero { background: linear-gradient(135deg, var(--cream) 0%, #FFE8D6 100%); }
.festival-card-svg {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFF8E7 0%, #FFE5C2 100%);
  padding: 16px;
}
.festival-card-svg svg { max-height: 100%; max-width: 80%; }
.festival-card-title { color: var(--maroon-deep); }
.tag-festival { background: var(--vermilion); color: white; }

/* ============ PAGE INTRO ============ */
.page-intro {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}
.page-intro h1 {
  font-family: var(--font-hindi);
  color: var(--maroon-deep);
  font-size: 2rem;
  margin-bottom: 10px;
  padding-left: 16px;
  border-left: 5px solid var(--saffron);
}
.page-intro p {
  font-family: var(--font-hindi);
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-title {
  font-family: var(--font-hindi);
  color: var(--maroon-deep);
  font-size: 1.5rem;
  margin: 32px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--saffron);
}
@media (max-width: 480px) {
  .page-intro h1 { font-size: 1.5rem; }
  .page-intro p { font-size: 0.95rem; }
  .section-title { font-size: 1.2rem; }
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: rgba(255, 248, 231, 0.6);
  padding: 10px 0;
  font-family: var(--font-hindi);
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 0;
}
.breadcrumb a {
  color: var(--saffron-deep);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span:last-child {
  color: var(--maroon-deep);
  font-weight: 600;
}

/* ============================================
   JAAP COUNTER (जाप काउंटर)
   ============================================ */
.jaap-counter {
  background: linear-gradient(180deg, #FFF8E7 0%, #FFE5C2 100%);
  border-radius: 16px;
  padding: 24px;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(107, 30, 30, 0.12);
  font-family: var(--font-hindi);
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}
.jaap-counter::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 199, 44, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.jaap-fullscreen {
  max-width: 720px;
  margin: 30px auto;
  padding: 32px;
}

/* ===== HEADER (mantra picker) ===== */
.jaap-header { margin-bottom: 18px; position: relative; z-index: 1; }
.jaap-mantra-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jaap-label {
  font-size: 0.85rem;
  color: var(--maroon-deep);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.jaap-mantra-select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-family: var(--font-hindi);
  font-size: 1rem;
  background: white;
  color: var(--maroon-deep);
  cursor: pointer;
}
.jaap-mantra-select:focus {
  outline: none;
  border-color: var(--saffron-deep);
}
.jaap-add-custom-btn {
  align-self: flex-start;
  padding: 6px 14px;
  background: transparent;
  border: 1.5px dashed var(--saffron-deep);
  border-radius: 6px;
  color: var(--saffron-deep);
  font-family: var(--font-hindi);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.jaap-add-custom-btn:hover {
  background: var(--saffron-deep);
  color: white;
}

/* ===== MANTRA DISPLAY ===== */
.jaap-mantra-display {
  background: white;
  border-left: 4px solid var(--saffron);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--maroon-deep);
  font-weight: 500;
  border-radius: 0 8px 8px 0;
  position: relative;
  z-index: 1;
}

/* ===== STATS ROW ===== */
.jaap-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.jaap-stat {
  background: white;
  padding: 12px 8px;
  text-align: center;
  border-radius: 10px;
  border-bottom: 3px solid var(--saffron);
}
.jaap-stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 4px;
}
.jaap-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.1;
}
.jaap-stat-value .jaap-of {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ===== PROGRESS BAR ===== */
.jaap-progress-wrap {
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.jaap-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--maroon-deep);
  margin-bottom: 6px;
}
.jaap-progress-bar {
  height: 12px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gold);
}
.jaap-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--saffron) 0%, var(--vermilion) 100%);
  border-radius: 8px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GOAL REACHED ===== */
.jaap-goal-reached {
  background: linear-gradient(90deg, var(--vermilion) 0%, var(--saffron-deep) 100%);
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 1.05rem;
  animation: jaap-celebrate 1.5s ease-in-out;
}
@keyframes jaap-celebrate {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ===== MAIN TAP BUTTON ===== */
.jaap-tap-btn {
  width: 100%;
  min-height: 240px;
  background: radial-gradient(circle at center, var(--saffron) 0%, var(--saffron-deep) 70%, #B33D00 100%);
  border: 6px solid var(--gold);
  border-radius: 20px;
  cursor: pointer;
  color: white;
  font-family: var(--font-hindi);
  padding: 28px 20px;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4), inset 0 -4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.08s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.jaap-tap-btn:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(230, 81, 0, 0.4), inset 0 -2px 8px rgba(0, 0, 0, 0.15);
}
.jaap-tap-btn.pulse { animation: jaap-pulse 0.4s ease-out; }
@keyframes jaap-pulse {
  0%   { box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4), inset 0 -4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(255, 199, 44, 0.6); }
  100% { box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4), inset 0 -4px 12px rgba(0, 0, 0, 0.15), 0 0 0 30px rgba(255, 199, 44, 0); }
}

.jaap-tap-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.jaap-om-symbol {
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 4px;
}
.jaap-tap-hint {
  font-size: 1rem;
  opacity: 0.9;
  letter-spacing: 1px;
}
.jaap-tap-count {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  margin-top: 6px;
}

/* Fullscreen variant — bigger button */
.jaap-fullscreen .jaap-tap-btn { min-height: 320px; }
.jaap-fullscreen .jaap-om-symbol { font-size: 5rem; }
.jaap-fullscreen .jaap-tap-count { font-size: 4.5rem; }

/* ===== CONTROLS ===== */
.jaap-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.jaap-btn {
  padding: 12px 14px;
  background: white;
  border: 2px solid var(--maroon-deep);
  border-radius: 8px;
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--maroon-deep);
  cursor: pointer;
  transition: all 0.2s ease;
}
.jaap-btn:hover {
  background: var(--maroon-deep);
  color: white;
}
.jaap-btn-reset {
  border-color: var(--vermilion);
  color: var(--vermilion);
}
.jaap-btn-reset:hover {
  background: var(--vermilion);
  color: white;
}

.jaap-tip {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

/* ===== TOAST NOTIFICATION ===== */
.jaap-toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--maroon-deep);
  color: white;
  padding: 14px 24px;
  border-radius: 30px;
  font-family: var(--font-hindi);
  font-size: 1rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 90vw;
  text-align: center;
}
.jaap-toast.show { bottom: 30px; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .jaap-counter { padding: 18px; }
  .jaap-fullscreen { padding: 22px; margin: 18px auto; border-radius: 14px; }
  .jaap-mantra-display { font-size: 1rem; padding: 12px 14px; }
  .jaap-stat-value { font-size: 1.35rem; }
  .jaap-stat-label { font-size: 0.72rem; }
  .jaap-tap-btn { min-height: 220px; }
  .jaap-fullscreen .jaap-tap-btn { min-height: 280px; }
  .jaap-om-symbol { font-size: 3.5rem; }
  .jaap-fullscreen .jaap-om-symbol { font-size: 4.5rem; }
  .jaap-tap-count { font-size: 2.8rem; }
  .jaap-fullscreen .jaap-tap-count { font-size: 3.8rem; }
}

@media (max-width: 480px) {
  .jaap-counter { padding: 14px; border-width: 1.5px; }
  .jaap-fullscreen { padding: 16px; }
  .jaap-mantra-display { font-size: 0.95rem; line-height: 1.7; padding: 10px 12px; }
  .jaap-stats { gap: 6px; }
  .jaap-stat { padding: 10px 4px; }
  .jaap-stat-value { font-size: 1.2rem; }
  .jaap-stat-label { font-size: 0.68rem; }
  .jaap-tap-btn { min-height: 200px; padding: 22px 14px; border-width: 4px; }
  .jaap-om-symbol { font-size: 3rem; }
  .jaap-tap-hint { font-size: 0.88rem; }
  .jaap-tap-count { font-size: 2.4rem; }
  .jaap-controls { grid-template-columns: 1fr 1fr; gap: 8px; }
  .jaap-btn { padding: 10px 8px; font-size: 0.88rem; }
  .jaap-tip { font-size: 0.78rem; padding: 6px; }
}

/* ===== INLINE JAAP SECTION (used inside deity/mantra pages) ===== */
.inline-jaap-section {
  margin: 36px 0;
  padding-top: 18px;
  border-top: 2px dashed var(--gold);
}
.inline-jaap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.inline-jaap-header h2 {
  font-family: var(--font-hindi);
  color: var(--maroon-deep);
  font-size: 1.4rem;
  margin: 0;
}
.inline-jaap-fullscreen-link {
  font-family: var(--font-hindi);
  color: var(--saffron-deep);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--saffron-deep);
  border-radius: 6px;
  transition: all 0.2s ease;
}
.inline-jaap-fullscreen-link:hover {
  background: var(--saffron-deep);
  color: white;
}
@media (max-width: 480px) {
  .inline-jaap-header h2 { font-size: 1.15rem; }
  .inline-jaap-fullscreen-link { font-size: 0.82rem; padding: 5px 10px; }
}

/* ============ 404 ERROR PAGE ============ */
.error-404 {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(180deg, #FFF8E7 0%, #FFE8CC 100%);
  border-radius: 16px;
  border: 2px solid var(--gold);
  margin: 24px 0;
}
.error-404-icon { margin-bottom: 24px; }
.error-404-icon svg { margin: 0 auto; animation: gentle-rotate 25s linear infinite; }
@keyframes gentle-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.error-404-title {
  font-family: var(--font-hindi);
  color: var(--maroon-deep);
  font-size: 2.4rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.error-404-subtitle {
  font-family: var(--font-hindi);
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 28px;
}
.error-404-shloka {
  font-family: var(--font-hindi);
  color: var(--saffron-deep);
  font-size: 1.05rem;
  background: rgba(255,255,255,0.7);
  padding: 18px;
  border-radius: 8px;
  border-left: 4px solid var(--saffron);
  display: inline-block;
  text-align: center;
  margin: 16px 0 28px;
  max-width: 500px;
}
.error-404-shloka small { color: var(--text-light); font-style: normal; }
.error-404-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.error-404-btn-primary, .error-404-btn-secondary {
  font-family: var(--font-hindi);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.25s ease;
  display: inline-block;
}
.error-404-btn-primary {
  background: var(--saffron-deep);
  color: white;
  border: 2px solid var(--saffron-deep);
}
.error-404-btn-primary:hover {
  background: var(--maroon-deep);
  border-color: var(--maroon-deep);
}
.error-404-btn-secondary {
  background: white;
  color: var(--maroon-deep);
  border: 2px solid var(--maroon-deep);
}
.error-404-btn-secondary:hover {
  background: var(--maroon-deep);
  color: white;
}
.error-404-suggestions {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed var(--gold);
}
.error-404-suggestions h3 {
  font-family: var(--font-hindi);
  color: var(--maroon-deep);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.error-404-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.error-404-links-grid a {
  font-family: var(--font-hindi);
  background: white;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--maroon-deep);
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: all 0.2s ease;
  font-size: 0.95rem;
}
.error-404-links-grid a:hover {
  background: var(--saffron-deep);
  color: white;
  border-color: var(--saffron-deep);
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .error-404 { padding: 30px 14px; }
  .error-404-title { font-size: 1.7rem; }
  .error-404-subtitle { font-size: 1rem; }
  .error-404-shloka { font-size: 0.95rem; padding: 14px; }
  .error-404-btn-primary, .error-404-btn-secondary { padding: 10px 20px; font-size: 0.95rem; }
  .error-404-links-grid { grid-template-columns: 1fr; }
}

/* ============ VISITOR COUNTER WIDGET ============ */
.visitor-widget .sidebar-widget-title {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, #8B2A2A 100%);
}
.visitor-counter {
  text-align: center;
}
.visitor-stat {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFE5C2 100%);
  border-radius: 8px;
  padding: 14px 10px;
  border: 1px solid var(--gold);
  margin-bottom: 10px;
}
.visitor-label {
  font-family: var(--font-hindi);
  color: var(--saffron-deep);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.visitor-number {
  font-family: var(--font-hindi);
  color: var(--maroon-deep);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
}
.visitor-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.visitor-stat-small {
  background: rgba(255, 248, 231, 0.6);
  border-radius: 6px;
  padding: 8px 6px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.visitor-label-sm {
  font-family: var(--font-hindi);
  font-size: 0.72rem;
  color: var(--saffron-deep);
  margin-bottom: 2px;
}
.visitor-num-sm {
  font-family: var(--font-hindi);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.1;
}
.visitor-blessing {
  font-family: var(--font-hindi);
  color: var(--saffron-deep);
  font-size: 0.85rem;
  font-weight: 600;
  padding-top: 6px;
  border-top: 1px dashed var(--gold);
}
@media (max-width: 480px) {
  .visitor-number { font-size: 1.7rem; }
  .visitor-num-sm { font-size: 1rem; }
}

@media print {
  .site-header, .main-nav, .site-footer, .sidebar, .ad-slot,
  .utility-bar, .om-bar, .audio-player, .search-block, .breadcrumb,
  .jaap-counter, .jaap-toast, .visitor-widget { display: none !important; }
  .layout-two-col { grid-template-columns: 1fr !important; }
  .container { max-width: 100% !important; padding: 0 !important; }
  body { background: white; color: black; }
  .bhajan-card { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
}
