/* ============================================================
   Muhurtas.com — Main Stylesheet
   Tadpatra (ancient bark / palm-leaf manuscript) theme
   ============================================================ */

:root {
  --saffron:      #c2410c;
  --saffron-deep: #9a3412;
  --accent:       #854d0e;
  --accent-soft:  #a16207;
  --text-dark:    #1c1917;
  --text-soft:    #44403c;
  --text-muted:   #78716c;
  --cream:        #fefcf8;
  --gold:         #d97706;
  --deep-gold:    #b45309;
  --bark-1: #ffffff;
  --bark-2: #faf8f5;
  --bark-3: #f5f0e6;
  --card-bg: rgba(255, 255, 255, 0.68);
  --card-bg-2: rgba(250, 248, 245, 0.65);
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-blur: 3px;
  --card-border: rgba(199, 154, 60, 0.28);
  --card-border-strong: rgba(180, 83, 9, 0.35);
  --hero-1: #ffffff;
  --hero-2: #faf8f5;
  --hero-3: #f5f0e6;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.05);
  --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 10px 30px rgba(44, 24, 16, 0.10);
  --header-h: 66px;
  --trans: 0.22s cubic-bezier(.4,0,.2,1);
  --serif: 'Noto Serif Devanagari', 'Marcellus', 'Georgia', serif;
  --sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ==========================================================================
   GLOBAL CUSTOM SCROLLBARS (Site-Wide Sleek, Theme-Aware Aesthetic)
   ========================================================================== */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(234, 179, 8, 0.45) rgba(18, 18, 24, 0.35);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(18, 18, 24, 0.25);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: rgba(217, 119, 6, 0.45);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.85);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Dark Mode Global Scrollbar */
[data-theme="dark"] {
  scrollbar-color: rgba(234, 179, 8, 0.45) rgba(18, 18, 24, 0.35);
}

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: rgba(18, 18, 24, 0.35);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(234, 179, 8, 0.45);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 191, 36, 0.85);
}

/* Light Mode Global Scrollbar */
[data-theme="light"],
html:not([data-theme="dark"]) {
  scrollbar-color: rgba(180, 83, 9, 0.35) rgba(0, 0, 0, 0.05);
}

[data-theme="light"] ::-webkit-scrollbar-track,
html:not([data-theme="dark"]) ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] ::-webkit-scrollbar-thumb,
html:not([data-theme="dark"]) ::-webkit-scrollbar-thumb {
  background: rgba(180, 83, 9, 0.35);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover,
html:not([data-theme="dark"]) ::-webkit-scrollbar-thumb:hover {
  background: rgba(180, 83, 9, 0.65);
}
/* Full-Page Celestial Spiral Galaxy Background Canvas (All Pages) */
.celestial-galaxy-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}

[data-theme="light"] .celestial-galaxy-canvas {
  opacity: 0.6;
}

#main-content,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

