:root {
  --bg: #0a0e1a;
  --surface: #141c34;
  --border: #1e2a4a;
  --gold: #c9a84c;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --text: #ffffff;
  --muted: #9aa3b8;
  --font: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1148px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* SEARCH */
.search-wrap {
  max-width: 560px;
  margin: 32px auto 0;
  position: relative;
}
.search-wrap input {
  width: 100%;
  padding: 16px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-wrap input::placeholder { color: var(--muted); }
.search-wrap input:focus { border-color: var(--gold); }

/* QUICK ACCESS BAR */
.quick-access {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.quick-access::-webkit-scrollbar { display: none; }
.quick-access a {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.quick-access a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* SECTION */
.section {
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.grid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  display: block;
  color: var(--text);
  text-decoration: none;
}
.grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--gold-glow);
  border-color: var(--gold);
}
.grid-card .emoji { font-size: 2rem; margin-bottom: 10px; display: block; }
.grid-card .label { font-weight: 600; font-size: 0.95rem; }

/* FEATURED CARDS */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.featured-card {
  background: linear-gradient(135deg, var(--surface), #1a2444);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}
.featured-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px var(--gold-glow);
  transform: translateY(-2px);
}
.featured-card .emoji { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.featured-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.featured-card p { color: var(--muted); font-size: 0.95rem; }

/* PRAYER CARD */
.prayer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 28px;
  transition: border-color 0.2s;
}
.prayer-card:hover { border-color: rgba(201, 168, 76, 0.3); }
.prayer-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gold);
}
.prayer-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}
.prayer-card .actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover {
  opacity: 0.9;
  color: var(--bg);
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--surface) 0%, #1a2444 100%);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  margin: 48px auto;
  max-width: 1100px;
  box-shadow: 0 0 60px var(--gold-glow);
}
.cta-banner h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.cta-banner p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* EMAIL SECTION */
.email-section {
  background: linear-gradient(135deg, #141c34 0%, #1a2444 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  margin: 48px auto;
  max-width: 1100px;
}
.email-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gold);
}
.email-section > p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.email-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.email-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.email-form input[type="email"]::placeholder { color: var(--muted); }
.email-form input[type="email"]:focus { border-color: var(--gold); }
.email-form button {
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.email-form button:hover { opacity: 0.9; }
.fine-print {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 12px;
  opacity: 0.7;
}

/* VERSE */
.verse-card {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.verse-card .ref {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.verse-card p {
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
}

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.step {
  text-align: center;
  padding: 32px 24px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* BREADCRUMB */
.breadcrumb {
  padding: 16px 24px;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 1100px;
  margin: 0 auto;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }

/* PRAYER OF DAY FEATURED */
.potd-featured {
  background: linear-gradient(135deg, var(--surface), #1a2444);
  border: 1px solid var(--gold);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 0 80px var(--gold-glow);
  margin-bottom: 32px;
}
.potd-featured h2 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.potd-featured p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.9;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
footer h4 {
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
footer ul a:hover { color: var(--text); }
.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* SHARE SECTION */
.share-section {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero { padding: 50px 20px 40px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .prayer-card { padding: 24px; }
  .potd-featured { padding: 28px; }
  .cta-banner { padding: 32px 20px; margin: 32px 16px; }
  .email-section { padding: 32px 20px; margin: 32px 16px; }
  .section { padding: 40px 20px; }
  .section-title { font-size: 1.4rem; }
  .featured-grid { grid-template-columns: 1fr; }
  nav { padding: 16px 20px; }
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--gold);
  color: var(--bg);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.3s;
  z-index: 200;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* CATEGORY ROW LABELS */
.category-row {
  margin-bottom: 32px;
}
.category-row h3 {
  font-size: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* DATE DISPLAY */
.date-display {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
