:root {
  --gold: #FFD700;
  --gold-dim: #C9A227;
  --gold-deep: #8B6914;
  --saffron: #FF6B00;
  --saffron-light: #FF9A3C;
  --crimson: #8B0000;
  --sacred-red: #C41E3A;
  --bg-deep: #0A0600;
  --bg-dark: #100B02;
  --bg-mid: #1A1005;
  --bg-card: #1E1408;
  --text-light: #FFF5E0;
  --text-muted: #C4A96A;
  --border-gold: rgba(255,215,0,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-light);
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  line-height: 1.8;
  overflow-x: hidden;
  cursor: default;
}

/* ── CANVAS PARTICLES ── */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── SACRED GEOMETRY BG ── */
.sacred-bg {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  animation: rotateSlow 120s linear infinite;
}

@keyframes rotateSlow { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: linear-gradient(to bottom, rgba(10,6,0,0.95), transparent);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255,215,0,0.08);
}

/* Centred absolutely so auth position has no effect on it */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  white-space: nowrap;
}
/* Dashboard nav item — hidden for guests, shown by auth.js on login */
.nav-dash-item { display: none; }

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold); }

/* ── NAV DROPDOWNS ── */
.has-dropdown {
  position: relative;
}
/* Invisible bridge covers the gap so hover isn't lost moving into the sub-menu */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
}

.nav-parent {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
  user-select: none;
  white-space: nowrap;
}
.nav-parent:hover,
.nav-parent.active { color: var(--gold); }

.nav-caret {
  font-size: 0.6rem;
  transition: transform 0.3s;
  display: inline-block;
  opacity: 0.7;
}
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }

.nav-sub {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: linear-gradient(145deg, #1E1408, #0D0800);
  border: 1px solid rgba(255,215,0,0.2);
  min-width: 180px;
  list-style: none;
  padding: 8px 0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 20px rgba(255,107,0,0.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s 0.15s ease, transform 0.25s 0.15s ease;
  z-index: 200;
}
.nav-sub::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px; height: 9px;
  background: #1E1408;
  border-left: 1px solid rgba(255,215,0,0.2);
  border-top: 1px solid rgba(255,215,0,0.2);
}

.has-dropdown:hover .nav-sub {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-sub li a {
  display: block;
  padding: 9px 20px;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-sub li a:hover {
  color: var(--gold);
  background: rgba(255,215,0,0.05);
  padding-left: 26px;
}
.nav-sub li a.active { color: var(--gold); }

.nav-sub-divider {
  height: 1px;
  background: rgba(255,215,0,0.08);
  margin: 6px 0;
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  z-index: 1;
  overflow: hidden;
}

.hero-glow-ring {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.12) 0%, rgba(255,215,0,0.06) 40%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}

.hero-logo-wrap {
  position: relative;
  width: 260px; height: 260px;
  margin: 0 auto 40px;
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent, rgba(255,215,0,0.6),
    transparent, rgba(255,107,0,0.5),
    transparent, rgba(255,215,0,0.6),
    transparent
  );
  animation: spinAura 6s linear infinite;
}

.hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--bg-deep);
}

@keyframes spinAura { to { transform: rotate(360deg); } }

.hero-logo {
  position: relative;
  z-index: 2;
  width: 260px; height: 260px;
  border-radius: 0;
  object-fit: contain;
  border: none;
  filter:
    drop-shadow(0 0 30px rgba(255,215,0,0.6))
    drop-shadow(0 0 60px rgba(255,107,0,0.35))
    drop-shadow(0 0 100px rgba(255,215,0,0.2));
}

.om-symbol {
  font-size: 2.5rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  animation: fadeInDown 1.2s ease both;
  text-shadow: 0 0 30px rgba(255,215,0,0.6);
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-shadow:
    0 0 40px rgba(255,215,0,0.7),
    0 2px 0 var(--gold-deep);
  animation: fadeInDown 1.4s ease both;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--saffron-light);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 1.6s ease both;
}

.hero-mantra {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,245,224,0.75);
  max-width: 600px;
  animation: fadeInDown 1.8s ease both;
  margin-bottom: 48px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(255,215,0,0.06);
  transition: all 0.4s;
  animation: fadeInDown 2s ease both;
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,215,0,0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.hero-cta:hover { border-color: var(--gold); box-shadow: 0 0 30px rgba(255,215,0,0.25); }
.hero-cta:hover::before { opacity: 1; }

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  animation: bounceDown 2s ease infinite;
}

.scroll-indicator span {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--gold-dim);
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  transform: rotate(45deg);
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  margin: 20px 0;
}

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

.divider-icon {
  color: var(--gold);
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ── SECTIONS ── */
section {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(255,215,0,0.3);
}

.section-body {
  color: rgba(255,245,224,0.82);
  font-size: 1.05rem;
  max-width: 760px;
}

/* ── ABOUT ── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-body { font-size: 1.05rem; line-height: 1.9; }

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yantra {
  width: 280px; height: 280px;
  opacity: 0.18;
  animation: rotateSlow 80s linear infinite;
}

.about-quote {
  position: absolute;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold);
  line-height: 1.6;
  padding: 20px;
  text-shadow: 0 0 20px rgba(255,215,0,0.5);
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 36px 30px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(255,215,0,0.08); }
.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
}

.card-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.card-body { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }

/* ── PILGRIMAGE TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-dim), var(--saffron), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.timeline-step {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.timeline-text { font-size: 0.98rem; color: var(--text-muted); }

/* ── MANTRAS ── */
#mantras { text-align: center; }

.mantra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.mantra-card {
  background: linear-gradient(135deg, rgba(30,20,8,0.9), rgba(20,12,3,0.9));
  border: 1px solid rgba(255,215,0,0.2);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
}

.mantra-card::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.12), transparent 70%);
}

