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

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --dark: #0d0d0d;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --text: #f0ece4;
  --muted: #9a9080;
  --border: rgba(201,168,76,0.18);
}

body {
  background-color: var(--dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,168,76,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 85% 85%, rgba(201,168,76,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav a:hover { opacity: 1; }

.nav-divider { color: var(--border); font-size: 0.85rem; }

.nav-current {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Page layout ── */
.page {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

/* ── Header ── */
.header { text-align: center; margin-bottom: 3rem; }

.cross { display: inline-block; margin-bottom: 1.75rem; opacity: 0.9; }
.cross svg { width: 40px; height: 40px; filter: drop-shadow(0 0 10px rgba(201,168,76,0.5)); }

.eyebrow {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

h1 span { color: var(--gold-light); }

.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.75rem auto;
}

/* ── Intro ── */
.intro {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.intro p + p { margin-top: 1rem; }

/* ── Principles ── */
.principle { margin-top: 3rem; }

.principle-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.principle-number {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 0.15rem;
}

.principle-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* ── Verse card ── */
.verse-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--surface);
}

.verse-col { padding: 1.4rem 1.5rem; }
.verse-col:first-child { border-right: 1px solid var(--border); }
.verse-col:last-child { background: var(--surface-2); }

.verse-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.verse-text {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
}

.explanation-text {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 300;
}

.body-text {
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text);
}

/* ── Prayer section ── */
.prayer-section {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2.75rem;
}

.prayer-header { text-align: center; margin-bottom: 1.75rem; }

.prayer-header h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #fff;
}

.prayer-header p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

.prayer-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2rem 2rem 2.25rem;
  border-left: 3px solid var(--gold);
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text);
  font-style: italic;
}

.prayer-box p + p { margin-top: 1rem; }

/* ── Back to top ── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  transform: translateY(8px);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: var(--gold-light); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .page { padding: 2.5rem 1.25rem 4rem; }
  .verse-card { grid-template-columns: 1fr; }
  .verse-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  #back-to-top { bottom: 1.25rem; right: 1.25rem; }
}
