/* ─── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Core backgrounds */
  --bg:            #050310;
  --bg-secondary:  #080820;
  --bg-card:       #0c0c28;
  --bg-card-hover: #10103a;

  /* Cosmic accents */
  --purple:        #7c3aed;
  --purple-light:  #a855f7;
  --purple-dark:   #5b21b6;
  --blue:          #2563eb;
  --blue-light:    #60a5fa;
  --teal:          #0891b2;

  /* Gradients */
  --grad-accent:   linear-gradient(135deg, #7c3aed, #2563eb);
  --grad-text:     linear-gradient(135deg, #a855f7, #60a5fa);
  --grad-card-top: radial-gradient(ellipse at top, rgba(124,58,237,0.12), transparent 70%);

  /* Text */
  --text:          #eef0ff;
  --text-muted:    #8b92b3;
  --text-faint:    #4a5080;

  /* Borders */
  --border:        rgba(124,58,237,0.18);
  --border-hover:  rgba(124,58,237,0.45);
  --border-subtle: rgba(255,255,255,0.06);

  /* Glows */
  --glow-purple:   rgba(124,58,237,0.35);
  --glow-blue:     rgba(37,99,235,0.3);
  --shadow-card:   0 16px 50px rgba(5,3,16,0.6);

  /* Legacy aliases — used in rashi_base.html inline styles */
  --gold-primary:  #7c3aed;
  --gold-light:    #a855f7;
  --gold-dark:     #5b21b6;
  --gold-glow:     rgba(124,58,237,0.35);
  --gold-glow-sm:  rgba(124,58,237,0.2);
  --green-felt:    #0a2818;
  --text-primary:  #eef0ff;
  --text-secondary:#8b92b3;
  --red-expired:   #2a1520;
  --border-gold:   rgba(124,58,237,0.3);
  --shadow-gold:   0 0 40px rgba(124,58,237,0.3);
  --bg-primary:    #050310;
}

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── Hide native cursor sitewide ───────────────────────────────────────────── */
html, body, * { cursor: none !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  font-weight: 700;
}

a { color: var(--purple-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-light); }

/* ─── Scrollbar ─────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple-dark); border-radius: 2px; }

/* ─── Gradient Text Utility ─────────────────────────────────────────────────── */
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 2.5rem;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.3s;
}

.navbar.scrolled {
  background: rgba(5,3,16,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle), 0 4px 24px rgba(0,0,0,0.4);
  padding: 0.9rem 2.5rem;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo .logo-star { color: var(--purple-light); margin-right: 5px; font-size: 1rem; }
.nav-logo .logo-dot  { color: var(--purple-light); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav-mobile-toggle span {
  width: 22px; height: 1.5px;
  background: var(--text);
  display: block;
  transition: all 0.3s;
}

.nav-mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1.2rem 2.5rem 1.8rem;
  gap: 1rem;
  background: rgba(5,3,16,0.97);
  border-top: 1px solid var(--border-subtle);
}

.nav-mobile-menu a { color: var(--text-muted); font-size: 1rem; padding: 0.4rem 0; }
.nav-mobile-menu.open { display: flex; }

/* ─── Stars Canvas ───────────────────────────────────────────────────────────── */
.stars-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* ─── Cosmic Orbs ────────────────────────────────────────────────────────────── */
.cosmic-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  animation: orb-drift 20s ease-in-out infinite alternate;
}

.orb-1 {
  width: 600px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.22), transparent 70%);
  top: -200px; left: -150px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px; height: 450px;
  background: radial-gradient(circle, rgba(37,99,235,0.18), transparent 70%);
  bottom: -100px; right: -100px;
  animation-delay: -8s;
}

.orb-3 {
  width: 400px; height: 350px;
  background: radial-gradient(circle, rgba(8,145,178,0.12), transparent 70%);
  top: 40%; left: calc(50% - 200px);
  animation-delay: -14s;
}

