/* ════════════════════════════════════════════════════════════
   धर्मसंस्थापनार्थाय — main.css
   Sacred Hindu Temple Aesthetic
   ════════════════════════════════════════════════════════════ */

:root {
  --saffron:    #FF6B00;
  --saffron-lt: #FF8C42;
  --gold:       #FFD700;
  --gold-lt:    #FFE566;
  --crimson:    #8B0000;
  --deep-bg:    #0A0505;
  --dark-bg:    #120A08;
  --card-bg:    rgba(255,107,0,0.06);
  --card-border:rgba(255,215,0,0.18);
  --cream:      #FFF8E7;
  --text-main:  #F5E6CC;
  --text-muted: #B8967A;
  --lotus:      #FF6B9D;

  --font-dev:   'Tiro Devanagari Sanskrit', serif;
  --font-en:    'Cinzel Decorative', cursive;
  --font-body:  'Crimson Pro', serif;

  --glow-gold:  0 0 20px rgba(255,215,0,0.4), 0 0 60px rgba(255,107,0,0.15);
  --glow-om:    0 0 40px rgba(255,215,0,0.6), 0 0 80px rgba(255,107,0,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--deep-bg);
  color: var(--text-main);
  font-family: var(--font-dev);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── COSMIC BACKGROUND ── */
.cosmos {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
}

.stars {
  position: absolute; inset: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
}

@keyframes twinkle {
  0%,100% { opacity: 0.1; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.5); }
}

.nebula {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(139,0,0,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 70%, rgba(255,107,0,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 0%,  rgba(255,215,0,0.05) 0%, transparent 60%);
}

/* ── FLOATING SYMBOLS ── */
.floating-symbols { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.sym {
  position: absolute;
  font-family: var(--font-dev);
  color: var(--gold);
  opacity: 0.04;
  animation: floatSym linear infinite;
  user-select: none;
}

.s1 { font-size: 8rem;  left:  5%; top: 10%; animation-duration: 25s; animation-delay: 0s; }
.s2 { font-size: 5rem;  right: 8%; top: 20%; animation-duration: 30s; animation-delay: -10s; }
.s3 { font-size: 6rem;  left: 15%; top: 60%; animation-duration: 22s; animation-delay: -5s; }
.s4 { font-size:10rem;  right:12%; top: 50%; animation-duration: 35s; animation-delay: -15s; }
.s5 { font-size: 4rem;  left: 40%; top: 80%; animation-duration: 20s; animation-delay: -8s; }
.s6 { font-size: 7rem;  right:30%; top:  5%; animation-duration: 28s; animation-delay: -3s; }
.s7 { font-size:12rem;  left:  2%; top: 40%; animation-duration: 40s; animation-delay: -20s; }
.s8 { font-size: 4rem;  left: 60%; top: 30%; animation-duration: 18s; animation-delay: -12s; }

@keyframes floatSym {
  0%   { transform: translateY(0)   rotate(0deg);   opacity: 0.04; }
  25%  { transform: translateY(-30px) rotate(5deg);  opacity: 0.07; }
  50%  { transform: translateY(-60px) rotate(-5deg); opacity: 0.04; }
  75%  { transform: translateY(-30px) rotate(3deg);  opacity: 0.06; }
  100% { transform: translateY(0)   rotate(0deg);   opacity: 0.04; }
}

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: linear-gradient(to bottom, rgba(10,5,5,0.95) 0%, rgba(10,5,5,0) 100%);
  border-bottom: 1px solid rgba(255,215,0,0.1);
  backdrop-filter: blur(4px);
}

.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-dev); font-size: 1.1rem;
  color: var(--gold);
  text-shadow: var(--glow-gold);
}

.om-small {
  font-size: 1.6rem;
  animation: omPulse 2s ease-in-out infinite;
}

@keyframes omPulse {
  0%,100% { text-shadow: 0 0 8px rgba(255,215,0,0.4); }
  50%      { text-shadow: 0 0 20px rgba(255,215,0,0.9), 0 0 40px rgba(255,107,0,0.4); }
}

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.nav-btn {
  background: linear-gradient(135deg, var(--saffron), var(--crimson)) !important;
  color: var(--cream) !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 2rem;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(255,107,0,0.3);
  transition: box-shadow 0.3s, transform 0.2s !important;
}

.nav-btn:hover {
  box-shadow: 0 0 25px rgba(255,107,0,0.6) !important;
  transform: translateY(-1px) !important;
}