.mantra-lang {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mantra-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.25rem;
  color: var(--gold);
  line-height: 1.7;
  margin-bottom: 14px;
  font-style: italic;
}

.mantra-meaning { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }

/* ── DEEKSHA ── */
#deeksha {
  background: linear-gradient(135deg, rgba(20,12,3,0.6), rgba(10,6,0,0.8));
  border: 1px solid rgba(255,215,0,0.12);
  border-radius: 0;
  max-width: 100%;
  padding: 100px 40px;
}

#deeksha .inner { max-width: 1100px; margin: 0 auto; }

.deeksha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
  align-items: start;
}

.deeksha-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deeksha-rules li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.rule-num {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: var(--gold);
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.deeksha-highlight {
  background: rgba(255,107,0,0.06);
  border-left: 3px solid var(--saffron);
  padding: 24px 28px;
  margin-top: 28px;
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
}

/* ── BLESSINGS ── */
.blessings-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin-top: 50px;
}

.blessing {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.blessing:nth-child(1) { grid-column: span 2; }
.blessing:nth-child(5) { grid-column: span 2; }

.blessing:hover { transform: scale(1.02); }

.blessing-symbol {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.blessing-title {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.blessing-desc { font-size: 0.92rem; color: var(--text-muted); }

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,215,0,0.12);
  background: linear-gradient(to top, rgba(20,10,0,0.9), transparent);
  padding: 70px 40px 40px;
  text-align: center;
}

.footer-mantra {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(255,215,0,0.4);
}

.footer-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  list-style: none;
}

.footer-nav a {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(196,169,106,0.4);
  letter-spacing: 0.1em;
}

/* ── FLOATING SWAMI BUTTON ── */
.swami-btn {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 200;
  background: linear-gradient(135deg, var(--saffron), #FF4500);
  border: none;
  padding: 0;
  width: 70px; height: 70px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow:
    0 0 20px rgba(255,107,0,0.5),
    0 0 50px rgba(255,107,0,0.2);
  animation: swamiBounce 3s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.swami-btn:hover {
  transform: scale(1.12) !important;
  box-shadow: 0 0 40px rgba(255,107,0,0.7), 0 0 80px rgba(255,107,0,0.3);
}

.swami-btn span:first-child { font-size: 1.6rem; }
.swami-btn span:last-child {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.95);
  text-transform: uppercase;
}

.swami-ripple {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(255,107,0,0.5);
  animation: rippleOut 2.5s ease-out infinite;
  pointer-events: none;
  z-index: 199;
}

.swami-ripple:nth-child(2) { animation-delay: 0.8s; }
.swami-ripple:nth-child(3) { animation-delay: 1.6s; }

@keyframes rippleOut {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.5); opacity: 0; }
}

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

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 120px;
  right: 36px;
  background: linear-gradient(135deg, rgba(30,20,8,0.98), rgba(20,12,3,0.98));
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  padding: 14px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(255,215,0,0.1);
  z-index: 300;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ── ANIMATIONS ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── FULL-WIDTH WRAPPER ── */
.full-section {
  width: 100%;
  max-width: 100%;
}

/* ── AUTH NAV BUTTON ── */
/* Sits at body level (moved out of nav by main.js) */
.nav-auth {
  position: fixed;
  top: 0;
  right: 40px;
  height: 73px;           /* matches nav bar height */
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 101;
}

@media (max-width: 768px) {
  .nav-auth {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    height: auto;
    padding: 10px 24px;
    justify-content: center;
    background: rgba(8,5,0,0.97);
    border-top: 1px solid rgba(255,215,0,0.18);
    backdrop-filter: blur(6px);
    z-index: 101;
  }
}

.nav-login-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.3);
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-login-btn:hover { background: rgba(255,215,0,0.12); border-color: var(--gold); }

.nav-user-wrap {
  position: relative;
  display: none;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.nav-user-wrap.active { display: flex; }
/* Invisible bridge covers the gap between avatar and dropdown */
.nav-user-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold-deep));
  border: 2px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(255,215,0,0.3);
  transition: box-shadow 0.3s;
}
.nav-user-wrap:hover .nav-avatar { box-shadow: 0 0 22px rgba(255,215,0,0.5); }

.nav-user-name {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: linear-gradient(135deg, #1E1408, #0D0800);
  border: 1px solid var(--border-gold);
  min-width: 200px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s 0.2s, transform 0.3s 0.2s, pointer-events 0s 0.5s;
  z-index: 200;
}
.nav-user-wrap:hover .nav-dropdown,
.nav-user-wrap.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
  transition: opacity 0.2s, transform 0.2s;
}

