/**
 * Kriyasya Astrology — Daily Tools & SEO Landing Pages Luxury Design System
 * Universal Spacing, High-Contrast Typography, and Cosmic Elegance Standard
 * (Covers: Today's Panchang, Rahu Kaal, Shubh Muhurat, Nakshatra, Tithi, Ekadashi, Sankranti)
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Force Complete Cosmic Dark Foundation — immune to light theme leakage */
body.dt-body,
body.lv-reporting-body,
body.kr-report-page,
body.rpt-body {
  background: #0B0717 radial-gradient(circle at 50% 0%, #1A1238 0%, #0B0717 75%) no-repeat !important;
  color: #F7F4FC !important;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Master Shell Container */
.dt-shell,
.rpt-container,
.lv-report-shell {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 28px 24px 84px !important;
  box-sizing: border-box !important;
  color: #F7F4FC !important;
}

.dt-shell *,
.rpt-container *,
.lv-report-shell * {
  box-sizing: border-box;
}

/* Breadcrumb & Subtitle Top Bar */
.dt-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.dt-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F1C75B !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.dt-back-link:hover {
  color: #FFE699 !important;
  transform: translateX(-3px);
}
.dt-meta-badge {
  font-size: 0.82rem;
  color: #AFA5CE;
  letter-spacing: 0.5px;
}

/* Master Hero Card */
.dt-hero {
  background: linear-gradient(145deg, rgba(30, 20, 58, 0.92), rgba(16, 11, 35, 0.96)) !important;
  border: 1px solid rgba(241, 199, 91, 0.28) !important;
  border-radius: 24px !important;
  padding: 38px 42px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 40px rgba(184, 140, 255, 0.08) !important;
  margin-bottom: 44px !important;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}
.dt-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(241, 199, 91, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.dt-hero-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F1C75B;
  margin-bottom: 10px;
}
.dt-hero-title {
  font-family: 'Cinzel', 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2rem, 4.2vw, 3rem) !important;
  font-weight: 700 !important;
  color: #FFF7E2 !important;
  line-height: 1.25 !important;
  margin: 0 0 10px !important;
  letter-spacing: 0.5px;
}
.dt-hero-subtitle {
  font-size: 1.05rem;
  color: #D3CAEE;
  margin: 0 0 24px;
  line-height: 1.6;
}