/* ── HERO SECTION ── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 6rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}

/* Mandala background */
.mandala-container {
  position: absolute;
  width: min(90vw, 700px); height: min(90vw, 700px);
  animation: mandalaRotate 120s linear infinite;
  opacity: 0.2;
}

.mandala { width: 100%; height: 100%; }

.mandala-petals {
  animation: mandalaRotate 40s linear infinite reverse;
  transform-origin: 200px 200px;
}

@keyframes mandalaRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Central Om */
.om-central {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 180px; height: 180px;
  margin-bottom: 2rem;
}

.om-glow {
  font-family: var(--font-dev);
  font-size: 7rem;
  color: var(--gold);
  text-shadow: var(--glow-om);
  animation: omGlow 3s ease-in-out infinite, omFloat 4s ease-in-out infinite;
  position: relative; z-index: 2;
}

@keyframes omGlow {
  0%,100% { text-shadow: 0 0 20px #FFD700, 0 0 60px #FF6B00, 0 0 100px rgba(255,107,0,0.3); }
  50%      { text-shadow: 0 0 40px #FFD700, 0 0 100px #FF6B00, 0 0 160px rgba(255,107,0,0.5); }
}

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

.om-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: ringPulse 3s ease-in-out infinite;
  opacity: 0;
}

.r1 { width: 100%; height: 100%; animation-delay: 0s; }
.r2 { width: 140%; height: 140%; animation-delay: 1s; }
.r3 { width: 180%; height: 180%; animation-delay: 2s; }

@keyframes ringPulse {
  0%   { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Hero content */
.hero-tagline {
  font-size: 0.9rem; letter-spacing: 0.4em;
  color: var(--saffron); text-transform: uppercase;
  margin-bottom: 0.8rem;
  animation: fadeInUp 0.8s ease both;
}

.hero-title {
  font-family: var(--font-dev);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--gold);
  text-shadow: var(--glow-gold);
  line-height: 1.1;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  letter-spacing: 0.2em;
  margin-top: 0.5rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-verse {
  display: flex; flex-direction: column;
  gap: 0.2rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,215,0,0.15);
  border-bottom: 1px solid rgba(255,215,0,0.15);
  padding: 0.8rem 0;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--crimson) 100%);
  color: var(--cream);
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-dev);
  box-shadow: 0 4px 20px rgba(255,107,0,0.4), 0 0 40px rgba(255,107,0,0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,215,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,0,0.6), 0 0 60px rgba(255,107,0,0.25);
}

.btn-primary.large { font-size: 1.2rem; padding: 1.1rem 3rem; }

.btn-secondary {
  display: inline-flex; align-items: center;
  color: var(--gold);
  padding: 1rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid rgba(255,215,0,0.3);
  background: rgba(255,215,0,0.05);
  transition: all 0.3s;
}

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

.btn-icon { font-size: 1.1rem; }
.arrow { font-size: 1.2rem; margin-left: 0.3rem; }

/* Lotus petals animation */
.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.petal {
  position: absolute;
  width: 12px; height: 20px;
  background: radial-gradient(ellipse, rgba(255,107,157,0.7), rgba(255,107,157,0.1));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: petalFall linear infinite;
  transform-origin: center top;
}

@keyframes petalFall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTION ORNAMENTS ── */
.section-ornament {
  text-align: center;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  padding: 1.5rem;
  opacity: 0.5;
}

/* ── ABOUT SECTION ── */
.about {
  position: relative; z-index: 1;
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, var(--deep-bg), rgba(20,10,8,0.95));
}

.about-container { max-width: 1100px; margin: 0 auto; }

.section-title {
  text-align: center;
  font-family: var(--font-dev);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.3);
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center; color: var(--text-muted);
  font-size: 1rem; margin-bottom: 3rem;
}

.dharma-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.dharma-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.dharma-card:hover {
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,107,0,0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255,107,0,0.15);
}

.dharma-card:hover::before { opacity: 1; }

.card-symbol {
  font-size: 2rem; margin-bottom: 0.8rem;
}

.dharma-card h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-dev);
}

.dharma-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  font-family: var(--font-dev);
}

/* ── GRANTHS SECTION ── */
.granths-section {
  position: relative; z-index: 1;
  padding: 5rem 2rem;
  background: radial-gradient(ellipse at center, rgba(139,0,0,0.1) 0%, transparent 70%);
}

.granths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.granth-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20,10,8,0.95), rgba(30,15,10,0.9));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  cursor: pointer;
  transition: all 0.35s ease;
  overflow: hidden;
}