.dropdown-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255,215,0,0.1);
}
.dropdown-name {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.dropdown-email {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.dropdown-item:hover { background: rgba(255,215,0,0.06); color: var(--gold); }
.dropdown-item.danger:hover { color: #ff6b6b; background: rgba(255,107,107,0.06); }
.dropdown-divider { height: 1px; background: rgba(255,215,0,0.08); margin: 4px 0; }

/* ── AUTH MODAL ── */
.auth-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  z-index: 600;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.auth-overlay.open { opacity: 1; pointer-events: all; }

.auth-modal {
  background: linear-gradient(145deg, #1A1005, #0D0800);
  border: 1px solid rgba(255,215,0,0.25);
  width: 100%; max-width: 440px;
  padding: 0;
  box-shadow: 0 0 100px rgba(255,107,0,0.12), 0 40px 80px rgba(0,0,0,0.7);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
}
.auth-overlay.open .auth-modal { transform: scale(1) translateY(0); }

.auth-modal-glow {
  position: absolute; top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 120px;
  background: radial-gradient(ellipse, rgba(255,107,0,0.18), transparent 70%);
  pointer-events: none;
}

.auth-top {
  padding: 36px 36px 0;
  text-align: center;
  position: relative;
}
.auth-logo {
  width: 80px; height: 80px;
  border-radius: 0;
  border: none;
  filter: drop-shadow(0 0 12px rgba(255,215,0,0.4));
  object-fit: contain;
  margin-bottom: 16px;
}
.auth-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.auth-subtitle {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.auth-tabs {
  display: flex;
  margin: 24px 36px 0;
  border-bottom: 1px solid rgba(255,215,0,0.12);
}
.auth-tab {
  flex: 1;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 10px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.auth-tab::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--saffron), var(--gold));
  transform: scaleX(0); transition: transform 0.3s;
}
.auth-tab.active { color: var(--gold); }
.auth-tab.active::after { transform: scaleX(1); }

.auth-body { padding: 28px 36px 36px; }

.auth-panel { display: none; }
.auth-panel.active { display: block; }

.auth-field { margin-bottom: 18px; }
.auth-field-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--saffron);
  display: block;
  margin-bottom: 7px;
}
.auth-input {
  width: 100%;
  background: rgba(255,215,0,0.03);
  border: 1px solid rgba(255,215,0,0.18);
  color: var(--text-light);
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.auth-input:focus {
  border-color: rgba(255,215,0,0.5);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.05);
}
.auth-input.error { border-color: rgba(196,30,58,0.7); }
.auth-input::placeholder { color: rgba(196,169,106,0.35); }

.auth-input-wrap { position: relative; }
.auth-eye {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--text-muted); cursor: pointer;
  font-size: 1rem; padding: 4px;
  transition: color 0.2s;
}
.auth-eye:hover { color: var(--gold); }

.auth-error {
  font-size: 0.78rem;
  color: #ff6b6b;
  margin-top: 6px;
  display: none;
  font-family: 'EB Garamond', serif;
}
.auth-error.show { display: block; }

.auth-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, rgba(255,107,0,0.2), rgba(255,215,0,0.1));
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}
.auth-submit-btn:hover { background: rgba(255,215,0,0.14); box-shadow: 0 0 24px rgba(255,215,0,0.12); }
.auth-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-submit-btn .btn-loader {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,215,0,0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto;
}
.auth-submit-btn.loading .btn-text { display: none; }
.auth-submit-btn.loading .btn-loader { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.auth-forgot {
  text-align: right;
  margin-top: -10px;
  margin-bottom: 16px;
}
.auth-forgot button {
  background: none; border: none;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.auth-forgot button:hover { color: var(--gold); }

.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 20px 0;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(196,169,106,0.35);
  text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1;
  height: 1px; background: rgba(255,215,0,0.1);
}

.auth-social {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.auth-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.12);
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.auth-social-btn:hover { border-color: rgba(255,215,0,0.25); color: var(--gold); background: rgba(255,215,0,0.05); }
.social-icon { font-size: 1rem; }

.auth-strength { margin-top: 6px; }
.strength-bar {
  height: 3px;
  background: rgba(255,215,0,0.08);
  position: relative; overflow: hidden;
}
.strength-fill {
  height: 100%; width: 0%;
  transition: width 0.3s, background 0.3s;
}
.strength-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.1em;
}

.auth-terms {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 14px;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  text-align: center;
}

.auth-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none;
  color: rgba(196,169,106,0.4);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2;
}
.auth-close:hover { color: var(--gold); }

/* Forgot password panel */
.auth-back-btn {
  background: none; border: none;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 20px;
  transition: color 0.2s;
  padding: 0;
}
.auth-back-btn:hover { color: var(--gold); }

/* ── PERSONALIZED DASHBOARD ── */
#my-dashboard {
  display: none;
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
#my-dashboard.active { display: block; }

.dashboard-welcome {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 50px;
  padding: 32px 36px;
  background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(255,215,0,0.04));
  border: 1px solid rgba(255,215,0,0.18);
}
.dashboard-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold-deep));
  border: 3px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(255,215,0,0.3);
}
.dashboard-welcome-text .section-label { margin-bottom: 4px; }
.dashboard-welcome-text h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.dashboard-welcome-text p { font-size: 0.92rem; color: var(--text-muted); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--saffron), var(--gold));
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 24px rgba(255,215,0,0.07); }
.service-card:hover::before { opacity: 1; }
.service-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(255,107,0,0.1);
  border: 1px solid rgba(255,107,0,0.25);
  padding: 3px 10px;
  margin-bottom: 16px;
}
.service-badge.new { color: var(--gold); background: rgba(255,215,0,0.08); border-color: rgba(255,215,0,0.25); }
.service-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.service-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.service-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--saffron-light);
  text-transform: uppercase;
  margin-top: 18px;
  transition: gap 0.2s;
}
.service-card:hover .service-cta { gap: 10px; }

/* Profile edit panel */
.profile-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 36px;
  margin-top: 36px;
  display: none;
}
.profile-panel.active { display: block; }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

/* ── IRUMUDI GUIDE ── */
#irumudi { text-align: center; }
.irumudi-workspace { margin-top: 50px; text-align: left; }
.irumudi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.irumudi-item {
  perspective: 800px;
  height: 180px;
  cursor: pointer;
}
.irumudi-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.irumudi-item.packed .irumudi-inner { transform: rotateY(180deg); }
.irumudi-front, .irumudi-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid var(--border-gold);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-card);
}
.irumudi-front { gap: 10px; }
.irumudi-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(30,20,8,0.98), rgba(15,8,0,0.98));
  border-color: rgba(255,215,0,0.4);
}
.irumudi-item.packed .irumudi-front { box-shadow: 0 0 20px rgba(255,215,0,0.15); }
.item-emoji { font-size: 2.4rem; }
.item-name {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  line-height: 1.3;
}
.item-packed-badge {
  font-size: 0.7rem;
  color: var(--saffron);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.15em;
  opacity: 0;
  transition: opacity 0.3s;
}
.irumudi-item.packed .item-packed-badge { opacity: 1; }
.back-meaning {
  font-family: 'EB Garamond', serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}
