/* ============================================================
   Astrology — style.css  (Fixed + Upgraded)
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&amp;family=Outfit:wght@200;300;400;500;600&amp;family=Cinzel:wght@400;500;600&amp;display=swap");

:root {
  --bg-void: #03020c;
  --bg-deep: #06041a;
  --bg-mid: #0a0822;
  --bg-glass: rgba(255, 255, 255, 0.042);
  --bg-glass-hover: rgba(255, 255, 255, 0.075);

  --gold: #d4a843;
  --gold-lt: #f2cc72;
  --gold-dk: #9a7420;
  --violet: #7c52ff;
  --violet-lt: #a87fff;
  --violet-dk: #4e28cc;
  --teal: #00d4c8;
  --rose: #ff4fa7;
  --ice: #b8e4ff;

  --accent-gold: var(--gold);
  --accent-violet: var(--violet);
  --accent-cyan: var(--teal);
  --accent-rose: var(--rose);
  --accent-aurora: var(--teal);

  --glow-violet: 0 0 48px rgba(124, 82, 255, 0.45);
  --glow-gold: 0 0 36px rgba(212, 168, 67, 0.4);
  --glow-cyan: 0 0 40px rgba(0, 212, 200, 0.35);

  --text-primary: #f2ecff;
  --text-secondary: rgba(242, 236, 255, 0.9);
  --text-muted: rgba(242, 236, 255, 0.85);

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(124, 82, 255, 0.28);
  --border-gold: rgba(212, 168, 67, 0.22);

  --font-display: "Cinzel", serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-body: "Outfit", sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
input,
select,
textarea {
  font-family: inherit;
}

/* ── GLOBAL PARTICLE CANVAS ── fixed layer behind everything */
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* All content above the canvas */
.navbar,
section,
footer,
.cosmic-divider {
  position: relative;
  z-index: 1;
}
.navbar {
  z-index: 1000;
}
#cursor-dot,
#cursor-ring {
  z-index: 9999;
}
#page-transition {
  z-index: 9000;
  position: fixed;
}

/* Hero: keep its own starfield too */
#hero {
  position: relative;
}
#starfield {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.hero-parallax-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* ── Cursor ── */
#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s var(--ease-smooth),
    height 0.25s,
    background 0.25s;
  will-change: transform;
}
#cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(0, 212, 200, 0.42);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.4s var(--ease-smooth),
    height 0.4s,
    border-color 0.3s;
  will-change: transform;
}
body.cursor-hover #cursor-dot {
  width: 14px;
  height: 14px;
  background: var(--gold);
}
body.cursor-hover #cursor-ring {
  width: 58px;
  height: 58px;
  border-color: rgba(212, 168, 67, 0.55);
}

/* Custom cursor only on mouse/trackpad desktops */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
  button {
    cursor: none;
  }
}
@media (hover: none), (pointer: coarse) {
  #cursor-dot,
  #cursor-ring {
    display: none !important;
  }
  body,
  button,
  a,
  input,
  select,
  textarea,
  label,
  .nav-hamburger,
  .h-tab,
  .btn {
    cursor: auto;
  }
  a,
  button,
  .btn,
  .nav-hamburger,
  .h-tab,
  [role="button"],
  label[for] {
    cursor: pointer;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--violet), var(--gold));
  border-radius: 99px;
}

/* ── Utilities ── */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.gradient-text {
  background: linear-gradient(
    125deg,
    var(--gold) 0%,
    var(--violet-lt) 45%,
    var(--teal) 100%
  );
  background-size: 200% 200%;
  animation: grad-pan 8s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes grad-pan {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.gradient-text-warm {
  background: linear-gradient(
    125deg,
    #fff5d7 0%,
    var(--gold) 55%,
    #e8922a 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--bg-glass);
  /* backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%); */
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition:
    background 0.35s var(--ease-smooth),
    border-color 0.35s,
    transform 0.35s,
    box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}
.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    var(--glow-violet);
}
.glass-card:hover::before {
  opacity: 1;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
  opacity: 0.8;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.02em;
}
.section-subheading {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-dk));
  color: #fff;
  box-shadow:
    0 8px 32px rgba(124, 82, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 52px rgba(124, 82, 255, 0.6);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
    background: linear-gradient(135deg, var(--violet), var(--violet-dk));
  color: #fff;
  font-weight: 600;
  box-shadow:
    0 8px 32px rgba(124, 82, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 32px rgba(124, 82, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);}

.btn-ghost {
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  justify-content: center;
}
.btn-ghost:hover {
  border-color: var(--teal);
  box-shadow: 0 0 24px rgba(0, 212, 200, 0.28);
  transform: translateY(-2px);
  color: var(--teal);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition:
    background 0.5s,
    box-shadow 0.5s;
}
.navbar.scrolled {
  background: rgba(3, 2, 12, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 1px 0 var(--border-glass);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--gold), var(--violet-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.nav-logo img {
  display: block;
  height: 64px;
  width: auto;
  -webkit-text-fill-color: initial;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}
@media (min-width: 1440px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-smooth);
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
  flex-shrink: 0;
}
.nav-cta {
  margin-left: 0;
}
.nav-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s;
  flex-shrink: 0;
  box-sizing: border-box;
}
.nav-links a.nav-social {
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-secondary);
}
.nav-links a.nav-social::after {
  display: none;
}
.nav-social:hover,
.nav-links a.nav-social:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.35s var(--ease-smooth);
}
/* Smoke Canvas */
.rock-podcast-smoke-canvas {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.07;
    z-index: 9999;
    pointer-events: none;
}
/* Smoke Canvas */
/* ── Hero ── */
#hero {
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-bottom: 48px;
}
.planet {
  position: absolute;
  border-radius: 50%;
  animation: floatPlanet 8s ease-in-out infinite;
}
.planet-1 {
    width: 80px;
    height: 80px;
    top: 23%;
    right: 10%;
    background: radial-gradient(circle at 35% 35%, #9c5ce8, #18003a);
    box-shadow: 0 0 70px rgba(156, 92, 232, 0.45),
    inset -20px -10px 40px rgba(0, 0, 0, 0.6);
    animation-delay: 0s;
}
.planet-4 {
    width: 52px;
  height: 52px;
  bottom: 18%;
  right: 8%;
  background: radial-gradient(circle at 40% 30%, var(--rose), #fd3096);
  box-shadow:
    0 0 44px rgba(255, 79, 67, 0.4),
    inset -10px -5px 20px rgba(0, 0, 0, 0.5);
  animation-delay: -3s;
}
.planet-2 {
  width: 80px;
  height: 80px;
  bottom: 18%;
  left: 8%;
  background: radial-gradient(circle at 40% 30%, var(--teal), #003344);
  box-shadow:
    0 0 44px rgba(0, 212, 200, 0.4),
    inset -10px -5px 20px rgba(0, 0, 0, 0.5);
  animation-delay: -3s;
}
.planet-3 {
  width: 52px;
  height: 52px;
  top: 30%;
  left: 15%;
  background: radial-gradient(circle at 35% 30%, var(--gold), #3a1a00);
  box-shadow: 0 0 32px rgba(212, 168, 67, 0.5);
  animation-delay: -5s;
}
.ring-outer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(70deg);
  width: 500px;
  height: 500px;
  border: 1px solid rgba(124, 82, 255, 0.1);
  border-radius: 50%;
  animation: rotateSlow 60s linear infinite;
}
.ring-mid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(70deg);
  width: 340px;
  height: 340px;
  border: 1px solid rgba(212, 168, 67, 0.09);
  border-radius: 50%;
  animation: rotateSlow 40s linear infinite reverse;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  width: 100%;
  padding: 16px 20px 24px;
  box-sizing: border-box;
}
.hero-kundli-wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 40px;
  text-align: left;
  position: relative;
  z-index: 5;
  pointer-events: auto;
  min-width: 0;
}

/* Phones / tablets: start below fixed nav; allow page scroll (no clip) */
@media (max-width: 900px) {
  #hero {
    align-items: flex-start;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 12px);
    padding-bottom: 32px;
  }
  .hero-kundli-wrap {
    margin-bottom: 28px;
  }
  .hero-scroll-hint {
    display: none;
  }
}

