/* ==========================================================
   AURELIA STARS — OBSIDIAN BLACK & CHAMPAGNE GOLD LUXURY SYSTEM
   Pure White (#ffffff) + Apple Alabaster (#f6f5f2) + Champagne Gold
   Typography: Plus Jakarta Sans · Inter · Instrument Serif · JetBrains Mono
   ========================================================== */
:root {
  --bg-page: #ffffff;
  --bg-bento: #f6f5f2;
  --bg-glass: rgba(255, 255, 255, 0.84);
  --border-hairline: rgba(20, 20, 22, 0.08);
  --border-accent: rgba(184, 137, 51, 0.28);
  --border-strong: rgba(154, 109, 31, 0.56);

  /* Obsidian Ink Hierarchy */
  --text-main: #141416;
  --text-muted: #575552;
  --text-subtle: #827f7a;

  /* Disciplined Champagne Gold & Obsidian Palette */
  --apple-blue: #9a6d1f;
  --aurora-indigo: #9a6d1f;
  --aurora-violet: #b88933;
  --aurora-pink: #8c6219;
  --aurora-coral: #9a6d1f;
  --aurora-amber: #c89a42;
  --gold-bright: #9a6d1f;
  --gold-mid: #b88933;
  --star-cyan: #9a6d1f;
  --sign-accent: #c89a42;

  --aurora-gradient: linear-gradient(
    110deg,
    #785214 0%,
    #b88933 42%,
    #e2be6e 58%,
    #8c6219 100%
  );

  --aurora-soft: linear-gradient(
    135deg,
    rgba(184, 137, 51, 0.08) 0%,
    rgba(226, 190, 110, 0.09) 55%,
    rgba(20, 20, 22, 0.03) 100%
  );

  /* Unified Multi-Script Luxury Typography (Plus Jakarta Sans + Google Noto + Amiri) */
  --font-display: "Plus Jakarta Sans", "Noto Sans Devanagari", "Noto Sans Arabic", "Noto Sans Gurmukhi", "Noto Sans Gujarati", "Noto Sans Tamil", "Noto Sans Bengali", "Noto Sans Hebrew", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-sans: "Inter", "Noto Sans Devanagari", "Noto Sans Arabic", "Noto Sans Gurmukhi", "Noto Sans Gujarati", "Noto Sans Tamil", "Noto Sans Bengali", "Noto Sans Hebrew", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --font-serif: "Instrument Serif", "Amiri", "Noto Serif Devanagari", "Noto Serif Hebrew", "Noto Serif SC", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Live CSS Animation Variables */
  --speed-mult: 1;
  --outer-duration: calc(160s / var(--speed-mult));
  --inner-duration: calc(105s / var(--speed-mult));
  --glow-opacity: 0.9;
  --aura-scale: 1.03;
}

body[data-glow="subtle"] {
  --glow-opacity: 0.42;
  --aura-scale: 0.93;
}

body[data-glow="radiant"] {
  --glow-opacity: 0.92;
  --aura-scale: 1.04;
}

body[data-glow="eclipse"] {
  --glow-opacity: 1;
  --aura-scale: 1.08;
  --gold-bright: #141416;
  --gold-mid: #3f3f46;
  --border-accent: rgba(20, 20, 22, 0.22);
  --border-strong: rgba(20, 20, 22, 0.52);
}

