/* ═══════════════════════════════════════
   SPELL CONTENT LAYOUT
   Structured HTML replacement for PDF/JPG
   spell pages. Mobile-first, responsive.
   ═══════════════════════════════════════ */

/* ── META BAR (Level · Time · Moon) ── */
.spell-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.2rem 0;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(196,164,78,0.15);
  border-bottom: 1px solid rgba(196,164,78,0.15);
}
.spell-meta-item {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.spell-meta-item span {
  display: block;
  margin-top: 0.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--purple-light);
}

/* ── SECTION HEADINGS ── */
.spell-section-heading {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(196,164,78,0.12);
}

/* ── MATERIALS LIST ── */
.spell-materials {
  margin-bottom: 3rem;
}
.spell-material {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(155,126,200,0.04);
}
.spell-material:last-child {
  border-bottom: none;
}
.spell-material-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.spell-material-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── MOON PHASE & TIMING ── */
.spell-timing {
  margin-bottom: 3rem;
}
.spell-timing-intro {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.spell-timing-intro strong {
  color: var(--purple-light);
  font-weight: 600;
}
.spell-timing-details {
  padding-left: 1rem;
  border-left: 2px solid rgba(196,164,78,0.12);
}
.spell-timing-detail {
  padding: 0.5rem 0 0.5rem 0.8rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--purple-light);
  line-height: 1.7;
}
.spell-timing-detail strong {
  font-weight: 600;
  color: var(--text-primary);
  font-style: normal;
}

/* ── DIVIDER ── */
.spell-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 2.5rem 0;
  color: var(--gold);
  opacity: 0.4;
}
.spell-divider::before,
.spell-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.spell-divider::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

/* ── RITUAL STEPS ── */
.spell-ritual {
  margin-bottom: 3rem;
}
.spell-step {
  margin-bottom: 2rem;
  padding-left: 0;
}
.spell-step-header {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.spell-step-content {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.9;
}

/* ── INCANTATION BLOCK ── */
.spell-incantation {
  margin: 1.5rem 0;
  padding: 1.8rem 2rem;
  background: linear-gradient(160deg, rgba(22,15,42,0.6), rgba(16,10,30,0.8));
  border-left: 3px solid var(--gold);
  border-right: 1px solid rgba(196,164,78,0.08);
  border-top: 1px solid rgba(196,164,78,0.08);
  border-bottom: 1px solid rgba(196,164,78,0.08);
  position: relative;
}
.spell-incantation::before {
  content: '✦';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-size: 0.7rem;
  color: var(--gold);
  background: var(--bg-deep);
  padding: 0 0.5rem;
}
.spell-incantation p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.9;
  text-align: center;
}

/* ── PERSONALIZING TIPS ── */
.spell-tips {
  margin-bottom: 2rem;
}
.spell-tip {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(155,126,200,0.04);
}
.spell-tip:last-child {
  border-bottom: none;
}
.spell-tip-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.spell-tip-desc {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--purple-light);
  line-height: 1.7;
}

/* ── DISCLAIMER ── */
.spell-disclaimer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(155,126,200,0.06);
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.5;
  text-align: center;
  font-style: italic;
  line-height: 1.8;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .spell-meta {
    gap: 1.2rem;
    padding: 1rem 0;
  }
  .spell-meta-item {
    font-size: 0.65rem;
    min-width: 80px;
  }
  .spell-meta-item span {
    font-size: 1rem;
  }
  .spell-incantation {
    padding: 1.4rem 1.2rem;
    margin: 1.2rem 0;
  }
  .spell-incantation p {
    font-size: 1.15rem;
  }
  .spell-timing-details {
    padding-left: 0.6rem;
  }
  .spell-step-content {
    font-size: 1.08rem;
  }
}
