:root {
  --ink: #0f172a;
  --muted: #475569;
  --peacock-blue: #60a5fa;
  --peacock-teal: #60a5fa;
  --peacock-green: #d4af37;
  --peacock-neck: #0f172a;
  --peacock-deep: #080f1f;
  --copper-bg: #cb5a35;
  --temple-deep: #082b3a;
  --temple-warm: #0d6b6e;
  --cream: #fff6e8;
  --gold: #d4af37;
  --paper: #ffffff;
  --surface: rgba(255, 255, 255, 0.9);
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 60px rgba(2, 6, 23, 0.22);
  --page-bg:
    radial-gradient(circle at 16% 8%, rgba(212, 175, 55, 0.2), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(96, 165, 250, 0.16), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #111f3e 48%, #0f172a 100%);
  --header-bg: rgba(15, 23, 42, 0.96);
  --brand-gradient: linear-gradient(145deg, #d4af37, #60a5fa, #ffffff);
  --button-gradient: linear-gradient(135deg, #d4af37, #f6d978);
  --soft-section-bg:
    radial-gradient(circle at 12% 8%, rgba(212, 175, 55, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 242, 254, 0.9));
  --dark-section-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 58, 138, 0.92));
  --hero-overlay-bg: linear-gradient(90deg, rgba(15, 23, 42, 0.66) 0%, rgba(15, 23, 42, 0.24) 23%, transparent 38%);
}

.prayer-page-main {
  background:
    radial-gradient(circle at 14% 8%, rgba(212, 175, 55, 0.16), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(96, 165, 250, 0.16), transparent 24%),
    var(--soft-section-bg);
}

.prayer-hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(90px, 11vw, 150px) 20px clamp(72px, 8vw, 110px);
  color: #fff8e7;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72)),
    radial-gradient(circle at 50% 16%, rgba(250, 204, 21, 0.58), rgba(212, 175, 55, 0.18) 26%, transparent 54%),
    url("assets/logo.png") center 20% / min(360px, 72vw) no-repeat,
    linear-gradient(135deg, var(--header-bg), var(--peacock-neck));
}

.prayer-hero::before,
.prayer-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% 8% -8%;
  height: 170px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 18% 55%, rgba(255, 255, 255, 0.74), transparent 34%),
    radial-gradient(ellipse at 48% 48%, rgba(255, 255, 255, 0.58), transparent 32%),
    radial-gradient(ellipse at 82% 60%, rgba(255, 255, 255, 0.66), transparent 36%);
  opacity: 0.18;
  filter: blur(2px);
}

.prayer-hero::after {
  inset: 6% -12% auto -12%;
  opacity: 0.12;
}

.prayer-hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.prayer-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(31px, 5vw, 62px);
  line-height: 1.14;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.prayer-hero p {
  margin: 0;
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.7;
  color: rgba(255, 248, 231, 0.9);
}

.prayer-hero-chant {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 26px;
  color: #ffe8a3;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 800;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 54px;
  border: 2px solid rgba(255, 248, 231, 0.72);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  animation: scrollPulse 1.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: translateY(-7px); opacity: 0.45; }
  50% { transform: translateY(8px); opacity: 1; }
}

.prayer-page-section,
.mantra-section,
.popular-mantras-section,
.benefits-section,
.final-devotional-section {
  position: relative;
}

.prayer-page-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.main-prayer-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(250, 204, 21, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(5, 47, 87, 0.9));
}

.glass-prayer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 231, 0.28);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: clamp(26px, 4.4vw, 56px);
  color: #fff8e7;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)),
    rgba(2, 6, 23, 0.24);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.glass-prayer-card::before {
  content: "";
  position: absolute;
  inset: -30% 18% auto;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.24), transparent 68%);
}

.glass-prayer-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 760px;
  color: #fff;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  line-height: 1.9;
}

.glass-prayer-card blockquote p {
  margin: 0 0 16px;
}

.mantra-section,
.benefits-section {
  background: var(--soft-section-bg);
}

.mantra-card {
  border: 1px solid rgba(7, 27, 36, 0.12);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(3, 55, 76, 0.12);
}

.mantra-card h2,
.popular-mantras-section h2,
.benefits-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.25;
}

.highlight-mantra {
  display: inline-block;
  margin: 22px 0 14px;
  border-radius: 8px;
  padding: 16px 24px;
  color: #1a120b;
  background: var(--button-gradient);
  box-shadow: 0 16px 32px rgba(212, 175, 55, 0.24);
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.25;
}

.mantra-card p:not(.section-kicker):not(.highlight-mantra):not(.prayer-feedback) {
  max-width: 720px;
  margin: 0 auto 22px;
  color: #315260;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.75;
}

.gold-action {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #1a120b;
  background: var(--button-gradient);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.22);
}

.popular-mantras-section {
  background: var(--dark-section-bg);
}

.popular-mantras-section h2 {
  color: #fff8e7;
  text-align: center;
}

.mantra-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.mantra-grid article,
.benefits-grid article {
  border: 1px solid rgba(255, 248, 231, 0.16);
  border-radius: 8px;
  padding: 18px;
  color: #fff8e7;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 800;
  line-height: 1.5;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.mantra-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(255, 248, 231, 0.13);
}

.benefits-section h2 {
  text-align: center;
}

.benefits-grid article {
  color: var(--peacock-neck);
  border-color: rgba(7, 27, 36, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.final-devotional-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.2), transparent 28%),
    var(--dark-section-bg);
}

.final-devotional-card {
  text-align: center;
  color: #fff8e7;
}

.final-devotional-card blockquote {
  margin: 0 0 26px;
  color: #ffe8a3;
  font-size: clamp(26px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.35;
}

.final-devotional-card p {
  margin: 8px 0 0;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 800;
}

@media (max-width: 620px) {
  .prayer-hero {
    min-height: 560px;
    padding: 84px 18px 72px;
  }

  .prayer-hero h1 {
    font-size: clamp(29px, 9vw, 42px);
  }

  .glass-prayer-card,
  .mantra-card {
    padding: 24px 18px;
  }

  .glass-prayer-card blockquote {
    font-size: 14px;
    line-height: 1.8;
  }

  .mantra-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Final prayer-page contrast guard. Keep this after older duplicated prayer rules. */
.popular-mantras-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.18), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0f172a 48%, #052f57 100%) !important;
}

.popular-mantras-section h2 {
  color: #ffe8a3 !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.popular-mantras-section .mantra-grid article {
  color: #fff8e7 !important;
  border-color: rgba(255, 232, 163, 0.28) !important;
  background: rgba(255, 248, 231, 0.12) !important;
}

.popular-mantras-section .mantra-grid article:hover {
  color: #ffffff !important;
  background: rgba(255, 248, 231, 0.18) !important;
}

.mantra-section .mantra-card {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9) !important;
}

.mantra-section .mantra-card h2,
.mantra-section .mantra-card p:not(.section-kicker):not(.highlight-mantra):not(.prayer-feedback) {
  color: var(--ink) !important;
}

