/* ═══════════════════════════════════════
   MIDNIGHT SPELLCRAFT — CORE STYLES
   ═══════════════════════════════════════ */

:root {
  --bg-deep: #0a0614;
  --bg-dark: #110b22;
  --bg-card: #160f2a;
  --bg-card-hover: #1e1438;
  --purple-light: #c9b8e8;
  --purple-mid: #9b7ec8;
  --purple-bright: #b48ade;
  --gold: #c4a44e;
  --gold-light: #d4b96a;
  --text-primary: #e8e0f0;
  --text-muted: #8a7da0;
  --text-dim: #5a4e70;
  --accent-red: #8b2f3f;
  --accent-teal: #2f5e6b;
  --success: #4a9e6f;
  --error: #c45c5c;
  --warning: #c4944e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', Georgia, serif;
  overflow-x: hidden;
  min-height: 100vh;
}

.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--purple-mid); border-radius: 3px; }

a { color: var(--purple-light); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10,6,20,0.95), rgba(10,6,20,0));
  transition: background 0.4s;
}
nav.scrolled {
  background: rgba(10,6,20,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(155,126,200,0.08);
}
.nav-logo {
  font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 600;
  letter-spacing: 0.25em; color: var(--purple-light);
  text-transform: uppercase; text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}
.nav-links a {
  font-family: 'Raleway', sans-serif; font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover { color: var(--purple-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid rgba(196,164,78,0.35) !important;
  padding: 0.6rem 1.4rem !important;
  color: var(--gold) !important;
}
.nav-cta:hover { border-color: var(--gold) !important; box-shadow: 0 0 20px rgba(196,164,78,0.1); }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 24px; height: 1.5px; background: var(--purple-light); transition: 0.3s; }

/* ── SECTIONS ── */
.section-label {
  font-family: 'Raleway', sans-serif; font-size: 0.65rem; font-weight: 400;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold);
  text-align: center; display: block; margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; letter-spacing: 0.12em; text-align: center;
  color: var(--purple-light); margin-bottom: 1rem;
}
.section-divider {
  width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 3.5rem;
}

/* ── PAGE CONTAINER ── */
.page { padding: 8rem 3rem 5rem; max-width: 1200px; margin: 0 auto; }
.page-narrow { max-width: 680px; }
.page-wide { max-width: 1400px; }

/* ── CARDS ── */
.card {
  background: linear-gradient(160deg, var(--bg-card), rgba(16,10,30,0.8));
  border: 1px solid rgba(155,126,200,0.08);
  padding: 2rem; transition: all 0.4s;
}
.card:hover {
  border-color: rgba(155,126,200,0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.card-glow { position: relative; overflow: hidden; }
.card-glow::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--card-glow, rgba(155,126,200,0.06)), transparent 70%);
  opacity: 0; transition: opacity 0.5s;
}
.card-glow:hover::before { opacity: 1; }