/* Short viewports + phone landscape: form must stay in view */
@media (max-height: 700px), (orientation: landscape) and (max-height: 520px) {
  #hero {
    align-items: flex-start;
    height: auto;
    min-height: 0;
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 8px);
    padding-bottom: 24px;
  }
  .hero-content {
    padding: 8px 16px 16px;
  }
  .hero-eyebrow-wrap {
    margin-bottom: 12px;
  }
  .hero-kundli-wrap {
    margin-bottom: 16px;
  }
  .hero-kundli-wrap .hero-kundli-form {
    padding: 16px 14px;
  }
  .hero-kundli-wrap .form-group {
    margin-bottom: 10px;
  }
  .hero-stats-bar {
    margin-top: 16px;
    padding: 10px 14px;
  }
  .hero-scroll-hint {
    display: none;
  }
}
.hero-kundli-wrap .hero-kundli-form {
  padding: 28px 24px;
  background: rgba(13, 11, 30, 0.72);
  backdrop-filter: blur(12px);
  min-width: 0;
  max-width: 100%;
}
.hero-kundli-wrap .form-group {
  margin-bottom: 16px;
}
.hero-kundli-wrap .form-input,
.hero-kundli-wrap .form-select {
  padding: 12px 16px;
}
.hero-kundli-wrap .btn {
  transform: none !important;
  cursor: pointer;
}
.hero-kundli-form.glass-card:hover,
.kundli-form.glass-card:hover {
  transform: none;
}

/* Kundli loaders (hero form + /kundli page) */
.kundli-loader-host {
  position: relative;
}
.kundli-loader-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 5, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: inherit;
}
.kundli-loader-host.is-loading > .kundli-loader-overlay,
.kundli-loader-overlay.is-visible {
  display: flex;
}
.kundli-loader-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-width: 260px;
}
.kundli-loader-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--gold);
  animation: kundliSpin 0.85s linear infinite;
}
.kundli-loader-text {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
@keyframes kundliSpin {
  to { transform: rotate(360deg); }
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  opacity: 0;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 48px;
  opacity: 0;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
/* common icon style */
.icon {
  position: absolute;
  pointer-events: none;
}

.icon img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

/* ───────── ICON 1 (slow float + rotate) ───────── */
.icon-1 {
  top: 15%;
  left: 5%;
  animation: float1 6s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(8deg);
  }
}

/* ───────── ICON 2 (side wave motion) ───────── */
.icon-2 {
  top: 15%;
  right: 5%;
  animation: float2 8s ease-in-out infinite;
}

@keyframes float2 {
  0%, 100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(-25px);
  }
}

/* ───────── ICON 3 (diagonal + scale) ───────── */
.icon-3 {
  bottom: 10%;
  right: 15%;
  animation: float3 7s ease-in-out infinite;
}
.icon-4{
    bottom: 10%;
  left: 15%;
  animation: float3 7s ease-in-out infinite;
}.icon-4 img{
  width: 120px;
  height: 120px;
}
@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -20px) scale(1.1);
  }
}
/* ── Sections ── */
.section {
  padding: 80px 0;
}
.section-header {
  margin-bottom: 72px;
  text-align: center;
}
.section-header .section-label {
  margin-bottom: 16px;
  justify-content: center;
}
.section-header .section-heading {
  margin-bottom: 16px;
}

/* ── Features ── */
#features {
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 36px 32px;
  transition:
    transform 0.4s var(--ease-smooth),
    box-shadow 0.4s;
  cursor: default;
}
.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: 2px 2px 0 0;
}
.feature-card:hover::after {
  opacity: 1;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
}
.feature-icon {
  /* width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  background: linear-gradient(
    135deg,
    rgba(124, 82, 255, 0.18),
    rgba(0, 212, 200, 0.08)
  );
  border: 1px solid rgba(124, 82, 255, 0.22); */
    margin-bottom: 24px;
  width: fit-content;
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s;
}
.tarot-card img{
  width: 100px;
  height: 100px;
}
.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-5deg);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ── Zodiac ── */
#zodiac {
  position: relative;
  overflow: hidden;
}
.zodiac-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.zodiac-wheel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
#zodiac-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-width: 480px;
  filter: drop-shadow(0 0 60px rgba(124, 82, 255, 0.28));
}
.zodiac-info-panel {
  padding: 48px 40px;
}
.zodiac-sign-display {
  margin-top: 32px;
}
.sign-symbol {
  font-size: 5rem;
  margin-bottom: 12px;
  text-shadow: 0 0 40px rgba(212, 168, 67, 0.6);
  transition: all 0.4s var(--ease-smooth);
}
.zp-sign-emoji img{
  width:70px;
  height: 70px;
}
.sign-name {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 8px;
}
.sign-dates {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.sign-desc {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 28px;
}
.sign-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trait-pill {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(124, 82, 255, 0.12);
  border: 1px solid rgba(124, 82, 255, 0.28);
  color: var(--violet-lt);
}

/* ── Horoscope ── */
#horoscope {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(124, 82, 255, 0.04) 50%,
    transparent 100%
  );
}
.horoscope-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 6px;
  width: fit-content;
}
.h-tab {
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.3s;
  cursor: none;
}
.h-tab.active {
  background: linear-gradient(135deg, var(--violet), var(--violet-dk));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 82, 255, 0.4);
}
.h-tab:not(.active):hover {
  color: var(--text-primary);
}
.horoscope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.horoscope-carousel {
  --horo-per-page: 4;
  --horo-gap: 20px;
  position: relative;
}
.horoscope-carousel-shell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.horoscope-carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
  container-name: horo-carousel;
}
.horoscope-carousel-track {
  display: flex;
  align-items: flex-start;
  gap: var(--horo-gap);
  will-change: transform;
  transition: transform 0.55s var(--ease-smooth);
}
.horoscope-carousel .horo-card {
  flex: 0 0 calc((100cqi - (var(--horo-per-page) - 1) * var(--horo-gap)) / var(--horo-per-page));
  width: calc((100cqi - (var(--horo-per-page) - 1) * var(--horo-gap)) / var(--horo-per-page));
  max-width: calc((100cqi - (var(--horo-per-page) - 1) * var(--horo-gap)) / var(--horo-per-page));
  min-width: 0;
  box-sizing: border-box;
  align-self: flex-start;
  height: auto;
}
/* Preferred: first slide = your sign full width; next slides = others 4-up. */
.horoscope-carousel.is-preferred-mode.is-preferred-slide .horo-card.is-preferred-sign {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  border-color: rgba(212, 168, 67, 0.35);
  box-shadow: 0 0 0 1px rgba(212, 168, 67, 0.18), 0 18px 48px rgba(0, 0, 0, 0.35);
}
.horoscope-carousel.is-preferred-mode.is-preferred-slide .horo-card.is-preferred-sign .horo-text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  max-height: none;
}
.horoscope-carousel.is-preferred-mode.is-preferred-slide .horo-card.is-preferred-sign .horo-emoji,
.horoscope-carousel.is-preferred-mode.is-preferred-slide .horo-card.is-preferred-sign .zodiac-glyph-img {
  overflow: visible;
}
/* Fully remove preferred from flex flow on "others" pages — width:0 still left a gap and clipped the 4th card. */
.horoscope-carousel.is-preferred-mode.is-others-slide .horo-card.is-preferred-sign {
  display: none !important;
}
/* On preferred slide, hide others so they don't reserve gap/width in the track. */
.horoscope-carousel.is-preferred-mode.is-preferred-slide .horo-card:not(.is-preferred-sign) {
  display: none !important;
}
.zodiac-unknown-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}
/* `.display:block` on unknown icon must not override HTML [hidden] */
.zodiac-unknown-img[hidden],
img[data-zodiac-chip-placeholder][hidden],
img[data-zodiac-select-placeholder][hidden],
img[data-zodiac-chip-img][hidden],
img[data-zodiac-select-img][hidden] {
  display: none !important;
}
.horoscope-carousel-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 1.55rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s, color 0.25s, opacity 0.25s;
  cursor: pointer;
}
.horoscope-carousel-nav:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
}
.horoscope-carousel-nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.horoscope-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.horoscope-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  transition: width 0.3s, background 0.3s;
  cursor: pointer;
}
.horoscope-carousel-dot.is-active {
  width: 22px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
}
.horo-card {
  padding: 28px 24px;
  transition: all 0.4s var(--ease-smooth);
  cursor: default;
}
a.horo-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.horo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.horo-score-row + .horo-score-row {
  margin-top: 10px;
}
.horo-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.horo-emoji {
  font-size: 2rem;
}
.horo-sign-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.horo-dates {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.horo-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 20px;
}
.horo-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.score-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 60px;
}
.score-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  width: 0;
  transition: width 1.4s var(--ease-smooth);
}