body.lang-ta .mantra-108-heading[data-content-lang="en"],
body.lang-ta .mantra-108-list[data-content-lang="en"],
body:not(.lang-ta) .mantra-108-heading[data-content-lang="ta"],
body:not(.lang-ta) .mantra-108-list[data-content-lang="ta"] {
  display: none !important;
}

body.lang-ta .mantra-108-heading[data-content-lang="ta"],
body:not(.lang-ta) .mantra-108-heading[data-content-lang="en"] {
  display: block !important;
}

body.lang-ta .mantra-108-list[data-content-lang="ta"],
body:not(.lang-ta) .mantra-108-list[data-content-lang="en"] {
  display: grid !important;
}

body.lang-ta .kavasam-link-card [data-content-lang="en"],
body:not(.lang-ta) .kavasam-link-card [data-content-lang="ta"] {
  display: none !important;
}

body.lang-ta .kavasam-link-card p[data-content-lang="ta"],
body.lang-ta .kavasam-link-card h2[data-content-lang="ta"],
body:not(.lang-ta) .kavasam-link-card p[data-content-lang="en"],
body:not(.lang-ta) .kavasam-link-card h2[data-content-lang="en"] {
  display: block !important;
}

body.lang-ta .kavasam-link-card a[data-content-lang="ta"],
body:not(.lang-ta) .kavasam-link-card a[data-content-lang="en"] {
  display: inline-flex !important;
}

.kavasam-link-section {
  background: var(--soft-section-bg);
}

.kavasam-link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(7, 27, 36, 0.12);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(3, 55, 76, 0.12);
}

.kavasam-link-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.25;
}

.kavasam-link-card p:not(.section-kicker) {
  margin: 10px 0 0;
  color: #315260;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.7;
}

.kavasam-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  text-decoration: none;
}

.kavasam-page-main {
  background: var(--soft-section-bg);
}

.kavasam-hero {
  padding: clamp(70px, 8vw, 110px) 20px clamp(42px, 5vw, 70px);
  color: #fff8e7;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.38), transparent 34%),
    linear-gradient(135deg, var(--header-bg), var(--peacock-neck));
}

.kavasam-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.12;
}

.kavasam-hero p:not(.section-kicker) {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255, 248, 231, 0.9);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.7;
}

.kavasam-reader-section {
  background: var(--soft-section-bg);
}

.kavasam-reader-card {
  border: 1px solid rgba(7, 27, 36, 0.12);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 54px rgba(3, 55, 76, 0.12);
}

.kavasam-reader-card h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(21px, 2.2vw, 32px);
}

.kavasam-reader-card pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #102a3a;
  font-family: "Noto Sans Tamil", "Inter", sans-serif;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.9;
}

@media (max-width: 620px) {
  .kavasam-link-card {
    grid-template-columns: 1fr;
  }

  .kavasam-view-button {
    width: 100%;
    min-width: 0;
  }
}

.prayer-hero {
  min-height: 420px !important;
  padding: 72px 20px 58px !important;
}

.prayer-hero h1 {
  font-size: clamp(28px, 4vw, 46px) !important;
}

.prayer-hero-chant {
  margin-top: 18px;
}

@media (max-width: 620px) {
  .prayer-hero {
    min-height: 380px !important;
    padding: 58px 18px 44px !important;
  }
}

.mantra-108-section {
  background:
    radial-gradient(circle at 86% 12%, rgba(20, 184, 166, 0.14), transparent 28%),
    var(--soft-section-bg);
}

.mantra-108-heading {
  max-width: 860px;
  margin: 0 auto 28px;
  text-align: center;
}

.mantra-108-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(23px, 2.8vw, 38px);
  line-height: 1.25;
}

.mantra-108-heading p:not(.section-kicker) {
  margin: 12px 0 0;
  color: #315260;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.75;
}

.mantra-108-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: muruga-mantra;
}

.mantra-108-heading[hidden],
.mantra-108-list[hidden] {
  display: none !important;
}

.mantra-108-list li {
  counter-increment: muruga-mantra;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(7, 27, 36, 0.12);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--peacock-neck);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 30px rgba(3, 55, 76, 0.08);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 800;
  line-height: 1.45;
}

.mantra-108-list li::before {
  content: counter(muruga-mantra);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #1a120b;
  background: var(--button-gradient);
  font-size: 12px;
}

@media (max-width: 900px) {
  .mantra-108-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .mantra-108-list {
    grid-template-columns: 1fr;
  }

  .mantra-108-list li {
    min-height: 52px;
  }
}

.popular-mantras-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.18), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0f172a 48%, #052f57 100%) !important;
}

.popular-mantras-section h2 {
  color: #ffe8a3 !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.popular-mantras-section .mantra-grid article {
  color: #fff8e7 !important;
  border-color: rgba(255, 232, 163, 0.28);
  background: rgba(255, 248, 231, 0.12);
}

.popular-mantras-section .mantra-grid article:hover {
  color: #ffffff !important;
  background: rgba(255, 248, 231, 0.18);
}