/* SVG Burnished Champagne Gold Metallic Gradient Stops */
.stop-metal-1 { stop-color: #d4aa52; transition: stop-color 0.5s ease; }
.stop-metal-2 { stop-color: #9e7224; transition: stop-color 0.5s ease; }
.stop-metal-3 { stop-color: #6b490f; transition: stop-color 0.5s ease; }
.stop-metal-4 { stop-color: #c89a42; transition: stop-color 0.5s ease; }
.stop-soft-1  { stop-color: #c89a42; transition: stop-color 0.5s ease; }
.stop-soft-2  { stop-color: #8c6219; transition: stop-color 0.5s ease; }

body[data-glow="eclipse"] .stop-metal-1 { stop-color: #52525b; }
body[data-glow="eclipse"] .stop-metal-2 { stop-color: #27272a; }
body[data-glow="eclipse"] .stop-metal-3 { stop-color: #141416; }
body[data-glow="eclipse"] .stop-metal-4 { stop-color: #71717a; }
body[data-glow="eclipse"] .stop-soft-1  { stop-color: #52525b; }
body[data-glow="eclipse"] .stop-soft-2  { stop-color: #18181b; }

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #ffffff;
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================
   APPLE SCROLL REVEAL & MOTION
   ========================================== */
.apple-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.apple-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.apple-ticker-num {
  font-variant-numeric: tabular-nums;
}

/* ==========================================
   REACT BITS — GALAXY & CLICKSPARK
   ========================================== */
.rb-clickspark-root {
  position: relative;
  min-height: 100vh;
}

.rb-clickspark-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

.cosmos-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: #ffffff;
}

.rb-galaxy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Whisper-Soft Champagne Ambient Light on Pure White */
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(115px);
  opacity: calc(0.22 * var(--glow-opacity));
  animation: drift 26s ease-in-out infinite alternate;
}

.nebula--one {
  width: 50vw;
  height: 50vw;
  max-width: 680px;
  max-height: 680px;
  top: -18%;
  left: -10%;
  background: radial-gradient(circle, rgba(200, 154, 66, 0.24), rgba(226, 190, 110, 0.08) 54%, transparent 74%);
}

.nebula--two {
  width: 48vw;
  height: 48vw;
  max-width: 640px;
  max-height: 640px;
  bottom: -22%;
  right: -10%;
  background: radial-gradient(circle, rgba(184, 137, 51, 0.18), rgba(20, 20, 22, 0.05) 54%, transparent 74%);
  animation-delay: -11s;
}

/* ==========================================
   REACT BITS — SPOTLIGHT CARD
   ========================================== */
.rb-spotlight-card {
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(184, 137, 51, 0.11);
}

.rb-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x) var(--mouse-y),
    var(--spotlight-color),
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.rb-spotlight-card:hover::before {
  opacity: 1;
}

.rb-spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* ==========================================
   REACT BITS — STAR BORDER (APPLE AURORA PILL)
   ========================================== */
.rb-star-border {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border: none;
  border-radius: 999px;
  background: var(--aurora-gradient);
  overflow: hidden;
  cursor: pointer;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 22px rgba(184, 137, 51, 0.18);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.rb-star-border:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 30px rgba(184, 137, 51, 0.28);
}

.rb-star-border:active {
  transform: scale(0.98);
}

.rb-star-border__glow {
  position: absolute;
  width: 300%;
  height: 75%;
  opacity: 0.95;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.rb-star-border__glow--bottom {
  right: -250%;
  bottom: -14px;
  animation: rb-star-move-bottom 4.6s linear infinite alternate;
}

.rb-star-border__glow--top {
  left: -250%;
  top: -14px;
  animation: rb-star-move-top 4.6s linear infinite alternate;
}

.rb-star-border__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
}

.btn-star-full {
  width: 100%;
}

/* ==========================================
   REACT BITS — TILTED CARD & MAGNET
   ========================================== */
.rb-tilted-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

.rb-tilted-card__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.rb-magnet-wrap {
  display: inline-block;
}

.magnet-block {
  display: block;
  width: 100%;
}

.rb-magnet-inner {
  will-change: transform;
}

/* ==========================================
   REACT BITS — SHINY (AURORA GRADIENT), BLUR & DECRYPTED TEXT
   ========================================== */
.rb-shiny-text {
  display: inline-block;
  background: linear-gradient(
    110deg,
    #6e4a10 0%,
    #a87a26 30%,
    #e2be6e 50%,
    #a87a26 70%,
    #6e4a10 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rb-shine 5s linear infinite;
}

.rb-blur-text {
  display: inline;
}

.rb-blur-word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(6px);
  animation: rb-blur-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.rb-decrypted-text {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ==========================================
   APPLE.COM PORTAL SHELL & FROSTED NAVBAR
   ========================================== */
.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 3vw, 2.2rem);
}

/* Subtle Apple Ribbon Announcement Bar */
.cosmic-ticker {
  background: #f5f5f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.cosmic-ticker__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.32rem;
  padding-bottom: 0.32rem;
}

.ticker-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aurora-gradient);
  box-shadow: 0 0 10px rgba(184, 137, 51, 0.45);
}

.ticker-sep {
  opacity: 0.35;
}

.ticker-link,
.ticker-cta {
  color: var(--apple-blue);
  text-decoration: none;
  font-weight: 500;
}

.ticker-link:hover,
.ticker-cta:hover {
  text-decoration: underline;
}

/* Iconic Apple Frosted Glass Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #1d1d1f;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.98rem;
  box-shadow: 0 4px 14px rgba(184, 137, 51, 0.22);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 11px;
  background: var(--aurora-gradient);
  z-index: -1;
  opacity: 0.85;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .rb-shiny-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.44rem 0.78rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.045);
}

.nav-link.is-active {
  color: #ffffff;
  background: #1d1d1f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-hairline);
  background: #ffffff;
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
}

/* Main Content Stack */
.site-main {
  flex: 1;
  padding: 1.75rem 0 4.5rem;
}

.page-stack {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.glyph-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Clean AdSense / Mediavine Zero-CLS Containers */
.ad-slot {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.26rem;
}

.ad-slot__tag {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.ad-slot__box {
  width: 100%;
  border-radius: 18px;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  text-align: center;
  padding: 0.75rem;
}

.ad-slot--leaderboard .ad-slot__box {
  max-width: 780px;
  min-height: 90px;
}

.ad-slot--inarticle .ad-slot__box {
  min-height: 112px;
}

.ad-slot--rectangle .ad-slot__box {
  min-height: 250px;
}

.ad-slot__meta {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}

.ad-slot__hint {
  font-size: 0.65rem;
  color: #a1a1aa;
}

/* ==========================================
   APPLE DISPLAY TYPOGRAPHY & BUTTONS
   ========================================== */
.page-hero,
.hero-portal__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.hero-kicker,
.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aurora-indigo);
}

.hero-title,
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.08;
  color: var(--text-main);
}

.hero-title em,
.page-hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-subtitle,
.page-hero p {
  margin: 0;
  max-width: 650px;
  font-size: clamp(0.98rem, 1.3vw, 1.14rem);
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 400;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.section-heading-row h2,
.transits-section h2,
.sub-heading {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.text-link {
  color: var(--apple-blue);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
}

/* Refined Neutral & Champagne Element Pills (Zero Neon) */
.element-pill {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 22, 0.08);
}

.element-pill--sm {
  font-size: 0.58rem;
  padding: 0.14rem 0.48rem;
}

.element-pill[data-element="Fire"]  { color: #8c5a18; background: #fbf4e6; border-color: rgba(184, 137, 51, 0.26); }
.element-pill[data-element="Earth"] { color: #3f4a3c; background: #f2f4f0; border-color: rgba(63, 74, 60, 0.18); }
.element-pill[data-element="Air"]   { color: #3b4252; background: #f3f4f6; border-color: rgba(59, 66, 82, 0.16); }
.element-pill[data-element="Water"] { color: #27272a; background: #f4f3f0; border-color: rgba(39, 39, 42, 0.16); }

/* Apple Pill Buttons */
.btn {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.68rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.16);
}

.btn--dark {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
  box-shadow: 0 8px 22px rgba(29, 29, 31, 0.18);
}

.btn--dark:hover {
  background: #333336;
  border-color: #333336;
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 0.48rem 0.92rem;
  font-size: 0.76rem;
}

.btn--gold-sm {
  padding: 0.52rem 1.05rem;
  font-size: 0.78rem;
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
}

.btn--gold-sm:hover {
  background: #333336;
}

.btn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

body[data-paused="true"] .btn-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.55);
}

/* ==========================================
   HOME: 12-SIGN APPLE BENTO GRID
   ========================================== */
.hero-portal {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.home-signs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9rem;
}

.sign-portal-card-wrap {
  border-radius: 24px;
}

.sign-portal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.38rem;
  padding: 1.25rem 0.7rem;
  border-radius: 24px;
  text-decoration: none;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.sign-portal-card:hover {
  background: #ffffff;
  border-color: rgba(184, 137, 51, 0.44);
  box-shadow: 0 18px 38px rgba(20, 20, 22, 0.08);
}

.sign-portal-card__glyph {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(184, 137, 51, 0.22);
  color: #141416;
  display: grid;
  place-items: center;
  margin-bottom: 0.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.sign-portal-card:hover .sign-portal-card__glyph {
  transform: scale(1.06);
  background: #141416;
  color: #e2be6e;
}

.sign-portal-card__name {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.sign-portal-card__dates {
  font-size: 0.69rem;
  color: var(--text-subtle);
}

/* HOME: Apple Bento Astrolabe Showcase */
.astrolabe-feature {
  display: grid;
  grid-template-columns: minmax(290px, 1fr) minmax(300px, 1.08fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  background: linear-gradient(155deg, #fbfbfd 0%, #f5f5f7 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 32px;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.05);
}

.astrolabe-feature__wheel {
  position: relative;
  display: grid;
  place-items: center;
}

.wheel-aura {
  position: absolute;
  width: min(76%, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 154, 66, 0.22) 0%,
    rgba(226, 190, 110, 0.1) 46%,
    transparent 74%
  );
  filter: blur(46px);
  opacity: calc(0.75 * var(--glow-opacity));
  transform: scale(var(--aura-scale));
  animation: aura-breathe 8s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.wheel-aura--inline {
  width: 84%;
}

.wheel-aura.is-warping {
  opacity: 1;
  transform: scale(1.22);
}

.wheel-parallax-shell {
  width: min(100%, 660px);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.zodiac-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 18px 38px rgba(15, 23, 42, 0.09));
}

.astrolabe-feature__info {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.feature-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.14;
}

.feature-copy {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.48rem;
  line-height: 1.42;
  color: #2c2c2e;
}

.mini-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.mini-metric {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 0.82rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.mini-metric span {
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

.mini-metric strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-main);
  font-weight: 700;
}

.feature-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.micro-note,
.micro-hint {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* HOME: Apple Bento Tools Grid */
.portal-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.portal-tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  text-decoration: none;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 26px;
  padding: 1.5rem;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.portal-tool-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: rgba(184, 137, 51, 0.42);
  box-shadow: 0 22px 46px rgba(20, 20, 22, 0.08);
}

.portal-tool-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #141416;
  color: #e2be6e;
  display: grid;
  place-items: center;
  font-size: 1.22rem;
  box-shadow: 0 8px 20px rgba(20, 20, 22, 0.16);
}

.portal-tool-card__eyebrow {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apple-blue);
}

.portal-tool-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.portal-tool-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.56;
  color: var(--text-muted);
  flex: 1;
}

.portal-tool-card__cta {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--apple-blue);
}

/* ==========================================
   SVG + CSS ZODIAC WHEEL ANIMATIONS
   ========================================== */
.rotator {
  transform-box: view-box;
  transform-origin: 400px 400px;
  will-change: transform;
}

.rotator--outer {
  animation: spin-cw var(--outer-duration) linear infinite;
}

.rotator--inner {
  animation: spin-ccw var(--inner-duration) linear infinite;
}

body[data-paused="true"] .rotator {
  animation-play-state: paused;
}

.zodiac-svg:hover .rotator--outer {
  animation-play-state: paused;
}

.dome-pulse {
  transform-box: view-box;
  transform-origin: 400px 400px;
  animation: dome-glow 6s ease-in-out infinite;
}

.degree-ticks,
.constellation-lines-group {
  transition: opacity 0.4s ease;
}

.degree-ticks.is-hidden,
.constellation-lines-group.is-hidden {
  opacity: 0;
}

.zodiac-sector {
  cursor: pointer;
  outline: none;
}

.sector-wedge {
  fill: transparent;
  transition: fill 0.3s ease;
}

.zodiac-sector:hover .sector-wedge,
.zodiac-sector:focus-visible .sector-wedge {
  fill: rgba(184, 137, 51, 0.09);
}

.zodiac-sector.is-natal .sector-wedge {
  fill: rgba(0, 113, 227, 0.08);
}

.zodiac-sector.is-active .sector-wedge {
  fill: url(#active-sector-grad);
}

.sector-glyph {
  fill: none;
  stroke: url(#gold-metallic);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
  transition: stroke 0.28s ease, stroke-width 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
}

.zodiac-sector:hover .sector-glyph,
.zodiac-sector:focus-visible .sector-glyph {
  stroke: #9a6d1f;
  stroke-width: 2.45;
  opacity: 1;
}

.zodiac-sector.is-active .sector-glyph {
  stroke: #1d1d1f;
  stroke-width: 2.55;
  opacity: 1;
  filter: url(#glow-soft);
}

.sector-label {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  fill: #4b5563;
  opacity: 0.85;
  text-anchor: middle;
  transition: fill 0.3s ease, opacity 0.3s ease;
  user-select: none;
}

.zodiac-sector:hover .sector-label,
.zodiac-sector.is-active .sector-label {
  fill: #1d1d1f;
  opacity: 1;
}

.natal-aspect-triangle {
  animation: fade-up-svg 0.65s ease forwards;
}

.bg-star {
  fill: #e0e7ff;
  animation: star-twinkle var(--twinkle-dur, 4.5s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
}

.constellation-line {
  fill: none;
  stroke: url(#constellation-line-grad);
  stroke-width: 1.75;
  stroke-linecap: round;
  filter: url(#glow-soft);
  stroke-dasharray: var(--line-len, 180);
  stroke-dashoffset: var(--line-len, 180);
  animation: draw-constellation 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--line-delay, 0s);
}

.constellation-line--glow {
  fill: none;
  stroke: rgba(226, 190, 110, 0.34);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: var(--line-len, 180);
  stroke-dashoffset: var(--line-len, 180);
  animation: draw-constellation 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    line-pulse 4.5s ease-in-out 1s infinite;
  animation-delay: var(--line-delay, 0s), 1s;
}

.constellation-star-group {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: star-appear 0.55s ease-out forwards;
  animation-delay: var(--star-delay, 0s);
}

.constellation-star-core {
  fill: #fffdf6;
  filter: url(#star-bloom);
}

.constellation-star-halo {
  fill: rgba(226, 190, 110, 0.38);
  animation: star-halo-pulse 3.6s ease-in-out infinite;
  animation-delay: var(--star-delay, 0s);
}

.constellation-star-flare {
  stroke: #f5dfb0;
  stroke-width: 0.95;
  stroke-linecap: round;
  opacity: 0.92;
}

.constellation-caption {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 4px;
  fill: rgba(241, 245, 249, 0.9);
  text-anchor: middle;
  opacity: 0;
  animation: fade-up-svg 0.6s ease 0.25s forwards;
}

/* ==========================================
   EDITORIAL 2-COLUMN & HOROSCOPES
   ========================================== */
.sign-strip {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.35rem 0.1rem;
  scrollbar-width: thin;
}

.sign-strip__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  padding: 0.52rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.sign-strip__btn:hover {
  border-color: rgba(184, 137, 51, 0.42);
  color: var(--text-main);
}

.sign-strip__btn.is-active {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.9rem;
  align-items: start;
}

.editorial-main {
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
}

.editorial-sidebar {
  position: sticky;
  top: 78px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.period-tabs,
.filter-bar {
  display: inline-flex;
  gap: 0.28rem;
  flex-wrap: wrap;
  padding: 5px;
  border-radius: 999px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: fit-content;
}

.filter-bar {
  margin: 0 auto;
}

.period-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.22s ease;
}

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

.period-tab.is-active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Featured Horoscope & Compatibility Cards */
.horoscope-hero-card,
.compat-result-card {
  background: linear-gradient(155deg, #ffffff 0%, #f8f8fb 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 28px;
  padding: clamp(1.35rem, 2.8vw, 2.15rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.horoscope-hero-card__top,
.compat-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.sign-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #f5f5f7;
  border: 1px solid rgba(184, 137, 51, 0.26);
  color: var(--aurora-indigo);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(184, 137, 51, 0.1);
}

.sign-badge--lg {
  width: 66px;
  height: 66px;
  border-radius: 20px;
}

.horoscope-hero-card__meta {
  flex: 1;
  min-width: 220px;
}

.title-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.42rem;
}

.horoscope-h1,
.compat-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.horoscope-date {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: var(--apple-blue);
  font-weight: 500;
}

.cosmic-score-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid transparent;
  background-image: linear-gradient(#ffffff, #ffffff), var(--aurora-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 26px rgba(184, 137, 51, 0.16);
}

.cosmic-score-ring--lg {
  width: 98px;
  height: 98px;
}

.cosmic-score-ring strong {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1;
}

.cosmic-score-ring span {
  font-size: 0.56rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-top: 0.22rem;
}

.horoscope-lead {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.44;
  color: #1d1d1f;
}

.affirmation-quote {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: var(--aurora-soft);
  border: 1px solid rgba(184, 137, 51, 0.2);
}

.affirmation-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aurora-indigo);
  margin-bottom: 0.28rem;
}

.affirmation-quote p {
  margin: 0;
  font-style: italic;
  font-size: 0.96rem;
  color: var(--text-main);
}

/* Score Bars */
.score-bars-card {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 22px;
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.6rem;
}

.score-bars-card--flat {
  background: #f5f5f7;
}

.score-bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.score-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.score-bar-head strong {
  font-family: var(--font-display);
  color: var(--text-main);
  font-weight: 700;
}

.score-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Category Readings Grid */
.category-readings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.05rem;
}

.reading-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 22px;
  padding: 1.35rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.reading-box h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.48rem;
  color: var(--text-main);
}

.reading-box__icon {
  color: var(--aurora-violet);
}

.reading-box p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.62;
  color: var(--text-muted);
}

/* Lucky Signals */
.lucky-signals-card {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 24px;
  padding: 1.35rem 1.45rem;
}

.lucky-signals-card h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lucky-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.lucky-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lucky-item span {
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

.lucky-item strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.lucky-item--link strong {
  color: var(--apple-blue);
}

.lucky-item--link:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.1);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sidebar-widget h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.widget-copy {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.54;
  color: var(--text-muted);
}

.select-input,
.field input {
  width: 100%;
  padding: 0.62rem 0.82rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color-scheme: light;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-input:focus,
.field input:focus {
  outline: none;
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.65rem;
}

.stack-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* ==========================================
   BIRTH CHART STUDIO PAGE
   ========================================== */
.studio-embedded {
  display: grid;
  grid-template-columns: minmax(310px, 1.22fr) minmax(320px, 435px);
  gap: clamp(1.5rem, 3.2vw, 3rem);
  align-items: center;
}

.wheel-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.stage-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.44rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.ribbon-star {
  color: var(--aurora-violet);
}

.ribbon-sep {
  color: #d1d5db;
}

.ribbon-coords {
  color: var(--apple-blue);
}

.stage-hint {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  text-align: center;
}

.inspector {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  padding: 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.05);
}

.panel-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.chart-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.triad-results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.triad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.triad-card-wrap {
  border-radius: 18px;
}

.triad-card {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: #ffffff;
  color: var(--text-main);
  border-radius: 18px;
  padding: 0.85rem 0.45rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.36rem;
  font-family: var(--font-display);
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.triad-card path {
  fill: none;
  stroke: var(--aurora-indigo);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.triad-card.is-active {
  border-color: var(--aurora-indigo);
  box-shadow: 0 8px 22px rgba(184, 137, 51, 0.18);
}

.triad-role {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apple-blue);
}

.triad-card strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
}

.triad-card small {
  font-size: 0.66rem;
  color: var(--text-subtle);
}

.controls-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.controls-panel--divider {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.controls-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0.6rem;
  align-items: center;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.control-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--apple-blue);
  cursor: pointer;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}

.seg-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.42rem 0.45rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seg-btn.is-active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.toggles-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.switch input {
  accent-color: var(--apple-blue);
  cursor: pointer;
}

.natal-report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.natal-report-card {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 26px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.natal-report-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.natal-report-card__head h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.natal-report-copy {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.62;
  color: #3a3a3c;
  flex: 1;
}

.trait-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.bit-pill {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

/* ==========================================
   COMPATIBILITY PAGE
   ========================================== */
.compat-selector-card {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 1.4rem;
}

.compat-pickers {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.1rem;
  align-items: center;
}

.compat-picker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.compat-picker .field {
  flex: 1;
}

.compat-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.compat-heart {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #141416;
  color: #e2be6e;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(20, 20, 22, 0.16);
}

.compat-bridge small {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-subtle);
}

.popular-pairs-grid {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pair-pill {
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: #ffffff;
  color: var(--text-main);
  padding: 0.52rem 1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.pair-pill:hover,
.pair-pill.is-active {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
}

/* ==========================================
   TAROT PAGE
   ========================================== */
.tarot-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tarot-action-btns {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tarot-question-bar {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 1.1rem 1.3rem;
}

.tarot-fan-section {
  text-align: center;
  padding: 1.5rem 0 2.2rem;
}

.tarot-prompt {
  margin: 0 0 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tarot-fan {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tarot-back-card {
  position: relative;
  width: 98px;
  height: 156px;
  border-radius: 18px;
  border: 1.5px solid rgba(200, 154, 66, 0.58);
  background: linear-gradient(155deg, #1b1a18 0%, #111113 60%, #1d1a15 100%);
  color: #e8cb82;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 14px 30px rgba(20, 20, 22, 0.22);
  transform: rotate(calc(var(--fan-idx, 0) * 2.2deg));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, opacity 0.25s ease;
}

.tarot-back-card:hover:not(:disabled) {
  transform: translateY(-18px) scale(1.07) rotate(0deg);
  box-shadow: 0 24px 42px rgba(184, 137, 51, 0.3);
  z-index: 4;
}

.tarot-back-card.is-picked {
  opacity: 0.22;
  cursor: default;
  transform: scale(0.92);
}

.tarot-back-ornament {
  font-size: 1.5rem;
}

.tarot-back-ring {
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.tarot-back-card small {
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.85;
}

.tarot-spread-grid {
  display: grid;
  gap: 1.3rem;
  justify-content: center;
}

.tarot-spread-grid--1 {
  grid-template-columns: minmax(290px, 490px);
}

.tarot-spread-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.tarot-revealed-card {
  background: #ffffff;
  border: 1px solid rgba(184, 137, 51, 0.32);
  border-radius: 28px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  box-shadow: 0 20px 48px rgba(20, 20, 22, 0.08);
  animation: tarot-rise 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tarot-revealed-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.orient-pill {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: #e8fbf3;
  color: #059669;
}

.orient-pill.is-rev {
  background: #fff1f2;
  color: #e11d48;
}

.tarot-art-frame {
  border-radius: 20px;
  padding: 1.45rem 1rem;
  background: var(--aurora-soft);
  border: 1px solid rgba(184, 137, 51, 0.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.tarot-roman {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--aurora-indigo);
}

.tarot-emblem-svg {
  width: 84px;
  height: 84px;
  transition: transform 0.5s ease;
}

.tarot-art-frame.is-reversed .tarot-emblem-svg {
  transform: rotate(180deg);
}

.tarot-emblem-svg path {
  fill: none;
  stroke: #9a6d1f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tarot-card-title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.yesno-verdict {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  background: #fbf5e8;
  border: 1px solid rgba(184, 137, 51, 0.35);
}

.yesno-verdict span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8c6219;
}

.yesno-verdict strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #141416;
}

.tarot-meaning {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.42;
  color: var(--text-main);
}

.tarot-sub-notes {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.tarot-sub-notes strong {
  color: var(--text-main);
}

/* ==========================================
   MOON PHASES PAGE
   ========================================== */
.moon-hero-card {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
  background: linear-gradient(155deg, #fbfbfd 0%, #f5f5f7 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.05);
}

.moon-hero-card__visual {
  display: grid;
  place-items: center;
}

.moon-dial-svg {
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 16px 28px rgba(30, 27, 75, 0.18));
}

.moon-hero-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.moon-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.calendar-grid,
.transits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.calendar-card,
.transit-card {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 24px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.calendar-card__top,
.transit-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--aurora-indigo);
}

.calendar-card h3 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.calendar-date {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--apple-blue);
}

.calendar-vibe,
.transit-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.54;
  color: var(--text-muted);
}

.status-pill {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.16rem 0.56rem;
  border-radius: 999px;
  background: #e8fbf3;
  color: #059669;
}

/* ==========================================
   ZODIAC ENCYCLOPEDIA PAGE
   ========================================== */
.encyclopedia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.encyc-card-wrap {
  border-radius: 26px;
}

.encyc-card {
  height: 100%;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 26px;
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.encyc-card:hover {
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(20, 20, 22, 0.08);
}

.encyc-card__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.sign-title-row {
  display: flex;
  align-items: center;
  gap: 0.52rem;
}

.sign-title-row h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sign-dates {
  margin: 0.18rem 0 0;
  font-size: 0.77rem;
  color: var(--text-subtle);
}

.encyc-copy {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: #3a3a3c;
  flex: 1;
}

.encyc-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 0;
  padding: 0.78rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.encyc-meta dt {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

.encyc-meta dd {
  margin: 0.14rem 0 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.encyc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ==========================================
   APPLE-CLEAN FOOTER
   ========================================== */
.site-footer {
  background: #f5f5f7;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding: 3.25rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.85fr;
  gap: 2.4rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 380px;
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.56rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.newsletter-success {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #059669;
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
}

.footer-signs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem 0.8rem;
}

.footer-signs-grid a,
.footer-links a {
  text-decoration: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-signs-grid a:hover,
.footer-links a:hover {
  color: var(--apple-blue);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.74rem;
  color: var(--text-subtle);
}

.footer-legal {
  display: inline-flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

/* ==========================================
   KEYFRAMES & RESPONSIVE
   ========================================== */
@keyframes rb-shine {
  0%   { background-position: 200% center; }
  100% { background-position: -40% center; }
}

@keyframes rb-blur-in {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes rb-star-move-bottom {
  0%   { transform: translate(0%, 0%); opacity: 1; }
  100% { transform: translate(-100%, 0%); opacity: 0.3; }
}

@keyframes rb-star-move-top {
  0%   { transform: translate(0%, 0%); opacity: 1; }
  100% { transform: translate(100%, 0%); opacity: 0.3; }
}

@keyframes spin-cw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spin-ccw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes aura-breathe {
  0%, 100% {
    opacity: calc(0.66 * var(--glow-opacity));
    transform: scale(calc(var(--aura-scale) * 0.96));
  }
  50% {
    opacity: calc(0.92 * var(--glow-opacity));
    transform: scale(calc(var(--aura-scale) * 1.05));
  }
}

@keyframes dome-glow {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.95; }
}

@keyframes draw-constellation {
  to { stroke-dashoffset: 0; }
}

@keyframes line-pulse {
  0%, 100% { opacity: 0.38; }
  50% { opacity: 0.85; }
}

@keyframes star-appear {
  from { opacity: 0; transform: scale(0.35); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes star-halo-pulse {
  0%, 100% { opacity: 0.34; }
  50% { opacity: 0.82; }
}

@keyframes fade-up-svg {
  from { opacity: 0; }
  to   { opacity: 0.92; }
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(32px, -22px) scale(1.08); }
}

@keyframes tarot-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1080px) {
  .home-signs-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .portal-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .editorial-sidebar {
    position: static;
  }

  .studio-embedded,
  .astrolabe-feature,
  .natal-report-grid,
  .tarot-spread-grid--3,
  .calendar-grid,
  .transits-grid,
  .encyclopedia-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .moon-hero-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .moon-hero-card__body .feature-actions {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.85rem 1.25rem 1.2rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.09);
  }

  .site-nav.is-open {
    display: flex;
  }

  .home-signs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mini-metrics-grid,
  .lucky-grid,
  .score-bars-card,
  .category-readings-grid,
  .compat-pickers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .home-signs-grid,
  .portal-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rotator,
  .wheel-aura,
  .nebula,
  .bg-star,
  .dome-pulse,
  .constellation-star-halo,
  .constellation-line--glow,
  .rb-shiny-text,
  .rb-star-border__glow {
    animation: none !important;
  }

  .apple-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .constellation-line,
  .constellation-line--glow {
    stroke-dashoffset: 0;
  }

  .constellation-star-group,
  .constellation-caption,
  .rb-blur-word {
    opacity: 1;
    filter: none;
    transform: none;
  }
}


/* ==========================================
   BESPOKE CELESTIAL EYE AURA LOGO & FINE-LINE ICONS
   ========================================== */
.brand-eye-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-eye-svg {
  display: block;
  overflow: visible;
  filter: drop-shadow(0 4px 12px rgba(184, 137, 51, 0.2));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-logo:hover .brand-eye-svg {
  transform: scale(1.06);
}

.brand-eye-svg.is-animated .eye-aura-pulse {
  transform-box: view-box;
  transform-origin: 32px 32px;
  animation: eye-aura-breathe 5.2s ease-in-out infinite;
}

.hero-eye-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 26px;
  background: linear-gradient(155deg, #ffffff 0%, #f6f5f2 100%);
  border: 1px solid rgba(184, 137, 51, 0.26);
  box-shadow: 0 14px 34px rgba(20, 20, 22, 0.08), inset 0 1px 0 #ffffff;
  margin-bottom: 0.35rem;
}

.astro-svg-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.inline-icon {
  margin-right: 0.22rem;
  transform: translateY(-1px);
}

.ticker-link,
.affirmation-label,
.triad-role,
.period-tab,
.footer-logo,
.transit-planet-title {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.tarot-note-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.tarot-note-row .astro-svg-icon {
  margin-top: 2px;
  color: var(--aurora-indigo);
}

.tarot-back-ornament .brand-eye-svg {
  filter: drop-shadow(0 0 10px rgba(226, 190, 110, 0.4));
}

@keyframes eye-aura-breathe {
  0%, 100% {
    opacity: 0.7;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-eye-svg.is-animated .eye-aura-pulse {
    animation: none !important;
  }
}


/* ==========================================
   REAL EPHEMERIS TABLE & BACKEND CONTROLS
   ========================================== */
.engine-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.text-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.ephemeris-card {
  background: #ffffff;
  border: 1px solid var(--border-accent);
  border-radius: 26px;
  padding: 1.5rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 12px 34px rgba(20, 20, 22, 0.045);
}

.ephemeris-table-wrap {
  overflow-x: auto;
}

.ephemeris-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.ephemeris-table th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(20, 20, 22, 0.09);
}

.ephemeris-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(20, 20, 22, 0.055);
  color: var(--text-main);
}

.ephemeris-table tbody tr {
  cursor: pointer;
  transition: background 0.18s ease;
}

.ephemeris-table tbody tr:hover,
.ephemeris-table tbody tr.is-highlighted {
  background: #fbf7ee;
}

.eph-planet {
  font-family: var(--font-display);
  font-weight: 700;
}

.eph-sign {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.eph-deg {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.eph-domain {
  color: var(--text-muted);
}

.motion-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.56rem;
  border-radius: 999px;
  background: #f4f4f2;
  color: #3f4a3c;
}

.motion-pill.is-rx,
.status-pill.is-rx {
  background: #141416;
  color: #e2be6e;
}


/* ==========================================
   SACRED BOOKS LIBRARY & DAILY PRAYER SANCTUARY
   ========================================== */
.ticker-right {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.path-switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.16rem 0.62rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(184, 137, 51, 0.32);
  color: var(--text-main);
  font-size: 0.72rem;
}

.path-switcher-label {
  color: var(--text-subtle);
  font-weight: 500;
}

.path-switcher-pill select {
  border: none;
  background: transparent;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  padding-right: 0.15rem;
}

.sacred-library-section {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.sacred-library-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sacred-library-sub {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.sacred-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 0.9rem;
}

.sacred-book-wrap {
  border-radius: 22px;
}

.sacred-book-card {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  padding: 1.15rem 1rem 1.15rem 1.3rem;
  border-radius: 22px;
  border: 1px solid rgba(20, 20, 22, 0.08);
  background: linear-gradient(160deg, #ffffff 0%, #f7f5f0 100%);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: inherit;
  box-shadow: 0 6px 20px rgba(20, 20, 22, 0.04);
  transition: border-color 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

/* Tactile hardcover book spine binding accent */
.sacred-book-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: linear-gradient(180deg, #d4aa52 0%, #8c6219 100%);
  opacity: 0.35;
  transition: opacity 0.25s ease, width 0.25s ease;
}

.sacred-book-card:hover {
  border-color: rgba(184, 137, 51, 0.45);
  box-shadow: 0 16px 34px rgba(20, 20, 22, 0.08);
}

.sacred-book-card:hover .sacred-book-spine {
  opacity: 0.8;
}

.sacred-book-card.is-selected {
  background: linear-gradient(160deg, #1b1a18 0%, #141416 100%);
  border-color: rgba(212, 170, 82, 0.65);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(20, 20, 22, 0.22);
}

.sacred-book-card.is-selected .sacred-book-spine {
  opacity: 1;
  width: 7px;
}

.sacred-book-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.sacred-book-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(184, 137, 51, 0.26);
  color: #141416;
  display: grid;
  place-items: center;
}

.sacred-book-card.is-selected .sacred-book-icon {
  background: rgba(226, 190, 110, 0.14);
  border-color: rgba(226, 190, 110, 0.45);
  color: #e5c273;
}

.sacred-active-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: rgba(226, 190, 110, 0.2);
  color: #e5c273;
}

.sacred-book-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sacred-book-tradition {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.sacred-book-card.is-selected .sacred-book-tradition {
  color: #d9b462;
}

.sacred-book-tagline {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.sacred-book-card.is-selected .sacred-book-tagline {
  color: rgba(255, 255, 255, 0.72);
}

/* Today's Sacred Reading & Prayer Sanctuary Card */
.sacred-sanctuary-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.8rem;
  align-items: center;
  background: linear-gradient(155deg, #ffffff 0%, #f8f6f1 100%);
  border: 1px solid rgba(184, 137, 51, 0.34);
  border-radius: 28px;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  box-shadow: 0 18px 46px rgba(20, 20, 22, 0.06);
}

.sacred-verse {
  margin: 0.55rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.78rem);
  line-height: 1.38;
  color: var(--text-main);
}

.sacred-sanctuary__right {
  padding-left: 1.6rem;
  border-left: 1px solid rgba(184, 137, 51, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sacred-prayer-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
}

.sacred-prayer-actions {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-signs-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Inline Sacred Companions on Horoscopes & Moon Phases */
.sacred-inline-banner,
.sacred-lunar-note {
  background: #fbf8f1;
  border: 1px solid rgba(184, 137, 51, 0.28);
  border-radius: 20px;
  padding: 1.15rem 1.35rem;
}

.sacred-inline-verse {
  margin: 0.45rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.42;
  color: var(--text-main);
}

.sacred-lunar-note p {
  margin: 0.3rem 0 0;
  font-size: 0.86rem;
  line-height: 1.56;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .sacred-sanctuary-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .sacred-sanctuary__right {
    padding-left: 0;
    padding-top: 1.15rem;
    border-left: none;
    border-top: 1px solid rgba(184, 137, 51, 0.22);
  }
}


/* ==========================================
   SACRED BOOK STUDIO PHOTOGRAPH GALLERY CARDS
   ========================================== */
.sacred-books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.05rem;
}

.sacred-book-card {
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  gap: 0;
}

.sacred-book-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 20, 22, 0.06);
}

.sacred-book-card.is-selected .sacred-book-media {
  border-bottom-color: rgba(226, 190, 110, 0.25);
}

.sacred-book-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.sacred-book-card:hover .sacred-book-photo {
  transform: scale(1.06);
}

.sacred-active-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: #141416;
  color: #e5c273;
  border: 1px solid rgba(226, 190, 110, 0.55);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.sacred-book-body {
  padding: 0.95rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
}

.sacred-sanctuary__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.4rem;
}

.sacred-sanctuary-thumb {
  width: 68px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(184, 137, 51, 0.32);
  background: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(20, 20, 22, 0.08);
}

.sacred-sanctuary-booklabel {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.14rem;
}

.sacred-inline-banner--with-photo {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.sacred-inline-thumb {
  width: 82px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(184, 137, 51, 0.32);
  background: #ffffff;
  flex-shrink: 0;
}

@media (max-width: 1080px) {
  .sacred-books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .sacred-books-grid {
    grid-template-columns: 1fr;
  }

  .sacred-inline-banner--with-photo {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================
   OFFICIAL REACT BITS WEBGL2 GALAXY & ENERGY BOOKS GATEWAY
   ========================================== */
.galaxy-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.galaxy-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.cosmos-backdrop .galaxy-container {
  position: absolute;
  inset: 0;
}

/* Full-Bleed Star Gateway Hero on Home */
.galaxy-gateway {
  position: relative;
  width: 100%;
  min-height: clamp(640px, 86vh, 880px);
  margin-top: -1.75rem;
  background: #060608;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.2rem) 0 clamp(3rem, 6vw, 4.8rem);
  border-bottom: 1px solid rgba(212, 170, 82, 0.24);
}

.galaxy-gateway__bg {
  position: absolute !important;
  inset: 0;
  z-index: 0;
}

.galaxy-gateway::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 6, 8, 0.65) 60%, rgba(6, 6, 8, 0.94) 100%);
  pointer-events: none;
  z-index: 1;
}

.galaxy-gateway__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 3.8vw, 3rem);
}

.gateway-header {
  text-align: center;
  width: 100%;
  max-width: min(780px, 100%);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.68rem;
}

.gateway-eye-crest {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 190, 110, 0.35);
  backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  box-shadow: 0 0 36px rgba(200, 154, 66, 0.28);
}

.gateway-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gateway-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.036em;
  line-height: 1.08;
  color: #ffffff;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
}

.gateway-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #f0d084;
}

.gateway-subtitle {
  margin: 0;
  max-width: 610px;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.56;
  color: rgba(255, 255, 255, 0.76);
}

/* Levitating Energy Books Grid Inside the Stars (Uncropped 4:3 Studio Framing) */
.energy-books-stage {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.energy-book-float {
  width: calc((100% - 3.75rem) / 4);
  min-width: 210px;
  animation: book-levitate 5.8s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.energy-book-tilt {
  border-radius: 22px;
  overflow: visible;
}

.energy-book-btn {
  position: relative;
  width: 100%;
  padding: 0.8rem 0.7rem 0.95rem;
  border-radius: 22px;
  border: 1px solid rgba(226, 190, 110, 0.26);
  background: rgba(16, 16, 20, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.62rem;
  font-family: inherit;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.35s ease;
}

.energy-book-btn:hover {
  border-color: rgba(240, 208, 132, 0.85);
  background: rgba(24, 22, 18, 0.82);
  box-shadow: 0 0 38px rgba(212, 170, 82, 0.34), 0 18px 36px rgba(0, 0, 0, 0.55);
}

.energy-book-btn.is-selected {
  border-color: #f0d084;
  background: rgba(28, 24, 17, 0.88);
  box-shadow: 0 0 46px rgba(212, 170, 82, 0.45), inset 0 0 24px rgba(212, 170, 82, 0.14);
}

/* Radiant Golden Energy Aura Behind Each Floating Book */
.energy-aura-glow {
  position: absolute;
  inset: -14px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 42%, var(--energy-color, #d4aa52), transparent 68%);
  opacity: 0.22;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: energy-pulse 4.2s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  transition: opacity 0.3s ease;
}

.energy-book-btn:hover .energy-aura-glow,
.energy-book-btn.is-selected .energy-aura-glow {
  opacity: 0.5;
}

/* Subtle Orbiting Sacred Energy Ring */
.energy-orbit-ring {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 118%;
  height: 70%;
  transform: translateX(-50%) rotate(-10deg);
  border-radius: 50%;
  border: 1px dashed rgba(240, 208, 132, 0.3);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.energy-book-btn:hover .energy-orbit-ring,
.energy-book-btn.is-selected .energy-orbit-ring {
  opacity: 0.95;
  border-color: rgba(240, 208, 132, 0.7);
}

/* Original Book Poster Cover Inside the Energy Field (Full Uncropped 4:3 Framing) */
.energy-book-poster {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #141312;
  border: 1.5px solid rgba(240, 208, 132, 0.55);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.58), 0 0 18px rgba(212, 170, 82, 0.25);
}

.energy-book-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.energy-book-btn:hover .energy-book-img {
  transform: scale(1.08);
}

.energy-book-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 20%,
    rgba(255, 244, 206, 0.22) 48%,
    transparent 74%
  );
  transform: translateX(-120%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.energy-book-btn:hover .energy-book-sheen {
  transform: translateX(120%);
}

.energy-active-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.46rem;
  border-radius: 999px;
  background: #141416;
  color: #f0d084;
  border: 1px solid rgba(240, 208, 132, 0.65);
}

.energy-religion-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-align: center;
}

.energy-enter-hint {
  position: relative;
  z-index: 1;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5c273;
  opacity: 0.88;
}

.white-portal-body {
  padding-top: 2.5rem;
}

@keyframes book-levitate {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

@keyframes energy-pulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.44;
    transform: scale(1.06);
  }
}

@media (max-width: 980px) {
  .energy-book-float {
    width: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 560px) {
  .energy-book-float {
    width: 100%;
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .energy-book-float,
  .energy-aura-glow {
    animation: none !important;
  }
}


/* ==========================================
   TAROT QUESTION + OK FLOW & FULL-BLEED CARD PHOTOS
   ========================================== */
.tarot-question-form {
  width: 100%;
}

.tarot-input-row {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
}

.tarot-input-row input {
  flex: 1;
}

.tarot-ok-btn {
  min-width: 96px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.tarot-sealed-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tarot-sealed-text {
  margin: 0.25rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-style: italic;
  color: var(--text-main);
}

.tarot-fan-section.is-locked .tarot-prompt {
  color: var(--gold-bright);
  font-weight: 600;
}

.tarot-back-card.is-locked {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.tarot-asked-box {
  background: #f6f5f2;
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.tarot-asked-box span {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
}

.tarot-asked-box strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-main);
}

.tarot-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.7;
  border-radius: 18px;
  overflow: hidden;
  background: #141416;
  border: 1.5px solid rgba(200, 154, 66, 0.55);
  box-shadow: 0 14px 32px rgba(20, 20, 22, 0.16);
}

.tarot-photo-img,
.tarot-deco-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.tarot-photo-frame.is-reversed .tarot-photo-img,
.tarot-photo-frame.is-reversed .tarot-deco-svg {
  transform: rotate(180deg);
}

.tarot-photo-roman {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  background: rgba(14, 14, 16, 0.84);
  color: #f0d084;
  border: 1px solid rgba(226, 190, 110, 0.5);
  backdrop-filter: blur(8px);
}

.tarot-card-title--center {
  text-align: center;
  font-size: 1.38rem;
}

@media (max-width: 540px) {
  .tarot-input-row {
    flex-direction: column;
  }

  .tarot-ok-btn {
    width: 100%;
  }
}


/* ==========================================
   MULTI-LANGUAGE SELECTOR BAR & RTL SUPPORT
   ========================================== */
.gateway-lang-box {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.gateway-lang-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5c273;
}

.gateway-lang-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 190, 110, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gateway-lang-pill {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.gateway-lang-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.gateway-lang-pill.is-active {
  background: linear-gradient(110deg, #b88933, #e5c273);
  color: #141416;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212, 170, 82, 0.38);
}

/* Recommended Religion Language Pills in Sanctuary Card */
.sanctuary-lang-row {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sanctuary-lang-hint {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-inline-end: 0.2rem;
}

.mini-lang-btn {
  border: 1px solid rgba(20, 20, 22, 0.12);
  background: #ffffff;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mini-lang-btn:hover {
  border-color: rgba(184, 137, 51, 0.45);
  color: var(--text-main);
}

.mini-lang-btn.is-active {
  background: #141416;
  border-color: #141416;
  color: #e5c273;
}

/* Clean RTL Layout Mirroring for Arabic, Urdu & Hebrew */
html[dir="rtl"] .sacred-sanctuary__right {
  padding-left: 0;
  padding-right: 1.6rem;
  border-left: none;
  border-right: 1px solid rgba(184, 137, 51, 0.22);
}

html[dir="rtl"] .affirmation-quote {
  border-left: 1px solid rgba(184, 137, 51, 0.2);
  border-right: 3px solid var(--gold-mid);
}

html[dir="rtl"] .ephemeris-table th {
  text-align: right;
}

@media (max-width: 720px) {
  .gateway-lang-pills {
    border-radius: 20px;
  }
}


/* Subtle Champagne-Gold Translating Progress Hairline */
body[data-translating="true"]::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  z-index: 9999;
  background: linear-gradient(90deg, transparent 0%, #c89a42 40%, #f0d084 55%, #8c6219 70%, transparent 100%);
  background-size: 200% 100%;
  animation: translate-sweep 1.1s linear infinite;
  pointer-events: none;
}

@keyframes translate-sweep {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}


/* ==========================================
   SCRIPT-SPECIFIC LUXURY TYPOGRAPHY TUNING (NOTO + AMIRI)
   Preserves clean ligatures & optical line-height across all 16 languages
   ========================================== */
html[lang="ar"] body,
html[lang="ur"] body {
  --font-display: "Amiri", "Noto Sans Arabic", serif;
  --font-sans: "Noto Sans Arabic", "Inter", sans-serif;
  --font-serif: "Amiri", "Noto Sans Arabic", serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ur"] h1,
html[lang="ur"] h2,
html[lang="ur"] h3,
html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="mr"] h1,
html[lang="mr"] h2,
html[lang="pa"] h1,
html[lang="pa"] h2,
html[lang="gu"] h1,
html[lang="gu"] h2,
html[lang="ta"] h1,
html[lang="ta"] h2,
html[lang="bn"] h1,
html[lang="bn"] h2 {
  letter-spacing: 0 !important;
  line-height: 1.28;
}

html[lang="hi"] .sacred-verse,
html[lang="mr"] .sacred-verse,
html[lang="hi"] .horoscope-lead,
html[lang="ar"] .sacred-verse,
html[lang="ur"] .sacred-verse {
  font-style: normal;
  line-height: 1.65;
}


/* ==========================================
   VIRAL SHARE CARDS & SANCTUARY CHIME CONTROLS
   Obsidian Black + Burnished Champagne Gold on Pure White
   ========================================== */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.22rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 22, 0.14);
  background: #ffffff;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease, transform 0.2s ease;
}

.sound-toggle-btn:hover {
  border-color: rgba(184, 137, 51, 0.55);
  color: var(--text-main);
  transform: translateY(-1px);
}

.sound-toggle-btn.is-on {
  background: #141416;
  border-color: rgba(212, 170, 82, 0.58);
  color: #e5c273;
}

.sound-toggle-btn.is-on:hover {
  background: #202024;
  color: #f3d792;
}

.horoscope-share-row {
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(184, 137, 51, 0.18);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.54rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 137, 51, 0.45);
  background: linear-gradient(155deg, #ffffff 0%, #fbf7ee 100%);
  color: #141416;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 20, 22, 0.05);
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.2s ease, box-shadow 0.22s ease;
}

.share-card-btn:hover {
  background: #141416;
  border-color: #c89a42;
  color: #e5c273;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(20, 20, 22, 0.16);
}

.share-card-btn svg {
  flex-shrink: 0;
}


/* ==========================================
   LUXURY MOBILE APP EXPERIENCE (iOS & ANDROID POLISH)
   Zero horizontal overflow, floating bottom dock, swipeable strips,
   2-column glowing books, 3x3 gilded tarot grid & thumb-first spacing
   ========================================== */
html,
body {
  overflow-x: clip;
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav {
  display: none;
}

/* Touch devices: eliminate sticky 3D hover tilt jitter, add crisp tactile tap */
@media (hover: none) {
  .rb-tilted-card {
    transform: none !important;
  }

  .rb-tilted-card__glare {
    display: none;
  }

  .energy-book-btn:active,
  .sign-portal-card:active,
  .portal-tool-card:active,
  .tarot-back-card:active,
  .btn:active,
  .share-card-btn:active {
    transform: scale(0.975);
  }
}

@media (max-width: 820px) {
  /* Native-Style Floating Frosted Obsidian Bottom Tab Bar */
  .mobile-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: 480px;
    margin: 0 auto;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 0.42rem 0.35rem;
    border-radius: 26px;
    background: rgba(16, 16, 18, 0.92);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    border: 1px solid rgba(226, 190, 110, 0.28);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    padding: 0.42rem 0.2rem;
    border-radius: 18px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.64);
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, background 0.2s ease, transform 0.18s ease;
  }

  .mobile-bottom-nav__item:active {
    transform: scale(0.94);
  }

  .mobile-bottom-nav__item.is-active {
    color: #f0d084;
    background: rgba(226, 190, 110, 0.14);
  }

  .mobile-bottom-nav__icon {
    flex-shrink: 0;
  }

  /* Leave clean clearance under footer for floating mobile dock */
  .site-footer {
    padding: 2.2rem 0 calc(6.4rem + env(safe-area-inset-bottom));
  }

  /* Sleek Compact Top Cosmic Ticker */
  .cosmic-ticker__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding-top: 0.42rem;
    padding-bottom: 0.48rem;
  }

  .ticker-left {
    justify-content: center;
    font-size: 0.68rem;
    gap: 0.35rem;
    text-align: center;
  }

  .ticker-right {
    width: 100%;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
  }

  .ticker-cta {
    display: none;
  }

  .path-switcher-pill {
    padding: 0.22rem 0.56rem;
    font-size: 0.72rem;
    min-height: 30px;
  }

  .path-switcher-pill select {
    max-width: 118px;
    text-overflow: ellipsis;
  }

  /* Crisp Mobile App Header & Floating Menu Drawer */
  .site-header__inner {
    min-height: 54px;
    gap: 0.75rem;
  }

  .brand-eye-wrap svg {
    width: 34px;
    height: 34px;
  }

  .brand-text .rb-shiny-text {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.56rem;
  }

  .site-nav {
    top: 55px;
    left: 12px;
    right: 12px;
    border-radius: 22px;
    border: 1px solid rgba(184, 137, 51, 0.24);
    padding: 0.7rem;
    gap: 0.28rem;
    box-shadow: 0 24px 54px rgba(14, 14, 16, 0.16);
  }

  .site-nav .nav-link {
    padding: 0.72rem 1rem;
    font-size: 0.9rem;
    border-radius: 14px;
  }

  /* Prevent iOS Safari Auto-Zoom on Inputs/Selects */
  .select-input,
  .field input,
  .footer-newsletter input,
  .tarot-input-row input {
    font-size: 16px;
  }

  /* Mobile Home Star Gateway: Show Language Strip + 2-Column Glowing Books Immediately */
  .site-shell,
  .site-main,
  .container,
  .page-stack,
  .page-stack > *,
  .editorial-grid > *,
  .editorial-main,
  .popular-pairs-section,
  .tarot-controls-bar {
    min-width: 0;
    max-width: 100%;
  }

  .galaxy-gateway {
    min-height: auto;
    width: 100%;
    max-width: 100%;
    padding: 1.65rem 0 2.5rem;
  }

  .galaxy-gateway__content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 1.45rem;
  }

  .gateway-header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 0.25rem;
  }

  .gateway-eye-crest {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .gateway-eye-crest svg {
    width: 46px;
    height: 46px;
  }

  .gateway-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    max-width: 100%;
    white-space: normal;
  }

  .gateway-kicker .rb-shiny-text {
    display: inline;
  }

  .gateway-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.65rem, 6.8vw, 2.3rem);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .gateway-subtitle {
    width: 100%;
    max-width: 100%;
    font-size: 0.86rem;
    line-height: 1.52;
    overflow-wrap: break-word;
  }

  .gateway-lang-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 0.35rem;
  }

  .gateway-lang-pills {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    border-radius: 999px;
    padding: 0.34rem 0.45rem;
    gap: 0.32rem;
  }

  .gateway-lang-pills::-webkit-scrollbar {
    display: none;
  }

  .gateway-lang-pill {
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding: 0.4rem 0.78rem;
    font-size: 0.78rem;
  }

  .energy-books-stage {
    gap: 0.75rem;
  }

  .energy-book-float {
    width: calc(50% - 0.38rem);
    min-width: 0;
    max-width: 240px;
    animation-duration: 7s;
  }

  .energy-book-btn {
    padding: 0.52rem 0.48rem 0.7rem;
    border-radius: 18px;
    gap: 0.42rem;
  }

  .energy-book-poster {
    border-radius: 12px;
  }

  .energy-religion-name {
    font-size: 0.84rem;
  }

  .energy-enter-hint {
    font-size: 0.56rem;
    letter-spacing: 0.05em;
  }

  .white-portal-body {
    padding-top: 1.5rem;
  }

  /* Swipeable Horizontal Strips (Signs, Periods, Filters, Popular Matches) */
  .sign-strip,
  .period-tabs,
  .filter-bar,
  .popular-pairs-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .sign-strip::-webkit-scrollbar,
  .period-tabs::-webkit-scrollbar,
  .filter-bar::-webkit-scrollbar,
  .popular-pairs-grid::-webkit-scrollbar {
    display: none;
  }

  .period-tabs,
  .filter-bar {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }

  .period-tab,
  .sign-strip__btn,
  .pair-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* Clean 2x2 Metric & Lucky Signal Grids (Instead of Tall 1-Col Stacks) */
  .mini-metrics-grid,
  .lucky-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .mini-metric,
  .lucky-item {
    padding: 0.72rem 0.75rem;
    border-radius: 14px;
  }

  /* Refined Editorial Cards & Typography on Mobile */
  .sacred-sanctuary-card,
  .astrolabe-feature,
  .horoscope-hero-card,
  .compat-result-card,
  .tarot-revealed-card,
  .moon-hero-card,
  .inspector,
  .ephemeris-card {
    padding: 1.15rem;
    border-radius: 22px;
  }

  .horoscope-hero-card__top,
  .compat-result-head {
    gap: 0.8rem;
  }

  .sign-badge--lg {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .horoscope-hero-card__meta {
    min-width: 0;
  }

  .cosmic-score-ring {
    width: 72px;
    height: 72px;
  }

  .cosmic-score-ring--lg {
    width: 78px;
    height: 78px;
  }

  .cosmic-score-ring strong {
    font-size: 1.12rem;
  }

  .horoscope-lead,
  .feature-copy,
  .sacred-verse,
  .tarot-meaning {
    font-size: 1.15rem;
    line-height: 1.46;
  }

  .sacred-prayer-actions,
  .feature-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .sacred-prayer-actions .btn,
  .sacred-prayer-actions .share-card-btn,
  .feature-actions .rb-magnet-wrap,
  .feature-actions .rb-star-border,
  .feature-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .sacred-prayer-actions .text-link {
    text-align: center;
    padding: 0.25rem 0;
  }

  .horoscope-share-row {
    justify-content: stretch;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
  }

  .horoscope-share-row .share-card-btn {
    width: 100%;
    justify-content: center;
    padding: 0.72rem 1rem;
    font-size: 0.82rem;
  }

  /* Tarot Page: Sleek 3x3 Gilded Deck Grid on Mobile */
  .tarot-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .tarot-action-btns {
    width: 100%;
    flex-wrap: wrap;
  }

  .tarot-action-btns .rb-magnet-wrap,
  .tarot-action-btns .rb-star-border,
  .tarot-action-btns .btn {
    flex: 1;
    min-width: 130px;
  }

  .tarot-fan-section {
    padding: 0.85rem 0 1.4rem;
  }

  .tarot-prompt {
    font-size: 0.84rem;
    margin-bottom: 1.1rem;
  }

  .tarot-fan {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    max-width: 336px;
    margin: 0 auto;
  }

  .tarot-back-card {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    transform: none;
    gap: 0.3rem;
  }

  .tarot-back-card:hover:not(:disabled) {
    transform: translateY(-6px) scale(1.03);
  }

  .tarot-back-ornament svg {
    width: 32px;
    height: 32px;
  }

  .tarot-spread-grid--1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .tarot-photo-frame {
    max-width: 296px;
    margin: 0 auto;
  }

  /* Birth Chart & Compatibility Mobile Polish */
  .studio-embedded {
    gap: 1.25rem;
  }

  .wheel-stage {
    overflow: hidden;
  }

  .triad-card {
    padding: 0.68rem 0.28rem;
    border-radius: 14px;
  }

  .triad-card strong {
    font-size: 0.78rem;
  }

  .controls-row {
    grid-template-columns: 1fr;
  }

  .ephemeris-table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  .ephemeris-table th,
  .ephemeris-table td {
    padding: 0.55rem 0.5rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .compat-selector-card {
    padding: 1.05rem;
    border-radius: 20px;
  }

  .compat-bridge {
    flex-direction: row;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.15rem 0;
  }

  .compat-heart {
    width: 36px;
    height: 36px;
  }

  /* Moon Phases & Ad Containers */
  .moon-dial-svg {
    width: 168px;
    height: 168px;
  }

  .ad-slot--leaderboard .ad-slot__box {
    min-height: 62px;
    padding: 0.55rem;
  }

  .ad-slot--rectangle .ad-slot__box {
    min-height: 140px;
  }

  .footer-newsletter {
    flex-direction: column;
    max-width: 100%;
  }

  .footer-newsletter .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 0.9rem;
  }

  .site-main {
    padding: 1.15rem 0 2.25rem;
  }

  .galaxy-gateway {
    margin-top: -1.15rem;
  }

  .page-stack {
    gap: 1.6rem;
  }

  .page-hero h1 {
    font-size: clamp(1.65rem, 7.2vw, 2.2rem);
  }

  .page-hero p {
    font-size: 0.9rem;
  }

  /* Ultra-Clean Single-Row Ticker Controls on Small Phones */
  .path-switcher-label {
    display: none;
  }

  .sound-toggle-btn {
    padding: 0.28rem 0.5rem;
    min-height: 30px;
  }

  .sound-toggle-btn span {
    display: none;
  }

  /* Crisp 3x4 Zodiac Bento Grid on Phones (All 12 Signs in 4 Clean Rows) */
  .home-signs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.52rem;
  }

  .sign-portal-card {
    padding: 0.82rem 0.35rem;
    border-radius: 18px;
    gap: 0.24rem;
  }

  .sign-portal-card__glyph {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-bottom: 0.1rem;
  }

  .sign-portal-card__name {
    font-size: 0.8rem;
  }

  .sign-portal-card__dates {
    font-size: 0.56rem;
  }

  /* Spacious 1-Column Feature Cards for Tools on Phones */
  .portal-tools-grid {
    grid-template-columns: 1fr;
    gap: 0.78rem;
  }

  .portal-tool-card {
    padding: 1.15rem;
    border-radius: 20px;
  }

  /* Keep 2-Column Glowing Energy Books on Small Phones Too */
  .energy-book-float {
    width: calc(50% - 0.38rem);
    max-width: 220px;
  }

  .sacred-sanctuary__head {
    gap: 0.68rem;
  }

  .sacred-sanctuary-thumb {
    width: 56px;
    height: 44px;
  }

  .encyc-card {
    padding: 1.15rem;
    border-radius: 20px;
  }
}


/* ==========================================
   SEO FAQ ACCORDIONS & ADSENSE TRUST PAGES
   ========================================== */
.seo-faq-section {
  background: #f6f5f2;
  border: 1px solid rgba(20, 20, 22, 0.06);
  border-radius: 28px;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.seo-faq-head h2 {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--text-main);
}

.seo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.seo-faq-item {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 18px;
  padding: 0.95rem 1.15rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.seo-faq-item[open] {
  border-color: rgba(184, 137, 51, 0.42);
  box-shadow: 0 10px 26px rgba(20, 20, 22, 0.045);
}

.seo-faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
}

.seo-faq-q::-webkit-details-marker {
  display: none;
}

.seo-faq-q::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f6f5f2;
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.seo-faq-item[open] .seo-faq-q::after {
  content: "−";
  background: #141416;
  color: #e5c273;
}

.seo-faq-a {
  margin: 0.7rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(20, 20, 22, 0.06);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Editorial Trust Pages (About, Privacy Policy, Terms, Contact) */
.trust-page-container {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.trust-card {
  background: #ffffff;
  border: 1px solid rgba(184, 137, 51, 0.26);
  border-radius: 28px;
  padding: clamp(1.35rem, 3.2vw, 2.4rem);
  box-shadow: 0 18px 44px rgba(20, 20, 22, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trust-card h2 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.trust-card h2:first-child {
  margin-top: 0;
}

.trust-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--text-muted);
}

.trust-cta-row {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}


/* ==========================================
   VEDIC KUNDALI, PANCHANG, DASHA, CITY SEARCH & SYNASTRY
   ========================================== */
.chart-mode-toggle,
.system-segmented,
.compat-mode-tabs {
  margin-top: 0.75rem;
  display: inline-flex;
  flex-wrap: wrap;
}

.system-segmented {
  width: 100%;
  margin-bottom: 0.45rem;
}

.system-segmented .seg-btn {
  flex: 1;
}

.kundali-wrap {
  width: 100%;
  max-width: 440px;
  margin: 0.75rem auto 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.kundali-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 26px rgba(20, 20, 22, 0.08));
}

.kundali-rashi-num {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 600;
  fill: #9a6d1f;
}

.kundali-lagna-tag {
  font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: #b88933;
}

.kundali-planets {
  font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  fill: #141416;
}

.kundali-house-group:hover .kundali-planets {
  fill: #9a6d1f;
}

.kundali-legend {
  margin: 0;
  font-size: 0.73rem;
  line-height: 1.5;
  color: var(--text-subtle, #636369);
  text-align: center;
}

/* Searchable Global City Autocomplete */
.city-autocomplete {
  position: relative;
}

.city-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: 240px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 22, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(20, 20, 22, 0.14);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.city-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--text-main, #141416);
  font-size: 0.86rem;
}

.city-option:hover,
.city-option.is-selected {
  background: rgba(184, 137, 51, 0.12);
}

.city-option small {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  color: var(--text-subtle, #636369);
}

/* Personal Transits, Mahadasha, Aspects, Houses & Panchang Grids */
.section-sub-note {
  margin: 0.25rem 0 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-subtle, #52525b);
}

.transit-hit-card,
.dasha-card,
.aspect-pill-card,
.house-mini-card,
.panchang-item {
  background: #faf9f6;
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 16px;
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.transit-hit-card p,
.dasha-card p,
.aspect-pill-card p,
.house-mini-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-subtle, #52525b);
}

.dasha-grid,
.houses-grid,
.panchang-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.aspects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.dasha-card.is-current {
  background: linear-gradient(145deg, rgba(214, 173, 88, 0.14), rgba(255, 253, 247, 0.98));
  border-color: rgba(184, 137, 51, 0.55);
  box-shadow: 0 10px 24px rgba(184, 137, 51, 0.12);
}

.dasha-card__top,
.house-mini-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dasha-years {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  color: #9a6d1f;
  font-weight: 600;
}

.dasha-dates {
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
  color: var(--text-main, #141416);
}

.panchang-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9a6d1f;
}

.panchang-item strong {
  font-size: 1rem;
  color: var(--text-main, #141416);
}

.panchang-item small {
  font-size: 0.78rem;
  color: var(--text-subtle, #52525b);
  line-height: 1.45;
}

/* Dual-Chart Kundali Milan Form */
.dual-birth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.partner-form-box {
  background: #faf9f6;
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.partner-box-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9a6d1f;
}

.synastry-aspects-wrap {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 20, 22, 0.08);
}

/* Editorial SEO Guide Blocks (AdSense & Organic Search Depth) */
.seo-editorial-guide {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 22px;
  padding: 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.seo-editorial-guide h2 {
  margin: 0;
  font-family: var(--font-serif, "Instrument Serif", Georgia, serif);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 400;
  color: var(--text-main, #141416);
}

.seo-editorial-guide p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-subtle, #4b4b52);
}

@media (max-width: 900px) {
  .dasha-grid,
  .houses-grid,
  .panchang-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dual-birth-grid,
  .aspects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dasha-grid,
  .houses-grid,
  .panchang-grid {
    grid-template-columns: 1fr;
  }
  .seo-editorial-guide {
    padding: 1.25rem 1.15rem;
  }
}


/* ==========================================
   PERSONALIZED "MY SIGN" & DAILY STREAK BAR
   ========================================== */
.my-sign-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  flex-wrap: wrap;
  background: linear-gradient(155deg, #ffffff 0%, #fbf7ee 100%);
  border: 1px solid rgba(184, 137, 51, 0.34);
  border-radius: 22px;
  padding: 1.05rem 1.35rem;
  box-shadow: 0 12px 30px rgba(20, 20, 22, 0.045);
}

.my-sign-bar__left {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.my-sign-bar__summary {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.my-sign-bar__summary strong {
  color: var(--text-main);
  font-family: var(--font-display);
}

.my-sign-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.my-sign-select {
  width: auto;
  min-width: 195px;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 720px) {
  .my-sign-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .my-sign-bar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .my-sign-select,
  .my-sign-bar__actions .btn {
    width: 100%;
    font-size: 16px;
  }
}


/* ==========================================
   PERSONAL BIRTH DETAILS & PLAIN-ENGLISH RASHI SOLUTIONS DASHBOARD
   ========================================== */
.personal-profile-card {
  background: linear-gradient(155deg, #ffffff 0%, #fbf8f1 100%);
  border: 1.5px solid rgba(184, 137, 51, 0.36);
  border-radius: 28px;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  box-shadow: 0 20px 50px rgba(20, 20, 22, 0.06);
}

.personal-onboarding-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.personal-onboarding-head {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.personal-onboarding-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.personal-onboarding-sub {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 720px;
}

.personal-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.personal-form-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.personal-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.personal-dashboard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.personal-dashboard__id {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 240px;
}

.personal-dashboard__title {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.personal-dashboard__meta {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.personal-dashboard__oneline {
  margin: 0.35rem 0 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.personal-dashboard__right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.rashi-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.rashi-solution-box {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 20px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rashi-solution-box--highlight {
  background: linear-gradient(155deg, #161618 0%, #221f19 100%);
  border-color: rgba(226, 190, 110, 0.45);
  color: #ffffff;
}

.rashi-solution-box--highlight .section-kicker {
  color: #e5c273;
}

.rashi-solution-box--highlight h3 {
  color: #ffffff;
}

.rashi-solution-box--highlight p {
  color: rgba(255, 255, 255, 0.86);
}

.rashi-solution-box--highlight strong {
  color: #f2d68d;
}

.rashi-solution-box h3 {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
}

.rashi-solution-box p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.56;
  color: var(--text-muted);
}

.rashi-sub-point,
.rashi-action-do,
.rashi-action-avoid {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  line-height: 1.52;
}

.rashi-action-do strong {
  color: #15803d;
}

.rashi-solution-box--highlight .rashi-action-do strong {
  color: #86efac;
}

.rashi-action-avoid strong {
  color: #b91c1c;
}

.rashi-solution-box--highlight .rashi-action-avoid strong {
  color: #fca5a5;
}

.personal-dashboard__cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* Plain-English Tarot & Horoscope Action Boxes */
.tarot-simple-solution,
.horoscope-simple-actions {
  background: #fbf8f1;
  border: 1px solid rgba(184, 137, 51, 0.34);
  border-radius: 16px;
  padding: 0.95rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.tarot-simple-solution strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-main);
}

.tarot-simple-solution p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .personal-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .personal-profile-card {
    padding: 1.15rem;
    border-radius: 22px;
  }

  .personal-form-grid,
  .rashi-solutions-grid {
    grid-template-columns: 1fr;
  }

  .personal-form-footer .btn,
  .personal-dashboard__cta .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================
   LIVE ACCURATE BHAVISHYAVANI (GOCHAR, DASHA, SADE SATI, GURU)
   ========================================== */
.bhavishyavani-live-block {
  padding-top: 1.15rem;
  border-top: 1px solid rgba(184, 137, 51, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bhavishyavani-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bhavishyavani-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.bhav-card {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.bhav-card h4 {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
}

.bhav-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.54;
  color: var(--text-muted);
}

.bhav-badge {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
}

.bhav-badge--good {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(4, 120, 87, 0.2);
}

.bhav-badge--caution {
  background: #141416;
  color: #f0d084;
  border: 1px solid rgba(212, 170, 82, 0.45);
}

.bhav-badge--neutral {
  background: #fbf5e8;
  color: #8c6219;
  border: 1px solid rgba(184, 137, 51, 0.3);
}

@media (max-width: 720px) {
  .bhavishyavani-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================
   LIVE REAL-SKY NAKSHATRA OBSERVATORY (VIRTUALSKY + TARA BALA)
   ========================================== */
.live-sky-card {
  background: linear-gradient(155deg, #ffffff 0%, #f8f6f0 100%);
  border: 1.5px solid rgba(184, 137, 51, 0.34);
  border-radius: 30px;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  box-shadow: 0 22px 54px rgba(20, 20, 22, 0.065);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.live-sky-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.live-sky-title {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 2.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--text-main);
}

.live-sky-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.live-sky-select {
  width: auto;
  min-width: 190px;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.live-sky-proj {
  display: inline-flex;
  gap: 0.35rem;
}

.live-sky-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.live-sky-dome-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.live-sky-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(14, 14, 18, 0.82);
  border: 1px solid rgba(226, 190, 110, 0.5);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #f2d68d;
  pointer-events: none;
}

.live-sky-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5c273;
  box-shadow: 0 0 10px #f0d084;
  animation: live-sky-pulse 2s ease-in-out infinite;
}

@keyframes live-sky-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.live-sky-iframe {
  width: 100%;
  height: 390px;
  border: 1.5px solid rgba(200, 154, 66, 0.55);
  border-radius: 22px;
  background: #06060a;
  box-shadow: 0 18px 42px rgba(14, 14, 18, 0.26);
  display: block;
}

.live-sky-caption {
  margin: 0;
  font-size: 0.76rem;
  color: var(--text-subtle);
}

.live-sky-info {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  justify-content: space-between;
}

.live-nakshatra-box,
.live-tara-box {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 22px;
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.live-tara-box {
  background: linear-gradient(155deg, #151518 0%, #211e18 100%);
  border-color: rgba(226, 190, 110, 0.45);
  color: #ffffff;
}

.live-tara-box h3 {
  color: #ffffff !important;
}

.live-tara-box .live-star-meta,
.live-tara-box .live-star-copy {
  color: rgba(255, 255, 255, 0.84) !important;
}

.live-tara-box strong {
  color: #f2d68d;
}

.live-tara-box--prompt .section-kicker {
  color: #e5c273;
}

.live-tara-box--prompt .btn--dark {
  background: #e5c273;
  color: #141416;
  border-color: #e5c273;
  align-self: flex-start;
  margin-top: 0.35rem;
}

.live-nakshatra-box h3,
.live-tara-box h3 {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-main);
}

.live-star-meta {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--gold-bright);
}

.live-star-copy {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .live-sky-grid {
    grid-template-columns: 1fr;
  }

  .live-sky-iframe {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .live-sky-card {
    padding: 1.1rem;
    border-radius: 22px;
  }

  .live-sky-controls,
  .live-sky-select,
  .live-sky-proj {
    width: 100%;
  }

  .live-sky-proj .btn {
    flex: 1;
  }

  .live-sky-iframe {
    height: 270px;
    border-radius: 18px;
  }
}


/* ==========================================
   TRUST & ACCURACY PROOF STRIP + DAILY MUHURAT TIMING
   ========================================== */
.trust-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.trust-proof-item {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 20px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  box-shadow: 0 8px 24px rgba(20, 20, 22, 0.035);
}

.trust-proof-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}

.trust-proof-item strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-main);
}

.trust-proof-item p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.48;
  color: var(--text-muted);
}

.muhurat-strip {
  background: #f6f5f2;
  border: 1px solid rgba(184, 137, 51, 0.24);
  border-radius: 24px;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.muhurat-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.muhurat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.muhurat-item {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 22, 0.07);
  border-radius: 18px;
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.muhurat-item--good {
  border-color: rgba(4, 120, 87, 0.25);
}

.muhurat-item--caution {
  background: #141416;
  border-color: rgba(212, 170, 82, 0.4);
  color: #ffffff;
}

.muhurat-item--caution .muhurat-label {
  color: #f0d084;
}

.muhurat-item--caution strong {
  color: #ffffff;
}

.muhurat-item--caution small {
  color: rgba(255, 255, 255, 0.72);
}

.muhurat-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

.muhurat-item--good .muhurat-label {
  color: #047857;
}

.muhurat-item strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.muhurat-item small {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .trust-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 520px) {
  .trust-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .trust-proof-item {
    padding: 0.85rem;
    border-radius: 16px;
  }

  .muhurat-strip {
    padding: 1rem;
    border-radius: 20px;
  }
}
