﻿/* -----------------------------------------------------------
   ZataHub design tokens
----------------------------------------------------------- */
:root {
  --bg-void: #020107;
  --nebula-deep: #160a24;
  --nebula-violet: #281044;
  --indigo: #3d2a6e;
  --star-gold: #e8c66a;
  --star-core: #fff1b0;
  --text-main: #f2eeff;
  --text-muted: #b3aecf;
  --accent: #9b7ede;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-height: 84px;
  --section-pad: clamp(3rem, 7vw, 5rem);
  --content-max: 1200px;
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html, body, #root {
  min-height: 100%;
}

html, body {
  background-color: var(--bg-void);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

/* Lenis baseline */
html.lenis, html.lenis body {
  min-height: 100%;
}
html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
html.lenis.lenis-stopped {
  overflow: hidden;
}

/* -----------------------------------------------------------
   Layout & Typography
----------------------------------------------------------- */
.page {
  position: relative;
  z-index: 2;
}

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--star-gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--text-main);
}

/* -----------------------------------------------------------
   Buttons
----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--nebula-violet), var(--indigo));
  border-color: rgba(155, 126, 222, 0.4);
  color: var(--text-main);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--indigo), var(--nebula-violet));
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(155, 126, 222, 0.25);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(242, 238, 255, 0.15);
  color: var(--text-muted);
}

.btn--ghost:hover {
  border-color: rgba(242, 238, 255, 0.35);
  color: var(--text-main);
}

/* -----------------------------------------------------------
   Navbar
----------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--transition), backdrop-filter var(--transition);
}

.navbar--scrolled {
  background: rgba(2, 1, 7, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(155, 126, 222, 0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0.35rem 0;
}

.navbar__logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(232, 198, 106, 0.25));
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.navbar__link:hover {
  color: var(--text-main);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar__login {
  display: inline-flex;
}

.lang-toggle {
  display: flex;
  border: 1px solid rgba(155, 126, 222, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.lang-toggle__btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-toggle__btn--active {
  background: rgba(155, 126, 222, 0.2);
  color: var(--text-main);
}

.navbar__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__menu-btn span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text-main);
  transition: transform var(--transition), opacity var(--transition);
}

/* -----------------------------------------------------------
   Hero
----------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 2rem) clamp(1.5rem, 5vw, 3rem) 4rem;
  text-align: center;
}

.hero__content {
  max-width: 720px;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 1;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, var(--text-main) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--star-gold);
  margin-bottom: 1.75rem;
}

.hero__subtext {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 2.5rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.5;
}

.hero__scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--star-gold);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(232, 198, 106, 0.8) 0%, rgba(232, 198, 106, 0) 100%);
}

/* -----------------------------------------------------------
   Cosmic Scene Background Mount
----------------------------------------------------------- */
.cosmic-scene-mount {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cosmic-scene-mount canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* -----------------------------------------------------------
   COSMIC STORY â€” pinned viewport stage (single source of truth)
----------------------------------------------------------- */
.cosmic-story {
  position: relative;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
}

.cosmic-story__scene {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 1200px);
  max-width: 1200px;
  margin: 0;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* GSAP autoAlpha owns visibility/opacity â€” do not force !important here */
}

.cosmic-story__intro,
.cosmic-story__outro {
  flex-direction: column;
  text-align: center;
}

.cosmic-story__grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  width: 100%;
}

.cosmic-story__chapter--reversed .cosmic-story__grid {
  flex-direction: row-reverse;
}

.cosmic-story__image-wrap,
.cosmic-visual-wrap {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 10;
}

.cosmic-story__body {
  flex: 1 1 50%;
  position: relative;
  z-index: 10;
}

