/* ================================================================
   Choghadiya Widgets - Live Current Choghadiya Timeline Stylesheet
   Apple-inspired Dark Luxury Glassmorphism & High-Performance UI
   ================================================================ */

/* Root Overrides & Specific Accents */
:root {
  --chog-good: #2EB762;
  --chog-good-glow: rgba(46, 183, 98, 0.35);
  --chog-good-bg: rgba(46, 183, 98, 0.09);
  --chog-good-border: rgba(46, 183, 98, 0.3);

  --chog-bad: #ED4545;
  --chog-bad-glow: rgba(237, 69, 69, 0.35);
  --chog-bad-bg: rgba(237, 69, 69, 0.09);
  --chog-bad-border: rgba(237, 69, 69, 0.3);

  --chog-neutral: #428FF2;
  --chog-neutral-glow: rgba(66, 143, 242, 0.35);
  --chog-neutral-bg: rgba(66, 143, 242, 0.09);
  --chog-neutral-border: rgba(66, 143, 242, 0.3);

  --chog-gold: #D4A23A;
  --chog-gold-glow: rgba(212, 162, 58, 0.4);
  --chog-gold-bg: rgba(212, 162, 58, 0.1);
  --chog-gold-border: rgba(212, 162, 58, 0.35);

  --glass-surface: rgba(255, 255, 255, 0.035);
  --glass-surface-hover: rgba(255, 255, 255, 0.07);
  --glass-card: rgba(16, 18, 27, 0.7);
  --glass-card-border: rgba(255, 255, 255, 0.08);
}

/* Allow sticky positioning across browsers */
html,
body {
  overflow-x: clip !important;
}

/* Base Page Setup */
.chog-page-wrapper {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 120px;
  overflow-x: clip !important;
}

@media (max-width: 768px) {
  .chog-page-wrapper {
    padding-top: 90px;
    padding-bottom: 140px;
  }
}

/* Background Ambient Orbs */
.ambient-glow-1 {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 162, 58, 0.14) 0%, rgba(46, 183, 98, 0.05) 50%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 40%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(66, 143, 242, 0.1) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-3 {
  position: absolute;
  bottom: 15%;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212, 162, 58, 0.12) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* Header Action Strip */
.header-action-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.action-pill-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Location Chip & Button */
.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 980px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.location-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-300);
  transform: translateY(-1px);
}

.location-chip svg {
  color: var(--gold-300);
  flex-shrink: 0;
}

.btn-gps-detect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(212, 162, 58, 0.15), rgba(212, 162, 58, 0.05));
  border: 1px solid var(--gold-300);
  border-radius: 980px;
  color: var(--gold-200);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-gps-detect:hover {
  background: var(--gold-300);
  color: #08080c;
  box-shadow: 0 4px 15px var(--chog-gold-glow);
  transform: translateY(-1px);
}

.btn-gps-detect.detecting svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Language Segmented Control */
.lang-switcher {
  display: inline-flex;
  padding: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 980px;
}

.lang-btn {
  padding: 6px 14px;
  border-radius: 980px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(212, 162, 58, 0.35);
  font-weight: 700;
}

.lang-btn:not(.active):hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* ================================================================
   STICKY CONTROL DOCK: DATE NAVIGATOR & DAY/NIGHT SWITCHER
   ================================================================ */
.date-navigator {
  position: -webkit-sticky;
  position: sticky;
  top: 72px;
  z-index: 900;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(14, 17, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  margin-bottom: 32px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.date-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.date-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.date-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-300);
  color: var(--gold-300);
  transform: scale(1.05);
}

.date-nav-btn:active {
  transform: scale(0.95);
}

.current-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: all 0.2s ease;
}

.current-date-badge:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-300);
  color: var(--gold-200);
}

.current-date-badge svg {
  color: var(--gold-300);
  flex-shrink: 0;
}