.back-title {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.irumudi-progress-bar {
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.15);
  height: 6px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.irumudi-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--saffron), var(--gold));
  width: 0%;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(255,215,0,0.5);
}
.irumudi-counter {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-align: right;
  margin-bottom: 20px;
}
/* Blessing Card Modal */
.blessing-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.blessing-modal-overlay.open { opacity: 1; pointer-events: all; }
.blessing-modal {
  background: linear-gradient(135deg, #1A1005, #0D0800);
  border: 1px solid var(--gold-dim);
  padding: 50px 44px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 80px rgba(255,215,0,0.15), 0 40px 80px rgba(0,0,0,0.6);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.blessing-modal-overlay.open .blessing-modal { transform: scale(1); }
.blessing-modal-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255,215,0,0.4);
}
.blessing-modal-sub {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}
.blessing-card-canvas { border: 1px solid rgba(255,215,0,0.3); max-width: 100%; }
.modal-btn {
  display: inline-block;
  padding: 11px 32px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  background: rgba(255,215,0,0.06);
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s;
  margin: 6px;
}
.modal-btn:hover { background: rgba(255,215,0,0.12); border-color: var(--gold); }
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.3s;
}
.modal-close:hover { color: var(--gold); }

/* ── PATHINETTAM PADI ── */
#pathinettam-padi { max-width: 1100px; }
.padi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
  align-items: start;
}
.padi-svg-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
#padi-svg { width: 100%; max-width: 460px; cursor: pointer; }
.padi-step-group { transition: opacity 0.2s; }
.padi-step-group:hover { opacity: 0.85; }
.padi-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 36px 30px;
  position: sticky;
  top: 100px;
  min-height: 300px;
  transition: all 0.4s;
}
.padi-info-panel.lit { border-color: rgba(255,215,0,0.5); box-shadow: 0 0 30px rgba(255,215,0,0.08); }
.padi-step-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 3rem;
  color: rgba(255,215,0,0.15);
  line-height: 1;
  margin-bottom: 6px;
}
.padi-step-quality {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.padi-step-sanskrit {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--saffron-light);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.padi-step-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.padi-hint {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(196,169,106,0.4);
  text-transform: uppercase;
  text-align: center;
  margin-top: 10px;
}
.padi-progress {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.padi-pip {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.2);
  transition: background 0.4s, box-shadow 0.4s;
}
.padi-pip.active {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* ── DEEKSHA TRACKER ── */
#deeksha-tracker {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.tracker-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
  align-items: start;
}
.tracker-input-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 36px 30px;
}
.tracker-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--saffron);
  display: block;
  margin-bottom: 10px;
}
.tracker-date-input {
  width: 100%;
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.2);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 20px;
  color-scheme: dark;
}
.tracker-date-input:focus { border-color: var(--gold-dim); }
.tracker-start-btn {
  width: 100%;
  background: linear-gradient(135deg, rgba(255,107,0,0.15), rgba(255,215,0,0.08));
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.tracker-start-btn:hover { background: rgba(255,215,0,0.12); box-shadow: 0 0 20px rgba(255,215,0,0.1); }
.tracker-result { display: none; }
.tracker-result.active { display: block; }
.tracker-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
#tracker-ring-svg { width: 200px; height: 200px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,215,0,0.08); stroke-width: 12; }
.ring-fill {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 565;
  stroke-dashoffset: 565;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);
}
.tracker-day-display {
  text-align: center;
  margin-top: -10px;
}
.tracker-day-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(255,215,0,0.4);
}
.tracker-day-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  color: var(--saffron);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.tracker-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}
.tracker-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 18px 16px;
  text-align: center;
}
.stat-value {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
}
.stat-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tracker-mantra-card {
  background: linear-gradient(135deg, rgba(139,0,0,0.12), rgba(20,12,3,0.95));
  border: 1px solid rgba(255,107,0,0.25);
  padding: 28px 24px;
  text-align: center;
  margin-top: 20px;
}
.tracker-mantra-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.tracker-mantra-text {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  line-height: 1.6;
  margin-bottom: 8px;
}
.tracker-mantra-meaning {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.tracker-share-btn {
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.25);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 16px;
  width: 100%;
}
.tracker-share-btn:hover { background: rgba(255,215,0,0.12); }
.tracker-complete-banner {
  background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,107,0,0.08));
  border: 1px solid var(--gold-dim);
  padding: 24px;
  text-align: center;
  margin-top: 20px;
  display: none;
}
.tracker-complete-banner.show { display: block; }
.tracker-complete-banner p {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  body { padding-bottom: 64px; } /* clear the bottom auth bar */
  /* Deeksha Tracker — stack vertically */
  .tracker-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* Unwrap the left wrapper so each card becomes an independent grid item */
  .tracker-layout > div:first-child { display: contents; }
  .tracker-input-card    { order: 1; }
  #tracker-display       { order: 2; }
  .tracker-mantra-card   { order: 3; }
  .tracker-complete-banner { order: 4; }
  /* Ring sizing */
  #tracker-ring-svg { width: 160px; height: 160px; }
  .tracker-day-num  { font-size: 2.2rem; }

  /* 18 Steps — stack vertically */
  .padi-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  #padi-svg { max-width: 100%; }
  .padi-info-panel {
    position: static;
    min-height: unset;
    padding: 24px 20px;
  }
  .padi-step-num { font-size: 2rem; }
  section { padding: 70px 24px; }
  #about { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }
  .deeksha-grid { grid-template-columns: 1fr; gap: 36px; }
  .blessings-mosaic { grid-template-columns: 1fr 1fr; }
  .blessing:nth-child(1),
  .blessing:nth-child(5) { grid-column: span 2; }
  .swami-btn { width: 58px; height: 58px; bottom: 24px; right: 24px; }
  .swami-ripple { width: 58px; height: 58px; bottom: 24px; right: 24px; }
}