.celestial-asset-wrap {
  position: relative;
  z-index: 10;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.celestial-asset-img,
.cosmic-story__image {
  position: relative;
  z-index: 10;
  display: block;
  width: 380px;
  height: 380px;
  max-width: 100%;
  object-fit: contain;
  visibility: visible;
  opacity: 1;
}

.celestial-asset-img--rotate {
  animation: assetSlowSpin 90s linear infinite;
}

.celestial-asset-img--pulse {
  animation: assetSoftPulse 4.5s ease-in-out infinite;
}

.celestial-asset-glow {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 198, 106, 0.18) 0%,
    rgba(155, 126, 222, 0.06) 50%,
    transparent 70%
  );
  filter: blur(28px);
  z-index: 1;
  pointer-events: none;
}

.celestial-asset-glow--gold {
  background: radial-gradient(
    circle,
    rgba(232, 198, 106, 0.28) 0%,
    rgba(212, 139, 20, 0.08) 50%,
    transparent 70%
  );
}

.celestial-asset-glow--violet {
  background: radial-gradient(
    circle,
    rgba(185, 165, 245, 0.24) 0%,
    rgba(155, 126, 222, 0.08) 50%,
    transparent 70%
  );
}

[data-role="ancient"] .cosmic-story__image-wrap {
  max-width: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(155, 126, 222, 0.2);
  min-height: 320px;
}

[data-role="ancient"] .cosmic-story__image {
  width: 100%;
  height: 100%;
  max-width: 520px;
  max-height: 360px;
  object-fit: cover;
}

.lunar-shadow-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-radius: 50%;
  background: radial-gradient(
    circle at 72% 40%,
    transparent 42%,
    rgba(2, 1, 7, 0.35) 70%,
    rgba(2, 1, 7, 0.55) 100%
  );
}

@keyframes assetSlowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes assetSoftPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.03); filter: brightness(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .celestial-asset-img--rotate,
  .celestial-asset-img--pulse {
    animation: none;
  }
}

/* Cosmic story typography */
.cosmic-story__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--star-gold);
  margin-bottom: 1rem;
}

.cosmic-story__title,
.cosmic-story__chapter-title,
.cosmic-story__outro-brand {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-main);
  line-height: 1.2;
}

.cosmic-story__title {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  margin-bottom: 1.25rem;
}

.cosmic-story__chapter-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

.cosmic-story__hero-line,
.cosmic-story__question,
.cosmic-story__major-reveal {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--star-gold);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.cosmic-story__intro-text,
.cosmic-story__chapter-text,
.cosmic-story__secondary-text,
.cosmic-story__contrast,
.cosmic-story__outro-line,
.cosmic-story__outro-bridge,
.cosmic-story__outro-tagline {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.cosmic-story__fact {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 2px solid rgba(232, 198, 106, 0.45);
  background: rgba(22, 10, 36, 0.35);
}

.cosmic-story__fact-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--star-gold);
  margin-bottom: 0.45rem;
}

.cosmic-story__chart-elements {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.cosmic-story__outro-brand {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin: 1.25rem 0;
  background: linear-gradient(180deg, var(--text-main) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -----------------------------------------------------------
   PURPLE COSMIC FEATURES
----------------------------------------------------------- */
.features {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) clamp(1.5rem, 5vw, 3rem);
}

.features__header {
  max-width: var(--content-max);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.features__grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem;
}

.feature-card {
  position: relative;
  background: rgba(22, 10, 36, 0.45) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(155, 126, 222, 0.18) !important;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  will-change: transform, opacity, filter;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease, background 0.4s ease;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 198, 106, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.01) !important;
  border-color: rgba(232, 198, 106, 0.45) !important;
  box-shadow: 0 16px 36px rgba(40, 16, 68, 0.6), 0 0 20px rgba(232, 198, 106, 0.15) !important;
  background: rgba(35, 16, 58, 0.6) !important;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  font-size: 1.85rem;
  color: var(--star-gold);
  margin-bottom: 1.25rem;
  display: block;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.feature-card__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.feature-card__cta {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--star-gold);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.feature-card__cta:hover {
  color: var(--star-core);
  transform: translateX(4px);
}

/* -----------------------------------------------------------
   Final CTA & Footer
----------------------------------------------------------- */
.final-cta {
  padding: var(--section-pad) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

.final-cta__content {
  max-width: 640px;
  margin: 0 auto;
}

.final-cta__quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.final-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  color: var(--text-main);
}

.footer {
  padding: 3rem clamp(1.5rem, 5vw, 3rem) 2rem;
  border-top: 1px solid rgba(155, 126, 222, 0.08);
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 28ch;
}

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--star-gold);
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--text-main);
}