body {
  position: relative;
  font-family: var(--body); color: var(--text-dark); line-height: 1.62; min-height: 100vh;
  background-color: #faf8f5;
  background-image:
    radial-gradient(ellipse 60% 45% at 12% 8%,  rgba(245, 158, 11, 0.07), transparent 60%),
    radial-gradient(ellipse 50% 40% at 88% 22%, rgba(217, 119, 6, 0.05),  transparent 60%),
    radial-gradient(ellipse 70% 50% at 70% 78%, rgba(180, 83, 9, 0.04),  transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #faf8f5 55%, #f4eee1 100%);
  background-attachment: fixed;
}
h1,h2,h3,h4,h5 { font-family: var(--serif); line-height: 1.25; color: var(--accent); font-weight: 600; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
select, input { font-family: inherit; }
ul { list-style: none; }
.hidden { display: none !important; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.section { padding: 3.5rem 0; }
.section-header { margin-bottom: 1.8rem; text-align: center; }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--accent); position: relative; display: inline-block; padding-bottom: 0.5rem; }
.section-title::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 70px; height: 3px; background: linear-gradient(90deg, transparent, var(--saffron), transparent); }
.section-desc { color: var(--text-soft); max-width: 640px; margin: 0.6rem auto 0; font-size: 1rem; }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; z-index: 1000; height: var(--header-h); background: rgba(255, 255, 255, 0.70); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-bottom: 2px solid var(--saffron); box-shadow: 0 2px 14px rgba(44, 24, 16, 0.06); }
.header-inner { display: flex; align-items: center; gap: 1rem; height: 100%; }
.logo { display: flex; align-items: center; gap: 0.5rem; line-height: 1.05; flex-shrink: 0; text-decoration: none; }
.logo-om { font-size: 1.6rem; color: var(--saffron); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--text-dark); letter-spacing: 0.3px; }
.logo-name b { color: var(--saffron); font-weight: 700; }
.logo-tagline { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.logo-sub { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 0.2rem; margin-left: auto; }
.site-nav a { font-size: 0.92rem; font-weight: 600; color: var(--text-soft); padding: 0.5rem 0.85rem; border-radius: 8px; transition: all var(--trans); }
.site-nav a:hover { background: rgba(194, 65, 12, 0.08); color: var(--saffron); }
.site-nav a.active { background: var(--saffron); color: #ffffff; }
.header-controls { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.6rem; }
.lang-switch { appearance: none; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B5E3C' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.6rem center; border: 1.5px solid var(--card-border-strong); border-radius: 8px; padding: 0.42rem 1.8rem 0.42rem 0.7rem; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); cursor: pointer; }
.lang-switch:focus { outline: 2px solid var(--saffron); outline-offset: 1px; }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1.5px solid var(--card-border-strong); border-radius: 8px; background: #ffffff; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--trans); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; gap: 0.2rem; position: absolute; top: var(--header-h); left: 0; right: 0; background: #ffffff; border-bottom: 2px solid var(--saffron); padding: 1rem 1.25rem; box-shadow: var(--shadow-md); z-index: 999; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.7rem 1rem; border-radius: 8px; font-weight: 500; color: var(--text-soft); }
.mobile-nav a:hover, .mobile-nav a.active { background: rgba(194, 65, 12, 0.1); color: var(--saffron); }
.dark-toggle { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #ffffff; border: 1.5px solid var(--card-border-strong); color: var(--text-dark); transition: var(--trans); }
.dark-toggle:hover { background: rgba(194, 65, 12, 0.08); color: var(--saffron); }
.nav-link { display: inline-flex; align-items: center; gap: 0.35rem; }
.mobile-nav-link { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-radius: 8px; font-weight: 500; color: var(--text-soft); transition: var(--trans); }
.mobile-nav-link:hover, .mobile-nav-link.active { background: rgba(194, 65, 12, 0.1); color: var(--saffron); }
.mobile-lang-wrap { padding: 0.7rem 1rem; border-top: 1px solid var(--card-border); }
.lang-switch--mobile { width: 100%; }

/* ── HERO ── */
.hero { min-height: 80vh; background: transparent; color: var(--text-dark); position: relative; overflow: hidden; display: flex; align-items: center; padding: 2.5rem 0; }
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; width: 100%; position: relative; z-index: 2; }
.hero-grid { display: flex; flex-wrap: nowrap; width: 100%; align-items: flex-start; }
.hero-left { flex: 0 0 50%; width: 50%; max-width: 50%; box-sizing: border-box; padding-right: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.hero-right { flex: 0 0 50%; width: 50%; max-width: 50%; box-sizing: border-box; padding-left: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }

/* Navagraha orbital animation */
.graha-system { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; z-index: 1; pointer-events: none; opacity: 0.25; }
.graha-sun { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2.8rem; filter: drop-shadow(0 0 25px rgba(199,154,60,0.7)); }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(199,154,60,0.2); border-radius: 50%; }
.orbit-1 { width: 80px; height: 80px; margin: -40px 0 0 -40px; animation: spin 12s linear infinite; }
.orbit-2 { width: 130px; height: 130px; margin: -65px 0 0 -65px; animation: spin 18s linear infinite reverse; }
.orbit-3 { width: 190px; height: 190px; margin: -95px 0 0 -95px; animation: spin 28s linear infinite; }
.orbit-4 { width: 240px; height: 240px; margin: -120px 0 0 -120px; animation: spin 22s linear infinite reverse; }
.orbit-5 { width: 310px; height: 310px; margin: -155px 0 0 -155px; animation: spin 45s linear infinite; }
.orbit-6 { width: 370px; height: 370px; margin: -185px 0 0 -185px; animation: spin 35s linear infinite reverse; }
.orbit-7 { width: 440px; height: 440px; margin: -220px 0 0 -220px; animation: spin 60s linear infinite; }
.orbit-8 { width: 530px; height: 530px; margin: -265px 0 0 -265px; animation: spin 80s linear infinite reverse; }
.orbit-9 { width: 620px; height: 620px; margin: -310px 0 0 -310px; animation: spin 90s linear infinite; }
.graha { position: absolute; top: -0.6em; left: 50%; transform: translateX(-50%); font-size: 1rem; color: rgba(199,154,60,0.9); filter: drop-shadow(0 0 6px rgba(199,154,60,0.5)); }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Neumorphic card base — clean modern frosted elevation */
.neu-card {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(44, 24, 16, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* Hero Controls Bar — Timezone and Location on same line */
.hero-controls-bar {
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  width: 100%;
}
.hero-controls-bar .tz-group {
  flex: 1 1 54%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero-controls-bar .loc-group {
  flex: 1 1 46%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tz-row { display: flex; flex-direction: column; gap: 0.4rem; }
.tz-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #78350f; font-weight: 700; white-space: nowrap; }
.tz-select-wrap { display: flex; align-items: center; width: 100%; }
.tz-select { width: 100%; height: 42px; appearance: none; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B45309' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center; border: 1.5px solid rgba(199,154,60,0.4); border-radius: 10px; padding: 0.6rem 2.2rem 0.6rem 0.8rem; color: #1c1917; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: var(--trans); box-sizing: border-box; }
.tz-select:hover { border-color: var(--gold); background-color: #faf8f5; }
.tz-select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.tz-select option, .tz-select optgroup { background: #ffffff; color: #1c1917; }

/* Location row */
.loc-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 42px;
  background: #ffffff;
  border: 1.5px solid rgba(199,154,60,0.4);
  border-radius: 10px;
  padding: 0 0.65rem;
  box-sizing: border-box;
  margin-top: 0;
  min-width: 0;
  transition: var(--trans);
}
.loc-row:hover {
  border-color: var(--gold);
  background-color: #faf8f5;
}
.loc-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(199,154,60,0.12);
  border: 1px solid rgba(199,154,60,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  color: #78350f;
  flex-shrink: 0;
}
.loc-btn:hover { background: var(--saffron); border-color: var(--saffron); transform: scale(1.05); color: #fff; }
.loc-label {
  font-size: 0.82rem;
  color: #1c1917;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

@media (max-width: 580px) {
  .hero-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .hero-controls-bar .tz-group,
  .hero-controls-bar .loc-group {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* Clock */
.clock-block { margin-top: 0.5rem; }
.cur-muhurat-card { padding: 1.4rem; overflow: hidden; word-wrap: break-word; }

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(199, 154, 60, 0.2);
  margin-bottom: 0.6rem;
}

.split-cell {
  display: flex;
  flex-direction: column;
}

.split-cell--next-head,
.split-cell--next-timer {
  border-left: 1px solid rgba(199, 154, 60, 0.15);
  padding-left: 1rem;
}

.cur-eyebrow, .next-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #78350f;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.next-eyebrow {
  color: #b45309;
}

.next-chevron {
  color: #b45309;
}

.cur-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(1.35)} }

.split-name-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.split-name-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cur-name, .cur-muhurat-name,
.next-name, .next-muhurat-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: #1c1917;
  font-weight: 700;
  line-height: 1.2;
}

.next-muhurat-name {
  color: #b45309;
}

.cur-name-alt, .cur-muhurat-alt,
.next-name-alt, .next-muhurat-alt {
  font-size: 0.95rem;
  color: #78350f;
  font-family: var(--serif);
  font-weight: 600;
}

.next-name-alt, .next-muhurat-alt {
  color: #92400e;
}

.cur-time, .cur-muhurat-time {
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.cur-timer-box {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: rgba(22, 163, 74, 0.1);
  border: 1.5px solid rgba(22, 163, 74, 0.4);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: #15803d;
}

.cur-timer-box .timer-icon {
  color: #16a34a;
}

.cur-timer-box .timer-label {
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
}

.cur-timer-box .cur-countdown {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  color: #15803d;
  letter-spacing: 0.05em;
  font-size: 0.84rem;
}

.cur-timer-box .next-time-sub {
  font-size: 0.7rem;
  color: #166534;
  opacity: 0.95;
  font-weight: 600;
}

.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0; }
.badge.ati-shubh, .badge--ati-shubh { background: rgba(217, 119, 6, 0.12); color: #92400e; border: 1.5px solid rgba(217, 119, 6, 0.35); }
.badge.shubh, .badge--shubh { background: rgba(22, 163, 74, 0.12); color: #15803d; border: 1.5px solid rgba(22, 163, 74, 0.35); }
.badge.ashubh, .badge--ashubh { background: rgba(220, 38, 38, 0.12); color: #b91c1c; border: 1.5px solid rgba(220, 38, 38, 0.35); }
.badge.neutral, .badge--neutral { background: rgba(100, 116, 139, 0.12); color: #334155; border: 1.5px solid rgba(100, 116, 139, 0.35); }
.badge--lg { font-size: 0.85rem; padding: 0.35rem 0.95rem; }
.cur-desc, .cur-muhurat-desc { font-size: 0.82rem; color: #334155; margin-top: 0.6rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cur-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.cur-tag { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; font-weight: 600; padding: 0.22rem 0.6rem; border-radius: 999px; letter-spacing: 0.02em; white-space: nowrap; }
.cur-tag--do { background: rgba(22, 163, 74, 0.1); color: #166534; border: 1px solid rgba(22, 163, 74, 0.3); }
.cur-tag--dont { background: rgba(220, 38, 38, 0.08); color: #991b1b; border: 1px solid rgba(220, 38, 38, 0.25); }
.cur-tags-group { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.cur-tags-group + .cur-tags-group { margin-top: 0.35rem; }
.cur-tags-heading { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; padding: 0.2rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.cur-tags-heading--do { background: rgba(22, 163, 74, 0.2); color: #15803d; }
.cur-tags-heading--dont { background: rgba(220, 38, 38, 0.18); color: #b91c1c; }
.cur-tags-warning { font-size: 0.72rem; color: #b45309; margin-top: 0.5rem; line-height: 1.4; font-weight: 600; }
.mini-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #78350f; font-weight: 700; margin: 0.3rem 0 0.5rem; }

/* Hero — Muhurats Row Header & Filter Pills */
.hero-muhurats { margin-top: 1.2rem; }
.hero-muhurats-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 0.65rem;
}
.hero-muhurats-label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #78350f;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.muhurat-filter-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-pill {
  background: #ffffff;
  border: 1px solid rgba(199, 154, 60, 0.35);
  color: #475569;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
  user-select: none;
}

.filter-pill:hover {
  background: rgba(199, 154, 60, 0.12);
  border-color: #b45309;
  color: #1c1917;
}

.filter-pill.active {
  background: #b45309;
  border-color: #b45309;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.3);
}

.filter-pill .pill-count {
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
}

.filter-pill.active .pill-count {
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.filter-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.filter-pill--ati-shubh .pill-dot { background: #d97706; }
.filter-pill--shubh .pill-dot { background: #16a34a; }
.filter-pill--ashubh .pill-dot { background: #dc2626; }
.filter-pill--neutral .pill-dot { background: #64748b; }

/* Hero — muhurat scroll row */
.muhurat-scroll { display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: thin; scrollbar-color: rgba(199,154,60,0.5) transparent; }
.muhurat-scroll::-webkit-scrollbar { height: 5px; }
.muhurat-scroll::-webkit-scrollbar-thumb { background: rgba(199,154,60,0.5); border-radius: 4px; }
.m-slot { flex-shrink: 0; min-width: 130px; max-width: 165px; background: #ffffff; border: 1.5px solid rgba(199,154,60,0.3); border-radius: 12px; padding: 0.65rem 0.85rem; transition: var(--trans); box-shadow: 0 4px 12px rgba(44, 24, 16, 0.05); cursor: pointer; position: relative; }
.m-slot:hover { background: #faf8f5; border-color: var(--saffron); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(44, 24, 16, 0.09); }

/* Current Tile in Slider with Solid Green Background */
.m-slot.now {
  background: linear-gradient(145deg, #16a34a 0%, #15803d 100%) !important;
  border: 2px solid #86efac !important;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.4), 0 0 0 2px rgba(134, 239, 172, 0.35) !important;
  transform: translateY(-2px);
}

.m-slot.now .m-slot-date {
  color: #fef08a !important;
}

.m-slot.now .m-slot-date::before {
  background: #fef08a !important;
}

.m-slot.now .m-slot-name {
  color: #ffffff !important;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.m-slot.now .m-slot-alt {
  color: #dcfce7 !important;
}

.m-slot.now .m-slot-time {
  color: #ffffff !important;
  font-weight: 600;
  opacity: 0.95;
}

.m-slot.now .m-slot-now {
  background: #ffffff !important;
  color: #15803d !important;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.m-slot-date { font-size: 0.68rem; font-weight: 700; color: #b45309; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.3rem; }
.m-slot-date::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.75; }
.m-slot-name { font-family: var(--serif); font-size: 0.95rem; color: #1c1917; font-weight: 700; }
.m-slot-alt { font-size: 0.78rem; color: #78350f; font-weight: 600; }
.m-slot-time { font-size: 0.74rem; color: #475569; margin-top: 0.3rem; font-weight: 500; }
.m-slot-now { font-size: 0.62rem; font-weight: 800; color: #ffffff; background: #16a34a; padding: 2px 7px; border-radius: 999px; letter-spacing: 0.08em; position: absolute; top: 6px; right: 6px; box-shadow: 0 2px 6px rgba(22, 163, 74, 0.4); animation: pulse-badge 2s infinite; }
@keyframes pulse-badge { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.88; transform: scale(0.96); } }

@media (max-width: 680px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .split-cell--next-head,
  .split-cell--next-timer {
    border-left: none;
    border-top: 1px solid rgba(199, 154, 60, 0.15);
    padding-left: 0;
    padding-top: 0.6rem;
  }
  .hero-muhurats-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── PANCHANG SECTION (Card wrap with scrollable body) ── */
.pk-card-wrap {
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(44, 24, 16, 0.08);
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
}
.pk-bar-date {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--accent);
  background: linear-gradient(90deg, var(--card-bg), var(--card-bg-2));
  border-bottom: 1.5px solid var(--card-border);
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  margin-bottom: 0;
}
.pk-scroll-wrap {
  max-height: 330px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(199, 154, 60, 0.45) transparent;
  scroll-behavior: smooth;
}
.pk-scroll-wrap::-webkit-scrollbar {
  width: 6px;
}
.pk-scroll-wrap::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
}
.pk-scroll-wrap::-webkit-scrollbar-thumb {
  background: rgba(199, 154, 60, 0.45);
  border-radius: 4px;
}
.pk-scroll-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
.pk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.pk-col { padding: 0; }
.pk-col + .pk-col { border-left: 1px solid var(--card-border); }
.pk-col-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(199, 154, 60, 0.18);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1rem;
  padding: 0.75rem 1.4rem;
  border-bottom: 1px solid var(--card-border);
  font-weight: 600;
  margin: 0;
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.pk-list { margin: 0; padding: 0; }
.pk-item { display: flex; border-bottom: 1px solid var(--card-border); }
.pk-item:last-child { border-bottom: none; }
.pk-label { width: 42%; font-weight: 600; color: var(--saffron-deep); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.4rem; border-right: 1px solid var(--card-border); }
.pk-value { flex: 1; font-family: var(--serif); font-size: 1rem; color: var(--text-dark); padding: 0.75rem 1rem; }
.pk-item:nth-child(even) { background: rgba(255,248,225,0.35); }
.pk-item--danger .pk-label--danger { color: #B35400; }
.pk-item--danger .pk-value--danger { color: #B35400; font-weight: 600; }
.pk-item--auspicious .pk-label--auspicious { color: #2D8F3E; }
.pk-item--auspicious .pk-value--auspicious { color: #2D8F3E; font-weight: 600; }

/* Legacy panchang-table (kept for compatibility) */
.panchang-wrap { background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2)); border: 1.5px solid var(--card-border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.panchang-bar { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: center; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); color: var(--cream); padding: 0.9rem 1.5rem; font-size: 0.92rem; }
.panchang-bar b { color: #F0CE7E; font-family: var(--serif); }
.panchang-table { width: 100%; border-collapse: collapse; }
.panchang-table tr { border-bottom: 1px solid var(--card-border); }
.panchang-table tr:last-child { border-bottom: none; }
.panchang-table td { padding: 0.85rem 1.4rem; vertical-align: top; }
.panchang-table td.pk-label { width: 34%; font-weight: 600; color: var(--saffron-deep); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.03em; border-right: 1px solid var(--card-border); }
.panchang-table td.pk-value { font-family: var(--serif); font-size: 1.05rem; color: var(--text-dark); }
.panchang-table tr:nth-child(even) { background: rgba(255,248,225,0.35); }
.pk-value .pk-danger { color: var(--saffron-deep); font-weight: 600; }
.panchang-grid2 { display: grid; grid-template-columns: 1fr 1fr; }
.panchang-grid2 > div { border-right: 1px solid var(--card-border); }
.panchang-grid2 > div:last-child { border-right: none; }
.panchang-col-title { background: rgba(203,102,0,0.14); color: var(--accent); font-family: var(--serif); font-size: 1rem; padding: 0.7rem 1.4rem; border-bottom: 1px solid var(--card-border); font-weight: 600; }

/* ── MUHURAT SECTION CONTROLS & MODERN CARDS ── */
.muhurat-section-note { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: -0.8rem; margin-bottom: 1.2rem; }

.muhurat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.m-period-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  padding: 0.25rem;
}

.m-period-tab {
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  background: transparent;
  transition: var(--trans);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
}

.m-period-tab:hover {
  color: var(--accent);
  background: rgba(199, 154, 60, 0.12);
}

.m-period-tab.active {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(203, 102, 0, 0.35);
}

.m-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.m-jump-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.4);
  border-radius: 9px;
  color: #16a34a;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
}

.m-jump-now-btn:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  transform: translateY(-1px);
}

.m-view-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 9px;
  padding: 0.2rem;
}

.m-view-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: var(--trans);
}

.m-view-btn:hover {
  color: var(--accent);
  background: rgba(199, 154, 60, 0.12);
}

.m-view-btn.active {
  background: var(--accent);
  color: var(--cream);
}

/* Quality filter pills row */
.m-quality-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}

.m-q-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(199, 154, 60, 0.08);
  border: 1px solid rgba(199, 154, 60, 0.25);
  color: var(--text-soft);
  cursor: pointer;
  transition: var(--trans);
}

.m-q-pill:hover {
  background: rgba(199, 154, 60, 0.16);
  border-color: var(--gold);
}

.m-q-pill.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.m-q-pill.ati-shubh.active {
  background: linear-gradient(135deg, #c79a3c, #9e7520);
  border-color: #c79a3c;
  color: #1a1208;
}

.m-q-pill.shubh.active {
  background: linear-gradient(135deg, #22c55e, #15803d);
  border-color: #22c55e;
  color: #ffffff;
}

.m-q-pill.ashubh.active {
  background: linear-gradient(135deg, #ea580c, #b45309);
  border-color: #ea580c;
  color: #ffffff;
}

.m-q-pill.neutral.active {
  background: linear-gradient(135deg, #78716c, #57534e);
  border-color: #78716c;
  color: #ffffff;
}

.m-q-count {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

/* ── MULTI-COLUMN CARDS GRID (4-columns on desktop, 8 cards visible by default) ── */
.muhurat-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (max-width: 1100px) {
  .muhurat-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Hide overflow cards when not expanded (showing 8 results: 4 in row 1, 4 in row 2) */
.muhurat-cards-grid:not(.is-expanded) .m-card.m-card--overflow {
  display: none !important;
}

/* ── Grid Footer Actions (Show All 30 / Show Less & Directory CTA) ── */
.m-grid-footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.m-expand-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(203, 102, 0, 0.12), rgba(212, 160, 23, 0.18));
  color: var(--saffron);
  border: 1.5px solid rgba(203, 102, 0, 0.35);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(203, 102, 0, 0.08);
}

.m-expand-toggle-btn:hover {
  background: linear-gradient(135deg, var(--saffron), #e68a00);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(203, 102, 0, 0.25);
}

.m-expand-icon {
  transition: transform 0.3s ease;
}

.muhurat-cards-grid.is-expanded ~ .m-grid-footer-actions .m-expand-icon,
.muhurat-cards-grid.is-expanded + .m-grid-footer-actions .m-expand-icon {
  transform: rotate(180deg);
}

.m-directory-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--text-dark);
  border: 1.5px solid var(--card-border);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.m-directory-link-btn:hover {
  border-color: var(--gold);
  color: var(--saffron);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.m-card {
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.05);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-decoration: none;
}

.m-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(44, 24, 16, 0.1);
  border-color: var(--gold);
}

/* Top row inside card */
.m-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.m-card-meta-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.m-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(199, 154, 60, 0.16);
  padding: 2px 7px;
  border-radius: 6px;
}

.m-card-period-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Card body */
.m-card-body {
  flex: 1;
}

.m-card-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

.m-card-alt {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-card-dot {
  opacity: 0.5;
}

.m-card-deity {
  color: var(--accent-soft);
  font-weight: 500;
}

/* Card footer */
.m-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(199, 154, 60, 0.2);
  gap: 0.5rem;
}

.m-card-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.m-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: var(--trans);
}

.m-card-link:hover {
  color: var(--saffron);
  transform: translateX(2px);
}

/* ══════════════════════════════════════════════════════════════
   CURRENT HOUR / ACTIVE STATE (HIGH CONTRAST & VISIBILITY)
   ══════════════════════════════════════════════════════════════ */
.m-card.now,
.m-card.m-card--now {
  background: linear-gradient(145deg, #16a34a 0%, #15803d 100%) !important;
  border: 2px solid #86efac !important;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45), 0 0 0 2px rgba(134, 239, 172, 0.35) !important;
  transform: translateY(-3px);
}

.m-card.now .m-card-num {
  background: #ffffff !important;
  color: #15803d !important;
  font-weight: 800;
}

.m-card.now .m-card-period-tag {
  color: #fef08a !important;
  font-weight: 600;
}

.m-card.now .m-card-num,
.m-card.m-card--now .m-card-num {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  font-weight: 800 !important;
}

.m-card.now .m-card-name {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  font-weight: 800;
}

.m-card.now .m-card-alt,
.m-card.now .m-card-deity {
  color: #dcfce7 !important;
  font-weight: 500;
}

/* HIGH CONTRAST BADGES IN ACTIVE GREEN BOX - 100% VISIBLE */
.m-card.now .badge,
.m-card.m-card--now .badge {
  background: #ffffff !important;
  color: #15803d !important;
  border: 1.5px solid #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

.m-card.now .badge.ashubh,
.m-card.m-card--now .badge.ashubh {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border: 1.5px solid #fca5a5 !important;
}

.m-card.now .badge.neutral,
.m-card.m-card--now .badge.neutral {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1.5px solid #cbd5e1 !important;
}

.m-card.now .m-card-footer {
  border-top-color: rgba(255, 255, 255, 0.25) !important;
}

.m-card.now .m-card-time {
  color: #fef08a !important;
  font-weight: 700;
}

.m-card.now .m-card-link {
  color: #ffffff !important;
  font-weight: 600;
}

.m-card-now {
  font-size: 0.65rem;
  font-weight: 800;
  color: #15803d;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  animation: pulse-badge 2s infinite;
}

@keyframes jump-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(134, 239, 172, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.jump-pulse {
  animation: jump-pulse 1.2s ease-out;
}

/* ── COMPACT SCROLLABLE LIST VIEW CONTAINER ── */
.muhurat-list-container {
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(44, 24, 16, 0.08);
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(199, 154, 60, 0.45) transparent;
}

.muhurat-list-container::-webkit-scrollbar {
  width: 6px;
}
.muhurat-list-container::-webkit-scrollbar-thumb {
  background: rgba(199, 154, 60, 0.45);
  border-radius: 4px;
}
.muhurat-list-container .muhurat-grid {
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

.muhurat-grid { display: flex; flex-direction: column; background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2)); border: 1px solid var(--card-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 6px 20px rgba(44, 24, 16, 0.08); }
.muhurat-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1.2rem; border-bottom: 1px solid var(--card-border); transition: background var(--trans); text-decoration: none; }
.muhurat-row:last-child { border-bottom: none; }
.muhurat-row:hover { background: rgba(199,154,60,0.1); }
.muhurat-row:nth-child(even) { background: rgba(255,248,225,0.3); }
.muhurat-row:nth-child(even):hover { background: rgba(199,154,60,0.14); }
.muhurat-row--ati-shubh { }
.muhurat-row--shubh { }
.muhurat-row--ashubh { }
.muhurat-row--neutral { }
.muhurat-num { width: 2rem; height: 2rem; border-radius: 50%; background: rgba(199,154,60,0.15); color: var(--accent); font-weight: 700; font-size: 0.82rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.muhurat-period-ico { font-size: 0.95rem; }
.muhurat-name-wrap { display: flex; align-items: baseline; gap: 0.4rem; flex: 1; min-width: 0; }
.muhurat-name { font-family: var(--serif); font-size: 1rem; color: var(--text-dark); }
.muhurat-subname { font-size: 0.78rem; color: var(--text-muted); }
.muhurat-time { font-size: 0.88rem; color: var(--text-muted); font-variant-numeric: tabular-nums; min-width: 120px; text-align: right; }

.muhurat-row.now,
.muhurat-row.muhurat-row--active {
  background: linear-gradient(145deg, #16a34a 0%, #15803d 100%) !important;
  border: 1.5px solid #86efac !important;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35) !important;
}

.muhurat-row.now .muhurat-num {
  background: #ffffff !important;
  color: #15803d !important;
}

.muhurat-row.now .muhurat-name {
  color: #ffffff !important;
  font-weight: 800;
}

.muhurat-row.now .muhurat-subname {
  color: #dcfce7 !important;
}

.muhurat-row.now .muhurat-time {
  color: #fef08a !important;
  font-weight: 700;
}

.muhurat-row.now .muhurat-row-arrow {
  color: #ffffff !important;
  opacity: 0.9 !important;
}

/* ── CALENDAR SECTION ── */
.calendar-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.cal-nav-btn { width: 40px; height: 40px; border-radius: 10px; font-size: 1.2rem; color: var(--accent); background: var(--card-bg); border: 1.5px solid var(--card-border); transition: var(--trans); display: flex; align-items: center; justify-content: center; }
.cal-nav-btn:hover { background: rgba(203,102,0,0.16); }
.cal-month-label { min-width: 190px; text-align: center; font-family: var(--serif); font-size: 1.1rem; color: var(--accent); margin: 0; }
.cal-view-btns { margin-left: auto; display: flex; gap: 0.3rem; background: var(--card-bg); border: 1.5px solid var(--card-border); border-radius: 10px; padding: 0.3rem; }
.cal-view-btn { padding: 0.4rem 0.9rem; border-radius: 7px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: var(--trans); display: inline-flex; align-items: center; gap: 0.3rem; }
.cal-view-btn.active { background: var(--accent); color: var(--cream); }
/* Legacy cal-controls / cal-nav / cal-toggle aliases */
.cal-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.cal-nav { display: flex; align-items: center; gap: 0.5rem; background: var(--card-bg); border: 1.5px solid var(--card-border); border-radius: 10px; padding: 0.3rem; }
.cal-nav button { width: 34px; height: 34px; border-radius: 7px; font-size: 1.2rem; color: var(--accent); transition: var(--trans); }
.cal-nav button:hover { background: rgba(203,102,0,0.16); }
#cal-month-year { min-width: 190px; text-align: center; font-family: var(--serif); font-size: 1.1rem; color: var(--accent); }
.cal-toggle { margin-left: auto; display: flex; gap: 0.3rem; background: var(--card-bg); border: 1.5px solid var(--card-border); border-radius: 10px; padding: 0.3rem; }
.cal-toggle button { padding: 0.4rem 0.9rem; border-radius: 7px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: var(--trans); }
.cal-toggle button.active { background: var(--accent); color: var(--cream); }
.cal-grid-wrap { background: var(--card-bg); border: 1.5px solid var(--card-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cal-header-row { display: grid; grid-template-columns: repeat(7,1fr); background: linear-gradient(90deg, var(--accent), var(--accent-soft)); }
.cal-header-cell { text-align: center; padding: 0.6rem 0; color: var(--cream); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cal-body { display: grid; grid-template-columns: repeat(7,1fr); }
.cal-cell { min-height: 78px; padding: 0.4rem 0.5rem; border-right: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); cursor: pointer; transition: var(--trans); display: flex; flex-direction: column; gap: 0.15rem; position: relative; }
.cal-cell:hover { background: rgba(203,102,0,0.1); }
.cal-cell--other { opacity: 0.42; cursor: default; }
.cal-cell.today { background: linear-gradient(135deg, rgba(199,154,60,0.28), rgba(203,102,0,0.14)); }
.cal-cell.today .cal-day-num { color: var(--accent); font-weight: 800; }
.cal-cell.selected { box-shadow: inset 0 0 0 2px var(--saffron); }
.cal-day-num { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--text-dark); }
.cal-tithi { font-size: 0.66rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-fest-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 2px; }
.cal-fest-dot--major { background: var(--saffron-deep); }
.cal-fest-dot--moderate { background: var(--saffron); }
.cal-fest-label { font-size: 0.62rem; font-weight: 600; color: var(--saffron-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ── CALENDAR LIST VIEW & WEEK NAVIGATION ── */
.cal-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  margin-bottom: 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.cal-list-toolbar-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cal-list-week-badge {
  background: var(--saffron);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.cal-list-week-dates {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}
.cal-list-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}
.cal-scroll-hint-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.cal-jump-today-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 153, 51, 0.08);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: var(--trans);
}
.cal-jump-today-btn:hover {
  background: var(--saffron);
  color: #fff;
  border-color: var(--saffron);
}
.cal-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-height: 540px;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 0.2rem 0.4rem 0.2rem 0.1rem;
}
.cal-list-wrap::-webkit-scrollbar {
  width: 6px;
}
.cal-list-wrap::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}
.cal-list-wrap::-webkit-scrollbar-thumb {
  background: var(--saffron);
  border-radius: 6px;
}
.cal-list-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: var(--trans);
  scroll-margin-top: 10px;
}
.cal-list-card:hover { border-color: var(--saffron); }
.cal-list-card--current-week {
  border-color: rgba(203, 102, 0, 0.4);
}
.cal-list-card--today {
  border: 2px solid var(--saffron);
  box-shadow: 0 4px 14px rgba(255, 153, 51, 0.18);
  background: linear-gradient(to right, rgba(255, 153, 51, 0.06), var(--card-bg));
}
.cal-list-card-header { display: flex; align-items: center; gap: 0.9rem; }
.cal-list-day-num { font-family: var(--sans); font-size: 1.6rem; font-weight: 800; color: var(--accent); min-width: 2.2rem; text-align: center; }
.cal-list-day-name { font-weight: 600; color: var(--text-dark); }
.cal-list-month-year { font-size: 0.82rem; color: var(--text-muted); }
.cal-today-badge { margin-left: auto; background: var(--saffron); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; }
.cal-list-panchang { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.6rem; font-size: 0.86rem; color: var(--text-soft); }
.cal-label { color: var(--saffron-deep); font-weight: 600; }
.cal-list-fests { margin-top: 0.6rem; }
.cal-list-fest-item { padding: 0.4rem 0; font-size: 0.88rem; }
.cal-fest-hi { color: var(--text-muted); font-size: 0.8rem; }
.cal-fest-desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }
.cal-list-no-fest { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ── MODAL ── */
.mdl-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(30,20,10,0.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 1rem; }
body.modal-open { overflow: hidden; }
.mdl-box { background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2)); border: 1.5px solid var(--card-border-strong); border-radius: var(--radius-lg); max-width: 540px; width: 100%; max-height: 88vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); }
.mdl-close-btn { position: absolute; top: 0.8rem; right: 0.9rem; width: 34px; height: 34px; border-radius: 8px; font-size: 1.4rem; color: var(--accent); background: rgba(203,102,0,0.1); }
.mdl-header { padding: 1.4rem 1.6rem 0.8rem; border-bottom: 1px solid var(--card-border); }
.mdl-date-heading { color: var(--accent); font-size: 1.3rem; }
.mdl-body { padding: 1.2rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.mdl-section-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--saffron-deep); margin-bottom: 0.35rem; font-family: var(--body); font-weight: 700; }
.mdl-tithi-row { display: flex; align-items: baseline; gap: 0.7rem; }
.mdl-tithi-num { font-size: 1.4rem; font-weight: 800; color: var(--saffron); font-family: var(--sans); }
.mdl-tithi-name { font-family: var(--serif); font-size: 1.1rem; }
.mdl-tithi-paksha { font-size: 0.85rem; color: var(--text-muted); }
.mdl-nakshatra { font-family: var(--serif); font-size: 1.1rem; }
.mdl-fest-item { padding: 0.5rem 0; border-top: 1px solid var(--card-border); }
.mdl-fest-name { font-family: var(--serif); font-size: 1.05rem; color: var(--accent); }
.mdl-fest-name-hi { color: var(--text-muted); font-size: 0.85rem; }
.mdl-fest-desc { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.2rem; }
.mdl-no-fest { color: var(--text-muted); font-size: 0.9rem; }
.mdl-footer { padding: 1rem 1.6rem; border-top: 1px solid var(--card-border); display: flex; gap: 0.8rem; justify-content: flex-end; }
.mdl-dismiss-btn { background: var(--accent); color: var(--cream); padding: 0.5rem 1.2rem; border-radius: 8px; font-weight: 600; }

/* ── CARDS & BUTTONS ── */
.card { background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2)); border: 1.5px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.5rem; }
.types-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.2rem; }
.type-card { background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2)); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 4px 16px rgba(44, 24, 16, 0.08), 0 1px 3px rgba(44, 24, 16, 0.04); transition: var(--trans); display: flex; flex-direction: column; gap: 0.7rem; }
.type-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(44, 24, 16, 0.14); border-color: var(--saffron); }
.type-icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-soft)); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 3px 8px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.18); }
.type-card h3 { color: var(--text-dark); font-size: 1.15rem; }
.type-card p { color: var(--text-soft); font-size: 0.9rem; flex: 1; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center; background: linear-gradient(135deg, var(--saffron), var(--saffron-deep)); color: #fff; font-weight: 700; padding: 0.7rem 1.5rem; border-radius: 10px; font-size: 0.95rem; transition: var(--trans); box-shadow: var(--shadow-sm); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); box-shadow: none; }
.btn-outline:hover { background: var(--accent); color: var(--cream); }
.btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ── FORMS ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--saffron-deep); text-transform: uppercase; letter-spacing: 0.03em; }
.field input, .field select { padding: 0.65rem 0.8rem; border: 1.5px solid var(--card-border-strong); border-radius: 9px; background: #F7EDD3; color: var(--text-dark); font-size: 0.95rem; }
.field input:focus, .field select:focus { outline: 2px solid var(--saffron); outline-offset: -1px; border-color: var(--saffron); }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; }
.blog-card { background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2)); border: 1.5px solid var(--card-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--trans); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--saffron); }
.blog-thumb { height: 160px; background: linear-gradient(135deg, var(--accent), var(--saffron)); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,0.5); }
.blog-body { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.blog-cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--saffron-deep); font-weight: 700; }
.blog-body h3 { color: var(--text-dark); font-size: 1.15rem; }
.blog-body p { font-size: 0.9rem; color: var(--text-soft); flex: 1; }
.blog-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: auto; }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--accent); margin-bottom: 0.6rem; }
.article .article-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 2px solid var(--card-border); }
.article p { margin-bottom: 1.1rem; color: var(--text-dark); font-size: 1.05rem; }
.article h2 { font-size: 1.5rem; margin: 1.8rem 0 0.7rem; color: var(--saffron-deep); }
.article h3 { font-size: 1.2rem; margin: 1.3rem 0 0.5rem; color: var(--accent); }
.article ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.1rem; }
.article ul li { margin-bottom: 0.4rem; }
.article blockquote { border-left: 4px solid var(--saffron); padding: 0.6rem 1.2rem; background: rgba(203,102,0,0.08); margin: 1.2rem 0; font-style: italic; color: var(--text-soft); }
.kundli-result { display: grid; grid-template-columns: 400px 1fr; gap: 1.5rem; margin-top: 1.5rem; align-items: start; }
#kundli-chart svg { margin: 0 auto; }
.about-prose { max-width: 780px; margin: 0 auto; }
.about-prose p { margin-bottom: 1.1rem; color: var(--text-dark); font-size: 1.05rem; }
.about-prose h2 { margin: 1.8rem 0 0.7rem; color: var(--saffron-deep); font-size: 1.5rem; }
.share-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }

/* ── FOOTER ── */
.site-footer {
  background: rgba(250, 248, 245, 0.70);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-top: 1.5px solid rgba(199, 154, 60, 0.25);
  color: var(--text-dark);
  padding: 3rem 0 1.4rem;
  margin-top: 3rem;
  box-shadow: 0 -4px 20px rgba(44, 24, 16, 0.04);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.4rem; }
.footer-logo { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--serif); font-size: 1.4rem; color: var(--text-dark); margin-bottom: 0.7rem; text-decoration: none; }
.footer-logo b { color: var(--gold); }
.footer-logo-om { font-size: 1.3rem; color: var(--gold); }
.footer-logo-name { font-family: var(--serif); font-size: 1.3rem; color: var(--text-dark); }
.footer-about, .footer-about-text { font-size: 0.88rem; color: var(--text-soft); line-height: 1.7; max-width: 340px; }
.footer-about-col {}
.footer-info-col {}
.footer-col h4, .footer-col-heading { color: var(--saffron-deep); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; font-family: var(--body); font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.88rem; color: var(--text-soft); transition: var(--trans); display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(199,154,60,0.2); padding-top: 1.4rem; text-align: center; }
.footer-disclaimer { font-size: 0.78rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 0.6rem; line-height: 1.6; }
.footer-copy, .footer-copyright { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.6rem; }
.footer-icon-credit { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.4rem; }
.footer-icon-credit a { color: var(--gold); }

