:root {
  --bg: #f7f1e7;
  --bg-soft: #fcf8f1;
  --surface: rgba(255, 250, 242, 0.82);
  --surface-strong: #fff8ed;
  --text: #2d241d;
  --muted: #65574b;
  --line: rgba(120, 89, 55, 0.18);
  --gold: #c89b4f;
  --gold-deep: #9d7334;
  --olive: #59664b;
  --wine: #7b4b43;
  --shadow: 0 24px 60px rgba(74, 52, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 155, 79, 0.18), transparent 28%),
    radial-gradient(circle at right center, rgba(123, 75, 67, 0.12), transparent 26%),
    linear-gradient(180deg, #fcf7ef 0%, #f4ebdf 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-glow {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(65px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  top: -4rem;
  left: -6rem;
  background: rgba(200, 155, 79, 0.35);
}

.page-glow-right {
  top: 10rem;
  right: -7rem;
  background: rgba(89, 102, 75, 0.22);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 5vw;
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(252, 247, 239, 0.72);
  border-bottom: 1px solid rgba(120, 89, 55, 0.08);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--gold), var(--wine));
  box-shadow: var(--shadow);
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--wine);
}

.header-button,
.primary-button,
.secondary-button {
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-button,
.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  box-shadow: 0 15px 30px rgba(157, 115, 52, 0.22);
}

.secondary-button {
  color: var(--wine);
  background: rgba(123, 75, 67, 0.08);
  border-color: rgba(123, 75, 67, 0.12);
}

.header-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero,
.broadcast-section,
.schedule-section,
.ministry-section,
.prayer-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--olive);
  margin-bottom: 1rem;
}

.hero h1,
.section-heading h2,
.hero-card h2,
.prayer-card h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  margin: 0 0 1rem;
  max-width: 10ch;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 58ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-points li {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.9);
  border: 1px solid rgba(120, 89, 55, 0.12);
  color: var(--muted);
}

.hero-card,
.player-panel,
.chat-panel,
.schedule-card,
.ministry-card,
.prayer-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: 34px;
  padding: 2rem;
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -3rem -4rem auto;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200, 155, 79, 0.28), transparent 70%);
}

.hero-card-top,
.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.live-pill,
.chat-badge,
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.live-pill {
  background: rgba(123, 75, 67, 0.1);
  color: var(--wine);
}

.hero-card-label,
.panel-kicker {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-card h2 {
  margin: 1.2rem 0 0.75rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.hero-card p {
  color: var(--muted);
  line-height: 1.7;
}

.verse-box {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(120, 89, 55, 0.1);
}

.verse-box span,
.verse-box strong {
  display: block;
}

.verse-box span {
  color: var(--olive);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.verse-box strong {
  margin-top: 0.5rem;
  font-size: 1.15rem;
}

.broadcast-section,
.schedule-section,
.ministry-section,
.prayer-section {
  padding: 4rem 0 0;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 1.8rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.broadcast-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.4rem;
}

.player-panel,
.chat-panel {
  border-radius: 30px;
  padding: 1.5rem;
}

.status-indicator {
  color: var(--olive);
  background: rgba(89, 102, 75, 0.11);
}

.player-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  margin: 1.5rem 0;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.9), rgba(252, 247, 239, 0.5)),
    linear-gradient(145deg, rgba(200, 155, 79, 0.18), rgba(123, 75, 67, 0.08));
}

.signal-ring,
.signal-core {
  border-radius: 999px;
  position: absolute;
}

.signal-ring {
  border: 1px solid rgba(120, 89, 55, 0.14);
}

.signal-ring-one {
  width: 10rem;
  height: 10rem;
}

.signal-ring-two {
  width: 15rem;
  height: 15rem;
}

.signal-core {
  width: 6.75rem;
  height: 6.75rem;
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--wine), var(--gold));
  box-shadow: 0 20px 40px rgba(123, 75, 67, 0.25);
}

.player-controls {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

#stream {
  width: 100%;
  margin-top: 1rem;
  border-radius: 18px;
}

.panel-note,
.embed-tip,
.chat-placeholder p,
.schedule-card p,
.ministry-card p,
.prayer-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.chat-badge {
  background: rgba(200, 155, 79, 0.12);
  color: var(--gold-deep);
}

.chat-frame {
  min-height: 370px;
  margin-top: 1.4rem;
  border-radius: 24px;
  border: 1px dashed rgba(120, 89, 55, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 237, 0.66));
  display: flex;
}

.chat-placeholder {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chat-placeholder h4 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.chat-placeholder ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.embed-tip {
  margin-top: 1rem;
}

.schedule-grid,
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.schedule-card,
.ministry-card {
  padding: 1.5rem;
  border-radius: 26px;
}

.schedule-time {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(89, 102, 75, 0.11);
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 800;
}

.schedule-card h3,
.ministry-card h3 {
  margin: 1rem 0 0.75rem;
  font-size: 1.2rem;
}

.prayer-card {
  border-radius: 34px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.6rem;
  margin-bottom: 4rem;
}

.prayer-card h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.prayer-form {
  display: grid;
  gap: 1rem;
}

.prayer-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
}

.prayer-form input,
.prayer-form textarea {
  width: 100%;
  border: 1px solid rgba(120, 89, 55, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.95rem 1rem;
  color: var(--text);
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  border-top: 1px solid rgba(120, 89, 55, 0.12);
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .broadcast-grid,
  .prayer-card,
  .schedule-grid,
  .ministry-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 1rem;
  }

  .hero,
  .broadcast-section,
  .schedule-section,
  .ministry-section,
  .prayer-section,
  .site-footer {
    width: min(100% - 1rem, 1180px);
  }

  .hero-card,
  .player-panel,
  .chat-panel,
  .schedule-card,
  .ministry-card,
  .prayer-card {
    border-radius: 24px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section-heading h2,
  .prayer-card h2 {
    font-size: 2.4rem;
  }

  .player-controls,
  .hero-actions,
  .footer-links {
    flex-direction: column;
  }

  .header-button,
  .primary-button,
  .secondary-button {
    text-align: center;
    width: 100%;
  }
}