.footer__bottom {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(155, 126, 222, 0.06);
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
}


/* -----------------------------------------------------------
   Responsive Rules
----------------------------------------------------------- */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: 1fr !important;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar__links,
  .navbar__actions .navbar__login {
    display: none;
  }

  .navbar__menu-btn {
    display: flex;
  }

  .cosmic-story__grid,
  .cosmic-story__chapter--reversed .cosmic-story__grid {
    flex-direction: column;
    gap: 1.75rem;
    text-align: center;
  }

  .cosmic-story__image-wrap,
  .cosmic-visual-wrap,
  .cosmic-story__body {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
  }

  .celestial-asset-wrap {
    width: 280px;
    height: 280px;
  }

  .celestial-asset-img,
  .cosmic-story__image {
    width: 260px;
    height: 260px;
  }

  [data-role="ancient"] .cosmic-story__image {
    max-height: 240px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}
/* ===========================================================
   MEMBER FEATURES SHOWCASE & TAROT FAN
=========================================================== */
.features-showcase {
  position: relative;
  z-index: 10;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem);
}

.features-showcase__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.features-showcase__header {
  text-align: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.features-showcase__list {
  display: flex;
  flex-direction: column;
  gap: clamp(6rem, 12vw, 9rem);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.feature-row--reversed {
  direction: rtl;
}

.feature-row--reversed .feature-row__content,
.feature-row--reversed .feature-visual-card {
  direction: ltr;
}

.feature-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--star-gold);
  margin-bottom: 1rem;
}

.feature-tag--violet {
  color: var(--accent);
}

.feature-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.feature-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 46ch;
}

.btn-arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --- Interactive Tarot Fan --- */
.tarot-stage {
  position: relative;
  height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tarot-slot {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 104px;
  height: 164px;
  margin-left: -52px;
  transform-origin: 50% 420px;
  transform: rotate(0deg) translateY(30px);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
  cursor: pointer;
}

.tarot-slot.fanned {
  opacity: 1;
  transform: rotate(var(--rot)) translateY(0);
}

.tarot-card {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 30%, rgba(232, 198, 106, 0.18), transparent 60%), linear-gradient(160deg, #1d1330, #0c0817);
  border: 1px solid rgba(232, 198, 106, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tarot-card::before {
  content: '';
  width: 60%;
  height: 78%;
  border-radius: 6px;
  border: 1px solid rgba(232, 198, 106, 0.3);
}

.tarot-slot:hover {
  z-index: 50;
}

.tarot-slot:hover .tarot-card {
  transform: translateY(-18px) scale(1.05);
  box-shadow: 0 0 35px rgba(232, 198, 106, 0.5), 0 20px 30px rgba(0, 0, 0, 0.7);
  border-color: var(--star-gold);
}

/* --- Image Cards (Birth Chart & Maha Bot) --- */
.feature-visual-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 11;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(22, 10, 36, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(155, 126, 222, 0.2);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.feature-visual-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 198, 106, 0.45);
  box-shadow: 0 22px 50px rgba(35, 16, 58, 0.7), 0 0 30px rgba(232, 198, 106, 0.15);
}

.feature-visual-card__img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.feature-visual-card:hover .feature-visual-card__img {
  transform: scale(1.04);
}

.feature-visual-card__glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.feature-visual-card__glow--gold {
  background: radial-gradient(circle, rgba(232, 198, 106, 0.22) 0%, transparent 70%);
}

.feature-visual-card__glow--violet {
  background: radial-gradient(circle, rgba(155, 126, 222, 0.25) 0%, transparent 70%);
}

.animate-float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .feature-row,
  .feature-row--reversed {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 3rem;
  }
}
/* ===========================================================
   MEMBER FEATURES SHOWCASE: TAROT FAN & IMAGE CARDS
=========================================================== */
.features-showcase {
  position: relative;
  z-index: 10;
  padding: 6rem 2rem 8rem;
  width: 100%;
}

.features-showcase__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-showcase__header {
  text-align: center;
  margin-bottom: 5rem;
}

.features-showcase__list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.feature-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  align-items: center !important;
  justify-items: center !important;
  width: 100%;
}