/* ── DARK MODE — Pure blacks + gold/yellow ── */
[data-theme="dark"] {
  --bark-1: #1a1a1a; --bark-2: #141414; --bark-3: #0f0f0f;
  --card-bg: rgba(18, 18, 24, 0.60);
  --card-bg-2: rgba(12, 12, 16, 0.55);
  --glass-bg: rgba(18, 18, 24, 0.60);
  --glass-blur: 3px;
  --card-border: rgba(255, 255, 255, 0.12);
  --card-border-strong: rgba(255, 255, 255, 0.20);
  --text-dark: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #D4A54A; --accent-soft: #B8914E;
  --saffron: #f59e0b; --saffron-deep: #d97706;
  --cream: #f0f0f0; --gold: #f59e0b;
  --hero-1: #181818; --hero-2: #111111; --hero-3: #0a0a0a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.7);
}
[data-theme="dark"] body { background-color: var(--bark-2); background-image: none; }
[data-theme="dark"] .site-header { background: rgba(18, 18, 24, 0.65); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-bottom: 2px solid var(--saffron); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); }
[data-theme="dark"] .logo-name { color: #f8fafc; }
[data-theme="dark"] .site-nav a { color: #cbd5e1; }
[data-theme="dark"] .site-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
[data-theme="dark"] .site-nav a.active { background: #333; color: #fff; }
[data-theme="dark"] .lang-switch { background-color: rgba(28, 28, 36, 0.60); backdrop-filter: blur(3px); border-color: rgba(255, 255, 255, 0.15); color: #f1f5f9; }
[data-theme="dark"] .dark-toggle { background-color: rgba(28, 28, 36, 0.60); backdrop-filter: blur(3px); border-color: rgba(255, 255, 255, 0.15); color: #f1f5f9; }
[data-theme="dark"] .dark-toggle:focus { outline: none; }
[data-theme="dark"] .dark-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
[data-theme="dark"] .hamburger { background: rgba(28, 28, 36, 0.60); border-color: rgba(255, 255, 255, 0.15); }
[data-theme="dark"] .hamburger span { background: #e0e0e0; }
[data-theme="dark"] .mobile-nav { background: rgba(18, 18, 24, 0.94); backdrop-filter: blur(3px); border-bottom-color: #333; }
[data-theme="dark"] .mobile-nav a { color: #cbd5e1; }
[data-theme="dark"] .section-title { color: var(--gold); }
[data-theme="dark"] .hero { background: transparent; }
[data-theme="dark"] .graha-system { opacity: 0.2; }
[data-theme="dark"] .neu-card { background: rgba(18, 18, 24, 0.60); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border: 1.5px solid rgba(255, 255, 255, 0.12); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05); }
[data-theme="dark"] .loc-row { background: rgba(28, 28, 36, 0.60); backdrop-filter: blur(3px); border-color: rgba(255, 255, 255, 0.12); }
[data-theme="dark"] .loc-row:hover { border-color: var(--gold); background: rgba(35, 35, 45, 0.70); }
[data-theme="dark"] .loc-btn { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #f1f5f9; }
[data-theme="dark"] .m-slot { background: rgba(28, 28, 36, 0.60); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border: 1.5px solid rgba(255, 255, 255, 0.10); box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
[data-theme="dark"] .type-card { background: linear-gradient(160deg, rgba(22, 22, 28, 0.60), rgba(16, 16, 22, 0.55)); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border: 1.5px solid rgba(255, 255, 255, 0.12); box-shadow: 0 4px 18px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04); }
[data-theme="dark"] .type-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 0 1px rgba(224,176,80,0.25); border-color: var(--saffron); }
[data-theme="dark"] .tz-select { background-color: rgba(28, 28, 36, 0.60); backdrop-filter: blur(3px); border-color: rgba(255, 255, 255, 0.12); color: #f1f5f9; }
[data-theme="dark"] .tz-select option, [data-theme="dark"] .tz-select optgroup { background: #18181f; color: #f1f5f9; }
[data-theme="dark"] .pk-bar-date { background: linear-gradient(90deg, #1e1e1e, #252525); border-color: #333; color: var(--gold); }
[data-theme="dark"] .pk-grid { background: linear-gradient(160deg, #1e1e1e, #252525); border-color: #333; }
[data-theme="dark"] .pk-col + .pk-col { border-left-color: #333; }
[data-theme="dark"] .pk-col-heading { background: rgba(224,176,80,0.1); color: var(--gold); }
[data-theme="dark"] .pk-item { border-bottom-color: #333; }
[data-theme="dark"] .pk-label { color: var(--saffron); border-right-color: #333; }
[data-theme="dark"] .pk-value { color: #e0e0e0; }
[data-theme="dark"] .pk-item:nth-child(even) { background: rgba(255,255,255,0.03); }
[data-theme="dark"] .pk-item--danger .pk-label--danger,
[data-theme="dark"] .pk-item--danger .pk-value--danger { color: #E0A040; }
[data-theme="dark"] .pk-item--auspicious .pk-label--auspicious,
[data-theme="dark"] .pk-item--auspicious .pk-value--auspicious { color: #7FCF8A; }
[data-theme="dark"] .panchang-wrap { background: linear-gradient(160deg, #1e1e1e, #252525); border-color: #333; }
[data-theme="dark"] .panchang-bar { background: linear-gradient(90deg, #252525, #333); }
[data-theme="dark"] .panchang-table td.pk-label { color: var(--saffron); }
[data-theme="dark"] .panchang-table td.pk-value { color: #e0e0e0; }
[data-theme="dark"] .panchang-table tr { border-bottom-color: #333; }
[data-theme="dark"] .panchang-table tr:nth-child(even) { background: rgba(255,255,255,0.03); }
[data-theme="dark"] .muhurat-grid { background: linear-gradient(160deg, #1e1e1e, #252525); border-color: #333; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5); }
[data-theme="dark"] .muhurat-row { border-bottom-color: #333; }
[data-theme="dark"] .muhurat-row:nth-child(even) { background: rgba(255,255,255,0.03); }
[data-theme="dark"] .muhurat-name { color: #e0e0e0; }
[data-theme="dark"] .muhurat-num { background: rgba(224,176,80,0.12); color: var(--gold); }
[data-theme="dark"] .m-period-tabs,
[data-theme="dark"] .m-view-toggle {
  background: #1e1e1e;
  border-color: #333;
}
[data-theme="dark"] .m-period-tab {
  color: #b0b0b0;
}
[data-theme="dark"] .m-period-tab:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .m-jump-now-btn {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ade80;
}
[data-theme="dark"] .m-jump-now-btn:hover {
  background: #16a34a;
  color: #ffffff;
}
[data-theme="dark"] .m-q-pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #b0b0b0;
}
[data-theme="dark"] .m-card {
  background: linear-gradient(160deg, #1e1e1e, #252525);
  border-color: #333;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .m-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  border-color: var(--gold);
}
[data-theme="dark"] .m-card-name {
  color: #e0e0e0;
}
[data-theme="dark"] .m-card-num {
  background: rgba(224, 176, 80, 0.12);
  color: var(--gold);
}
[data-theme="dark"] .m-card-time {
  color: #c9a876;
}
[data-theme="dark"] .m-card-link {
  color: var(--gold);
}
[data-theme="dark"] .muhurat-list-container {
  background: linear-gradient(160deg, #1e1e1e, #252525);
  border-color: #333;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .m-card.now,
[data-theme="dark"] .m-card.m-card--now {
  background: linear-gradient(145deg, #16a34a 0%, #15803d 100%) !important;
  border-color: #86efac !important;
}
[data-theme="dark"] .card,
[data-theme="dark"] .type-card,
[data-theme="dark"] .blog-card {
  background: linear-gradient(160deg, rgba(22, 22, 28, 0.60), rgba(16, 16, 22, 0.55));
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .type-card h3, [data-theme="dark"] .blog-body h3 { color: #f8fafc; }
[data-theme="dark"] .type-icon { background: linear-gradient(135deg, #333, #444); }
[data-theme="dark"] .cal-grid-wrap { background: rgba(20, 20, 26, 0.60); backdrop-filter: blur(3px); border-color: #333; }
[data-theme="dark"] .cal-header-row { background: linear-gradient(90deg, #252525, #333); }
[data-theme="dark"] .cal-cell { border-color: #333; }
[data-theme="dark"] .cal-day-num { color: #e0e0e0; }
[data-theme="dark"] .cal-nav-btn { background: #252525; border-color: #444; color: var(--gold); }
[data-theme="dark"] .cal-view-btns { background: #252525; border-color: #444; }
[data-theme="dark"] .cal-list-toolbar { background: rgba(20, 20, 26, 0.60); backdrop-filter: blur(3px); border-color: #333; }
[data-theme="dark"] .cal-list-week-dates { color: var(--gold); }
[data-theme="dark"] .cal-jump-today-btn { background: #252525; border-color: #444; color: var(--gold); }
[data-theme="dark"] .cal-jump-today-btn:hover { background: var(--saffron); color: #121212; }
[data-theme="dark"] .cal-list-wrap::-webkit-scrollbar-track { background: #1a1a1a; }
[data-theme="dark"] .cal-list-card { background: rgba(22, 22, 28, 0.60); backdrop-filter: blur(3px); border-color: #333; }
[data-theme="dark"] .cal-list-card--today { background: linear-gradient(to right, rgba(255, 153, 51, 0.12), rgba(22, 22, 28, 0.65)); }
[data-theme="dark"] .cal-list-day-num { color: var(--gold); }
[data-theme="dark"] .mdl-box { background: linear-gradient(160deg, rgba(20, 20, 26, 0.85), rgba(14, 14, 18, 0.85)); backdrop-filter: blur(3px); border-color: #444; }
[data-theme="dark"] .mdl-dismiss-btn { background: #444; color: #e0e0e0; }
[data-theme="dark"] .site-footer {
  background: rgba(15, 13, 11, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-top: 1.5px solid rgba(199, 154, 60, 0.25);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .field input, [data-theme="dark"] .field select { background: #252525; color: #e0e0e0; border-color: #444; }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 { color: var(--gold); }
[data-theme="dark"] .cur-name,
[data-theme="dark"] .cur-muhurat-name { color: #FFF7E8; }
[data-theme="dark"] .next-name,
[data-theme="dark"] .next-muhurat-name { color: #fef08a; }
[data-theme="dark"] .cur-name-alt,
[data-theme="dark"] .cur-muhurat-alt,
[data-theme="dark"] .next-name-alt,
[data-theme="dark"] .next-muhurat-alt { color: var(--gold); }
[data-theme="dark"] .cur-time,
[data-theme="dark"] .cur-muhurat-time { color: #E7CFA6; }
[data-theme="dark"] .cur-eyebrow { color: #D9B98A; }
[data-theme="dark"] .next-eyebrow,
[data-theme="dark"] .next-chevron { color: var(--gold); }
[data-theme="dark"] .cur-desc,
[data-theme="dark"] .cur-muhurat-desc { color: #C9A876; }
[data-theme="dark"] .cur-timer-box { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.45); color: #86efac; }
[data-theme="dark"] .cur-timer-box .timer-icon { color: #22c55e; }
[data-theme="dark"] .cur-timer-box .timer-label { color: #bbf7d0; }
[data-theme="dark"] .cur-timer-box .cur-countdown { color: #4ade80; }
[data-theme="dark"] .cur-timer-box .next-time-sub { color: #a7f3d0; }
[data-theme="dark"] .cur-tag--do { background: rgba(111,207,122,0.14); color: #8FE09B; border-color: rgba(111,207,122,0.35); }
[data-theme="dark"] .cur-tag--dont { background: rgba(180,120,60,0.14); color: #D4A574; border-color: rgba(180,120,60,0.35); }
[data-theme="dark"] .cur-tags-heading--do { background: rgba(111,207,122,0.22); color: #6FCF7A; }
[data-theme="dark"] .cur-tags-heading--dont { background: rgba(180,120,60,0.22); color: #D4A574; }
[data-theme="dark"] .cur-tags-warning { color: #D4A574; }
[data-theme="dark"] .mini-label { color: #C9A876; }
[data-theme="dark"] .badge.ati-shubh, [data-theme="dark"] .badge--ati-shubh { background: rgba(199,154,60,0.25); color: #F0CE7E; border-color: rgba(199,154,60,0.6); }
[data-theme="dark"] .badge.shubh, [data-theme="dark"] .badge--shubh { background: rgba(111,207,122,0.16); color: #8FE09B; border-color: rgba(111,207,122,0.4); }
[data-theme="dark"] .badge.ashubh, [data-theme="dark"] .badge--ashubh { background: rgba(180,145,78,0.15); color: #C9A876; border-color: rgba(180,145,78,0.4); }
[data-theme="dark"] .badge.neutral, [data-theme="dark"] .badge--neutral { background: rgba(210,180,140,0.16); color: #E2C79A; border-color: rgba(210,180,140,0.4); }
[data-theme="dark"] .tz-label { color: #D9B98A; }
[data-theme="dark"] .tz-select { background-color: rgba(255,240,210,0.08); color: #F6E8CE; }
[data-theme="dark"] .loc-label { color: #F6E8CE; }
[data-theme="dark"] .loc-btn { color: #F6E8CE; }
[data-theme="dark"] .hero-muhurats-label { color: #C9A876; }
[data-theme="dark"] .filter-pill { background: rgba(255, 255, 255, 0.04); border-color: rgba(199, 154, 60, 0.25); color: #d4c2a4; }
[data-theme="dark"] .filter-pill:hover { background: rgba(199, 154, 60, 0.14); border-color: rgba(199, 154, 60, 0.45); color: #fff; }
[data-theme="dark"] .filter-pill.active { background: var(--gold); border-color: var(--gold); color: #1a1208; }
[data-theme="dark"] .m-slot { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
[data-theme="dark"] .m-slot:hover { background: rgba(199,154,60,0.16); }
[data-theme="dark"] .m-slot-date { color: #facc15; }
[data-theme="dark"] .m-slot-name { color: #FFF7E8; }
[data-theme="dark"] .m-slot-alt { color: var(--gold); }
[data-theme="dark"] .m-slot-time { color: #C9A876; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid { flex-wrap: wrap; }
  .hero-left, .hero-right { flex: 0 0 100%; width: 100%; max-width: 100%; padding: 0; }
  .hero-left { margin-bottom: 1.5rem; }
  .graha-system { width: 400px; height: 400px; left: 50%; top: 30%; opacity: 0.15; }
  .orbit-7, .orbit-8, .orbit-9 { display: none; }
  .live-clock { font-size: clamp(2rem, 8vw, 3rem); }
  .pk-grid { grid-template-columns: 1fr; }
  .pk-col + .pk-col { border-left: none; border-top: 1px solid var(--card-border); }
  .kundli-result { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav, .header-controls .lang-switch { display: none; }
  .header-controls { margin-left: auto; }
  .hamburger { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .panchang-grid2 { grid-template-columns: 1fr; }
  .panchang-grid2 > div { border-right: none; border-bottom: 1px solid var(--card-border); }
  .footer-grid { grid-template-columns: 1fr; }
  .muhurat-row { flex-wrap: wrap; }
  .muhurat-time { min-width: auto; text-align: left; }
  .calendar-controls { gap: 0.5rem; }
  .cal-month-label { min-width: auto; font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .cal-cell { min-height: 58px; }
  .cal-tithi { display: none; }
  .pk-label { width: 38%; font-size: 0.78rem; }
}

/* ══════════════════════════════════════════════════════════════
   INTERACTIVE MUHURAT POPOVER / TOOLTIP
══════════════════════════════════════════════════════════════ */
.muhurat-popover {
  position: fixed;
  z-index: 10000;
  width: 310px;
  max-width: 92vw;
  background: #1f1814;
  background: linear-gradient(145deg, #251d18 0%, #1a1411 100%);
  border: 1px solid rgba(199, 154, 60, 0.4);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 0.95rem;
  color: #f5eedb;
  font-family: inherit;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
}

.muhurat-popover.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.pop-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.pop-title-wrap {
  flex: 1;
}

.pop-title-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff7e8;
  line-height: 1.2;
}

.pop-title-alt {
  font-size: 0.85rem;
  color: var(--gold);
}

.pop-close-btn {
  background: none;
  border: none;
  color: #a8947b;
  cursor: pointer;
  padding: 2px 5px;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}

.pop-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.pop-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(199, 154, 60, 0.2);
  font-size: 0.76rem;
}

.pop-time {
  color: #e7cfa6;
  font-size: 0.78rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pop-deity {
  font-size: 0.74rem;
  color: #d4c2a4;
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.pop-deity strong {
  color: var(--gold);
}

.pop-tags {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
}

.pop-tag-item {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1.3;
}

.pop-tag-item.do {
  color: #86efac;
}

.pop-tag-item.dont {
  color: #fca5a5;
}

.pop-more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #c79a3c 0%, #a77c25 100%);
  color: #1a1208 !important;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pop-more-link:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════
   CALENDAR TOOLTIP / POPOVER
   ══════════════════════════════════════════════════════════════ */
.calendar-popover {
  position: fixed;
  z-index: 10000;
  width: 330px;
  max-width: 92vw;
  background: linear-gradient(145deg, #251d18 0%, #1a1411 100%);
  border: 1px solid rgba(199, 154, 60, 0.45);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 1rem 1.1rem;
  color: #f5eedb;
  font-family: inherit;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
  max-height: 85vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(199, 154, 60, 0.4) transparent;
}

.calendar-popover.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.cal-pop-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(199, 154, 60, 0.25);
  padding-bottom: 0.6rem;
  margin-bottom: 0.75rem;
}

.cal-pop-title-wrap {
  flex: 1;
  min-width: 0;
}

.cal-pop-date {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff7e8;
  line-height: 1.25;
}

.cal-pop-hindu-date {
  font-size: 0.82rem;
  color: var(--gold);
  margin-top: 0.2rem;
  font-family: var(--serif);
}

.cal-pop-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e0d0b8;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--trans);
}

.cal-pop-close-btn:hover {
  background: var(--saffron);
  color: #fff;
  border-color: var(--saffron);
}

.cal-pop-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cal-pop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.65rem;
  background: rgba(255, 240, 210, 0.04);
  border: 1px solid rgba(199, 154, 60, 0.15);
  border-radius: 9px;
  padding: 0.6rem 0.75rem;
}

.cal-pop-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cal-pop-lbl {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c9a876;
  font-weight: 600;
}

.cal-pop-val {
  font-size: 0.84rem;
  color: #fff;
  font-weight: 600;
}

.cal-pop-val small {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: normal;
}

.cal-pop-timings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cal-pop-time-pill {
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cal-pop-time-pill--shubh {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.cal-pop-time-pill--shubh .cal-pop-time-tag {
  color: #86efac;
  font-size: 0.7rem;
  font-weight: 700;
}

.cal-pop-time-pill--shubh .cal-pop-time-val {
  color: #dcfce7;
  font-size: 0.78rem;
  font-weight: 600;
}

.cal-pop-time-pill--ashubh {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.cal-pop-time-pill--ashubh .cal-pop-time-tag {
  color: #fca5a5;
  font-size: 0.7rem;
  font-weight: 700;
}

.cal-pop-time-pill--ashubh .cal-pop-time-val {
  color: #fee2e2;
  font-size: 0.78rem;
  font-weight: 600;
}

.cal-pop-sun-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #e7cfa6;
  padding: 0.35rem 0.5rem;
  background: rgba(255, 240, 210, 0.03);
  border-radius: 6px;
}

.cal-pop-section-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 700;
  margin-top: 0.2rem;
}

.cal-pop-festivals {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cal-pop-fest-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  background: rgba(199, 154, 60, 0.1);
  border: 1px solid rgba(199, 154, 60, 0.25);
  border-radius: 7px;
  padding: 0.45rem 0.6rem;
}

.cal-pop-fest-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.cal-pop-fest-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff7e8;
}

.cal-pop-fest-hi {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: normal;
}

.cal-pop-fest-desc {
  font-size: 0.75rem;
  color: #d9b98a;
  margin-top: 0.15rem;
  line-height: 1.35;
}

.cal-cell--pop-active {
  outline: 2px solid var(--gold) !important;
  outline-offset: -2px;
  background: rgba(199, 154, 60, 0.25) !important;
}

.cal-list-card--pop-active {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(199, 154, 60, 0.4) !important;
}

/* ══════════════════════════════════════════════════════════════
   DEDICATED MUHURAT PAGES (muhurat.php)
══════════════════════════════════════════════════════════════ */
.breadcrumb-wrap { padding: 1rem 0 0.5rem; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; font-size: 0.82rem; color: #a8947b; }
.breadcrumb a { color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-separator { color: #665544; }
.breadcrumb-current { color: #f5eedb; font-weight: 600; }

.muhurat-detail-hero {
  padding: 1.5rem 0 2rem;
  background: linear-gradient(180deg, rgba(199, 154, 60, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid rgba(199, 154, 60, 0.15);
}

.muhurat-hero-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.period-pill, .slot-pill {
  font-size: 0.74rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e0d0b8;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.muhurat-hero-title {
  margin: 0.2rem 0 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.muhurat-hero-title .title-hi {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #fff7e8;
  line-height: 1.15;
}

.muhurat-hero-title .title-en {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--gold);
  font-weight: 500;
}

.muhurat-hero-deity {
  font-size: 0.95rem;
  color: #e2d2ba;
  margin-bottom: 1.2rem;
  max-width: 720px;
}

.muhurat-hero-deity strong {
  color: var(--gold);
}

/* Real-Time Timing Card */
.muhurat-live-timing-card {
  background: linear-gradient(145deg, rgba(35, 26, 20, 0.95), rgba(25, 18, 14, 0.95));
  border: 1.5px solid rgba(199, 154, 60, 0.35);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  margin-top: 1rem;
  max-width: 680px;
}

.muhurat-live-timing-card.timing-card--active {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25), 0 8px 24px rgba(34, 197, 94, 0.2);
}

.timing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.timing-card-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #16a34a;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.timing-card-body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.5rem 0;
}

.timing-time-range {
  font-family: var(--font-mono, monospace);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff7e8;
}

.detail-time-date {
  font-size: 0.95rem;
  color: #facc15;
  margin-right: 0.4rem;
  font-weight: 600;
}

.timing-timer-block {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
}

.timer-lbl { color: #86efac; font-weight: 500; }
.timer-countdown { color: #4ade80; font-family: var(--font-mono, monospace); font-weight: 700; }

.timing-card-footer {
  margin-top: 0.5rem;
  font-size: 0.74rem;
  color: #a8947b;
}

/* Detail Content Layout */
.muhurat-detail-content-wrap { padding: 2rem 0 3rem; }
.detail-grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 1.8rem; }
.detail-main-col { display: flex; flex-direction: column; gap: 1.4rem; }
.detail-side-col { display: flex; flex-direction: column; gap: 1.4rem; }

.detail-card {
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: 4px 4px 14px rgba(0,0,0,0.25);
}

.detail-card-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 0.5rem;
}

.card-title-icon { color: var(--gold); }

.rich-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5d5be;
}

/* Sacred Mantra Card */
.mantra-card {
  border-color: rgba(199, 154, 60, 0.4);
  background: linear-gradient(160deg, rgba(35, 26, 18, 0.9), rgba(24, 17, 12, 0.9));
}

.mantra-box {
  background: rgba(199, 154, 60, 0.08);
  border: 1.5px solid rgba(199, 154, 60, 0.3);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.8rem;
}

.mantra-sanskrit {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.6;
  font-weight: 700;
  color: #ffd880;
  margin-bottom: 0.5rem;
}

.mantra-translit {
  font-size: 0.88rem;
  color: #d4c2a4;
  margin-bottom: 0.6rem;
}

.mantra-meaning {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #f0e2cd;
}

.mantra-tip {
  font-size: 0.82rem;
  color: #a8947b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Do's & Don'ts Grid */
.dodont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.dodont-col {
  border-radius: 8px;
  padding: 1rem 1.1rem;
}

.dodont-col--do {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.dodont-col--dont {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.dodont-heading {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dodont-heading--do { color: #86efac; }
.dodont-heading--dont { color: #fca5a5; }

.dodont-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.dodont-col--do .dodont-list li { color: #d1fae5; display: flex; align-items: baseline; gap: 0.4rem; }
.dodont-col--dont .dodont-list li { color: #fee2e2; display: flex; align-items: baseline; gap: 0.4rem; }

/* FAQs */
.faq-accordion { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
}
.faq-question {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.faq-answer {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #dfceb8;
}

/* Sidebar Muhurats Navigation */
.sidebar-muhurats-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.side-m-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: #f5eedb;
  text-decoration: none;
  font-size: 0.84rem;
  transition: all 0.15s ease;
}

.side-m-item:hover {
  background: rgba(199, 154, 60, 0.12);
  border-color: rgba(199, 154, 60, 0.3);
  color: var(--gold);
}

.side-m-item.active {
  background: rgba(199, 154, 60, 0.2);
  border-color: var(--gold);
  color: #fff7e8;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   ALL 30 MUHURATS DIRECTORY PAGE
══════════════════════════════════════════════════════════════ */
.directory-hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(199, 154, 60, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid rgba(199, 154, 60, 0.15);
}

.directory-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.7rem);
  color: #fff7e8;
  margin-bottom: 0.5rem;
}

.directory-desc {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  color: #dfceb8;
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   ALL 30 MUHURATS DIRECTORY — APPLE DESIGN SPECIFICATION
   Spacious 3-Column Grid, Apple Segmented Filter Bar, Generous Spacing & Hierarchy
   ========================================================================== */
.muhurats-directory-section {
  padding: 2.5rem 0 5rem;
}

.directory-filter-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.8rem auto 2.5rem;
  padding: 0 1rem;
}

.directory-filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  padding: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .directory-filter-bar {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.dir-filter-btn {
  background: transparent;
  border: none;
  color: var(--text-soft);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.dir-filter-btn:hover {
  background: rgba(217, 119, 6, 0.12);
  color: var(--gold);
}

.dir-filter-btn.active {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transform: scale(1.02);
}

[data-theme="dark"] .dir-filter-btn {
  color: #cbd5e1;
}

[data-theme="dark"] .dir-filter-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
}

/* 3-Column Responsive Grid */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .directory-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .directory-filter-bar {
    border-radius: 16px;
  }
}

/* Apple-Style Glass Card */
.directory-card {
  background: var(--card-bg, rgba(255, 255, 255, 0.94));
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.3));
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
  position: relative;
}

.directory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  border-color: rgba(217, 119, 6, 0.45);
}

[data-theme="dark"] .directory-card {
  background: rgba(22, 22, 28, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .directory-card:hover {
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* Card Header */
.dir-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dir-card-num {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-deep, #b45309);
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 3px 10px;
  border-radius: 8px;
}

[data-theme="dark"] .dir-card-num {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
}

.dir-card-period-tag {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 3px 9px;
  border-radius: 6px;
}

[data-theme="dark"] .dir-card-period-tag {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

/* Card Title Group */
.dir-card-title-group {
  margin-bottom: 14px;
}

.dir-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  margin: 0 0 3px;
}

[data-theme="dark"] .dir-card-title {
  color: #f8fafc;
}

.dir-card-subtitle {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
}

[data-theme="dark"] .dir-card-subtitle {
  color: #94a3b8;
}

/* Indented Metadata Box */
.dir-card-meta-box {
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

[data-theme="dark"] .dir-card-meta-box {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}

.meta-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
}

.meta-label {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.meta-value {
  color: var(--text-dark);
  font-weight: 600;
  text-align: right;
  line-height: 1.35;
}

[data-theme="dark"] .meta-value {
  color: #f1f5f9;
}

/* Description */
.dir-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 20px;
  flex: 1;
}

[data-theme="dark"] .dir-card-desc {
  color: #cbd5e1;
}

/* Card Footer & CTA */
.dir-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--card-border);
}

.dir-learn-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--gold-deep, #b45309);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dir-learn-more-btn:hover {
  background: rgba(217, 119, 6, 0.18);
  border-color: var(--gold);
  transform: translateX(3px);
}

[data-theme="dark"] .dir-learn-more-btn {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.25);
}

[data-theme="dark"] .dir-learn-more-btn:hover {
  background: rgba(251, 191, 36, 0.22);
  border-color: #fbbf24;
}

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .dodont-grid { grid-template-columns: 1fr; }
}

/* Connecting Muhurats Nav (Prev / Next) */
.connecting-muhurats-nav {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.con-muhurat-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  color: #fff7e8;
  transition: all 0.15s ease;
}

.con-muhurat-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.con-muhurat-btn--next {
  text-align: right;
  justify-content: flex-end;
}

.con-info {
  display: flex;
  flex-direction: column;
}

.con-info small {
  font-size: 0.74rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.con-info strong {
  font-size: 0.95rem;
  font-family: var(--serif);
}

.con-arrow {
  color: var(--gold);
  display: flex;
  align-items: center;
}

/* Sidebar Components */
.detail-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.sidebar-card {
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  box-shadow: 4px 4px 14px rgba(0,0,0,0.25);
}

.sidebar-card-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 0.5rem;
}

.sidebar-dl {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.5rem 0.6rem;
  font-size: 0.84rem;
  margin: 0;
}

.sidebar-dl dt {
  color: #a8947b;
  font-weight: 500;
}

.sidebar-dl dd {
  margin: 0;
  color: #f5eedb;
  font-weight: 600;
}

.all-muhurat-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.3rem;
  scrollbar-width: thin;
}

.mini-m-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  color: #e5d5be;
  text-decoration: none;
  font-size: 0.82rem;
  transition: all 0.15s ease;
}

.mini-m-item:hover {
  background: rgba(199, 154, 60, 0.12);
  border-color: rgba(199, 154, 60, 0.25);
  color: #fff;
}

.mini-m-item.active {
  background: rgba(199, 154, 60, 0.22);
  border-color: var(--gold);
  color: #fff7e8;
  font-weight: 700;
}

.mini-m-num {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(199, 154, 60, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mini-m-name {
  flex: 1;
}

.mini-m-name small {
  opacity: 0.7;
}

@media (max-width: 600px) {
  .connecting-muhurats-nav { flex-direction: column; }
  .con-muhurat-btn--next { text-align: left; justify-content: flex-start; flex-direction: row-reverse; }
}


/* ══════════════════════════════════════════════════════════════
   OCCASION SUB-TOOLS (AVSAR ANUSAR MUHURAT) STYLES
   ══════════════════════════════════════════════════════════════ */

.type-card {
  cursor: pointer;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.type-card:hover {
  transform: translateY(-5px);
  border-color: var(--saffron);
  box-shadow: 0 14px 32px rgba(203, 102, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.occasion-card-btn {
  width: 100%;
  margin-top: 0.8rem;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  background: rgba(203, 102, 0, 0.08);
  border: 1.5px solid rgba(203, 102, 0, 0.35);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.type-card:hover .occasion-card-btn,
.occasion-card-btn:hover {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(203, 102, 0, 0.35);
}

/* Occasion Modal Overlay */
.occ-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(18, 10, 5, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  animation: occFadeIn 0.2s ease-out;
}

@keyframes occFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Occasion Modal Box */
.occ-modal {
  background: linear-gradient(165deg, var(--card-bg), var(--card-bg-2));
  border: 1.5px solid var(--card-border-strong);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 4px 18px rgba(203, 102, 0, 0.18);
  overflow: hidden;
  animation: occSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes occSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Modal Header */
.occ-header {
  padding: 1.2rem 1.6rem;
  border-bottom: 1.5px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(203, 102, 0, 0.04);
}

.occ-header-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.occ-badge-icon {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(203, 102, 0, 0.2), rgba(203, 102, 0, 0.05));
  border: 1.5px solid rgba(203, 102, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(203, 102, 0, 0.15);
}

.occ-title {
  font-size: 1.35rem;
  font-family: var(--serif);
  color: var(--accent);
  line-height: 1.25;
}

.occ-subtitle {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 0.2rem;
}

.occ-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.occ-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--saffron-deep);
  background: rgba(203, 102, 0, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(203, 102, 0, 0.25);
  font-weight: 600;
}

.occ-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  background: rgba(199, 154, 60, 0.12);
  border: 1px solid rgba(199, 154, 60, 0.3);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.18s ease;
}

.occ-header-btn:hover {
  background: var(--saffron);
  color: #ffffff;
  border-color: var(--saffron);
  box-shadow: 0 3px 10px rgba(203, 102, 0, 0.25);
}

.occ-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: rgba(203, 102, 0, 0.08);
  color: var(--accent);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.occ-close-btn:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

/* Tabs Bar */
.occ-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 1.6rem 0;
  border-bottom: 1.5px solid var(--card-border);
  background: rgba(0, 0, 0, 0.02);
}

.occ-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-soft);
  background: transparent;
  border: none;
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.occ-tab:hover {
  color: var(--accent);
}

.occ-tab.active {
  color: var(--saffron-deep);
  border-bottom-color: var(--saffron);
}

/* Modal Body */
.occ-body {
  padding: 1.4rem 1.6rem;
  overflow-y: auto;
  flex: 1;
}

/* Tab 1: Filter Bar */
.occ-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.occ-month-picker-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.occ-select {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid var(--card-border-strong);
  background: var(--card-bg);
  color: var(--text-dark);
  cursor: pointer;
}

.occ-filter-pills {
  display: flex;
  gap: 0.4rem;
}

.occ-pill {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.18s ease;
}

.occ-pill.active {
  background: var(--saffron);
  color: #ffffff;
  border-color: var(--saffron);
  box-shadow: 0 2px 8px rgba(203, 102, 0, 0.25);
}

/* Auspicious Date Cards */
.occ-dates-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.occ-date-card {
  display: grid;
  grid-template-columns: 240px 1fr 180px;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.3rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--card-bg), var(--card-bg-2));
  border: 1.5px solid var(--card-border);
  box-shadow: 0 2px 8px rgba(44, 24, 16, 0.05);
  transition: all 0.2s ease;
}

.occ-date-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(203, 102, 0, 0.12);
}

.occ-date-card.atishubh {
  border-color: rgba(22, 163, 74, 0.45);
}

.occ-date-card.shubh {
  border-color: rgba(199, 154, 60, 0.5);
}

.occ-date-card-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.occ-day-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--saffron);
  font-family: var(--sans);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(203, 102, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.occ-day-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.occ-panchang-brief {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.occ-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.05);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.occ-shubh-window {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.occ-window-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.occ-window-time {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--saffron-deep);
}

.occ-reasons {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.25rem;
}

.occ-date-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.occ-tier-badge {
  text-align: right;
}

.occ-stars {
  font-size: 0.8rem;
  display: block;
}

.occ-rating-text {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.occ-tier-badge.atishubh .occ-rating-text {
  color: #16a34a;
}

.occ-tier-badge.shubh .occ-rating-text {
  color: var(--saffron);
}

.occ-jump-day-btn {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
}

.occ-no-dates {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--card-border);
}

.occ-no-dates i {
  color: var(--gold);
  margin-bottom: 0.8rem;
}

/* Tab 2: Day Checker */
.occ-day-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 1.4rem;
}

.occ-date-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.occ-date-input {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1.5px solid var(--card-border-strong);
  background: var(--card-bg);
  color: var(--text-dark);
}

.occ-verdict-banner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.4rem;
  border: 1.5px solid transparent;
}

.occ-verdict-banner.verdict-atishubh {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(22, 163, 74, 0.04));
  border-color: rgba(22, 163, 74, 0.4);
  color: #15803d;
}

.occ-verdict-banner.verdict-shubh {
  background: linear-gradient(135deg, rgba(203, 102, 0, 0.12), rgba(203, 102, 0, 0.04));
  border-color: rgba(203, 102, 0, 0.4);
  color: var(--saffron-deep);
}

.occ-verdict-banner.verdict-madhyam {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(217, 119, 6, 0.04));
  border-color: rgba(217, 119, 6, 0.4);
  color: #b45309;
}

.occ-verdict-banner.verdict-ashubh {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(220, 38, 38, 0.04));
  border-color: rgba(220, 38, 38, 0.4);
  color: #b91c1c;
}

.occ-verdict-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.occ-verdict-date {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
}

.occ-verdict-heading {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--serif);
  margin: 0.2rem 0;
}

.occ-verdict-desc {
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* Disha Shool Box */
.occ-dishashool-box {
  background: rgba(203, 102, 0, 0.08);
  border: 1.5px solid rgba(203, 102, 0, 0.3);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.4rem;
}

.occ-ds-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.occ-ds-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 0.25rem;
}

/* Timing Grid */
.occ-timing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.occ-timing-col-heading {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.shubh-text {
  color: #15803d;
}

.ashubh-text {
  color: #b91c1c;
}

.occ-time-tiles {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.occ-time-tile {
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
}

.occ-time-tile.shubh,
.occ-time-tile.best,
.occ-time-tile.good {
  border-color: rgba(22, 163, 74, 0.4);
}

.occ-time-tile.ashubh,
.occ-time-tile.bad {
  border-color: rgba(220, 38, 38, 0.4);
}

.occ-time-tile-name {
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-dark);
}

.occ-time-tile-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--saffron-deep);
  margin: 0.25rem 0;
  font-family: var(--sans);
}

.occ-time-tile-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.occ-empty-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 0.5rem 0;
}

/* Tab 3: Rules & Mantras */
.occ-mantra-box {
  background: linear-gradient(135deg, rgba(203, 102, 0, 0.1), rgba(203, 102, 0, 0.03));
  border: 1.5px solid rgba(203, 102, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.4rem;
  text-align: center;
}

.occ-mantra-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--saffron-deep);
  margin-bottom: 0.5rem;
}

.occ-mantra-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.7;
  font-family: var(--serif);
}

.occ-mantra-meaning {
  font-size: 0.86rem;
  color: var(--text-soft);
  margin-top: 0.6rem;
  font-style: italic;
}

.occ-rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.occ-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.occ-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.occ-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-dark);
}

.occ-list--dos li i {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.occ-list--donts li i {
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 2px;
}

.occ-guidelines-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
}

.occ-guidelines-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: disc;
  padding-left: 1.3rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Modal Footer */
.occ-footer {
  padding: 1rem 1.6rem;
  border-top: 1.5px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.02);
}

.occ-footer-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .occ-date-card {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .occ-date-card-right {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-top: 1px dashed var(--card-border);
    padding-top: 0.6rem;
  }
  .occ-timing-grid,
  .occ-rules-grid {
    grid-template-columns: 1fr;
  }
  .occ-header-info {
    width: 100%;
  }
  .occ-header-actions {
    width: 100%;
    justify-content: space-between;
  }
}


/* ══════════════════════════════════════════════════════════════
   UNIFIED SHUBH MUHURATS PAGE (/shubh-muhurats) STYLES
   ══════════════════════════════════════════════════════════════ */

.breadcrumb-bar {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.02);
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}

.breadcrumb-list li a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-soft);
  transition: color 0.15s ease;
}

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

.breadcrumb-separator {
  color: var(--card-border-strong);
  font-size: 0.95rem;
}

.shubh-muhurats-page-section {
  padding: 2.5rem 0 4rem;
}

/* 6 Grand Occasion Switcher Tabs */
.unified-occ-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 2rem;
}

.unified-occ-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 0.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
  border: 1.5px solid var(--card-border);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.unified-occ-tab:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(203, 102, 0, 0.12);
}

.unified-occ-tab.active {
  background: linear-gradient(135deg, rgba(203, 102, 0, 0.14), rgba(203, 102, 0, 0.04));
  border-color: var(--saffron);
  border-width: 2px;
  color: var(--saffron-deep);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(203, 102, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.unified-tab-icon {
  font-size: 1.7rem;
  transition: transform 0.2s ease;
}

.unified-occ-tab:hover .unified-tab-icon,
.unified-occ-tab.active .unified-tab-icon {
  transform: scale(1.15);
}

.unified-tab-title {
  font-size: 0.88rem;
  text-align: center;
  white-space: nowrap;
}

/* Unified Workspace Container */
.unified-occ-workspace {
  background: linear-gradient(165deg, var(--card-bg), var(--card-bg-2));
  border: 1.5px solid var(--card-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(44, 24, 16, 0.08);
  overflow: hidden;
}

.unified-occ-workspace .occ-header {
  border-bottom: 2px solid var(--card-border);
  padding: 1.5rem 2rem;
}

.unified-occ-workspace .occ-tabs {
  padding: 0.8rem 2rem 0;
  background: rgba(203, 102, 0, 0.02);
}

.unified-occ-workspace .occ-body {
  padding: 2rem;
}

@media (max-width: 992px) {
  .unified-occ-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .unified-occ-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .unified-occ-tab {
    padding: 0.8rem 0.5rem;
  }
  .unified-tab-title {
    font-size: 0.8rem;
  }
  .unified-occ-workspace .occ-header {
    padding: 1.2rem;
  }
  .unified-occ-workspace .occ-tabs {
    padding: 0.5rem 1rem 0;
    overflow-x: auto;
  }
  .unified-occ-workspace .occ-body {
    padding: 1.2rem;
  }
}

/* ==========================================================================
 * Vedic Shastric Banner & Notice Styles (Chaturmas, Kharmas, Pitru Paksha)
 * ========================================================================== */
.occ-shastra-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  background: rgba(203, 102, 0, 0.06);
  border: 1.5px solid rgba(203, 102, 0, 0.35);
  box-shadow: 0 4px 14px rgba(44, 24, 16, 0.04);
}

.occ-shastra-banner.chaturmas {
  background: linear-gradient(135deg, rgba(203, 102, 0, 0.08) 0%, rgba(212, 160, 23, 0.05) 100%);
  border-color: rgba(203, 102, 0, 0.35);
}

.occ-shastra-banner.kharmas {
  background: rgba(184, 134, 11, 0.08);
  border-color: rgba(217, 119, 6, 0.35);
}

.occ-shastra-banner.pitru_paksha {
  background: rgba(100, 116, 139, 0.08);
  border-color: rgba(100, 116, 139, 0.35);
}

.shastra-banner-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.shastra-banner-body {
  flex: 1;
}

.shastra-banner-body h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--saffron);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shastra-banner-body p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

.shastra-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(203, 102, 0, 0.15);
  color: var(--saffron);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Single Day Shastra Alert Box */
.occ-shastra-day-alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.08);
  border: 1.5px solid rgba(220, 38, 38, 0.3);
}

.occ-shastra-day-alert.warning {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.35);
}

.occ-shastra-day-alert.festive {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(212, 160, 23, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.35);
}

.shastra-alert-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.shastra-alert-content h5 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-color);
}

.occ-shastra-day-alert.festive .shastra-alert-content h5 {
  color: #059669;
}

.occ-shastra-day-alert:not(.festive):not(.warning) .shastra-alert-content h5 {
  color: #dc2626;
}

.shastra-alert-content p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-color);
  margin: 0;
}

/* ==========================================================================
 * LIVE VEDIC DECISION HUD & CLICKBAITING ENGAGEMENT HOOKS
 * ========================================================================== */
.hero-decision-hud {
  margin: 0.75rem 0 0 0;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(44, 24, 16, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03);
  padding: 1.25rem 1.4rem;
  position: relative;
  overflow: hidden;
}

.hero-decision-hud::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--saffron), var(--gold), transparent);
}

/* Integrated Clock and Date Header */
.hud-clock-block {
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(199, 154, 60, 0.2);
}

.hud-clock-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hud-clock-row .live-clock {
  font-family: var(--font-mono, monospace);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 700;
  color: #1c1917;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hud-clock-row .tz-abbr {
  font-size: 0.82rem;
  font-weight: 700;
  color: #78350f;
}

.hud-clock-block .live-date {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.hud-clock-block .live-date-hindu {
  font-size: 0.84rem;
  font-weight: 600;
  color: #b45309;
  margin-top: 0.2rem;
  line-height: 1.3;
}

.decision-hud-main {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.decision-hud-status {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1rem 1.2rem;
  background: #f8fafc;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--trans);
}

.hud-status--atishubh {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.45);
}

.hud-status--shubh {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.45);
}

.hud-status--ashubh {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.45);
}

.hud-pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: hudPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.hud-status--ashubh .hud-pulse-dot {
  background: #dc2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
}

@keyframes hudPulse {
  to {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
}

.hud-status-texts {
  flex: 1;
}

.hud-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b45309;
  margin-bottom: 0.2rem;
}

.hud-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1c1917;
  margin-bottom: 0.25rem;
  font-family: var(--serif);
}

.hud-status--ashubh .hud-title {
  color: #b91c1c;
}

.hud-desc {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

/* Quick Action Chips */
.decision-hud-quicklinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  background: #f8fafc;
  border: 1px solid rgba(199, 154, 60, 0.3);
  color: #1c1917;
  font-weight: 600;
  transition: all var(--trans);
}

.hud-chip:hover {
  border-color: var(--saffron);
  transform: translateY(-1px);
}

.hud-chip-label {
  color: #64748b;
  font-weight: 600;
}

.hud-chip--abhijit {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #78350f;
  font-weight: 700;
}

.hud-chip--abhijit i {
  color: #d97706;
}

.hud-chip--rahu {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.3);
  color: #991b1b;
  font-weight: 700;
}

.hud-chip--rahu i {
  color: #dc2626;
}

.hud-chip--disha {
  background: rgba(120, 53, 15, 0.08);
  border-color: rgba(120, 53, 15, 0.25);
  color: #78350f;
  font-weight: 600;
}

.hud-chip--share {
  margin-left: auto;
  background: #25d366;
  color: #ffffff;
  border: none;
  font-weight: 600;
  box-shadow: none;
  cursor: pointer;
}

.hud-chip--share:hover {
  background: #1eb954;
  color: #ffffff;
  box-shadow: none;
}

/* ==========================================================================
 * INTERACTIVE CHOGHADIYA RIBBON (Day & Night 16 Slots)
 * ========================================================================== */
.hero-choghadiya-wrap {
  margin: 1.8rem 0 2rem;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.32);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 6px 24px rgba(44, 24, 16, 0.06);
}

.chog-ribbon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.chog-ribbon-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chog-ribbon-heading {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #1c1917;
}

.chog-ribbon-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  background: rgba(217, 119, 6, 0.12);
  color: #92400e;
  border-radius: 999px;
}

.chog-period-switcher {
  display: flex;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px;
  border-radius: 999px;
  gap: 2px;
}

.chog-period-btn {
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  color: #475569;
  transition: all var(--trans);
  cursor: pointer;
}

.chog-period-btn.active {
  background: #ffffff;
  color: #78350f;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Quality Filter Pills Row inside Choghadiya Ribbon */
.chog-quality-filters {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.chog-q-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid rgba(199, 154, 60, 0.3);
  color: #475569;
  cursor: pointer;
  transition: all var(--trans);
  line-height: 1.1;
  user-select: none;
}

.chog-q-pill:hover {
  background: rgba(199, 154, 60, 0.12);
  border-color: #b45309;
  color: #1c1917;
  transform: translateY(-1px);
}

.chog-q-pill.active {
  background: #78350f;
  color: #ffffff;
  border-color: #78350f;
  font-weight: 700;
}

.chog-q-pill.ati-shubh.active {
  background: linear-gradient(135deg, #c79a3c, #9e7520);
  border-color: #c79a3c;
  color: #1a1208;
}

.chog-q-pill.shubh.active {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-color: #16a34a;
  color: #ffffff;
}

.chog-q-pill.ashubh.active {
  background: linear-gradient(135deg, #ea580c, #b45309);
  border-color: #ea580c;
  color: #ffffff;
}

.chog-q-pill.neutral.active {
  background: linear-gradient(135deg, #78716c, #57534e);
  border-color: #78716c;
  color: #ffffff;
}

.chog-q-count {
  font-size: 0.68rem;
  opacity: 0.85;
}

/* Horizontal Scroll / Grid for 8 Choghadiya Slots */
.chog-slots-scroll {
  display: grid;
  grid-template-columns: repeat(8, minmax(142px, 1fr));
  gap: 0.75rem;
  overflow-x: auto;
  padding: 10px 4px 10px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(234, 179, 8, 0.45) rgba(18, 18, 24, 0.35);
}

.chog-slots-scroll::-webkit-scrollbar {
  height: 5px;
}

.chog-slots-scroll::-webkit-scrollbar-track {
  background: rgba(18, 18, 24, 0.35);
  border-radius: 999px;
  margin: 0 4px;
}

.chog-slots-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.7), rgba(245, 158, 11, 0.95));
  border-radius: 999px;
  transition: all 0.2s ease;
}

.chog-slots-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

[data-theme="light"] .chog-slots-scroll {
  scrollbar-color: rgba(180, 83, 9, 0.40) rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .chog-slots-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .chog-slots-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.5), rgba(217, 119, 6, 0.75));
}

.chog-slot-card {
  background: #ffffff;
  border: 1.5px solid rgba(199, 154, 60, 0.28);
  border-radius: var(--radius);
  padding: 0.75rem 0.6rem;
  text-align: center;
  transition: all var(--trans);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(44, 24, 16, 0.04);
}

.chog-slot-card:hover {
  transform: translateY(-2px);
  border-color: var(--saffron);
  box-shadow: 0 6px 14px rgba(44, 24, 16, 0.08);
}

.chog-slot-card.active-chog {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%) !important;
  border: 2px solid #d97706 !important;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.25), 0 8px 18px rgba(217, 119, 6, 0.15);
  transform: translateY(-2px);
  z-index: 2;
}

.chog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  margin-bottom: 0.35rem;
}

.chog-ruler-tag {
  color: var(--text-muted);
  font-weight: 500;
}

.chog-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  line-height: 1.1;
}

.chog-badge--best {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.chog-badge--good {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.chog-badge--neutral {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.25);
}

.chog-badge--bad {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.chog-now-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--saffron-deep);
  background: rgba(203, 102, 0, 0.15);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  animation: none;
  box-shadow: none;
}

.chog-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-family: var(--serif);
}

.chog-time {
  font-size: 0.74rem;
  color: var(--text-soft);
  font-weight: 600;
}

/* ==========================================================================
 * OCCASIONS SECTION: CATEGORY FILTERS & RICH HIGH-CTR CARDS
 * ========================================================================== */
.occ-category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.occ-cat-pill {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid var(--card-border);
  color: var(--text-dark);
  transition: all var(--trans);
  cursor: pointer;
}

.occ-cat-pill:hover {
  border-color: var(--saffron);
  background: var(--card-bg);
}

.occ-cat-pill.active {
  background: var(--saffron);
  border-color: var(--saffron-deep);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(203, 102, 0, 0.25);
}

.type-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.type-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1.2;
}

.type-card-badge.shastra-badge {
  background: rgba(203, 102, 0, 0.12);
  color: #b45309;
  border: 1px solid rgba(203, 102, 0, 0.3);
}

.type-card-badge.festive-badge {
  background: rgba(21, 128, 61, 0.12);
  color: #15803d;
  border: 1px solid rgba(21, 128, 61, 0.3);
}

.type-card-badge.neut-badge {
  background: rgba(139, 94, 60, 0.1);
  color: var(--accent);
  border: 1px solid rgba(139, 94, 60, 0.25);
}

.type-card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin: 0.9rem 0 1.1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(199, 154, 60, 0.2);
}

.meta-tag strong {
  color: var(--text-dark);
}

.meta-tag-count {
  font-weight: 700;
  color: var(--saffron);
  font-size: 0.75rem;
}

.occ-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.8rem;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
}

.trust-item i {
  color: var(--saffron);
  flex-shrink: 0;
}

/* ==========================================================================
 * DARK MODE ADAPTATIONS FOR NEW COMPONENTS
 * ========================================================================== */
[data-theme="dark"] .hero-decision-hud {
  background: rgba(18, 18, 24, 0.60);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .hud-clock-block {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hud-clock-row .live-clock {
  color: var(--gold, #e8a020);
}

[data-theme="dark"] .hud-clock-row .tz-abbr {
  color: #a0a0a0;
}

[data-theme="dark"] .hud-clock-block .live-date {
  color: #e5e5e5;
}

[data-theme="dark"] .hud-clock-block .live-date-hindu {
  color: #f59e0b;
}

[data-theme="dark"] .decision-hud-status {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .decision-hud-status .hud-eyebrow {
  color: #fbbf24;
}

[data-theme="dark"] .decision-hud-status .hud-title {
  color: #ffffff;
}

[data-theme="dark"] .decision-hud-status .hud-desc {
  color: #e2e8f0;
}

[data-theme="dark"] .hud-status--shubh {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
}

[data-theme="dark"] .hud-status--atishubh {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(212, 160, 23, 0.08));
  border-color: rgba(22, 163, 74, 0.4);
}

[data-theme="dark"] .hud-status--atishubh .hud-title,
[data-theme="dark"] .hud-status--shubh .hud-title {
  color: #fef08a;
}

[data-theme="dark"] .hud-status--atishubh .hud-desc,
[data-theme="dark"] .hud-status--shubh .hud-desc {
  color: #e2e8f0;
}

[data-theme="dark"] .hud-status--ashubh {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.4);
}

[data-theme="dark"] .hud-status--ashubh .hud-title {
  color: #f87171;
}

[data-theme="dark"] .hud-status--ashubh .hud-desc {
  color: #fecaca;
}

[data-theme="dark"] .hud-chip {
  background: #252525;
  border-color: #3e3e3e;
  color: #e0e0e0;
}

[data-theme="dark"] .hud-chip--share {
  box-shadow: none !important;
}

[data-theme="dark"] .hud-chip--abhijit {
  background: rgba(232, 160, 32, 0.12);
  border-color: rgba(232, 160, 32, 0.35);
  color: #fde047;
}

[data-theme="dark"] .hud-chip--rahu {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

[data-theme="dark"] .hero-choghadiya-wrap {
  background: rgba(18, 18, 24, 0.60);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .chog-ribbon-heading {
  color: #f8fafc;
}

[data-theme="dark"] .chog-ribbon-badge {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

[data-theme="dark"] .chog-slot-card {
  background: rgba(28, 28, 36, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

[data-theme="dark"] .chog-slot-card:hover {
  background: rgba(35, 35, 45, 0.70);
  border-color: rgba(245, 158, 11, 0.45);
}

/* Crisp Active Choghadiya Card in Dark Theme: Sharp Amber Border, Deep Contrast, Zero Top Clipping */
[data-theme="dark"] .chog-slot-card.active-chog {
  background: linear-gradient(180deg, #222228 0%, #151518 100%) !important;
  border: 2px solid #f59e0b !important;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.4), 0 8px 24px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .chog-slot-card.active-chog .chog-name {
  color: #ffffff;
  font-weight: 700;
}

[data-theme="dark"] .chog-slot-card.active-chog .chog-time {
  color: #f1f5f9;
  font-weight: 600;
}

[data-theme="dark"] .chog-now-tag,
[data-theme="dark"] .chog-slot-card.active-chog .chog-now-tag {
  background: #f59e0b;
  color: #0f172a;
  font-weight: 700;
  box-shadow: none !important;
  animation: none !important;
}

[data-theme="dark"] .chog-slot-card.active-chog .chog-ruler-tag {
  color: #94a3b8;
  font-weight: 500;
}

/* Dark Mode Quality Filter Pills */
[data-theme="dark"] .chog-q-pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}

[data-theme="dark"] .chog-q-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: #f1f5f9;
}

[data-theme="dark"] .chog-q-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

[data-theme="dark"] .chog-q-pill.ati-shubh.active {
  background: linear-gradient(135deg, #f59e0b, #b45309);
  border-color: #f59e0b;
  color: #0f172a;
  font-weight: 700;
}

[data-theme="dark"] .chog-q-pill.shubh.active {
  background: linear-gradient(135deg, #10b981, #047857);
  border-color: #10b981;
  color: #ffffff;
}

[data-theme="dark"] .chog-q-pill.ashubh.active {
  background: linear-gradient(135deg, #ef4444, #991b1b);
  border-color: #ef4444;
  color: #ffffff;
}

[data-theme="dark"] .chog-q-pill.neutral.active {
  background: linear-gradient(135deg, #64748b, #334155);
  border-color: #64748b;
  color: #ffffff;
}

/* Dark Mode Badges inside Choghadiya Cards */
[data-theme="dark"] .chog-badge--best {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
}

[data-theme="dark"] .chog-badge--good {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

[data-theme="dark"] .chog-badge--neutral {
  background: rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.35);
}

[data-theme="dark"] .chog-badge--bad {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

[data-theme="dark"] .chog-period-btn.active {
  background: #333;
  color: #fff;
}

[data-theme="dark"] .occ-cat-pill {
  background: #252525;
  border-color: #3e3e3e;
  color: #e0e0e0;
}

[data-theme="dark"] .occ-cat-pill.active {
  background: var(--saffron);
  border-color: var(--gold);
  color: #121212;
}

[data-theme="dark"] .type-card-meta-bar {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .occ-trust-strip {
  background: #181818;
  border-color: #333;
}

@media (max-width: 900px) {
  .decision-hud-main {
    flex-direction: column;
  }
  .chog-slots-scroll {
    grid-template-columns: repeat(8, 140px);
  }
}

@media (max-width: 600px) {
  .hero-decision-hud {
    padding: 1rem;
  }
  .hud-chip--share {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .decision-hud-quicklinks {
    flex-direction: column;
    align-items: stretch;
  }
  .chog-period-switcher {
    width: 100%;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   HERO CARD NAVIGATION & CHOGHADIYA SCROLL ARROWS
   ══════════════════════════════════════════════════════════════ */
.cur-card-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.5rem 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.m-nav-arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold, #e8a020);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 160, 32, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.m-nav-arrow-btn:hover {
  background: rgba(232, 160, 32, 0.15);
  border-color: var(--gold, #e8a020);
  transform: translateY(-1px);
}

.cur-nav-center {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cur-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}

.cur-top-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted, #a0a0a0);
}

.m-jump-current-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #121212;
  background: linear-gradient(135deg, #e8a020, #f59e0b);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(232, 160, 32, 0.4);
  transition: all 0.2s ease;
}

.m-jump-current-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(232, 160, 32, 0.6);
}

.m-jump-current-pill.hidden {
  display: none !important;
}

/* Choghadiya Header Controls & Scroll Arrows */
.chog-header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chog-arrows-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.chog-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text, #e0e0e0);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chog-arrow-btn:hover {
  background: rgba(232, 160, 32, 0.2);
  border-color: var(--gold, #e8a020);
  color: var(--gold, #e8a020);
  transform: translateY(-1px);
}

/* Light Theme Adaptations */
[data-theme="light"] .cur-card-top-nav {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .m-nav-arrow-btn {
  background: rgba(245, 158, 11, 0.08);
  color: #78350f;
  border-color: rgba(245, 158, 11, 0.35);
  font-weight: 700;
}

[data-theme="light"] .m-nav-arrow-btn:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: #b45309;
}

[data-theme="light"] .cur-top-tag {
  color: #475569;
  font-weight: 700;
}

[data-theme="light"] .chog-arrow-btn {
  background: #ffffff;
  border-color: rgba(199, 154, 60, 0.35);
  color: #1c1917;
}

[data-theme="light"] .chog-arrow-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: #b45309;
  color: #78350f;
}

/* ══════════════════════════════════════════════════════════════
   VEDIC GUIDE SECTION (Educational: Muhurat, Kaal, Choghadiya)
   Modern, elegant, high-contrast, zero thick colored left borders
   ══════════════════════════════════════════════════════════════ */
.vedic-guide-section {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(203, 102, 0, 0.03) 50%, transparent 100%);
  position: relative;
}

.guide-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(203, 102, 0, 0.1);
  color: var(--saffron);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(203, 102, 0, 0.25);
}

/* 1. Systems Grid (3 Columns) */
.guide-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 3rem;
}

@media (max-width: 900px) {
  .guide-systems-grid {
    grid-template-columns: 1fr;
  }
}

.guide-card {
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
  border: 1.5px solid var(--card-border);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.guide-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.guide-icon--gold {
  background: rgba(232, 160, 32, 0.15);
  color: var(--gold);
  border: 1px solid rgba(232, 160, 32, 0.3);
}

.guide-icon--saffron {
  background: rgba(203, 102, 0, 0.15);
  color: var(--saffron);
  border: 1px solid rgba(203, 102, 0, 0.3);
}

.guide-icon--rose {
  background: rgba(220, 38, 38, 0.15);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.guide-card-head {
  margin-bottom: 0.65rem;
}

.guide-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--saffron);
  display: block;
  margin-bottom: 0.25rem;
}

.guide-card-title {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--text-dark);
  font-weight: 700;
  margin: 0;
}

.guide-meta-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.45rem 0.7rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  margin: 0.75rem 0 0.9rem;
  border: 1px solid rgba(199, 154, 60, 0.15);
}

.guide-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 1.1rem;
  flex: 1;
}

.guide-use-box {
  background: rgba(199, 154, 60, 0.06);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(199, 154, 60, 0.22);
}

.guide-use-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.2rem;
}

.guide-use-box p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-dark);
  line-height: 1.45;
}

/* 2. Hierarchy Section */
.guide-hierarchy-container {
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem 2.2rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.guide-hierarchy-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1.2rem;
}

.guide-hierarchy-header h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.35rem 0;
}

.guide-hierarchy-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

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

.guide-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--card-border);
}

.guide-step-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), #e68a00);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(203, 102, 0, 0.3);
}

.guide-step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.35rem 0;
}

.guide-step-content p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
}

/* 3. Classification Breakdown (Tiers) */
.guide-classification-section {
  margin-bottom: 3.5rem;
}

.guide-classification-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.guide-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .guide-tiers-grid {
    grid-template-columns: 1fr;
  }
}

.guide-tier-card {
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
  border: 1.5px solid var(--card-border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.guide-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--card-border);
}

.guide-tier-pill {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.pill-best {
  background: #dcfce7;
  color: #15803d;
  border: 1.5px solid #86efac;
}

.pill-neutral {
  background: #f1f5f9;
  color: #334155;
  border: 1.5px solid #cbd5e1;
}

.pill-avoid {
  background: #fee2e2;
  color: #991b1b;
  border: 1.5px solid #fca5a5;
}

.tier-best {
  border-color: rgba(22, 163, 74, 0.4);
}

.tier-neutral {
  border-color: rgba(100, 116, 139, 0.35);
}

.tier-avoid {
  border-color: rgba(220, 38, 38, 0.35);
}

.guide-tier-body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex: 1;
}

.tier-group {
  font-size: 0.88rem;
  line-height: 1.5;
}

.tier-group strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.tier-group span {
  color: var(--text-dark);
  font-weight: 500;
}

.tier-action {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--card-border);
}

.tier-action p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-color);
}

/* 4. Frequently Asked Questions (Accordion) */
.guide-faq-section {
  max-width: 860px;
  margin: 0 auto;
}

.guide-faq-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.guide-faq-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.guide-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.guide-accordion-item {
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-2));
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-accordion-item:hover {
  border-color: var(--gold);
}

.guide-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.guide-accordion-btn:hover {
  color: var(--saffron);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--saffron);
}

.guide-accordion-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.guide-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 1.4rem;
  background: rgba(0, 0, 0, 0.02);
}

.guide-accordion-body.is-open {
  max-height: 300px;
  padding: 0.4rem 1.4rem 1.25rem;
}

.guide-accordion-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-color);
}

/* Light Theme Adaptations for Guide Section */
[data-theme="light"] .guide-card {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-color: rgba(199, 154, 60, 0.25);
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.04);
}

[data-theme="light"] .guide-card:hover {
  border-color: var(--saffron);
  box-shadow: 0 10px 24px rgba(44, 24, 16, 0.08);
}

[data-theme="light"] .guide-meta-strip {
  background: rgba(250, 248, 245, 0.65);
  border-color: rgba(199, 154, 60, 0.2);
}

[data-theme="light"] .guide-hierarchy-container {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-color: rgba(199, 154, 60, 0.25);
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.04);
}

[data-theme="light"] .guide-step-item {
  background: rgba(250, 248, 245, 0.65);
  border-color: rgba(199, 154, 60, 0.18);
}

[data-theme="light"] .guide-tier-card {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.04);
}

[data-theme="light"] .guide-accordion-item {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-color: rgba(199, 154, 60, 0.25);
}

[data-theme="light"] .guide-accordion-body {
  background: rgba(250, 248, 245, 0.65);
}

/* Dark Theme Adaptations for Guide Section */
[data-theme="dark"] .guide-card {
  background: rgba(20, 20, 26, 0.60);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .guide-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] .guide-meta-strip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.10);
  color: #cbd5e1;
}

[data-theme="dark"] .guide-hierarchy-container {
  background: rgba(20, 20, 26, 0.60);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .guide-step-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .guide-tier-card {
  background: rgba(20, 20, 26, 0.60);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .guide-accordion-item {
  background: rgba(20, 20, 26, 0.60);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .guide-accordion-btn {
  color: #f8fafc;
}

[data-theme="dark"] .guide-accordion-body {
  background: rgba(14, 14, 18, 0.85);
}

[data-theme="dark"] .guide-accordion-body p {
  color: #cbd5e1;
}

[data-theme="dark"] .guide-card-title {
  color: #f8fafc;
}

[data-theme="dark"] .guide-card-desc {
  color: #cbd5e1;
}

[data-theme="dark"] .guide-use-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .guide-use-box p {
  color: #e2e8f0;
}

[data-theme="dark"] .guide-hierarchy-header h3 {
  color: #f8fafc;
}

[data-theme="dark"] .guide-hierarchy-header p {
  color: #94a3b8;
}

[data-theme="dark"] .guide-step-content h4 {
  color: #f8fafc;
}

[data-theme="dark"] .guide-step-content p {
  color: #cbd5e1;
}

[data-theme="dark"] .guide-classification-title {
  color: #f8fafc;
}

[data-theme="dark"] .guide-faq-title {
  color: #f8fafc;
}

[data-theme="dark"] .guide-faq-desc {
  color: #94a3b8;
}

[data-theme="dark"] .tier-group span {
  color: #f1f5f9;
}

[data-theme="dark"] .tier-action p {
  color: #cbd5e1;
}





/* ==========================================================================
 * RASHI & VEDIC RASHI NAMES STYLES (Light & Dark Mode Glassmorphism)
 * ========================================================================== */

.rashi-page-main,
.rashi-names-page {
  padding: 1.5rem 0 4rem;
}

.rashi-hero-section {
  text-align: center;
  margin-bottom: 2.5rem;
}

.rashi-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.14);
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.rashi-hero-title {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.rashi-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}

/* Location HUD Bar */
.rashi-location-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 1.3rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(199, 154, 60, 0.3);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.loc-hud-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.loc-hud-left .loc-icon {
  color: #f59e0b;
}

.loc-city {
  color: #b45309;
  font-weight: 700;
}

.btn-change-city,
.btn-gps-detect {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 154, 60, 0.35);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-change-city:hover,
.btn-gps-detect:hover {
  background: #f59e0b;
  color: #ffffff;
}

.btn-share-rashi {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-share-rashi:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

/* Today's Rashi Card & Summary Grid */
.today-rashi-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.32);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.rashi-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.4rem;
  margin-bottom: 1.8rem;
}

.rashi-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(199, 154, 60, 0.25);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.rashi-box:hover {
  transform: translateY(-2px);
}

.rashi-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.rashi-box-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rashi-status-live {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.rashi-status-timer {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.16);
  color: #b45309;
}

.rashi-box-body {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.rashi-box-symbol {
  font-size: 2.8rem;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.25) 100%);
  color: #d97706;
  flex-shrink: 0;
}

.rashi-box-meta {
  flex: 1;
}

.rashi-box-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.rashi-box-lord {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d97706;
  margin-bottom: 0.35rem;
}

.rashi-box-duration {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.rashi-box-letters {
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.rashi-box-letters .label {
  color: #78350f;
  margin-right: 0.4rem;
}

.rashi-box-letters strong {
  color: #b45309;
}

.rashi-box-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.02);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-view-rashi-names {
  display: block;
  text-align: center;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  background: #f59e0b;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-view-rashi-names:hover {
  background: #d97706;
  color: #ffffff;
}

/* 24-Hour Lagna Schedule Table */
.lagna-schedule-wrapper {
  border-top: 1px solid rgba(199, 154, 60, 0.25);
  padding-top: 1.4rem;
}

.lagna-schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.lagna-schedule-header h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.lagna-sched-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.lagna-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.8rem;
}

.lagna-slot-card {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(199, 154, 60, 0.2);
  transition: all 0.2s ease;
}

.lagna-slot-card.active-lagna {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.22) 100%);
  border: 1.5px solid #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.l-slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.l-sym {
  font-size: 1.25rem;
  color: #d97706;
}

.l-now-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #f59e0b;
  color: #ffffff;
}

.l-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.2rem;
}

.l-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 12 Rashis Directory Grid */
.all-rashis-section {
  margin: 3.5rem 0 2.5rem;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title-wrap h2 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

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

.rashi-grid-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rashi-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.r-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.r-card-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.r-card-symbol {
  font-size: 2.2rem;
  color: #d97706;
}

.r-card-element {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.r-card-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.r-card-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.r-card-en-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.r-card-keyvals {
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
}

.r-kv-row {
  display: flex;
  justify-content: space-between;
  padding: 0.15rem 0;
}

.r-k {
  color: var(--text-muted);
}

.r-v {
  color: var(--text-dark);
}

.r-card-letters-wrap {
  margin-bottom: 0.8rem;
}

.letters-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 0.35rem;
}

.letters-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.ltr-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.r-card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.1rem;
  flex: 1;
}

.r-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.btn-r-name-cta {
  display: block;
  text-align: center;
  padding: 0.5rem 0.4rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-r-name-cta.male-cta {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.btn-r-name-cta.male-cta:hover {
  background: #2563eb;
  color: #ffffff;
}

.btn-r-name-cta.female-cta {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
  border: 1px solid rgba(236, 72, 153, 0.25);
}

.btn-r-name-cta.female-cta:hover {
  background: #db2777;
  color: #ffffff;
}

/* Rashi Guide & Educational Section */
.rashi-guide-section {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.32);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3rem;
}

.rashi-guide-section h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.guide-grid-faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.guide-faq-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid rgba(199, 154, 60, 0.2);
}

.guide-faq-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 0.5rem;
}

.guide-faq-card p {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
 * RASHI NAMES GUIDE STYLES
 * ========================================================================== */

.rashi-names-hero {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.32);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.r-names-hero-top {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  margin-bottom: 1.5rem;
}

.r-hero-symbol {
  font-size: 3.5rem;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.3) 100%);
  color: #d97706;
  flex-shrink: 0;
}

.r-hero-meta {
  flex: 1;
}

.r-hero-eyebrow {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.badge-r-lord,
.badge-r-elem {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.r-hero-title {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.r-hero-gender-tag {
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.r-hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Syllables box */
.r-hero-syllables-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.syllables-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #78350f;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.syllables-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.btn-syllable-filter {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 154, 60, 0.35);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-syllable-filter:hover,
.btn-syllable-filter.active {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
}

/* Controls Bar */
.r-names-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(199, 154, 60, 0.2);
}

.gender-nav-tabs {
  display: flex;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}

.gender-tab {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gender-tab:hover {
  color: var(--text-dark);
}

.gender-tab.active {
  background: #ffffff;
  color: #d97706;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.demo-loc-selector-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.select-demo-state {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(199, 154, 60, 0.35);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.r-names-search-wrap {
  position: relative;
  min-width: 240px;
}

.r-names-search-wrap .search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.r-names-search-wrap input {
  width: 100%;
  padding: 0.45rem 0.85rem 0.45rem 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 154, 60, 0.35);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  outline: none;
  color: var(--text-dark);
}

/* Names Cards Container */
.names-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.count-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: #b45309;
}

.guide-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.names-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.name-entry-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.name-entry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.name-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.name-title-group {
  display: flex;
  flex-direction: column;
}

.name-hi {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.name-en {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.name-top-badges {
  display: flex;
  gap: 0.35rem;
}

.badge-syllable {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: #92400e;
}

.badge-numerology {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
}

.name-meaning-box {
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius);
  padding: 0.85rem;
  margin-bottom: 0.9rem;
}

.meaning-hi {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.meaning-hi i {
  color: #d97706;
  flex-shrink: 0;
  margin-top: 3px;
}

.name-deity-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #78350f;
}

.name-deity-row i {
  color: #f59e0b;
}

.name-demo-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.18);
  font-size: 0.78rem;
  color: #1e3a8a;
  margin-bottom: 1.1rem;
}

.demo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.name-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(199, 154, 60, 0.2);
}

.name-feedback-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.feedback-prompt {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-name-vote {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.btn-name-vote:hover {
  background: #f1f5f9;
}

.btn-name-vote.voted {
  background: rgba(22, 163, 74, 0.15);
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.35);
}

.name-share-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-copy-name,
.btn-share-name-wa {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(199, 154, 60, 0.3);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.btn-copy-name:hover {
  background: #f59e0b;
  color: #ffffff;
}

.btn-share-name-wa {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.btn-share-name-wa:hover {
  background: #1eb954;
}

/* Rashi Switch Carousel */
.rashi-switch-carousel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.32);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  margin-bottom: 2.5rem;
}

.rashi-switch-carousel h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.rashi-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-rashi-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(199, 154, 60, 0.3);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.chip-rashi-nav:hover,
.chip-rashi-nav.active {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
}

/* Namkaran Guide Box */
.namkaran-guide-box {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.32);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.namkaran-guide-box h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.guide-cols-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.guide-col h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 0.5rem;
}

.guide-col p {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

/* Modals & Backdrop */
.city-modal-backdrop,
.feedback-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.city-modal-content,
.feedback-modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1.5px solid rgba(199, 154, 60, 0.4);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 1.8rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}

.city-modal-header,
.feedback-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0.8rem;
}

.city-modal-header h3,
.feedback-modal-header h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.btn-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
}

.btn-modal-close:hover {
  color: var(--text-dark);
}

.city-quick-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.btn-city-chip {
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(199, 154, 60, 0.3);
  background: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-city-chip:hover {
  background: #f59e0b;
  color: #ffffff;
}

.city-custom-input-wrap label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.input-with-btn {
  display: flex;
  gap: 0.5rem;
}

.input-with-btn input {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 0.88rem;
  outline: none;
}

.btn-save-custom-city,
.btn-submit-feedback {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  background: #f59e0b;
  color: #ffffff;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
}

.input-readonly {
  background: #f1f5f9;
  font-weight: 700;
  color: #b45309;
}

.fb-status-msg {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.8rem;
  text-align: center;
}

/* Toast popup */
.rashi-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1e293b;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  animation: fadeIn 0.2s ease;
}

/* ==========================================================================
 * DARK THEME ADAPTATIONS FOR RASHI & RASHI NAMES
 * ========================================================================== */

[data-theme="dark"] .rashi-hero-title,
[data-theme="dark"] .r-hero-title,
[data-theme="dark"] .r-card-name,
[data-theme="dark"] .name-hi,
[data-theme="dark"] .rashi-box-name,
[data-theme="dark"] .l-name,
[data-theme="dark"] .lagna-schedule-header h4,
[data-theme="dark"] .section-title-wrap h2,
[data-theme="dark"] .rashi-guide-section h2,
[data-theme="dark"] .rashi-switch-carousel h3,
[data-theme="dark"] .namkaran-guide-box h2,
[data-theme="dark"] .city-modal-header h3,
[data-theme="dark"] .feedback-modal-header h3 {
  color: #f8fafc;
}

[data-theme="dark"] .rashi-location-hud,
[data-theme="dark"] .today-rashi-card,
[data-theme="dark"] .rashi-grid-card,
[data-theme="dark"] .rashi-guide-section,
[data-theme="dark"] .rashi-names-hero,
[data-theme="dark"] .name-entry-card,
[data-theme="dark"] .rashi-switch-carousel,
[data-theme="dark"] .namkaran-guide-box {
  background: rgba(18, 18, 24, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .rashi-box,
[data-theme="dark"] .lagna-slot-card,
[data-theme="dark"] .guide-faq-card {
  background: rgba(28, 28, 36, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .lagna-slot-card.active-lagna {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.35) 100%);
  border-color: #f59e0b;
}

[data-theme="dark"] .name-meaning-box,
[data-theme="dark"] .r-card-keyvals {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .meaning-hi,
[data-theme="dark"] .guide-faq-card p,
[data-theme="dark"] .guide-col p,
[data-theme="dark"] .loc-hud-left {
  color: #e2e8f0;
}

[data-theme="dark"] .r-card-desc,
[data-theme="dark"] .r-hero-desc,
[data-theme="dark"] .rashi-hero-subtitle,
[data-theme="dark"] .l-time,
[data-theme="dark"] .rashi-box-info {
  color: #94a3b8;
}

[data-theme="dark"] .rashi-hero-badge {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

[data-theme="dark"] .r-hero-syllables-box {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .syllables-title {
  color: #fbbf24;
}

[data-theme="dark"] .btn-syllable-filter,
[data-theme="dark"] .btn-change-city,
[data-theme="dark"] .btn-gps-detect,
[data-theme="dark"] .chip-rashi-nav {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

[data-theme="dark"] .btn-syllable-filter:hover,
[data-theme="dark"] .btn-syllable-filter.active,
[data-theme="dark"] .chip-rashi-nav:hover,
[data-theme="dark"] .chip-rashi-nav.active {
  background: #f59e0b;
  color: #0f172a;
  border-color: #f59e0b;
}

[data-theme="dark"] .gender-nav-tabs {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .gender-tab {
  color: #94a3b8;
}

[data-theme="dark"] .gender-tab.active {
  background: #f59e0b;
  color: #0f172a;
}

[data-theme="dark"] .select-demo-state,
[data-theme="dark"] .r-names-search-wrap input {
  background: rgba(28, 28, 36, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f8fafc;
}

[data-theme="dark"] .name-demo-pill {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

[data-theme="dark"] .name-deity-row {
  color: #fbbf24;
}

[data-theme="dark"] .btn-name-vote,
[data-theme="dark"] .btn-copy-name {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
}

[data-theme="dark"] .btn-name-vote:hover,
[data-theme="dark"] .btn-copy-name:hover {
  background: #f59e0b;
  color: #0f172a;
}

[data-theme="dark"] .city-modal-content,
[data-theme="dark"] .feedback-modal-content {
  background: rgba(22, 22, 28, 0.96);
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .btn-city-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

[data-theme="dark"] .btn-city-chip:hover {
  background: #f59e0b;
  color: #0f172a;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .input-with-btn input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
}

[data-theme="dark"] .input-readonly {
  background: rgba(255, 255, 255, 0.04);
  color: #fbbf24;
}

/* ==========================================================================
   SPACIOUS FULL-CONTAINER MEGA MENU NAVIGATION
   ========================================================================== */
.site-header .container {
  position: relative;
  max-width: 1280px;
}

.header-inner {
  position: relative;
  height: 100%;
}

.desktop-nav {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

.mega-menu-item {
  position: static;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav-has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  height: 100%;
  padding: 0 10px;
}

.nav-arrow {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1px;
}

.mega-menu-item:hover .nav-arrow,
.mega-menu-item.is-hovered .nav-arrow {
  transform: rotate(180deg);
}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  background: var(--card-bg, rgba(255, 255, 255, 0.96));
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.35));
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 26px 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 1000;
}

/* ── Invisible Hover Bridge: Eliminates mouse gap between nav link and dropdown ── */
.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
  pointer-events: auto;
}

.mega-menu-item:hover .mega-dropdown,
.mega-menu-item.is-hovered .mega-dropdown,
.mega-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-dropdown-grid {
  display: grid;
  gap: 26px;
}

.mega-grid-4 {
  grid-template-columns: 1fr 1fr 1fr 280px;
  align-items: stretch;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold, #d97706);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(217, 119, 6, 0.3);
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dark, #1c1917);
  transition: background 0.15s ease, transform 0.15s ease;
}

.mega-link:hover {
  background: rgba(217, 119, 6, 0.12);
  transform: translateX(4px);
}

.mega-link-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold, #d97706);
}

.mega-link-text strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}

.mega-link-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted, #78716c);
  margin-top: 2px;
  line-height: 1.35;
}

/* 30 Muhurats Compact Sublist */
.mega-sublist {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mega-link-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-dark, #1c1917);
  font-size: 0.85rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.mega-link-compact:hover {
  background: rgba(217, 119, 6, 0.12);
  transform: translateX(3px);
}

.mega-link-compact.highlight-slot {
  background: rgba(217, 119, 6, 0.14);
  font-weight: 600;
}

.slot-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-deep, #b45309);
  flex-shrink: 0;
}

.text-shubh { color: #16a34a; font-size: 0.72rem; margin-left: 4px; font-weight: 600; }
.text-atishubh { color: #d97706; font-size: 0.72rem; margin-left: 4px; font-weight: 700; }
.text-ashubh { color: #dc2626; font-size: 0.72rem; margin-left: 4px; }
.text-neutral { color: #64748b; font-size: 0.72rem; margin-left: 4px; }

/* 12 Rashi Mega Rows */
.rashi-mega-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rashi-row-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-dark, #1c1917);
  transition: all 0.15s ease;
}

.rashi-row-link:hover,
.rashi-row-highlight {
  background: rgba(217, 119, 6, 0.14);
  border-color: rgba(217, 119, 6, 0.35);
  transform: translateX(3px);
}

.r-symbol {
  font-size: 1.25rem;
  color: var(--gold, #d97706);
  flex-shrink: 0;
  line-height: 1;
}

.r-meta strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
}

.r-meta span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted, #78716c);
  margin-top: 1px;
}

/* Featured Column */
.mega-featured-col {
  display: flex;
}

.mega-featured-card {
  background: linear-gradient(145deg, rgba(217, 119, 6, 0.12), rgba(154, 52, 18, 0.08));
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.featured-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gold, #d97706);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.mega-featured-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.mega-featured-card p {
  font-size: 0.82rem;
  color: var(--text-soft, #44403c);
  margin-bottom: 16px;
  line-height: 1.45;
}

.mega-mini-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.mega-mini-hint .mini-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.mega-mini-hint .mini-link:hover {
  text-decoration: underline;
}

/* Dark mode overrides for mega menu */
[data-theme="dark"] .mega-dropdown {
  background: rgba(18, 18, 24, 0.98);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .mega-link {
  color: #f1f5f9;
}

[data-theme="dark"] .mega-link-compact {
  color: #f1f5f9;
}

[data-theme="dark"] .slot-num {
  background: rgba(255, 255, 255, 0.08);
  color: #fbbf24;
}

[data-theme="dark"] .rashi-row-link {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

[data-theme="dark"] .mega-link-text span,
[data-theme="dark"] .r-meta span {
  color: #94a3b8;
}

[data-theme="dark"] .mega-featured-card h4 {
  color: #f8fafc;
}

[data-theme="dark"] .mega-featured-card p {
  color: #cbd5e1;
}

/* ==========================================================================
   HEADER SHAGUN BUTTON & SHAGUN MODAL
   ========================================================================== */
.btn-header-shagun {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(234, 179, 8, 0.45);
  border-radius: 20px;
  color: var(--gold, #d97706);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-header-shagun:hover {
  background: rgba(234, 179, 8, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}

[data-theme="dark"] .btn-header-shagun {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.5);
}

.shagun-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
}

.shagun-modal.shagun-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.shagun-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.shagun-dialog {
  position: relative;
  width: 90%;
  max-width: 520px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.3));
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  z-index: 10001;
}

[data-theme="dark"] .shagun-dialog {
  background: rgba(22, 22, 28, 0.98);
  border-color: rgba(251, 191, 36, 0.35);
}

.shagun-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.15s;
}

.shagun-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

.shagun-kalash-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.shagun-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--gold-deep, #b45309);
}

[data-theme="dark"] .shagun-title {
  color: #fbbf24;
}

.shagun-sub {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.45;
}

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

.shagun-amt-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.amt-bless {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  margin-top: 2px;
}

.shagun-amt-btn.active,
.shagun-amt-btn:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  border-color: #b45309;
}

.shagun-amt-btn.active .amt-bless,
.shagun-amt-btn:hover .amt-bless {
  color: #fef3c7;
}

.custom-amt-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.currency-symbol {
  position: absolute;
  left: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.custom-amt-input {
  width: 100%;
  padding: 10px 14px 10px 32px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.02);
  font-size: 1rem;
}

.shagun-upi-card {
  background: rgba(217, 119, 6, 0.06);
  border: 1px dashed rgba(217, 119, 6, 0.35);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
}

.upi-id-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
}

.upi-code {
  color: var(--gold-deep, #b45309);
  font-family: monospace;
  font-size: 1.1rem;
}

[data-theme="dark"] .upi-code {
  color: #f59e0b;
}

.copy-upi-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
}

.upi-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.shagun-blessing-quote {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 16px;
}

.btn-shagun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
  transition: transform 0.15s ease;
}

.btn-shagun:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

/* ==========================================================================
   5-COLUMN VEDIC FOOTER REVAMP
   ========================================================================== */
.footer-grid-5 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}

.footer-icon-gold {
  color: var(--gold, #d97706);
  vertical-align: middle;
  margin-right: 4px;
}

.footer-shagun-box {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-shagun-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--gold);
}

/* ==========================================================================
   IN-WEBSITE VEDIC AI CHATBOT ("RISHI VANI AI")
   ========================================================================== */
.chat-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.chat-launcher-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #d97706, #9a3412);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(180, 83, 9, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-launcher-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(180, 83, 9, 0.55);
}

.chat-launcher-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 32px;
  border: 2px solid #fbbf24;
  animation: pulseLauncher 2s infinite;
  pointer-events: none;
}

@keyframes pulseLauncher {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.chat-drawer {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--card-bg, #fff);
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.35));
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.chat-drawer.chat-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

[data-theme="dark"] .chat-drawer {
  background: rgba(18, 18, 24, 0.97);
  border-color: rgba(251, 191, 36, 0.3);
}

.chat-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(154, 52, 18, 0.1));
  border-bottom: 1px solid var(--card-border);
}

.chat-header-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d97706, #9a3412);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.chat-title {
  font-size: 1rem;
  margin: 0;
  line-height: 1.2;
}

.chat-badge-ai {
  font-size: 0.65rem;
  background: var(--gold);
  color: #fff;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

.chat-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0;
}

.chat-header-actions {
  display: flex;
  gap: 6px;
}

.chat-tool-btn,
.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.15s;
}

.chat-tool-btn:hover,
.chat-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

.chat-messages-scroll {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}

.chat-bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble-bot {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}

[data-theme="dark"] .chat-bubble-bot {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.chat-suggestion-chip {
  margin-top: 8px;
}

.chat-url-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-deep, #b45309);
  text-decoration: none;
  transition: background 0.15s;
}

.chat-url-link:hover {
  background: rgba(217, 119, 6, 0.28);
}

[data-theme="dark"] .chat-url-link {
  color: #fbbf24;
}

.chat-feedback-prompt {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-feedback-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0 4px;
}

.chat-feedback-link {
  color: var(--gold);
  text-decoration: none;
}

.chat-quick-chips {
  padding: 6px 14px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
}

.quick-chip {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 0.72rem;
  cursor: pointer;
  color: var(--text-soft);
}

.quick-chip:hover {
  background: rgba(217, 119, 6, 0.15);
  border-color: var(--gold);
}

.chat-input-row {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 8px;
  border-top: 1px solid var(--card-border);
}

.chat-mic-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
}

.chat-mic-btn.mic-active {
  background: #ef4444;
  color: #fff;
  border-color: #dc2626;
  animation: pulseMic 1.2s infinite;
}

@keyframes pulseMic {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.chat-input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.03);
  font-size: 0.88rem;
  color: var(--text-dark);
}

[data-theme="dark"] .chat-input {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.chat-send-btn {
  background: var(--gold, #d97706);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chat-footer-footnote {
  padding: 4px 14px 8px;
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.typing-bubble .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 3px;
  animation: typingDot 1.4s infinite;
}
.typing-bubble .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* ==========================================================================
   GLOBAL APPLE-GRADE GLASSMORPHISM PANELS & CARDS (Used Across All Pages)
   ========================================================================== */
.glass-panel,
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.28));
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(44, 24, 16, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

[data-theme="dark"] .glass-panel,
[data-theme="dark"] .glass-card {
  background: rgba(18, 18, 24, 0.78);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.glass-panel:hover,
.glass-card:hover {
  border-color: rgba(199, 154, 60, 0.45);
}

[data-theme="dark"] .glass-panel:hover,
[data-theme="dark"] .glass-card:hover {
  border-color: rgba(234, 179, 8, 0.35);
}

/* ── Universal Breadcrumb Navigation ── */
.breadcrumb-bar,
.breadcrumb-nav {
  padding: 16px 0 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb-list a,
.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.breadcrumb-list a:hover,
.breadcrumb-nav a:hover {
  color: var(--gold, #d97706);
}

.breadcrumb-list .separator,
.breadcrumb-nav .sep {
  color: rgba(199, 154, 60, 0.4);
}

.breadcrumb-list [aria-current="page"],
.breadcrumb-nav .current {
  color: var(--gold, #d97706);
  font-weight: 600;
}

/* ==========================================================================
   UNIFIED SUBPAGE HERO SYSTEM (FAQs, About, Feedback, Books, News, Matching)
   ========================================================================== */
.faqs-page-main,
.about-page-main,
.feedback-page-wrapper,
.books-page-wrapper,
.news-page-wrapper,
.matching-page-wrapper {
  padding-top: 24px;
  padding-bottom: 80px;
}

.faqs-hero-section,
.about-hero-section,
.feedback-hero-section,
.books-hero-section,
.matching-hero-section,
.news-hub-hero {
  text-align: center;
  padding: 20px 0 36px;
}

.faqs-hero-badge,
.about-hero-badge,
.feedback-badge-pill,
.books-badge-pill,
.matching-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.32);
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

[data-theme="dark"] .faqs-hero-badge,
[data-theme="dark"] .about-hero-badge,
[data-theme="dark"] .feedback-badge-pill,
[data-theme="dark"] .books-badge-pill,
[data-theme="dark"] .matching-badge-pill {
  color: #fbbf24;
  background: rgba(234, 179, 8, 0.15);
  border-color: rgba(234, 179, 8, 0.35);
}

.faqs-hero-title,
.about-hero-title,
.feedback-hero-title,
.books-hero-title,
.matching-hero-title,
.news-hub-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark, #1c1917);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

[data-theme="dark"] .faqs-hero-title,
[data-theme="dark"] .about-hero-title,
[data-theme="dark"] .feedback-hero-title,
[data-theme="dark"] .books-hero-title,
[data-theme="dark"] .matching-hero-title,
[data-theme="dark"] .news-hub-heading {
  color: #f8fafc;
}

.faqs-hero-subtitle,
.about-hero-subtitle,
.feedback-hero-subtitle,
.books-hero-subtitle,
.matching-hero-subtitle,
.news-hub-sub {
  font-size: 1.05rem;
  color: var(--text-muted, #78716c);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

[data-theme="dark"] .faqs-hero-subtitle,
[data-theme="dark"] .about-hero-subtitle,
[data-theme="dark"] .feedback-hero-subtitle,
[data-theme="dark"] .books-hero-subtitle,
[data-theme="dark"] .matching-hero-subtitle,
[data-theme="dark"] .news-hub-sub {
  color: #94a3b8;
}

/* ==========================================================================
   FAQS PAGE STYLES (Search, Category Pills, Accordion & AI Card)
   ========================================================================== */
.faqs-search-wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.faqs-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold, #d97706);
  pointer-events: none;
}

#faqs-search-input {
  width: 100%;
  height: 52px;
  padding: 0 20px 0 54px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid var(--card-border, rgba(199, 154, 60, 0.35));
  font-size: 0.98rem;
  color: var(--text-dark, #1c1917);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] #faqs-search-input {
  background: rgba(18, 18, 24, 0.82);
  border-color: rgba(234, 179, 8, 0.3);
  color: #f8fafc;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

#faqs-search-input:focus {
  outline: none;
  border-color: var(--gold, #d97706);
  box-shadow: 0 0 0 3.5px rgba(217, 119, 6, 0.25), 0 8px 30px rgba(0, 0, 0, 0.15);
}

.faqs-categories-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.25));
  border-radius: 9999px;
  padding: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 0 auto;
}

[data-theme="dark"] .faqs-categories-bar {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--text-soft, #64748b);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .faq-cat-btn {
  color: #94a3b8;
}

.faq-cat-btn:hover {
  color: var(--text-dark, #1c1917);
  background: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .faq-cat-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}

.faq-cat-btn.active {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff !important;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.35);
}

.faqs-accordion-section {
  max-width: 920px;
  margin: 0 auto 3rem;
  padding: 30px 34px;
}

.faqs-counter-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--card-border, rgba(199, 154, 60, 0.2));
  font-size: 0.88rem;
  color: var(--text-muted);
}

.btn-expand-all {
  background: transparent;
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.3));
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold, #d97706);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-expand-all:hover {
  background: rgba(217, 119, 6, 0.12);
  border-color: var(--gold, #d97706);
}

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

.faq-item-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.2));
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .faq-item-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.faq-item-card[open] {
  border-color: var(--gold, #d97706);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .faq-item-card[open] {
  background: rgba(28, 28, 36, 0.85);
  border-color: rgba(234, 179, 8, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.faq-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker,
.faq-summary::marker {
  display: none;
}

.faq-cat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(217, 119, 6, 0.12);
  color: var(--gold-deep, #b45309);
  white-space: nowrap;
}

[data-theme="dark"] .faq-cat-tag {
  color: #fbbf24;
  background: rgba(234, 179, 8, 0.15);
}

.faq-question {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark, #1c1917);
  margin: 0;
  line-height: 1.4;
}

[data-theme="dark"] .faq-question {
  color: #f1f5f9;
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item-card[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold, #d97706);
}

.faq-answer-body {
  padding: 0 22px 22px 64px;
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--text-soft, #4b5563);
}

[data-theme="dark"] .faq-answer-body {
  color: #cbd5e1;
}

.faq-answer-body p {
  margin: 0;
}

.faqs-ask-ai-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 26px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.ask-ai-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ask-ai-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.ask-ai-text h3 {
  font-size: 1.18rem;
  color: var(--text-dark, #1c1917);
  margin: 0 0 4px;
  font-family: var(--serif);
}

[data-theme="dark"] .ask-ai-text h3 {
  color: #f8fafc;
}

.ask-ai-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.ask-ai-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   ABOUT US PAGE STYLES (Story, Stats Grid, Pillars, Engine & Links)
   ========================================================================== */
.about-story-section {
  max-width: 1040px;
  margin: 0 auto 3.5rem;
  padding: 38px 42px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 44px;
  align-items: center;
}

.story-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold, #d97706);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 8px;
}

.story-content h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--text-dark, #1c1917);
  margin: 0 0 16px;
  line-height: 1.3;
}

[data-theme="dark"] .story-content h2 {
  color: #f8fafc;
}

.story-content p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-soft, #4b5563);
  margin-bottom: 16px;
}

[data-theme="dark"] .story-content p {
  color: #cbd5e1;
}

.story-stats-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.25));
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .stat-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--gold, #d97706);
  display: block;
  line-height: 1.1;
}

.stat-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}

.about-pillars-section {
  max-width: 1040px;
  margin: 0 auto 3.5rem;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.section-title-wrap h2 {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--text-dark, #1c1917);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

[data-theme="dark"] .section-title-wrap h2 {
  color: #f8fafc;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pillar-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.12);
  color: var(--gold, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .pillar-icon {
  background: rgba(234, 179, 8, 0.15);
  color: #fbbf24;
}

.pillar-card h3 {
  font-size: 1.15rem;
  color: var(--text-dark, #1c1917);
  margin: 0;
  font-family: var(--serif);
}

[data-theme="dark"] .pillar-card h3 {
  color: #f8fafc;
}

.pillar-card p {
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--text-soft, #4b5563);
  margin: 0;
}

[data-theme="dark"] .pillar-card p {
  color: #94a3b8;
}

.about-engine-section {
  max-width: 1040px;
  margin: 0 auto 3.5rem;
  padding: 38px 42px;
}

.engine-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.engine-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(217, 119, 6, 0.12);
  color: var(--gold, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.engine-text h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--text-dark, #1c1917);
  margin: 0 0 12px;
}

[data-theme="dark"] .engine-text h2 {
  color: #f8fafc;
}

.engine-text p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 20px;
}

.engine-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ef-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

[data-theme="dark"] .ef-item {
  color: #cbd5e1;
}

.ef-item i {
  color: #10b981;
  flex-shrink: 0;
}

.about-ctas-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 38px 42px;
  text-align: center;
}

.about-ctas-section h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--text-dark);
  margin: 0 0 24px;
}

[data-theme="dark"] .about-ctas-section h2 {
  color: #f8fafc;
}

.about-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-link-box {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.25));
  border-radius: 14px;
  padding: 22px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .about-link-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.about-link-box:hover {
  transform: translateY(-3px);
  border-color: var(--gold, #d97706);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.18);
}

.about-link-box i {
  color: var(--gold, #d97706);
  margin-bottom: 4px;
}

.about-link-box h4 {
  font-size: 1.05rem;
  font-family: var(--serif);
  color: var(--text-dark);
  margin: 0;
}

[data-theme="dark"] .about-link-box h4 {
  color: #f8fafc;
}

.about-link-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   FEEDBACK & ROADMAP PAGE STYLES
   ========================================================================== */
.feedback-stats-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.f-stat-card {
  background: var(--card-bg, rgba(255, 255, 255, 0.85));
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.25));
  border-radius: 14px;
  padding: 16px 26px;
  min-width: 140px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
}

[data-theme="dark"] .f-stat-card {
  background: rgba(18, 18, 24, 0.75);
  border-color: rgba(255, 255, 255, 0.09);
}

.f-stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.f-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.f-stat-completed .f-stat-num { color: #10b981; }
.f-stat-progress .f-stat-num { color: #f59e0b; }
.f-stat-review .f-stat-num { color: #3b82f6; }

.feedback-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
}

.feedback-form-card {
  padding: 28px;
  border-radius: 16px;
}

.feed-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.feed-filter-chips {
  display: flex;
  gap: 6px;
}

.feed-filter-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-soft);
  transition: all 0.15s ease;
}

.feed-filter-btn.active,
.feed-filter-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.feedback-cards-stream {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feedback-item-card {
  padding: 20px;
  border-radius: 14px;
}

.item-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.status-completed {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-progress {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-received {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.item-title {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.item-desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.45;
  margin-bottom: 12px;
}

.item-admin-note {
  background: rgba(217, 119, 6, 0.08);
  border: 1px dashed rgba(217, 119, 6, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.note-label {
  font-weight: 700;
  color: var(--gold-deep);
  margin-right: 6px;
}

.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BOOKS TO READ GUIDE
   ========================================================================== */
.books-grid-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.book-item-card {
  padding: 28px;
  border-radius: 16px;
}

.book-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.book-num-badge {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
}

.book-status-pill {
  font-size: 0.75rem;
  background: rgba(217, 119, 6, 0.12);
  color: var(--gold-deep);
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.book-content-split {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
}

.book-title-hi {
  font-size: 1.6rem;
  margin-bottom: 2px;
}

.book-title-en {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.book-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.attr-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.78rem;
}

[data-theme="dark"] .attr-pill {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.book-overview-box,
.book-topics-box,
.book-why-box {
  margin-bottom: 16px;
}

.box-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.box-text,
.why-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.book-topics-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 0.85rem;
}

.book-action-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px dashed var(--card-border);
  padding-left: 20px;
}

.book-cover-mockup {
  width: 130px;
  height: 180px;
  background: linear-gradient(135deg, #b45309, #78350f);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  padding: 12px;
  margin-bottom: 14px;
  border: 2px solid rgba(251, 191, 36, 0.4);
}

.mockup-om {
  font-size: 2rem;
  margin-bottom: 8px;
}

.mockup-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.mockup-author {
  font-size: 0.68rem;
  color: #fde68a;
  margin-top: 6px;
}

.book-rating-box {
  margin-bottom: 12px;
}

.affiliate-disclosure {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==========================================================================
   DAILY & TOMORROW NEWS ENGINE
   ========================================================================== */
.news-subnav-ribbon {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 10px 0;
  backdrop-filter: blur(3px);
  margin-bottom: 30px;
}

.news-pills-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.news-nav-pill {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--text-soft);
  white-space: nowrap;
  transition: all 0.15s ease;
}

.news-nav-pill.active,
.news-nav-pill:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-featured-card {
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.78rem;
}

.badge-cat {
  background: rgba(217, 119, 6, 0.15);
  color: var(--gold-deep);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.news-featured-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-featured-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.news-featured-card h3 a:hover {
  color: var(--gold);
}

.news-featured-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}

.read-more-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.rashifal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rashi-forecast-card {
  padding: 20px;
  border-radius: 14px;
}

.rashi-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rashi-sym {
  font-size: 2rem;
}

.rashi-name {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.rashi-lord {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.forecast-body {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.rashi-sub-link {
  font-size: 0.8rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.muhurat-summary-box {
  padding: 30px;
  border-radius: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.muhurat-key-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.key-box {
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.key-shubh { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.3); }
.key-ashubh { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); }
.key-amrit { background: rgba(217, 119, 6, 0.12); border: 1px solid rgba(217, 119, 6, 0.3); }

.key-lbl { font-size: 0.78rem; color: var(--text-muted); }
.key-val { font-size: 1rem; color: var(--text-dark); }

[data-theme="dark"] .key-val { color: #f8fafc; }

/* ==========================================================================
   KUNDLI MATCHING SUITE STYLES
   ========================================================================== */
.matching-system-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.system-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--text-soft);
  transition: all 0.15s ease;
}

.system-tab-btn.active,
.system-tab-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.matching-form-card {
  padding: 30px;
  border-radius: 18px;
  margin-bottom: 30px;
}

.matching-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 24px;
}

.partner-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.partner-gender-icon {
  font-size: 2rem;
}

.matching-results-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.match-score-card {
  padding: 28px;
  border-radius: 18px;
}

.match-score-grid {
  display: flex;
  align-items: center;
  gap: 36px;
}

.score-radial-progress {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-circle-inner {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.score-total {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.verdict-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.verdict-excellent {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.verdict-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.verdict-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.koota-breakdown-card {
  padding: 24px;
  border-radius: 16px;
}

.koota-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.koota-table th,
.koota-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--card-border);
  text-align: left;
}

.status-pill {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
}

.pill-pass { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.pill-neutral { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.dosha-shield-card {
  padding: 24px;
  border-radius: 16px;
}

.dosha-shield-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.dosha-box {
  padding: 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--card-border);
}

[data-theme="dark"] .dosha-box {
  background: rgba(255, 255, 255, 0.04);
}

.dosha-tag.safe {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 6px;
}

.dosha-box p {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-soft);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid-5 {
    grid-template-columns: 1fr 1fr;
  }
  .feedback-split-layout {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-links-grid {
    grid-template-columns: 1fr 1fr;
  }
  .engine-layout {
    flex-direction: column;
    gap: 20px;
  }
  .book-content-split {
    grid-template-columns: 1fr;
  }
  .book-action-side {
    border-left: none;
    border-top: 1px dashed var(--card-border);
    padding-left: 0;
    padding-top: 20px;
  }
  .news-cards-grid,
  .rashifal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .matching-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .faqs-accordion-section {
    padding: 20px 16px;
  }
  .faq-summary {
    padding: 14px 16px;
    gap: 10px;
  }
  .faq-answer-body {
    padding: 0 16px 16px 16px;
  }
  .faqs-ask-ai-card {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }
  .ask-ai-content {
    flex-direction: column;
    text-align: center;
  }
  .about-story-section,
  .about-engine-section,
  .about-ctas-section {
    padding: 26px 20px;
  }
}

@media (max-width: 640px) {
  .footer-grid-5 {
    grid-template-columns: 1fr;
  }
  .pillars-grid,
  .about-links-grid,
  .story-stats-box,
  .engine-features-list,
  .news-cards-grid,
  .rashifal-grid,
  .muhurat-key-grid,
  .dosha-shield-grid {
    grid-template-columns: 1fr;
  }
  .match-score-grid {
    flex-direction: column;
    text-align: center;
  }
  .faqs-categories-bar {
    border-radius: 16px;
    padding: 4px;
    gap: 4px;
  }
  .faq-cat-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   KUNDLI PAGE VEDIC SCROLL & WRITING ANIMATION STYLES
   ========================================================================== */
.kundli-hero-section {
  text-align: center;
  margin-bottom: 28px;
}

.kundli-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.32);
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.95rem;
}

[data-theme="dark"] .kundli-hero-badge {
  color: #fbbf24;
  background: rgba(234, 179, 8, 0.15);
  border-color: rgba(234, 179, 8, 0.35);
}

.kundli-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.kundli-tabs-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.25));
  border-radius: 9999px;
  padding: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .kundli-tabs-nav {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.kundli-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--text-soft, #64748b);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

[data-theme="dark"] .kundli-tab-btn {
  color: #94a3b8;
}

.kundli-tab-btn:hover {
  color: var(--text-dark, #1c1917);
  background: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .kundli-tab-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}

.kundli-tab-btn.active {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff !important;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.35);
}

.kundli-form-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 36px;
}

.kundli-form-group {
  margin-bottom: 20px;
}

.kundli-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

[data-theme="dark"] .kundli-form-group label {
  color: #f1f5f9;
}

.kundli-input-wrap {
  position: relative;
}

.kundli-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold, #d97706);
  pointer-events: none;
}

.kundli-input-field {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--card-border, rgba(199, 154, 60, 0.3));
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

[data-theme="dark"] .kundli-input-field {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.kundli-input-field:focus {
  outline: none;
  border-color: var(--gold, #d97706);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25);
}

.kundli-btn-submit {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 10px;
}

.kundli-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(217, 119, 6, 0.45);
}

/* ── Estimated Wait Time Banner & Progress ── */
.kundli-wait-box {
  margin: 32px auto 0;
  max-width: 680px;
  background: rgba(18, 18, 24, 0.88);
  border: 1.5px solid rgba(234, 179, 8, 0.35);
  border-radius: 18px;
  padding: 24px 30px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}

[data-theme="light"] .kundli-wait-box {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(199, 154, 60, 0.35);
  box-shadow: 0 12px 32px rgba(44, 24, 16, 0.08);
}

.wait-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

[data-theme="light"] .wait-timer-badge {
  color: #b45309;
  background: rgba(217, 119, 6, 0.12);
}

.wait-progress-track {
  width: 100%;
  max-width: 520px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 14px;
  overflow: hidden;
  position: relative;
}

[data-theme="light"] .wait-progress-track {
  background: rgba(0, 0, 0, 0.08);
}

.wait-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #d97706, #fbbf24);
  border-radius: 9999px;
  transition: width 0.12s linear;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.6);
}

.wait-stage-text {
  font-size: 0.94rem;
  color: #f1f5f9;
  font-family: var(--serif);
  min-height: 24px;
  letter-spacing: 0.02em;
}

[data-theme="light"] .wait-stage-text {
  color: #4b5563;
}

/* ── The Ancient Vedic Manuscript Scroll (भोजपत्र / ताम्रपत्र) ── */
.scroll-outer-wrapper {
  margin: 30px auto;
  max-width: 680px;
  position: relative;
}

.scroll-rod {
  height: 24px;
  background: linear-gradient(180deg, #b45309 0%, #78350f 50%, #451a03 100%);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  border: 1.5px solid #f59e0b;
  z-index: 5;
}

.scroll-rod .finial {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a, #d97706, #78350f);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
  border: 1.5px solid #fff;
}
.scroll-rod .finial.left { left: -16px; }
.scroll-rod .finial.right { right: -16px; }

.scroll-body {
  background: linear-gradient(180deg, #fdf8e2 0%, #f7ecc8 50%, #f4e5b8 100%);
  border-left: 3px solid #b45309;
  border-right: 3px solid #b45309;
  box-shadow: inset 0 0 35px rgba(180, 83, 9, 0.25), 0 14px 40px rgba(0, 0, 0, 0.45);
  padding: 32px 36px;
  color: #451a03;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  animation: unrollScroll 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes unrollScroll {
  from { transform: scaleY(0.1); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

[data-theme="dark"] .scroll-body {
  background: linear-gradient(180deg, #2b1f13 0%, #1e150d 50%, #261a10 100%);
  border-left-color: #d97706;
  border-right-color: #d97706;
  color: #fef3c7;
  box-shadow: inset 0 0 45px rgba(0, 0, 0, 0.7), 0 16px 45px rgba(0, 0, 0, 0.6);
}

.scroll-ornament-header {
  text-align: center;
  border-bottom: 1.5px dashed rgba(180, 83, 9, 0.35);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.scroll-om-symbol {
  font-size: 2.4rem;
  color: #dc2626;
  font-family: var(--serif);
  display: block;
  line-height: 1;
  text-shadow: 0 0 10px rgba(220, 38, 38, 0.35);
}

.scroll-shloka {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #991b1b;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

[data-theme="dark"] .scroll-shloka {
  color: #f87171;
}

/* ── Live Writing Depiction ── */
.scroll-writing-area {
  position: relative;
  min-height: 160px;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 2.1;
  padding: 10px 0;
}

.writing-line {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: pre-wrap;
}

.writing-line.active-written {
  opacity: 1;
  transform: translateY(0);
}

.quill-feather-indicator {
  position: absolute;
  width: 48px;
  height: 48px;
  pointer-events: none;
  z-index: 10;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

/* ── Complete Kundli Display ── */
.kundli-complete-card {
  max-width: 860px;
  margin: 32px auto;
  padding: 34px 40px;
}

.kundli-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.k-over-box {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.25));
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

[data-theme="dark"] .k-over-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.k-over-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.k-over-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold, #d97706);
  font-family: var(--serif);
  display: block;
}

.kundli-chart-wrapper {
  display: flex;
  justify-content: center;
  margin: 28px 0;
}

.north-indian-chart-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.2));
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.98);
}

[data-theme="dark"] .north-indian-chart-svg {
  background: #1a1510;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.5));
}

.kundli-planets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 20px;
}

.kundli-planets-table th,
.kundli-planets-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--card-border, rgba(199, 154, 60, 0.2));
  text-align: left;
}

.kundli-planets-table th {
  background: rgba(217, 119, 6, 0.1);
  color: var(--gold-deep, #b45309);
  font-weight: 700;
}

[data-theme="dark"] .kundli-planets-table th {
  color: #fbbf24;
}

.kundli-actions-bar {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.k-act-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--card-border, rgba(199, 154, 60, 0.3));
  background: var(--card-bg, rgba(255, 255, 255, 0.85));
  color: var(--text-dark);
}

.k-act-btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.k-act-btn.primary {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  border-color: #b45309;
}

@media (max-width: 640px) {
  .kundli-overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .scroll-body {
    padding: 24px 18px;
  }
}
