:root {
  --bg: #1A0B10;
  --surface: #2A1118;
  --text: #FFF1F2;
  --muted: #FDA4AF;
  --primary: #FB7185;
  --secondary: #F97316;
  --accent: #FACC15;
  --border: rgba(255, 241, 242, 0.12);
  --faith-serif: Georgia, "Times New Roman", serif;
  --community-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--community-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(251, 113, 133, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(249, 115, 22, 0.1), transparent),
    linear-gradient(180deg, var(--bg) 0%, #120810 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fb7185' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.disclosure-banner {
  padding: 6px 16px;
  text-align: center;
  font-size: 10px;
  color: rgba(255, 241, 242, 0.55);
  line-height: 1.4;
  position: relative;
  z-index: 10;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin: 0 5% 0 10%;
  width: 85%;
  max-width: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 12px 20px;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-lockup img {
  display: block;
}

.logo-lockup span {
  font-family: var(--faith-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 241, 242, 0.06);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 11, 16, 0.97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-overlay.active {
  display: flex;
}

.mobile-overlay a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.25rem;
  font-family: var(--faith-serif);
  padding: 12px 24px;
  transition: color 0.25s ease;
}

.mobile-overlay a:hover {
  color: var(--primary);
}

.mobile-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-compliance {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.footer-compliance p {
  margin: 0 0 12px;
}

.footer-compliance a {
  color: var(--primary);
  text-decoration: underline;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.footer-badges a {
  display: block;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.footer-badge-18 {
  display: block;
  opacity: 0.85;
}

.footer-badges a:hover {
  opacity: 1;
}

.footer-badges img {
  max-height: 40px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

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

.footer-company {
  font-size: 0.8rem;
  color: rgba(255, 241, 242, 0.45);
  margin-bottom: 16px;
}

.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-lockup span {
  font-family: var(--faith-serif);
  font-size: 1rem;
  color: var(--text);
}

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 8, 0.92);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate.hidden {
  display: none;
}

.age-gate-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.age-gate-panel h2 {
  font-family: var(--faith-serif);
  margin: 0 0 12px;
  color: var(--text);
}

.age-gate-panel p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 0.9rem;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.age-gate-actions button {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: background 0.25s ease, transform 0.15s ease;
}

.age-gate-confirm {
  background: var(--primary);
  color: var(--bg);
  font-weight: 600;
}

.age-gate-confirm:hover {
  background: #f43f5e;
}

.age-gate-deny {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
}

.cookie-banner button {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: background 0.25s ease;
}

.cookie-accept {
  background: var(--primary);
  color: var(--bg);
  font-weight: 600;
}

.cookie-reject {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.legal-content h1 {
  font-family: var(--faith-serif);
  font-size: 2rem;
  margin: 0 0 24px;
  color: var(--text);
}

.legal-content h2 {
  font-family: var(--faith-serif);
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin: 0 0 12px;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content a {
  color: var(--primary);
}

.church-page-hero {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(42, 17, 24, 0.9) 100%);
  padding: 48px 24px;
  text-align: center;
  border-bottom: 2px solid var(--accent);
}

.church-page-hero h1 {
  font-family: var(--faith-serif);
  font-size: 2.25rem;
  margin: 0;
  color: var(--text);
}

@media (max-width: 900px) {
  .site-header {
    margin: 0;
    width: 100%;
  }

  .navbar {
    border-radius: 0;
  }

  .nav-links {
    display: none;
  }

  .burger-btn {
    display: flex;
  }
}

@media (max-width: 600px) {
  .age-gate-actions {
    flex-direction: column;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