/* ── FORMS ── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block; margin-bottom: 0.5rem;
  font-family: 'Raleway', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted);
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.9rem 1.2rem;
  background: rgba(22,15,42,0.6);
  border: 1px solid rgba(155,126,200,0.15);
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', serif; font-size: 1.05rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(155,126,200,0.4);
  box-shadow: 0 0 20px rgba(155,126,200,0.08);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; }
.form-select option { background: var(--bg-dark); color: var(--text-primary); }
.form-error { color: var(--error); font-size: 0.85rem; margin-top: 0.4rem; font-style: italic; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 1rem 2.4rem;
  font-family: 'Raleway', sans-serif; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid rgba(196,164,78,0.35);
  color: var(--gold); background: transparent;
  transition: all 0.4s; position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(196,164,78,0.06);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { border-color: var(--gold); box-shadow: 0 0 30px rgba(196,164,78,0.1); color: var(--gold); }

.btn-primary {
  background: linear-gradient(135deg, rgba(196,164,78,0.15), rgba(196,164,78,0.05));
  border-color: rgba(196,164,78,0.5);
}
.btn-purple { border-color: rgba(155,126,200,0.4); color: var(--purple-light); }
.btn-purple::before { background: rgba(155,126,200,0.06); }
.btn-purple:hover { border-color: var(--purple-mid); color: var(--purple-light); }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.65rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ── FLASH MESSAGES ── */
.flash {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  z-index: 1500; padding: 1rem 2rem; max-width: 500px; width: 90%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: 'Raleway', sans-serif; font-size: 0.8rem; letter-spacing: 0.1em;
  border: 1px solid; animation: flashIn 0.4s ease-out;
}
.flash-success { background: rgba(74,158,111,0.15); border-color: rgba(74,158,111,0.3); color: var(--success); }
.flash-error { background: rgba(196,92,92,0.15); border-color: rgba(196,92,92,0.3); color: var(--error); }
.flash-warning { background: rgba(196,148,78,0.15); border-color: rgba(196,148,78,0.3); color: var(--warning); }
.flash-close { background: none; border: none; color: inherit; cursor: pointer; font-size: 1.2rem; }
@keyframes flashIn { from { opacity: 0; transform: translateX(-50%) translateY(-20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ── MEMBERSHIP PRICING CARDS ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.pricing-card {
  background: linear-gradient(160deg, var(--bg-card), rgba(16,10,30,0.8));
  border: 1px solid rgba(155,126,200,0.08);
  padding: 2.5rem 2rem; text-align: center;
  transition: all 0.5s; position: relative;
}
.pricing-card.featured {
  border-color: rgba(196,164,78,0.3);
  box-shadow: 0 0 40px rgba(196,164,78,0.06);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-deep); font-family: 'Raleway', sans-serif;
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 0.3rem 1.5rem;
}
.pricing-tier {
  font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: 500;
  letter-spacing: 0.15em; color: var(--purple-light); margin-bottom: 0.5rem;
}
.pricing-price {
  font-family: 'Cinzel', serif; font-size: 2.8rem; font-weight: 400;
  color: var(--gold); margin-bottom: 0.3rem;
}
.pricing-price span { font-size: 1rem; color: var(--text-muted); }
.pricing-line { width: 40px; height: 1px; background: var(--gold); margin: 1.2rem auto; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li {
  font-size: 1rem; font-weight: 300; color: var(--text-muted);
  line-height: 2.2; font-style: italic;
}
.pricing-features li::before { content: '✦ '; color: var(--gold); font-style: normal; font-size: 0.7rem; }

/* ── SPELL GRID ── */
.spell-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.spell-card {
  background: linear-gradient(135deg, var(--bg-card), rgba(22,15,42,0.6));
  border: 1px solid rgba(155,126,200,0.08);
  padding: 1.5rem; cursor: pointer;
  transition: all 0.4s; text-decoration: none; display: block;
}
.spell-card:hover {
  border-color: rgba(155,126,200,0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.spell-card-category {
  font-family: 'Raleway', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem;
}
.spell-card-name {
  font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--purple-light); margin-bottom: 0.5rem;
}
.spell-card-desc {
  font-size: 0.9rem; font-weight: 300; font-style: italic;
  color: var(--text-muted); line-height: 1.6;
}
.spell-card-badge {
  display: inline-block; margin-top: 0.8rem; padding: 0.2rem 0.8rem;
  font-family: 'Raleway', sans-serif; font-size: 0.55rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid rgba(155,126,200,0.15); color: var(--text-dim);
}

/* ── HOROSCOPE CARDS ── */
.horoscope-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.horoscope-card {
  background: linear-gradient(145deg, rgba(22,15,42,0.9), rgba(10,6,20,0.9));
  border: 1px solid rgba(155,126,200,0.06); padding: 2rem;
}
.horoscope-sign {
  font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 500;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.3rem;
}
.horoscope-dates {
  font-family: 'Raleway', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 1rem;
}
.horoscope-text {
  font-size: 1rem; font-weight: 300; font-style: italic;
  color: var(--text-muted); line-height: 1.8;
}

/* ── TAROT READING DISPLAY ── */
.reading-container { max-width: 700px; margin: 0 auto; text-align: center; }
.reading-card-name {
  font-family: 'Cinzel', serif; font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400; letter-spacing: 0.12em; color: var(--purple-light);
  margin-bottom: 0.5rem;
}
.reading-card-suit {
  font-family: 'Raleway', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 1.5rem;
}
.reading-context {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.reading-context-item {
  font-family: 'Raleway', sans-serif; font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted);
}
.reading-context-item span { color: var(--gold); display: block; margin-top: 0.2rem; }
.reading-label {
  font-family: 'Raleway', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.reading-text {
  font-size: 1.1rem; font-weight: 300; color: var(--text-muted);
  line-height: 1.9; text-align: left; margin-bottom: 2rem;
}

/* ── LUNAR CALENDAR ── */
.lunar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; }
.lunar-day {
  aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(22,15,42,0.3); border: 1px solid rgba(155,126,200,0.05);
  font-size: 0.85rem; color: var(--text-dim); transition: all 0.3s;
}
.lunar-day.today { border-color: var(--gold); color: var(--gold); }
.lunar-day.event-new { border-color: rgba(196,164,78,0.4); background: rgba(196,164,78,0.06); }
.lunar-day.event-full { border-color: rgba(155,126,200,0.4); background: rgba(155,126,200,0.06); }
.lunar-day-num { font-family: 'Cinzel', serif; font-weight: 500; }
.lunar-day-moon { font-size: 0.7rem; margin-top: 0.2rem; }

/* ── PETITION FORM ── */
.petition-event {
  background: linear-gradient(160deg, var(--bg-card), rgba(16,10,30,0.8));
  border: 1px solid rgba(196,164,78,0.15); padding: 2.5rem;
  max-width: 600px; margin: 0 auto; text-align: center;
}
.petition-moon-name {
  font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 400;
  letter-spacing: 0.1em; color: var(--purple-light); margin-bottom: 0.3rem;
}
.petition-date {
  font-family: 'Raleway', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
}
.petition-spell {
  font-size: 1.05rem; font-weight: 300; font-style: italic;
  color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7;
}

/* ── AUTH PAGES ── */
.auth-container {
  max-width: 440px; margin: 0 auto; padding-top: 10rem;
}
.auth-title {
  font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 400;
  letter-spacing: 0.12em; color: var(--purple-light);
  text-align: center; margin-bottom: 0.5rem;
}
.auth-subtitle {
  font-size: 1rem; font-weight: 300; font-style: italic;
  color: var(--text-muted); text-align: center; margin-bottom: 2.5rem;
}
.auth-footer {
  text-align: center; margin-top: 2rem;
  font-family: 'Raleway', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.1em; color: var(--text-dim);
}
.auth-footer a { color: var(--gold); }

/* ── DASHBOARD ── */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.dash-card {
  background: linear-gradient(160deg, var(--bg-card), rgba(16,10,30,0.8));
  border: 1px solid rgba(155,126,200,0.08); padding: 2rem;
  text-decoration: none; display: block; transition: all 0.4s;
}
.dash-card:hover {
  border-color: rgba(155,126,200,0.2);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.dash-card-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.dash-card-title {
  font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--purple-light); margin-bottom: 0.5rem;
}
.dash-card-desc {
  font-size: 0.9rem; font-weight: 300; font-style: italic;
  color: var(--text-muted); line-height: 1.6;
}

/* ── LOCKED CONTENT OVERLAY ── */
.locked-overlay {
  position: relative; overflow: hidden;
}
.locked-overlay::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--bg-deep) 90%);
  pointer-events: none;
}
.locked-cta {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10; text-align: center;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(155,126,200,0.06);
  padding: 3rem; text-align: center;
  margin-bottom: 60px; /* Space for soundbar */
}
.footer-logo {
  font-family: 'Cinzel', serif; font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.3em; color: var(--purple-light);
  text-transform: uppercase; margin-bottom: 0.6rem;
}
.footer-logo span { color: var(--gold); }
footer p {
  font-family: 'Raleway', sans-serif; font-size: 0.65rem;
  letter-spacing: 0.15em; color: var(--text-dim);
}
footer .disclaimer {
  margin-top: 0.8rem; font-size: 0.58rem; font-style: italic;
  color: var(--text-dim); opacity: 0.7; max-width: 500px;
  margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* ── TAROT CARD FLIP ── */
.tarot-card-container {
  width: 240px; height: 380px;
  margin: 2rem auto; cursor: pointer;
  perspective: 1000px;
}
.tarot-card-inner {
  width: 100%; height: 100%;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-style: preserve-3d;
}
.tarot-card-container.flipped .tarot-card-inner {
  transform: rotateY(180deg);
}
.tarot-card-front, .tarot-card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 8px; overflow: hidden;
}
.tarot-card-front {
  display: flex; align-items: center; justify-content: center;
}
.tarot-card-front svg { width: 100%; height: 100%; }
.tarot-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #0d0818, #1a1230);
  border: 1px solid rgba(196,164,78,0.25);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem 1rem; text-align: center;
}
.tarot-card-back-symbol {
  font-size: 2.5rem; margin-bottom: 0.8rem;
  color: rgba(196,164,78,0.4);
}
.tarot-card-back-numeral {
  font-family: 'Cinzel', serif; font-size: 0.85rem;
  letter-spacing: 0.2em; color: rgba(196,164,78,0.6);
  margin-bottom: 0.6rem;
}
.tarot-card-back-name {
  font-family: 'Cinzel', serif; font-size: 1.3rem;
  font-weight: 400; letter-spacing: 0.08em;
  color: var(--purple-light); margin-bottom: 0.4rem;
}
.tarot-card-back-suit {
  font-family: 'Raleway', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-dim);
}
/* Inline SVG card artwork */
.tarot-card-back > svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 8px;
}
.tarot-card-back:has(> svg) {
  padding: 0; background: none; border: none;
}

