/* ============================================================
   style.css — Arupadai Murugan Kovil
   Design: Temple Terracotta & Beige — Minimalist
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Tamil:wght@400;600;700&family=Lato:wght@300;400;600;700&display=swap');

/* ── Custom Cursor — Golden Vel Spear ──
   Golden vel: rich gold body, bright highlight, dark gold ridge & guard.
   Default = gold vel. Pointer = brighter gold vel.
   Hotspot at spear tip (12, 0). Rendered at 24×48px.
   ⚠ Shape will be refined once the reference image is provided.
── */
:root {
  /* Default: Rich gold vel */
  --cursor-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 32 64'%3E%3Cdefs%3E%3ClinearGradient id='blade' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%23B8860B'/%3E%3Cstop offset='40%25' stop-color='%23FFD700'/%3E%3Cstop offset='65%25' stop-color='%23DAA520'/%3E%3Cstop offset='100%25' stop-color='%23B8860B'/%3E%3C/linearGradient%3E%3ClinearGradient id='shaft' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%23B8860B'/%3E%3Cstop offset='50%25' stop-color='%23DAA520'/%3E%3Cstop offset='100%25' stop-color='%23B8860B'/%3E%3C/linearGradient%3E%3C/defs%3E%3C!-- Blade: wide double-edged leaf, sharp at top and base --%3E%3Cpath d='M16,0 C20,4 27,11 27,19 C27,27 22,33 18,35.5 L16,36.5 L14,35.5 C10,33 5,27 5,19 C5,11 12,4 16,0Z' fill='url(%23blade)'/%3E%3C!-- Left-face specular shine --%3E%3Cpath d='M16,1 C15,5 10,12 9,19 C9,24 12,29 14,33 L16,1Z' fill='white' fill-opacity='0.28'/%3E%3C!-- Bright tip flash --%3E%3Cellipse cx='16' cy='2' rx='1.2' ry='2' fill='white' fill-opacity='0.55'/%3E%3C!-- Central spine ridge --%3E%3Cpath d='M16,1 L16,35' stroke='%23996515' stroke-width='0.9' stroke-linecap='round'/%3E%3C!-- Right-edge dark shadow --%3E%3Cpath d='M16,2 C17,6 24,13 24,19 C24,26 20,31 18,34 L16,36 L16,2Z' fill='%23B8860B' fill-opacity='0.35'/%3E%3C!-- Cross-guard: flat bar --%3E%3Crect x='7' y='37' width='18' height='3.5' rx='1.75' fill='%23996515'/%3E%3C!-- Guard face highlight --%3E%3Crect x='7' y='37' width='18' height='1.2' rx='0.6' fill='%23FFD700' fill-opacity='0.6'/%3E%3C!-- Guard end caps --%3E%3Cellipse cx='7' cy='38.75' rx='2.2' ry='2.2' fill='%23DAA520'/%3E%3Cellipse cx='25' cy='38.75' rx='2.2' ry='2.2' fill='%23DAA520'/%3E%3Cellipse cx='7' cy='38.25' rx='1.1' ry='1.1' fill='%23FFD700' fill-opacity='0.7'/%3E%3Cellipse cx='25' cy='38.25' rx='1.1' ry='1.1' fill='%23FFD700' fill-opacity='0.7'/%3E%3C!-- Shaft --%3E%3Crect x='14.5' y='41' width='3' height='17' rx='1.5' fill='url(%23shaft)'/%3E%3C!-- Shaft highlight line --%3E%3Crect x='15' y='41' width='1.2' height='17' rx='0.6' fill='white' fill-opacity='0.18'/%3E%3C!-- Pommel base --%3E%3Cellipse cx='16' cy='59.5' rx='5.5' ry='3' fill='%23996515'/%3E%3Cellipse cx='16' cy='58.5' rx='4' ry='2.2' fill='%23DAA520'/%3E%3Cellipse cx='16' cy='57.8' rx='2.2' ry='1.3' fill='%23FFD700' fill-opacity='0.75'/%3E%3C/svg%3E") 6 0, default;

  /* Pointer: Brighter gold — glowing effect on hover */
  --cursor-pointer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 32 64'%3E%3Cdefs%3E%3ClinearGradient id='blade2' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%23DAA520'/%3E%3Cstop offset='40%25' stop-color='%23FFE44D'/%3E%3Cstop offset='65%25' stop-color='%23FFD700'/%3E%3Cstop offset='100%25' stop-color='%23DAA520'/%3E%3C/linearGradient%3E%3ClinearGradient id='shaft2' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%23DAA520'/%3E%3Cstop offset='50%25' stop-color='%23FFD700'/%3E%3Cstop offset='100%25' stop-color='%23DAA520'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M16,0 C20,4 27,11 27,19 C27,27 22,33 18,35.5 L16,36.5 L14,35.5 C10,33 5,27 5,19 C5,11 12,4 16,0Z' fill='url(%23blade2)'/%3E%3Cpath d='M16,1 C15,5 10,12 9,19 C9,24 12,29 14,33 L16,1Z' fill='white' fill-opacity='0.38'/%3E%3Cellipse cx='16' cy='2' rx='1.4' ry='2.2' fill='white' fill-opacity='0.7'/%3E%3Cpath d='M16,1 L16,35' stroke='%23B8860B' stroke-width='0.9' stroke-linecap='round'/%3E%3Cpath d='M16,2 C17,6 24,13 24,19 C24,26 20,31 18,34 L16,36 L16,2Z' fill='%23DAA520' fill-opacity='0.3'/%3E%3Crect x='7' y='37' width='18' height='3.5' rx='1.75' fill='%23B8860B'/%3E%3Crect x='7' y='37' width='18' height='1.2' rx='0.6' fill='%23FFE44D' fill-opacity='0.75'/%3E%3Cellipse cx='7' cy='38.75' rx='2.2' ry='2.2' fill='%23FFD700'/%3E%3Cellipse cx='25' cy='38.75' rx='2.2' ry='2.2' fill='%23FFD700'/%3E%3Cellipse cx='7' cy='38.25' rx='1.1' ry='1.1' fill='white' fill-opacity='0.6'/%3E%3Cellipse cx='25' cy='38.25' rx='1.1' ry='1.1' fill='white' fill-opacity='0.6'/%3E%3Crect x='14.5' y='41' width='3' height='17' rx='1.5' fill='url(%23shaft2)'/%3E%3Crect x='15' y='41' width='1.2' height='17' rx='0.6' fill='white' fill-opacity='0.25'/%3E%3Cellipse cx='16' cy='59.5' rx='5.5' ry='3' fill='%23B8860B'/%3E%3Cellipse cx='16' cy='58.5' rx='4' ry='2.2' fill='%23FFD700'/%3E%3Cellipse cx='16' cy='57.8' rx='2.2' ry='1.3' fill='white' fill-opacity='0.6'/%3E%3C/svg%3E") 6 0, pointer;
}

