@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0d0607;
  --paper: #FBF3E3;
  --paper-2: #F3E7CC;
  --paper-3: #ECDBB4;
  --maroon-950: #260507;
  --maroon-900: #4E0F13;
  --maroon-800: #6E1519;
  --maroon-700: #8A1E22;
  --ink: #1E1410;
  --ink-soft: #4A382C;
  --gold-300: #F1D9A8;
  --gold-400: #E9C46A;
  --gold-500: #DDA843;
  --gold-600: #C79A3E;
  --saffron-500: #F37021;
  --saffron-600: #E2591B;
  --muted: #8A7767;
  --line: #E7D6B0;
  --success: #2F6B4F;
  --danger: #b91c1c;
  --shadow-lg: 0 24px 60px rgba(38, 5, 7, 0.18);
  --shadow-md: 0 14px 32px rgba(38, 5, 7, 0.14);
  --shadow-sm: 0 8px 20px rgba(38, 5, 7, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  padding-bottom: 84px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', sans-serif;
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
}

.wrap {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 24px);
}

.serif-italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

/* ---------- Emblem / Brandmark ---------- */
.emblem {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brandmark {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.brandmark .brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.32));
}

/* ---------- Royal Shivrajmudra (शिवराजमुद्रा) Component ---------- */
.rajmudra-container {
  background: radial-gradient(circle at center, rgba(78, 15, 19, 0.95), rgba(23, 5, 6, 0.98));
  border: 2px solid var(--gold-400);
  border-radius: 20px;
  padding: 32px 24px;
  margin: 28px 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.rajmudra-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0 L40 20 L20 40 L0 20 Z' fill='none' stroke='%23E9C46A' stroke-width='0.4' opacity='0.15'/%3E%3C/svg%3E");
  pointer-events: none;
}

.rajmudra-seal {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: royalGlow 3s ease-in-out infinite alternate;
}

@keyframes royalGlow {
  0% { filter: drop-shadow(0 0 15px rgba(233, 196, 106, 0.5)); transform: scale(1); }
  100% { filter: drop-shadow(0 0 35px rgba(255, 110, 0, 0.8)); transform: scale(1.02); }
}

.rajmudra-seal svg {
  width: 100%;
  height: 100%;
}

.rajmudra-verse {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #F8D179;
  letter-spacing: 1px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  margin-bottom: 12px;
}

.rajmudra-meaning {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: #FDF3E3;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.92;
}

/* War Cry & Goosebump Banners */
.war-cry-strip {
  background: linear-gradient(90deg, #380B0D 0%, #78171B 50%, #380B0D 100%);
  color: #FFD54F;
  border-top: 1.5px solid #FFD54F;
  border-bottom: 1.5px solid #FFD54F;
  padding: 12px 16px;
  text-align: center;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(110, 21, 25, 0.4);
}

.war-cry-strip .flame-icon {
  font-size: 1.3rem;
  animation: flameFlicker 1.5s infinite alternate;
}

@keyframes flameFlicker {
  0% { transform: scale(0.95); opacity: 0.85; }
  100% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 8px #FF6F00); }
}

/* Full HD Media Cards (Forts & Warriors) */
.hd-feature-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hd-feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(78, 15, 19, 0.35);
  border-color: var(--gold-400);
}

.hd-feature-card .hd-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.hd-feature-card:hover .hd-bg {
  transform: scale(1.08);
}

.hd-feature-card .hd-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 5, 6, 0.15) 0%, rgba(23, 5, 6, 0.6) 50%, rgba(23, 5, 6, 0.95) 100%);
}

.hd-feature-card .hd-content {
  position: relative;
  z-index: 2;
  padding: 16px;
  color: #fff;
}

.hd-feature-card .hd-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(78, 15, 19, 0.85);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.hd-feature-card strong {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.15rem;
  color: #FFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hd-feature-card .d {
  font-size: 0.8rem;
  color: #F0E6D2;
  opacity: 0.9;
  margin-top: 3px;
}

.brandmark .logo-text {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  text-align: left;
}

.brandmark .logo-text .connect {
  display: block;
  font-size: 0.56em;
  letter-spacing: 1.5px;
  color: var(--maroon-800);
}

.brandmark .logo-text .maratha {
  display: block;
  background: linear-gradient(90deg, var(--saffron-600), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- App bar ---------- */
.appbar {
  background: rgba(251, 243, 227, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}

.appbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 14px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  position: relative;
  color: var(--ink);
  transition: background 0.2s, transform 0.15s;
}

.icon-btn:hover {
  background: var(--paper-2);
  transform: translateY(-1px);
}

.icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--maroon-800);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
  border: 1.5px solid var(--paper);
}

.appbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ---------- Jali ornamental divider ---------- */
.jali {
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='18'%3E%3Cpath d='M11 1 L20 9 L11 17 L2 9 Z' fill='none' stroke='%23C79A3E' stroke-width='1.3' opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  margin: 24px 0;
}

.jali.dark {
  opacity: 0.9;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  background: #140305;
}

.hero.short {
  min-height: 380px;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.85) contrast(1.12);
  transform: scale(1.02);
  animation: heroKenBurns 24s infinite alternate ease-in-out;
  z-index: 1;
}