/* ── TAROT HINT ── */
.tarot-hint {
  text-align: center; margin-top: 1rem;
  font-family: 'Raleway', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.15em; color: var(--text-dim);
  font-style: italic;
  transition: opacity 0.5s;
}

/* ── TAROT READING REVEAL ── */
.tarot-reading-reveal {
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity 0.8s ease-out, max-height 0.8s ease-out;
  margin-top: 2rem;
}
.tarot-reading-reveal.visible {
  opacity: 1; max-height: 5000px;
}

/* ── TAROT KEYWORDS ── */
.tarot-keywords {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem; margin: 1.5rem 0;
}
.tarot-keyword {
  display: inline-block; padding: 0.35rem 1rem;
  font-family: 'Raleway', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(196,164,78,0.25);
  background: rgba(196,164,78,0.04);
}

/* ── SHARE SECTION ── */
.share-section {
  text-align: center; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(155,126,200,0.06);
}
.share-label {
  font-family: 'Raleway', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 1.2rem;
}
.share-buttons {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  font-family: 'Raleway', sans-serif; font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  border: 1px solid rgba(155,126,200,0.12);
  background: rgba(22,15,42,0.4);
  transition: all 0.3s; cursor: pointer;
}
.share-btn:hover {
  border-color: rgba(155,126,200,0.3);
  color: var(--purple-light);
  background: rgba(22,15,42,0.7);
}
.share-btn svg {
  width: 16px; height: 16px; fill: currentColor; flex-shrink: 0;
}
.share-save-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  font-family: 'Raleway', sans-serif; font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border: 1px solid rgba(196,164,78,0.3);
  background: rgba(196,164,78,0.06);
  transition: all 0.3s; cursor: pointer;
}
.share-save-btn:hover {
  border-color: var(--gold);
  background: rgba(196,164,78,0.12);
}
.share-save-btn svg {
  width: 16px; height: 16px; fill: currentColor; flex-shrink: 0;
}