.current-date-badge input[type="date"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.btn-today-pill {
  padding: 6px 14px;
  border-radius: 980px;
  border: 1px solid rgba(212, 162, 58, 0.4);
  background: rgba(212, 162, 58, 0.14);
  color: var(--gold-200);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-today-pill:hover {
  background: var(--gold-300);
  color: #08080c;
  box-shadow: 0 2px 10px rgba(212, 162, 58, 0.4);
  transform: translateY(-1px);
}

/* Day / Night Segmented Control inside Sticky Dock */
.chog-mode-tabs {
  display: inline-flex;
  padding: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 980px;
  flex-shrink: 0;
}

.mode-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 980px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.mode-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.mode-tab-btn.active.day-tab {
  color: #fde047;
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow: 0 2px 12px rgba(253, 224, 71, 0.25);
}

.mode-tab-btn.active.night-tab {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow: 0 2px 12px rgba(147, 197, 253, 0.25);
}

.tab-time-pill {
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 500;
}

.timeline-date-chip {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(212, 162, 58, 0.15);
  color: var(--gold-200);
  border: 1px solid rgba(212, 162, 58, 0.3);
  margin-left: 8px;
  vertical-align: middle;
}

/* Mobile & Tablet Responsiveness for Date Dock */
@media (max-width: 860px) {
  .date-navigator {
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .date-nav-controls {
    justify-content: space-between;
    width: 100%;
  }

  .current-date-badge {
    flex: 1;
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.92rem;
  }

  .chog-mode-tabs {
    display: flex;
    width: 100%;
  }

  .mode-tab-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .tab-time-pill {
    display: none;
  }
}

/* ================================================================
   HERO CARD: RUNNING CURRENT CHOGHADIYA (LIVE PULSE)
   ================================================================ */
.current-hero-card {
  position: relative;
  background: linear-gradient(145deg, rgba(20, 24, 38, 0.85), rgba(10, 12, 20, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 36px 32px;
  margin-bottom: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Glowing Border Themes for Hero Card */
.current-hero-card.theme-good {
  border-color: rgba(46, 183, 98, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(46, 183, 98, 0.2);
}

.current-hero-card.theme-neutral {
  border-color: rgba(66, 143, 242, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(66, 143, 242, 0.2);
}

.current-hero-card.theme-bad {
  border-color: rgba(237, 69, 69, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(237, 69, 69, 0.2);
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(237, 69, 69, 0.12);
  border: 1px solid rgba(237, 69, 69, 0.3);
  border-radius: 980px;
  color: #ff5e5e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 10px #ff3b30;
  animation: live-blink 1.4s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.75); }
}

.sun-times-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: 980px;
  border: 1px solid var(--border-glass);
}

.sun-times-pill span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sun-times-pill svg {
  color: var(--gold-300);
}

/* Hero Main Content Grid */
.hero-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-chog-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-type-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 8px;
  width: fit-content;
}

.hero-type-tag.good {
  background: var(--chog-good-bg);
  color: var(--chog-good);
  border: 1px solid var(--chog-good-border);
}

.hero-type-tag.neutral {
  background: var(--chog-neutral-bg);
  color: var(--chog-neutral);
  border: 1px solid var(--chog-neutral-border);
}

.hero-type-tag.bad {
  background: var(--chog-bad-bg);
  color: var(--chog-bad);
  border: 1px solid var(--chog-bad-border);
}

.hero-chog-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-chog-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 60%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-chog-subname {
  font-size: 1.4rem;
  color: var(--gold-300);
  font-weight: 600;
}

.hero-time-range {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-time-range svg {
  color: var(--gold-300);
}

.hero-planet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-planet-badge img,
.hero-planet-badge .planet-icon-svg {
  width: 20px;
  height: 20px;
}

.hero-advice-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 8px;
}

.hero-advice-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-300);
  margin-bottom: 6px;
}

.hero-advice-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Hero Right: Countdown & Circular/Bar Meter */
.hero-countdown-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.countdown-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.countdown-digits {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.countdown-unit-labels {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-top: -8px;
}

/* Linear Progress Bar */
.progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 980px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 45%;
  border-radius: 980px;
  transition: width 1s linear;
}

.progress-bar-fill.good {
  background: linear-gradient(90deg, #10b981, #2eb762);
  box-shadow: 0 0 12px var(--chog-good-glow);
}

.progress-bar-fill.neutral {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  box-shadow: 0 0 12px var(--chog-neutral-glow);
}

.progress-bar-fill.bad {
  background: linear-gradient(90deg, #f59e0b, #ed4545);
  box-shadow: 0 0 12px var(--chog-bad-glow);
}

.next-slot-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.next-slot-pill {
  font-weight: 700;
  color: var(--text-primary);
}

/* ================================================================
   TIMELINE SECTION CONTROLS & TABS
   ================================================================ */
.timeline-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.timeline-title-area h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.timeline-title-area p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.chog-mode-tabs {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 980px;
}

.mode-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 980px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mode-tab-btn svg {
  width: 18px;
  height: 18px;
}

.mode-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mode-tab-btn.active.day-tab {
  color: #fde047;
  border-color: rgba(253, 224, 71, 0.4);
}

.mode-tab-btn.active.night-tab {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.4);
}

/* ================================================================
   TIMELINE DISPLAY: INTERACTIVE 8-SLOT CARDS
   ================================================================ */
.timeline-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

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

@media (max-width: 600px) {
  .timeline-slots-grid {
    grid-template-columns: 1fr;
  }
}

.slot-card {
  position: relative;
  background: rgba(18, 20, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.slot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

/* Active Slot Glowing Style */
.slot-card.is-active {
  border-width: 2px;
  transform: scale(1.02);
  z-index: 2;
}

.slot-card.is-active.good {
  border-color: #2EB762;
  box-shadow: 0 10px 30px rgba(46, 183, 98, 0.35), inset 0 0 20px rgba(46, 183, 98, 0.15);
  background: rgba(46, 183, 98, 0.08);
}

.slot-card.is-active.neutral {
  border-color: #428FF2;
  box-shadow: 0 10px 30px rgba(66, 143, 242, 0.35), inset 0 0 20px rgba(66, 143, 242, 0.15);
  background: rgba(66, 143, 242, 0.08);
}

.slot-card.is-active.bad {
  border-color: #ED4545;
  box-shadow: 0 10px 30px rgba(237, 69, 69, 0.35), inset 0 0 20px rgba(237, 69, 69, 0.15);
  background: rgba(237, 69, 69, 0.08);
}

/* Passed Slot Dimmed */
.slot-card.is-passed {
  opacity: 0.65;
}

.slot-card.is-passed:hover {
  opacity: 0.95;
}

.slot-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.slot-order-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
}

.slot-card.is-active .slot-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 980px;
  background: #ffffff;
  color: #08080c;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

.slot-card.is-active .slot-active-badge .badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2eb762;
}

.slot-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slot-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.slot-icon-box.good {
  background: var(--chog-good-bg);
  border: 1px solid var(--chog-good-border);
  color: var(--chog-good);
}

.slot-icon-box.neutral {
  background: var(--chog-neutral-bg);
  border: 1px solid var(--chog-neutral-border);
  color: var(--chog-neutral);
}

.slot-icon-box.bad {
  background: var(--chog-bad-bg);
  border: 1px solid var(--chog-bad-border);
  color: var(--chog-bad);
}

.slot-icon-box svg,
.slot-icon-box img {
  width: 24px;
  height: 24px;
}

.slot-names {
  display: flex;
  flex-direction: column;
}

.slot-primary-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.slot-phonetic {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.slot-timing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.slot-time-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.slot-duration-text {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

.slot-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.slot-nature-badge {
  font-weight: 700;
  font-size: 0.78rem;
}

.slot-nature-badge.good { color: var(--chog-good); }
.slot-nature-badge.neutral { color: var(--chog-neutral); }
.slot-nature-badge.bad { color: var(--chog-bad); }

.slot-planet-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-tertiary);
}

/* ================================================================
   SUMMARY STATS STRIP (Auspicious Hours, Rahu Kaal, Wealth Index)
   ================================================================ */
.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .stats-summary-grid {
    grid-template-columns: 1fr;
  }
}

.summary-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(12px);
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(212, 162, 58, 0.12);
  border: 1px solid rgba(212, 162, 58, 0.3);
  color: var(--gold-300);
}

.stat-icon-wrapper.red {
  background: rgba(237, 69, 69, 0.12);
  border-color: rgba(237, 69, 69, 0.3);
  color: var(--chog-bad);
}

.stat-icon-wrapper.green {
  background: rgba(46, 183, 98, 0.12);
  border-color: rgba(46, 183, 98, 0.3);
  color: var(--chog-good);
}

.stat-texts h4 {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.stat-texts .stat-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-texts .stat-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ================================================================
   SEO & KNOWLEDGE SECTION (7 CHOGHADIYA TABLE & GUIDES)
   ================================================================ */
.seo-knowledge-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px 32px;
  margin-bottom: 48px;
  backdrop-filter: blur(16px);
}

.seo-table-container {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chog-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.chog-table th,
.chog-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chog-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-300);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chog-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.chog-table tr:last-child td {
  border-bottom: none;
}

.article-content {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 12px 0;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.article-content li {
  margin-bottom: 8px;
}

/* ================================================================
   FAQ ACCORDION SECTION
   ================================================================ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--gold-300);
}

.faq-icon-chevron {
  transition: transform 0.3s ease;
  color: var(--gold-300);
  flex-shrink: 0;
}

.faq-item.open .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out-expo), padding 0.35s ease;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px 24px;
}

/* ================================================================
   BOTTOM APP ADVERTISEMENT BANNER (CONVERTING SHOWCASE)
   ================================================================ */
.app-promo-card {
  position: relative;
  background: linear-gradient(145deg, #131726, #090b14);
  border: 1px solid rgba(212, 162, 58, 0.3);
  border-radius: 32px;
  padding: 48px 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(212, 162, 58, 0.15);
  margin-top: 64px;
  margin-bottom: 48px;
  overflow: hidden;
}

.app-promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-300), var(--auspicious), transparent);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .promo-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .promo-bullets {
    justify-content: center;
  }
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 980px;
  background: rgba(212, 162, 58, 0.15);
  border: 1px solid rgba(212, 162, 58, 0.4);
  color: var(--gold-200);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.promo-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

.promo-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.promo-chip svg {
  color: var(--auspicious);
}

.promo-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .promo-cta-row {
    justify-content: center;
  }
}

.btn-app-store-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 16px;
  background: #ffffff;
  color: #08080c;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.35);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-app-store-download:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.5);
  background: #f4f4f6;
  color: #000000;
}