@keyframes heroKenBurns {
  0% { transform: scale(1.02) translateY(0); }
  100% { transform: scale(1.10) translateY(-14px); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(20, 4, 6, 0.52) 0%, rgba(35, 8, 12, 0.42) 32%, rgba(18, 3, 5, 0.94) 85%, #140305 100%),
    radial-gradient(ellipse at 25% 75%, rgba(226, 88, 34, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse at 85% 25%, rgba(243, 197, 108, 0.3) 0%, transparent 55%);
  z-index: 2;
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 56px 20px 54px;
  max-width: 700px;
}

.hero .eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-400);
  margin-bottom: 10px;
}

.hero h1 {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  background: linear-gradient(180deg, #FBF3E3 0%, #F1D9A8 55%, #C79A3E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,0.35));
}

.hero .rule {
  width: 90px;
  height: 3px;
  margin: 16px 0;
  background: linear-gradient(90deg, var(--gold-400), transparent);
  position: relative;
}

.hero .rule::after {
  content: "◆";
  position: absolute;
  left: 98px;
  top: -8px;
  color: var(--gold-400);
  font-size: 0.65rem;
}

.hero p.tagline {
  font-size: 1.02rem;
  max-width: 48ch;
  opacity: 0.92;
  margin: 0 0 22px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(233, 196, 106, 0.4);
  color: var(--paper);
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
}

.stats-glass {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(233, 196, 106, 0.28);
  border-radius: 14px;
  padding: 14px 20px;
  min-width: 104px;
  text-align: center;
}

.stat-glass b {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.4rem;
  color: var(--gold-400);
}

.stat-glass span {
  font-size: 0.7rem;
  opacity: 0.85;
}

/* ---------- Hero Band (Secondary Pages) ---------- */
.hero-band {
  background: linear-gradient(135deg, var(--maroon-950), var(--maroon-800));
  color: var(--paper);
  padding: 36px 0 32px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--gold-600);
}

.hero-band.wide {
  padding: 44px 0 38px;
}

.rider-img {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 220px;
  height: 220px;
  opacity: 0.08;
  pointer-events: none;
}

.hero-band-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-band .eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-400);
  margin-bottom: 6px;
}

.hero-band h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--paper);
  margin-bottom: 8px;
}

.hero-band p {
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 56ch;
  margin: 0;
}

/* ---------- Sections ---------- */
section {
  padding: 40px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 10px;
}

.section-head .eyebrow-sm {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-600);
  font-size: 1.02rem;
  display: block;
  margin-bottom: 4px;
}

.section-head h2 {
  font-size: 1.5rem;
}

.see-all {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--maroon-800);
  white-space: nowrap;
  border-bottom: 1.5px solid var(--gold-600);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.see-all:hover {
  color: var(--saffron-600);
}

/* ---------- Today strip ---------- */
.today-strip {
  background: linear-gradient(90deg, var(--maroon-950), var(--maroon-800));
  color: var(--paper);
  padding: 14px 0;
  border-bottom: 1px solid rgba(233, 196, 106, 0.2);
}

.today-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.today-tag {
  background: var(--gold-500);
  color: var(--ink);
  padding: 5px 14px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}

.today-text {
  font-size: 0.92rem;
  opacity: 0.95;
}

/* ---------- Ornate portrait card ---------- */
.portrait-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px 4px 60px 60px / 4px 4px 30px 30px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.portrait-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}

.portrait-frame {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--maroon-800), var(--maroon-950));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px 4px 90px 90px / 4px 4px 46px 46px;
  margin: 10px 10px 0;
}

.portrait-frame .initial {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2.6rem;
  color: var(--gold-400);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px solid rgba(233, 196, 106, 0.55);
  border-radius: inherit;
  pointer-events: none;
}

.portrait-card .pname {
  font-weight: 700;
  font-size: 0.98rem;
  margin-top: 14px;
  font-family: 'Baloo 2', sans-serif;
}

.portrait-card .prole {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 4px 14px 16px;
  line-height: 1.4;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: flex;
  background: var(--maroon-950);
  color: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 14px 0;
}

.stat-strip .cell {
  flex: 1;
  text-align: center;
  padding: 22px 8px;
  border-right: 1px solid rgba(233, 196, 106, 0.16);
}

.stat-strip .cell:last-child {
  border-right: none;
}

.stat-strip .num {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.5rem;
  color: var(--gold-400);
  font-weight: 700;
}

.stat-strip .lbl {
  font-size: 0.72rem;
  opacity: 0.85;
  margin-top: 3px;
}

@media (max-width: 640px) {
  .stat-strip {
    flex-wrap: wrap;
  }
  .stat-strip .cell {
    flex: 1 1 50%;
    border-bottom: 1px solid rgba(233, 196, 106, 0.16);
  }
}