/* ── BLOG ── */
.blog-grid {
  display: grid; gap: 1.5rem;
}
.blog-card {
  display: block; text-decoration: none;
  background: linear-gradient(160deg, var(--bg-card), rgba(16,10,30,0.8));
  border: 1px solid rgba(155,126,200,0.08);
  padding: 2rem 2.2rem;
  transition: all 0.4s;
}
.blog-card:hover {
  border-color: rgba(155,126,200,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.blog-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.8rem;
}
.blog-card-category {
  font-family: 'Raleway', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.blog-card-date {
  font-family: 'Raleway', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.1em; color: var(--text-dim);
}
.blog-card-title {
  font-family: 'Cinzel', serif; font-size: 1.25rem; font-weight: 500;
  letter-spacing: 0.06em; color: var(--purple-light);
  margin-bottom: 0.6rem; line-height: 1.4;
}
.blog-card-excerpt {
  font-family: 'Cormorant Garamond', serif; font-size: 1.05rem;
  font-weight: 300; font-style: italic; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 1rem;
}
.blog-card-read {
  font-family: 'Raleway', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  transition: color 0.3s;
}
.blog-card:hover .blog-card-read { color: var(--gold-light); }

/* Blog post page */
.blog-back-link {
  display: inline-block; margin-bottom: 2rem;
  font-family: 'Raleway', sans-serif; font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  transition: color 0.3s;
}
.blog-back-link:hover { color: var(--purple-light); }
.blog-post-header { text-align: center; margin-bottom: 2.5rem; }
.blog-post-meta {
  display: flex; justify-content: center; gap: 1.5rem;
  align-items: center; margin-bottom: 1.2rem;
}
.blog-post-title {
  font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 400;
  letter-spacing: 0.08em; color: var(--purple-light);
  line-height: 1.35; margin-bottom: 1rem;
}
.blog-post-excerpt {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  font-weight: 300; font-style: italic; color: var(--text-muted);
  line-height: 1.8; max-width: 600px; margin: 0 auto;
}
.blog-post-body {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  font-weight: 400; color: var(--text-primary); line-height: 1.9;
}
/* ── Section headings with decorative divider ── */
.blog-post-body h2 {
  font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--gold);
  margin: 3rem 0 1.2rem; padding-top: 2rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(196,164,78,0.12);
  position: relative;
}
.blog-post-body h2::before {
  content: ''; display: block;
  width: 40px; height: 1px; margin: 0 auto 1.5rem;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.blog-post-body h2:first-child { padding-top: 0; margin-top: 0; }
.blog-post-body h2:first-child::before { display: none; }
.blog-post-body h3 {
  font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--purple-light);
  margin: 2.2rem 0 0.8rem;
}
.blog-post-body p { margin-bottom: 1.5rem; }
/* ── Drop cap on first paragraph after first heading ── */
.blog-post-body h2:first-child + p::first-letter {
  font-family: 'Cinzel', serif; font-size: 3.2rem; font-weight: 600;
  float: left; line-height: 1; margin: 0.05em 0.12em 0 0;
  color: var(--gold); text-shadow: 0 0 20px rgba(196,164,78,0.25);
}
.blog-post-body ul, .blog-post-body ol {
  margin: 1.2rem 0 1.6rem 1.5rem; color: var(--text-muted);
}
.blog-post-body li { margin-bottom: 0.6rem; line-height: 1.7; }
.blog-post-body li strong { color: var(--gold-light); }
/* ── Blockquotes — wisdom & emphasis ── */
.blog-post-body blockquote {
  margin: 2rem 0; padding: 1.5rem 1.8rem 1.5rem 2rem;
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, rgba(22,15,42,0.5), rgba(10,6,20,0.3));
  font-style: italic; color: var(--gold-light);
  position: relative; border-radius: 0 4px 4px 0;
}
.blog-post-body blockquote::before {
  content: '\201C'; position: absolute; top: -0.1rem; left: 0.5rem;
  font-family: 'Cinzel', serif; font-size: 3rem; color: rgba(196,164,78,0.15);
  line-height: 1;
}
.blog-post-body blockquote p { margin-bottom: 0.5rem; }
.blog-post-body blockquote p:last-child { margin-bottom: 0; }
/* ── Horizontal rules — decorative section breaks ── */
.blog-post-body hr {
  border: none; margin: 2.5rem auto; width: 120px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  position: relative;
}
.blog-post-body hr::after {
  content: '\2726'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.7rem; color: var(--gold); background: var(--bg-primary);
  padding: 0 0.6rem; letter-spacing: 0.3em;
}
/* ── Tip / Callout boxes ── */
.blog-post-body .blog-tip {
  margin: 2rem 0; padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, rgba(90,158,143,0.08), rgba(22,15,42,0.3));
  border: 1px solid rgba(90,158,143,0.15); border-radius: 6px;
  font-size: 1.05rem; position: relative; padding-left: 3rem;
}
.blog-post-body .blog-tip::before {
  content: '\2728'; position: absolute; left: 1.2rem; top: 1.4rem;
  font-size: 1rem;
}
.blog-post-body .blog-tip p { margin-bottom: 0.5rem; }
.blog-post-body .blog-tip p:last-child { margin-bottom: 0; }
.blog-post-body .blog-tip strong { color: var(--gold); }
/* ── Warning / Safety boxes ── */
.blog-post-body .blog-warning {
  margin: 2rem 0; padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, rgba(196,92,110,0.06), rgba(22,15,42,0.3));
  border: 1px solid rgba(196,92,110,0.15); border-radius: 6px;
  font-size: 1.05rem; position: relative; padding-left: 3rem;
}
.blog-post-body .blog-warning::before {
  content: '\26A0\FE0F'; position: absolute; left: 1.1rem; top: 1.3rem;
  font-size: 1rem;
}
.blog-post-body .blog-warning p { margin-bottom: 0.5rem; }
.blog-post-body .blog-warning p:last-child { margin-bottom: 0; }
/* ── Pull quotes — large centered emphasis ── */
.blog-post-body .pullquote {
  margin: 2.5rem 1rem; padding: 1.5rem 0; text-align: center;
  border-top: 1px solid rgba(196,164,78,0.12);
  border-bottom: 1px solid rgba(196,164,78,0.12);
  font-family: 'Cinzel', serif; font-size: 1.15rem; font-weight: 400;
  letter-spacing: 0.04em; color: var(--purple-light); line-height: 1.8;
  font-style: normal;
}
.blog-post-body strong { color: var(--purple-light); font-weight: 600; }
.blog-post-body em { color: var(--text-muted); }
.blog-post-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem; margin: 2.5rem 0;
}