/* ── Tarot ── */
#tarot {
  position: relative;
}
.tarot-deck {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  perspective: 1200px;
}
.tarot-card {
  width: 160px;
  cursor: none;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-smooth);
  position: relative;
}
.tarot-card.flipped {
  transform: rotateY(0deg);
}
.tarot-face,
.tarot-back {
  position: absolute;
  width: 100%;
  border-radius: var(--radius-md);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.tarot-back {
  height: 260px;
  background: linear-gradient(155deg, #160840, #080d38);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transform: rotateY(0deg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}
.tarot-back-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(124, 82, 255, 0.07) 0px,
    rgba(124, 82, 255, 0.07) 1px,
    transparent 1px,
    transparent 12px
  );
}
.tarot-face {
  height: 260px;
  background: linear-gradient(160deg, #120038, #000c2a);
  border: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: rotateY(180deg);
  padding: 20px;
  box-shadow: 0 0 32px rgba(212, 168, 67, 0.22);
}
.tarot-icon {
  font-size: 2.8rem;
}
.tarot-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--gold);
}
.tarot-meaning {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
}
.tarot-prompt {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
}
.tarot-reveal-btn {
  margin: 20px auto 0;
  display: block;
}

/* ── Compatibility ── */
.compat-tool {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
  overflow: visible;
}
.compat-selectors {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}
.compat-select-wrap {
  flex: 1;
  min-width: 180px;
}
.compat-select-wrap label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.compat-select {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  appearance: none;
  cursor: none;
  transition: border-color 0.3s;
  outline: none;
}
.compat-select:focus {
  border-color: var(--violet);
}
option {
  background: #08062a;
}
.compat-divider {
  font-size: 1.6rem;
  color: var(--rose);
  flex-shrink: 0;
}
.compat-result {
  margin-top: 32px;
  display: none;
}
.compat-result.visible {
  display: block;
}
.compat-percentage {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 8px;
}
.compat-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.compat-arc {
  width: 200px;
  height: 100px;
  margin: 0 auto 24px;
  position: relative;
  overflow: hidden;
}
.compat-arc svg {
  width: 100%;
}

/* ── AI Chat ── */
.chat-container {
  max-width: 720px;
  margin: 0 auto;
}
.chat-window {
  height: 420px;
  overflow-y: auto;
  padding: 24px;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  background: rgba(3, 2, 12, 0.65);
  border: 1px solid var(--border-glass);
  scroll-behavior: smooth;
}
.chat-window::-webkit-scrollbar {
  width: 3px;
}
.chat-window::-webkit-scrollbar-thumb {
  background: var(--violet);
  border-radius: 99px;
}
.chat-message {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.chat-message.user {
  flex-direction: row-reverse;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.ai-avatar {
  background: linear-gradient(135deg, var(--violet), #1a0040);
  border: 1px solid var(--violet);
}
.user-avatar {
  background: linear-gradient(135deg, var(--gold), #5c3900);
  border: 1px solid var(--gold);
}
.chat-bubble {
  max-width: 75%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.65;
}
.ai-bubble {
  background: rgba(124, 82, 255, 0.12);
  border: 1px solid rgba(124, 82, 255, 0.22);
  border-bottom-left-radius: 4px;
}
.user-bubble {
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.22);
  border-bottom-right-radius: 4px;
}
.chat-input-row {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
}
.chat-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 4px 8px;
}
.chat-input::placeholder {
  color: var(--text-muted);
}
.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(124, 82, 255, 0.4);
  transition: all 0.3s var(--ease-smooth);
  cursor: none;
}
.chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(124, 82, 255, 0.65);
}

/* ── Booking CTA ── */
#booking-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(124, 82, 255, 0.07) 0%,
    rgba(0, 212, 200, 0.04) 100%
  );
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}
.booking-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(124, 82, 255, 0.13) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.booking-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.booking-inner .section-heading {
  margin-bottom: 20px;
}
.booking-inner .section-subheading {
  margin-bottom: 48px;
}

/* ── Footer ── */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo {
  display: inline-block;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}
.social-icon:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 82, 255, 0.4);
}

/* ── Page hero ── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(124, 82, 255, 0.07) 0%,
    transparent 100%
  );
}
.page-hero .section-label {
  justify-content: center;
  margin-bottom: 20px;
}
.page-hero .section-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
@media (max-width: 900px) {
  .page-hero {
    padding: 160px 0 20px;
  }
  .page-hero + .section {
    padding-top: 20px;
  }
}

/* ── CMS / legal static pages ── */
.cms-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cms-content a:hover {
  color: var(--gold);
}
.cms-content ul,
.cms-content ol {
  margin: 0 0 1.5em 1.25rem;
}
.cms-content li {
  margin-bottom: 0.45rem;
}
.post-layout.cms-layout .container {
  display: block;
  max-width: 820px;
  margin: 0 auto;
}
.cms-hero {
  min-height: 420px;
}

/* ── FAQ accordion ── */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 72px 0 100px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md, 14px);
  background: var(--bg-glass);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.is-open {
  border-color: rgba(168, 127, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  line-height: 1.45;
}
.faq-question:hover {
  color: var(--gold);
}
.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-icon::before {
  width: 10px;
  height: 1.5px;
}
.faq-icon::after {
  width: 1.5px;
  height: 10px;
  transition: transform 0.25s, opacity 0.25s;
}
.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}
.faq-answer {
  border-top: 1px solid var(--border-glass);
}
.faq-answer-inner {
  padding: 4px 22px 20px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.faq-answer-inner a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-answer-inner a:hover {
  color: var(--gold);
}

/* ── Cosmic Divider ── */
.cosmic-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--violet) 25%,
    var(--teal) 50%,
    var(--gold) 75%,
    transparent 100%
  );
  opacity: 0.25;
}

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL — FIXED
   Bug: JS was adding .revealed but old CSS had wrong transition.
   Fix: Explicit opacity/transform for both states.
   ════════════════════════════════════════════════════════════ */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.85s var(--ease-smooth),
    transform 0.85s var(--ease-smooth);
}
.reveal {
  transform: translateY(40px);
}
.reveal-left {
  transform: translateX(-40px);
}
.reveal-right {
  transform: translateX(40px);
}

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1 !important;
  transform: none !important;
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-smooth),
    transform 0.7s var(--ease-smooth);
}
[data-stagger] > *.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav-logo img {
    height: 32px;
  }
  #nav-zodiac-chip .nav-zodiac-chip-text,
  #nav-zodiac-chip .nav-zodiac-chip-caret {
    display: none;
  }
  #nav-zodiac-chip .nav-zodiac-chip-trigger {
    max-width: none;
    width: auto;
    padding: 4px;
    gap: 0;
  }
  .zodiac-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  #zodiac-canvas {
    max-width: 380px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 1439px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .horoscope-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .horoscope-carousel {
    --horo-per-page: 2;
  }
  .horoscope-carousel-shell {
    gap: 8px;
  }
  .horoscope-carousel-nav {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .compat-selectors {
    flex-direction: column;
  }
  .zodiac-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .zodiac-info-panel {
    padding: 28px 20px;
  }
}
@media (max-width: 480px) {
  :root {
    --nav-h: 64px;
  }
  .horoscope-grid {
    grid-template-columns: 1fr;
  }
  .horoscope-carousel {
    --horo-per-page: 1;
  }
  .horoscope-carousel-nav {
    width: 34px;
    height: 34px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .zodiac-layout {
    gap: 24px;
  }
  .zodiac-wheel-wrap {
    max-width: 100%;
  }
  #zodiac-canvas {
    max-width: min(300px, 100%);
  }
  .tarot-deck {
    gap: 12px;
  }
  .tarot-card {
    width: 130px;
  }
  .tarot-back,
  .tarot-face {
    height: 210px;
  }
}

/* ════════════════════════════════════════════════════════════
   TAROT SECTION — FIXED (no overlap, proper flip, clear layout)
   ════════════════════════════════════════════════════════════ */

/* Position labels row */
.tarot-positions {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
}
.tarot-positions span {
  max-width: 240px;
  width: 100%;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Deck row — flex, no overlap */
.tarot-deck {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end; /* cards align at bottom */
  flex-wrap: nowrap;
  padding-bottom: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Base card — fixed dimensions, NO position:relative overlap */
.tarot-card {
  max-width: 220px;
  width: 100%;
  height: 260px;
  flex-shrink: 0;
  cursor: none;
  perspective: 900px;
  /* Remove float-card animation from tarot cards */
}
/* Center card is taller */
.tarot-card--center {
  width: 200px;
  height: 285px;
}

/* Inner flip container */
.tarot-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.tarot-card.flipped .tarot-inner {
  transform: rotateY(180deg);
}
.tarot-card:hover:not(.flipped) .tarot-inner {
  transform: translateY(-8px) rotateY(8deg);
}

/* Back face */
.tarot-back {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(160deg, #18094e 0%, #0b1245 50%, #050830 100%);
  border: 1px solid rgba(124, 82, 255, 0.25);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tarot-back-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(124, 82, 255, 0.07) 0px,
    rgba(124, 82, 255, 0.07) 1px,
    transparent 1px,
    transparent 14px
  );
}
/* Decorative inner border on back */
.tarot-back::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 10px;
  pointer-events: none;
}
.tarot-back-icon {
  font-size: 2.6rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 16px rgba(124, 82, 255, 0.7));
}