/* ---------- Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}

.feature-card .media {
  height: 150px;
  position: relative;
  background: linear-gradient(150deg, var(--maroon-700), var(--maroon-950));
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: var(--paper);
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card .media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--saffron-600));
}

.feature-card .body {
  padding: 14px 16px;
  flex: 1;
}

.feature-card .body .d {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.4;
}

.list-row {
  display: flex;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.list-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.list-row .thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--maroon-700), var(--maroon-950));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.1;
}

.list-row .content {
  flex: 1;
}

.list-row h4 {
  font-size: 0.95rem;
}

.list-row .meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 3px;
}

.profile-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.profile-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--maroon-800), var(--maroon-950));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-400);
  border: 2px solid var(--gold-400);
  margin-bottom: 10px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
}

.profile-card .name {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.profile-card .role {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 4px 0 12px;
}

.profile-card .cta {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid var(--maroon-800);
  color: var(--maroon-800);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.profile-card:hover .cta {
  background: var(--maroon-800);
  color: var(--paper);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--saffron-600), var(--gold-600));
  color: #2A1200;
  box-shadow: 0 8px 18px rgba(199, 154, 62, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(199, 154, 62, 0.45);
}

.btn-maroon {
  background: var(--maroon-800);
  color: var(--paper);
}

.btn-maroon:hover {
  background: var(--maroon-900);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--maroon-800);
  color: var(--maroon-800);
}

.btn-outline:hover {
  background: var(--maroon-800);
  color: var(--paper);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-block {
  width: 100%;
}

/* ---------- Video feature ---------- */
.video-feature {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper);
  outline: 1px solid var(--line);
}

.video-feature .frame {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.video-feature iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px 0;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}

.tab {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 9px 17px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: all 0.2s;
}

.tab:hover {
  border-color: var(--gold-600);
}

.tab.active {
  background: var(--maroon-800);
  color: var(--paper);
  border-color: var(--maroon-800);
}

/* ---------- Search ---------- */
.search-row {
  display: flex;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.search-row input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 12px;
  font-size: 0.92rem;
  font-family: inherit;
}

.search-row input:focus {
  outline: 2px solid var(--gold-600);
  outline-offset: -2px;
  border-radius: 6px;
}

.search-row button {
  background: var(--maroon-800);
  color: var(--paper);
  border: none;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
}

/* ---------- Quote / Marquee Banner ---------- */
.quote-banner {
  background: linear-gradient(120deg, var(--maroon-950), var(--maroon-800));
  color: var(--paper);
  text-align: center;
  padding: 30px 22px;
  border-radius: 16px;
  position: relative;
  margin: 28px 0;
  border: 1px solid rgba(233, 196, 106, 0.2);
}

.quote-banner .mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-300);
  line-height: 1.5;
}

.quote-banner span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
}

/* ---------- Notice ---------- */
.notice {
  background: #FBEFD9;
  border: 1px solid var(--gold-600);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  line-height: 1.5;
}

.notice.safe {
  background: #EAF4EE;
  border-color: #BFE0CB;
}

.notice.alert {
  background: #FEE2E2;
  border-color: #FCA5A5;
}

/* ---------- Progress Track ---------- */
.progress-track {
  height: 8px;
  background: var(--paper-3);
  border-radius: 6px;
  overflow: hidden;
  margin: 10px 0 6px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--saffron-600), var(--gold-600));
}

.campaign-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Digital ID card ---------- */
.id-card {
  background: linear-gradient(135deg, var(--maroon-950), var(--maroon-800) 60%, var(--saffron-600));
  color: #fff;
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gold-400);
}

.id-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.id-card .qr {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon-950);
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  padding: 4px;
  border: 2px solid var(--gold-400);
}

.id-card .name {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.3rem;
  margin-top: 16px;
}

.id-card .id-no {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 4px;
  letter-spacing: 1px;
}

.id-card .tier {
  display: inline-block;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---------- Pricing ---------- */
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border: 2px solid var(--saffron-600);
  position: relative;
}

.price-card.featured::before {
  content: "सर्वात लोकप्रिय";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saffron-600);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
}

.price-card .amt {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.6rem;
  margin: 10px 0;
  color: var(--maroon-800);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  text-align: left;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #fffdf8;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--saffron-500);
  outline-offset: -1px;
}

.step-track {
  display: flex;
  justify-content: space-between;
  margin-bottom: 26px;
  position: relative;
}

.step-track::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.step.active .dot {
  background: var(--saffron-600);
  border-color: var(--saffron-600);
  color: #fff;
}

.step.done .dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.step .lbl {
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

/* ---------- Timeline ---------- */
.timeline {
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding: 18px 4px;
}

.tnode {
  min-width: 150px;
  padding: 0 18px;
  border-right: 1px dashed var(--line);
  position: relative;
}

.tnode:first-child {
  padding-left: 0;
}

.tyear {
  font-family: 'Baloo 2', sans-serif;
  color: var(--maroon-800);
  font-weight: 700;
  font-size: 1.05rem;
}

.tdesc {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 5px;
}

/* ---------- District panel (forts) ---------- */
.district-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.district-panel .stats {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.district-panel .stats div {
  font-size: 0.8rem;
  color: var(--muted);
}

.district-panel .stats b {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  color: var(--maroon-800);
  font-size: 1.15rem;
}

.district-chip {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 0.8rem;
  margin: 4px 6px 4px 0;
  background: var(--paper);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.district-chip:hover {
  border-color: var(--gold-600);
}

.district-chip.active {
  background: var(--maroon-800);
  color: var(--paper);
  border-color: var(--maroon-800);
}

/* ---------- Warrior bio card ---------- */
.wcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 80px;
}

.wcard .whead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.wcard .avatar-lg {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--maroon-700), var(--maroon-950));
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 2px solid var(--gold-600);
}