.mantra-section .mantra-card {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.mantra-section .mantra-card h2,
.mantra-section .mantra-card p:not(.section-kicker):not(.highlight-mantra):not(.prayer-feedback) {
  color: var(--ink);
}

body.theme-vel {
  --ink: #1a120b;
  --muted: #6b4c2f;
  --peacock-blue: #dc2626;
  --peacock-teal: #dc2626;
  --peacock-green: #ffd700;
  --peacock-neck: #1a120b;
  --peacock-deep: #100a06;
  --gold: #ffd700;
  --paper: #fff8e7;
  --surface: rgba(255, 248, 231, 0.9);
  --line: rgba(255, 248, 231, 0.18);
  --page-bg:
    radial-gradient(circle at 16% 8%, rgba(255, 215, 0, 0.2), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(220, 38, 38, 0.14), transparent 32%),
    linear-gradient(135deg, #1a120b 0%, #2b1a0d 48%, #1a120b 100%);
  --header-bg: rgba(26, 18, 11, 0.96);
  --brand-gradient: linear-gradient(145deg, #ffd700, #dc2626, #fff8e7);
  --button-gradient: linear-gradient(135deg, #ffd700, #fff08a);
  --soft-section-bg:
    radial-gradient(circle at 12% 8%, rgba(255, 215, 0, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 248, 231, 0.98), rgba(255, 239, 210, 0.94));
  --dark-section-bg: linear-gradient(135deg, rgba(26, 18, 11, 0.98), rgba(86, 28, 12, 0.92));
  --hero-overlay-bg: linear-gradient(90deg, rgba(26, 18, 11, 0.66) 0%, rgba(26, 18, 11, 0.24) 23%, transparent 38%);
}

body.theme-peacock {
  --ink: #052e16;
  --muted: #386451;
  --peacock-blue: #14b8a6;
  --peacock-teal: #14b8a6;
  --peacock-green: #f59e0b;
  --peacock-neck: #052e16;
  --peacock-deep: #031b0d;
  --gold: #f59e0b;
  --paper: #f8fafc;
  --surface: rgba(248, 250, 252, 0.9);
  --line: rgba(248, 250, 252, 0.18);
  --page-bg:
    radial-gradient(circle at 16% 8%, rgba(245, 158, 11, 0.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(20, 184, 166, 0.16), transparent 32%),
    linear-gradient(135deg, #052e16 0%, #064e3b 48%, #052e16 100%);
  --header-bg: rgba(5, 46, 22, 0.96);
  --brand-gradient: linear-gradient(145deg, #f59e0b, #14b8a6, #f8fafc);
  --button-gradient: linear-gradient(135deg, #f59e0b, #fcd27b);
  --soft-section-bg:
    radial-gradient(circle at 12% 8%, rgba(20, 184, 166, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(236, 253, 245, 0.94));
  --dark-section-bg: linear-gradient(135deg, rgba(5, 46, 22, 0.98), rgba(20, 184, 166, 0.82));
  --hero-overlay-bg: linear-gradient(90deg, rgba(5, 46, 22, 0.66) 0%, rgba(5, 46, 22, 0.24) 23%, transparent 38%);
}

body.theme-kumkum {
  --ink: #78350f;
  --muted: #7c4a20;
  --peacock-blue: #b91c1c;
  --peacock-teal: #b91c1c;
  --peacock-green: #fbbf24;
  --peacock-neck: #78350f;
  --peacock-deep: #451a03;
  --gold: #fbbf24;
  --paper: #fff7ed;
  --surface: rgba(255, 247, 237, 0.92);
  --line: rgba(120, 53, 15, 0.16);
  --page-bg:
    radial-gradient(circle at 16% 8%, rgba(251, 191, 36, 0.28), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(185, 28, 28, 0.12), transparent 32%),
    linear-gradient(135deg, #fff7ed 0%, #ffedd5 48%, #fff7ed 100%);
  --header-bg: rgba(120, 53, 15, 0.96);
  --brand-gradient: linear-gradient(145deg, #fbbf24, #b91c1c, #fff7ed);
  --button-gradient: linear-gradient(135deg, #fbbf24, #ffe08a);
  --soft-section-bg:
    radial-gradient(circle at 12% 8%, rgba(251, 191, 36, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 237, 213, 0.94));
  --dark-section-bg: linear-gradient(135deg, rgba(120, 53, 15, 0.96), rgba(185, 28, 28, 0.9));
  --hero-overlay-bg: linear-gradient(90deg, rgba(120, 53, 15, 0.62) 0%, rgba(120, 53, 15, 0.24) 23%, transparent 38%);
}

body.theme-celestial {
  --ink: #020617;
  --muted: #475569;
  --peacock-blue: #7c3aed;
  --peacock-teal: #7c3aed;
  --peacock-green: #facc15;
  --peacock-neck: #020617;
  --peacock-deep: #01030c;
  --gold: #facc15;
  --paper: #e0f2fe;
  --surface: rgba(224, 242, 254, 0.9);
  --line: rgba(224, 242, 254, 0.18);
  --page-bg:
    radial-gradient(circle at 16% 8%, rgba(250, 204, 21, 0.2), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(124, 58, 237, 0.22), transparent 32%),
    linear-gradient(135deg, #020617 0%, #11113a 48%, #020617 100%);
  --header-bg: rgba(2, 6, 23, 0.96);
  --brand-gradient: linear-gradient(145deg, #facc15, #7c3aed, #e0f2fe);
  --button-gradient: linear-gradient(135deg, #facc15, #fde68a);
  --soft-section-bg:
    radial-gradient(circle at 12% 8%, rgba(124, 58, 237, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(224, 242, 254, 0.98), rgba(250, 245, 255, 0.94));
  --dark-section-bg: linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(76, 29, 149, 0.9));
  --hero-overlay-bg: linear-gradient(90deg, rgba(2, 6, 23, 0.68) 0%, rgba(2, 6, 23, 0.26) 23%, transparent 38%);
}

body.theme-pure {
  --ink: #374151;
  --muted: #4b5563;
  --peacock-blue: #dc2626;
  --peacock-teal: #dc2626;
  --peacock-green: #d97706;
  --peacock-neck: #374151;
  --peacock-deep: #1f2937;
  --gold: #d97706;
  --paper: #ffffff;
  --surface: rgba(255, 255, 255, 0.94);
  --line: rgba(55, 65, 81, 0.16);
  --page-bg:
    radial-gradient(circle at 16% 8%, rgba(217, 119, 6, 0.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(220, 38, 38, 0.1), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f9fafb 48%, #ffffff 100%);
  --header-bg: rgba(55, 65, 81, 0.96);
  --brand-gradient: linear-gradient(145deg, #d97706, #dc2626, #ffffff);
  --button-gradient: linear-gradient(135deg, #d97706, #fbbf24);
  --soft-section-bg:
    radial-gradient(circle at 12% 8%, rgba(217, 119, 6, 0.1), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.96));
  --dark-section-bg: linear-gradient(135deg, rgba(55, 65, 81, 0.96), rgba(220, 38, 38, 0.86));
  --hero-overlay-bg: linear-gradient(90deg, rgba(55, 65, 81, 0.58) 0%, rgba(55, 65, 81, 0.2) 23%, transparent 38%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  font-family: Inter, "Noto Sans Tamil", system-ui, sans-serif;
}

body.lang-ta {
  font-family: "Noto Sans Tamil", Inter, system-ui, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 3px clamp(18px, 4vw, 58px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff8f0;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-block: -9px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-mark img {
  width: 112%;
  height: 112%;
  object-fit: contain;
  display: block;
  filter: saturate(1.12) contrast(1.08) brightness(1.08);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: rgba(255, 244, 232, 0.82);
  font-size: 11px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: #fff8f0;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--gold);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 248, 240, 0.22);
  border-radius: 8px;
  background: rgba(255, 248, 240, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: #fff8f0;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.theme-picker,
.language-picker {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.theme-picker-toggle,
.language-picker-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 248, 240, 0.22);
  border-radius: 50%;
  color: #fff8f0;
  background: rgba(255, 248, 240, 0.14);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.theme-picker-toggle:hover,
.theme-picker-toggle:focus-visible,
.theme-picker.open .theme-picker-toggle,
.language-picker-toggle:hover,
.language-picker-toggle:focus-visible,
.language-picker.open .language-picker-toggle {
  border-color: var(--gold);
  background: rgba(255, 248, 240, 0.2);
  outline: none;
}

.theme-options,
.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(3, 28px);
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 248, 240, 0.24);
  border-radius: 8px;
  background: var(--header-bg);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.language-options {
  grid-template-columns: 1fr;
  min-width: 116px;
  gap: 6px;
  padding: 8px;
}

.theme-picker.open .theme-options,
.language-picker.open .language-options {
  display: grid;
}

.theme-swatch {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.theme-swatch:hover,
.theme-swatch:focus-visible {
  transform: scale(1.13);
  border-color: #ffffff;
  outline: none;
}

.theme-swatch.active {
  border-color: #ffffff;
  box-shadow:
    0 0 0 3px var(--header-bg),
    0 0 0 5px var(--gold);
}

.swatch-divine {
  background: linear-gradient(135deg, #0f172a 0 56%, #d4af37 56%);
}

.swatch-vel {
  background: linear-gradient(135deg, #1a120b 0 56%, #ffd700 56%);
}

.swatch-peacock {
  background: linear-gradient(135deg, #052e16 0 56%, #14b8a6 56%);
}

.swatch-kumkum {
  background: linear-gradient(135deg, #fff7ed 0 50%, #b91c1c 50%);
}

.swatch-celestial {
  background: linear-gradient(135deg, #020617 0 54%, #7c3aed 54%);
}

.swatch-pure {
  background: linear-gradient(135deg, #ffffff 0 50%, #d97706 50%);
}

.lang-button {
  min-width: 96px;
  height: 34px;
  border: 1px solid rgba(255, 248, 240, 0.14);
  border-radius: 8px;
  color: #fff8f0;
  background: rgba(255, 248, 240, 0.08);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lang-button:hover,
.lang-button:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.lang-button.active {
  color: #05202b;
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: 0;
  height: clamp(560px, 46vw, 760px);
  display: grid;
  align-items: end;
  justify-items: start;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: clamp(28px, 4.4vw, 64px);
  background: linear-gradient(135deg, var(--peacock-deep), var(--peacock-blue), var(--peacock-green));
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  z-index: -2;
}

.hero-slide {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 700ms ease, transform 1400ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: -1;
  background: var(--hero-overlay-bg);
}

.hero-content {
  width: calc(100% - clamp(36px, 11.6vw, 148px));
  margin-left: clamp(18px, 5.8vw, 74px);
  margin-right: clamp(18px, 5.8vw, 74px);
  color: #fff;
  background: rgba(3, 36, 61, 0.68);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(3, 36, 61, 0.22);
  backdrop-filter: none;
  padding: 22px 28px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 12px;
}

.hero .eyebrow {
  white-space: pre-line;
  line-height: 1.65;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
}

body.lang-ta .hero h1 {
  font-size: clamp(23px, 2.7vw, 34px);
  white-space: nowrap;
}

.hero-copy {
  max-width: 1100px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(12px, 1vw, 13px);
  line-height: 1.7;
  text-align: left;
}

body.lang-ta .hero-copy {
  max-width: none;
  width: min(100%, 1280px);
  text-align: left;
  white-space: normal;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 11px;
  text-decoration: none;
}

.primary-action {
  color: #05202b;
  background: var(--button-gradient);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: transparent;
  cursor: pointer;
}

.floating-answer-button {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 8;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: #05202b;
  background: var(--button-gradient);
  box-shadow:
    0 16px 38px rgba(2, 6, 23, 0.26),
    0 0 0 4px rgba(255, 255, 255, 0.18);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.floating-answer-button:hover {
  transform: translateY(-1px);
}

.daily-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 34px;
  align-items: center;
  padding: 42px clamp(18px, 7vw, 92px);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(255, 235, 205, 0.94)),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.daily-band h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.12;
}

.daily-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section {
  padding: 58px clamp(18px, 7vw, 92px);
  background: rgba(255, 246, 232, 0.96);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.22;
}

.section-body {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.75;
}

.content-section {
  padding-top: clamp(42px, 6vw, 74px);
  padding-bottom: clamp(52px, 7vw, 88px);
  background:
    radial-gradient(circle at 14% 10%, rgba(242, 193, 78, 0.2), transparent 26%),
    radial-gradient(circle at 88% 4%, rgba(0, 140, 140, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(255, 246, 232, 0.98), rgba(237, 249, 244, 0.94));
}

.content-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.article-content {
  display: grid;
  gap: 12px;
  color: #17313d;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.78;
}

.article-content > p,
.article-content li {
  max-width: 900px;
}

.article-content p {
  margin: 0;
}

.article-content > p:first-child {
  max-width: 820px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.22;
}

.article-content h2 {
  margin: 28px 0 2px;
  color: var(--peacock-neck);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.24;
}

.article-content h3 {
  margin: 0 0 12px;
  color: var(--peacock-neck);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.26;
}

.article-content ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 10px;
  padding-left: 22px;
}

.article-content li::marker {
  color: var(--gold);
}

.article-content blockquote {
  max-width: 880px;
  margin: 8px 0;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--peacock-neck);
  background: rgba(255, 255, 255, 0.62);
  font-size: clamp(14px, 1.18vw, 16px);
  font-weight: 700;
  line-height: 1.7;
}

.content-card {
  max-width: 980px;
  margin-top: 16px;
  border: 1px solid rgba(7, 27, 36, 0.12);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 50px rgba(3, 55, 76, 0.12);
}

.content-card p + p {
  margin-top: 10px;
}

.home-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.answer-section,
.welcome-home-section,
.how-section,
.arupadai-section,
.purpose-section,
.miracles-section,
.prayer-section,
.final-cta-section {
  background: var(--soft-section-bg);
}

.welcome-home-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  border-left: 6px solid var(--gold);
  border-radius: 0;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 7vw, 110px);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 42px rgba(3, 55, 76, 0.09);
  text-align: left;
}

.welcome-copy {
  max-width: 900px;
}

.welcome-home-card h2 {
  max-width: 920px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.28;
}

.welcome-home-card p:not(.section-kicker) {
  max-width: 880px;
  margin: 0;
  color: #315260;
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.8;
}

.welcome-home-card p + p {
  margin-top: 12px;
}

.welcome-blessing-list {
  max-width: 880px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #315260;
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.85;
}

.welcome-blessing-list li {
  position: relative;
  padding-left: 30px;
}

.welcome-blessing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  background: url("assets/bullets.png") center / contain no-repeat;
  border-radius: 50%;
}

.welcome-closing {
  margin-top: 16px !important;
  color: var(--peacock-neck) !important;
  font-weight: 800;
}

.welcome-image {
  width: min(100%, 280px);
  justify-self: center;
  align-self: center;
  display: grid;
  place-items: center;
  min-height: 340px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 18px 42px rgba(3, 36, 61, 0.16);
}

.welcome-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.answer-layout,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.answer-copy h2,
.home-wrap > h2,
.two-column h2,
.guidance-card h2,
.prayer-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
}

.answer-copy p:last-child,
.two-column p,
.guidance-card p,
.prayer-card p,
.final-cta-card p {
  margin: 16px 0 0;
  color: #315260;
  font-size: clamp(14px, 1.18vw, 16px);
  line-height: 1.75;
}

.answer-box,
.guidance-card,
.trust-card,
.prayer-card,
.final-cta-card {
  border: 1px solid rgba(7, 27, 36, 0.14);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(3, 55, 76, 0.12);
}

.answer-box {
  padding: clamp(22px, 3vw, 34px);
}

.answer-box label {
  display: block;
  color: var(--peacock-neck);
  font-size: 13px;
  font-weight: 800;
}

.answer-controls {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  margin-top: 12px;
}

.answer-controls input,
.answer-controls button,
.hero-answer-button,
.final-cta-card button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.answer-controls input {
  min-height: 48px;
  border: 1px solid rgba(7, 27, 36, 0.18);
  border-radius: 6px;
  padding: 0 12px;
  background: #fffaf0;
}

.answer-controls button {
  min-height: 48px;
  border-radius: 6px;
  color: #05202b;
  background: var(--button-gradient);
  font-size: 13px;
  font-weight: 800;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  min-height: 132px;
  border: 1px solid rgba(7, 27, 36, 0.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(3, 55, 76, 0.1);
  color: #315260;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.steps-list li::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #05202b;
  background: var(--gold);
  font-weight: 800;
}

.arupadai-wrap {
  display: grid;
  gap: 22px;
}

.arupadai-intro {
  max-width: 980px;
}

.arupadai-intro h1,
.arupadai-intro h2,
.arupadai-summary h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.25;
}

.inner-page-main {
  min-height: calc(100vh - 78px);
}

.arupadai-intro h3 {
  margin: 16px 0 8px;
  color: var(--peacock-neck);
  font-size: clamp(16px, 1.35vw, 19px);
}

.arupadai-intro p,
.arupadai-grid p {
  margin: 0;
  color: #315260;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.75;
}

.arupadai-grid {
  display: grid;
  gap: 12px;
}

.arupadai-grid details,
.arupadai-summary {
  border: 1px solid rgba(7, 27, 36, 0.12);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(3, 55, 76, 0.09);
  overflow: hidden;
}

.arupadai-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 16px 18px;
  color: var(--peacock-neck);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.arupadai-grid summary::-webkit-details-marker {
  display: none;
}

.arupadai-grid summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #05202b;
  background: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.arupadai-grid details[open] summary::after {
  content: "-";
}

.arupadai-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 20px;
  align-items: center;
  padding: 0 18px 18px;
}

.arupadai-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(3, 36, 61, 0.14);
}

.arupadai-summary {
  margin-top: 2px;
  padding: 18px;
}

.arupadai-summary-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1fr);
  gap: 10px 16px;
  margin-top: 16px;
  color: #315260;
  font-size: clamp(13px, 1.05vw, 15px);
}

.arupadai-summary-grid span,
.arupadai-summary-grid strong {
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.62);
}

.arupadai-summary-grid strong {
  color: var(--peacock-neck);
}

.arupadai-summary-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: arupadai-place;
}

.arupadai-summary-list li {
  counter-increment: arupadai-place;
  display: grid;
  grid-template-columns: 38px minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  padding: 12px 14px;
  color: #315260;
  background: rgba(255, 255, 255, 0.68);
}

.arupadai-summary-list li::before {
  content: counter(arupadai-place);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #1a120b;
  background: var(--button-gradient);
  font-size: 12px;
  font-weight: 900;
}

.arupadai-summary-list strong {
  color: var(--peacock-neck);
  font-size: clamp(13px, 1.05vw, 15px);
}

.arupadai-summary-list span {
  color: #315260;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.65;
}

.guidance-section,
.trust-section {
  background: var(--dark-section-bg);
}

.guidance-card,
.trust-card {
  color: #fff8f0;
  background: rgba(3, 36, 61, 0.56);
}

.guidance-card {
  padding: clamp(24px, 4vw, 42px);
}

.guidance-card h2,
.trust-card p {
  color: #fff8f0;
}

.guidance-card p {
  color: rgba(255, 248, 240, 0.88);
}

.miracle-wrap {
  display: grid;
  gap: 22px;
}

.miracle-intro {
  max-width: 980px;
}

.miracle-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.25;
}

.miracle-intro p {
  margin: 14px 0 0;
  color: #315260;
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.8;
}

.miracle-tabs {
  display: grid;
  gap: 16px;
}

.miracle-tab-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(7, 27, 36, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(3, 55, 76, 0.09);
}

.miracle-tab-list button {
  min-height: 48px;
  border: 1px solid rgba(7, 27, 36, 0.12);
  border-radius: 6px;
  color: var(--peacock-neck);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 900;
  line-height: 1.25;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.miracle-tab-list button:hover,
.miracle-tab-list button:focus-visible {
  border-color: rgba(212, 175, 55, 0.8);
  transform: translateY(-1px);
  outline: none;
}

.miracle-tab-list button[aria-selected="true"] {
  color: #05202b;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), #ffe69a);
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.24);
}

.miracle-tab-panels {
  border: 1px solid rgba(7, 27, 36, 0.14);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 36px rgba(3, 55, 76, 0.1);
  overflow: hidden;
}

.miracle-tab-panel {
  min-height: 170px;
  padding: 24px;
}

.miracle-tab-panel h3 {
  margin: 0 0 12px;
  color: var(--peacock-neck);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.35;
}

.miracle-tab-panel p {
  margin: 0;
  max-width: 980px;
  color: #315260;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.75;
}

.trust-card,
.prayer-card,
.final-cta-card {
  padding: clamp(24px, 4vw, 42px);
}

.trust-card p {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.35;
}

.trust-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: rgba(255, 248, 240, 0.9);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-cta-card p {
  margin: 0;
  color: var(--peacock-neck);
  font-weight: 800;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  max-width: 1180px;
}

.content-split.reverse {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
}

.section-image {
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(7, 27, 36, 0.16);
  box-shadow: var(--shadow);
  background: var(--peacock-deep);
}

.section-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

.welcome-section .section-image img,
.prayer-image img {
  object-position: 62% center;
}

.dark-image img {
  object-position: center;
}

.welcome-section {
  background:
    radial-gradient(circle at 85% 12%, rgba(242, 193, 78, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(255, 246, 232, 0.98), rgba(232, 249, 244, 0.92));
}

.divine-section {
  background:
    linear-gradient(135deg, rgba(5, 47, 87, 0.96), rgba(0, 109, 143, 0.92)),
    var(--peacock-neck);
}

.devotional-card {
  max-width: 760px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 34px);
}

.quote-card {
  color: #fff8f0;
  background: rgba(3, 36, 61, 0.5);
}

.quote-card h2,
.prayer-card h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.24;
}

.quote-card blockquote {
  margin: 22px 0 12px;
  color: rgba(255, 248, 240, 0.94);
  font-size: clamp(15px, 1.75vw, 20px);
  font-weight: 700;
  line-height: 1.65;
}

.quote-source {
  margin: 0;
  color: #ffe6a8;
  font-size: 16px;
  font-weight: 800;
}

.prayer-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -12%, rgba(255, 232, 163, 0.92), rgba(250, 204, 21, 0.24) 28%, transparent 56%),
    radial-gradient(ellipse at 18% 86%, rgba(255, 255, 255, 0.5), transparent 28%),
    radial-gradient(ellipse at 78% 82%, rgba(255, 255, 255, 0.42), transparent 26%),
    linear-gradient(180deg, #dbeafe 0%, #f8fafc 46%, #fff7ed 100%);
}

.prayer-section::before,
.prayer-section::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 18% 58%, rgba(255, 255, 255, 0.88), transparent 34%),
    radial-gradient(ellipse at 42% 42%, rgba(255, 255, 255, 0.78), transparent 30%),
    radial-gradient(ellipse at 68% 58%, rgba(255, 255, 255, 0.82), transparent 34%),
    radial-gradient(ellipse at 88% 46%, rgba(255, 255, 255, 0.7), transparent 28%);
  filter: blur(2px);
  pointer-events: none;
}

.prayer-section::before {
  top: 28px;
  opacity: 0.58;
  animation: cloudDrift 18s ease-in-out infinite alternate;
}

.prayer-section::after {
  bottom: 18px;
  opacity: 0.48;
  animation: cloudDrift 22s ease-in-out infinite alternate-reverse;
}

.prayer-card {
  background: var(--surface);
}

.devotional-prayer-card {
  position: relative;
  overflow: hidden;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
  color: #fff8e7;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 232, 163, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(35, 29, 72, 0.94));
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-left: 6px solid var(--gold);
  box-shadow:
    0 22px 70px rgba(2, 6, 23, 0.28),
    inset 0 0 0 1px rgba(255, 248, 231, 0.08);
}

.prayer-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.prayer-petals span {
  position: absolute;
  top: -24px;
  width: 14px;
  height: 20px;
  border-radius: 70% 30% 70% 30%;
  background: linear-gradient(145deg, #fda4af, #fb7185 60%, #fff1f2);
  opacity: 0.72;
  animation: petalFloat 10s linear infinite;
}

.prayer-petals span:nth-child(1) { left: 10%; animation-delay: 0s; }
.prayer-petals span:nth-child(2) { left: 24%; animation-delay: 2s; }
.prayer-petals span:nth-child(3) { left: 42%; animation-delay: 4s; }
.prayer-petals span:nth-child(4) { left: 61%; animation-delay: 1s; }
.prayer-petals span:nth-child(5) { left: 76%; animation-delay: 5s; }
.prayer-petals span:nth-child(6) { left: 90%; animation-delay: 3s; }

@keyframes cloudDrift {
  from {
    transform: translateX(-28px);
  }
  to {
    transform: translateX(28px);
  }
}

@keyframes petalFloat {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.72;
  }
  100% {
    transform: translateY(760px) translateX(70px) rotate(260deg);
    opacity: 0;
  }
}

.devotional-prayer-card::before,
.devotional-prayer-card::after {
  content: "";
  position: absolute;
  bottom: 20px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.9), rgba(245, 158, 11, 0.24) 42%, transparent 70%);
  filter: blur(1px);
  opacity: 0.72;
}

.devotional-prayer-card::before {
  left: 24px;
}

.devotional-prayer-card::after {
  right: 24px;
}

.prayer-peacock {
  margin: 0;
  font-size: 30px;
}

.vel-glow {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.34), rgba(250, 204, 21, 0.08));
  box-shadow: 0 0 34px rgba(250, 204, 21, 0.42);
  font-size: 30px;
}

.vel-glow img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  display: block;
  filter: brightness(1.1) saturate(1.08);
}

.devotional-prayer-card h2 {
  position: relative;
  margin: 10px 0 22px;
  color: #fff8e7;
  font-size: clamp(19px, 2.2vw, 30px);
  line-height: 1.35;
}

.devotional-prayer-card blockquote {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.85;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.devotional-prayer-card blockquote p {
  margin: 0 0 14px;
  color: #fff !important;
}

.vel-chant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff !important;
}

.vel-chant img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.5));
}

.prayer-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.prayer-actions button {
  min-height: 42px;
  border: 1px solid rgba(255, 248, 231, 0.24);
  border-radius: 999px;
  padding: 0 16px;
  color: #1a120b;
  background: var(--button-gradient);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.prayer-feedback {
  min-height: 20px;
  margin: 14px 0 0;
  color: #ffe8a3;
  font-size: 12px;
  font-weight: 800;
}

.incense-smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.incense-smoke span {
  position: absolute;
  bottom: 32px;
  left: 50%;
  width: 34px;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  filter: blur(10px);
  animation: smokeRise 6s ease-in-out infinite;
}

.incense-smoke span:nth-child(2) {
  left: 46%;
  animation-delay: 1.4s;
}

.incense-smoke span:nth-child(3) {
  left: 54%;
  animation-delay: 2.8s;
}

@keyframes smokeRise {
  0% {
    transform: translateY(70px) translateX(0) scale(0.65);
    opacity: 0;
  }
  35% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(-150px) translateX(28px) scale(1.25);
    opacity: 0;
  }
}

.prayer-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.prayer-panel,
.temple-grid article,
.festival-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.prayer-panel {
  min-height: 300px;
  padding: 28px;
}

.panel-icon {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, var(--peacock-neck), var(--peacock-teal), var(--peacock-green));
  font-weight: 800;
}

.prayer-panel h3 {
  margin: 28px 0 10px;
  font-size: 21px;
}

.prayer-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.prayer-panel .mantra {
  color: var(--peacock-blue);
  font-size: 18px;
  font-weight: 800;
}

.places-section {
  background:
    linear-gradient(135deg, rgba(5, 47, 87, 0.96), rgba(0, 109, 143, 0.9)),
    var(--peacock-neck);
}

.places-section .section-heading,
.places-section .temple-grid strong {
  color: #fff8f0;
}

.places-section .section-kicker,
.places-section .temple-grid span {
  color: #ffe6c4;
}

.temple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.temple-grid article {
  min-height: 140px;
  padding: 22px;
}

.temple-grid strong,
.temple-grid span {
  display: block;
}

.temple-grid strong {
  font-size: 18px;
  margin-bottom: 16px;
}

.temple-grid span,
.festival-list p {
  color: var(--muted);
  line-height: 1.65;
}

.festival-list {
  display: grid;
  gap: 14px;
}

.festivals-section {
  background:
    linear-gradient(135deg, rgba(255, 244, 227, 0.95), rgba(232, 249, 244, 0.9)),
    var(--cream);
}

.festival-list article {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 22px;
  padding: 22px;
}

.festival-list time {
  color: var(--peacock-blue);
  font-weight: 800;
  font-size: 19px;
}

.festival-list p {
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 32px;
  align-items: center;
  padding: 32px clamp(18px, 7vw, 92px) 86px;
  color: #fff8e7;
  background:
    radial-gradient(circle at 12% 20%, rgba(250, 204, 21, 0.18), transparent 24%),
    linear-gradient(135deg, var(--peacock-deep), var(--peacock-neck));
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(250, 204, 21, 0.22));
}

.footer-brand strong {
  display: block;
  font-size: 18px;
}

.footer-brand p,
.footer-copy {
  color: rgba(255, 248, 231, 0.74);
  font-size: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-links a {
  color: rgba(255, 248, 231, 0.9);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.footer-note {
  grid-column: 1 / -1;
  color: #ffe8a3;
  font-size: 13px;
  font-weight: 800;
}

.footer-copy {
  grid-column: 1 / -1;
}

.devotion-popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 36, 61, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.devotion-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  position: relative;
  width: min(760px, 100%);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: 30px 40px 34px;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 10%, rgba(242, 193, 78, 0.28), transparent 28%),
    var(--paper);
  box-shadow: 0 28px 80px rgba(3, 36, 61, 0.34);
}

.message-popup-card {
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: clamp(28px, 4vw, 46px);
}

.guidance-popup-card {
  width: min(540px, 100%);
  padding: clamp(22px, 3vw, 30px);
  text-align: center;
}

.guidance-popup-card .section-kicker {
  margin-bottom: 8px;
  font-size: 11px;
}

.guidance-popup-card h2 {
  max-width: 400px;
  margin: 0 auto;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.25;
}

.popup-symbols {
  margin: 10px 0 12px;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0;
}

.guidance-popup-card > p[data-i18n="popupText"] {
  max-width: 390px;
  margin: 0 auto;
  color: #17313d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  text-align: center;
  white-space: pre-line;
}

.guidance-popup-card .message-form {
  max-width: 360px;
  margin: 16px auto 0;
  padding-top: 0;
  border-top: 0;
}

.guidance-popup-card .message-form label {
  text-align: center;
}

.guidance-popup-card .message-controls {
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 280px;
  margin: 8px auto 0;
}

.guidance-popup-card .message-controls input,
.guidance-popup-card .message-controls button {
  min-height: 40px;
  text-align: center;
}

.guidance-popup-card .message-error {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.popup-card > p[data-i18n="popupText"] {
  max-width: 650px;
  margin: 18px 0 0;
  color: #17313d;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-line;
}

.popup-card h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.16;
}

.popup-card p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.message-form {
  max-width: 650px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(7, 27, 36, 0.12);
}

.message-form.is-loading {
  opacity: 0.62;
  pointer-events: none;
}

.answer-box.is-loading {
  opacity: 0.62;
  pointer-events: none;
}

.message-form label {
  display: block;
  color: var(--peacock-neck);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.message-controls {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  margin-top: 12px;
}

.message-controls input,
.message-controls button {
  min-height: 46px;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
}

.message-controls input {
  width: 100%;
  border: 1px solid rgba(7, 27, 36, 0.18);
  padding: 0 12px;
  color: var(--ink);
  background: #fffaf0;
}

.message-controls button {
  border: 0;
  padding: 0 16px;
  color: #05202b;
  background: var(--button-gradient);
  font-weight: 800;
  cursor: pointer;
}

.message-error {
  min-height: 20px;
  max-width: 650px;
  margin: 10px 0 0;
  color: #a83a24;
  font-size: 12px;
  font-weight: 700;
}

.loading-card {
  align-items: center;
  gap: 12px;
  display: flex;
  min-width: min(360px, 100%);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: 24px 28px;
  color: var(--peacock-neck);
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(3, 36, 61, 0.34);
  font-size: 13px;
  font-weight: 800;
}

.loading-card span {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(5, 47, 87, 0.18);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.loading-card p {
  margin: 0;
}

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

.murugan-message {
  max-height: 230px;
  overflow: auto;
  margin-top: 14px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
  white-space: pre-line;
}

.murugan-message:empty {
  display: none;
}

.large-message {
  max-height: none;
  margin-top: 24px;
  padding: clamp(18px, 3vw, 28px);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.85;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--peacock-neck);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 12px;
  }

  .daily-band,
  .content-split,
  .content-split.reverse,
  .answer-layout,
  .two-column,
  .prayer-layout,
  .temple-grid,
  .festival-list article {
    grid-template-columns: 1fr;
  }

  .steps-list,
  .section-image {
    min-height: 260px;
  }

  .section-image img {
    min-height: 260px;
  }

  .miracle-tab-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px;
    min-height: 68px;
    padding: 4px 14px;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions {
    grid-column: 1 / -1;
    display: none;
    align-items: stretch;
    justify-content: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0 4px;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 4px;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(255, 248, 240, 0.08);
  }

  .site-header.menu-open .header-actions {
    display: flex;
  }

  .theme-picker,
  .language-picker {
    justify-self: end;
  }

  .theme-options,
  .language-options {
    right: 0;
    max-width: calc(100vw - 28px);
  }

  .theme-options {
    grid-template-columns: repeat(6, 28px);
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
    margin-block: -6px;
  }

  .welcome-home-card {
    grid-template-columns: 1fr;
    padding: 26px 18px;
  }

  .welcome-image {
    width: min(100%, 260px);
    min-height: 320px;
  }

  .lang-button {
    min-width: 92px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero {
    min-height: 560px;
    height: 82svh;
    align-items: end;
    padding-bottom: 0;
  }

  .hero-slide {
    object-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(0deg, var(--peacock-deep) 0%, transparent 52%);
  }

  .hero-content {
    margin: 0;
    width: calc(100% - 36px);
    margin-left: 18px;
    margin-right: 18px;
    margin-bottom: 34px;
    padding: 20px;
  }

  .hero h1 {
    font-size: clamp(26px, 8vw, 36px);
  }

  body.lang-ta .hero h1 {
    font-size: clamp(19px, 5.3vw, 25px);
  }

  .hero-copy {
    font-size: 11px;
  }

  body.lang-ta .hero-copy {
    white-space: normal;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    justify-content: center;
  }

  .floating-answer-button {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 11px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 78px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .section,
  .daily-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .section-heading h2,
  .quote-card h2,
  .prayer-card h2 {
    font-size: clamp(21px, 6vw, 28px);
  }

  .section-image,
  .section-image img {
    min-height: 220px;
  }

  .message-controls {
    grid-template-columns: 1fr;
  }

  .answer-controls,
  .steps-list,
  .steps-list li {
    min-height: auto;
  }

  .arupadai-summary-grid {
    grid-template-columns: 1fr;
  }

  .arupadai-summary-list li {
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
  }

  .arupadai-summary-list span {
    grid-column: 2;
  }

  .arupadai-panel {
    grid-template-columns: 1fr;
  }

  .arupadai-panel img {
    max-height: 260px;
  }

  .prayer-hero {
    min-height: 560px;
    padding: 84px 18px 72px;
  }

  .prayer-hero h1 {
    font-size: clamp(29px, 9vw, 42px);
  }

  .glass-prayer-card,
  .mantra-card {
    padding: 24px 18px;
  }

  .glass-prayer-card blockquote {
    font-size: 14px;
    line-height: 1.8;
  }

  .mantra-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .miracle-tabs {
    gap: 12px;
  }

  .miracle-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 7px;
    overflow: visible;
  }

  .miracle-tab-list button {
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
  }

  .miracle-tab-list button:last-child {
    grid-column: 1 / -1;
  }

  .miracle-tab-panels {
    border-left-width: 4px;
  }

  .miracle-tab-panel {
    min-height: auto;
  padding: 18px;
}

.prayer-page-main {
  background:
    radial-gradient(circle at 14% 8%, rgba(212, 175, 55, 0.16), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(96, 165, 250, 0.16), transparent 24%),
    var(--soft-section-bg);
}

.prayer-hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(90px, 11vw, 150px) 20px clamp(72px, 8vw, 110px);
  color: #fff8e7;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72)),
    radial-gradient(circle at 50% 16%, rgba(250, 204, 21, 0.58), rgba(212, 175, 55, 0.18) 26%, transparent 54%),
    url("assets/logo.png") center 20% / min(360px, 72vw) no-repeat,
    linear-gradient(135deg, var(--header-bg), var(--peacock-neck));
}

.prayer-hero::before,
.prayer-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% 8% -8%;
  height: 170px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 18% 55%, rgba(255, 255, 255, 0.74), transparent 34%),
    radial-gradient(ellipse at 48% 48%, rgba(255, 255, 255, 0.58), transparent 32%),
    radial-gradient(ellipse at 82% 60%, rgba(255, 255, 255, 0.66), transparent 36%);
  opacity: 0.18;
  filter: blur(2px);
}

.prayer-hero::after {
  inset: 6% -12% auto -12%;
  opacity: 0.12;
}

.prayer-hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.prayer-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(31px, 5vw, 62px);
  line-height: 1.14;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.prayer-hero p {
  margin: 0;
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.7;
  color: rgba(255, 248, 231, 0.9);
}

.prayer-hero-chant {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 26px;
  color: #ffe8a3;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 800;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 54px;
  border: 2px solid rgba(255, 248, 231, 0.72);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  animation: scrollPulse 1.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: translateY(-7px); opacity: 0.45; }
  50% { transform: translateY(8px); opacity: 1; }
}

.prayer-page-section,
.mantra-section,
.popular-mantras-section,
.benefits-section,
.final-devotional-section {
  position: relative;
}

.prayer-page-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.main-prayer-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(250, 204, 21, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(5, 47, 87, 0.9));
}

