/* ===================================
   Bible Christian Ministry - Main CSS
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy: #0f1e3d;
  --navy-light: #1a3060;
  --navy-lighter: #243d78;
  --gold: #d4a017;
  --gold-light: #f0c84a;
  --gold-pale: #fef7e4;
  --cream: #faf7f0;
  --cream-dark: #f0ead8;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-medium: #4a4a6a;
  --text-light: #7a7a9a;
  --accent-red: #8b1a1a;
  --success-green: #2d6a4f;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(15,30,61,0.08);
  --shadow-md: 0 4px 24px rgba(15,30,61,0.12);
  --shadow-lg: 0 8px 48px rgba(15,30,61,0.18);
  --shadow-gold: 0 4px 24px rgba(212,160,23,0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Dark mode */
[data-theme="dark"] {
  --cream: #0f1e3d;
  --cream-dark: #1a3060;
  --white: #1e2d4a;
  --text-dark: #f0ead8;
  --text-medium: #c8c0a8;
  --text-light: #9890a0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.5);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  transition: background 0.3s, color 0.3s;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); cursor: pointer; }
input, textarea { font-family: var(--font-body); }

/* ---- Banner ---- */
.top-banner {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  color: var(--gold-light);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 100;
}

.top-banner .cross-icon { margin-right: 6px; }

/* ---- Navigation ---- */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  width: 44px;
  height: 53px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg { width: 44px; height: 53px; }

.nav-logo span { line-height: 1.2; }
.nav-logo .nav-logo-sub { display: block; font-size: 0.65rem; font-family: var(--font-body); font-weight: 400; color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(212,160,23,0.12);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
}

.nav-btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.nav-btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
}

.nav-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.dark-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.dark-toggle:hover { background: rgba(255,255,255,0.15); color: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 40%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,160,23,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-cross {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(212,160,23,0.5));
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 15px rgba(212,160,23,0.4)); }
  to { filter: drop-shadow(0 0 30px rgba(212,160,23,0.7)); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 40px;
  font-style: italic;
  font-family: var(--font-heading);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(212,160,23,0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- Section Layouts ---- */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--cream-dark);
}

[data-theme="dark"] .section-alt {
  background: var(--navy-light);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-medium);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Card Grid ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(15,30,61,0.06);
}

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

.card-body { padding: 28px; }
.card-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-text {
  color: var(--text-medium);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.card-link:hover { color: var(--gold); gap: 10px; }

/* ---- Devotion Card ---- */
.devotion-featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 50px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.devotion-featured::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.devotion-day-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.devotion-featured h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.devotion-featured .passage {
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 20px;
  opacity: 0.9;
}

.devotion-featured .excerpt {
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 30px;
  font-size: 0.97rem;
}

/* ---- Scripture Quote ---- */
.scripture-block {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.scripture-block::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 120px;
  color: rgba(212,160,23,0.12);
  line-height: 1;
  pointer-events: none;
}

.scripture-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
  color: rgba(255,255,255,0.92);
  margin-bottom: 16px;
  position: relative;
}

.scripture-ref {
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ---- About Block ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lighter) 100%);
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 60%, rgba(212,160,23,0.18) 0%, transparent 60%);
}

.about-cross-large {
  width: 120px;
  height: 140px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(212,160,23,0.5));
}

.about-text .section-label { justify-content: flex-start; }
.about-text .section-label::before { display: none; }

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.about-text p strong {
  color: var(--text-dark);
}

/* ---- Features List ---- */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}

[data-theme="dark"] .feature-item { background: var(--navy-light); }

.feature-item:hover { transform: translateX(4px); }

.feature-icon {
  width: 36px;
  height: 36px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.feature-text p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---- Newsletter ---- */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lighter) 100%);
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
}

.newsletter-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.newsletter-section p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { border-color: var(--gold); background: rgba(255,255,255,0.15); }

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 30px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.83rem; color: rgba(255,255,255,0.4); }

.footer-verse {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.82rem;
  opacity: 0.75;
}