.feature-row--reversed {
  direction: rtl;
}

.feature-row--reversed .feature-row__content,
.feature-row--reversed .feature-visual-card {
  direction: ltr;
}

.feature-row__content {
  width: 100%;
  max-width: 500px;
}

.feature-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--star-gold);
  margin-bottom: 1rem;
}

.feature-tag--violet {
  color: var(--accent);
}

.feature-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.feature-text {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn-arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --- TAROT FAN STAGE --- */
.tarot-stage {
  position: relative !important;
  width: 100% !important;
  max-width: 460px !important;
  height: 320px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

.tarot-slot {
  position: absolute !important;
  bottom: 20px !important;
  left: 50% !important;
  width: 100px !important;
  height: 156px !important;
  margin-left: -50px !important;
  transform-origin: 50% 360px !important;
  transform: rotate(var(--rot)) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.35s ease, z-index 0.35s ease !important;
  cursor: pointer;
}

.tarot-card {
  width: 100% !important;
  height: 100% !important;
  border-radius: 10px !important;
  background: radial-gradient(circle at 50% 30%, rgba(232, 198, 106, 0.25), transparent 60%), linear-gradient(160deg, #1d1330, #0c0817) !important;
  border: 1px solid rgba(232, 198, 106, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.tarot-card::before {
  content: '';
  width: 60%;
  height: 78%;
  border-radius: 6px;
  border: 1px solid rgba(232, 198, 106, 0.3);
}

.tarot-slot:hover {
  z-index: 50 !important;
}

.tarot-slot:hover .tarot-card {
  transform: translateY(-22px) scale(1.08) !important;
  box-shadow: 0 0 35px rgba(232, 198, 106, 0.6), 0 20px 35px rgba(0, 0, 0, 0.8) !important;
  border-color: var(--star-gold) !important;
}

/* --- IMAGE CARDS (Birth Chart & Maha Bot) --- */
.feature-visual-card {
  position: relative !important;
  width: 100% !important;
  max-width: 460px !important;
  aspect-ratio: 16 / 12 !important;
  border-radius: 18px !important;
  background: rgba(22, 10, 36, 0.45) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(155, 126, 222, 0.2) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease !important;
}

.feature-visual-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(232, 198, 106, 0.45) !important;
  box-shadow: 0 22px 50px rgba(35, 16, 58, 0.7), 0 0 30px rgba(232, 198, 106, 0.15) !important;
}

.feature-visual-card__img {
  width: 82% !important;
  height: 82% !important;
  object-fit: contain !important;
  position: relative !important;
  z-index: 2 !important;
  transition: transform 0.5s ease !important;
}

.feature-visual-card:hover .feature-visual-card__img {
  transform: scale(1.05) !important;
}

.feature-visual-card__glow {
  position: absolute !important;
  inset: -20px !important;
  border-radius: 50% !important;
  filter: blur(40px) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.feature-visual-card__glow--gold {
  background: radial-gradient(circle, rgba(232, 198, 106, 0.22) 0%, transparent 70%) !important;
}

.feature-visual-card__glow--violet {
  background: radial-gradient(circle, rgba(155, 126, 222, 0.25) 0%, transparent 70%) !important;
}

@media (max-width: 900px) {
  .feature-row,
  .feature-row--reversed {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 3rem !important;
  }
}