/* Front face */
.tarot-face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(165deg, #120040 0%, #080f38 60%, #020820 100%);
  border: 1px solid var(--border-gold);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px;
  box-shadow:none;
}
.tarot-face-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(212, 168, 67, 1);
  margin-bottom: -4px;
}
.tarot-icon {
  font-size: 2.6rem;
  filter: drop-shadow(0 0 10px rgba(212, 168, 67, 0.5));
}
.tarot-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-align: center;
}
.tarot-meaning {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

/* Float animation only on unflipped cards */
.tarot-card:not(.flipped) {
  animation: cardFloat 6s ease-in-out infinite;
}
.tarot-card:nth-child(1):not(.flipped) {
  animation-delay: 0s;
}
.tarot-card:nth-child(2):not(.flipped) {
  animation-delay: -1.2s;
}
.tarot-card:nth-child(3):not(.flipped) {
  animation-delay: -2.4s;
}
.tarot-card:nth-child(4):not(.flipped) {
  animation-delay: -0.6s;
}
.tarot-card:nth-child(5):not(.flipped) {
  animation-delay: -3s;
}

/* Footer — prompt + buttons */
.tarot-footer {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.tarot-prompt {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-secondary);
}
.tarot-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════
   COMPATIBILITY — FIXED (full-width, dropdown icons, result panel)
   ════════════════════════════════════════════════════════════ */

.compat-tool {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  overflow: visible;
}

#compatibility {
  z-index: 5;
}

.compat-selectors {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: end;
  width: 100%;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.compat-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.compat-select-wrap:has(.zodiac-chip-select.is-open) {
  z-index: 30;
}
.compat-select-wrap label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* Select wrapper with icon */
.compat-select-inner {
  position: relative;
  display: flex;
  align-items: center;
}
.compat-select-icon {
  position: absolute;
  left: 16px;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 1;
  color: var(--gold);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.compat-select {
  width: 100%;
  padding: 14px 20px 14px 46px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  appearance: none;
  cursor: none;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='rgba(242,236,255,0.35)' stroke-width='1.5' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.compat-select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 82, 255, 0.15);
  background-color: rgba(124, 82, 255, 0.06);
}
.compat-select:focus + .compat-select-icon,
.compat-select-inner:focus-within .compat-select-icon {
  opacity: 1;
}
option {
  background: #08062a;
}

/* Heart divider */
.compat-heart-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
}
.compat-heart-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 79, 167, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 79, 167, 0.08);
  box-shadow: 0 0 20px rgba(255, 79, 167, 0.2);
  animation: pulseGlow 3s ease-in-out infinite;
  --glow-color: rgba(255, 79, 167, 0.3);
}
.compat-divider {
  font-size: 1.3rem;
  color: var(--rose);
  filter: drop-shadow(0 0 8px var(--rose));
  flex-shrink: 0;
}

/* CTA button */
.compat-cta {
  margin: 0 auto;
  display: block;
  min-width: 280px;
}

/* Result panel */
.compat-result {
  width: 100%;
  margin-top: 40px;
  display: none;
  animation: fadeInUp 0.5s var(--ease-smooth);
}
.compat-result.visible {
  display: block;
}

.compat-result-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

/* Score ring */
.compat-score-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}
.compat-ring-svg {
  width: 100%;
  height: 100%;
}
.compat-score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.compat-percentage {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}
.compat-score-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Stats side */
.compat-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compat-verdict {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.compat-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cbar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cbar-row span {
  width: 70px;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.cbar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}
.cbar-fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Responsive */
@media (max-width: 768px) {
  .tarot-positions span {
    width: 130px;
  }
  .tarot-card {
    width: 130px;
    height: 210px;
  }
  .tarot-card--center {
    width: 145px;
    height: 230px;
  }
  .compat-tool {
    padding: 36px 24px;
  }
  .compat-selectors {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: stretch;
  }
  .compat-heart-wrap {
    padding-bottom: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .compat-result-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
  }
  .compat-score-wrap {
    width: 140px;
    height: 140px;
  }
}
@media (max-width: 480px) {
  .tarot-deck {
    gap: 10px;
  }
  .tarot-card {
    width: 110px;
    height: 180px;
  }
  .tarot-card--center {
    width: 124px;
    height: 200px;
  }
  .tarot-positions {
    display: none;
  }
  .compat-tool {
    padding: 28px 16px;
  }
}

/* ════════════════════════════════════════════════════════════
   HERO — Modern Upgrades
   ════════════════════════════════════════════════════════════ */

/* Grid overlay for modern depth */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(124, 82, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 82, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(
    ellipse 80% 70% at 50% 50%,
    black 10%,
    transparent 80%
  );
  pointer-events: none;
}

/* Vignette */
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    transparent 55%,
    rgba(3, 2, 12, 0.7) 100%
  );
  pointer-events: none;
}

/* Eyebrow pill */
.hero-eyebrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-eyebrow-dot {
  display: none;
}
.hero-eyebrow-dot:last-child {
  animation-delay: 1s;
}
@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0 !important;
  opacity: 1 !important; /* override hero-eyebrow opacity:0 for pill version */
}

/* Hero title line 2 — white/light, slightly lighter weight */
.hero-line-2 {
  color: rgba(242, 236, 255, 0.92);
  font-weight: 400;
}

/* Stats bar */
.hero-stats-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 40px;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.042);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 24px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.04em;
}
.hero-stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .hero-stats-bar {
    flex-wrap: wrap;
    border-radius: 16px;
    gap: 12px;
    padding: 14px 20px;
  }
  .hero-stat-divider {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════════
   ZODIAC INFO PANEL — Enhanced
   ════════════════════════════════════════════════════════════ */

.zodiac-info-panel {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header area */
.zp-header {
  margin-bottom: 4px;
}
.zp-header .section-label {
  margin-bottom: 10px;
}
.zp-header .section-heading {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  margin-bottom: 8px;
}
.zp-header .section-subheading {
  font-size: 0.9rem;
}

/* Sign hero block */
.zp-sign-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.zp-sign-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(124, 82, 255, 0.06) 0%,
    transparent 60%
  );
}
.zp-sign-emoji-wrap {
  position: relative;
  flex-shrink: 0;
}
.zp-sign-emoji {
  font-size: 3.2rem;
  line-height: 1;
  position: relative;
  z-index: 1;
  /* filter: drop-shadow(0 0 16px rgba(212, 168, 67, 0.55)); */
  padding: 10px 10px;
  transition: all 0.4s ease;
}
.zp-sign-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 168, 67, 0.2) 0%,
    transparent 70%
  );
  animation: pulseGlow 3s ease-in-out infinite;
  --glow-color: rgba(212, 168, 67, 0.25);
}
.zp-sign-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  line-height: 1;
  transition: all 0.4s ease;
}
.zp-sign-dates {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  transition: all 0.4s ease;
}

/* Description */
.zp-desc {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
  padding: 0 2px;
}

/* Energy meters */
.zp-meters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}
.zp-meter-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zp-meter-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 64px;
  flex-shrink: 0;
}
.zp-meter-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}
.zp-meter-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  transition: width 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.zp-meter-val {
  font-size: 0.7rem;
  color: var(--teal);
  font-weight: 500;
  width: 24px;
  text-align: right;
}

/* Compatible signs */
.zp-compat {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.zp-compat-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}
.zp-compat-signs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.zp-compat-sign {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.22);
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* CTA */
.zp-cta {
  width: 100%;
  justify-content: center;
}

/* Override old sign-symbol selector since we renamed */
.sign-symbol {
  display: none;
} /* old class, new one is .zp-sign-emoji */

/* ════════════════════════════════════════════════════════════
   ZODIAC CANVAS — Fix text clipping
   ════════════════════════════════════════════════════════════ */
.zodiac-wheel-wrap {
  /* Extra padding so outer labels don't clip */
  padding: 16px;
  box-sizing: border-box;
}

/* ════════════════════════════════════════════════════════════
   PAGE: HOROSCOPE
   ════════════════════════════════════════════════════════════ */