@keyframes orb-drift {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(40px,-30px) scale(1.05); }
  66%  { transform: translate(-20px,20px) scale(0.97); }
  100% { transform: translate(20px,-10px) scale(1.03); }
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: hero-fade-up 0.8s ease both;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: hero-fade-up 0.8s 0.15s ease both;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  font-weight: 400;
  animation: hero-fade-up 0.8s 0.28s ease both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: hero-fade-up 0.8s 0.38s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  animation: hero-fade-up 0.8s 0.5s ease both;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-label { font-size: 0.75rem; color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.stat-div { width: 1px; height: 32px; background: var(--border-subtle); }

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Scroll Indicator ───────────────────────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: hero-fade-up 1s 0.8s ease both;
}

.scroll-label {
  font-size: 0.68rem;
  color: var(--text-faint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,100% { opacity: 0.5; transform: scaleY(0.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--grad-accent);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.9rem 2.4rem;
  border: none;
  border-radius: 50px;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.2s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(124,58,237,0.5);
  color: #fff;
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.9rem 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: rgba(124,58,237,0.4);
  color: var(--purple-light);
  background: rgba(124,58,237,0.08);
}

/* Legacy .btn-gold — rashi pages use this class */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--grad-accent);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(124,58,237,0.35);
  text-decoration: none;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(124,58,237,0.55);
  color: #fff;
}

.btn-gold:active { transform: translateY(0); }

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--purple-light);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 50px;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-gold-outline:hover {
  background: rgba(124,58,237,0.1);
  border-color: var(--purple);
  color: var(--purple-light);
  box-shadow: 0 0 20px rgba(124,58,237,0.2);
}

/* ─── Section Shared ─────────────────────────────────────────────────────────── */
.page-section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  max-width: 1160px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.section-divider {
  width: 60px; height: 2px;
  background: var(--grad-accent);
  border-radius: 1px;
  margin: 1.2rem auto;
}

/* ─── Rashis Section (homepage) ──────────────────────────────────────────────── */
.rashis-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.2rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.6rem;
}

.section-header p { color: var(--text-muted); font-size: 0.95rem; }

/* ─── Rashi Grid ─────────────────────────────────────────────────────────────── */
.rashi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.rashi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  will-change: transform;
  /* opacity/transform set below for fade-in; transition covers all animated props */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
              border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.rashi-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card-top);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.rashi-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.rashi-card:hover {
  transform: translateY(-4px);
  border: 1px solid rgba(124,58,237,0.8);
  background: var(--bg-card-hover);
  box-shadow: 0 0 20px rgba(124,58,237,0.6), 0 0 40px rgba(124,58,237,0.3), 0 0 60px rgba(124,58,237,0.1);
}

.rashi-card:hover::before { opacity: 1; }
.rashi-card:hover::after  { opacity: 1; }

.card-symbol-wrap {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(37,99,235,0.25));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  transition: all 0.3s;
  font-size: 1.7rem;
}

.rashi-card:hover .card-symbol-wrap {
  background: linear-gradient(135deg, rgba(124,58,237,0.45), rgba(37,99,235,0.45));
  box-shadow: 0 0 24px rgba(124,58,237,0.35);
  border-color: rgba(124,58,237,0.5);
}

/* Legacy .card-symbol — used directly in rashi_base.html "Explore Other Rashis" */
.card-symbol {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  transition: filter 0.3s;
}
.rashi-card:hover .card-symbol { filter: drop-shadow(0 0 10px rgba(124,58,237,0.6)); }