/* ---- Page Header (inner pages) ---- */
.page-header {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 70px 24px 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(212,160,23,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  position: relative;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-style: italic;
  position: relative;
}

/* ---- Devotion / Study Page ---- */
.content-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.article-day-badge {
  background: var(--gold);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-date {
  color: var(--text-light);
  font-size: 0.88rem;
}

.article-passage {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
}

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

.article-opening-quote {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  margin-bottom: 40px;
  color: var(--white);
  position: relative;
}

.article-opening-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 100px;
  color: rgba(212,160,23,0.2);
  position: absolute;
  top: -15px;
  left: 16px;
  line-height: 1;
}

.article-opening-quote .verse-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 12px;
  position: relative;
}

.article-opening-quote .verse-ref {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
}

.article-h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cream-dark);
}

[data-theme="dark"] .article-h2 { border-color: var(--navy-lighter); }

.article-p {
  color: var(--text-medium);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 1rem;
}

.verse-study-block {
  border-left: 4px solid var(--gold);
  background: var(--cream-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 20px 0;
}

[data-theme="dark"] .verse-study-block { background: var(--navy-light); }

.verse-study-block .verse-number {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.verse-study-block .verse-kjv {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.7;
}

.verse-study-block .verse-commentary {
  color: var(--text-medium);
  font-size: 0.93rem;
  line-height: 1.75;
}

.application-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.application-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
}

[data-theme="dark"] .application-list li { background: var(--navy-light); }

.application-list .app-num {
  width: 28px;
  height: 28px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.application-list .app-text {
  color: var(--text-medium);
  font-size: 0.93rem;
  line-height: 1.7;
}

.application-list .app-text strong { color: var(--text-dark); }

.prayer-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-md);
  padding: 36px;
  color: var(--white);
  margin: 32px 0;
}

.prayer-block h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gold-light);
}

.prayer-block p {
  font-family: var(--font-heading);
  font-style: italic;
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
}

.reflection-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: reflect;
}

.reflection-list li {
  counter-increment: reflect;
  position: relative;
  padding: 14px 18px 14px 52px;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  color: var(--text-medium);
  font-size: 0.93rem;
  line-height: 1.65;
}

[data-theme="dark"] .reflection-list li { background: var(--navy-light); }

.reflection-list li::before {
  content: counter(reflect);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}

[data-theme="dark"] .article-nav { border-color: var(--navy-lighter); }

.article-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15,30,61,0.08);
}

[data-theme="dark"] .article-nav a { background: var(--navy-light); color: var(--cream); }

.article-nav a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-nav a.disabled { opacity: 0.4; pointer-events: none; }

/* ---- Bible Reader ---- */
.bible-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 140px);
}

.bible-sidebar {
  background: var(--white);
  border-right: 1px solid rgba(15,30,61,0.1);
  padding: 24px;
  overflow-y: auto;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
}

[data-theme="dark"] .bible-sidebar {
  background: var(--navy-light);
  border-color: rgba(255,255,255,0.08);
}

.bible-sidebar h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cream-dark);
}

[data-theme="dark"] .bible-sidebar h3 { border-color: rgba(255,255,255,0.1); }

.book-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.book-list li a {
  display: block;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-medium);
  transition: var(--transition);
}

.book-list li a:hover,
.book-list li a.active {
  background: var(--gold-pale);
  color: var(--navy);
  font-weight: 600;
}

[data-theme="dark"] .book-list li a:hover,
[data-theme="dark"] .book-list li a.active {
  background: rgba(212,160,23,0.15);
  color: var(--gold-light);
}

.book-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 14px 12px 6px;
}

.bible-content { padding: 32px; }

.bible-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cream-dark);
}

[data-theme="dark"] .bible-controls { border-color: rgba(255,255,255,0.1); }

.bible-select {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15,30,61,0.15);
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .bible-select {
  background: var(--navy-light);
  border-color: rgba(255,255,255,0.15);
  color: var(--cream);
}

.bible-select:focus { outline: none; border-color: var(--gold); }

.bible-passage-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.bible-verse {
  margin-bottom: 16px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--transition);
}

.bible-verse:hover { background: var(--gold-pale); }
[data-theme="dark"] .bible-verse:hover { background: rgba(212,160,23,0.1); }

.bible-verse.highlighted { background: rgba(212,160,23,0.2) !important; }

.verse-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  vertical-align: super;
  margin-right: 4px;
  font-family: var(--font-body);
}

.verse-text-content {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-dark);
}

/* ---- Resources ---- */
.resource-category {
  margin-bottom: 48px;
}