/* Apply custom cursor */
*         { cursor: var(--cursor-default); }
a, button, [role="button"], [tabindex], select, input[type="submit"],
.shrine-tab-btn, .gallery-item, .card, .dot, .slider-arrow,
.lightbox-nav, .lightbox-close, .lang-toggle, #theme-toggle-btn {
  cursor: var(--cursor-pointer);
}

/* ── CSS Variables: Temple Terracotta & Beige ── */
body {
  --color-primary:    #B5451B;   /* Terracotta red — main accent */
  --color-primary-dk: #8C3212;   /* Darker terracotta for hover */
  --color-dark-bg:    #7D2120;   /* Deep terracotta — navbar & footer */
  --color-dark-2:     #5C1A18;   /* Deeper dark for panels */
  --color-light-bg:   #FDF8F2;   /* Warm beige — page background */
  --color-cream:      #FFFDF8;   /* Off-white — cards & sections */
  --color-text-light: #FFF3E0;   /* Text on dark backgrounds */
  --color-text-dark:  #2C1A0E;   /* Warm near-black — body text */
  --color-hover:      #8C3212;   /* Hover state */
  --color-muted:      #8C6655;   /* Warm grey-brown — captions */
  --color-border:     #E8D8C8;   /* Warm beige border */

  /* Gold — for cursor, dividers, nav logo, highlights */
  --color-gold:       #D4AF37;   /* True gold */
  --color-gold-light: #F0C840;   /* Brighter gold */
  --color-gold-dk:    #A8860A;   /* Dark gold for shadows/ridges */

  /* CTA button uses gold, not red */
  --color-amber:      #D4AF37;
  --color-amber-dk:   #B09020;

  --font-primary: 'Noto Sans Tamil', 'Lato', sans-serif;
  --font-body:    'Lato', 'Noto Sans Tamil', sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 2px 12px rgba(44, 26, 14, 0.10);
  --shadow-md: 0 4px 24px rgba(44, 26, 14, 0.15);
  --transition: 0.2s ease;

  --nav-height: 110px;
}