.card-hindi {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.card-english {
  font-size: 0.72rem;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.card-planet {
  font-size: 0.7rem;
  color: var(--text-faint);
  margin-top: 0.35rem;
}

.rashi-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.rashi-card.visible:hover {
  transform: translateY(-8px) scale(1.01);
}

/* ─── How It Works (homepage) ────────────────────────────────────────────────── */
.howto-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  background: linear-gradient(to bottom, transparent, rgba(12,12,40,0.4), transparent);
}

.howto-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.how-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem 2.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.how-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.how-step:hover { border-color: rgba(124,58,237,0.3); }
.how-step:hover::before { opacity: 1; }

.how-step-num {
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.how-step h3 { font-size: 1.1rem; margin-bottom: 0.8rem; color: var(--text); }
.how-step p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; }

/* ─── Page Section (rashi pages) ─────────────────────────────────────────────── */
.section-bg-alt { background: rgba(8,8,32,0.5); }

/* ─── Rashi Hero (rashi pages) ───────────────────────────────────────────────── */
.rashi-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.rashi-hero-bg   { position: absolute; inset: 0; z-index: 0; }
.rashi-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.rashi-symbol-large {
  font-size: 5rem;
  margin-bottom: 1rem;
  display: block;
  animation: float-glow 3.5s ease-in-out infinite;
}

@keyframes float-glow {
  0%,100% { transform: translateY(0);    filter: drop-shadow(0 0 16px rgba(124,58,237,0.5)); }
  50%      { transform: translateY(-14px); filter: drop-shadow(0 0 30px rgba(168,85,247,0.7)); }
}

.rashi-hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); color: var(--text); margin-bottom: 0.5rem; }
.rashi-hero .hero-planet {
  color: var(--purple-light);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.rashi-hero .hero-tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 1.2rem auto 0;
  line-height: 1.7;
}

.animal-animation {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

/* ─── Calendar ───────────────────────────────────────────────────────────────── */
.calendar-container {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.calendar-month {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  min-width: 300px;
  max-width: 360px;
  flex: 1;
  transition: border-color 0.3s;
}

.calendar-month:hover { border-color: rgba(124,58,237,0.3); }

.calendar-header {
  background: rgba(124,58,237,0.08);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calendar-month-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--purple-light);
}

.calendar-year {
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}

.calendar-expired-notice {
  font-size: 0.73rem;
  color: var(--text-faint);
  text-align: center;
  padding: 0.35rem 0.7rem;
  background: rgba(42,21,32,0.5);
  margin-top: 0.5rem;
  border-radius: 4px;
  width: 100%;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0.8rem 1rem 0.3rem;
  gap: 2px;
}

.calendar-weekday {
  text-align: center;
  font-size: 0.67rem;
  color: var(--text-faint);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0.4rem 1rem 1.1rem;
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid transparent;
  position: relative;
}

.cal-day.empty { background: transparent; border: none; }

.cal-day.expired {
  color: var(--text-faint);
  opacity: 0.35;
  background: rgba(42,21,32,0.15);
}

.cal-day.expired::after {
  content: '🔒';
  position: absolute;
  top: -3px; right: -3px;
  font-size: 0.5rem;
}

.cal-day.available {
  color: var(--text);
  background: rgba(124,58,237,0.06);
  border-color: var(--border);
}

.cal-day.available:hover {
  border-color: var(--purple);
  background: rgba(124,58,237,0.18);
  color: var(--purple-light);
  transform: scale(1.12);
  box-shadow: 0 0 14px rgba(124,58,237,0.3);
}

.cal-day.today {
  border-color: var(--purple);
  background: rgba(124,58,237,0.1);
  color: var(--purple-light);
  font-weight: 700;
  animation: today-pulse 2.5s ease-in-out infinite;
}

@keyframes today-pulse {
  0%,100% { box-shadow: 0 0 8px rgba(124,58,237,0.3); }
  50%      { box-shadow: 0 0 22px rgba(124,58,237,0.6); }
}

.cal-day.selected {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple-light);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(124,58,237,0.5);
}

/* ─── Birth Date Input ───────────────────────────────────────────────────────── */
.birth-date-section { max-width: 400px; margin: 0 auto; text-align: center; }

.birth-date-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: block;
}

