:root {
  --bg-deep: #031821;
  --bg-alt: #06222f;
  --bg-card: rgba(7, 40, 54, 0.9);
  --accent-gold: #f4d27a;
  --accent-teal: #2bc3c8;
  --text-main: #f4f7fb;
  --text-muted: #aebaca;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --radius-lg: 18px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #074057 0, #031821 38%, #020b10 80%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: linear-gradient(to right, rgba(3, 24, 33, 0.96), rgba(3, 24, 33, 0.92));
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 5vw;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, var(--accent-gold), var(--accent-teal));
  padding: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease-out;
}

.nav-link:hover {
  color: var(--text-main);
  border-color: rgba(244, 210, 122, 0.18);
  background: rgba(5, 45, 63, 0.8);
}

.nav-link.active,
.nav-link.nav-cta {
  color: #050909;
  background: linear-gradient(135deg, var(--accent-gold), #f9e8aa);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.nav-link.nav-cta {
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 2.5rem;
  padding: 2.5rem 5vw 2.5rem;
  align-items: stretch;
}

.hero-content {
  max-width: 650px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(43, 195, 200, 0.45);
  background: radial-gradient(circle at left, rgba(43, 195, 200, 0.25), transparent 60%);
  font-size: 0.75rem;
  color: var(--accent-teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 3.1vw, 3rem);
  margin: 0.9rem 0 0.6rem;
  line-height: 1.08;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--accent-gold), var(--accent-teal));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-gold), #fbeed4);
  color: #120a02;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--accent-teal);
  border-color: rgba(43, 195, 200, 0.5);
}

.btn.ghost:hover {
  background: rgba(5, 45, 63, 0.85);
}

.btn.small {
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
}

.hero-meta {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 10px rgba(43, 195, 200, 0.9);
}

.hero-panel {
  display: flex;
  align-items: center;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.card.glass {
  background: linear-gradient(145deg, rgba(6, 44, 61, 0.95), rgba(2, 13, 19, 0.96));
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.focus-title {
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
}

.focus-text {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.focus-list {
  list-style: none;
  padding-left: 0;
  margin: 0.6rem 0 0.8rem;
  font-size: 0.82rem;
  color: var(--text-main);
}

.focus-list li + li {
  margin-top: 0.25rem;
}

main {
  padding: 0 5vw 3rem;
}

.section {
  margin-top: 2.8rem;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(9, 68, 92, 0.5), rgba(3, 18, 27, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.section.alt {
  background: radial-gradient(circle at top, rgba(5, 30, 43, 0.85), rgba(2, 11, 17, 0.98));
}

.section-header {
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.4rem;
  margin: 0 0 0.3rem;
}

.section-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

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

.devotional ul {
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-main);
}

.tag {
  display: inline-flex;
  margin-top: 0.45rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(244, 210, 122, 0.08);
  color: var(--accent-gold);
  font-size: 0.74rem;
}

.placeholder-form {
  margin-top: 0.6rem;
}

.field-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

input,
textarea {
  font-family: inherit;
  font-size: 0.82rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(4, 26, 37, 0.96);
  color: var(--text-main);
}

input:disabled,
textarea:disabled {
  opacity: 0.6;
}

textarea {
  width: 100%;
  resize: vertical;
}

.hint {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checklist {
  list-style: none;
  padding-left: 0;
  font-size: 0.86rem;
}

.checklist li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.7rem;
  color: var(--accent-teal);
}

.audio-player .audio-shell {
  border-radius: 16px;
  border: 1px solid rgba(244, 210, 122, 0.18);
  padding: 0.7rem 0.8rem;
  background: radial-gradient(circle at left, rgba(43, 195, 200, 0.35), rgba(3, 17, 25, 0.98));
}

.audio-wave {
  height: 32px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0, rgba(244, 210, 122, 0.15) 40%, rgba(43, 195, 200, 0.4) 100%);
  margin-bottom: 0.45rem;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-main);
}

.audio-meta {
  color: var(--text-muted);
}

.watch-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.86rem;
}

.watch-list li + li {
  margin-top: 0.35rem;
}

.donate-section .highlight {
  border-color: rgba(244, 210, 122, 0.3);
  background: radial-gradient(circle at top left, rgba(244, 210, 122, 0.14), rgba(5, 28, 40, 0.98));
}

.contact-line a {
  color: var(--accent-teal);
  text-decoration: none;
}

.contact-line a:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 1.3rem 5vw 2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at bottom, #020a0f, #02070a);
  text-align: center;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-panel {
    order: -1;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: absolute;
    top: 56px;
    right: 5vw;
    background: rgba(3, 18, 27, 0.98);
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    padding: 0.6rem;
    flex-direction: column;
    min-width: 210px;
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.14s ease-out;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  main {
    padding-inline: 4vw;
  }
  .site-header {
    padding-inline: 4vw;
  }
  .section {
    padding-inline: 1.1rem;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid.three {
    grid-template-columns: minmax(0, 1fr);
  }
  .field-row {
    flex-direction: column;
  }
}