.wcard h3 {
  font-size: 1.1rem;
  font-family: 'Baloo 2', sans-serif;
}

.wcard .role {
  font-size: 0.8rem;
  color: var(--maroon-800);
  font-weight: 700;
}

.wcard p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Bio content (figure pages) ---------- */
.bio {
  max-width: 74ch;
}

.bio h3 {
  margin: 30px 0 12px;
  font-size: 1.2rem;
  font-family: 'Baloo 2', sans-serif;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.bio p {
  color: var(--ink-soft);
  margin: 0 0 15px;
  font-size: 0.97rem;
}

.pull {
  border-left: 4px solid var(--gold-600);
  background: var(--paper-2);
  padding: 14px 18px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  margin: 18px 0;
  color: var(--ink-soft);
  border-radius: 0 8px 8px 0;
}

/* ---------- Quick Grid (Dashboard & More) ---------- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

@media (max-width: 500px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}

.quick-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
}

.quick-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold-600);
  color: var(--maroon-800);
}

.quick-item .ic {
  font-size: 1.6rem;
}

/* ---------- Bottom nav ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(251, 243, 227, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  display: flex;
  z-index: 70;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.06);
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 2px 8px;
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 600;
}

.bottom-nav a.active {
  color: var(--maroon-800);
}

.bottom-nav a .fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-400), var(--maroon-800));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: -22px;
  border: 4px solid var(--paper);
  box-shadow: 0 4px 10px rgba(110, 21, 25, 0.3);
}

/* ---------- Website Topbar & Desktop Mega Navbar ---------- */
.site-topbar {
  background: var(--maroon-950);
  color: var(--paper);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(233, 196, 106, 0.25);
  padding: 6px 0;
}

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

.site-topbar .left-info {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-300);
}

.site-topbar .right-info {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.9;
}