.birth-date-hint { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.gold-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  width: 140px;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: textfield;
  -moz-appearance: textfield;
}

.gold-input::-webkit-inner-spin-button,
.gold-input::-webkit-outer-spin-button { appearance: none; }

.gold-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 24px rgba(124,58,237,0.25);
}

/* ── Date picker override ── */
.birth-date-picker {
  width: 260px;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.9rem 1.2rem;
  color-scheme: dark;
}

.birth-date-picker::-webkit-calendar-picker-indicator {
  filter: invert(60%) sepia(60%) saturate(400%) hue-rotate(220deg);
  scale: 1.3;
}

/* ─── Generate Button ────────────────────────────────────────────────────────── */
.generate-btn-wrap { text-align: center; padding: 3rem 2rem; }

.btn-generate {
  font-size: 1.05rem;
  padding: 1.15rem 3.5rem;
  letter-spacing: 0.08em;
  animation: btn-glow 2.8s ease-in-out infinite;
}

@keyframes btn-glow {
  0%,100% { box-shadow: 0 4px 24px rgba(124,58,237,0.35); }
  50%      { box-shadow: 0 8px 50px rgba(124,58,237,0.65); }
}

/* ─── Lucky Number Cards ─────────────────────────────────────────────────────── */
.cards-section { padding: 4rem 2rem; text-align: center; position: relative; z-index: 1; }
.cards-section-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.lucky-cards-grid {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.lucky-card { width: 100px; height: 152px; perspective: 900px; }

.lucky-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.lucky-card.flipped .lucky-card-inner { transform: rotateY(180deg); }

.lucky-card-face,
.lucky-card-back {
  position: absolute; inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
}

.lucky-card-back {
  background: linear-gradient(160deg, var(--bg-card), var(--bg));
  border-color: rgba(124,58,237,0.35);
}

.lucky-card-back-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--purple-light);
  text-align: center;
  line-height: 1.3;
}

.lucky-card-back-stars { color: rgba(124,58,237,0.4); font-size: 0.72rem; letter-spacing: 5px; }

.lucky-card-face {
  background: linear-gradient(160deg, var(--bg-card-hover), var(--bg-card));
  border-color: var(--purple);
  transform: rotateY(180deg);
}

.lucky-card-face .card-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lucky-card-face .card-star { color: var(--purple-light); font-size: 0.9rem; }
.lucky-card.revealed { box-shadow: 0 0 30px rgba(124,58,237,0.3); }

/* ─── Pay Section ─────────────────────────────────────────────────────────────── */
.pay-to-reveal { text-align: center; padding: 2rem; }
.pay-label { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.3rem; letter-spacing: 0.04em; }
.pay-label strong { color: var(--purple-light); font-size: 1.1rem; }