/* Single design — no theme overrides */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-primary);
  background: var(--color-light-bg);
  color: var(--color-text-dark);
  line-height: 1.75;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Typography ── */
h1 { font-size: 2.4rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.9rem; font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }

/* ── Utility ── */
.container  { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section-alt { background: var(--color-cream); }
.section-dark { background: var(--color-dark-bg); color: var(--color-text-light); }
.text-center { text-align: center; }

/* ── Section Heading ── */
.section-heading { text-align: center; margin-bottom: 3.5rem; }
.section-heading h2 {
  color: var(--color-text-dark);
  display: inline-block;
  padding-bottom: 0.6rem;
  position: relative;
}
.section-heading h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  margin: 0.5rem auto 0;
  border-radius: 1px;
}
.section-dark .section-heading h2 { color: var(--color-text-light); }
.section-dark .section-heading h2::after { background: var(--color-gold-light); }
.section-heading p { color: var(--color-muted); font-size: 1rem; margin-bottom: 0; }
.section-dark .section-heading p { color: rgba(250,240,230,0.7); }

/* ── Vel Divider ── */
.vel-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
}
.vel-divider::before,
.vel-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.vel-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
  user-select: none;
  font-size: 0;
  line-height: 0;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D4AF37' d='M12 1c3 3 5 5 5 8a5 5 0 1 1-10 0c0-3 2-5 5-8Zm-1 10h2v12h-2z'/%3E%3C/svg%3E");
}

/* ── Announcement Ticker ── */
.ticker-wrap {
  background: var(--color-dark-2);
  color: var(--color-gold-light);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-gold);
  letter-spacing: 0.01em;
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { padding: 0 3rem; }
.ticker-item::before { content: '◆'; margin-right: 1rem; color: var(--color-primary); font-size: 0.6rem; vertical-align: middle; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-dark-bg);
  border-bottom: 1px solid var(--color-gold);
  box-shadow: 0 1px 8px rgba(0,0,0,0.18);
}

/* Row 1: Brand / Logo */
.nav-brand-row {
  padding: 0.75rem 2rem 0.4rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: block;
}
.nav-logo-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(232,245,243,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.1rem;
}

/* Row 2: Nav links */
.nav-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem 0.5rem;
  gap: 0.1rem;
  position: relative;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}
.nav-links a {
  color: rgba(250,240,230,0.75);
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--color-gold-light); }
.nav-links a.active {
  color: var(--color-gold-light);
  border-bottom-color: var(--color-primary);
}

/* Controls group (lang + theme) — pinned to right of nav-links-row */
.nav-controls {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lang-toggle, #theme-toggle-btn {
  background: transparent;
  border: 1px solid rgba(201,168,76,0.45);
  color: var(--color-gold-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.lang-toggle:hover, #theme-toggle-btn:hover {
  border-color: var(--color-gold-light);
  color: #fff;
  background: rgba(255,255,255,0.07);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-gold-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: none;
}
.btn-primary {
  background: var(--color-amber);
  color: #fff;
}
.btn-primary:hover { background: var(--color-amber-dk); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ── Hero / Slider ── */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-height));
  min-height: 480px;
  overflow: hidden;
  background: var(--color-dark-bg);
}
.slider {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}
/* Subtle vignette overlay */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(42,31,23,0.65) 100%);
}
.slide-content {
  position: absolute;
  z-index: 5;
  text-align: center;
  color: var(--color-text-light);
  padding: 2rem;
  max-width: 680px;
}
.slide-content h1 {
  color: var(--color-gold-light);
  margin-bottom: 0.75rem;
  font-size: 2.6rem;
  line-height: 1.2;
}
.slide-content p {
  font-size: 1.05rem;
  color: rgba(250,240,230,0.85);
  margin-bottom: 1.75rem;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(42,31,23,0.5);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--color-gold-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.slider-arrow:hover { background: rgba(42,31,23,0.85); border-color: var(--color-gold-light); }
.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(201,168,76,0.35);
  border: 1px solid rgba(201,168,76,0.6);
  transition: background var(--transition), transform var(--transition);
}
.slider-dots .dot.active { background: var(--color-gold-light); transform: scale(1.4); }