.site-header {
  background: rgba(251, 243, 227, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(38, 5, 7, 0.08);
}

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

.brand-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-desktop .brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.brand-desktop .brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-desktop .brand-main {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.38rem;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.brand-desktop .brand-main .en {
  color: var(--maroon-900);
  font-size: 0.85em;
  letter-spacing: 1.2px;
}

.brand-desktop .brand-main .mr {
  background: linear-gradient(90deg, var(--saffron-600), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-desktop .brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.desktop-nav {
  display: none;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .desktop-nav a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    padding: 8px 11px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .desktop-nav a:hover,
  .desktop-nav a.active {
    color: var(--maroon-800);
    background: rgba(110, 21, 25, 0.08);
  }

  .bottom-nav {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Website Grand Hero Grid ---------- */
.hero-website-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 36px;
  width: 100%;
}

@media (max-width: 991px) {
  .hero-website-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.hero-real-card {
  background: rgba(26, 5, 8, 0.72);
  backdrop-filter: blur(14px);
  border: 2px solid rgba(233, 196, 106, 0.45);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 4;
}

.hero-real-card .card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.hero-real-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-real-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.hero-real-card .card-body {
  padding: 20px;
}

.hero-real-card .card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--saffron-600);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero-real-card h4 {
  color: var(--gold-300);
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.hero-real-card p {
  color: rgba(251, 243, 227, 0.88);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.hero-real-card .card-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Website Grand Mega Footer ---------- */
.website-footer {
  background: linear-gradient(180deg, #1f0507 0%, #100204 100%);
  color: var(--paper);
  border-top: 3px solid var(--gold-500);
  padding: 60px 0 28px;
  margin-top: 50px;
}

.website-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

@media (max-width: 900px) {
  .website-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

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

.website-footer h3 {
  color: var(--gold-400);
  font-size: 1.15rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.website-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-500);
}

.website-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.website-footer ul li {
  margin-bottom: 10px;
}

.website-footer ul li a {
  color: rgba(251, 243, 227, 0.78);
  font-size: 0.88rem;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.website-footer ul li a:hover {
  color: var(--gold-300);
  transform: translateX(4px);
}

.website-footer .footer-bottom {
  border-top: 1px solid rgba(233, 196, 106, 0.2);
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(251, 243, 227, 0.65);
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Data Tables & Structured Information ---------- */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin: 20px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.data-table th {
  background: var(--maroon-900);
  color: var(--paper);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  border-bottom: 2px solid var(--gold-500);
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.data-table tbody tr:nth-child(even) {
  background: rgba(243, 231, 204, 0.25);
}

.data-table tbody tr:hover {
  background: rgba(233, 196, 106, 0.15);
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.info-box-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--maroon-800);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-box-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.info-box-card h4 {
  color: var(--maroon-900);
  font-size: 1.12rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 10px;
}

.info-box-card .tag-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.info-box-card .tag {
  background: var(--paper-2);
  color: var(--maroon-950);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}


/* ---------- Success Box (Register) ---------- */
.success-box {
  text-align: center;
  padding: 30px 10px;
}
.success-box .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

/* ---------- Toast Notifications ---------- */
.cm-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.cm-toast {
  background: var(--maroon-950);
  color: var(--paper);
  border: 1.5px solid var(--gold-400);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cm-toast.success {
  border-left: 5px solid var(--success);
}

.cm-toast.info {
  border-left: 5px solid var(--saffron-600);
}

@keyframes slideInToast {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Modal Dialog ---------- */
.cm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 5, 6, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cm-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cm-modal {
  background: var(--paper);
  border: 1.5px solid var(--gold-400);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.cm-modal-backdrop.open .cm-modal {
  transform: scale(1);
}

.cm-modal .close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}

/* ---------- Service Cards & Badges ---------- */
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-600);
}

.service-card .card-head {
  padding: 16px;
  background: linear-gradient(135deg, var(--paper-2), var(--paper-3));
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.service-card .service-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.badge-verified {
  background: #EAF4EE;
  color: #1E6B3B;
  border: 1px solid #BFE0CB;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.service-card .card-body {
  padding: 18px;
  flex: 1;
}

.service-card .provider-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 6px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card .price-tag {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon-800);
  margin-top: 10px;
}

.service-card .card-footer {
  padding: 12px 18px 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Status Badges */
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.74rem;
  font-weight: 700;
}
.status-confirmed {
  background: #EAF4EE;
  color: #1E6B3B;
  border: 1px solid #BFE0CB;
}
.status-pending {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}
.status-completed {
  background: #E0E7FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

/* ---------- Deep Historical Treatise Styles ---------- */
.treatise-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--line);
}

.treatise-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.treatise-content h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.45rem;
  color: var(--maroon-950);
  margin: 32px 0 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  gap: 10px;
}

.treatise-content h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.2rem;
  color: var(--maroon-800);
  margin: 24px 0 10px;
}

.treatise-content p {
  margin-bottom: 16px;
  text-align: justify;
}

.treatise-content .lead {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--maroon-950);
  font-weight: 500;
  background: var(--paper-2);
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 4px solid var(--saffron-600);
  margin-bottom: 24px;
}

.battle-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--maroon-800);
}

.battle-card .battle-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.battle-card .battle-year {
  background: var(--maroon-950);
  color: var(--gold-400);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 6px;
}

.tactical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 14px 0;
  background: var(--paper-2);
  padding: 14px;
  border-radius: 8px;
}

.tactical-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--maroon-800);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.tactical-item span {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink);
}

.source-citation {
  background: #FDF9F0;
  border: 1px solid #E5D5B8;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.84rem;
  color: #5C4320;
  margin: 22px 0;
  font-style: italic;
}

/* ==========================================================================
   DESKTOP WEBSITE THEME — NAVIGATION, HEADER, FOOTER & DATA PRESENTATION
   ========================================================================== */

/* Top Announcement & Helpline Utility Bar */
.site-topbar {
  background: linear-gradient(90deg, #1C0305 0%, #35080A 50%, #1C0305 100%);
  border-bottom: 1px solid rgba(233, 196, 106, 0.25);
  font-size: 0.82rem;
  color: #FBF3E3;
  padding: 6px 0;
}

.site-topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-topbar-inner .left-info,
.site-topbar-inner .right-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Main Desktop Website Header & Mega Navbar */
.site-header {
  background: linear-gradient(180deg, #3D0B0E 0%, #250507 100%);
  border-bottom: 3px solid var(--gold-500);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.site-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-desktop {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 72px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 3px 10px rgba(233, 196, 106, 0.28));
}

.brand-desktop .brand-logo {
  height: 82px;
  width: auto;
  max-width: 96px;
}

.brand-desktop:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 14px rgba(233, 196, 106, 0.42));
}

.brand-desktop .brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-desktop .brand-main {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-desktop .brand-main .en {
  color: var(--gold-400);
  letter-spacing: 1px;
}

.brand-desktop .brand-main .mr {
  color: var(--saffron-500);
}

.brand-desktop .brand-sub {
  font-size: 0.72rem;
  color: rgba(251, 243, 227, 0.75);
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Desktop Horizontal Mega Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FBF3E3;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.desktop-nav a:hover {
  background: rgba(233, 196, 106, 0.18);
  color: var(--gold-300);
  transform: translateY(-1px);
}

.desktop-nav a.active {
  background: linear-gradient(135deg, var(--saffron-600), var(--saffron-700));
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(230, 81, 0, 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Breadcrumbs Bar */
.breadcrumbs-bar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 0.84rem;
}

.breadcrumbs-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  flex-wrap: wrap;
}

.breadcrumbs-inner a {
  color: var(--maroon-800);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs-inner a:hover {
  color: var(--saffron-700);
  text-decoration: underline;
}

.breadcrumbs-inner .sep {
  opacity: 0.5;
}

.breadcrumbs-inner .current {
  color: var(--ink);
  font-weight: 700;
}

/* Hero Section Desktop Two-Column Grid */
.hero-website-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-real-card {
  background: rgba(28, 4, 6, 0.88);
  backdrop-filter: blur(12px);
  border: 2px solid var(--gold-400);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-real-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.7);
}

.hero-real-card .card-img-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.hero-real-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-real-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.hero-real-card .card-body {
  padding: 22px;
}

.hero-real-card .card-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron-600), var(--saffron-700));
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.hero-real-card h4 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.3rem;
  color: var(--gold-400);
  margin: 0 0 8px;
  line-height: 1.25;
}

.hero-real-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(251, 243, 227, 0.9);
  margin-bottom: 16px;
}

