/* 
  Sree Muchilottu Bhagavathi Foundation (SMBF) - Design System & Animation Stylesheet
  Colors: Sacred Crimson, Temple Gold, Ivory Cream, Glowing Amber
*/

@import url('https://fonts.googleapis.com/css2?family=Manjari:wght@400;700&family=Outfit:wght@300;400;500;600;700&family=Anek+Malayalam:wght@400;500;600;700&display=swap');

:root {
  /* Color Tokens */
  --color-primary: #7A121C;        /* Sacred Temple Crimson */
  --color-primary-dark: #4A080F;   /* Deep Crimson Shadow */
  --color-primary-light: #A31E2B;  /* Vibrant Flame Red */
  --color-gold: #D4AF37;           /* Temple Gold */
  --color-gold-light: #F7E07E;     /* Shimmer Gold */
  --color-gold-dark: #997A15;      /* Antiqued Brass */
  --color-amber: #FF9F1C;          /* Flame Amber */
  --color-bg-light: #FFFDF7;       /* Warm Ivory */
  --color-card-bg: #FFFFFF;        /* Pure White */
  --color-text-dark: #2B1810;      /* Deep Earth Brown */
  --color-text-muted: #6C584C;    /* Muted Wood */
  --color-border: #E8DCC4;        /* Sandstone Border */
  --color-accent: #E63946;

  /* Fonts */
  --font-malayalam: 'Anek Malayalam', 'Manjari', sans-serif;
  --font-english: 'Outfit', sans-serif;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(122, 18, 28, 0.08);
  --shadow-md: 0 8px 24px rgba(122, 18, 28, 0.12);
  --shadow-lg: 0 16px 48px rgba(122, 18, 28, 0.2);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.4);
  --glow-divine: 0 0 35px rgba(255, 159, 28, 0.6);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --color-bg-light: #120507;
  --color-card-bg: #1F0A0D;
  --color-text-dark: #FAF0E6;
  --color-text-muted: #D1B8AC;
  --color-border: #3D161A;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-malayalam);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Inactive Links & Buttons for Phase 1 Static Preview */
a, button, .btn-primary, .btn-secondary, .btn-icon, .portal-btn, .nav-link {
  pointer-events: none !important;
  cursor: default !important;
}

/* Enable Language Toggle Button specifically as requested */
#lang-toggle-btn {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Base Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Top Bar */
.top-announcement-bar {
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-dark));
  color: var(--color-gold-light);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
}

.live-badge {
  background: #E63946;
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.top-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--color-gold);
}

/* Main Navigation Navbar */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  transition: var(--transition-normal);
}

[data-theme="dark"] .main-navbar {
  background: rgba(18, 5, 7, 0.94);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-mini-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-gold);
  object-fit: cover;
  animation: logoMiniGlow 3s infinite alternate;
}

@keyframes logoMiniGlow {
  0% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
  100% { box-shadow: 0 0 20px rgba(255, 159, 28, 0.8); }
}

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

.brand-title-ml {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

[data-theme="dark"] .brand-title-ml {
  color: var(--color-gold-light);
}

.brand-subtitle-en {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-gold-dark);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  color: var(--color-gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--color-gold);
  transition: var(--transition-fast);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 80%;
}

/* Portal Switcher Selector Tabs */
.portal-switcher-bar {
  background: var(--color-primary-dark);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.portal-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.portal-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--color-gold-light);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.portal-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--color-gold);
  transform: translateY(-1px);
}

.portal-btn.active {
  background: linear-gradient(135deg, var(--color-gold), #B38F24);
  color: #1A0507;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  border-color: var(--color-gold-light);
}

/* ===================================================
   DIVINE ANIMATED LOGO HERO SECTION
   =================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  background: radial-gradient(circle at 50% 30%, #3D080F 0%, #1A0306 70%, #0D0203 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

/* Background Rays & Ember Particles */
.divine-rays {
  position: absolute;
  top: 180px; /* Center aligned vertically behind the animated logo */
  left: 50%;
  width: 900px;
  height: 900px;
  margin-top: -450px;
  margin-left: -450px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(212, 175, 55, 0.14) 0deg 15deg,
    transparent 15deg 30deg
  );
  border-radius: 50%;
  animation: rotateRays 40s linear infinite;
  pointer-events: none;
}

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

.hero-glow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 159, 28, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* Animated Logo Container */
.animated-logo-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aura-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 3px dashed var(--color-gold);
  animation: rotateRing 25s linear infinite;
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.6);
}

.aura-ring-inner {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 159, 28, 0.7);
  animation: pulseAura 3s ease-in-out infinite alternate;
}

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

@keyframes pulseAura {
  0% { transform: scale(0.98); opacity: 0.6; box-shadow: 0 0 20px rgba(255, 159, 28, 0.4); }
  100% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 50px rgba(255, 159, 28, 1); }
}

