/* ============================================================
   JyotishGuru.in — Main Stylesheet
   Mystical Light Theme with Gold Accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg-deepest:   #fdf8f0;
  --bg-dark:      #faf3e8;
  --bg-card:      #ffffff;
  --bg-card2:     #fff8ee;
  --border:       rgba(180,140,40,0.18);
  --border-glow:  rgba(180,140,40,0.45);
  --gold:         #b8860b;
  --gold-light:   #d4a017;
  --gold-dim:     #c8a84b;
  --saffron:      #e85d20;
  --violet:       #6a3fcb;
  --teal:         #0097a7;
  --text-primary: #2c1a06;
  --text-secondary:#6b4c1e;
  --text-muted:   #9e7a45;
  --green:        #2e7d32;
  --red:          #c62828;
  --shadow-gold:  0 0 20px rgba(180,140,40,0.18);
  --shadow-deep:  0 8px 32px rgba(180,140,40,0.10);
  --radius:       12px;
  --radius-lg:    20px;
  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body:    'Lato', sans-serif;
  --transition:   0.3s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-deepest);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Warm light background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(180,140,40,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(232,93,32,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(253,248,240,0.95) 0%, var(--bg-deepest) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-heading); color: var(--gold); letter-spacing: 0.05em; }
h4, h5, h6 { font-family: var(--font-body); color: var(--text-primary); }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.container-sm { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* ── Navigation ────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,248,240,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold) !important;
  display: flex; align-items: center; gap: 10px;
}
.navbar-brand span { font-size: 1.5rem; }
.navbar-links { display: flex; align-items: center; gap: 8px; }
.navbar-links a {
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.navbar-links a:hover, .navbar-links a.active {
  color: var(--gold);
  background: rgba(212,175,55,0.08);
}
.btn-nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--saffron)) !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
}
.hamburger {
  display: none;
  background: none; border: none;
  color: var(--gold); font-size: 1.5rem;
  cursor: pointer;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 20px 80px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '🕉';
  position: absolute; top: -20px; left: 50%;
  transform: translateX(-50%);
  font-size: 300px; opacity: 0.03;
  pointer-events: none; user-select: none;
}
.hero-tag {
  display: inline-block;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--border-glow);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: pulse-border 2s infinite;
}
@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--saffron));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-symbols {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; overflow: hidden;
}
.hero-symbols span {
  position: absolute;
  font-size: 1.5rem; opacity: 0.04;
  animation: float-symbol 8s ease-in-out infinite;
}
@keyframes float-symbol {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover::before { opacity: 1; }
.card-title {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none; border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #c49b0a);
  color: #000;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
  transform: translateY(-1px);
  color: #000;
}
.btn-saffron {
  background: linear-gradient(135deg, var(--saffron), #e05a29);
  color: #fff;
}
.btn-saffron:hover {
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--gold);
}
.btn-outline:hover {
  background: rgba(212,175,55,0.08);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-glow); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: all var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(180,140,40,0.12);
}
.form-control::placeholder { color: var(--text-muted); }
select.form-control option { background: var(--bg-card); }
.form-hint { color: var(--text-muted); font-size: 0.8rem; margin-top: 6px; }
.form-error { color: var(--red); font-size: 0.85rem; margin-top: 6px; }

/* ── Alert / Toast ──────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 0.9rem;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-error   { background: rgba(198,40,40,0.08); border: 1px solid rgba(198,40,40,0.3); color: #b71c1c; }
.alert-success { background: rgba(46,125,50,0.08); border: 1px solid rgba(46,125,50,0.3); color: #1b5e20; }
.alert-info    { background: rgba(180,140,40,0.08); border: 1px solid var(--border); color: var(--gold); }

.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--bg-card2);
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
  z-index: 1000;
  max-width: 340px;
  transform: translateX(120%);
  transition: transform 0.4s ease;
}
.toast.show { transform: translateX(0); }

/* ── Chat UI ────────────────────────────────────────────────── */
.chat-wrapper {
  display: flex; flex-direction: column;
  height: calc(100vh - 64px);
  max-width: 860px;
  margin: 0 auto;
}
.chat-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 14px;
}
.chat-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold-dim), var(--saffron));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.chat-header-info h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 2px;
}
.chat-header-info p {
  font-size: 0.8rem;
  color: var(--green);
}
.chat-messages {
  flex: 1; overflow-y: auto;
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 16px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.chat-bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  word-wrap: break-word;
}
.chat-bubble.user {
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.08));
  border: 1px solid rgba(212,175,55,0.2);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  color: var(--text-primary);
}
.chat-bubble.ai {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--text-primary);
}
.chat-bubble.ai strong { color: var(--gold); }
.chat-bubble .bubble-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: right;
}
.chat-bubble.ai::before {
  content: '🔮';
  position: absolute; top: -10px; left: 8px;
  font-size: 0.9rem;
}
.chat-typing {
  align-self: flex-start;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 18px; border-bottom-left-radius: 4px;
  padding: 14px 18px;
  display: none;
}
.typing-dots span {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 2px;
  animation: typing-bounce 1s ease infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-8px); opacity: 1; }
}
.chat-input-area {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
}
.chat-quick-prompts {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.quick-prompt-btn {
  background: rgba(212,175,55,0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.quick-prompt-btn:hover {
  border-color: var(--border-glow);
  color: var(--gold);
  background: rgba(212,175,55,0.1);
}
.chat-input-row {
  display: flex; gap: 10px; align-items: flex-end;
}
.chat-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 20px;
  resize: none;
  outline: none;
  max-height: 120px;
  transition: border-color var(--transition);
}
.chat-input:focus { border-color: var(--gold); }
.chat-send-btn {
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(212,175,55,0.4);
}
.chat-limit-bar {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.chat-limit-bar span { color: var(--gold); }

/* ── Kundli Chart ───────────────────────────────────────────── */
.kundli-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--border-glow);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.kundli-cell {
  border: 1px solid var(--border);
  padding: 8px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background: var(--bg-card);
  min-height: 80px;
}
.kundli-cell.center { background: var(--bg-card2); }
.kundli-cell .planet-icon { font-size: 1.1rem; }
.kundli-cell .house-num { color: var(--gold-dim); font-size: 0.65rem; }
.kundli-cell .sign-name { color: var(--gold); font-weight: bold; }

/* ── Dashboard ──────────────────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; align-items: center; gap: 20px;
  transition: all var(--transition);
}
.stat-card:hover { border-color: var(--border-glow); box-shadow: var(--shadow-gold); }
.stat-icon {
  font-size: 2.5rem;
  width: 64px; height: 64px;
  background: rgba(212,175,55,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-info h3 { font-size: 1.8rem; color: var(--gold); font-family: var(--font-body); }
.stat-info p  { color: var(--text-muted); font-size: 0.85rem; }

/* ── Luck Meter ─────────────────────────────────────────────── */
.luck-meter { margin: 16px 0; }
.luck-meter-label {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; color: var(--text-secondary);
  margin-bottom: 8px;
}
.luck-bar {
  height: 10px;
  background: rgba(180,140,40,0.12);
  border-radius: 5px;
  overflow: hidden;
}
.luck-bar-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--saffron), var(--gold), var(--gold-light));
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(212,175,55,0.4);
}