/* Date & Location Action Bar */
.dt-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 12px 18px;
}
.dt-date-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dt-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}
.dt-btn-secondary,
a.dt-btn-secondary,
.lv-btn-secondary,
a.lv-btn-secondary {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #E2DCF3 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}
.dt-btn-secondary:hover,
a.dt-btn-secondary:hover,
.lv-btn-secondary:hover,
a.lv-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
  border-color: rgba(241, 199, 91, 0.5) !important;
  transform: translateY(-1px);
}
.dt-btn-gold,
a.dt-btn-gold,
.lv-btn-gold,
a.lv-btn-gold,
.lv-btn-primary,
a.lv-btn-primary {
  background: linear-gradient(135deg, #FCE082, #E5B340) !important;
  color: #120D24 !important;
  border: 1px solid #FCE082 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(241, 199, 91, 0.35) !important;
}
.dt-btn-gold:hover,
a.dt-btn-gold:hover,
.lv-btn-gold:hover,
a.lv-btn-gold:hover {
  background: linear-gradient(135deg, #FFF0A8, #F5C452) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(241, 199, 91, 0.45) !important;
}

/* Sections & Breathing Space */
.dt-section {
  margin-bottom: 48px !important;
}
.dt-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dt-section-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFF7E2;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dt-section-title span.dt-icon {
  font-size: 1.25rem;
}
.dt-section-desc {
  font-size: 0.92rem;
  color: #AEA3CD;
  margin: 0;
}

/* Universal Cards & Grid System */
.dt-card,
.lv-card,
.rpt-card {
  background: linear-gradient(165deg, rgba(28, 20, 54, 0.8), rgba(15, 10, 32, 0.9)) !important;
  border: 1px solid rgba(241, 199, 91, 0.22) !important;
  border-radius: 20px !important;
  padding: 30px 32px !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(14px) !important;
  color: #F7F4FC !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  position: relative;
  overflow: hidden;
}
.dt-card:hover,
.lv-card:hover,
.rpt-card:hover {
  border-color: rgba(241, 199, 91, 0.45) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(241, 199, 91, 0.08) !important;
}

.dt-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}
.dt-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.dt-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.dt-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

/* Badges System */
.dt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 9999px;
  line-height: 1.3;
}
.dt-badge-gold {
  background: rgba(241, 199, 91, 0.15) !important;
  color: #F1C75B !important;
  border: 1px solid rgba(241, 199, 91, 0.45) !important;
}
.dt-badge-emerald, .dt-badge-success {
  background: rgba(65, 214, 163, 0.15) !important;
  color: #41D6A3 !important;
  border: 1px solid rgba(65, 214, 163, 0.45) !important;
}
.dt-badge-rose, .dt-badge-danger {
  background: rgba(242, 123, 123, 0.15) !important;
  color: #F27B7B !important;
  border: 1px solid rgba(242, 123, 123, 0.45) !important;
}
.dt-badge-amethyst, .dt-badge-purple {
  background: rgba(184, 140, 255, 0.15) !important;
  color: #B88CFF !important;
  border: 1px solid rgba(184, 140, 255, 0.45) !important;
}
.dt-badge-neutral {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #E2DCF3 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* High-Contrast Tables with Generous Row Heights */
.dt-table-wrapper {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 14, 40, 0.6);
  backdrop-filter: blur(12px);
}
.dt-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.dt-table th {
  padding: 16px 20px;
  background: rgba(30, 22, 60, 0.85);
  color: #E5DCF8;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 2px solid rgba(241, 199, 91, 0.25);
  white-space: nowrap;
}
.dt-table td {
  padding: 18px 20px;
  color: #E2DCF3;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}
.dt-table tr:last-child td {
  border-bottom: none;
}
.dt-table tbody tr {
  transition: background 0.15s ease;
}
.dt-table tbody tr:hover {
  background: rgba(241, 199, 91, 0.05);
}
.dt-table tr.dt-row-active,
.dt-table tr.dt-row-today {
  background: rgba(241, 199, 91, 0.09) !important;
}

/* Rich Editorial Content & Guide Articles */
.dt-guide-card,
.dt-guide-article {
  background: linear-gradient(165deg, rgba(26, 18, 50, 0.95), rgba(14, 9, 30, 0.98)) !important;
  border: 1px solid rgba(241, 199, 91, 0.28) !important;
  border-left: 5px solid #F1C75B !important;
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 48px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
.dt-guide-card h2,
.dt-guide-card h3,
.dt-guide-article h2,
.dt-guide-article h3 {
  font-family: 'Cinzel', Georgia, serif;
  color: #FFF7E2 !important;
  margin-top: 0;
  margin-bottom: 14px;
}
.dt-guide-card h3,
.dt-guide-article h3 {
  font-size: 1.25rem;
  margin-top: 24px;
  color: #F1C75B !important;
}
.dt-guide-card p,
.dt-guide-article p {
  color: #E2DCF3 !important;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 16px;
}
.dt-guide-card ul, .dt-guide-card ol,
.dt-guide-article ul, .dt-guide-article ol {
  color: #E2DCF3 !important;
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 20px;
}
.dt-guide-card li,
.dt-guide-article li {
  margin-bottom: 8px;
  color: #E2DCF3 !important;
}
.dt-quote-box {
  background: rgba(241, 199, 91, 0.06);
  border-left: 3px solid #F1C75B;
  padding: 16px 22px;
  border-radius: 0 14px 14px 0;
  margin: 20px 0;
  font-style: italic;
  color: #FFEFC2;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* FAQ Accordion */
.dt-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dt-faq-item {
  background: rgba(24, 17, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dt-faq-item:hover {
  border-color: rgba(241, 199, 91, 0.35);
  background: rgba(30, 21, 56, 0.85);
}
.dt-faq-summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: #FFF7E2;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}
.dt-faq-summary::-webkit-details-marker {
  display: none;
}
.dt-faq-summary::after {
  content: '✦';
  font-size: 0.95rem;
  color: #F1C75B;
  transition: transform 0.2s ease;
}
details[open] .dt-faq-summary::after {
  transform: rotate(45deg);
}
details[open] .dt-faq-summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dt-faq-content {
  padding: 20px 24px;
  color: #E2DCF3;
  font-size: 0.98rem;
  line-height: 1.8;
}

/* Statutory Disclaimer Box */
.dt-disclaimer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 20px 26px;
  color: #B2A6D3;
  font-size: 0.88rem;
  line-height: 1.65;
  margin-top: 48px;
}
.dt-disclaimer strong {
  color: #FFF7E2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dt-hero {
    padding: 24px 20px !important;
  }
  .dt-card, .lv-card, .rpt-card {
    padding: 22px 20px !important;
  }
  .dt-grid-2, .dt-grid-3, .dt-grid-4, .dt-grid-5 {
    grid-template-columns: 1fr !important;
  }
  .dt-guide-card {
    padding: 24px 20px;
  }
  .dt-nav-bar {
    flex-direction: column;
    align-items: stretch;
  }
}