/* ─── Confetti ───────────────────────────────────────────────────────────────── */
.confetti-particle {
  position: fixed; pointer-events: none; z-index: 9999;
  animation: confetti-fall 3s linear forwards;
}
@keyframes confetti-fall {
  0%   { transform: translateY(-20px) rotate(0deg);   opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ─── Rashi Info Grid ────────────────────────────────────────────────────────── */
.rashi-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.rashi-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  transition: border-color 0.3s;
}
.rashi-info-card:hover { border-color: rgba(124,58,237,0.3); }
.rashi-info-card h3 { font-size: 1rem; color: var(--purple-light); margin-bottom: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }

.rashi-trait-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.rashi-trait-list li {
  background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 0.28rem 0.9rem;
  font-size: 0.82rem;
}

.rashi-meta-table { width: 100%; border-collapse: collapse; }
.rashi-meta-table tr { border-bottom: 1px solid var(--border-subtle); }
.rashi-meta-table tr:last-child { border-bottom: none; }
.rashi-meta-table td { padding: 0.65rem 0; font-size: 0.88rem; }
.rashi-meta-table td:first-child { color: var(--text-muted); width: 40%; }
.rashi-meta-table td:last-child  { color: var(--text); font-weight: 600; }

/* ─── Selected Date Label ─────────────────────────────────────────────────────── */
.selected-date-label {
  display: none;
  text-align: center;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  color: var(--purple-light);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item:hover { border-color: rgba(124,58,237,0.25); }
.faq-question {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  user-select: none;
}
.faq-question::after { content: '+'; color: var(--purple-light); font-size: 1.4rem; font-weight: 300; transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--text-muted); line-height: 1.78; font-size: 0.92rem; }
.faq-answer-inner { padding: 0 1.5rem 1.3rem; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ─── Contact Form ───────────────────────────────────────────────────────────── */
.contact-form { max-width: 560px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.form-control {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  padding: 0.9rem 1.1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 16px rgba(124,58,237,0.2); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ─── Legal Pages ────────────────────────────────────────────────────────────── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 8rem 2rem 5rem; }
.legal-page h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.legal-last-updated { color: var(--text-muted); font-size: 0.83rem; margin-bottom: 3rem; }
.legal-page h2 { font-size: 1.25rem; color: var(--purple-light); margin: 2.5rem 0 0.75rem; border-bottom: 1px solid var(--border-subtle); padding-bottom: 0.5rem; }
.legal-page p, .legal-page li { color: var(--text-muted); line-height: 1.82; font-size: 0.93rem; margin-bottom: 0.75rem; }
.legal-page ul { padding-left: 1.5rem; }

/* ─── Admin ──────────────────────────────────────────────────────────────────── */
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.admin-login-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px; padding: 3rem; width: 100%; max-width: 400px; text-align: center; }
.admin-login-card h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.admin-stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; text-align: center; }
.admin-stat-card .stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.admin-stat-card .stat-label { color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.admin-table th { color: var(--text-muted); text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-subtle); font-weight: 500; text-transform: uppercase; font-size: 0.76rem; letter-spacing: 0.09em; }
.admin-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-muted); }
.admin-table td.paid   { color: #34d399; }
.admin-table td.unpaid { opacity: 0.5; }

/* ─── Success / Cancel ───────────────────────────────────────────────────────── */
.result-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.result-icon { font-size: 5rem; margin-bottom: 1.5rem; animation: float-glow 3.5s ease-in-out infinite; }
.result-page h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.result-page p { color: var(--text-muted); max-width: 500px; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.75; }

/* ─── 404 ────────────────────────────────────────────────────────────────────── */
.page-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.page-404 .num-404 { font-size: 9rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: 0.2; line-height: 1; margin-bottom: 1rem; }

/* ─── Toast ──────────────────────────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 50px;
  padding: 0.9rem 2.2rem;
  font-size: 0.88rem;
  color: var(--text);
  z-index: 9998;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  box-shadow: 0 4px 40px rgba(0,0,0,0.5), 0 0 24px rgba(124,58,237,0.2);
  white-space: nowrap;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#toast.show { transform: translateX(-50%) translateY(0); }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem 2rem;
  background: var(--bg);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-brand { flex: 0 0 220px; }

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-tagline { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.footer-links { flex: 1; display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; min-width: 120px; }
.footer-col h4 { font-size: 0.7rem; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.4rem; }
.footer-col a { font-size: 0.87rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--purple-light); }

.footer-bottom {
  max-width: 1240px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-faint); }
.footer-disclaimer { font-size: 0.72rem !important; opacity: 0.6 !important; }

/* ─── Trust Panel (homepage) ─────────────────────────────────────────────────── */
.trust-panel {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
}

.trust-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-stat { text-align: center; }
.trust-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.trust-label {
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}
.trust-div { width: 1px; height: 40px; background: var(--border-subtle); }

/* current rashi card highlight in Explore section */
.rashi-card--current {
  border-color: rgba(124,58,237,0.55) !important;
  box-shadow: 0 0 20px rgba(124,58,237,0.18);
  pointer-events: none;
}
.rashi-card--current::after { opacity: 0.6; }

/* ─── About Astrologer ───────────────────────────────────────────────────────── */
.about-astrologer-section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem 6rem;
}

