:root {
  --bg-deep: #080d1a;
  --bg-surface: #0f172a;
  --bg-card: #131e36;
  --bg-card-hover: #182645;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --gold-300: #fde68a;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-gradient: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #d97706 100%);
  --sky-cyan: #38bdf8;
  --emerald-accent: #10b981;
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-gold: rgba(245, 158, 11, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-serif: 'Cinzel', 'Playfair Display', 'Merriweather', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-scripture: 'Merriweather', 'Georgia', serif;
}

/* Dawn & the Word — editable social graphics. */
.social-card-studio { max-width: 1120px !important; text-align: left; }
.social-studio-eyebrow { color: #d8b579; font-size: .65rem; font-weight: 700; letter-spacing: .2em; }
.social-card-studio h3 { margin-top: .3rem; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; color: #f8f0df; }
.social-studio-intro { color: var(--text-secondary); font-size: .86rem; margin: .4rem 0 1.7rem; }
.social-studio-grid { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 1.15fr); gap: 2rem; align-items: start; }
.social-studio-controls label { display: block; margin: 1.05rem 0 .35rem; color: #d8b579; font-size: .65rem; font-weight: 700; letter-spacing: .1em; }
.social-studio-controls [hidden] { display: none !important; }
.social-studio-controls label:first-child { margin-top: 0; }
.social-studio-controls .form-control { font-family: var(--font-body); font-size: .86rem; line-height: 1.55; border-color: #3d4654; }
.social-studio-controls textarea { resize: vertical; min-height: 5rem; }
.social-field-note { font-size: .73rem; color: var(--text-muted); margin: .7rem 0; line-height: 1.6; }
.social-reset { background: none; border: none; color: #d8b579; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: .4rem 0; }
.social-preview-wrap { padding: 1rem; background: #080f1c; border: 1px solid var(--border-subtle); border-radius: 8px; text-align: center; }
.social-preview-wrap canvas { width: 100%; height: auto; display: block; box-shadow: 0 12px 32px #0005; }
#socialCardStatus { color: var(--text-muted); font-size: .75rem; margin: .9rem 0 0; }
#socialCardStatus.social-card-error { color: #fca5a5; }
.social-studio-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; padding-top: 1.25rem; border-top: 1px solid var(--border-subtle); }
.social-studio-footer > span { font-size: .6rem; letter-spacing: .12em; color: var(--text-muted); }
.social-studio-footer > div { display: flex; gap: .6rem; }
.social-card-studio button:disabled { opacity: .45; cursor: not-allowed; }
.social-card-studio :focus-visible { outline: 2px solid #d8b579; outline-offset: 3px; }
@media (max-width: 700px) {
  .social-studio-grid { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .social-card-studio h3 { font-size: 1.35rem; }
  .social-studio-footer > div { width: 100%; }
  .social-studio-footer .btn { flex: 1; justify-content: center; font-size: .8rem; }
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 30%, rgba(56, 189, 248, 0.05) 0%, transparent 35%),
    linear-gradient(180deg, #080d1a 0%, #0d1527 50%, #080d1a 100%);
  color: var(--text-primary);
  line-height: 1.7;
}

/* Subtle sacred pattern overlay */
.sacred-grid {
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(245, 158, 11, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 158, 11, 0.02) 1px, transparent 1px);
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Sacred Verse Bar */
.top-scripture-bar {
  background: linear-gradient(90deg, #0b1120 0%, #1e293b 50%, #0b1120 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 0;
  font-size: 0.84rem;
  color: var(--gold-300);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-verse {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-style: italic;
}

.top-ministry-badge {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 26, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
}

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

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--gold-400);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  font-family: inherit;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #080d1a;
  box-shadow: 0 6px 20px -4px rgba(245, 158, 11, 0.45);
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -4px rgba(245, 158, 11, 0.6);
}

.btn-outline {
  background: rgba(19, 30, 54, 0.6);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--gold-500);
  background: rgba(19, 30, 54, 1);
  color: var(--gold-300);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.84rem;
}

/* Hero Section */
.hero {
  padding: 5rem 0 3.5rem;
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-400);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 860px;
  margin: 0 auto 1.25rem;
}

.hero h1 .gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.2rem;
}

/* Today's Devotional Showcase Card */
.devotional-card-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.devotional-main-card {
  background: linear-gradient(165deg, rgba(19, 30, 54, 0.95) 0%, rgba(13, 21, 39, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.devotional-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.devotional-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.75rem;
}

.devotional-date-badge {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.devotional-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tool-btn {
  background: rgba(8, 13, 26, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.tool-btn:hover {
  color: var(--gold-300);
  border-color: var(--gold-500);
}

.devotional-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

/* Anchor Scripture Highlight Box */
.scripture-box {
  background: rgba(245, 158, 11, 0.07);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  position: relative;
}

.scripture-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
}

.scripture-text {
  font-family: var(--font-scripture);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold-300);
  line-height: 1.6;
}

.scripture-ref {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-primary);
}

/* Devotional Body / Exhortation */
.devotional-body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.devotional-body p {
  margin-bottom: 1.25rem;
}

.devotional-body p:last-child {
  margin-bottom: 0;
}

/* Prayer & Motivation Grid */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.pillar-card {
  background: rgba(8, 13, 26, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  position: relative;
}

.pillar-card.prayer-pillar {
  border-color: rgba(56, 189, 248, 0.35);
}

.pillar-card.motivation-pillar {
  border-color: rgba(245, 158, 11, 0.35);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.pillar-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prayer-icon {
  background: rgba(56, 189, 248, 0.15);
  color: var(--sky-cyan);
}

.motivation-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-400);
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pillar-content {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Devotional Share & Action Footer */
.devotional-action-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.share-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-whatsapp {
  background: #25D366;
  color: #064E22;
}

.btn-whatsapp:hover {
  background: #20BA5A;
}

/* Section Containers */
.section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Devotional Archive Cards */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.65rem;
}

.archive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  cursor: pointer;
}

.archive-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

.archive-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
}

.topic-badge {
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-400);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
}

.archive-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.archive-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.read-devotional-link {
  color: var(--gold-400);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Prayer Desk & Subscription Section */
.prayer-desk-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem;
  align-items: start;
}

.prayer-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  background: rgba(8, 13, 26, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--gold-500);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.subscription-panel {
  background: linear-gradient(160deg, #131e36 0%, #0c1424 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.sub-benefit-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sub-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Fellowship & Uyo Presence Section */
.fellowship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.fellowship-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.schedule-row:last-child {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: #04070e;
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
}

.toast-msg {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: none;
}

.toast-msg.show {
  display: block;
}

/* Audio Player Floating / Inline Bar */
.audio-state-playing {
  color: var(--gold-400) !important;
  border-color: var(--gold-500) !important;
}

/* Responsive */
@media (max-width: 900px) {
  .pillar-grid,
  .prayer-desk-grid,
  .fellowship-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .devotional-main-card {
    padding: 1.6rem 1.25rem;
  }
}
/* Bible Translation Selector Pills */
.translation-selector {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.trans-pill {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trans-pill:hover,
.trans-pill.active {
  background: var(--gold-500);
  color: #080d1a;
  border-color: var(--gold-500);
}

/* Prayer Agreement Button & Pulse Counter */
.prayer-agree-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(8, 13, 26, 0.75);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.4rem;
  margin-top: 1.5rem;
}

.agree-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #080d1a;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.agree-btn:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.agree-btn.agreed {
  background: #10b981;
  color: #ffffff;
  cursor: default;
}

.agree-count-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.agree-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-400);
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.84rem;
}

/* Reading Plan Tracker Card */
.reading-plan-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
  margin: 1.75rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.reading-plan-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reading-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.reading-plan-text {
  font-size: 0.95rem;
  color: var(--gold-300);
}

.reading-plan-text strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

/* Reflection Journal Card */
.journal-card {
  background: rgba(19, 30, 54, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.75rem;
}

.journal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.journal-textarea {
  width: 100%;
  background: rgba(8, 13, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.85rem;
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
  min-height: 90px;
  outline: none;
}

.journal-textarea:focus {
  border-color: var(--gold-500);
}

/* Visual Devotional Card Canvas Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 250;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.modal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.close-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
}

/* Admin Form Grid */
.admin-tab-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.admin-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  border-radius: 6px;
}

.admin-tab-btn.active {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-400);
}

.prayer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1rem;
}

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

.prayer-table th {
  color: var(--gold-400);
  background: rgba(8, 13, 26, 0.6);
}

.badge-status {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
}

.badge-pending {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.badge-prayed {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

/* ========================================================
   Sacred Visual Imagery, Devotional Banners & Gallery
   ======================================================== */

/* Devotional Card Featured Banner */
.devotional-featured-image-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  max-height: 380px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.devotional-featured-img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.devotional-featured-image-box:hover .devotional-featured-img {
  transform: scale(1.02);
}

.devotional-img-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(8, 13, 26, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Prayer Desk Altar Banner */
.prayer-altar-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 180px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}

.prayer-banner-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.prayer-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 13, 26, 0.92) 0%, rgba(8, 13, 26, 0.35) 100%);
  display: flex;
  align-items: flex-end;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: #fff;
  font-style: italic;
  font-family: var(--font-serif);
}

/* Sacred Gallery Grid */
.sacred-gallery-section {
  background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sacred-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.visual-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.12);
}

.visual-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.visual-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.visual-card:hover .visual-img-wrapper img {
  transform: scale(1.05);
}

.visual-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 26, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card:hover .visual-hover-overlay {
  opacity: 1;
}

.zoom-btn {
  background: var(--gold-gradient);
  color: #080d1a;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.visual-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.visual-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.visual-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.visual-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Lightbox Modal */
.lightbox-dialog {
  max-width: 900px;
  width: 92%;
  background: #080d1a;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

.lightbox-image-wrap {
  width: 100%;
  max-height: 65vh;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #040710;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.lightbox-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.lightbox-caption {
  font-family: var(--font-serif);
  color: var(--gold-300);
  font-size: 0.95rem;
  max-width: 70%;
}
