:root {
  --bg: #07040f;
  --ink: #f6f1ea;
  --muted: rgba(246, 241, 234, 0.68);
  --gold: #e8c47c;
  --gold-2: #f3ddb0;
  --violet: #9b6dff;
  --rose: #ff8ad4;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #090612;
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 18% -8%, rgba(118, 72, 196, 0.32), transparent 58%),
    radial-gradient(ellipse 55% 42% at 92% 12%, rgba(176, 78, 140, 0.2), transparent 52%),
    radial-gradient(ellipse 70% 48% at 48% 108%, rgba(58, 42, 128, 0.28), transparent 56%),
    radial-gradient(ellipse 40% 28% at 62% 38%, rgba(232, 196, 124, 0.07), transparent 70%),
    linear-gradient(180deg, #0d091c 0%, #110a1f 42%, #0a0714 100%);
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  animation: drift 28s ease-in-out infinite;
}

@media (max-width: 900px) {
  .orb {
    filter: blur(48px);
    opacity: 0.55;
    animation: none;
  }
}

.orb-a {
  width: 48vw;
  height: 48vw;
  left: -14vw;
  top: -12vw;
  background: radial-gradient(circle, rgba(132, 88, 220, 0.38), transparent 68%);
}

.orb-b {
  width: 36vw;
  height: 36vw;
  right: -10vw;
  top: 16vh;
  background: radial-gradient(circle, rgba(210, 110, 168, 0.22), transparent 70%);
  animation-delay: -9s;
}

.orb-c {
  width: 44vw;
  height: 44vw;
  left: 28vw;
  bottom: -20vw;
  background: radial-gradient(circle, rgba(232, 196, 124, 0.12), transparent 72%);
  animation-delay: -16s;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.glass-inset {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

header,
main,
footer {
  position: relative;
  z-index: 2;
}

.nav {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 16px 12px 18px;
  border-radius: 999px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.logo-mark {
  color: var(--gold);
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.nav-cta,
.btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #1a1224;
  font-weight: 700;
}

.hero,
.signs,
.forecast,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 56px 0 16px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.94;
}

h1 em {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, #fff, #f3ddb0);
  color: #1a1224;
  box-shadow: 0 10px 30px rgba(232, 196, 124, 0.28);
}

.signs {
  padding: 4px 0 28px;
}

.section-kicker {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head {
  max-width: 520px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-head h2,
.forecast-card h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.section-head p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.signs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  perspective: 1100px;
}

.sign-card {
  position: relative;
  padding: 18px 14px 14px;
  border-radius: 22px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.sign-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 196, 124, 0.18), transparent 70%);
  pointer-events: none;
}

.sign-card:hover,
.sign-card.is-active {
  transform: translateY(-6px);
  border-color: rgba(232, 196, 124, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
}

.sign-card.is-active {
  box-shadow: 0 20px 50px rgba(155, 109, 255, 0.22);
}

.sign-glyph {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 18px;
}

.sign-card h3 {
  font-size: 28px;
}

.sign-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.forecast {
  padding: 12px 0 80px;
}

.forecast-greeting {
  margin-top: 18px;
  color: var(--gold-2);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.forecast-card {
  padding: 32px;
  border-radius: 36px;
  animation: rise 0.7s ease both;
}

.forecast-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.forecast-sign {
  display: flex;
  gap: 16px;
  align-items: center;
}

.forecast-glyph {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  font-size: 36px;
}

.forecast-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  font-size: 13px;
}

.forecast-text {
  margin: 24px 0;
  font-size: 20px;
  line-height: 1.7;
  max-width: 820px;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini {
  padding: 18px;
}

.mini h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.mini p {
  color: var(--muted);
  line-height: 1.55;
}

.lucky {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.lucky > div {
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(232, 196, 124, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(232, 196, 124, 0.2);
}

.lucky span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.lucky strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 22px;
  border-radius: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-contacts {
  display: grid;
  gap: 6px;
  text-align: right;
}

.footer-contacts a {
  color: var(--gold-2);
  text-decoration: none;
}

.footer-contacts a:hover {
  color: var(--ink);
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, -3vh, 0) scale(1.08); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .signs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .sign-glyph {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .sign-card h3 {
    font-size: 18px;
  }
  .sign-card p {
    font-size: 11px;
    line-height: 1.3;
  }
  .forecast-grid,
  .lucky,
  .footer {
    grid-template-columns: 1fr;
  }
  .footer {
    flex-direction: column;
  }
  .footer-contacts {
    text-align: left;
  }
  .hero {
    padding: 36px 0 10px;
  }
  .glass {
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
  }
}