.hero-real-card .card-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Comprehensive Data Tables */
.data-table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin: 20px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  background: linear-gradient(180deg, #3D0B0E, #250507);
  color: var(--gold-400);
  font-family: 'Baloo 2', sans-serif;
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--gold-500);
  white-space: nowrap;
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
  line-height: 1.5;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.data-table tbody tr:hover {
  background: rgba(233, 196, 106, 0.1);
}

/* Structured Info Box Grid */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 22px 0;
}

.info-box-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--maroon-800);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-box-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.info-box-card h4 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.2rem;
  color: var(--maroon-950);
  margin: 0 0 10px;
}

.info-box-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* Heritage Image Showcase Card */
.heritage-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.heritage-photo-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.heritage-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.heritage-photo-card .photo-frame {
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #111;
}

.heritage-photo-card .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.heritage-photo-card:hover .photo-frame img {
  transform: scale(1.06);
}

.heritage-photo-card .photo-meta {
  padding: 16px 20px;
}

.heritage-photo-card .photo-meta h4 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.15rem;
  color: var(--maroon-950);
  margin: 0 0 6px;
}

.heritage-photo-card .photo-meta p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* 4-Column Desktop Mega-Footer */
.website-footer {
  background: linear-gradient(180deg, #240507 0%, #150204 100%);
  color: #FBF3E3;
  border-top: 3px solid var(--gold-500);
  padding: 56px 24px 28px;
  margin-top: 64px;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.website-footer h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.2rem;
  color: var(--gold-400);
  margin: 0 0 16px;
  border-bottom: 2px solid rgba(233, 196, 106, 0.3);
  padding-bottom: 8px;
}

.website-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.website-footer li {
  margin-bottom: 10px;
}

.website-footer a {
  color: rgba(251, 243, 227, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.website-footer a:hover {
  color: var(--gold-300);
  transform: translateX(3px);
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1320px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 243, 227, 0.15);
  text-align: center;
  font-size: 0.84rem;
  color: rgba(251, 243, 227, 0.65);
}

/* Desktop vs Mobile Media Queries */
@media (min-width: 992px) {
  .bottom-nav {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
  .appbar {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .desktop-nav {
    display: none;
  }
  .hero-website-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-topbar {
    display: none;
  }
}

@media (min-width: 1440px) {
  .wrap,
  .site-header-inner,
  .site-topbar-inner,
  .footer-grid,
  .footer-bottom,
  .breadcrumbs-inner {
    max-width: 1400px;
  }

  .hero {
    min-height: 720px !important;
  }

  .hero-website-grid {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 56px;
  }

  .hero-real-card .card-img-wrap {
    height: 300px;
  }

  .desktop-nav a {
    font-size: 0.95rem;
    padding: 10px 16px;
  }
}

@media (min-width: 1920px) {
  .wrap,
  .site-header-inner,
  .site-topbar-inner,
  .footer-grid,
  .footer-bottom,
  .breadcrumbs-inner {
    max-width: 1560px;
  }

  body {
    font-size: 17px;
  }

  .hero {
    min-height: 820px !important;
  }
}

@media (max-width: 1199px) {
  .site-topbar-inner,
  .site-header-inner,
  .breadcrumbs-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header-inner {
    flex-wrap: wrap;
  }

  .brand-desktop {
    min-width: 0;
  }

  .brand-desktop .brand-main {
    font-size: 1.4rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: 540px !important;
  }

  .hero-website-grid {
    gap: 28px;
  }
}

@media (max-width: 991px) {
  .site-topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .site-topbar-inner .left-info,
  .site-topbar-inner .right-info {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .site-header-inner {
    flex-wrap: nowrap;
    align-items: center;
  }

  .brand-desktop .brand-logo {
    height: 68px;
    max-width: 82px;
  }

  .brand-desktop .brand-main {
    font-size: 1.2rem;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    min-height: auto !important;
  }

  .hero-website-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-content {
    padding: 32px 20px !important;
  }

  .hero-real-card {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .wrap {
    padding: 0 14px;
  }

  .site-header-inner {
    padding: 10px 14px;
    gap: 12px;
  }

  .brand-desktop {
    gap: 10px;
    max-width: calc(100% - 112px);
  }

  .brand-desktop .brand-logo {
    height: 58px;
    max-width: 72px;
  }

  .brand-desktop .brand-main {
    font-size: 1.05rem;
    gap: 4px;
    flex-wrap: wrap;
  }

  .brand-desktop .brand-sub {
    display: none;
  }

  .header-actions .btn {
    padding: 7px 10px !important;
    font-size: 0.78rem !important;
  }

  .war-cry-strip {
    font-size: 0.92rem;
    line-height: 1.4;
    padding: 10px 12px;
    gap: 8px;
  }

  .hero-content {
    padding: 24px 14px !important;
  }

  .hero-ctas {
    gap: 10px;
  }

  .hero-ctas .btn,
  .hero-ctas .btn-glass {
    width: 100%;
    justify-content: center;
  }

  .stats-glass {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-real-card .card-img-wrap {
    height: 220px;
  }

  .hero-real-card .card-body {
    padding: 18px;
  }

  .today-inner {
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .website-footer {
    padding: 40px 16px 24px;
  }
}

@media (max-width: 576px) {
  .site-topbar {
    display: none;
  }

  .brand-desktop {
    max-width: calc(100% - 92px);
  }

  .brand-desktop .brand-logo {
    height: 50px;
    max-width: 62px;
  }

  .brand-desktop .brand-main {
    font-size: 0.96rem;
  }

  .header-actions .btn-primary {
    padding: 7px 9px !important;
    font-size: 0.76rem !important;
  }

  .war-cry-strip .flame-icon:last-child {
    display: none;
  }

  .stats-glass,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .hero-real-card .card-img-wrap {
    height: 200px;
  }

  .mobile-nav-drawer {
    width: min(320px, 88vw);
  }
}

@media (max-width: 420px) {
  body {
    font-size: 14px;
  }

  .site-header-inner {
    padding: 8px 12px;
  }

  .brand-desktop {
    gap: 8px;
    max-width: calc(100% - 82px);
  }

  .brand-desktop .brand-logo {
    height: 44px;
    max-width: 54px;
  }

  .brand-desktop .brand-main {
    font-size: 0.88rem;
  }

  .war-cry-strip {
    font-size: 0.84rem;
    letter-spacing: 0.3px;
  }

  .hero-content {
    padding: 22px 12px !important;
  }

  .hero-real-card .card-img-wrap {
    height: 180px;
  }

  .today-tag {
    white-space: normal;
  }
}

/* ==========================================================================
   HYPER-REALISTIC DYNAMIC ANIMATION & VISUAL EFFECTS ENGINE
   ========================================================================== */

/* Live Ember / Spark Particle Canvas */
#emberCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Rajmudra Interactive Soundwave Visualizer & Seal Glow */
.rajmudra-interactive-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
}

.rajmudra-seal-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(233, 196, 106, 0.4);
  animation: rotateSeal 25s linear infinite;
  pointer-events: none;
}

.rajmudra-soundwave {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 112, 33, 0.35);
  animation: soundwavePulse 2.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes rotateSeal {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes soundwavePulse {
  0% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.25;
    border-color: rgba(233, 196, 106, 0.6);
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Gold Shimmer & Metallic Luster */
.gold-shimmer {
  background: linear-gradient(90deg, #DDA843 0%, #FFF5D0 30%, #DDA843 60%, #B8860B 100%);
  background-size: 200% auto;
  color: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
  animation: goldShine 4s linear infinite;
}

@keyframes goldShine {
  to {
    background-position: 200% center;
  }
}

/* Fullscreen Heritage HD Lightbox Modal */
.heritage-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 2, 4, 0.94);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.heritage-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-modal-content {
  background: linear-gradient(145deg, #240507, #140204);
  border: 2px solid var(--gold-400);
  border-radius: 16px;
  max-width: 1080px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 32px rgba(233, 196, 106, 0.25);
  overflow: hidden;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.heritage-lightbox.active .lightbox-modal-content {
  transform: scale(1);
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(233, 196, 106, 0.25);
  background: rgba(0, 0, 0, 0.3);
}

.lightbox-header h3 {
  font-family: 'Baloo 2', sans-serif;
  color: var(--gold-400);
  margin: 0;
  font-size: 1.25rem;
}

.lightbox-close-btn {
  background: transparent;
  border: 1px solid var(--gold-400);
  color: var(--gold-400);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--gold-400);
  color: #1a0204;
  transform: rotate(90deg);
}

.lightbox-img-box {
  flex: 1;
  overflow: hidden;
  background: #080102;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  max-height: 60vh;
  position: relative;
}

.lightbox-img-box img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}

.lightbox-footer-caption {
  padding: 18px 24px;
  background: rgba(18, 3, 5, 0.85);
  border-top: 1px solid rgba(233, 196, 106, 0.2);
  color: #FBF3E3;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Lightbox Clickable Zoom Trigger */
.lightbox-trigger {
  cursor: zoom-in;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.lightbox-trigger:hover {
  filter: brightness(1.08);
}

/* Historian Research Cards Grid */
.researchers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.researcher-card {
  background: linear-gradient(145deg, #FFFFFF, #FDF7EA);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.researcher-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(38, 5, 7, 0.16);
  border-color: var(--gold-400);
}

.researcher-card .quote-mark {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 4rem;
  line-height: 1;
  font-family: serif;
  color: rgba(221, 168, 67, 0.15);
  pointer-events: none;
}

.researcher-card .author-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--maroon-900);
  color: var(--gold-300);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.researcher-card h4 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.22rem;
  color: var(--maroon-950);
  margin: 0 0 6px;
}

.researcher-card .researcher-title {
  font-size: 0.82rem;
  color: var(--saffron-700);
  font-weight: 600;
  margin-bottom: 12px;
}

.researcher-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.researcher-card .key-takeaway {
  background: rgba(233, 196, 106, 0.15);
  border-left: 3px solid var(--gold-500);
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--maroon-900);
  font-weight: 600;
  border-radius: 0 6px 6px 0;
}

/* ==========================================================================
   DESKTOP MEGA-DROPDOWN & NAVIGATION UPGRADES
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown .dropdown-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FBF3E3;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown .dropdown-trigger:hover,
.nav-dropdown.open .dropdown-trigger {
  background: rgba(233, 196, 106, 0.2);
  color: var(--gold-300);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 320px;
  background: linear-gradient(155deg, #240507, #120204);
  border: 1.5px solid var(--gold-500);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu .dropdown-cat-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-400);
  letter-spacing: 0.4px;
  padding: 8px 10px 2px;
  opacity: 0.85;
}

.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 12px !important;
  font-size: 0.86rem !important;
  color: #FBF3E3 !important;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.18s ease;
  background: transparent !important;
}

.nav-dropdown-menu a:hover {
  background: rgba(233, 196, 106, 0.2) !important;
  color: var(--gold-300) !important;
  transform: translateX(4px);
}

/* ==========================================================================
   MOBILE HAMBURGER MENU & SLIDE-OUT NAVIGATION DRAWER
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(233, 196, 106, 0.12);
  border: 1.5px solid var(--gold-400);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(233, 196, 106, 0.25);
  transform: scale(1.05);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0.2);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Slide-Out Drawer Backdrop Overlay */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 2, 4, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Slide-Out Drawer Panel */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: linear-gradient(180deg, #240406 0%, #120204 100%);
  border-left: 2px solid var(--gold-500);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(233, 196, 106, 0.25);
  background: rgba(0, 0, 0, 0.3);
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-drawer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  border: 1.5px solid var(--gold-400);
  background: #FFFFFF;
}

.mobile-drawer-brand span {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-400);
}

.mobile-drawer-close {
  background: transparent;
  border: 1px solid var(--gold-400);
  color: var(--gold-400);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: var(--gold-400);
  color: #120204;
  transform: rotate(90deg);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  gap: 3px;
  flex: 1;
}

.mobile-drawer-nav .drawer-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-400);
  letter-spacing: 0.5px;
  padding: 12px 12px 4px;
  opacity: 0.85;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #FBF3E3;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
  background: rgba(233, 196, 106, 0.18);
  color: var(--gold-300);
  transform: translateX(4px);
}

.mobile-drawer-nav a.active {
  background: linear-gradient(135deg, var(--saffron-600), var(--saffron-700));
  color: #FFFFFF;
}

.mobile-drawer-footer {
  padding: 16px;
  border-top: 1px solid rgba(233, 196, 106, 0.2);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 991px) {
  .mobile-menu-btn {
    display: flex;
  }
  .site-header-inner {
    padding: 10px 18px;
  }
}

@media (max-width: 768px) {
  .site-header-inner {
    padding: 8px 14px;
  }
  .brand-sub {
    display: none;
  }
  .header-actions .btn {
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 480px) {
  .header-actions .btn-outline {
    display: none; /* Login accessible in drawer */
  }
}

/* ==========================================================================
   UNIVERSAL INTERACTIVE MODAL SYSTEM
   ========================================================================== */
.cm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 2, 4, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cm-modal.open {
  opacity: 1;
  visibility: visible;
}

.cm-modal-box {
  background: linear-gradient(160deg, #FFFFFF 0%, #FDF8ED 100%);
  border: 2px solid var(--gold-500);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cm-modal.open .cm-modal-box {
  transform: scale(1) translateY(0);
}

.cm-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--maroon-950), var(--maroon-900));
  border-bottom: 2px solid var(--gold-500);
  color: #FBF3E3;
}

.cm-modal-header h3 {
  font-family: 'Baloo 2', sans-serif;
  color: var(--gold-400);
  margin: 0;
  font-size: 1.22rem;
}

.cm-modal-close {
  background: transparent;
  border: 1px solid var(--gold-400);
  color: var(--gold-400);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cm-modal-close:hover {
  background: var(--gold-400);
  color: #1a0204;
  transform: rotate(90deg);
}

.cm-modal-body {
  padding: 22px 24px;
  color: var(--ink);
  line-height: 1.6;
}

.cm-modal-body label {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--maroon-950);
  font-size: 0.88rem;
}

.cm-modal-body input,
.cm-modal-body select,
.cm-modal-body textarea {
  width: 100%;
  padding: 9px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #FFFFFF;
  color: var(--ink);
  box-sizing: border-box;
}

.cm-modal-body input:focus,
.cm-modal-body select:focus,
.cm-modal-body textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(233, 196, 106, 0.25);
}

.cm-modal-footer {
  padding: 14px 24px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Hero Switcher Active State Glow */
.hero-btn-active {
  background: var(--gold-400) !important;
  color: var(--maroon-950) !important;
  font-weight: 800 !important;
  border-color: var(--gold-400) !important;
  box-shadow: 0 0 14px rgba(233, 196, 106, 0.75) !important;
}

/* Ensure Hero Content Clickability Above Canvas Overlay */
.hero-content {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}