.btn-app-store-download svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.promo-rating-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.star-rating {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.promo-mockup-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-mockup-img {
  max-width: 280px;
  border-radius: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.12);
  transform: rotate(-3deg);
  transition: transform 0.4s var(--ease-out-expo);
}

.promo-mockup-wrapper:hover .promo-mockup-img {
  transform: rotate(0deg) scale(1.03);
}

/* ================================================================
   CITY SELECTION MODAL
   ================================================================ */
.city-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.city-modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.city-modal-box {
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  background: #0f121d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-out-expo);
}

.city-modal-backdrop.show .city-modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-search-wrap {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.modal-search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.modal-search-input:focus {
  border-color: var(--gold-300);
}

.modal-search-icon {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  pointer-events: none;
}

.modal-city-list {
  padding: 12px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 350px;
}

.city-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.city-item-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.city-item-btn.selected {
  background: rgba(212, 162, 58, 0.15);
  border-color: var(--gold-300);
  color: var(--gold-200);
  font-weight: 700;
}

.city-subtext {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ================================================================
   MOBILE STICKY BOTTOM BAR (LIVE MINI TICKER)
   ================================================================ */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 14, 23, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 16px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
  }
}

.sticky-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sticky-chog-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sticky-chog-dot.good { background: #2eb762; box-shadow: 0 0 8px #2eb762; }
.sticky-chog-dot.neutral { background: #428ff2; box-shadow: 0 0 8px #428ff2; }
.sticky-chog-dot.bad { background: #ed4545; box-shadow: 0 0 8px #ed4545; }

.sticky-bar-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-timer {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.btn-sticky-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 980px;
  background: #ffffff;
  color: #08080c;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ================================================================
   RESPONSIVENESS FIXES
   ================================================================ */
@media (max-width: 850px) {
  .hero-main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .current-hero-card {
    padding: 24px 20px;
  }
  .header-action-strip {
    flex-direction: column;
    align-items: stretch;
  }
  .action-pill-group {
    justify-content: space-between;
  }
}