@media (max-width: 1024px) {
  .nav-links li:nth-child(n+6) { display: none; }
}

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none; /* shown only on mobile — override below */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none;
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 2px;
  cursor: pointer;
  padding: 8px;
  margin-left: 14px;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
@media (max-width: 768px) { .nav-hamburger { display: flex; } }
.nav-hamburger:hover { border-color: rgba(255,215,0,0.6); }
.nav-hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE OVERLAY ── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 998;
  backdrop-filter: blur(3px);
}
.mobile-overlay.open { display: block; }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 82vw);
  height: 100%;
  background: #0c0800;
  border-left: 1px solid rgba(255,215,0,0.15);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,215,0,0.1);
  flex-shrink: 0;
}
.mobile-drawer__logo {
  width: 38px; height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.35));
}
.mobile-drawer__title {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--saffron);
  text-transform: uppercase;
  flex: 1;
}
.mobile-drawer__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-drawer__close:hover { color: var(--gold); }

.mobile-drawer__nav {
  flex: 1;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
}
.mobile-drawer__link {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255,215,0,0.05);
  transition: color 0.2s, background 0.2s;
}
.mobile-drawer__link:hover,
.mobile-drawer__link.active { color: var(--gold); background: rgba(255,215,0,0.05); }

.mobile-drawer__group {
  border-bottom: 1px solid rgba(255,215,0,0.05);
}
.mobile-drawer__group-label {
  display: block;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  padding: 12px 22px 4px;
  opacity: 0.75;
}
.mobile-drawer__sub {
  display: block;
  text-align: center;
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 22px;
  transition: color 0.2s, background 0.2s;
}
.mobile-drawer__sub:hover,
.mobile-drawer__sub.active { color: var(--gold); background: rgba(255,215,0,0.04); }

.mobile-drawer__footer {
  padding: 18px 22px;
  border-top: 1px solid rgba(255,215,0,0.1);
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(255,215,0,0.3);
  text-align: center;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   DASHBOARD FEATURE SECTIONS
══════════════════════════════════════════ */
.dash-feature-section {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(30,20,8,0.8), rgba(13,8,0,0.9));
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.dash-feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,215,0,0.1);
}
.dash-feature-icon { font-size: 2rem; }

/* ── DEEKSHA DIARY ── */
.diary-loading, .diary-notice {
  text-align: center;
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  padding: 40px;
}
.diary-notice a { color: var(--saffron); }
.diary-notice--error { color: #ff6b6b; }

#diary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  max-height: 560px;
  overflow-y: auto;
  padding: 4px 4px 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,215,0,0.2) transparent;
}

/* ── Card base ── */
.diary-card {
  background: rgba(255,215,0,0.02);
  border: 1px solid rgba(255,215,0,0.08);
  border-radius: 2px;
  padding: 10px 12px;
  position: relative;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.diary-card:hover { border-color: rgba(255,215,0,0.2); }
.diary-card.today {
  border-color: var(--saffron);
  background: rgba(255,107,0,0.06);
  box-shadow: 0 0 14px rgba(255,107,0,0.12);
}
.diary-card.completed {
  border-color: rgba(255,215,0,0.25);
  background: rgba(255,215,0,0.04);
}
.diary-card.future { opacity: 0.35; pointer-events: none; }

/* ── Card header ── */
.diary-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}
.diary-card__day-number {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.diary-card__date {
  font-family: 'EB Garamond', serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none; /* hidden — too long for compact cards */
}
.diary-card__check-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}
.diary-card__checkbox {
  appearance: none;
  width: 20px; height: 20px;
  border: 1.5px solid rgba(255,215,0,0.4);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.diary-card__checkbox:not(:checked):not(:disabled):hover {
  border-color: rgba(255,215,0,0.7);
  background: rgba(255,215,0,0.06);
}
.diary-card__checkbox:checked {
  background: #16a34a;
  border-color: #16a34a;
  box-shadow: 0 0 8px rgba(22,163,74,0.5);
}
.diary-card__checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

/* ── Card body / notes ── */
.diary-card__body { position: relative; }
.diary-card__notes-label {
  display: none; /* label hidden — placeholder is sufficient */
}
.diary-card__notes {
  width: 100%;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255,215,0,0.06);
  color: var(--text-muted);
  font-family: 'EB Garamond', serif;
  font-size: 0.8rem;
  line-height: 1.45;
  resize: none;
  height: 56px;
  padding: 6px 0 0;
  outline: none;
  box-sizing: border-box;
}
.diary-card__notes:not(:disabled) {
  background: rgba(255,215,0,0.04);
  border-top-color: rgba(255,215,0,0.12);
}
.diary-card__notes:not(:disabled):focus { color: var(--text-light); background: rgba(255,215,0,0.07); }
.diary-card__notes:disabled {
  background: rgba(0,0,0,0.18);
  border-top-color: rgba(255,255,255,0.03);
  opacity: 0.5;
  cursor: default;
}
.diary-card__notes::placeholder { color: rgba(196,169,106,0.25); font-style: italic; }
.diary-card__char-count {
  font-family: 'Cinzel', serif;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: rgba(196,169,106,0.3);
  text-align: right;
  margin-top: 2px;
}
.diary-card__char-count--near { color: var(--saffron); }

/* ── Diary save bar ── */
.diary-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 2px;
  padding: 10px 16px;
  margin-bottom: 16px;
}
.diary-save-bar__hint {
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem;
  color: var(--gold);
  font-style: italic;
}
.diary-save-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: #0a0600;
  border: none;
  padding: 7px 18px;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.diary-save-btn:hover { opacity: 0.85; }
.diary-save-btn:disabled { opacity: 0.5; cursor: default; }

