/* Monthly Zodiac Sign — shared styles */
:root {
  --bg: #060b26;
  --bg-2: #0a1238;
  --bg-card: rgba(99, 126, 246, 0.08);
  --bg-card-hover: rgba(99, 126, 246, 0.16);
  --border: rgba(129, 156, 255, 0.22);
  --blue: #6366f1;
  --blue-deep: #312e81;
  --blue-bright: #818cf8;
  --sky: #a5b4fc;
  --gold: #f59e0b;
  --gold-bright: #fbbf24;
  --text: #e8ecfe;
  --text-dim: #a6b0dd;
  --radius: 18px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* starfield backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 62%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 56% 30%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 74%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 87% 12%, rgba(251,191,36,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 20% 88%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 52%, rgba(251,191,36,.5) 50%, transparent 51%),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(49, 46, 129, .55), transparent),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
.section-sub { color: var(--text-dim); max-width: 640px; margin: 0 auto 44px; text-align: center; font-size: 1.06rem; }
.section-head { text-align: center; }

.grad-text {
  background: linear-gradient(90deg, var(--blue-bright), var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 11, 38, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.02rem; color: var(--text); }
.nav-logo:hover { text-decoration: none; }
.nav-logo img { width: 38px; height: 38px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  color: #fff !important; padding: 9px 18px; border-radius: 999px; font-weight: 700 !important;
}
.nav-cta:hover { filter: brightness(1.15); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- buttons / badges ---------- */
.btn-store { display: inline-block; transition: transform .15s ease; }
.btn-store:hover { transform: scale(1.04); }
.btn-store svg { height: 56px; width: auto; display: block; }

.rating-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stars { color: var(--gold-bright); letter-spacing: 2px; font-size: 1.05rem; }
.rating-meta { color: var(--text-dim); font-size: .92rem; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-copy .eyebrow {
  display: inline-block; padding: 6px 14px; border: 1px solid var(--border);
  border-radius: 999px; color: var(--gold-bright); font-size: .85rem; font-weight: 600;
  margin-bottom: 18px; background: var(--bg-card);
}
.hero-copy p.lede { color: var(--text-dim); font-size: 1.15rem; margin: 18px 0 28px; max-width: 540px; }
.hero-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone img {
  width: min(320px, 78vw); border-radius: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(49, 46, 129, .6), 0 6px 24px rgba(0,0,0,.5);
}
.hero-phone::before {
  content: ""; position: absolute; inset: -12%;
  background: radial-gradient(circle, rgba(99,102,241,.35), transparent 65%);
  z-index: -1;
}

/* ---------- trust bar ---------- */
.trust { padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(10,18,56,.5); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.trust-grid strong { display: block; font-size: 1.5rem; color: var(--text); }
.trust-grid span { color: var(--text-dim); font-size: .9rem; }

/* ---------- zodiac sign grid ---------- */
.sign-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sign-card {
  display: block; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px; color: var(--text);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.sign-card:hover { background: var(--bg-card-hover); transform: translateY(-3px); text-decoration: none; border-color: var(--gold); }
.sign-card .glyph { font-size: 1.8rem; display: block; margin-bottom: 8px; color: var(--gold-bright); }
.sign-card h3 { color: var(--text); margin-bottom: 2px; }
.sign-card .dates { color: var(--gold-bright); font-size: .8rem; font-weight: 600; letter-spacing: .03em; display: block; margin-bottom: 8px; }
.sign-card p { color: var(--text-dim); font-size: .88rem; margin-bottom: 10px; }
.sign-card .more { color: var(--blue-bright); font-weight: 600; font-size: .88rem; }

/* ---------- month events timeline ---------- */
.timeline { max-width: 780px; margin: 0 auto; }
.timeline .event {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 22px; margin-bottom: 12px;
}
.timeline .date {
  flex: 0 0 auto; min-width: 72px; text-align: center;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-radius: 10px; padding: 8px 10px; font-weight: 800; font-size: .92rem; color: #fff;
}
.timeline .event h3 { margin-bottom: 4px; }
.timeline .event p { color: var(--text-dim); font-size: .95rem; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px;
  transition: background .2s ease, transform .2s ease;
}
.card:hover { background: var(--bg-card-hover); transform: translateY(-3px); }
.card .icon { font-size: 1.9rem; margin-bottom: 12px; display: block; }
.card p { color: var(--text-dim); font-size: .93rem; }

/* ---------- screenshots ---------- */
.shots {
  display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 26px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots figure { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.shots img {
  width: 230px; border-radius: 26px; border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.shots figcaption { color: var(--text-dim); font-size: .88rem; margin-top: 12px; max-width: 230px; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--blue-deep); border-radius: 99px; }
.shots::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 99px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px 26px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-deep), var(--gold));
  font-weight: 800; color: #fff;
}
.step p { color: var(--text-dim); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; margin-bottom: 12px; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.02rem;
  list-style: none; position: relative; padding-right: 48px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--gold-bright); font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .faq-body { padding: 0 22px 20px; color: var(--text-dim); }
.faq-list .faq-body a { font-weight: 600; }

/* ---------- final CTA ---------- */
.final-cta {
  text-align: center;
  background: linear-gradient(160deg, rgba(49,46,129,.5), rgba(245,158,11,.12));
  border: 1px solid var(--border); border-radius: 28px;
  padding: 64px 28px; margin: 0 24px;
}
.final-cta .inner { max-width: 620px; margin: 0 auto; }
.final-cta p { color: var(--text-dim); margin: 14px 0 30px; font-size: 1.08rem; }
.final-cta .icon-lockup { display: flex; justify-content: center; margin-bottom: 22px; }
.final-cta .icon-lockup img { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 12px 40px rgba(99,102,241,.5); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 36px; margin-top: 72px; background: rgba(6,11,38,.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-size: .95rem; margin-bottom: 12px; color: var(--text); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-dim); font-size: .92rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-note { color: var(--text-dim); font-size: .88rem; max-width: 380px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .85rem; text-align: center; }

/* ---------- article / horoscope pages ---------- */
.article { max-width: 780px; margin: 0 auto; padding: 56px 24px 0; }
.article .breadcrumb { font-size: .88rem; color: var(--text-dim); margin-bottom: 22px; }
.article h1 { margin-bottom: 18px; }
.article .lede { font-size: 1.18rem; color: var(--text-dim); margin-bottom: 32px; }
.article h2 { margin-top: 44px; }
.article h3 { margin-top: 28px; }
.article p { margin: 14px 0; color: var(--text); }
.article p, .article li { font-size: 1.02rem; }
.article ul, .article ol { padding-left: 24px; margin: 14px 0; }
.article li { margin-bottom: 8px; }
.article .answer-box {
  background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 18px 22px; margin: 24px 0; font-size: 1.05rem;
}
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .96rem; }
.article th, .article td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.article th { background: var(--bg-card); }
.article .app-steps {
  background: linear-gradient(160deg, rgba(49,46,129,.4), rgba(245,158,11,.08));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; margin: 32px 0;
}
.article .app-steps h2, .article .app-steps h3 { margin-top: 0; }
.article-cta {
  text-align: center; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 24px; margin: 44px 0;
}
.article-cta p { color: var(--text-dim); }
.article-cta .btn-store { margin-top: 16px; }
.related { margin: 44px 0 0; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 10px; }

/* sign page header block */
.sign-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; }
.sign-hero .glyph {
  flex: 0 0 auto; width: 84px; height: 84px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center; font-size: 2.6rem;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border: 1px solid var(--border); color: var(--gold-bright);
  box-shadow: 0 12px 32px rgba(49,46,129,.5);
}
.sign-hero .meta { color: var(--text-dim); font-size: .95rem; }
.sign-hero .meta strong { color: var(--gold-bright); }

/* score bars: love / career / health / money */
.scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0; }
.score {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px; text-align: center;
}
.score .label { display: block; color: var(--text-dim); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.score .stars { font-size: .95rem; }

/* lucky facts box */
.lucky-box {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  background: linear-gradient(160deg, rgba(245,158,11,.12), rgba(49,46,129,.3));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin: 26px 0;
}
.lucky-box div { text-align: center; }
.lucky-box .label { display: block; color: var(--text-dim); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.lucky-box .value { font-weight: 800; font-size: 1.08rem; color: var(--gold-bright); }

/* all-signs mini nav on sign pages */
.sign-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.sign-nav a {
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
  color: var(--text-dim); font-size: .88rem; font-weight: 600; background: var(--bg-card);
}
.sign-nav a:hover { color: var(--text); border-color: var(--gold); text-decoration: none; }
.sign-nav a.current { color: var(--gold-bright); border-color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p.lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .rating-row { justify-content: center; }
  .cards, .sign-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .scores { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(6,11,38,.97); padding: 20px 24px;
    border-bottom: 1px solid var(--border); align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .cards, .sign-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lucky-box { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .btn-store svg { height: 50px; }
  .sign-hero { flex-direction: column; align-items: flex-start; }
}