/* Maha Kumbabhishegam countdown */
.mk-countdown-wrap {
  background: linear-gradient(180deg, #fff7ea 0%, #fdf8f2 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0 1.2rem;
}
.mk-countdown-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.mk-countdown-card h3 {
  margin-bottom: 0.35rem;
  color: var(--color-primary);
  font-size: 1.05rem;
}
#mk-countdown {
  margin: 0;
  color: var(--color-text-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Invitation popup */
.invitation-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.invitation-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 12, 8, 0.78);
}
.invitation-popup-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 760px);
  max-height: 90vh;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-gold);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.invitation-popup-content img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}
.invitation-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
/* ── About Snippet (Home) ── */
.about-snippet { background: var(--color-cream); }
.about-snippet .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--color-light-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ── Quick Link Cards ── */
.quick-links { background: var(--color-light-bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--color-text-dark);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: block;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-light);
}
.card-icon { font-size: 2.2rem; margin-bottom: 0.9rem; }
.card h3   { font-size: 0.95rem; color: var(--color-text-dark); font-weight: 600; margin-bottom: 0; }

/* ── Timings Strip (Home) ── */
.timings-strip { background: var(--color-cream); }
.timings-strip table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.timings-strip td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-dark);
}
.timings-strip td:last-child { font-weight: 700; color: var(--color-primary); text-align: right; }
.timings-link { display: inline-block; margin-top: 1rem; color: var(--color-primary); font-weight: 600; font-size: 0.9rem; }
.timings-link:hover { text-decoration: underline; }

/* ── Donation Strip (Home) ── */
.donation-strip { background: var(--color-dark-bg); }
.donation-card {
  background: var(--color-dark-2);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.donation-card h3 { color: var(--color-gold-light); margin-bottom: 0.75rem; }
.donation-card p  { color: rgba(250,240,230,0.75); margin-bottom: 0; }
.donation-details {
  margin: 1.75rem 0 0;
}
.donation-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.5rem;
  align-items: start;
}
.donation-bank-section {
  text-align: left;
}
.donation-section-title {
  color: var(--color-gold-light);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}
.donation-bank-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  text-align: left;
}
.donation-bank-details dt { color: var(--color-gold-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.donation-bank-details dd { color: rgba(250,240,230,0.9); font-weight: 600; margin-left: 0; font-size: 0.95rem; }
.donation-bank-details dd,
.donation-bank-details dd span {
  font-family: 'Noto Sans Tamil', 'Lato', 'Arial Unicode MS', sans-serif;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
}
.donation-upi-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius);
  padding: 0.9rem;
  text-align: center;
}
.donation-upi-qr {
  width: 100%;
  max-width: 190px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: #fff;
}
.donation-upi-link {
  display: inline-block;
  border-radius: var(--radius);
}
.donation-upi-link:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
}
.donation-upi-hint {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: rgba(250,240,230,0.72);
}
.copy-value-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.donation-copy-btn {
  border: 1px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.12);
  color: var(--color-gold-light);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  line-height: 1;
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.donation-copy-btn:hover {
  background: rgba(201,168,76,0.25);
}
.donation-copy-btn.copied {
  background: rgba(51,140,86,0.35);
  border-color: rgba(85,201,127,0.65);
  color: #dff7e8;
}

/* ── Shrines — Orbital Navigator ── */
.shrines-orbit-section {
  padding: 2.5rem 0 5rem;
  background: var(--color-light-bg);
  overflow: hidden;
}

/* ── Stage: the orbital canvas ── */
.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