.glass-prayer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 231, 0.28);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: clamp(26px, 4.4vw, 56px);
  color: #fff8e7;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)),
    rgba(2, 6, 23, 0.24);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.glass-prayer-card::before {
  content: "";
  position: absolute;
  inset: -30% 18% auto;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.24), transparent 68%);
}

.glass-prayer-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 760px;
  color: #fff;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  line-height: 1.9;
}

.glass-prayer-card blockquote p {
  margin: 0 0 16px;
}

.mantra-section {
  background: var(--soft-section-bg);
}

.mantra-card {
  border: 1px solid rgba(7, 27, 36, 0.12);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(3, 55, 76, 0.12);
}

.mantra-card h2,
.popular-mantras-section h2,
.benefits-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.25;
}

.highlight-mantra {
  display: inline-block;
  margin: 22px 0 14px;
  border-radius: 8px;
  padding: 16px 24px;
  color: #1a120b;
  background: var(--button-gradient);
  box-shadow: 0 16px 32px rgba(212, 175, 55, 0.24);
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.25;
}

.mantra-card p:not(.section-kicker):not(.highlight-mantra):not(.prayer-feedback) {
  max-width: 720px;
  margin: 0 auto 22px;
  color: #315260;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.75;
}

.gold-action {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #1a120b;
  background: var(--button-gradient);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.22);
}

