/* ============================================================
   SecretPisces — Shared Styles for Angel Number Pages
   ============================================================ */

:root {
  --purple:      #7b61ff;
  --purple-glow: rgba(123,97,255,0.6);
  --teal:        #4fd1ff;
  --teal-glow:   rgba(79,209,255,0.6);
  --gold:        #f0c870;
  --gold-dim:    #d4a853;
  --white:       #ffffff;
  --text:        rgba(255,255,255,0.9);
  --muted:       rgba(255,255,255,0.62);
  --dim:         rgba(255,255,255,0.38);
  --card-bg:     rgba(255,255,255,0.07);
  --card-border: rgba(255,255,255,0.14);
  --card-shadow: 0 0 40px rgba(255,255,255,0.10);
  --r:           18px;
  --r-sm:        12px;
  --ease:        0.3s ease;
}

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

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--white);
  background-color: #07071e;
  min-height: 100vh;
  overflow-x: hidden;
}

.overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,5,25,0.55), rgba(5,3,18,0.45));
  z-index: 0;
  pointer-events: none;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,5,25,0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(123,97,255,0.15);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 0 22px var(--purple-glow);
}
.nav-links { list-style: none; display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 20px;
  transition: var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(123,97,255,0.15);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 18px 24px 0;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.breadcrumb a { color: var(--dim); text-decoration: none; transition: var(--ease); }
.breadcrumb a:hover { color: var(--muted); }
.breadcrumb span { margin: 0 8px; }

/* ── HERO ────────────────────────────────────────────────── */
.an-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px 50px;
  max-width: 860px;
  margin: 0 auto;
}
.an-hero .num-display {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.an-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.an-hero .tagline {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.badge-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.badge {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid rgba(123,97,255,0.4);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(123,97,255,0.08);
}

/* ── CONTENT ─────────────────────────────────────────────── */
.an-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.an-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 44px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(240,200,112,0.18);
}
.an-content p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.an-content strong { color: var(--white); font-weight: 600; }
.callout {
  background: rgba(123,97,255,0.1);
  border: 1px solid rgba(123,97,255,0.28);
  border-left: 3px solid var(--purple);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: rgba(220,215,255,0.9);
  line-height: 1.7;
  margin: 24px 0;
}
.callout.gold {
  background: rgba(240,200,112,0.08);
  border-color: rgba(240,200,112,0.3);
  border-left-color: var(--gold);
  color: rgba(255,240,200,0.9);
}

/* Aspect grid (love, career, etc.) */
.aspect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.aspect-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--r-sm);
  padding: 20px;
  backdrop-filter: blur(10px);
}
.aspect-card .ac-icon { font-size: 1.4rem; margin-bottom: 10px; display: block; }
.aspect-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.aspect-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color var(--ease);
}
.faq-item:hover { border-color: rgba(123,97,255,0.38); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: 'Cinzel', serif;
  font-size: 0.84rem;
  color: rgba(230,220,255,0.9);
  text-align: left;
  transition: color var(--ease);
}
.faq-q:hover { color: var(--white); }
.faq-icon {
  flex-shrink: 0;
  width: 21px; height: 21px;
  border: 1px solid rgba(123,97,255,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  font-size: 0.8rem;
  transition: transform var(--ease), background var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(123,97,255,0.2); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--ease);
  padding: 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  text-align: left;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 16px; }

/* ── RELATED NUMBERS ─────────────────────────────────────── */
.related-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.related-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  text-decoration: none;
  flex: 1;
  min-width: 120px;
  text-align: center;
  transition: var(--ease);
}
.related-card:hover {
  border-color: rgba(123,97,255,0.4);
  background: rgba(123,97,255,0.1);
  transform: translateY(-2px);
}
.related-card .rn { font-family: 'Cinzel Decorative', serif; font-size: 1.4rem; color: var(--gold); display: block; margin-bottom: 6px; }
.related-card .rt { font-family: 'Cinzel', serif; font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { display: flex; align-items: center; gap: 14px; margin: 36px 0; padding: 0 24px; max-width: 860px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.divider-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(123,97,255,0.3), transparent); }
.divider-dot { color: var(--purple); font-size: 0.7rem; opacity: 0.6; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  background: rgba(8,8,28,0.88);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(123,97,255,0.14);
  padding: 48px 60px 28px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; max-width: 1080px; margin: 0 auto 36px; }
.logo-foot { font-family: 'Cinzel Decorative', serif; font-size: 1rem; color: var(--white); text-shadow: 0 0 18px var(--purple-glow); display: block; margin-bottom: 10px; }
.footer-brand p { font-size: 0.84rem; color: var(--dim); line-height: 1.75; }
.footer-col h5 { font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin-bottom: 16px; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { font-size: 0.82rem; color: var(--dim); text-decoration: none; transition: var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1080px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.78rem; color: var(--dim); }

/* ── GOLD SPARKLE ────────────────────────────────────────── */
.gold-sparkle {
  background: linear-gradient(135deg,#c8960c 0%,#ffd700 20%,#fff0a0 38%,#ffd700 50%,#f0a500 65%,#ffe066 80%,#c8960c 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s linear infinite;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.45));
}
@keyframes goldShimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* ── REVEAL ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 680px) {
  .nav { padding: 14px 20px; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,8,28,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123,97,255,0.18);
    padding: 10px 0; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; border-radius: 0; }
  .nav-toggle { display: flex; }
  .an-hero { padding: 40px 20px 36px; }
  .an-content { padding: 0 20px 60px; }
  footer { padding: 40px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .aspect-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .aspect-grid { grid-template-columns: 1fr; }
}