.granth-glow {
  position: absolute;
  inset: -2px;
  border-radius: 21px;
  background: linear-gradient(135deg, var(--saffron), var(--gold), var(--saffron));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.granth-card:hover .granth-glow { opacity: 0.2; }

.granth-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255,215,0,0.5);
  box-shadow: 0 12px 40px rgba(255,107,0,0.25), 0 0 60px rgba(255,215,0,0.05);
}

.granth-icon {
  font-size: 2.5rem; margin-bottom: 0.8rem;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.4));
}

.granth-card h3 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
  font-family: var(--font-dev);
}

.granth-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

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

.complete-badge {
  color: #4CAF50;
  background: rgba(76,175,80,0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.78rem;
}

.partial-badge {
  color: var(--saffron);
  background: rgba(255,107,0,0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.78rem;
}

.cta-center { text-align: center; margin-top: 1rem; }

/* ── LEVELS SECTION ── */
.levels-section {
  position: relative; z-index: 1;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, transparent, rgba(10,5,5,0.8));
}

.levels-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 1rem;
  max-width: 1000px; margin: 2rem auto 0;
}

.level-pill {
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem 1.8rem;
  border-radius: 12px;
  border: 1px solid;
  min-width: 140px;
  text-align: center;
  transition: transform 0.2s;
}

.level-pill:hover { transform: translateY(-3px); }