.popular-mantras-section {
  background: var(--dark-section-bg);
}

.popular-mantras-section h2 {
  color: #fff8e7;
  text-align: center;
}

.mantra-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.mantra-grid article,
.benefits-grid article {
  border: 1px solid rgba(255, 248, 231, 0.16);
  border-radius: 8px;
  padding: 18px;
  color: #fff8e7;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 800;
  line-height: 1.5;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.mantra-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(255, 248, 231, 0.13);
}

.benefits-section {
  background: var(--soft-section-bg);
}

.benefits-section h2 {
  text-align: center;
}

.benefits-grid article {
  color: var(--peacock-neck);
  border-color: rgba(7, 27, 36, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.final-devotional-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.2), transparent 28%),
    var(--dark-section-bg);
}

.final-devotional-card {
  text-align: center;
  color: #fff8e7;
}

.final-devotional-card blockquote {
  margin: 0 0 26px;
  color: #ffe8a3;
  font-size: clamp(26px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.35;
}

.final-devotional-card p {
  margin: 8px 0 0;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 800;
}

  .miracle-tab-panel h3 {
    font-size: 17px;
  }

  .miracle-tab-panel p {
    font-size: 13px;
    line-height: 1.7;
  }

  .final-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .popup-card {
    padding: 26px 22px 28px;
  }

  .popup-card h2 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .popup-card > p[data-i18n="popupText"] {
    font-size: 14px;
    line-height: 1.65;
  }
}