/* ── HERO PARTICLES ── */
.particles {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.particle {
  position: absolute; bottom: -10px;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: rgba(196,164,78,0.3);
  animation: particleFloat 12s ease-in-out infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── SIGIL GENERATOR PAGE ── */
.sigil-section {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--text-primary);
  line-height: 2;
  margin-bottom: 3.5rem;
}
.sigil-section p {
  margin-bottom: 1.8rem;
}
.sigil-section blockquote {
  margin: 2.5rem 0;
  padding: 2rem 2.2rem 2rem 2.5rem;
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, rgba(22,15,42,0.5), rgba(10,6,20,0.3));
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.35rem;
  position: relative;
  border-radius: 0 4px 4px 0;
}
.sigil-section blockquote::before {
  content: '\201C';
  position: absolute;
  top: 0.2rem;
  left: 0.6rem;
  font-family: 'Cinzel', serif;
  font-size: 3.5rem;
  color: rgba(196,164,78,0.12);
  line-height: 1;
}
.sigil-section ul {
  margin: 1.5rem 0 2rem 1.5rem;
  color: var(--text-muted);
}
.sigil-section li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
  font-size: 1.25rem;
}
.sigil-section li strong {
  color: var(--gold-light);
}

/* Section headings — spell-style */
.sigil-heading {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(196,164,78,0.12);
}
.sigil-subheading {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  margin: 2.5rem 0 1.2rem;
}