.sign-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.sign-filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: none;
  font-family: var(--font-body);
}
.sign-filter-btn:hover,
.sign-filter-btn.active {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 77, 255, 0.4);
}
.full-horo-card {
  padding: 36px;
  margin-bottom: 24px;
}
.full-horo-card.is-preferred-sign {
  border-color: rgba(212, 168, 67, 0.4);
  box-shadow: 0 0 0 1px rgba(212, 168, 67, 0.2), 0 18px 48px rgba(0, 0, 0, 0.35);
}
.full-horo-layout {
  display: flex;
  flex-direction: column;
}
.full-horo-layout.has-preferred-horoscope .sign-filter {
  margin-top: 8px;
  margin-bottom: 28px;
}
.full-horo-layout.has-preferred-horoscope > .full-horo-card.is-preferred-sign {
  margin-bottom: 28px;
}
.full-horo-list {
  display: flex;
  flex-direction: column;
}
.full-horo-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.big-emoji {
  font-size: 3.5rem;
  line-height: 1;
}
.horo-title-group h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.horo-title-group .sign-dates-small {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.element-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(124, 77, 255, 0.15);
  border: 1px solid rgba(124, 77, 255, 0.3);
  color: var(--violet-lt);
  margin-top: 8px;
}
.element-badge.fire {
  background: rgba(255, 107, 53, 0.12);
  border-color: rgba(255, 107, 53, 0.3);
  color: #ff7b72;
}
.element-badge.earth {
  background: rgba(139, 195, 74, 0.12);
  border-color: rgba(139, 195, 74, 0.3);
  color: #a9e34b;
}
.element-badge.air {
  background: rgba(100, 181, 246, 0.12);
  border-color: rgba(100, 181, 246, 0.3);
  color: #74c0fc;
}
.element-badge.water {
  background: rgba(124, 82, 255, 0.15);
  border-color: rgba(124, 82, 255, 0.3);
  color: var(--violet-lt);
}
.horo-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.horo-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.horo-stat {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}
.horo-stat .stat-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.horo-stat .stat-key {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
.lucky-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}
.lucky-item {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.lucky-item strong {
  color: var(--text-primary);
  font-weight: 500;
}
.horo-energy-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.horo-ebar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.horo-ebar-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 60px;
  flex-shrink: 0;
}
.horo-ebar-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}
.horo-ebar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  transition: width 1.2s var(--ease-smooth);
}
.horo-ebar-val {
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 500;
  width: 32px;
  text-align: right;
}

/* ════════════════════════════════════════════════════════════
   PAGE: KUNDLI
   ════════════════════════════════════════════════════════════ */
.kundli-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.kundli-layout--report {
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}
.kundli-form {
  padding: 40px;
  min-width: 0;
  max-width: 100%;
}
.kundli-report-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "birth unlock"
    "footer footer";
  gap: 28px 40px;
  align-items: start;
  width: 100%;
  min-width: 0;
}
.kundli-report-split__birth {
  grid-area: birth;
  min-width: 0;
}
.kundli-report-split__unlock {
  grid-area: unlock;
  min-width: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.kundli-report-split__footer {
  grid-area: footer;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 900px) {
  .kundli-report-split {
    grid-template-columns: 1fr;
    grid-template-areas:
      "birth"
      "unlock"
      "footer";
    gap: 24px;
  }
  .kundli-report-split__unlock {
    padding-left: 0;
    border-left: none;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}
.kundli-report-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
  font-size: 0.85rem;
  line-height: 1.5;
}
.kundli-report-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.kundli-report-download {
  width: 100%;
  justify-content: center;
  margin-bottom: 28px;
}
.kundli-report-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: min(70vh, 720px);
  overflow-y: auto;
  padding-right: 8px;
}
.kundli-report-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  margin-top: 12px;
  letter-spacing: 0.02em;
}
.kundli-report-paragraph {
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.75;
}
.kundli-chart {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.form-group {
  margin-bottom: 24px;
  min-width: 0;
  width: 100%;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}
/* iOS Safari: native date/time stay as tiny pills unless appearance is reset */
input.form-input[type="date"],
input.form-input[type="time"],
input.form-input[type="datetime-local"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.25;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 82, 255, 0.12);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.form-select {
  appearance: none;
  cursor: none;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  min-width: 0;
}
.gender-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.gender-toggle-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer !important;
  pointer-events: auto;
  transition: border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
  user-select: none;
}
.gender-toggle-btn:hover:not(:disabled) {
  border-color: rgba(124, 82, 255, 0.45);
  color: var(--text-primary);
  background: rgba(124, 82, 255, 0.08);
}
.gender-toggle-btn.is-active,
.gender-toggle-btn.is-active:hover:not(:disabled) {
  border-color: rgba(124, 82, 255, 0.85);
  background: linear-gradient(135deg, rgba(124, 82, 255, 0.28), rgba(91, 95, 239, 0.18));
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(124, 82, 255, 0.12);
}
.gender-toggle-btn:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}
.gender-toggle.is-disabled .gender-toggle-btn,
.gender-toggle-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed !important;
  pointer-events: none;
}
.hero-kundli-wrap .gender-toggle-btn {
  cursor: pointer !important;
}
@media (max-width: 480px) {
  .gender-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .gender-toggle-btn {
    width: 100%;
  }
}
.kundli-preview {
  width: 300px;
  height: 300px;
  position: relative;
}
.planet-table {
  width: 100%;
  border-collapse: collapse;
}
.planet-table th {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}
.planet-table td {
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.planet-table tr:last-child td {
  border-bottom: none;
}
.planet-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}
.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.analysis-card {
  padding: 20px;
}
.analysis-card h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.analysis-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .kundli-layout {
    grid-template-columns: 1fr;
  }
  .kundli-form {
    padding: 24px 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .form-row > .form-group,
  .gender-toggle,
  .gender-toggle-btn,
  .form-input,
  .form-select {
    width: 100%;
    max-width: 100%;
  }
  input.form-input[type="date"],
  input.form-input[type="time"] {
    width: 100%;
    min-height: 48px;
  }
  .analysis-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* avoid iOS zoom + keep native control width stable */
    padding: 12px 14px;
  }
  .hero-kundli-wrap .hero-kundli-form {
    padding: 22px 16px;
  }
}

/* ════════════════════════════════════════════════════════════
   PAGE: COMPATIBILITY
   ════════════════════════════════════════════════════════════ */
.compat-hero-tool {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 48px;
  overflow: visible;
}
.big-selectors {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: end;
  margin: 40px 0;
  position: relative;
  z-index: 2;
}
.sign-select-group {
  position: relative;
  z-index: 1;
}
.sign-select-group:has(.zodiac-chip-select.is-open) {
  z-index: 30;
}
.sign-select-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.sign-select-big {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  appearance: none;
  cursor: none;
  transition: border-color 0.3s;
  outline: none;
}
.sign-select-big:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 82, 255, 0.12);
}
.heart-divider {
  font-size: 2.8rem;
  color: var(--rose);
  text-align: center;
  padding-bottom: 8px;
  filter: drop-shadow(0 0 12px rgba(255, 79, 167, 0.5));
  animation: floatPlanet 3s ease-in-out infinite;
}
.result-panel {
  display: none;
  padding: 48px;
  margin-top: 0;
}
.result-panel.visible {
  display: block;
}
.pair-display {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.pair-sign {
  text-align: center;
}
.pair-symbol {
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 0 16px rgba(212, 168, 67, 0.4));
}
.pair-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-top: 8px;
}
.pair-plus {
  font-size: 2rem;
  color: var(--text-muted);
}
.score-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: conic-gradient(
    var(--violet) 0deg,
    var(--teal) var(--deg, 0deg),
    rgba(255, 255, 255, 0.06) var(--deg, 0deg)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(124, 82, 255, 0.3);
  transition: --deg 1.4s ease;
}
.score-circle-inner {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.score-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.score-label-small {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.match-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 32px;
}
.compat-dimensions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.dim-card {
  padding: 20px;
}
.dim-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.dim-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}
.dim-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  transition: width 1.2s var(--ease-smooth);
}
.dim-score {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}
.compat-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 8px;
}
.compat-grid-section {
  margin-top: 80px;
  overflow-x: auto;
}
.compat-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.compat-table th,
.compat-table td {
  padding: 8px 10px;
  text-align: center;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.compat-table th {
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
}
.score-high {
  background: rgba(124, 82, 255, 0.25);
  color: var(--violet-lt);
  font-weight: 600;
}
.score-mid {
  background: rgba(212, 168, 67, 0.12);
  color: var(--gold);
}
.score-low {
  background: rgba(255, 79, 167, 0.1);
  color: var(--rose);
}
@media (max-width: 700px) {
  .big-selectors {
    grid-template-columns: 1fr;
  }
  .compat-dimensions {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════
   PAGE: BOOKING
   ════════════════════════════════════════════════════════════ */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.service-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card {
  padding: 24px 28px;
  transition: all 0.35s var(--ease-smooth);
  cursor: none;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
}
.service-card.selected,
.service-card:hover {
  border-color: var(--violet);
  background: rgba(124, 82, 255, 0.1);
  transform: translateX(4px);
}
.svc-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.svc-icon {
  font-size: 1.8rem;
}
.svc-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.svc-price {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 500;
  margin-top: 2px;
}
.svc-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.svc-duration {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}
.booking-form-card {
  padding: 44px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.astrologer-row {
    display: grid;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0 8px;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
}
.astrologer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  cursor: none;
  transition: all 0.3s;
  flex: 1;
  min-width: 140px;
}
.astrologer-card.selected,
.astrologer-card:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 67, 0.08);
}
.astro-avatar {
  font-size: 1.6rem;
}
.astro-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}
.astro-spec {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.astro-rating {
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 2px;
}
.summary-box {
  padding: 32px;
  position: sticky;
  top: 100px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.88rem;
}
.summary-row:last-of-type {
  border-bottom: none;
}
.summary-row span:first-child {
  color: var(--text-muted);
}
.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-glow);
}
.summary-total .label {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.summary-total .amount {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 2, 12, 0.96);
  backdrop-filter: blur(24px);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.success-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.success-icon {
  font-size: 5rem;
  animation: fadeInUp 0.6s ease;
}
@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .summary-box {
    position: static;
  }
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}@media (max-width:1199px){
  .icon img{
  width: 70px;
  height: 70px;
}
}
@media (max-width:991px){
  .icon img{
display: none;
}
}