.l1 { border-color: #E65100; background: rgba(230,81,0,0.08); }
.l2 { border-color: #2E7D32; background: rgba(46,125,50,0.08); }
.l3 { border-color: #1565C0; background: rgba(21,101,192,0.08); }
.l4 { border-color: #6A1B9A; background: rgba(106,27,154,0.08); }
.l5 { border-color: #F57F17; background: rgba(245,127,23,0.08); }
.l6 { border-color: #880E4F; background: rgba(136,14,79,0.08); }

.lp-rank { font-size: 1rem; font-weight: 600; color: var(--cream); }
.lp-info { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── FOOTER ── */
.footer {
  position: relative; z-index: 1;
  text-align: center;
  padding: 4rem 2rem 3rem;
  border-top: 1px solid rgba(255,215,0,0.1);
  background: var(--deep-bg);
}

.footer-om {
  font-size: 3rem; color: var(--gold);
  text-shadow: var(--glow-om);
  animation: omPulse 3s ease-in-out infinite;
  margin-bottom: 1rem;
}

.footer-verse {
  color: var(--text-muted); font-size: 0.95rem;
  letter-spacing: 0.15em; margin-bottom: 0.5rem;
}

.footer-copy {
  color: var(--saffron); font-size: 1rem;
  margin-bottom: 0.4rem;
}

.footer-disc {
  color: var(--text-muted); font-size: 0.75rem;
  opacity: 0.5;
}

/* ══════════════════════════════════════
   PRASHNOTTARI PAGE STYLES
   ══════════════════════════════════════ */

/* Selection Page */
.pq-page {
  position: relative; z-index: 1;
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
}

.pq-header {
  text-align: center; margin-bottom: 3rem;
}

.pq-header h1 {
  font-family: var(--font-dev);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  text-shadow: var(--glow-gold);
}

.pq-header p { color: var(--text-muted); margin-top: 0.5rem; }

/* Granth Selector */
.granth-selector {
  max-width: 900px; margin: 0 auto 3rem;
}

.granth-selector h2 {
  text-align: center; color: var(--saffron);
  font-size: 1.1rem; letter-spacing: 0.3em; margin-bottom: 1.5rem;
}

.granth-tabs {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
}

.granth-tab {
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--card-border);
  border-radius: 2rem;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-dev);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s;
}

.granth-tab:hover, .granth-tab.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255,215,0,0.08);
}

/* Level Grid */
.level-selector {
  max-width: 900px; margin: 0 auto;
}

.level-selector h2 {
  text-align: center; color: var(--saffron);
  font-size: 1.1rem; letter-spacing: 0.3em; margin-bottom: 1.5rem;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.level-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.level-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255,107,0,0.2);
  border-color: rgba(255,215,0,0.4);
}

.level-card.disabled {
  opacity: 0.4; cursor: not-allowed;
}

.lc-rank {
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 0.3rem;
}

.lc-en { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.8rem; }

.lc-price {
  font-size: 1.8rem; color: var(--gold);
  font-weight: 700; margin-bottom: 0.5rem;
}

.lc-qs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.3rem; }

.lc-pool { font-size: 0.75rem; color: var(--text-muted); opacity: 0.6; }

/* ── REGISTRATION MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: linear-gradient(135deg, rgba(20,8,6,0.98), rgba(30,12,8,0.98));
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 440px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 80px rgba(255,107,0,0.05);
  transform: scale(0.9); transition: transform 0.3s;
}

.modal-overlay.active .modal { transform: scale(1); }

.modal-om {
  text-align: center; font-size: 3rem;
  color: var(--gold); margin-bottom: 1rem;
  animation: omPulse 2s ease-in-out infinite;
}

.modal h3 {
  text-align: center; color: var(--gold);
  font-family: var(--font-dev); font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.modal-sub {
  text-align: center; color: var(--text-muted);
  font-size: 0.85rem; margin-bottom: 1.8rem;
}

.modal-summary {
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 12px; padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem; color: var(--text-muted);
}

.modal-summary strong { color: var(--cream); }

.modal-summary .row {
  display: flex; justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,215,0,0.07);
}

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

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

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

.form-group input, .form-group select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-family: var(--font-dev);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--gold);
  background: rgba(255,215,0,0.05);
}

.form-group input::placeholder { color: rgba(184,150,122,0.4); }

.modal-btns {
  display: flex; gap: 0.8rem;
}

.btn-cancel {
  flex: 1; padding: 0.8rem;
  background: transparent;
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-dev); font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-cancel:hover { border-color: var(--gold); color: var(--gold); }

.btn-pay {
  flex: 2; padding: 0.8rem;
  background: linear-gradient(135deg, var(--saffron), var(--crimson));
  border: none; border-radius: 10px;
  color: var(--cream);
  cursor: pointer;
  font-family: var(--font-dev); font-size: 1rem; font-weight: 600;
  box-shadow: 0 4px 15px rgba(255,107,0,0.3);
  transition: all 0.2s;
}

.btn-pay:hover {
  box-shadow: 0 6px 25px rgba(255,107,0,0.5);
  transform: translateY(-1px);
}

/* ── QUIZ INTERFACE ── */
.quiz-page {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: none;
  flex-direction: column;
}

.quiz-page.active { display: flex; }

.quiz-topbar {
  background: rgba(10,5,5,0.95);
  border-bottom: 1px solid rgba(255,215,0,0.1);
  padding: 0.8rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
}

.quiz-granth {
  color: var(--gold); font-size: 1rem;
}

.quiz-progress-text {
  color: var(--text-muted); font-size: 0.85rem;
}

.quiz-timer {
  font-size: 1rem; color: var(--saffron);
  font-variant-numeric: tabular-nums;
}

.quiz-progress-bar {
  height: 3px;
  background: rgba(255,215,0,0.1);
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  transition: width 0.4s ease;
}

.quiz-body {
  flex: 1;
  max-width: 750px; margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

.question-number {
  color: var(--text-muted); font-size: 0.85rem;
  letter-spacing: 0.3em; margin-bottom: 0.8rem;
}

.question-text {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-family: var(--font-dev);
}

.options-grid {
  display: flex; flex-direction: column; gap: 0.9rem;
  margin-bottom: 2rem;
}

.option-btn {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem 1.3rem;
  color: var(--text-main);
  font-family: var(--font-dev); font-size: 0.95rem;
  text-align: left; cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 0.8rem;
  line-height: 1.5;
}

.option-btn:hover:not(.selected):not(.disabled) {
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,215,0,0.06);
  transform: translateX(4px);
}

.option-btn.selected {
  border-color: var(--gold);
  background: rgba(255,215,0,0.1);
  color: var(--gold);
}

.option-btn.correct {
  border-color: #4CAF50;
  background: rgba(76,175,80,0.12);
  color: #4CAF50;
}

.option-btn.incorrect {
  border-color: #f44336;
  background: rgba(244,67,54,0.1);
  color: #f44336;
}

.option-btn.disabled { cursor: default; }

.option-label {
  min-width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
}

.explanation-box {
  background: rgba(255,215,0,0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.9rem; line-height: 1.6;
  margin-bottom: 1.5rem;
  display: none;
}

.explanation-box.show { display: block; }

.quiz-nav {
  display: flex; justify-content: flex-end; gap: 1rem;
}

.btn-next {
  background: linear-gradient(135deg, var(--saffron), var(--crimson));
  border: none; border-radius: 10px;
  color: var(--cream); padding: 0.7rem 2rem;
  font-family: var(--font-dev); font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255,107,0,0.25);
  transition: all 0.2s;
}

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

/* ── RESULT PAGE ── */
.result-page {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
}

.result-page.active { display: flex; }

.result-header {
  text-align: center; margin-bottom: 3rem;
}

.result-om {
  font-size: 4rem; color: var(--gold);
  animation: omPulse 2s ease-in-out infinite;
  margin-bottom: 1rem;
}

.result-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold);
  font-family: var(--font-dev);
}