/* Decorative dividers — spell-style with star */
.sigil-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 3.5rem 0;
  color: var(--gold);
  opacity: 0.4;
  border: none;
  background: none;
  height: auto;
  width: auto;
}
.sigil-divider::before,
.sigil-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.sigil-divider::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

/* Types grid */
.sigil-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin: 2.5rem 0;
}
.sigil-type-card {
  padding: 2.2rem 2rem;
  border: 1px solid rgba(155,126,200,0.08);
  background: linear-gradient(160deg, var(--bg-card), rgba(16,10,30,0.8));
  border-radius: 4px;
  transition: all 0.4s;
}
.sigil-type-card:hover {
  border-color: rgba(155,126,200,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.sigil-type-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.sigil-type-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  margin-bottom: 0.8rem;
}
.sigil-type-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 600px) {
  .sigil-types-grid { grid-template-columns: 1fr; }
}

/* ── Generator section — dramatic presentation ── */
.sigil-generator-section {
  padding: 3.5rem 3rem;
  margin: 0 -2rem;
  border: 1px solid rgba(196,164,78,0.12);
  background: linear-gradient(160deg, rgba(22,15,42,0.4), rgba(10,6,20,0.6));
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.sigil-generator-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.3;
}
.sigil-generator-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.3;
}
.sigil-method-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}
.sigil-method-btn {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(155,126,200,0.15);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}
.sigil-method-btn:first-child { border-radius: 4px 0 0 4px; }
.sigil-method-btn:last-child { border-radius: 0 4px 4px 0; border-left: none; }
.sigil-method-btn.active {
  background: rgba(196,164,78,0.1);
  color: var(--gold);
  border-color: rgba(196,164,78,0.3);
}
.sigil-method-btn:hover:not(.active) {
  border-color: rgba(155,126,200,0.3);
  color: var(--text-primary);
}
.sigil-method-desc {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
.sigil-method-desc p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}
.sigil-input-group {
  display: flex;
  gap: 1rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  align-items: stretch;
}
.sigil-input {
  flex: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  padding: 0.9rem 1.2rem;
  background: rgba(10,6,20,0.6);
  border: 1px solid rgba(155,126,200,0.15);
  color: var(--text-primary);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.sigil-input:focus {
  border-color: rgba(196,164,78,0.4);
  box-shadow: 0 0 20px rgba(196,164,78,0.08);
}
.sigil-input::placeholder { color: var(--text-dim); font-style: italic; }
.sigil-input.shake { animation: sigil-shake 0.4s ease-in-out; }
@keyframes sigil-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.sigil-btn {
  white-space: nowrap;
  font-size: 0.65rem !important;
  padding: 0.9rem 1.5rem !important;
}
.sigil-canvas-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2rem;
  position: relative;
}
.sigil-canvas-wrap canvas {
  border: 1px solid rgba(155,126,200,0.06);
  border-radius: 4px;
  background: rgba(10,6,20,0.9);
  box-shadow: 0 0 40px rgba(196,164,78,0.04);
}
.sigil-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.sigil-action-btn {
  font-size: 0.65rem !important;
  padding: 0.6rem 1.5rem !important;
}