/* ── Badges ── */
.diary-card__today-badge {
  position: absolute;
  top: -1px; right: -1px;
  font-family: 'Cinzel', serif;
  font-size: 0.48rem;
  letter-spacing: 0.15em;
  color: var(--saffron);
  text-transform: uppercase;
  background: rgba(255,107,0,0.12);
  border: 1px solid var(--saffron);
  padding: 2px 5px;
}
.diary-card__completed-badge {
  position: absolute;
  bottom: 8px; right: 10px;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ── DEEKSHA HISTORY ── */
.history-summary {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,215,0,0.08);
  border-bottom: 1px solid rgba(255,215,0,0.08);
}
.history-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.history-stat__num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}
.history-stat__label {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.history-empty {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
  padding: 20px 0;
}
.history-cycle {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 2px;
  border: 1px solid rgba(255,215,0,0.1);
  background: rgba(255,215,0,0.02);
  transition: border-color 0.2s;
}
.history-cycle--completed {
  border-color: rgba(255,215,0,0.2);
  background: rgba(255,215,0,0.04);
}
.history-cycle--abandoned {
  border-color: rgba(255,255,255,0.05);
  opacity: 0.65;
}
.history-cycle__badge {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.history-cycle__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.history-cycle__status {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.history-cycle--completed .history-cycle__status { color: var(--gold); }
.history-cycle--abandoned .history-cycle__status { color: var(--text-muted); }
.history-cycle__dates {
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem;
  color: var(--text-light);
}
.history-cycle__days {
  font-family: 'EB Garamond', serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}
.history-cycle__year {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: rgba(255,215,0,0.3);
  flex-shrink: 0;
}

/* ── JAPA COUNTER ── */
.japa-mantra-select {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.japa-mantra-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255,215,0,0.2);
  color: var(--text-muted);
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.japa-mantra-btn:hover, .japa-mantra-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255,215,0,0.05);
}
.japa-mantra-name {
  text-align: center;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-dim);
  margin: 0 0 28px;
  min-height: 28px;
}
.japa-counter-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.japa-tap-btn {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, rgba(13,8,0,0.9) 70%);
  border: 2px solid var(--saffron);
  box-shadow: 0 0 30px rgba(255,107,0,0.2), inset 0 0 30px rgba(255,107,0,0.05);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.1s, box-shadow 0.1s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.japa-tap-btn:hover { box-shadow: 0 0 50px rgba(255,107,0,0.35); }
.japa-tap-btn.tapped {
  transform: scale(0.93);
  box-shadow: 0 0 60px rgba(255,215,0,0.4), inset 0 0 40px rgba(255,215,0,0.1);
}
.japa-tap-om { font-size: 2.2rem; color: var(--saffron); line-height: 1; }
.japa-tap-label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.japa-count-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.japa-count {
  font-family: 'Cinzel Decorative', serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  min-width: 80px;
  text-align: right;
}
.japa-slash { font-size: 2rem; color: rgba(255,215,0,0.2); }
.japa-target { font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--text-muted); }
.japa-progress-bar {
  width: 240px; height: 4px;
  background: rgba(255,215,0,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.japa-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}
.japa-pct {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}
.japa-presets {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.japa-preset {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  background: transparent;
  border: 1px solid rgba(255,215,0,0.2);
  color: var(--text-muted);
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.japa-preset:hover, .japa-preset.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255,215,0,0.06);
}
.japa-reset-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  color: rgba(196,169,106,0.35);
  cursor: pointer;
  transition: color 0.3s;
  padding: 4px 8px;
}
.japa-reset-btn:hover { color: var(--text-muted); }
.japa-complete-msg {
  display: none;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  padding: 16px;
  border: 1px solid rgba(255,215,0,0.3);
  margin-top: 20px;
  animation: fadeIn 0.5s ease;
}
#japa-section.complete .japa-complete-msg { display: block; }
#japa-section.complete .japa-tap-btn {
  border-color: var(--gold);
  box-shadow: 0 0 50px rgba(255,215,0,0.3);
}

/* ── DAY 41 CERTIFICATE ── */
.cert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cert-overlay.open { display: flex; }
.cert-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 680px;
  width: 100%;
}
.cert-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(30,20,8,0.95);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 10;
}
.cert-canvas {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  border: 1px solid rgba(255,215,0,0.2);
}
.cert-actions { display: flex; gap: 12px; }

/* ── STORY SEQUENCE ── */
.story-sequence {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.story-beat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-beat:nth-child(even) {
  direction: rtl;
}
.story-beat:nth-child(even) > * {
  direction: ltr;
}
.story-beat-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.story-beat-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(255,215,0,0.18));
  transition: filter 0.4s ease, transform 0.4s ease;
}
.story-beat-image img:hover {
  filter: drop-shadow(0 0 60px rgba(255,215,0,0.35));
  transform: scale(1.02);
}
.story-beat-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFD700, #C9A227) !important;
  border: 2px solid rgba(255,255,255,0.2);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0A0600;
  box-shadow: 0 0 20px rgba(255,215,0,0.5);
  flex-shrink: 0;
  margin-bottom: 10px;
  direction: ltr;
}
.story-beat-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.story-beat-text .section-label {
  margin-bottom: 8px;
}
.story-beat-text .story-beat-body {
  margin-top: 0;
}
.story-beat-body {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-light);
  opacity: 0.92;
}
@media (max-width: 768px) {
  .story-beat {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }
  .story-beat:nth-child(even) {
    direction: ltr;
  }
  .story-beat-image {
    order: -1;
  }
  .story-beat-image img {
    max-width: 100%;
    width: 100%;
  }
  .story-sequence {
    padding: 0 16px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   PILGRIMAGE PLANNER 2.0 — Digital Guru Swami
   ══════════════════════════════════════════════════════════════════════ */

/* ── PLANNER CARD ── */
.planner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,215,0,0.06);
}