.result-name {
  font-size: 1.1rem; color: var(--text-muted); margin-top: 0.3rem;
}

.result-score-box {
  background: linear-gradient(135deg, rgba(30,10,8,0.95), rgba(20,8,6,0.95));
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  text-align: center;
  max-width: 500px; width: 100%;
  margin-bottom: 2rem;
  box-shadow: 0 0 60px rgba(255,107,0,0.05);
}

.score-circle {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) var(--pct, 0%), rgba(255,215,0,0.1) 0%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
}

.score-circle::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(10,5,5,0.95);
}

.score-number {
  font-size: 2.2rem; font-weight: 700;
  color: var(--gold); position: relative; z-index: 1;
  line-height: 1;
}

.score-total {
  font-size: 0.85rem; color: var(--text-muted);
  position: relative; z-index: 1;
}

.score-pct {
  font-size: 2rem; color: var(--gold);
  font-weight: 700; margin-bottom: 0.3rem;
}

.score-grade {
  font-size: 1.2rem; color: var(--saffron); margin-bottom: 1rem;
}

.result-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 1.5rem;
}

.stat-item { text-align: center; }

.stat-num { font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); }

.correct-stat .stat-num { color: #4CAF50; }
.wrong-stat .stat-num  { color: #f44336; }
.skip-stat .stat-num   { color: var(--text-muted); }

.result-feedback {
  max-width: 600px; width: 100%;
  background: rgba(255,107,0,0.05);
  border: 1px solid rgba(255,107,0,0.15);
  border-radius: 16px;
  padding: 1.5rem;
  color: var(--text-muted); line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.result-feedback h4 { color: var(--gold); margin-bottom: 0.5rem; }

.result-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

.btn-pdf {
  background: linear-gradient(135deg, var(--saffron), var(--crimson));
  border: none; border-radius: 10px;
  color: var(--cream); padding: 0.9rem 2.5rem;
  font-family: var(--font-dev); font-size: 1rem; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,107,0,0.3);
  transition: all 0.2s;
  display: flex; align-items: center; gap: 0.6rem;
}

.btn-pdf:hover {
  box-shadow: 0 6px 30px rgba(255,107,0,0.5);
  transform: translateY(-2px);
}

.btn-again {
  background: transparent;
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 10px;
  color: var(--gold); padding: 0.9rem 2rem;
  font-family: var(--font-dev); font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

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

/* ── LOADING OVERLAY ── */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(10,5,5,0.9);
  z-index: 300;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}

.loading-overlay.active { opacity: 1; pointer-events: all; }

.loading-om {
  font-size: 4rem; color: var(--gold);
  animation: loadingPulse 1s ease-in-out infinite;
}

@keyframes loadingPulse {
  0%,100% { transform: scale(1);   text-shadow: 0 0 20px rgba(255,215,0,0.4); }
  50%      { transform: scale(1.1); text-shadow: 0 0 40px rgba(255,215,0,0.9); }
}

.loading-text { color: var(--text-muted); font-size: 1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.2rem; }
  .nav-links a:not(.nav-btn) { display: none; }
  .hero { padding: 5rem 1.2rem 3rem; }
  .om-glow { font-size: 5rem; }
  .quiz-topbar { padding: 0.7rem 1rem; }
  .quiz-body { padding: 2rem 1rem; }
  .result-score-box { padding: 2rem 1.5rem; }
  .result-stats { grid-template-columns: repeat(3,1fr); gap: 0.7rem; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--deep-bg); }
::-webkit-scrollbar-thumb {
  background: rgba(255,107,0,0.3);
  border-radius: 3px;
}

/* ── QUESTION PALETTE (overview) ── */
.q-palette {
  position: fixed; right: 1rem; top: 50%; transform: translateY(-50%);
  z-index: 50;
  display: flex; flex-direction: column; gap: 4px;
  max-height: 80vh; overflow-y: auto;
}

.q-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.2);
  cursor: pointer;
  transition: all 0.2s;
}

