:root {
  --green-900: #0f3d2e;
  --green-800: #15543f;
  --green-700: #1d6a50;
  --green-100: #eaf5ef;
  --gold: #c9a227;
  --ink: #1d2521;
  --muted: #6b756f;
  --line: #e5ece8;
  --paper: #ffffff;
  --soft: #f7faf8;
}

body {
  color: var(--ink);
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
}

a {
  color: var(--green-700);
}

.site-header {
  box-shadow: 0 8px 30px rgba(15, 61, 46, 0.07);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.brand-logo {
  width: 112px;
  height: 58px;
  object-fit: contain;
}

.brand-text {
  color: var(--green-900);
  font-weight: 800;
  max-width: 260px;
  line-height: 1.15;
}

.navbar .nav-link {
  color: #33433a;
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.85rem 0.55rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--green-800);
}

.navbar .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(15, 61, 46, 0.12);
}

.navbar .dropdown-item {
  color: #33433a;
  font-weight: 650;
  padding: 0.55rem 1rem;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:hover {
  color: var(--green-900);
  background: var(--green-100);
}

.hero {
  min-height: 74vh;
  position: relative;
  display: grid;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 38, 29, 0.86), rgba(8, 38, 29, 0.54) 45%, rgba(8, 38, 29, 0.18));
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: min(260px, 70vw);
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.3));
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 850;
  line-height: 1.02;
  max-width: 900px;
}

.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.btn-primary {
  --bs-btn-bg: var(--green-800);
  --bs-btn-border-color: var(--green-800);
  --bs-btn-hover-bg: var(--green-900);
  --bs-btn-hover-border-color: var(--green-900);
}

.btn-gold {
  color: #231b04;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 750;
}

.section-pad {
  padding: 72px 0;
}

.section-title {
  color: var(--green-900);
  font-weight: 850;
  margin-bottom: 0.75rem;
}

.section-kicker {
  color: var(--gold);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.soft-band {
  background: #fff;
}

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

.timing-card,
.content-card,
.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(15, 61, 46, 0.06);
}

.timing-card {
  padding: 18px;
  text-align: center;
}

.timing-card span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
}

.timing-card strong {
  color: var(--green-900);
  font-size: 1.45rem;
}

.content-card {
  padding: 22px;
  height: 100%;
}

.content-card h3,
.content-card h4 {
  color: var(--green-900);
  font-weight: 800;
}

.meta-line {
  color: var(--muted);
  font-size: 0.92rem;
}

.poster-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line);
}

.detail-poster {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.detail-article {
  font-size: 1.02rem;
  line-height: 1.75;
}

.share-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  overflow-wrap: anywhere;
}

.donation-qr-card {
  text-align: center;
}

.donation-qr-image {
  width: min(100%, 360px);
  display: block;
  margin: 18px auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(15, 61, 46, 0.12);
}

.donation-upi-id {
  background: var(--green-100);
  border: 1px solid rgba(29, 106, 80, 0.18);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 14px;
}

.donation-upi-id span,
.donation-detail-item span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  text-transform: uppercase;
}

.donation-upi-id strong,
.donation-detail-item strong {
  color: var(--green-900);
  font-size: 1.04rem;
  overflow-wrap: anywhere;
}

.donation-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.donation-detail-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.home-donation-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-donation-details span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 9px 12px;
}

.home-donation-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 16px;
}

.home-donation-panel img {
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #fff;
}

.home-donation-panel strong,
.home-donation-panel span {
  display: block;
}

.home-donation-panel span {
  color: rgba(255, 255, 255, 0.82);
}

.cta-band {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(15, 61, 46, 0.06);
}

.form-label {
  font-weight: 700;
  color: #2b3a32;
}

.page-hero {
  background: var(--green-900);
  color: #fff;
  padding: 64px 0;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
}

.download-row,
.notice-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #09281f;
  padding: 52px 0 24px;
}

.site-footer h5,
.site-footer h6 {
  color: #fff;
  font-weight: 800;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 128px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand h5 {
  margin: 0;
}

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

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 20px;
  font-size: 0.9rem;
}

.footer-credit a {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.footer-credit a:hover {
  color: var(--gold);
}

.admin-copy-box {
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 991px) {
  .prayer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    min-height: 68vh;
  }
}

@media (max-width: 575px) {
  .brand-text {
    max-width: 210px;
    font-size: 0.95rem;
  }

  .brand-logo {
    width: 92px;
    height: 50px;
  }

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

  .section-pad {
    padding: 48px 0;
  }

  .form-shell {
    padding: 18px;
  }

  .donation-detail-grid {
    grid-template-columns: 1fr;
  }

  .home-donation-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-donation-panel img {
    width: 160px;
  }
}