.logo-main-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--color-gold);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.85);
  animation: logoFloat 4s ease-in-out infinite alternate;
  z-index: 10;
  background: #FFF;
}

@keyframes logoFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-10px) scale(1.03); }
}

/* SVG Vector Animated Logo fallback */
.svg-emblem-logo {
  width: 195px;
  height: 195px;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8));
  animation: logoFloat 4s ease-in-out infinite alternate;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.02em;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFE082, #D4AF37, #FFD54F, #FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #F3E5AB;
  max-width: 780px;
  margin: 0 auto 2rem auto;
  font-weight: 500;
  line-height: 1.6;
}

.hero-stats-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #E2D0BE;
}

.hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), #B38F24);
  color: #1A0507;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--color-gold-light);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #FFE082, var(--color-gold));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFF;
  transform: translateY(-3px);
}

/* ===================================================
   SECTION HEADER & COMMON STYLES
   =================================================== */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  background: rgba(122, 18, 28, 0.1);
  color: var(--color-primary);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(122, 18, 28, 0.2);
}

[data-theme="dark"] .section-tag {
  background: rgba(212, 175, 55, 0.15);
  color: var(--color-gold-light);
  border-color: rgba(212, 175, 55, 0.3);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .section-title {
  color: var(--color-gold-light);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ===================================================
   SEARCHABLE TEMPLE DIRECTORY (100+ TEMPLES)
   =================================================== */
.filter-box-card {
  background: var(--color-card-bg);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 1rem;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-light);
  color: var(--color-text-dark);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.temple-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.temple-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.temple-card-media {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #4A080F, #7A121C);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.temple-district-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.65);
  color: var(--color-gold-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.temple-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.temple-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

[data-theme="dark"] .temple-name {
  color: var(--color-gold-light);
}

.temple-info-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.temple-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.temple-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===================================================
   VAZHIPADU CATALOGUE & BOOKING SYSTEM
   =================================================== */
.vazhipadu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.vazhipadu-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.vazhipadu-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(122, 18, 28, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

[data-theme="dark"] .vazhipadu-icon {
  background: rgba(212, 175, 55, 0.15);
  color: var(--color-gold-light);
}

.vazhipadu-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.vazhipadu-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.vazhipadu-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.vazhipadu-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

[data-theme="dark"] .vazhipadu-price {
  color: var(--color-gold-light);
}

/* ===================================================
   MODAL WINDOW & DIGITAL RECEIPT
   =================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-gold);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: var(--transition-normal);
}

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

.modal-header {
  background: var(--color-primary-dark);
  color: var(--color-gold-light);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--color-gold-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 1.75rem;
}

/* Digital Receipt Styling */
.receipt-card {
  border: 3px double var(--color-gold);
  background: #FFFDF5;
  color: #2B1810;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.15);
  position: relative;
}

.receipt-header {
  text-align: center;
  border-bottom: 2px dashed var(--color-gold-dark);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.receipt-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  opacity: 0.06;
  pointer-events: none;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.receipt-table th, .receipt-table td {
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid #E8DCC4;
  text-align: left;
  font-size: 0.95rem;
}

.receipt-qr-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px dashed var(--color-gold-dark);
  padding-top: 1.25rem;
}

.qr-box {
  width: 70px;
  height: 70px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: bold;
}

/* ===================================================
   PORTAL MOCK PANELS (Admin & Devotee)
   =================================================== */
.portal-panel {
  display: none;
}

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

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.admin-stat-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.admin-table th, .admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.admin-table th {
  background: rgba(122, 18, 28, 0.05);
  font-weight: 700;
  color: var(--color-primary);
}

[data-theme="dark"] .admin-table th {
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-gold-light);
}

/* Footer */
.main-footer {
  background: #1A0306;
  color: #E2D0BE;
  padding: 4rem 0 2rem 0;
  border-top: 3px solid var(--color-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #A39182;
}

/* Responsive Queries */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem 2.5rem 1rem;
    min-height: 75vh;
  }
  .animated-logo-wrapper {
    width: 230px;
    height: 230px;
    margin: 0 auto 1.5rem auto;
  }
  .logo-main-img {
    width: 200px;
    height: 200px;
  }
  .aura-ring {
    inset: -14px;
  }
  .aura-ring-inner {
    inset: -6px;
  }
  .divine-rays {
    top: 145px; /* Center aligned vertically behind animated logo in mobile view */
    width: 650px;
    height: 650px;
    margin-top: -325px;
    margin-left: -325px;
  }
  .hero-title { font-size: 1.8rem; }
  .navbar-inner { height: 70px; }
  .nav-menu { display: none; }
  .filter-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats-badges { gap: 1rem; }
}