/* Decorative orbit rings — elliptical */
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-ring-lg {
  width: 86%;
  height: 80%;
  border: 1px dashed rgba(180,140,55,.14);
}
.orbit-ring-sm {
  width: 52%;
  height: 46%;
  border: 1px dashed rgba(180,140,55,.09);
}

/* ══════════════════════════════════════════════
   GOPURAM CENTER PIECE
   ══════════════════════════════════════════════ */
.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.35));
}

/* Irregular-circle center card */
.orbit-blob-content {
  width: 430px;
  height: 430px;
  padding: 1.8rem 2rem 1.7rem;
  text-align: center;
  background: radial-gradient(circle at 28% 22%, #fffdfa 0%, #f7eddc 60%, #f1e2cc 100%);
  border: 2px solid rgba(212,175,55,.52);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(0,0,0,.22), inset 0 0 0 1px rgba(140,50,18,.12);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.orbit-blob-content::before,
.orbit-blob-content::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(180deg, #f3cf58 0%, #d4a737 100%);
  box-shadow: 0 0 0 1px rgba(140,50,18,.22);
}
.orbit-blob-content::before {
  width: 11px;
  height: 11px;
  top: 14px;
  left: 16px;
}
.orbit-blob-content::after {
  width: 9px;
  height: 9px;
  right: 18px;
  bottom: 16px;
}
.orbit-blob-content h3 {
  font-size: 1.02rem;
  color: var(--color-primary);
  margin-bottom: 0.22rem;
  line-height: 1.24;
}
.orbit-blob-content .orbit-loc {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-bottom: 0.45rem;
}
.orbit-blob-content .orbit-divider {
  width: 44px;
  height: 2px;
  margin: 0 auto 0.45rem;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.orbit-blob-content p {
  font-size: 0.73rem;
  color: var(--color-text-dark);
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ── Fade animation ── */
.orbit-center-fade {
  animation: none;
}
@keyframes orbitFadeIn {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* ── Orbit slot: handles position + drift animation ── */
.orbit-slot {
  position: absolute;
  z-index: 30;
}
/* Positions for the 6 shrine slots — elliptical arrangement on 16:9 stage */
.orbit-slot-0 { left: 6%;                top: 4%;                    animation: drift0  7.0s ease-in-out infinite; }
.orbit-slot-1 { right: 6%;               top: 4%;                    animation: drift1  9.5s ease-in-out infinite; }
.orbit-slot-2 { left: 0%;                top: calc(50% - 84px);      animation: drift2  8.2s ease-in-out infinite; }
.orbit-slot-3 { right: 0%;               top: calc(50% - 84px);      animation: drift3 10.8s ease-in-out infinite; }
.orbit-slot-4 { left: 6%;                bottom: 4%;                 animation: drift4  7.6s ease-in-out infinite; }
.orbit-slot-5 { right: 6%;               bottom: 4%;                 animation: drift5 11.2s ease-in-out infinite; }

/* Local drift keyframes — each node floats in its own small ellipse */
@keyframes drift0 {
  0%,100% { transform: translate(  0px,   0px); }
  30%     { transform: translate( 12px, -14px); }
  65%     { transform: translate( -8px,  11px); }
}
@keyframes drift1 {
  0%,100% { transform: translate(  0px,   0px); }
  25%     { transform: translate(-13px, -12px); }
  70%     { transform: translate(  9px,  13px); }
}
@keyframes drift2 {
  0%,100% { transform: translate(  0px,   0px); }
  40%     { transform: translate( 14px,  -9px); }
  75%     { transform: translate( -7px,  12px); }
}
@keyframes drift3 {
  0%,100% { transform: translate(  0px,   0px); }
  35%     { transform: translate(-12px, -10px); }
  72%     { transform: translate( 10px,  13px); }
}
@keyframes drift4 {
  0%,100% { transform: translate(  0px,   0px); }
  30%     { transform: translate( 13px,  10px); }
  65%     { transform: translate(-10px, -12px); }
}
@keyframes drift5 {
  0%,100% { transform: translate(  0px,   0px); }
  45%     { transform: translate(-14px,   9px); }
  80%     { transform: translate( 10px, -11px); }
}

/* ── Shrine node button (168px) ── */
.orbit-node {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.45);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-primary);
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  transition: border-color .2s ease;
  z-index: 40;
  position: relative;
  overflow: visible;
}
.orbit-node:hover  { filter: none; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.orbit-node:focus  { outline: 3px solid var(--color-gold); outline-offset: 4px; }
.orbit-node.active {
  border: 3px solid var(--color-gold);
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
}
.orbit-node::before {
  content: none;
}
.orbit-node::after {
  content: none;
}
.orbit-node-img {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.78);
  box-shadow: 0 6px 16px rgba(0,0,0,.26);
  z-index: 1;
  transition: none;
}
.orbit-node-fallback {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.78);
  box-shadow: 0 6px 16px rgba(0,0,0,.26);
  z-index: 1;
  place-items: center;
  padding: 0.75rem;
  background: linear-gradient(135deg, #8c3212, #5c1a18);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: none;
}
.orbit-node-name {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: calc(100% - 10px);
  max-width: calc(100% - 10px);
  font-size: clamp(0.46rem, 1.05vw, 0.56rem);
  font-weight: 700;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.01em;
  padding: 0.3rem 0.42rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0c840 0%, #d4af37 100%);
  color: #4a1b0f;
  text-shadow: none;
  border: 1px solid rgba(140,50,18,.35);
  box-shadow: 0 3px 10px rgba(0,0,0,.24);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Per-shrine gradient colours */
.orbit-n0 { background: linear-gradient(135deg, #52c93b, #156a18); }
.orbit-n1 { background: linear-gradient(135deg, #20d7b1, #06666d); }
.orbit-n2 { background: linear-gradient(135deg, #7b35df, #4420a8); }
.orbit-n3 { background: linear-gradient(135deg, #23d4d3, #076c85); }
.orbit-n4 { background: linear-gradient(135deg, #3f79ff, #1b2a9a); }
.orbit-n5 { background: linear-gradient(135deg, #ef4d8a, #9e1542); }

/* ── Mobile tile fallback — hidden, orbit used on all screen sizes ── */
.shrine-tiles-mobile {
  display: none;
}
.shrine-tile-m {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-bottom: 3px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 0.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow);
}
.shrine-tile-m.active {
  border-color: var(--color-gold);
  border-bottom-color: var(--color-gold);
  background: #fff9f2;
}
.shrine-tile-m-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 4px);
  margin-bottom: 0.55rem;
}
.shrine-tile-m-fallback {
  width: 100%;
  aspect-ratio: 1;
  border-radius: calc(var(--radius-lg) - 4px);
  margin-bottom: 0.55rem;
  background: linear-gradient(135deg, #8c3212, #5c1a18);
  color: var(--color-cream);
  place-items: center;
  padding: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}
.shrine-tile-m-name { font-size: 0.82rem; font-weight: 700; color: var(--color-primary); line-height: 1.3; }

/* ── Mobile content panel ── */
.orbit-panel-mobile { display: none; }
.orbit-panel-mobile.active {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Shared shrine image frame & info (mobile content) */
.shrine-panel { display: none; }
.shrine-panel.active {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: shrineIn 0.35s ease;
}
@keyframes shrineIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Image frame — temple arch shape */
.shrine-img-frame {
  border-radius: 50% 50% 8px 8px / 60% 60% 8px 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  max-height: 300px;
  background: var(--color-light-bg);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}
.shrine-img-frame img { width: 100%; height: 100%; object-fit: cover; }

.shrine-info {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
}
.shrine-info h2 {
  color: var(--color-primary);
  margin-bottom: 0.3rem;
  font-size: 1.75rem;
}
.shrine-info .shrine-location {
  color: var(--color-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.shrine-info p { color: var(--color-text-dark); line-height: 1.85; margin-bottom: 0; }

/* ── Events ── */
.events-list { display: flex; flex-direction: column; gap: 1.5rem; }
.event-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  align-items: start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-card.past  { opacity: 0.45; border-left-color: var(--color-border); }
.event-date-box {
  background: var(--color-dark-bg);
  border-radius: var(--radius);
  padding: 0.85rem 0.75rem;
  text-align: center;
  color: var(--color-gold-light);
}
.event-date-box .month { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(250,240,230,0.6); }
.event-date-box .day   { font-size: 1.8rem; font-weight: 700; line-height: 1.1; }
.event-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.event-tag.upcoming { background: rgba(200,90,0,0.1); color: var(--color-primary); border: 1px solid rgba(200,90,0,0.25); }
.event-tag.past     { background: rgba(0,0,0,0.05); color: var(--color-muted); }
.event-info h3 { color: var(--color-text-dark); margin-bottom: 0.2rem; font-size: 1.15rem; }
.event-info .event-name-en { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.event-info p { margin-bottom: 0; font-size: 0.93rem; color: var(--color-muted); line-height: 1.65; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-light-bg);
  border: 1px solid var(--color-border);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.78rem;
  text-align: center;
  padding: 0.75rem;
  background: var(--color-light-bg);
  flex-direction: column;
  gap: 0.4rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(42,31,23,0.95);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 88vw; max-height: 78vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-caption { color: rgba(250,240,230,0.75); text-align: center; margin-top: 0.75rem; font-size: 0.9rem; }
.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(250,240,230,0.7);
  font-size: 1.6rem;
  line-height: 1;
  transition: color var(--transition);
}
.lightbox-close:hover { color: #fff; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(42,31,23,0.6);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--color-gold-light);
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(42,31,23,0.9); }
.lightbox-nav.prev { left: -3rem; }
.lightbox-nav.next { right: -3rem; }

/* ── Booking Form ── */
.pooja-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.pooja-card {
  background: var(--color-dark-2);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--color-text-light);
}
.pooja-card h3 { color: var(--color-gold-light); margin-bottom: 0.5rem; font-size: 1.1rem; }
.pooja-card p  { color: rgba(250,240,230,0.7); font-size: 0.92rem; margin-bottom: 0; line-height: 1.65; }
.booking-poojas-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.booking-poojas-section .section-heading {
  margin-bottom: 1.75rem;
}
.booking-poojas-section .pooja-cards {
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.booking-poojas-section .pooja-card {
  padding: 1rem;
}
.booking-poojas-section .pooja-card h3 {
  font-size: 1rem;
}
.booking-poojas-section .pooja-card p {
  font-size: 0.86rem;
  line-height: 1.45;
}

.booking-form-wrap {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  max-width: 680px;
  margin: 0 auto;
}
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--color-text-dark); font-size: 0.9rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background: #fff;
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.field-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}
.cf-turnstile {
  margin: 0.25rem 0 1.2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Timings Table (full page) ── */
.timings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}
.timings-table thead { background: var(--color-dark-bg); color: var(--color-gold-light); }
.timings-table th,
.timings-table td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; }
.timings-table tbody tr:last-child td { border-bottom: none; }
.timings-table tbody tr:hover { background: var(--color-light-bg); }
.timings-table .time-col { font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.timings-note {
  background: var(--color-cream);
  border-left: 2px solid var(--color-primary);
  padding: 0.9rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ── About Page ── */
.about-section { margin-bottom: 3rem; }
.about-section h3 {
  color: var(--color-text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1.5px solid var(--color-border);
  font-size: 1.25rem;
  display: inline-block;
}
.about-section h3::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  margin-top: 0.3rem;
}
.about-shrines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.about-shrine-link {
  text-decoration: none;
}
.about-shrine-card {
  background: var(--color-dark-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  color: var(--color-text-light);
  transition: box-shadow .25s;
  min-width: 0;
}
.about-shrine-icon {
  font-size: 2rem;
  margin-bottom: .5rem;
}
.about-shrine-name {
  color: var(--color-gold);
  margin-bottom: .25rem;
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.about-shrine-loc {
  color: var(--color-cream);
  font-size: .8rem;
  margin: 0;
  overflow-wrap: anywhere;
}

/* ── Contact Page ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info-block { margin-bottom: 1.5rem; }
.contact-info-block h4 { color: var(--color-primary); margin-bottom: 0.35rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info-block p,
.contact-info-block a { color: var(--color-text-dark); font-size: 0.95rem; }
.contact-info-block a:hover { color: var(--color-primary); }
.map-placeholder {
  width: 100%;
  height: 280px;
  background: var(--color-light-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.88rem;
  text-align: center;
  padding: 1rem;
  margin-top: 1.25rem;
}
.map-placeholder iframe { width: 100%; height: 100%; border-radius: var(--radius-lg); border: 0; }
.map-link-image {
  display: block;
  width: 100%;
  height: 100%;
}
.map-link-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

/* ── Thank You Page ── */
.thankyou-section {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-light-bg);
}
.thankyou-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  max-width: 480px;
  position: relative;
  overflow: hidden;
}
.thankyou-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold-light));
}
.thankyou-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.thankyou-card h1 { color: var(--color-primary); margin-bottom: 1rem; font-size: 2rem; }
.thankyou-card p  { color: var(--color-muted); margin-bottom: 2rem; }
.thankyou-timer-text {
  margin-top: -0.25rem;
  margin-bottom: 1.4rem;
  color: var(--color-text-dark);
  font-weight: 600;
}
.thankyou-timer-value {
  display: inline-flex;
  min-width: 2.1rem;
  align-items: center;
  justify-content: center;
  margin: 0 0.25rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--color-primary);
}

/* ── Footer ── */
.footer {
  background: var(--color-dark-bg);
  border-top: 1px solid rgba(201,168,76,0.3);
  color: var(--color-text-light);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: rgba(250,240,230,0.6); font-size: 0.88rem; line-height: 1.65; margin-top: 0.5rem; }
.footer h4 { color: var(--color-gold-light); margin-bottom: 1.1rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links a {
  display: block;
  color: rgba(250,240,230,0.6);
  font-size: 0.88rem;
  padding: 0.2rem 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-gold-light); }
#footer-contact-info p { color: rgba(250,240,230,0.65); font-size: 0.88rem; margin-bottom: 0.45rem; }
#footer-contact-info a { color: rgba(250,240,230,0.78); }
#footer-contact-info a:hover { color: var(--color-gold-light); }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.footer-contact-icon {
  width: 16px;
  min-width: 16px;
  display: inline-flex;
  justify-content: center;
  line-height: 1.1;
  margin-top: 2px;
}
.footer-contact-text {
  min-width: 0;
}
.footer-email-link {
  font-size: 0.84rem;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.social-icons { display: flex; gap: 0.65rem; margin-top: 0.75rem; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,168,76,0.75);
  transition: border-color var(--transition), color var(--transition);
}
.social-icon:hover { border-color: var(--color-gold-light); color: var(--color-gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(250,240,230,0.35);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--color-dark-bg);
  padding: 3.5rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}
.page-hero h1 { color: var(--color-gold-light); margin-bottom: 0.4rem; font-size: 2.1rem; }
.page-hero p  { color: rgba(250,240,230,0.65); font-size: 0.95rem; margin-bottom: 0; }

/* ── Shrines Page: Compact Header/Footer ── */
body.shrines-page { --nav-height: 88px; }
body.shrines-page .nav-brand-row { padding: 0.45rem 2rem 0.2rem; }
body.shrines-page .nav-logo { font-size: 1.22rem; }
body.shrines-page .nav-logo-sub { font-size: 0.64rem; margin-top: 0; }
body.shrines-page .nav-links-row { padding: 0 2rem 0.3rem; }
body.shrines-page .nav-links a { padding: 0.25rem 0.62rem; font-size: 0.8rem; }
body.shrines-page .footer { padding: 2.3rem 0 1rem; }
body.shrines-page .footer-grid { gap: 2rem; margin-bottom: 1.6rem; }
body.shrines-page .footer h4 { margin-bottom: 0.7rem; }
body.shrines-page .footer-links a { padding: 0.1rem 0; font-size: 0.84rem; }
body.shrines-page .footer-brand p { font-size: 0.82rem; margin-top: 0.35rem; }
body.shrines-page .footer-bottom { padding-top: 0.9rem; font-size: 0.75rem; }
body.shrines-page .page-hero { padding: 2rem 0; }
body.shrines-page .page-hero h1 { font-size: 1.72rem; margin-bottom: 0.2rem; }
body.shrines-page .page-hero p { font-size: 0.86rem; }