/* Reduction display */
.sigil-reduction {
  max-width: 480px;
  margin: 2rem auto 0;
  text-align: center;
}
.reduction-step {
  margin-bottom: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(155,126,200,0.06);
}
.reduction-label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}
.reduction-text {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}
.reduction-char {
  display: inline-block;
  margin: 0 2px;
  transition: all 0.3s;
}
.reduction-char.struck {
  text-decoration: line-through;
  color: var(--text-dim);
  opacity: 0.4;
}
.sigil-result {
  color: var(--gold) !important;
  font-size: 1.3rem !important;
  font-weight: 600;
}

/* Intention examples */
.sigil-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin: 2.5rem 0;
}
.sigil-example {
  padding: 1.8rem 2rem;
  border-radius: 4px;
}
.sigil-example.good {
  border: 1px solid rgba(90,158,143,0.15);
  background: linear-gradient(135deg, rgba(90,158,143,0.06), transparent);
}
.sigil-example.weak {
  border: 1px solid rgba(196,92,110,0.12);
  background: linear-gradient(135deg, rgba(196,92,110,0.04), transparent);
}
.sigil-example-label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.sigil-example.good .sigil-example-label { color: rgba(90,158,143,0.8); }
.sigil-example.weak .sigil-example-label { color: rgba(196,92,110,0.7); }
.sigil-example ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
}
.sigil-example li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* Page container */
.sigil-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Hero section */
.sigil-hero {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 1rem;
}
.sigil-hero-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 2;
  max-width: 600px;
  margin: 0 auto;
}

/* Generator intro text */
.sigil-generator-intro {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Practice list */
.sigil-practice-list {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 2;
  margin: 1.8rem 0 2.5rem 1.5rem;
}
.sigil-practice-list li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

/* CTA section */
.sigil-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(196,164,78,0.15);
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(22,15,42,0.3), rgba(10,6,20,0.4));
}
.sigil-cta-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--purple-light);
  margin-bottom: 0.8rem;
}
.sigil-cta-text {
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .sigil-page { padding: 1rem 1rem 3rem; }
  .sigil-examples { grid-template-columns: 1fr; }
  .sigil-input-group { flex-direction: column; }
  .sigil-generator-section { padding: 2rem 1.2rem; margin: 0; }
  .sigil-section { font-size: 1.15rem; }
  .sigil-type-card { padding: 1.5rem; }
  .sigil-hero { margin-bottom: 2.5rem; }
}

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh; padding: 5rem 2rem 2rem;
    background: rgba(10,6,20,0.98); backdrop-filter: blur(20px);
    flex-direction: column; gap: 1.5rem;
    border-left: 1px solid rgba(155,126,200,0.08);
  }
  .nav-links.open { display: flex; }
  .page { padding: 6rem 1.5rem 3rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .spell-grid { grid-template-columns: 1fr; }
  .horoscope-grid { grid-template-columns: 1fr; }
  .lunar-grid { gap: 0.25rem; }
  .lunar-day { font-size: 0.7rem; }
  .tarot-card-container { width: 200px; height: 316px; }
  .share-buttons { flex-direction: column; align-items: center; }
}