/* ── PROGRESS BAR ── */
.planner-progress {
  position: relative;
  margin-bottom: 36px;
  padding-top: 8px;
}

.progress-track {
  position: absolute;
  top: 20px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 2px;
  background: rgba(255,215,0,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill-bar {
  height: 100%;
  background: linear-gradient(to right, var(--saffron), var(--gold));
  width: 0;
  transition: width 0.5s ease;
  border-radius: 2px;
}

.progress-dots {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.progress-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.progress-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(255,215,0,0.2);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
}

.progress-dot.active {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-color: var(--gold);
  color: var(--bg-deep);
  box-shadow: 0 0 16px rgba(255,215,0,0.4);
}

.progress-dot.completed {
  background: rgba(255,215,0,0.15);
  border-color: var(--gold-dim);
  color: var(--gold);
}

.progress-label {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196,169,106,0.5);
  text-align: center;
  transition: color 0.3s;
}

.progress-label.active { color: var(--gold); }
.progress-label.completed { color: var(--text-muted); }

/* ── PLANNER STEP PANELS ── */
.planner-step {
  opacity: 0;
  transform: translateY(16px);
  display: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.planner-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ── STEP TITLES ── */
.planner-step-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.3;
}

.planner-step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ── FORM FIELDS ── */
.planner-field {
  margin-bottom: 24px;
}

.planner-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.required {
  color: var(--saffron);
  margin-left: 2px;
}

.planner-optional {
  color: rgba(196,169,106,0.5);
  font-size: 0.85em;
  font-family: 'EB Garamond', serif;
  text-transform: none;
  letter-spacing: 0;
}

.planner-input {
  width: 100%;
  min-height: 52px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px;
  color: var(--text-light);
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  padding: 12px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
}

.planner-input:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.12);
}

.planner-input::placeholder { color: rgba(196,169,106,0.4); }

.planner-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A227' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.planner-select option {
  background: var(--bg-card);
  color: var(--text-light);
}

.planner-hint {
  font-size: 0.82rem;
  color: rgba(196,169,106,0.55);
  margin-top: 6px;
  display: block;
}

.planner-error {
  display: none;
  color: var(--sacred-red);
  font-size: 0.85rem;
  margin-top: 6px;
}

/* ── BUTTON GROUPS (toggle selectors) ── */
.planner-btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.planner-toggle-btn {
  flex: 1;
  min-height: 52px;
  min-width: 100px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px;
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.planner-toggle-btn:hover {
  border-color: var(--gold-dim);
  color: var(--text-light);
}

.planner-toggle-btn.active {
  background: linear-gradient(135deg, rgba(255,107,0,0.18), rgba(255,215,0,0.12));
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 12px rgba(255,215,0,0.15);
}

.btn-sub {
  font-family: 'EB Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  opacity: 0.8;
}

.planner-toggle-btn.active .btn-sub { color: var(--saffron-light); opacity: 1; }

/* ── ROUTE CARDS (step 4 selector) ── */
.planner-route-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.planner-route-card {
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(255,215,0,0.15);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}

.planner-route-card:hover {
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,215,0,0.04);
}

.planner-route-card.selected {
  border-color: var(--gold);
  background: rgba(255,215,0,0.07);
  box-shadow: 0 0 20px rgba(255,215,0,0.12);
}

.route-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.route-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 2px;
}

.route-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.route-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.route-difficulty {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.route-difficulty.hard {
  background: rgba(196,30,58,0.2);
  color: #ff6b7a;
  border: 1px solid rgba(196,30,58,0.4);
}

.route-difficulty.moderate {
  background: rgba(255,154,60,0.15);
  color: var(--saffron-light);
  border: 1px solid rgba(255,154,60,0.3);
}

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

.route-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.route-features li {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.12);
  border-radius: 20px;
  padding: 3px 10px;
}

/* ── NAVIGATION BUTTONS ── */
.planner-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 12px;
}

.planner-back-btn {
  min-height: 48px;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px;
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s;
}

.planner-back-btn:hover {
  border-color: var(--gold-dim);
  color: var(--text-light);
}

.planner-next-btn {
  min-height: 48px;
  padding: 10px 32px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border: none;
  border-radius: 10px;
  color: var(--bg-deep);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(255,107,0,0.3);
}

.planner-next-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(255,107,0,0.45);
}

.planner-generate-btn {
  min-height: 52px;
  padding: 12px 36px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border: none;
  border-radius: 10px;
  color: var(--bg-deep);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(255,107,0,0.35);
  display: flex;
  align-items: center;
  gap: 10px;
}

.planner-generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,0,0.5);
}

.generate-icon {
  font-size: 1.1rem;
}

/* ── INFO BOX ── */
.planner-info-box {
  background: rgba(255,215,0,0.05);
  border: 1px solid rgba(255,215,0,0.15);
  border-left: 3px solid var(--gold-dim);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.planner-info-box strong {
  display: block;
  color: var(--gold-dim);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ── VRATHAM PROGRESS BAR ── */
.vratham-progress {
  background: rgba(255,215,0,0.05);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.vratham-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.vratham-progress-header strong {
  color: var(--gold);
}

.vratham-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.vratham-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--saffron), var(--gold));
  border-radius: 4px;
  width: 0;
  transition: width 0.8s ease;
}

/* ══════════════════════════════════════════════════════════════════════
   RESULTS DASHBOARD
   ══════════════════════════════════════════════════════════════════════ */

/* ── RESULT SECTION BLOCKS ── */
.result-section {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold-dim);
  border-radius: 14px;
  padding: 28px 28px 24px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.result-section-title {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,215,0,0.1);
  padding-bottom: 12px;
}

/* ── SCORE CIRCLE ── */
.result-score-circle {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
}

.score-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-track {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 8;
}