.resource-category h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

[data-theme="dark"] .resource-category h2 { border-color: var(--navy-lighter); }

.resource-category h2 .icon {
  width: 36px;
  height: 36px;
  background: var(--gold-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.resource-link-card {
  display: block;
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15,30,61,0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

[data-theme="dark"] .resource-link-card {
  background: var(--navy-light);
  border-color: rgba(255,255,255,0.08);
}

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

.resource-link-card h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.resource-link-card p {
  color: var(--text-light);
  font-size: 0.83rem;
  line-height: 1.55;
}

.resource-link-card .ext-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--gold-pale);
  border-radius: 4px;
  text-align: center;
  line-height: 18px;
  font-size: 0.65rem;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 700;
}

/* ---- Notes / Auth ---- */
.auth-container {
  max-width: 440px;
  margin: 0 auto;
  padding: 60px 24px;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15,30,61,0.07);
}

[data-theme="dark"] .auth-card { background: var(--navy-light); }

.auth-card h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 8px;
}

.auth-card .auth-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(15,30,61,0.15);
  background: var(--cream);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: var(--navy);
  border-color: rgba(255,255,255,0.1);
  color: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.auth-toggle {
  text-align: center;
  margin-top: 24px;
  color: var(--text-light);
  font-size: 0.88rem;
}

.auth-toggle a {
  color: var(--navy);
  font-weight: 600;
  transition: var(--transition);
}

[data-theme="dark"] .auth-toggle a { color: var(--gold-light); }

.auth-toggle a:hover { color: var(--gold); }

.auth-notice {
  background: var(--gold-pale);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.6;
  text-align: center;
}

[data-theme="dark"] .auth-notice {
  background: rgba(212,160,23,0.08);
  border-color: rgba(212,160,23,0.2);
}

/* ---- Alert / Toast ---- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 500;
}

.alert-success { background: rgba(45,106,79,0.1); color: var(--success-green); border: 1px solid rgba(45,106,79,0.2); }
.alert-error { background: rgba(139,26,26,0.1); color: var(--accent-red); border: 1px solid rgba(139,26,26,0.2); }
.alert-info { background: rgba(212,160,23,0.1); color: #9a7010; border: 1px solid rgba(212,160,23,0.25); }

/* ---- Notes Page ---- */
.notes-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  min-height: calc(100vh - 140px);
}

.notes-list-panel {
  background: var(--white);
  border-right: 1px solid rgba(15,30,61,0.08);
  overflow-y: auto;
}

[data-theme="dark"] .notes-list-panel {
  background: var(--navy-light);
  border-color: rgba(255,255,255,0.08);
}

.notes-panel-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(15,30,61,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

[data-theme="dark"] .notes-panel-header { border-color: rgba(255,255,255,0.08); }

.notes-panel-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.note-item {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(15,30,61,0.06);
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .note-item { border-color: rgba(255,255,255,0.05); }

.note-item:hover,
.note-item.active { background: var(--gold-pale); }

[data-theme="dark"] .note-item:hover,
[data-theme="dark"] .note-item.active { background: rgba(212,160,23,0.1); }

.note-item h4 {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.note-item .note-passage {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 4px;
}

.note-item .note-date {
  font-size: 0.75rem;
  color: var(--text-light);
}

.notes-editor {
  padding: 32px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bible-sidebar { width: 240px; }
  .notes-layout { grid-template-columns: 280px 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right .nav-btn-primary { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 250px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 70px 24px 60px; }
  .bible-layout { grid-template-columns: 1fr; }
  .bible-sidebar { position: static; height: auto; max-height: 300px; }
  .notes-layout { grid-template-columns: 1fr; }
  .article-nav { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .devotion-featured { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
  .section { padding: 60px 20px; }
  .hero-cross { width: 60px; height: 60px; }
}

/* ---- Utility ---- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }

/* ---- Mobile Nav Overlay ---- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15,30,61,0.97);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--gold-light); }

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-nav-close:hover { color: var(--gold-light); }

/* ---- Loading Spinner ---- */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--cream-dark);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}

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

/* ---- Fade In Animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* BCM logo image styles */
.logo-img {
  height: 44px;
  width: auto;
}
.logo-text {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy, #0f1e3d);
  line-height: 1.2;
}