.about-astrologer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3.5rem;
}

.about-astrologer-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-astrologer-img {
  width: 240px;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  border: 2px solid rgba(124,58,237,0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.12);
  display: block;
}

.about-astrologer-badge {
  position: absolute;
  bottom: -14px;
  right: 0;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  border-radius: 12px;
  padding: 0.65rem 1.1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
}

.about-astrologer-badge-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.about-astrologer-badge-label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.1rem;
}

.about-astrologer-content { padding-left: 0.5rem; }

.about-astrologer-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin: 0.5rem 0 1.1rem;
  line-height: 1.15;
}

.about-astrologer-bio {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.about-astrologer-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.aa-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.aa-stat-label {
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

@media (max-width: 820px) {
  .about-astrologer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
  }
  .about-astrologer-img-wrap { justify-content: center; }
  .about-astrologer-img { width: 180px; height: 210px; }
  .about-astrologer-badge { right: calc(50% - 120px); }
  .about-astrologer-stats { justify-content: center; }
}

/* ─── Rashi Power Banner ─────────────────────────────────────────────────────── */
.rashi-banner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 6rem 2rem;
  margin: 0;
  background: linear-gradient(135deg,
    rgba(124,58,237,0.12) 0%,
    rgba(5,3,16,0.0) 40%,
    rgba(37,99,235,0.10) 100%);
  border-top: 1px solid rgba(124,58,237,0.18);
  border-bottom: 1px solid rgba(37,99,235,0.15);
}

.rashi-banner-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.rashi-banner-glow {
  position: absolute;
  top: 50%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  transform: translateY(-50%);
  animation: bannerGlowPulse 6s ease-in-out infinite alternate;
}
.rashi-banner-glow--left  { left: -120px;  background: rgba(124,58,237,0.18); animation-delay: 0s; }
.rashi-banner-glow--right { right: -120px; background: rgba(37,99,235,0.15);  animation-delay: 3s; }

@keyframes bannerGlowPulse {
  from { opacity: 0.7; transform: translateY(-50%) scale(1);    }
  to   { opacity: 1;   transform: translateY(-50%) scale(1.12); }
}

.rashi-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.rashi-banner-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.88;
  animation: bannerImgFloat 6s ease-in-out infinite;
}
.rashi-banner-img--left {
  left: -40px;
  filter: drop-shadow(0 0 40px rgba(124,58,237,0.6)) drop-shadow(0 0 80px rgba(124,58,237,0.3));
  animation-delay: 0s;
}
.rashi-banner-img--right {
  right: -40px;
  filter: drop-shadow(0 0 40px rgba(37,99,235,0.6)) drop-shadow(0 0 80px rgba(37,99,235,0.3));
  animation-delay: 3s;
}
@keyframes bannerImgFloat {
  0%   { transform: translateY(-50%);         }
  50%  { transform: translateY(calc(-50% - 16px)); }
  100% { transform: translateY(-50%);         }
}
@media (max-width: 900px) {
  .rashi-banner-img { width: 180px; opacity: 0.5; }
  .rashi-banner-img--left  { left: -30px; }
  .rashi-banner-img--right { right: -30px; }
}
@media (max-width: 600px) {
  .rashi-banner-img { display: none; }
}

.rashi-banner-symbols {
  font-size: 1.25rem;
  letter-spacing: 0.6rem;
  color: rgba(168,85,247,0.45);
  margin-bottom: 1.8rem;
  animation: symbolDrift 8s ease-in-out infinite alternate;
  display: block;
}

@keyframes symbolDrift {
  from { letter-spacing: 0.6rem; opacity: 0.45; }
  to   { letter-spacing: 0.9rem; opacity: 0.65; }
}