.score-ring {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.05s linear;
}

.score-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.score-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
}

.score-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.score-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── ROUTE RESULTS ── */
.result-recommended-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.route-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.result-route-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 12px;
  padding: 18px;
  position: relative;
}

.result-route-card.recommended {
  border-color: var(--gold);
  background: rgba(255,215,0,0.06);
  box-shadow: 0 0 20px rgba(255,215,0,0.1);
}

.recommended-badge {
  position: absolute;
  top: -1px;
  right: 16px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--bg-deep);
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
}

.result-route-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.result-route-name {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold);
}

.result-route-difficulty {
  font-size: 0.65rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

.difficulty-hard {
  background: rgba(196,30,58,0.2);
  color: #ff7b7b;
  border: 1px solid rgba(196,30,58,0.35);
}

.difficulty-moderate {
  background: rgba(255,154,60,0.15);
  color: var(--saffron-light);
  border: 1px solid rgba(255,154,60,0.3);
}

.result-route-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.result-route-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.result-route-highlights {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.result-route-highlights li {
  font-size: 0.73rem;
  color: var(--text-muted);
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 20px;
  padding: 3px 10px;
}

/* ── ITINERARY TIMELINE ── */
.itinerary-timeline {
  position: relative;
  padding-left: 28px;
}

.itinerary-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--saffron), rgba(255,215,0,0.15));
  border-radius: 2px;
}

.itinerary-item {
  position: relative;
  margin-bottom: 28px;
}

.itinerary-dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--saffron);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 8px rgba(255,107,0,0.5);
}

.itinerary-content {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 10px;
  padding: 16px 18px;
}

.itinerary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.itinerary-day {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-light);
}

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

.itinerary-title {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.itinerary-activities {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}

.itinerary-activities li {
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.5;
}

.itinerary-activities li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--saffron-light);
}

.itinerary-notes {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
}

/* ── RISK ALERTS ── */
.risk-alert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.risk-alert:last-child { margin-bottom: 0; }

.risk-alert strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.risk-alert p { margin: 0; }

.risk-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.risk-high {
  background: rgba(139,0,0,0.18);
  border: 1px solid rgba(196,30,58,0.45);
  color: #ffaaaa;
}

.risk-high strong { color: #ff6b7a; }

.risk-medium {
  background: rgba(255,107,0,0.12);
  border: 1px solid rgba(255,107,0,0.35);
  color: var(--saffron-light);
}

.risk-medium strong { color: var(--saffron-light); }

.risk-low {
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3);
  color: #a5d6a7;
}

.risk-low strong { color: #81c784; }

/* ── PACKING LIST ── */
.collapsible-group {
  border: 1px solid rgba(255,215,0,0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.collapsible-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-light);
  transition: background 0.2s;
}

.collapsible-header:hover {
  background: rgba(255,215,0,0.05);
}

.collapsible-title {
  flex: 1;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

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

.collapsible-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.collapsible-body {
  list-style: none;
  padding: 12px 18px 16px;
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,215,0,0.08);
}

.packing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

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

.packing-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.packing-item label {
  cursor: pointer;
  flex: 1;
  line-height: 1.4;
}

.packing-item:has(.packing-check:checked) label {
  text-decoration: line-through;
  opacity: 0.5;
}

/* ── GURU SWAMI CARD ── */
.guru-card {
  border-left-color: var(--saffron) !important;
  background: linear-gradient(135deg, rgba(255,107,0,0.06), rgba(255,215,0,0.04)) !important;
  box-shadow: 0 0 30px rgba(255,107,0,0.08);
}

.guru-loading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.guru-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255,215,0,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

.guru-message {
  position: relative;
}

.guru-om {
  font-size: 2.4rem;
  text-align: center;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 16px;
  font-family: serif;
}

.guru-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.guru-text p {
  margin-bottom: 16px;
}

.guru-opening {
  font-size: 1.05rem;
  color: var(--text-light);
}

.guru-closing {
  color: var(--gold-dim);
  font-style: italic;
}

.guru-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,215,0,0.15);
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.guru-seal {
  font-size: 1.4rem;
}

/* ── ACTION BUTTONS ── */
.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 24px;
}

.result-action-btn {
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-action-btn.primary {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border: none;
  color: var(--bg-deep);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255,107,0,0.3);
}

.result-action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(255,107,0,0.45);
}

.result-action-btn.secondary {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold-dim);
}

.result-action-btn.secondary:hover {
  background: rgba(255,215,0,0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.result-action-btn.tertiary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

.result-action-btn.tertiary:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--text-light);
}

/* ══════════════════════════════════════════════════════════════════════
   PLANNER MOBILE RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
  .planner-card {
    padding: 24px 18px;
  }

  .planner-step-title {
    font-size: 1.15rem;
  }

  .progress-dot {
    width: 32px;
    height: 32px;
    font-size: 0.65rem;
  }

  .progress-label {
    font-size: 0.48rem;
  }

  .planner-btn-group {
    flex-direction: column;
  }

  .planner-toggle-btn {
    flex-direction: row;
    justify-content: flex-start;
    min-height: 52px;
    padding: 12px 16px;
  }

  .planner-generate-btn {
    width: 100%;
    justify-content: center;
  }

  .planner-nav {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .planner-next-btn,
  .planner-back-btn {
    width: 100%;
    text-align: center;
  }

  .route-cards-grid {
    grid-template-columns: 1fr;
  }

  .result-section {
    padding: 20px 16px;
  }

  .result-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .result-action-btn {
    justify-content: center;
    width: 100%;
  }

  .itinerary-timeline {
    padding-left: 20px;
  }

  .itinerary-dot {
    left: -20px;
    width: 12px;
    height: 12px;
  }

  .score-number {
    font-size: 2rem;
  }

  .guru-text {
    font-size: 0.95rem;
  }
}