.q-dot.current  { background: var(--gold); border-color: var(--gold); }
.q-dot.answered { background: rgba(255,107,0,0.5); border-color: var(--saffron); }
.q-dot.correct  { background: rgba(76,175,80,0.6); border-color: #4CAF50; }
.q-dot.incorrect{ background: rgba(244,67,54,0.5); border-color: #f44336; }

@media (max-width: 900px) { .q-palette { display: none; } }

/* Divider */
.divider {
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.2), transparent);
  margin: 0 auto;
}

/* Flash animation for correct/wrong */
@keyframes flashCorrect {
  0%,100% { box-shadow: none; }
  50% { box-shadow: 0 0 20px rgba(76,175,80,0.6); }
}

@keyframes flashWrong {
  0%,100% { box-shadow: none; }
  50% { box-shadow: 0 0 20px rgba(244,67,54,0.5); }
}

.flash-correct { animation: flashCorrect 0.4s ease; }
.flash-wrong   { animation: flashWrong 0.4s ease; }

/* ══════════════════════════════════════════════
   DHARMA-PHP — MISSING / FIXED RULES
   ══════════════════════════════════════════════ */

/* ── Hero layout ── */
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  max-width: 900px; margin: 0 auto;
  padding-top: 5rem;
}

.om-symbol {
  font-family: var(--font-dev);
  font-size: 6rem;
  color: var(--gold);
  text-shadow: 0 0 40px #FFD700, 0 0 80px rgba(255,107,0,.5);
  animation: omGlow 3s ease-in-out infinite, omFloat 4s ease-in-out infinite;
  margin-bottom: .5rem;
  display: block;
}

.sanskrit-verse {
  font-family: var(--font-dev);
  font-size: .9rem;
  letter-spacing: .3em;
  color: var(--saffron);
  opacity: .8;
  margin-bottom: .8rem;
}

/* ── Hero stats ── */
.hero-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 1.8rem;
}

.stat-box {
  background: rgba(255,215,0,.06);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: 12px;
  padding: .9rem 1.6rem;
  min-width: 100px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}

.stat-label {
  font-size: .78rem;
  color: var(--text-muted);
  display: block;
  margin-top: .3rem;
  font-family: var(--font-dev);
  letter-spacing: .05em;
}

/* ── Hero start button ── */
.btn-start {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--crimson) 100%);
  color: #fff;
  padding: 1rem 2.8rem;
  border-radius: 3rem;
  text-decoration: none;
  font-family: var(--font-dev);
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255,107,0,.4), 0 0 40px rgba(255,107,0,.15);
  border: 1px solid rgba(255,215,0,.3);
  transition: all .3s;
  cursor: pointer;
  margin-top: .5rem;
}

.btn-start:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,0,.6), 0 0 60px rgba(255,107,0,.25);
  color: #fff;
  text-decoration: none;
}

/* ── Granth overview grid ── */
.categories-section {
  position: relative; z-index: 1;
  padding: 4rem 2rem;
}

.cat-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  max-width: 1100px;
  margin: 2rem auto 0;
}

.granth-card {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,107,0,.06);
  border: 1px solid rgba(255,215,0,.15);
  border-radius: 12px;
  padding: .75rem 1.3rem;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-dev);
  font-size: .88rem;
  transition: all .25s;
  white-space: nowrap;
}

.granth-card:hover {
  border-color: rgba(255,215,0,.45);
  background: rgba(255,215,0,.08);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,107,0,.15);
}

.gc-icon { font-size: 1.3rem; }
.gc-name { color: inherit; }

/* ── Levels section ── */
.levels-section {
  position: relative; z-index: 1;
  padding: 4rem 2rem;
  background: rgba(255,215,0,.02);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 2rem auto 0;
}

.lvl-card {
  background: rgba(20,8,6,.9);
  border: 1px solid rgba(255,215,0,.12);
  border-radius: 14px;
  padding: 1.3rem;
  text-align: center;
  transition: all .3s;
}

.lvl-card:hover {
  border-color: rgba(255,215,0,.35);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,107,0,.15);
}

.lvl-name {
  font-family: var(--font-dev);
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .2rem;
}

.lvl-en {
  font-size: .72rem;
  color: var(--text-muted);
  margin-bottom: .7rem;
}

.lvl-price {
  font-size: 1.4rem;
  color: var(--saffron);
  font-weight: 700;
  margin-bottom: .3rem;
}