.rashi-banner-heading {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.rashi-banner-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.rashi-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
  box-shadow: 0 0 30px rgba(124,58,237,0.45), 0 8px 32px rgba(0,0,0,0.35);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}

.rashi-banner-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
}

.rashi-banner-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 50px rgba(124,58,237,0.65), 0 12px 40px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #8b46f7, #2d6ef7);
}

.rashi-banner-btn svg {
  transition: transform 0.25s;
}
.rashi-banner-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .rashi-banner { padding: 4rem 1.5rem; }
  .rashi-banner-symbols { font-size: 1rem; letter-spacing: 0.4rem; }
  .rashi-banner-sub br { display: none; }
}

/* ─── Testimonials ───────────────────────────────────────────────────────────── */
.testimonials-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-size: 6rem;
  line-height: 1;
  color: var(--purple);
  opacity: 0.08;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(124,58,237,0.35);
  box-shadow: 0 12px 40px rgba(5,3,16,0.5), 0 0 30px rgba(124,58,237,0.1);
  transform: translateY(-4px);
}

.t-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 3px;
}

.t-quote {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.78;
  flex: 1;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.35), rgba(37,99,235,0.35));
  border: 1px solid rgba(124,58,237,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple-light);
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.t-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.t-location {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 0.1rem;
}

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

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

/* ─── Utilities ──────────────────────────────────────────────────────────────── */
.text-gold  { color: var(--purple-light); }
.text-muted { color: var(--text-muted); }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rashi-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .rashi-grid  { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .how-steps   { grid-template-columns: 1fr; }
  .rashi-info-grid { grid-template-columns: 1fr; }
  .hero h1     { letter-spacing: -0.015em; }
  .footer-container { gap: 2.5rem; }
  .footer-brand { flex: 0 0 100%; }
  .footer-links { gap: 2rem; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero { padding: 6rem 1.5rem 5rem; }
  .hero-stats { gap: 1rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .how-steps { gap: 1rem; }
  .lucky-card { width: 82px; height: 128px; }
  .lucky-card-face .card-number { font-size: 2rem; }
  .calendar-container { flex-direction: column; align-items: center; }
  .rashi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .rashi-grid { gap: 0.6rem; }
  .rashi-card { padding: 1.4rem 0.9rem; }
  .card-symbol-wrap { width: 50px; height: 50px; font-size: 1.4rem; }
  .card-hindi { font-size: 1rem; }
}

/* ─── Daily Horoscope Section ───────────────────────────────────────────────── */
.horo-section-wrap {
  background: var(--bg-secondary);
  width: 100%;
}

.horo-section {
  padding: 5rem 2rem;
}

.horo-date-label {
  color: var(--purple-light);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.horo-loading {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.horo-spinner {
  font-size: 2.5rem;
  animation: spin 2s linear infinite;
  display: inline-block;
  margin-bottom: 1rem;
}

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

.horo-grid {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.horo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.horo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card-top);
  pointer-events: none;
}

.horo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.6);
  box-shadow: 0 0 20px rgba(124,58,237,0.25), 0 8px 32px rgba(0,0,0,0.4);
}

.horo-card--rating {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(37,99,235,0.1));
  border-color: rgba(124,58,237,0.4);
}

.horo-card-icon {
  font-size: 2rem;
  line-height: 1;
}

.horo-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
}

.horo-card-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-secondary);
  flex: 1;
}

.horo-stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.horo-star {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.15);
  transition: color 0.2s;
}

.horo-star--on {
  color: #f59e0b;
  text-shadow: 0 0 8px rgba(245,158,11,0.6);
}

.horo-rating-num {
  margin-left: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 0.04em;
}

.horo-unavailable {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .horo-grid { grid-template-columns: repeat(2, 1fr); }
  .horo-card--rating { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .horo-grid { grid-template-columns: 1fr; gap: 1rem; }
  .horo-card--rating { flex-direction: column; align-items: flex-start; }
}