@media (max-width: 620px) {
  .prayer-hero {
    min-height: 560px;
    padding: 84px 18px 72px;
  }

  .prayer-hero h1 {
    font-size: clamp(29px, 9vw, 42px);
  }

  .glass-prayer-card,
  .mantra-card {
    padding: 24px 18px;
  }

  .glass-prayer-card blockquote {
    font-size: 14px;
    line-height: 1.8;
  }

  .mantra-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Final prayer-page contrast guard. Keep this after older duplicated prayer rules. */
.popular-mantras-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.18), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0f172a 48%, #052f57 100%) !important;
}

.popular-mantras-section h2 {
  color: #ffe8a3 !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.popular-mantras-section .mantra-grid article {
  color: #fff8e7 !important;
  border-color: rgba(255, 232, 163, 0.28) !important;
  background: rgba(255, 248, 231, 0.12) !important;
}

.popular-mantras-section .mantra-grid article:hover {
  color: #ffffff !important;
  background: rgba(255, 248, 231, 0.18) !important;
}

.mantra-section .mantra-card {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9) !important;
}

.mantra-section .mantra-card h2,
.mantra-section .mantra-card p:not(.section-kicker):not(.highlight-mantra):not(.prayer-feedback) {
  color: var(--ink) !important;
}

/* Final 108-mantra language visibility guard. */
body.lang-ta .mantra-108-heading[data-content-lang="en"],
body.lang-ta .mantra-108-list[data-content-lang="en"],
body:not(.lang-ta) .mantra-108-heading[data-content-lang="ta"],
body:not(.lang-ta) .mantra-108-list[data-content-lang="ta"] {
  display: none !important;
}

body.lang-ta .mantra-108-heading[data-content-lang="ta"],
body:not(.lang-ta) .mantra-108-heading[data-content-lang="en"] {
  display: block !important;
}

body.lang-ta .mantra-108-list[data-content-lang="ta"],
body:not(.lang-ta) .mantra-108-list[data-content-lang="en"] {
  display: grid !important;
}