/* ════════════════════════════════════════════════════════════
   PAGE: TAROT (inner page)
   ════════════════════════════════════════════════════════════ */
.spread-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.spread-btn {
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: none;
  font-family: var(--font-body);
}
.spread-btn.active,
.spread-btn:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 77, 255, 0.4);
}
.spread-positions {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 14px;
}
.spread-positions span {
  text-align: center;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tarot-spread-area {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: flex-end;
  /* overflow-x: auto; */
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  min-height: 300px;
}
.tarot-pos-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 4px;
}
.tarot-reading-area {
  max-width: 700px;
  margin: 56px auto 0;
  display: none;
  padding: 30px 30px;
}
.tarot-reading-area.visible {
  display: block;
}
.reading-card {
  padding: 28px;
  margin-bottom: 16px;
}
.reading-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.reading-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.suits-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
}
.suit-card {
  padding: 24px;
  text-align: center;
  min-width: 160px;
  cursor: none;
  transition: transform 0.3s;
}
.suit-card:hover {
  transform: translateY(-6px);
}
.suit-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.suit-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.suit-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* blog page css start */
.blog-hero {
      position: relative;
      min-height: 420px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: calc(var(--nav-h) + 80px) 20px 80px;
      overflow: hidden;
    }
    .blog-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,82,255,0.22) 0%, transparent 70%),
                  radial-gradient(ellipse 50% 40% at 80% 80%, rgba(212,168,67,0.12) 0%, transparent 60%);
      pointer-events: none;
    }
    .blog-hero-label {
      display: inline-block;
      font-family: var(--font-body);
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      border: 1px solid rgba(212,168,67,0.3);
      border-radius: var(--radius-pill);
      padding: 6px 20px;
      margin-bottom: 20px;
    }
    .blog-hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      font-weight: 500;
      line-height: 1.15;
      margin-bottom: 18px;
    }
    .blog-hero p {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 520px;
      margin: 0 auto;
    }

    /* Filter Bar */
    .blog-filter-bar {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
      padding: 0 20px 60px;
    }
    .filter-btn {
      font-family: var(--font-body);
      font-size: 0.82rem;
      font-weight: 400;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-pill);
      padding: 8px 22px;
      cursor: none;
      transition: all 0.25s var(--ease-smooth);
    }
    .filter-btn:hover,
    .filter-btn.active {
      color: var(--gold);
      border-color: rgba(212,168,67,0.4);
      background: rgba(212,168,67,0.08);
    }

    /* ── Blog Grid ── */
    .blog-section {
      padding: 0 0 100px;
    }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    @media (max-width: 1024px) {
      .blog-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 640px) {
      .blog-grid { grid-template-columns: 1fr; }
    }

    /* Featured card (first card = full width) */
    .blog-card-featured {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border-glass);
      background: var(--bg-glass);
      backdrop-filter: blur(12px);
      transition: transform 0.35s var(--ease-smooth), border-color 0.3s;
      align-items: center ;
    }
    .blog-card-featured:hover {
      transform: translateY(-4px);
      border-color: var(--border-glow);
    }
    @media (max-width: 768px) {
      .blog-card-featured {
        grid-template-columns: 1fr;
      }
    }
    .blog-card-featured .card-img {
      position: relative;
      min-height: 340px;
      overflow: hidden;
    }
    .blog-card-featured .card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s var(--ease-smooth);
    }
    .blog-card-featured:hover .card-img img {
      transform: scale(1.04);
    }
    .blog-card-featured .card-body {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 48px 44px;
    }

    /* Standard card */
    .blog-card {
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border-glass);
      background: var(--bg-glass);
      backdrop-filter: blur(12px);
      transition: transform 0.35s var(--ease-smooth), border-color 0.3s;
      display: flex;
      flex-direction: column;
    }
    .blog-card:hover {
      transform: translateY(-5px);
      border-color: var(--border-glow);
    }
    .blog-card .card-img {
      position: relative;
      overflow: hidden;
      height: 250px;
    }
    .blog-card .card-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: transform 0.6s var(--ease-smooth);
    }
    .blog-card:hover .card-img img {
      transform: scale(1.06);
    }
    .blog-card .card-body {
      padding: 28px 28px 32px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    /* Shared card body styles */
    .card-tag {
      display: inline-block;
      font-size: 0.68rem;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 14px;
    }
    .card-tag.violet { color: var(--violet-lt); }
    .card-tag.teal { color: var(--teal); }
    .card-tag.rose { color: var(--rose); }

    .card-title {
      font-family: var(--font-serif);
      font-size: 1.42rem;
      font-weight: 500;
      line-height: 1.35;
      color: var(--text-primary);
      margin-bottom: 14px;
    }
    .blog-card-featured .card-title {
      font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    }
    .card-excerpt {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 24px;
      flex: 1;
    }
    .card-meta {
      display: flex;
      align-items: center;
      gap: 18px;
      font-size: 0.78rem;
      color: rgba(242,236,255,0.5);
    }
    .card-meta-author {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .meta-avatar {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--violet), var(--gold));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 600;
      color: #fff;
      flex-shrink: 0;
    }
    .card-read-more {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--gold);
      margin-top: 20px;
      transition: gap 0.2s;
    }
    .card-read-more:hover { gap: 10px; }
    .card-read-more svg { width: 14px; height: 14px; }

    /* Overlay badge on featured */
    .featured-badge {
      position: absolute;
      top: 20px;
      left: 20px;
      background: linear-gradient(135deg, var(--violet), var(--gold));
      color: #fff;
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: var(--radius-pill);
    }

    /* ── Newsletter strip ── */
    .blog-newsletter {
      margin: 60px 0;
      border-radius: var(--radius-xl);
      background: linear-gradient(135deg, rgba(124,82,255,0.18) 0%, rgba(212,168,67,0.1) 100%);
      border: 1px solid var(--border-glow);
      padding: 60px 48px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .blog-newsletter::before {
      content: '✦';
      position: absolute;
      font-size: 14rem;
      opacity: 0.03;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-family: var(--font-display);
    }
    .blog-newsletter h3 {
      font-family: var(--font-display);
      font-size: clamp(1.5rem, 3vw, 2.2rem);
      margin-bottom: 12px;
    }
    .blog-newsletter p {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 32px;
    }
    .newsletter-form {
      display: flex;
      gap: 12px;
      max-width: 460px;
      margin: 0 auto;
    }
    .newsletter-form input {
      flex: 1;
      background: rgba(255,255,255,0.06);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-pill);
      padding: 14px 22px;
      color: var(--text-primary);
      font-size: 0.88rem;
      outline: none;
      transition: border-color 0.25s;
    }
    .newsletter-form input::placeholder { color: rgba(242,236,255,0.35); }
    .newsletter-form input:focus { border-color: rgba(124,82,255,0.5); }
    @media (max-width: 540px) {
      .newsletter-form { flex-direction: column; }
      .blog-newsletter { padding: 40px 24px; }
    }

    /* Pagination */
    .blog-pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 60px;
    }
    .page-btn {
      width: 42px;
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      border: 1px solid var(--border-glass);
      background: var(--bg-glass);
      font-size: 0.85rem;
      color: var(--text-muted);
      transition: all 0.25s;
      cursor: none;
    }
    .page-btn:hover,
    .page-btn.active {
      border-color: rgba(212,168,67,0.4);
      color: var(--gold);
      background: rgba(212,168,67,0.08);
    }
    .page-btn.prev, .page-btn.next {
      width: auto;
      padding: 0 18px;
      border-radius: var(--radius-pill);
      font-size: 0.8rem;
      letter-spacing: 0.05em;
    }

    /* Cosmic divider reuse */
    .cosmic-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--border-glow), var(--border-gold), var(--border-glow), transparent);
      margin: 0;
    }

    /* single blog css  */
    .post-hero {
      position: relative;
      min-height: 520px;
      display: flex;
      align-items: flex-end;
      padding: calc(var(--nav-h) + 40px) 0 0;
      overflow: hidden;
    }
    .post-hero-img {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .post-hero-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.35;
    }
    .post-hero-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(3,2,12,0.2) 0%, rgba(3,2,12,0.85) 70%, var(--bg-void) 100%);
    }
    .post-hero-content {
      position: relative;
      z-index: 1;
      width: 100%;
      padding: 80px 0 60px;
    }
    .post-hero-content .container {
      max-width: 820px;
      text-align: center;
      max-width: 0 auto;
    }

    /* Breadcrumb */
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.78rem;
      color: rgba(242,236,255,0.45);
      margin-bottom: 24px;
    }
    .breadcrumb a { color: rgba(242,236,255,0.45); transition: color 0.2s; }
    .breadcrumb a:hover { color: var(--gold); }
    .breadcrumb span { color: rgba(242,236,255,0.25); }

    .post-tag {
      display: inline-block;
      font-size: 0.68rem;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--violet-lt);
      border: 1px solid rgba(168,127,255,0.3);
      border-radius: var(--radius-pill);
      padding: 5px 16px;
      margin-bottom: 20px;
    }
    .post-hero h1 {
      font-family: var(--font-serif);
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 500;
      line-height: 1.22;
      margin-bottom: 24px;
    }
    .post-hero-meta {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
      font-size: 0.82rem;
      color: rgba(242,236,255,0.5);
      justify-content: center;
    }
    .meta-author {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .meta-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--violet), var(--gold));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 600;
      color: #fff;
      flex-shrink: 0;
    }
    .meta-author-info { display: flex; flex-direction: column; gap: 2px; }
    .meta-author-name { color: var(--text-secondary); font-weight: 400; font-size: 0.85rem; }
    .meta-divider { color: rgba(242,236,255,0.2); }

    /* ── Content Layout ── */
    .post-layout {
      padding: 80px 0 100px;
    }
    .post-layout .container {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 64px;
      align-items: start;
    }
    @media (max-width: 1024px) {
      .post-layout .container { grid-template-columns: 1fr; gap: 60px; }
    }

    /* ── Article Body ── */
    .post-body {
      font-family: var(--font-serif);
      font-size: 1.13rem;
      line-height: 1.9;
      color: rgba(242,236,255,0.88);
    }
    .post-body p { margin-bottom: 1.5em; }
    .post-body h2 {
      font-family: var(--font-display);
      font-size: 1.5rem;
      font-weight: 500;
      color: var(--text-primary);
      margin: 2em 0 0.7em;
      letter-spacing: 0.04em;
    }
    .post-body h3 {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 500;
      color: var(--gold);
      margin: 1.6em 0 0.6em;
      letter-spacing: 0.05em;
    }
    .post-body strong { color: var(--text-primary); font-weight: 600; }
    .post-body em { font-style: italic; color: var(--violet-lt); }

    /* Pull quote */
    .post-pull-quote {
      border-left: 3px solid var(--gold);
      padding: 20px 28px;
      margin: 2em 0;
      background: rgba(212,168,67,0.06);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
    }
    .post-pull-quote p {
      font-family: var(--font-serif);
      font-size: 1.25rem;
      font-style: italic;
      color: var(--gold-lt);
      margin: 0;
      line-height: 1.6;
    }

    /* Highlight box */
    .post-highlight {
      background: rgba(124,82,255,0.1);
      border: 1px solid rgba(124,82,255,0.25);
      border-radius: var(--radius-md);
      padding: 28px 32px;
      margin: 2em 0;
    }
    .post-highlight h4 {
      font-family: var(--font-display);
      font-size: 0.95rem;
      letter-spacing: 0.1em;
      color: var(--violet-lt);
      margin-bottom: 14px;
      text-transform: uppercase;
    }
    .post-highlight ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .post-highlight ul li {
      font-size: 0.92rem;
      color: var(--text-muted);
      padding-left: 20px;
      position: relative;
    }
    .post-highlight ul li::before {
      content: '✦';
      position: absolute;
      left: 0;
      color: var(--violet-lt);
      font-size: 0.6rem;
      top: 5px;
    }

    /* Image in article */
    .post-img {
      margin: 2.5em 0;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border-glass);
    }
    .post-img img { width: 100%; display: block; }
    .post-img figcaption {
      font-family: var(--font-body);
      font-size: 0.78rem;
      color: rgba(242,236,255,0.4);
      text-align: center;
      padding: 12px 20px;
      background: var(--bg-glass);
    }

    /* Tags & Share */
    .post-footer-bar {
      margin-top: 60px;
      padding-top: 32px;
      border-top: 1px solid var(--border-glass);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
    }
    .post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
    .post-tag-pill {
      font-size: 0.75rem;
      font-family: var(--font-body);
      color: var(--text-muted);
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-pill);
      padding: 5px 14px;
      transition: all 0.2s;
    }
    .post-tag-pill:hover { border-color: var(--border-gold); color: var(--gold); }
    .share-row { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: rgba(242,236,255,0.4); }
    .share-btn {
      width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      border-radius: 50%;
      border: 1px solid var(--border-glass);
      background: var(--bg-glass);
      color: var(--text-muted);
      transition: all 0.25s;
      font-size: 0.75rem;
      cursor: none;
    }
    .share-btn:hover { border-color: var(--border-gold); color: var(--gold); }

    /* ── Sidebar ── */
    .post-sidebar {
      position: sticky;
      top: calc(var(--nav-h) + 24px);
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .sidebar-card {
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-lg);
      padding: 28px 26px;
      backdrop-filter: blur(12px);
    }
    .sidebar-card h4 {
      font-family: var(--font-display);
      font-size: 0.85rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 20px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border-gold);
    }

    /* TOC */
    .toc-list {
      list-style: none;
      padding: 0; margin: 0;
      display: flex; flex-direction: column; gap: 4px;
    }
    .toc-list li a {
      display: block;
      font-size: 0.83rem;
      color: var(--text-muted);
      padding: 7px 10px;
      border-radius: var(--radius-sm);
      border-left: 2px solid transparent;
      transition: all 0.2s;
    }
    .toc-list li a:hover,
    .toc-list li a.active {
      color: var(--gold);
      border-left-color: var(--gold);
      background: rgba(212,168,67,0.06);
    }

    /* Author card */
    .author-card {
      text-align: center;
    }
    .author-avatar-lg {
      width: 72px; height: 72px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--violet), var(--gold));
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; font-weight: 600; color: #fff;
      margin: 0 auto 14px;
    }
    .author-card h5 {
      font-family: var(--font-display);
      font-size: 1rem;
      margin-bottom: 6px;
    }
    .author-card p {
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .author-card .btn { margin-top: 16px; font-size: 0.8rem; padding: 9px 22px; }

    /* Related posts sidebar */
    .related-mini {
      display: flex; flex-direction: column; gap: 16px;
    }
    .related-mini-item {
      display: flex; gap: 14px; align-items: center;
    }
    .related-mini-img {
      width: 64px; height: 64px;
      border-radius: var(--radius-sm);
      overflow: hidden; flex-shrink: 0;
    }
    .related-mini-img img { width: 100%; height: 100%; object-fit: cover; }
    .related-mini-title {
      font-family: var(--font-serif);
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.4;
      transition: color 0.2s;
    }
    .related-mini-item:hover .related-mini-title { color: var(--gold); }
    .related-mini-date {
      font-size: 0.72rem;
      color: rgba(242,236,255,0.4);
      margin-top: 4px;
      display: block;
      font-family: var(--font-body);
    }

    /* ── Related Posts Section ── */
    .related-posts {
      padding: 80px 0 100px;
      border-top: 1px solid var(--border-glass);
    }
    .related-posts .section-header {
      margin-bottom: 48px;
    }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    @media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2,1fr); } }
    @media (max-width: 580px) { .related-grid { grid-template-columns: 1fr; } }

    .rel-card {
      border: 1px solid var(--border-glass);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--bg-glass);
      transition: transform 0.3s var(--ease-smooth), border-color 0.3s;
    }
    .rel-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-glow);
    }
    .rel-card-img { height: 180px; overflow: hidden; }
    .rel-card-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s var(--ease-smooth); }
    .rel-card:hover .rel-card-img img { transform: scale(1.05); }
    .rel-card-body { padding: 22px 22px 26px; }
    .rel-card-tag {
      font-size: 0.65rem; font-weight: 500; letter-spacing: 0.15em;
      text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
      display: block;
    }
    .rel-card-title {
      font-family: var(--font-serif);
      font-size: 1.05rem;
      color: var(--text-primary);
      line-height: 1.4;
    }

    /* Cosmic divider */
    .cosmic-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--border-glow), var(--border-gold), var(--border-glow), transparent);
    }

    /* Progress bar */
    #reading-progress {
      position: fixed;
      top: 0; left: 0;
      width: 0%;
      height: 2px;
      background: linear-gradient(90deg, var(--violet), var(--gold));
      z-index: 9999;
      transition: width 0.1s linear;
    }
