/* ============================================================
   SOLARIS — астрологический атлас
   тёмный звёздный обсерваторий · золото + индиго + аква
   ============================================================ */

:root {
  --bg: #05070f;
  --bg-2: #0a0e1c;
  --bg-3: #0d1226;
  --panel: #0d1122;
  --panel-2: #121631;
  --panel-3: #161b3c;
  --ink: #f2eedf;
  --muted: #9aa6cd;
  --muted-2: #5f6a8f;
  --gold: #e9c46a;
  --gold-2: #ffd98a;
  --teal: #3ce6c0;
  --violet: #9b7bff;
  --line: rgba(242, 238, 223, 0.1);
  --line-soft: rgba(242, 238, 223, 0.06);
  --danger: #ff7b6e;

  --font-display: "Cormorant", "Georgia", serif;
  --font-label: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: rgba(233, 196, 106, 0.3); color: #fff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3a3f52, #2a2f3f);
  border-radius: 8px;
  border: 2px solid var(--bg);
}

.container { width: min(1220px, 92%); margin-inline: auto; }

/* ---------- fixed starfield ---------- */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
main, header, footer { position: relative; z-index: 1; }

/* ---------- film grain ---------- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjAiIGhlaWdodD0iMTYwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC43NSIgbnVtT2N0YXZlcz0iMiIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxNjAiIGhlaWdodD0iMTYwIiBmaWx0ZXI9InVybCgjbikiIG9wYWNpdHk9IjAuNSIvPjwvc3ZnPg==");
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 50% 40%, var(--bg-3), var(--bg));
  transition: opacity 0.75s var(--ease), visibility 0.75s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader-mark { width: 240px; height: auto; animation: spin 1.2s ease-in; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-2), var(--gold));
  box-shadow: 0 0 14px rgba(233, 196, 106, 0.8);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-top: 18px;
}
.section-title em {
  font-style: italic;
  background: linear-gradient(115deg, var(--gold-2), var(--gold) 40%, #fff3d6 70%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  max-width: 640px;
  color: var(--muted);
  margin-top: 16px;
  font-size: 16px;
}

.section { padding: 120px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { margin-bottom: 56px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s, color 0.35s, border-color 0.35s;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: linear-gradient(135deg, #f6d489, var(--gold));
  color: #221803;
  box-shadow: 0 14px 34px -12px rgba(233, 196, 106, 0.6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(233, 196, 106, 0.8); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.btn-gold:hover::after { opacity: 1; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 7, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 44px -22px rgba(0, 0, 0, 0.8);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  transition: padding 0.4s;
}
.site-header.scrolled .header-inner { padding: 14px 0; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { height: 60px; width: auto; filter: drop-shadow(0 0 8px rgba(233,196,106,.35)); transition: transform 0.6s var(--ease); }
.logo:hover .logo-mark { transform: scale(1.05); }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.3s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 998;
  background: rgba(5, 7, 15, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 30px 6%;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; transform: none; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 32px;
  padding: 8px 0;
  color: var(--muted);
  transition: color 0.3s, transform 0.3s;
}
.mobile-menu nav a:hover { color: var(--gold); transform: translateX(4px); }
.mobile-menu .btn { margin-top: 30px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 160px 0 110px;
  overflow: hidden;
}
/* background aurora glows */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 18% 22%, rgba(155, 123, 255, 0.2), transparent 62%),
    radial-gradient(50% 45% at 85% 30%, rgba(60, 230, 192, 0.14), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(60, 60, 140, 0.28), transparent 70%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.6vw, 84px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.005em;
  margin: 26px 0 22px;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(115deg, var(--gold-2), var(--gold) 45%, #fff3d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
  max-width: 520px;
}
.stat { flex: 1; padding-right: 16px; }
.stat + .stat { border-left: 1px solid var(--line-soft); padding-left: 22px; }
.stat-num {
  font-family: var(--font-label);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}
.stat-lbl {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* hero stage */
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.orbit { position: absolute; will-change: transform; }
.orbit svg { width: 100%; height: 100%; }
.orbit-a { width: 460px; height: 460px; top: 8%; right: 6%; }
.orbit-b { width: 330px; height: 330px; top: 30%; right: 26%; }
.orbit-c { width: 400px; height: 400px; bottom: 6%; right: 10%; }
.moon-svg {
  position: absolute;
  width: 190px; height: 190px;
  top: 18%; right: 36%;
  filter: drop-shadow(0 30px 60px rgba(233, 196, 106, 0.35));
  animation: floatY 9s ease-in-out infinite;
}
.star-big {
  position: absolute;
  color: var(--gold);
  font-size: 46px;
  opacity: 0.55;
  text-shadow: 0 0 22px rgba(233,196,106,.8);
  animation: twinkle 4s ease-in-out infinite;
}
.star-big.star-b { right: 16%; top: 22%; color: var(--teal); font-size: 30px; text-shadow: 0 0 20px rgba(60,230,192,.7); animation-delay: 1.4s; }
.star-c { left: 12%; top: 30%; color: var(--violet); font-size: 34px; text-shadow: 0 0 20px rgba(155,123,255,.7); animation-delay: 2.6s; }
@keyframes twinkle { 0%, 100% { opacity: .3; transform: scale(.85) rotate(0deg); } 50% { opacity: .9; transform: scale(1.1) rotate(18deg); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

/* zodiac wheel */
.zodiac-wheel {
  position: absolute;
  width: 560px; height: 560px;
  top: 50%; right: 4%;
  transform: translateY(-50%);
  opacity: 0.9;
}
.wheel-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,196,106,.08), transparent 60%);
  box-shadow: 0 0 120px rgba(233,196,106,.18) inset;
}
.wheel-core {
  position: absolute;
  inset: 40%;
  display: grid;
  place-items: center;
}
.wheel-core svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.wheel-core text { font-size: 30px; fill: var(--gold-2); }
.zw {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px; height: 44px;
  margin-left: -22px; margin-top: -22px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #1b2142, #0c0f22);
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotate(calc(var(--i) * 30deg)) translateY(-250px) rotate(calc(var(--i) * -30deg));
  transition: box-shadow 0.4s;
}
.zw:hover { box-shadow: 0 0 22px rgba(233,196,106,.6); color: var(--gold-2); }
.zw-num { font-family: var(--font-label); font-size: 18px; color: var(--gold); }

/* hero right today card */
.hero-copy-right { display: flex; justify-content: flex-end; align-items: center; }
.glass {
  background: linear-gradient(150deg, rgba(19, 24, 48, 0.7), rgba(11, 14, 30, 0.55));
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 28px 30px;
  max-width: 340px;
  position: relative;
  overflow: hidden;
}
.glass::after {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 70%; height: 120%;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,.06), transparent);
  transform: rotate(45deg);
  animation: sheen 6s linear infinite;
}
@keyframes sheen { 0% { transform: translateX(-120%) rotate(20deg); } 60%, 100% { transform: translateX(220%) rotate(20deg); } }
.tc-label { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.tc-title { display: block; font-family: var(--font-display); font-size: 26px; margin: 12px 0 8px; }
.today-card p { color: var(--muted); font-size: 14.5px; }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-2);
  z-index: 3;
}
.hero-scroll i {
  width: 1.5px; height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollDrop 2.4s ease-in-out infinite;
}
@keyframes scrollDrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: linear-gradient(90deg, #b08d37, var(--gold) 50%, #b08d37);
  transform: rotate(-1.6deg) scale(1.04);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 4;
  box-shadow: 0 24px 60px -24px rgba(233, 196, 106, 0.6);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #2a1f03;
  white-space: nowrap;
  cursor: pointer;
}
.marquee-track i {
  font-style: normal;
  font-size: 15px;
  color: #2a1f03;
  opacity: 0.6;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SIGNS GRID
   ============================================================ */
.signs { position: relative; }
.rings-deco {
  position: absolute;
  top: 50%; left: 50%;
  width: 760px; height: 760px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed var(--line);
  opacity: 0.5;
  pointer-events: none;
}
.rings-deco::before {
  content: "";
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
}

.sign-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sign-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 30px 16px 24px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.sign-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 70% at 50% 0%, rgba(233, 196, 106, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.sign-card:hover {
  transform: translateY(-8px);
  border-color: rgba(233, 196, 106, 0.45);
  box-shadow: var(--shadow);
}
.sign-card:hover::before { opacity: 1; }
.sign-card.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 24px 60px -20px rgba(233,196,106,.5);
}
.sign-glyph {
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(233, 196, 106, 0.5);
  transition: transform 0.5s var(--ease);
}
.sign-card:hover .sign-glyph { transform: translateY(-4px) scale(1.08); }
.sign-name { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.sign-dates { font-size: 12.5px; color: var(--muted); }
.sign-el {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.sign-el.fire { color: #ffb07b; border-color: rgba(255, 122, 90, 0.4); }
.sign-el.earth { color: #cfe3b0; border-color: rgba(207, 227, 176, 0.35); }
.sign-el.air { color: #8fd8e8; border-color: rgba(143, 216, 232, 0.35); }
.sign-el.water { color: #9db4ff; border-color: rgba(157, 180, 255, 0.35); }

/* ============================================================
   FORECAST
   ============================================================ */
.forecast-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: stretch;
}
.forecast-pick {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  padding: 30px;
}
.f-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.f-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.f-glyph { font-size: 40px; color: var(--gold); }
.f-select-wrap select {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 44px 14px 16px;
  font-family: var(--font-display);
  font-size: 22px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.f-select-wrap select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 196, 106, 0.15);
}
.f-caret {
  position: absolute;
  right: 20px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
}
.f-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.f-el { color: var(--gold-2); }

.f-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  margin-top: 28px;
}
.f-tab {
  padding: 11px 8px;
  border-radius: 10px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.35s, color 0.35s;
}
.f-tab.is-active { background: linear-gradient(135deg, #f6d489, var(--gold)); color: #221803; }

.f-lucky {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
.f-lucky > div {
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fl-label { font-size: 11px; color: var(--muted-2); letter-spacing: 0.04em; }
.fl-val { font-family: var(--font-display); font-size: 22px; color: var(--gold); }

.forecast-read {
  position: relative;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(60, 60, 140, 0.18), transparent 55%),
    var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.forecast-read::before {
  content: "☽";
  position: absolute;
  right: -30px;
  top: -36px;
  font-size: 220px;
  color: rgba(233, 196, 106, 0.05);
  line-height: 1;
}
.fr-head { display: flex; align-items: baseline; gap: 14px; }
.fr-kicker { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--teal); }
.fr-title { font-family: var(--font-display); font-size: 34px; font-weight: 500; }
.fr-text {
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fr-text.show { opacity: 1; transform: none; }
.fr-line {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 30px 0 22px;
  opacity: 0.5;
}
.fr-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--gold-2);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.fr-quote.show { opacity: 1; }

/* ============================================================
   MY CARD
   ============================================================ */
.card-panel {
  background:
    radial-gradient(100% 120% at 85% 0%, rgba(60, 230, 192, 0.08), transparent 55%),
    radial-gradient(100% 120% at 10% 100%, rgba(233, 196, 106, 0.1), transparent 55%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.card-panel::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
  background-size: 200% 100%;
  animation: glowLine 8s linear infinite;
}
@keyframes glowLine { to { background-position: 200% 0; } }

.birth-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.bf-field { display: grid; gap: 10px; }
.bf-field label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.bf-field select {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  color: var(--ink);
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.bf-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(60, 230, 192, 0.15);
}

.birth-result {
  margin-top: 34px;
  border-top: 1px solid var(--line-soft);
  padding-top: 30px;
  animation: rise 0.7s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.br-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.br-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 18px;
}
.br-glyph { font-size: 34px; color: var(--gold); width: 44px; height: 44px; display: grid; place-items: center; background: rgba(233,196,106,.12); border-radius: 12px; }
.br-label { display: block; font-size: 11px; color: var(--muted-2); letter-spacing: 0.07em; text-transform: uppercase; }
.br-value { font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.br-go { margin-top: 22px; }

/* ============================================================
   EASTERN
   ============================================================ */
.east-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.east-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 26px 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
  overflow: hidden;
}
.east-card:hover { transform: translateY(-8px); border-color: rgba(60, 230, 192, 0.4); box-shadow: var(--shadow); }
.east-card.is-active { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 24px 60px -20px rgba(60,230,192,.5); }
.east-emoji { font-size: 42px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.4)); transition: transform 0.5s var(--ease); }
.east-card:hover .east-emoji { transform: translateY(-4px) scale(1.1); }
.east-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.east-years { font-size: 12.5px; color: var(--muted); font-family: var(--font-label); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.east-el { font-size: 12px; color: var(--teal); font-weight: 600; }

/* ============================================================
   LOVE
   ============================================================ */
.love-panel {
  max-width: 760px;
  margin-inline: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(26px, 5vw, 48px);
  text-align: center;
}
.love-picks { display: flex; align-items: flex-end; justify-content: center; gap: 18px; flex-wrap: wrap; }
.lp-select { display: grid; gap: 10px; text-align: left; flex: 1; min-width: 180px; }
.lp-select label { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.lp-select select {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s;
}
.lp-select select:focus { outline: none; border-color: var(--gold); }
.lp-heart { font-size: 30px; color: var(--danger); padding-bottom: 15px; animation: heartBeat 1.6s ease-in-out infinite; }
@keyframes heartBeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.2); } 24% { transform: scale(1); } 36% { transform: scale(1.15); } 48% { transform: scale(1); } }

.love-meter { margin: 40px auto 22px; max-width: 440px; }
.lm-bg {
  height: 16px;
  border-radius: 999px;
  background: var(--panel-3);
  border: 1px solid var(--line);
  overflow: hidden;
}
.lm-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--danger), #ffb07b, var(--gold), var(--teal));
  background-size: 200% 100%;
  transition: width 0.9s var(--ease);
  animation: glowLine 4s linear infinite;
}
.lm-num { display: block; margin-top: 14px; font-family: var(--font-label); font-size: 34px; color: var(--gold); }
.lm-text { color: var(--muted); font-size: 16px; }
.lm-tip {
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--gold-2);
  min-height: 1.5em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 60px 0 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; margin-top: 18px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--muted); font-size: 14.5px; transition: color 0.3s, padding-left 0.3s; }
.footer-nav a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 14px; }
.footer-contact a { color: var(--gold); font-weight: 600; transition: color 0.3s; }
.footer-contact a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  color: var(--muted-2);
  font-size: 13px;
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 2500;
  background: linear-gradient(135deg, #f6d489, var(--gold));
  color: #221803;
  font-weight: 600;
  font-size: 14.5px;
  padding: 16px 24px;
  border-radius: 14px;
  box-shadow: 0 20px 50px -12px rgba(233, 196, 106, 0.7);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  max-width: 340px;
}
.toast.show { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .sign-grid, .east-grid { grid-template-columns: repeat(3, 1fr); }
  .forecast-layout { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy-right { display: none; }
  .zodiac-wheel { opacity: 0.25; transform: translateY(-50%) scale(0.8); }
  .birth-form { grid-template-columns: 1fr 1fr; }
  .bf-submit { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .site-nav, #headerCta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 140px 0 90px; }
  .hero-title { font-size: clamp(40px, 9vw, 60px); }
  .hero-cta { justify-content: center; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-stats { margin-inline: auto; }
  .hero-stage { opacity: 0.6; }
  .section { padding: 90px 0; }
  .br-grid { grid-template-columns: 1fr 1fr; }
  .sign-grid, .east-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .sign-grid, .east-grid { grid-template-columns: 1fr 1fr; padding: 0 6px; }
  .sign-card, .east-card { padding: 20px 12px 18px; }
  .sign-glyph { font-size: 32px; }
  .birth-form { grid-template-columns: 1fr; }
  .br-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .f-lucky { grid-template-columns: 1fr; }
  .love-picks { flex-direction: column; align-items: stretch; }
  .lp-heart { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}