/* Horoscope Wala - White Background & Bold Black Typography Design System */
/* Clean High-Contrast Editorial Style inspired by Stitch UI Architecture */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Manrope:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;600;700;800&display=swap');

:root {
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cinzel', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* White & Stark Black Theme Palette */
  --space-dark: #ffffff;
  --space-card: #ffffff;
  --space-card-hover: #f8fafc;
  --space-border: #e2e8f0;
  --space-border-hover: #000000;

  /* Stark Black Bold Typography */
  --text-primary: #000000;
  --text-secondary: #0f172a;
  --text-muted: #334155;

  /* Saffron Gold & Vedic Accents */
  --gold-primary: #f59e0b;
  --gold-bright: #d97706;
  --gold-light: #fffbeb;
  --gold-deep: #b45309;
  --gold-glow: rgba(245, 158, 11, 0.25);
}

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

html, body {
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-sans);
  scroll-behavior: auto !important;
  overflow-x: hidden;
}

/* Background - Pure White with Subtle Editorial Dot Grid */
.cosmic-bg {
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
    radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
}

/* Typography styles - Bold Black Enforcement */
.font-display {
  font-family: var(--font-display);
}

.font-sans {
  font-family: var(--font-sans);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Celestial Glass Card - Crisp White with Sharp Contrast */
.celestial-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #000000;
}

.celestial-card:hover {
  border-color: #000000;
  background: #ffffff;
  box-shadow: 0 14px 34px -6px rgba(0, 0, 0, 0.12), 0 0 0 1px #000000;
  transform: translateY(-2px);
}

/* Crisp White Navigation Bar */
.celestial-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #000000;
  font-weight: 800;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
  border: 1.5px solid #b45309;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 50%, #f59e0b 100%);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: #ffffff;
  border: 2px solid #000000;
  color: #000000;
  font-weight: 800;
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

/* Bold Black & Gold Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #000000 0%, #92400e 55%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* Pulsing Starlight Dot */
.star-dot {
  width: 8px;
  height: 8px;
  background-color: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 10px #f59e0b;
}

/* Kundli Chart Container */
.kundli-svg-container {
  max-width: 440px;
  margin: 0 auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.08));
}

.kundli-grid-line {
  stroke: #000000;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.kundli-house-number {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: #64748b;
  font-weight: 800;
}

.kundli-planet-text {
  font-family: var(--font-sans);
  font-size: 11.5px;
  fill: #000000;
  font-weight: 900;
}

/* Modal Backdrops & White Box */
.celestial-modal-backdrop {
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  display: none;
}

.celestial-modal-backdrop.active {
  display: flex;
}

.celestial-modal-box {
  background: #ffffff;
  border: 2.5px solid #000000;
  border-radius: 1.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  max-height: 90vh;
  overflow-y: auto;
  color: #000000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

/* Toast */
.celestial-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #000000;
  border: 2px solid #f59e0b;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 100;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  font-weight: 700;
}

.celestial-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Zodiac Symbol Badges */
.zodiac-symbol-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #fffbeb;
  border: 2px solid #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #b45309;
  font-weight: 800;
  transition: all 0.25s ease;
}

.celestial-card:hover .zodiac-symbol-badge {
  background: #000000;
  color: #fbbf24;
  border-color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: rotate(6deg) scale(1.08);
}

/* ==========================================
   AD REVENUE & MONETIZATION STYLES (WHITE THEME HIGH-CTR)
   ========================================== */
.ad-slot-container {
  width: 100%;
  margin: 1.5rem auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ad-slot-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 14px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s ease;
}

.ad-slot-box:hover {
  border-color: #000000;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ad-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ad-placeholder-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-mono);
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

/* Sticky Bottom Anchor Ad (Google AdSense Compliant - White Edition) */
.ad-sticky-anchor {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 45;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid #000000;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.ad-sticky-anchor.hidden-ad {
  transform: translateY(100%);
}

.ad-close-btn {
  position: absolute;
  top: -12px;
  right: 16px;
  background: #000000;
  border: 1.5px solid #000000;
  color: #ffffff;
  border-radius: 9999px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ad-close-btn:hover {
  background: #f59e0b;
  color: #000000;
}

/* 100% Free Badge */
.free-guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #ecfdf5;
  border: 1.5px solid #059669;
  color: #065f46;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Print Optimization (Clean PDF Output) */
@media print {
  .ad-slot-container,
  .ad-sticky-anchor,
  header,
  footer,
  #hero-ticker-container,
  .lang-bar-top,
  #divine-top-animation-section,
  .no-print,
  .btn-gold,
  .btn-outline-gold {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .celestial-card {
    border: 1.5px solid #000000 !important;
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
  }
  #kundli-result-wrapper,
  #milan-result-wrapper {
    display: block !important;
    border: 2px solid #000000 !important;
    background: #ffffff !important;
    color: #000000 !important;
  }
}

/* ==========================================
   ALL INDIAN LANGUAGES MULTILINGUAL ENGINE (WHITE THEME)
   ========================================== */
.lang-bar-top {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  color: #000000;
  scrollbar-width: none;
}
.lang-bar-top::-webkit-scrollbar {
  display: none;
}

.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.lang-pill-btn:hover {
  border-color: #000000;
  color: #000000;
  background: #f1f5f9;
}
.lang-pill-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-select-dropdown {
  background: #ffffff;
  border: 2px solid #000000;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

/* Hide Google Translate top banner */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0px !important;
}
#google_translate_element {
  display: none;
}
.goog-te-gadget {
  display: none;
}

/* ==========================================
   DAILY / WEEKLY / MONTHLY PERIOD TABS
   ========================================== */
.period-tab-btn {
  padding: 8px 20px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #000000;
  background: #ffffff;
  border: 2px solid #000000;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.period-tab-btn:hover {
  background: #f1f5f9;
  color: #000000;
}

.period-tab-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-weight: 900;
}

/* ==========================================
   TOP DIVINE BABA ANIMATION VIDEO
   ========================================== */
.divine-video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 2.5px solid #000000;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15), 0 0 40px rgba(245, 158, 11, 0.2);
  background: #000000;
}

.divine-video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Form inputs & dropdowns default styling */
input[type="text"],
input[type="date"],
input[type="time"],
select {
  background-color: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 0.75rem !important;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus {
  border-color: #000000 !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15) !important;
  outline: none !important;
}