.lvl-qs {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── text-primary alias ── */
.text-primary, var(--text-primary) { color: var(--text-main); }
:root { --text-primary: #F5E6CC; }

/* ── Ensure z-index above cosmos ── */
.nav, .hero, .categories-section, .levels-section {
  position: relative;
  z-index: 2;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero-stats { gap: .8rem; }
  .stat-box { padding: .7rem 1rem; min-width: 80px; }
  .stat-num { font-size: 1.5rem; }
  .btn-start { font-size: .95rem; padding: .85rem 2rem; }
  .cat-overview-grid { gap: .5rem; }
  .granth-card { font-size: .8rem; padding: .6rem 1rem; }
}

/* ════════════════════════════════════════════════════════
   CHANGE 4: FRONTEND UI IMPROVEMENTS
   ════════════════════════════════════════════════════════ */

/* Smooth scroll */
html{scroll-behavior:smooth}

/* Hero improvements */
.hero{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;padding:4rem 1rem 2rem}
.hero-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;max-width:860px;margin:0 auto}
.sanskrit-verse{font-family:var(--font-dev);font-size:.88rem;letter-spacing:.3em;color:var(--saffron);opacity:.75;margin-bottom:.8rem;animation:fadeInDown .8s ease both}
.om-symbol{font-family:var(--font-dev);font-size:5.5rem;color:var(--gold);line-height:1;margin-bottom:.3rem;display:block;text-shadow:0 0 40px rgba(255,215,0,.5),0 0 80px rgba(255,107,0,.3);animation:omFloat 4s ease-in-out infinite,fadeInDown .8s ease both}
@keyframes omFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes fadeInDown{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}
.hero-title{animation:fadeInDown .8s .2s ease both}
.hero-subtitle{animation:fadeInDown .8s .3s ease both}

/* Stats */
.hero-stats{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin:2rem 0 1.8rem;animation:fadeInUp .8s .4s ease both}
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.stat-box{background:rgba(255,215,0,.06);border:1px solid rgba(255,215,0,.18);border-radius:14px;padding:1rem 1.5rem;text-align:center;backdrop-filter:blur(4px);transition:transform .3s,box-shadow .3s}
.stat-box:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(255,107,0,.15)}
.stat-num{font-size:2rem;font-weight:700;color:var(--gold);display:block;line-height:1.1}
.stat-label{font-size:.76rem;color:var(--text-muted);display:block;margin-top:.3rem;font-family:var(--font-dev);letter-spacing:.05em}

/* Start Button */
.btn-start{display:inline-flex;align-items:center;gap:.6rem;background:linear-gradient(135deg,var(--saffron),#c84b00);color:#fff;padding:1rem 2.8rem;border-radius:3rem;text-decoration:none;font-family:var(--font-dev);font-size:1.05rem;font-weight:600;box-shadow:0 4px 24px rgba(255,107,0,.4),0 0 0 1px rgba(255,215,0,.2);transition:all .3s;animation:fadeInUp .8s .5s ease both}
.btn-start:hover{transform:translateY(-3px);box-shadow:0 8px 32px rgba(255,107,0,.6);color:#fff;text-decoration:none}

/* Granth cards */
.categories-section{position:relative;z-index:1;padding:3rem 1.5rem}
.cat-overview-grid{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;max-width:1000px;margin:1.5rem auto 0}
.granth-card{display:flex;align-items:center;gap:.6rem;background:rgba(255,107,0,.06);border:1px solid rgba(255,215,0,.12);border-radius:12px;padding:.7rem 1.2rem;text-decoration:none;color:var(--text-muted);font-family:var(--font-dev);font-size:.87rem;transition:all .25s}
.granth-card:hover{border-color:rgba(255,215,0,.4);background:rgba(255,215,0,.07);color:var(--gold);transform:translateY(-2px);box-shadow:0 4px 14px rgba(255,107,0,.12)}
.gc-icon{font-size:1.25rem}.gc-name{color:inherit}

/* Level cards */
.levels-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;max-width:1000px;margin:1.5rem auto 0}
.lvl-card{background:rgba(20,8,6,.9);border:1px solid rgba(255,215,0,.1);border-radius:14px;padding:1.3rem;text-align:center;transition:all .3s}
.lvl-card:hover{border-color:rgba(255,215,0,.35);transform:translateY(-3px);box-shadow:0 6px 20px rgba(255,107,0,.15)}
.lvl-name{font-family:var(--font-dev);font-size:1rem;color:var(--gold);font-weight:700;margin-bottom:.2rem}
.lvl-en{font-size:.7rem;color:var(--text-muted);margin-bottom:.7rem}
.lvl-price{font-size:1.4rem;color:var(--saffron);font-weight:700;margin-bottom:.3rem}
.lvl-qs{font-size:.78rem;color:var(--text-muted)}

/* Section title */
.section-title{font-family:var(--font-dev);font-size:1.8rem;color:var(--gold);text-align:center;letter-spacing:.05em;position:relative;display:inline-block}
.section-title::after{content:'';display:block;height:2px;background:linear-gradient(90deg,transparent,var(--saffron),transparent);margin-top:.4rem}

/* Nav improvements */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;padding:.8rem 1.5rem;display:flex;justify-content:space-between;align-items:center;background:rgba(8,4,2,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,215,0,.08);transition:background .3s}
.nav-brand{display:flex;align-items:center;gap:.5rem;text-decoration:none;font-family:var(--font-dev);font-size:1rem;color:var(--gold);font-weight:700}
.om-small{font-size:1.4rem;color:var(--saffron)}
.nav-links{display:flex;gap:1.5rem}
.nav-links a{color:var(--text-muted);text-decoration:none;font-size:.85rem;font-family:var(--font-dev);transition:.2s;position:relative}
.nav-links a:hover{color:var(--gold)}
.nav-links a::after{content:'';position:absolute;bottom:-3px;left:0;right:0;height:1px;background:var(--gold);transform:scaleX(0);transition:.3s}
.nav-links a:hover::after{transform:scaleX(1)}
@media(max-width:540px){.nav{padding:.7rem 1rem}.nav-links a{font-size:.78rem}.stat-box{padding:.75rem 1rem;min-width:70px}.stat-num{font-size:1.6rem}}

/* ════════════════════════════════════════════════════════
   CHANGE 5: ADMIN UI IMPROVEMENTS
   ════════════════════════════════════════════════════════ */
/* (applied in admin_header.php styles below) */

/* ══════════════════════════════════════════════
   INDEX PAGE CENTERING FIX
   ══════════════════════════════════════════════ */

/* Hide floating symbols completely — they cause overflow/layout issues */
.floating-symbols { display: none !important; }

/* Hero: full viewport height, truly centered */
.hero {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1rem !important;
  padding-top: 54px !important; /* nav height offset */
}

/* Hero content: no extra top padding */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding-top: 0 !important;
  padding-bottom: 2rem;
}