/* ── Horoscope Page ─────────────────────────────────────────── */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.zodiac-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.zodiac-card:hover, .zodiac-card.active {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-gold);
  background: var(--bg-card2);
}
.zodiac-card.active { border-color: var(--gold); }
.zodiac-symbol { font-size: 2.5rem; margin-bottom: 8px; }
.zodiac-name { color: var(--gold); font-family: var(--font-heading); font-size: 0.9rem; }
.zodiac-rashi { color: var(--text-muted); font-size: 0.75rem; }

/* ── Auth Pages ─────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '🕉';
  position: absolute; top: -30px; right: -30px;
  font-size: 120px; opacity: 0.04;
  transform: rotate(15deg);
}
.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--saffron));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-logo p { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }
.auth-divider {
  text-align: center; position: relative;
  color: var(--text-muted); font-size: 0.85rem;
  margin: 20px 0;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute; top: 50%;
  width: 40%; height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

/* ── Section Heading ────────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.section-heading p { color: var(--text-secondary); max-width: 540px; margin: 0 auto; }

/* ── Feature Grid ───────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 { color: var(--gold); margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p  { color: var(--text-secondary); font-size: 0.9rem; }

/* ── Badges / Pills ─────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-gold    { background: rgba(180,140,40,0.12); color: var(--gold); border: 1px solid rgba(180,140,40,0.3); }
.badge-free    { background: rgba(46,125,50,0.10); color: #2e7d32; }
.badge-premium { background: rgba(106,63,203,0.12); color: #6a3fcb; }

/* ── Page Header ────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
  border-bottom: 1px solid var(--border);
  padding: 40px 20px;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.page-header p { color: var(--text-secondary); margin-top: 8px; }

/* ── Utility ────────────────────────────────────────────────── */
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.p-section { padding: 64px 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.loading-spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 2px solid rgba(212,175,55,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Markdown in chat ───────────────────────────────────────── */
.ai-message p { margin-bottom: 10px; }
.ai-message strong { color: var(--gold); }
.ai-message em { color: var(--text-secondary); font-style: normal; }
.ai-message hr { border-color: var(--border); margin: 12px 0; }
.ai-message ul { padding-left: 20px; }
.ai-message li { margin-bottom: 6px; }

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-links { display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(253,248,240,0.99); padding: 16px; flex-direction: column; gap: 4px;
    border-bottom: 1px solid var(--border); }
  .navbar-links.open { display: flex; }
  .hamburger { display: block; }
  .hero { padding: 60px 20px 50px; }
  .auth-card { padding: 28px 24px; }
  .kundli-grid { max-width: 320px; }
  .kundli-cell { min-height: 60px; font-size: 0.6rem; padding: 4px; }
  .chat-bubble { max-width: 90%; }
  .zodiac-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .zodiac-grid { grid-template-columns: repeat(2, 1fr); }
  .chat-quick-prompts { display: none; }
}

/* ── Admin ──────────────────────────────────────────────────── */
.admin-sidebar {
  width: 240px; background: var(--bg-card);
  border-right: 1px solid var(--border);
  min-height: calc(100vh - 64px);
  padding: 24px 0;
  position: fixed; top: 64px; left: 0;
  overflow-y: auto;
}
.admin-sidebar a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  color: var(--gold);
  background: rgba(212,175,55,0.06);
  border-left-color: var(--gold);
}
.admin-content { margin-left: 240px; padding: 32px; }
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.admin-stat {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  text-align: center;
}
.admin-stat .number { font-size: 2.5rem; color: var(--gold); font-weight: 700; }
.admin-stat .label  { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
th { color: var(--gold); font-family: var(--font-heading); font-weight: 600; background: var(--bg-card2); }
tr:hover td { background: rgba(212,175,55,0.02); }
@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; padding: 16px; }
}