/* Kundli payment sheet (View Full Report on Birth charts) */
.kundli-pay-sheet {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.kundli-pay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}
.kundli-pay-panel {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  top: auto;
  margin: 0;
  width: min(440px, 100%);
  max-height: min(90vh, 720px);
  overflow-y: auto;
  padding: 28px 24px;
  border-radius: 20px;
  z-index: 1;
  will-change: transform, opacity;
}
.kundli-pay-panel.glass-card:hover {
  transform: none;
  background: var(--bg-glass);
  border-color: var(--border-glass);
  box-shadow: none;
}
.kundli-pay-panel-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: inherit;
  background: rgba(13, 11, 30, 0.88);
  backdrop-filter: blur(6px);
  padding: 24px;
  text-align: center;
}
.kundli-pay-panel-loader.is-visible {
  display: flex;
}
.kundli-pay-enter {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease-out;
}
.kundli-pay-enter-start {
  transform: translateY(12px) scale(0.98);
  opacity: 0;
}
.kundli-pay-enter-end {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.kundli-pay-leave {
  transition: transform 0.2s ease-in, opacity 0.18s ease-in;
}
.kundli-pay-leave-start {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.kundli-pay-leave-end {
  transform: translateY(8px) scale(0.98);
  opacity: 0;
}
.kundli-pay-fade {
  transition: opacity 0.25s ease;
}
.kundli-pay-fade-start {
  opacity: 0;
}
.kundli-pay-fade-end {
  opacity: 1;
}
.kundli-pay-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 20px;
}
.kundli-pay-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.kundli-pay-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.kundli-pay-plan {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.kundli-pay-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.kundli-pay-plan p {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.kundli-pay-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  cursor: pointer;
  line-height: 1.55;
}
.kundli-pay-terms input {
  margin-top: 3px;
}
.kundli-pay-terms a {
  color: var(--gold);
  text-decoration: underline;
}
.kundli-pay-error {
  color: #f87171;
  font-size: 0.85rem;
  margin: -8px 0 12px;
}
.kundli-pay-cancel {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 8px;
  cursor: pointer;
}

/* -- Zodiac PNG glyphs -- */
.zodiac-glyph-img {
  width: 1.6em;
  height: 1.6em;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
.zodiac-glyph-img--lg {
  width: 3.2rem;
  height: 3.2rem;
}
.zodiac-glyph-img--xs {
  width: 22px;
  height: 22px;
}
.horo-emoji .zodiac-glyph-img {
  width: 2rem;
  height: 2rem;
}
.big-emoji .zodiac-glyph-img {
  width: 3.5rem;
  height: 3.5rem;
}
.compat-select-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
}
.compat-select-icon .zodiac-glyph-img {
  width: 22px;
  height: 22px;
}
.pair-symbol .zodiac-glyph-img {
  width: 48px;
  height: 48px;
}
.compat-table th .zodiac-glyph-img {
  width: 20px;
  height: 20px;
}

/* -- Nav preferred-sign chip -- */
.nav-zodiac-chip {
  position: relative;
  margin-right: 8px;
}
.nav-zodiac-chip-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 6, 20, 0.92);
  color: var(--text-primary);
  cursor: pointer;
  max-width: 280px;
  width: 100%;
  text-align: left;
}
.nav-zodiac-chip.is-empty .nav-zodiac-chip-name {
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--font-body, inherit);
  font-size: 0.88rem;
}
.nav-zodiac-chip-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
}
.nav-zodiac-chip-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.nav-zodiac-chip-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
  flex: 1;
}
.nav-zodiac-chip-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-zodiac-chip-meta {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.nav-zodiac-chip-caret {
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  margin-left: 2px;
}
.nav-zodiac-chip-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(280px, 90vw);
  max-height: 360px;
  overflow: auto;
  background: rgba(10, 8, 28, 0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 8px;
  z-index: 1200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.nav-zodiac-chip.is-open .nav-zodiac-chip-panel {
  display: block;
}
.nav-zodiac-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: left;
}
.nav-zodiac-option img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-zodiac-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.2;
}
.nav-zodiac-option-text strong {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-zodiac-option-text small {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-zodiac-option:hover {
  background: rgba(124, 82, 255, 0.15);
}
.nav-zodiac-option.is-clear {
  margin-top: 6px;
  justify-content: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-radius: 0 0 10px 10px;
}

/* Chip-style Your/Their Sign pickers */
.zodiac-chip-select {
  position: relative;
  width: 100%;
  z-index: 1;
}
.zodiac-chip-select.is-open {
  z-index: 40;
}
.zodiac-chip-select .nav-zodiac-chip-trigger {
  max-width: none;
  background: rgba(8, 6, 20, 0.75);
}
.zodiac-chip-select .nav-zodiac-chip-panel {
  left: 0;
  right: auto;
  width: 100%;
  min-width: 240px;
  z-index: 50;
}
.zodiac-chip-select.is-open .nav-zodiac-chip-panel {
  display: block;
}
.zodiac-chip-select.is-empty .nav-zodiac-chip-name {
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--font-body, inherit);
  font-size: 0.88rem;
}
.zodiac-chip-select .nav-zodiac-chip-meta {
  max-width: none;
}
.zodiac-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .nav-zodiac-chip-meta { display: none; }
  .nav-zodiac-chip-trigger { max-width: 160px; padding-right: 8px; }
  .zodiac-chip-select .nav-zodiac-chip-meta { display: block; }
  .zodiac-chip-select .nav-zodiac-chip-trigger { max-width: none; }
}