/* OM symbol size */
.om-symbol {
  font-size: 5rem !important;
  margin-bottom: .4rem !important;
}

/* Hero title spacing */
.hero-title {
  margin-bottom: .4rem;
}

/* Stats spacing */
.hero-stats {
  margin: 1.5rem 0 1.5rem !important;
}

@media (max-width: 600px) {
  .hero {
    padding-top: 50px !important;
  }
  .om-symbol { font-size: 3.8rem !important; }
}

/* ══════════════════════════════════════════════════════════
   MOBILE NAV HAMBURGER FIX
   ══════════════════════════════════════════════════════════ */

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  background: none;
  border: 1.5px solid rgba(255,215,0,.35);
  border-radius: 8px;
  padding: .35rem .55rem;
  cursor: pointer;
  color: #ffd700;
  font-size: 1.1rem;
  line-height: 1;
  transition: all .2s;
  flex-shrink: 0;
  z-index: 200;
}
.nav-hamburger:hover {
  background: rgba(255,215,0,.1);
  border-color: rgba(255,215,0,.6);
}

/* Mobile drawer overlay */
.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 150;
  backdrop-filter: blur(2px);
}
.nav-drawer-overlay.open { display: block; }

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  top: 0; right: -100%; bottom: 0;
  width: min(280px, 80vw);
  background: rgba(12,5,2,.98);
  border-left: 1px solid rgba(255,215,0,.15);
  z-index: 160;
  padding: 4.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  transition: right .3s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(16px);
}
.nav-drawer.open { right: 0; }
.nav-drawer a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1rem;
  color: #c8a96a;
  text-decoration: none;
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: .95rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all .2s;
}
.nav-drawer a:hover {
  background: rgba(255,215,0,.07);
  color: #ffd700;
  border-color: rgba(255,215,0,.15);
}
.nav-drawer-title {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: .75rem;
  color: #5a4a3a;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  padding: 0 .3rem;
}
.nav-drawer-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,215,0,.08);
  border: 1px solid rgba(255,215,0,.2);
  color: #ffd700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.nav-drawer-close:hover { background: rgba(255,215,0,.15); }

@media (max-width: 640px) {
  .nav-hamburger { display: flex !important; align-items: center; justify-content: center; }
  /* Hide desktop links on mobile */
  .nav > .nav-links { display: none !important; }
}
