/* ==========================================================================
   TRUSOF ASTRO - Core Design System & Stylesheet
   Brand: Trusof ("Trust of India")
   Helpline: +91 92206 30966 | Merchant UPI: 9015558820@ptyes
   Theme: Default White / Spiritual Saffron & Gold Theme
   Mobile: Zero-Overflow Compact Responsive Architecture
   ========================================================================== */

/* Design Tokens - Default White Theme */
:root {
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --font-sanskrit: 'Cinzel Decorative', 'Georgia', serif;
  
  --color-primary: #ea580c; /* Sacred Saffron / Kesariya */
  --color-primary-dark: #c2410c;
  --color-primary-light: #fff7ed;
  --color-gold: #d97706;
  --color-gold-light: #fef3c7;
  --color-royal: #4338ca;
  --color-royal-light: #e0e7ff;
  --color-green: #15803d;
  --color-green-light: #dcfce7;
  --color-red: #dc2626;

  --bg-page: #ffffff;
  --bg-subtle: #fbfbfd;
  --bg-card: #ffffff;
  --bg-surface: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(234, 88, 12, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --nav-height: 70px;
}

/* Dark Mode Theme Variables */
[data-theme="dark"],
body.dark-theme {
  --color-primary: #f97316;
  --color-primary-dark: #ea580c;
  --color-primary-light: rgba(249, 115, 22, 0.15);
  --color-gold: #fbbf24;
  --color-gold-light: rgba(251, 191, 36, 0.15);
  --color-royal: #6366f1;
  --color-royal-light: rgba(99, 102, 241, 0.15);

  --bg-page: #0a0e17;
  --bg-subtle: #0f172a;
  --bg-card: #1e293b;
  --bg-surface: #172033;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --border-light: #1e293b;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Zero Mobile Overflow Reset */
*, *::before, *::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-center { text-align: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Top Ticker Notification */
.top-ticker {
  background: linear-gradient(90deg, #ea580c, #d97706);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  text-align: center;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.top-ticker a {
  text-decoration: underline;
  color: #fff;
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ea580c, #d97706);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-name span {
  color: var(--color-primary);
}

.brand-tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.home-btn-pill:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.wallet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-gold-light);
  color: #92400e;
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.wallet-badge:hover {
  transform: translateY(-1px);
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: var(--border-color);
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

/* Hero Section */
.hero-section {
  padding: 40px 0 30px;
  background: radial-gradient(circle at top right, var(--color-gold-light) 0%, var(--bg-page) 65%);
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.hero-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(135deg, #ea580c, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ea580c, #d97706);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.35);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Trust Stats Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 18px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Offer Banner */
.offer-banner {
  background: linear-gradient(135deg, #4338ca, #6366f1);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin: 28px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 4px 15px rgba(67, 56, 202, 0.25);
}

.offer-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 2px;
}

.offer-desc {
  font-size: 13px;
  opacity: 0.9;
}

.offer-btn {
  background: #ffffff;
  color: #4338ca;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.offer-btn:hover {
  transform: scale(1.05);
}

/* Section Common Header */
.section {
  padding: 40px 0;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 30px;
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Category Filter Bar */
.category-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-filter-bar::-webkit-scrollbar {
  display: none;
}

.category-chip {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.category-chip:hover, .category-chip.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

/* Astrologers Grid */
.astrologers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.astro-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.astro-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(234, 88, 12, 0.4);
}

.astro-card-top {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.astro-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.astro-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background-color: #22c55e;
}

.status-dot.busy { background-color: #f59e0b; }
.status-dot.offline { background-color: #94a3b8; }

.astro-details {
  flex: 1;
}

.astro-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.astro-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}

.verified-badge {
  color: #0284c7;
  font-size: 14px;
  margin-left: 4px;
}

.astro-rating-pill {
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.astro-spec {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  line-height: 1.4;
}

.astro-lang {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.astro-exp {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
}

.astro-bio {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.astro-action-bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}

.astro-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.astro-price span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.astro-btn-group {
  display: flex;
  gap: 8px;
}

.btn-chat {
  background: var(--color-green-light);
  color: var(--color-green);
  border: 1px solid rgba(21, 128, 61, 0.3);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-chat:hover {
  background: var(--color-green);
  color: #fff;
}

.btn-call {
  background: var(--color-gold-light);
  color: #b45309;
  border: 1px solid rgba(180, 83, 9, 0.3);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-call:hover {
  background: #b45309;
  color: #fff;
}

/* Free Tools Section */
.tools-nav-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tool-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tool-tab-btn.active, .tool-tab-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.tool-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.tool-panel.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
}

/* Kundli Chart Visual Box */
.kundli-result-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.kundli-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.kundli-info-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.kundli-info-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.kundli-info-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 2px;
}

/* Traditional Kundli Diagram (Responsive SVG Based) */
.kundli-chart-wrapper {
  max-width: 440px;
  margin: 0 auto 20px;
  background: var(--color-gold-light);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: inset 0 0 15px rgba(217, 119, 6, 0.15);
}

/* Zodiac Horoscope Signs Bar */
.zodiac-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.zodiac-bar::-webkit-scrollbar {
  display: none;
}

.zodiac-chip {
  flex-shrink: 0;
  text-align: center;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  min-width: 80px;
  transition: all 0.15s ease;
}

.zodiac-chip.active, .zodiac-chip:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

.zodiac-symbol {
  font-size: 24px;
  display: block;
  margin-bottom: 2px;
}

.zodiac-name {
  font-size: 12px;
  font-weight: 700;
}

/* Panchang Table */
.panchang-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.panchang-table th, .panchang-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  text-align: left;
}

.panchang-table th {
  background: var(--bg-surface);
  font-weight: 700;
  color: var(--text-secondary);
}

/* Astro Mall Grid */
.mall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.mall-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mall-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.mall-img-wrap {
  height: 150px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border-bottom: 1px solid var(--border-color);
}

.mall-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mall-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.mall-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.mall-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
}

.mall-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
}

.mall-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}

/* Modal Windows */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  padding: 16px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
}

/* Chat Modal Styles */
.chat-window {
  display: flex;
  flex-direction: column;
  height: 480px;
}

.chat-timer-bar {
  background: var(--color-gold-light);
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-subtle);
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.chat-bubble.astrologer {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--color-primary);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.chat-input-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  outline: none;
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* Call Modal */
.call-display {
  text-align: center;
  padding: 30px 20px;
}

.call-avatar-pulse {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 10px var(--color-primary-light);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--color-primary-light); }
  70% { box-shadow: 0 0 0 20px rgba(234, 88, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.call-status {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.call-timer {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 24px;
}

/* Wallet Recharge Modal */
.wallet-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.pack-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-surface);
  transition: all 0.15s ease;
}

.pack-card:hover, .pack-card.selected {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.pack-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.pack-bonus {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-green);
  margin-top: 2px;
}

.upi-qr-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin: 16px 0;
}

.upi-id-badge {
  display: inline-block;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 0 24px;
  font-size: 13px;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 36px;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a:hover {
  color: #f97316;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-size: 12px;
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: none;
  animation: slideUp 0.25s ease;
}

.toast-msg.active {
  display: block;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Compact Mobile Responsiveness (< 768px) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tool-panel {
    padding: 16px;
  }

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