/* ─── HOROSCOPEDIE MASTER DESIGN SYSTEM ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --void:    #05030F;
  --deep:    #0A071E;
  --nebula:  #0D0A22;
  --lime:    #C8F135;
  --coral:   #FF6B6B;
  --pink:    #F472B6;
  --cyan:    #22D3EE;
  --violet:  #7C3AED;
  --amber:   #FBBF24;
  --fg:      #F0EBF8;
  --fg-dim: rgba(240,235,248,0.85);
  --fg-mute: rgba(240,235,248,0.6);
  --rule:    rgba(200,241,53,0.12);
  --border:  rgba(240,235,248,0.07);
  --panel:   #0D0A22;
  --serif:   'Fraunces', Georgia, serif;
  --sans:    'Cabinet Grotesk', sans-serif;
}

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

body {
  font-family: var(--sans);
  background: var(--void);
  color: var(--fg);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── STAR CANVAS ── */
#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 3.5rem;
  background: linear-gradient(180deg, rgba(5,3,15,0.95) 0%, transparent 100%);
  backdrop-filter: blur(8px);
}
.logo {
  font-family: var(--serif);
  font-size: 1.5rem; font-weight: 900;
  color: var(--fg); text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
  letter-spacing: -0.01em;
}
.logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 14px rgba(200,241,53,0.8);
  animation: logo-pulse 2.5s ease-in-out infinite;
}
@keyframes logo-pulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 14px rgba(200,241,53,0.8); }
  50%      { transform: scale(1.3); box-shadow: 0 0 24px rgba(200,241,53,1); }
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-dim); text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--lime);
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: var(--lime);
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(200,241,53,0.3);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--lime); color: var(--void) !important;
  padding: .6rem 1.4rem !important; border-radius: 100px;
  font-weight: 800 !important;
  box-shadow: 0 0 16px rgba(200,241,53,0.4);
  transition: all 0.3s ease !important;
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 0 24px rgba(200,241,53,0.6) !important;
}

/* ── FOOTER ── */
.site-footer {
  position: relative; z-index: 1;
  background: var(--deep);
  border-top: 1px solid rgba(200,241,53,0.08);
  padding: 0;
  margin-top: auto;
}
.footer-top {
  max-width: 1280px; margin: 0 auto;
  padding: 3rem 3.5rem 2rem;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .footer-logo {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 900;
  color: var(--fg); text-decoration: none;
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem;
}
.footer-logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(200,241,53,.7);
}
.footer-brand p {
  font-size: .82rem; font-weight: 500; line-height: 1.7;
  color: var(--fg-dim); max-width: 260px;
}
.footer-col-title {
  font-size: .65rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 1rem;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col-links a {
  font-size: .82rem; font-weight: 600;
  color: rgba(240,235,248,0.85); text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}
.footer-col-links a:hover {
  color: var(--fg);
  transform: translateX(4px);
  text-shadow: 0 0 5px rgba(240,235,248,0.2);
}
.footer-bottom {
  border-top: 1px solid rgba(240,235,248,0.06);
  max-width: 1280px; margin: 0 auto;
  padding: 1.5rem 3.5rem;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: .7rem; font-weight: 500; color: var(--fg-mute); }
.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--fg-mute); text-decoration: none; transition: color .2s;
}
.footer-legal-links a:hover { color: var(--lime); }
.footer-ad-disclosure {
  font-size: .65rem; font-weight: 600;
  color: rgba(240,235,248,0.18); text-align: center;
  padding: .8rem 3rem;
  border-top: 1px solid rgba(240,235,248,0.04);
  max-width: 1280px; margin: 0 auto;
  line-height: 1.6;
}

/* ── LAYOUT UTILS ── */
.page-container {
  position: relative; z-index: 1;
  padding: 8rem 3.5rem 5rem;
  max-width: 1200px; margin: 0 auto;
  flex: 1;
  width: 100%;
}
.page-header {
  text-align: center; margin-bottom: 4rem;
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem;
}
.page-title em { font-style: italic; color: var(--lime); }
.page-sub {
  font-size: 1.1rem; color: var(--fg-dim); max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* ── TOOL COMPONENTS ── */
.tool-card {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.tool-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--lime); color: var(--void);
  font-family: var(--sans); font-size: .9rem; font-weight: 800;
  padding: 1rem 2.5rem; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 0 24px rgba(200,241,53,0.3);
  transition: transform .2s, box-shadow .2s;
}
.tool-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(200,241,53,0.5);
}

@media(max-width:768px){
  nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }
  .page-container { padding: 7rem 1.5rem 4rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem 1.5rem; }
  .footer-bottom { padding: 1.5rem; }
}
@media(max-width:480px){
  .footer-top { grid-template-columns: 1fr; }
}