/* -- Onboarding overlay -- */
.zodiac-onboarding {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.zodiac-onboarding.is-visible {
  display: flex;
}
.zodiac-onboarding-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 16, 0.82);
  backdrop-filter: blur(10px);
}
.zodiac-onboarding-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 28px 24px 24px;
}
.zodiac-onboarding-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-secondary);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer !important;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.zodiac-onboarding-close:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(124, 82, 255, 0.15);
}
.zodiac-onboarding-close:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}
body.zodiac-onboarding-open {
  overflow: hidden;
}
.zodiac-onboarding-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.zodiac-onboarding-wheel {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}
#zodiac-onboarding-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-width: 400px;
  filter: drop-shadow(0 0 48px rgba(124, 82, 255, 0.28));
  cursor: grab;
  touch-action: none;
}
#zodiac-onboarding-canvas:active {
  cursor: grabbing;
}
.zodiac-onboarding-under {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.zodiac-onboarding-dob {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: center;
}
.zodiac-optional {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.65;
  font-size: 0.85em;
}
.zodiac-onboarding-dob label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  width: 100%;
}
.zodiac-onboarding-input {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: var(--text-primary);
  text-align: center;
}
.zodiac-onboarding-input::-webkit-datetime-edit,
.zodiac-onboarding-input::-webkit-datetime-edit-fields-wrapper,
.zodiac-onboarding-input::-webkit-datetime-edit-text,
.zodiac-onboarding-input::-webkit-datetime-edit-month-field,
.zodiac-onboarding-input::-webkit-datetime-edit-day-field,
.zodiac-onboarding-input::-webkit-datetime-edit-year-field {
  text-align: center;
}
.zodiac-onboarding-actions {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 100%;
}
.zodiac-onboarding-actions .btn {
  width: 100%;
  max-width: 280px;
  justify-content: center;
}
.zodiac-onboarding-skip,
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
}
.zodiac-onboarding-skip:hover,
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.22);
}
.zodiac-onboarding-actions .is-shake {
  animation: zodiacShake 0.35s ease;
}
@keyframes zodiacShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.horoscope-carousel.is-preferred-mode .horoscope-carousel-nav {
  opacity: 1;
}
