/* ===================================================
   Satta DPBoss Matka Theme Stylesheet
   Website: sattadpbossmatka.org
   Theme Background: #FFCC99
   Border Accent: #FF0000 / #D92100
   Brand Headers: #E6007A (Magenta)
   Action Buttons & Titles: #000088 / #002E5D (Blue)
   =================================================== */

:root {
  --dpboss-bg: #FFCC99;
  --dpboss-bg-warm: #FFE4C4;
  --dpboss-bg-card: #FFDAB9;
  --dpboss-border: #FF0000;
  --dpboss-pink: #E6007A;
  --dpboss-pink-dark: #C20062;
  --dpboss-blue: #002E5D;
  --dpboss-title-blue: #000088;
  --dpboss-text: #1A1A1A;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

*, p {
  margin: 0;
  padding: 0;
}

figure {
  line-height: 0 !important;
}

::-webkit-scrollbar {
  display: none;
}

body,
.bg-white,
.dpboss-page {
  background-color: #FFCC99 !important;
  color: #1A1A1A !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

/* Helper utilities used in index.html */
.fs-10 { font-size: 10px !important; }
.fs-11 { font-size: 11px !important; }
.fst-italic { font-style: italic !important; }
.gap-2 { gap: 8px !important; }
.text-shadow-sm { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important; }
.justify-content-end { justify-content: flex-end !important; }

/* ===================================================
   Red Borders System
   =================================================== */
.custom-border,
.custom-border-2px,
.border-ocean-blue,
.border-vivid-red,
.border-gold {
  border-color: #FF0000 !important;
}

.border-bottom-red {
  border-bottom: 1px solid #FF0000 !important;
}

.border-top-red {
  border-top: 1px solid #FF0000 !important;
}

.border-top {
  border-top: 1px solid #d1d5db !important;
}

/* ===================================================
   DPBOSS Brand Header & Welcome Box
   =================================================== */
.dpboss-brand-box {
  background-color: #FFCC99;
  border: 1px solid #FF0000;
  border-radius: 4px;
  padding: 10px 12px;
}

.dpboss-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-size: clamp(22px, 5.8vw, 32px);
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.5px;
  color: #000000;
}

.dpboss-logo span {
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
}

.dpboss-dp {
  color: #000000 !important;
  font-weight: 800;
  font-style: normal;
  font-size: inherit;
  margin-right: 0;
}

.dpboss-boss {
  color: #E6007A !important;
  font-weight: 800;
  font-style: normal;
  font-size: inherit;
}

.dpboss-tag {
  color: #000000 !important;
  font-weight: 800;
  font-style: normal;
  font-size: inherit;
}

.dpboss-domain {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.dpboss-welcome-box {
  background-color: #FFCC99;
  border: 1px solid #FF0000;
  border-radius: 4px;
}

.dpboss-welcome-box p {
  font-family: 'Poppins', sans-serif;
}

/* ===================================================
   Description / Intro Box
   =================================================== */
.quick-nav-pills {
  margin-top: 6px;
  gap: 6px !important;
}

.quick-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFD29D;
  color: #000088 !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  padding: 3px 8px !important;
  font-size: 11px !important;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-decoration: none !important;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.quick-nav-pill:hover,
.quick-nav-pill:focus-visible {
  background-color: #002E5D !important;
  color: #FFFFFF !important;
  border-color: #002E5D !important;
}

.dpboss-intro-box {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
}

.dpboss-intro-box p {
  text-align: center;
}

/* ===================================================
   Magenta Pill Banners
   =================================================== */
.dpboss-pill-banner {
  background: linear-gradient(90deg, #E6007A 0%, #C20062 100%) !important;
  border-radius: 4px !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(230, 0, 122, 0.35) !important;
  padding: 6px 16px !important;
}

.dpboss-pill-banner h2,
.dpboss-pill-banner span {
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* ===================================================
   Today Lucky Number Card & Final Ank Vertical Slider
   =================================================== */
.dpboss-lucky-box {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
}

.lucky-divider {
  width: 1px;
  background-color: #FF0000;
  align-self: stretch;
}

.color-dpboss-blue {
  color: #000088 !important;
}

#goldenAnk {
  height: 42px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 4px !important;
  line-height: 1 !important;
}

.lucky-digit {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #000000 !important;
  line-height: 1 !important;
}

.lucky-sep {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  line-height: 1 !important;
  margin: 0 1px !important;
}

.final-ank-slider-wrapper {
  height: 42px;
  overflow: hidden;
  position: relative;
  margin-top: 4px;
}

#slider.final-ank-vertical-slider,
.final-ank-vertical-slider {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: 22s linear infinite slide-up !important;
  white-space: normal !important;
}

.final-ank-vertical-slider:hover {
  animation-play-state: paused !important;
}

.final-ank-vertical-slider p {
  flex: 0 0 auto !important;
  line-height: 21px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

@keyframes slide-up {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -50%, 0);
  }
}

/* ===================================================
   Floating Refresh Button
   =================================================== */
.dpboss-refresh-pill-btn {
  position: fixed;
  bottom: 12px;
  right: 10px;
  z-index: 1000;
  background: #002E5D !important;
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  text-transform: uppercase;
}

.dpboss-refresh-pill-btn.refreshing {
  opacity: 0.85 !important;
  cursor: wait !important;
  pointer-events: none !important;
}

/* Hide legacy floating buttons */
.refresh-btn,
.call-icon,
.whatsapp-icon,
.dpboss-vip-zone-btn {
  display: none !important;
}

/* ===================================================
   Market Card Important (Yellow) vs Standard (Site BG)
   =================================================== */
.bg-imp {
  background-color: #FFFF00 !important;
}

.bg-nonImp {
  background-color: #FFCC99 !important;
}

/* ===================================================
   Live Results Box & Today's Markets
   =================================================== */
.dpboss-live-box {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
}

#todaysMarketsContainer {
  min-height: 80px;
  display: flex;
  flex-direction: column;
}

#todaysMarketsContainer.loading {
  min-height: 90px;
}

#todaysMarketsContainer.loaded {
  min-height: auto;
}

#todaysMarketsContainer > p {
  margin: auto !important;
  border-bottom: none !important;
}

.btn-refresh-market,
.refresh-todays {
  background: #002E5D !important;
  color: #FFFFFF !important;
  border: 1px solid #FF0000 !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 5px 18px !important;
  font-family: 'Gabarito', sans-serif !important;
  box-shadow: 0 2px 5px rgba(0, 46, 93, 0.3) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-refresh-market:hover,
.refresh-todays:hover {
  background: #004085 !important;
  transform: scale(1.04) !important;
  box-shadow: 0 4px 8px rgba(0, 46, 93, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-refresh-market:active,
.refresh-todays:active {
  transform: scale(0.98) !important;
}

.btn-refresh-market.refreshing,
.refresh-todays.refreshing {
  opacity: 0.85 !important;
  cursor: wait !important;
  pointer-events: none !important;
}

/* Skeletons for Loading State */
@keyframes skeletonPulse {
  0%, 100% {
    opacity: .6;
  }
  50% {
    opacity: 1;
  }
}

.market-skeleton {
  padding: 16px 20px;
  min-height: 140px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}

.skeleton-title {
  height: 22px;
  width: 160px;
  margin: 0 auto 12px;
  background: #e0e0e0;
  border-radius: 4px;
}

.skeleton-line {
  height: 16px;
  width: 80%;
  margin: 8px auto;
  background: #e6e6e6;
  border-radius: 4px;
}

.skeleton-line.short {
  width: 50%;
}

/* Live Dot Animation */
.live-dot {
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: 1.5s infinite pulseLive;
  vertical-align: middle;
}

@keyframes pulseLive {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Free Guessing Pass Highlights */
.pass-text {
  color: #d32f2f;
}

.pass-text .highlight {
  color: #0d47a1;
  font-weight: 800;
}

.fg-match {
  color: #e91e63;
  font-weight: 800;
  text-shadow: 0 0 6px rgba(255, 0, 0, .4);
}

.fg-row > div {
  display: flex;
}

/* ===================================================
   Latest Results & Markets Container Cards
   =================================================== */
#latest-results {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
}

#latest-results header h2 {
  background: linear-gradient(90deg, #E6007A 0%, #C20062 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
}

#marketsContainer {
  min-height: 260px;
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
}

#marketsContainer > div,
.market-card,
[id^="market-card-"] {
  border-bottom: 1px solid #FF0000 !important;
  padding: 10px 12px !important;
  text-align: center;
}

#marketsContainer > div:last-child,
.market-card:last-child,
[id^="market-card-"]:last-child {
  border-bottom: none !important;
}

/* Important Market: Yellow Background & Blue Text */
.bg-imp,
[id^="market-card-"].bg-imp,
.market-card.bg-imp {
  background-color: #FFFF00 !important;
}

[id^="market-card-"].bg-imp h3,
.market-card.bg-imp h3 {
  color: #000088 !important;
}

/* Standard Market: Website BG & Vivid Red Text */
.bg-nonImp,
[id^="market-card-"].bg-nonImp,
.market-card.bg-nonImp {
  background-color: #FFCC99 !important;
}

[id^="market-card-"].bg-nonImp h3,
.market-card.bg-nonImp h3 {
  color: #990000 !important;
}

/* Desktop / Default Market Card Typography */
[id^="market-card-"] h3,
.market-card h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 3px 0 !important;
  letter-spacing: 0.5px;
}

[id^="market-card-"] p,
.market-card p {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #000000 !important;
  margin: 0 0 4px 0 !important;
  letter-spacing: 0.5px;
}

[id^="market-card-"] .market-card-timings {
  margin: 0 !important;
}

[id^="market-card-"] .market-card-timings span {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #1A1A1A !important;
  letter-spacing: 0.3px;
  white-space: nowrap !important;
}

.market-card-status {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 5px !important;
  margin-bottom: 0 !important;
}


.m-desc {
  letter-spacing: -0.7px;
}

/* ===================================================
   Understanding Satta Matka Results (#understanding-satta-matka-result)
   =================================================== */
#understanding-satta-matka-result {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
}

#understanding-satta-matka-result header h2 {
  font-size: 20px;
  line-height: 1.25;
}

.result-explainer-item {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 8px;
  transition: background-color 0.2s ease;
}

.result-explainer-item:last-child {
  margin-bottom: 0 !important;
}

.result-explainer-item:hover {
  background-color: #FFD29D !important;
}

.result-explainer-item h3 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #000088 !important;
  line-height: 1.3;
  margin-bottom: 4px !important;
}

.result-explainer-item p {
  color: #000000 !important;
  line-height: 1.5;
}

.explainer-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.explainer-terms-grid .result-explainer-item {
  background-color: #FFD29D !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.explainer-terms-grid .result-explainer-item:hover {
  background-color: #ffe0b3 !important;
}

.explainer-terms-grid .result-explainer-item:nth-child(5) {
  grid-column: span 2;
}

.result-example-box {
  background-color: #FFD29D !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  padding: 10px 12px;
}

.result-example-box p strong {
  color: #000088;
}

.example-part-badge {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #000000;
}

.example-part-badge strong {
  color: #000088;
}

.result-status-explanation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.result-status-explanation .status-explain-card {
  background-color: #FFD29D !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  padding: 8px 10px;
}

/* ===================================================
   Major Satta Matka Markets & Charts Components
   (Full Page Theme: DPBoss Golden Warm BG & Red Border)
   =================================================== */
#major-markets,
#satta-matka-jodi-charts,
#satta-matka-panel-charts {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
}

#major-markets header h2,
#satta-matka-jodi-charts header h2,
#satta-matka-panel-charts header h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #1A1A1A !important;
}

/* --- DIRECTORY GRID & CARDS --- */
.market-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 8px;
  background-color: #FFCC99 !important;
}

@media (min-width: 600px) {
  .market-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }
}

.market-hub-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: #FFD29D !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  padding: 10px 12px;
  box-sizing: border-box;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.market-hub-card:hover {
  transform: translateY(-2px);
  background-color: #ffe0b3 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.m-card-top-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.m-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  flex-shrink: 0;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  background-color: #FFE4C4 !important;
  border: 1px solid #FF0000 !important;
}

.m-header-info {
  flex: 1 1 auto;
  min-width: 0;
}

.m-title-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 6px;
  min-width: 0;
}

.m-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #000088 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-title a {
  color: #000088 !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.m-title a:hover {
  color: #E6007A !important;
}

.m-badge-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  text-transform: uppercase;
  line-height: 1.2;
}

.tag-kalyan {
  background-color: #E6007A !important;
  color: #FFFFFF !important;
}

.tag-night {
  background-color: #002E5D !important;
  color: #FFFFFF !important;
}

.tag-day {
  background-color: #000088 !important;
  color: #FFFFFF !important;
}

.tag-morning {
  background-color: #990000 !important;
  color: #FFFFFF !important;
}

.m-features-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.m-feat-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #000088 !important;
  background-color: #FFE4C4 !important;
  border: 1px solid rgba(255, 0, 0, 0.4) !important;
  border-radius: 3px;
  padding: 1.5px 5px;
  white-space: nowrap;
  line-height: 1.25;
}

.m-desc-text {
  font-family: 'Gabarito', sans-serif;
  font-size: 11.5px;
  line-height: 1.4;
  color: #1A1A1A !important;
  margin: 6px 0 8px;
  flex-grow: 1;
}

.m-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5.5px 10px;
  background-color: #002E5D !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  margin-top: auto;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 46, 93, 0.2);
}

.m-cta-bar:hover {
  background-color: #004085 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 46, 93, 0.35);
}

.m-cta-text {
  color: #FFFFFF !important;
}

.m-cta-icon {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF !important;
  transition: transform 0.2s ease;
}

.m-cta-bar:hover .m-cta-icon {
  transform: translateX(3px);
}

/* --- JODI & PANEL CHARTS LINK GRIDS --- */
.markets-name-cha {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 8px !important;
  background-color: #FFCC99 !important;
}

.chart-market-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  border-radius: 4px !important;
  background-color: #FFD29D !important;
  border: 1px solid #FF0000 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #000088 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.chart-market-link:hover {
  transform: translateY(-2px) !important;
  background-color: #002E5D !important;
  border-color: #002E5D !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 10px rgba(0, 46, 93, 0.25) !important;
}

.chart-market-link:hover .chart-link-text,
.chart-market-link:hover .chart-link-text strong,
.chart-market-link:hover .chart-link-arrow {
  color: #FFFFFF !important;
}

.chart-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 4px;
  background-color: #FFE4C4;
  border: 1px solid rgba(255, 0, 0, 0.35);
  font-size: 12px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.chart-market-link:hover .chart-link-icon {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.chart-link-text {
  flex-grow: 1;
  text-align: left;
  color: #000088;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.2s ease;
}

.chart-link-text strong {
  color: #1A1A1A;
  transition: color 0.2s ease;
}

.chart-link-arrow {
  font-size: 13px;
  font-weight: 700;
  color: #000088;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.chart-market-link:hover .chart-link-arrow {
  transform: translateX(3px);
  color: #FFFFFF !important;
}

/* ===================================================
   Daily Number Reference (#daily-number-reference)
   =================================================== */
#daily-number-reference {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
}

.daily-reference-header {
  background: linear-gradient(90deg, #E6007A 0%, #C20062 100%) !important;
  position: relative;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  padding: 22px 16px 18px 16px;
  color: #FFFFFF !important;
}

.daily-reference-header h2,
.daily-reference-header p {
  color: #FFFFFF !important;
}

.daily-ref-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #ffffff;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ref-badge-icon {
  font-size: 13px;
  flex-shrink: 0;
}

.daily-ref-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 8px 0 0 0;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.daily-ref-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  max-width: 620px;
  margin: 8px auto 0 auto;
}

.reference-meta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.meta-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pill-calendar-icon {
  font-size: 13px;
}

.meta-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 9999px;
  padding: 4px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: #a7f3d0;
  font-family: 'Gabarito', sans-serif;
  letter-spacing: 0.2px;
}

.meta-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  animation: liveDotPulse 1.8s infinite;
}

@keyframes liveDotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
  }
}

#freeGuessingWrapper {
  min-height: 180px;
}

.free-guessing {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  width: 100%;
}

.free-guessing-number {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* ===================================================
   Dynamic Market Links UI - Jodi & Panel Charts
   =================================================== */
#jodiChartsContainer,
#panelChartsContainer {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 10px !important;
  padding: 10px 0 !important;
}

#jodiChartsContainer p,
#panelChartsContainer p,
.chart-market-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 11px 14px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  text-shadow: none !important;
  margin: 0 !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: hidden !important;
}

#jodiChartsContainer p,
.jodi-market-link {
  border: 1.5px solid rgba(217, 119, 6, 0.35) !important;
}

#panelChartsContainer p,
.panel-market-link {
  border: 1.5px solid rgba(2, 132, 199, 0.35) !important;
}

.chart-link-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
  flex-shrink: 0 !important;
}

.chart-link-icon {
  font-size: 16px !important;
  flex-shrink: 0 !important;
}

.chart-link-text {
  flex: 1 !important;
  text-align: left !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chart-market-link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
}

.jodi-market-link:hover {
  border-color: #d97706 !important;
  background: #fffbeb !important;
}

.panel-market-link:hover {
  border-color: #0284c7 !important;
  background: #f0f9ff !important;
}

.chart-market-link:hover .chart-link-arrow {
  transform: translateX(3px) !important;
  color: #ffffff !important;
}

.jodi-market-link:hover .chart-link-arrow {
  background: #d97706 !important;
}

.panel-market-link:hover .chart-link-arrow {
  background: #0284c7 !important;
}

/* ===================================================
   Market Status Pills & Timings (#latest-results)
   =================================================== */
.market-card-timings {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
}

.timing-open,
.timing-close {
  font-family: 'IBM Plex Sans', monospace !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  letter-spacing: 0.2px !important;
  line-height: 1 !important;
}

.timing-divider {
  font-family: 'IBM Plex Sans', monospace !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #333333 !important;
  line-height: 1 !important;
}

.market-card .market-status-pill,
[id^="market-card-"] .market-status-pill,
.market-card-status .market-status-pill,
.market-status-pill,
.timing-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 3.5px 12px !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

.market-status-pill::before,
.timing-status-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FFFFFF;
  margin-right: 6px;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.market-status-pill.status-pending::before,
.timing-status-badge.status-pending::before {
  animation: statusPillDotPulse 1.8s infinite ease-in-out;
}

.market-status-pill.status-awaiting-close::before,
.timing-status-badge.status-awaiting-close::before,
.market-status-pill.status-open-declared::before,
.timing-status-badge.status-open-declared::before {
  animation: statusPillDotPulse 1.8s infinite ease-in-out;
}

@keyframes statusPillDotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

/* Bold Attractive Status Pill Colors */
.market-card .market-status-pill.status-declared,
.market-status-pill.status-declared,
.timing-status-badge.status-declared {
  background: linear-gradient(135deg, #008f39, #006622) !important;
  color: #FFFFFF !important;
  border: 1px solid #004d1a !important;
}

.market-card .market-status-pill.status-awaiting-close,
.market-card .market-status-pill.status-open-declared,
.market-status-pill.status-awaiting-close,
.market-status-pill.status-open-declared,
.timing-status-badge.status-awaiting-close,
.timing-status-badge.status-open-declared,
.timing-status-badge.status-open {
  background: linear-gradient(135deg, #0052cc, #003399) !important;
  color: #FFFFFF !important;
  border: 1px solid #002266 !important;
}

.market-card .market-status-pill.status-pending,
.market-status-pill.status-pending,
.timing-status-badge.status-pending {
  background: linear-gradient(135deg, #d96500, #b34700) !important;
  color: #FFFFFF !important;
  border: 1px solid #8c3700 !important;
}

.market-card .market-status-pill.status-upcoming,
.market-status-pill.status-upcoming,
.timing-status-badge.status-upcoming {
  background: linear-gradient(135deg, #6d28d9, #4c1d95) !important;
  color: #FFFFFF !important;
  border: 1px solid #3b0764 !important;
}

.market-card .market-status-pill.status-closed,
.market-status-pill.status-closed,
.timing-status-badge.status-closed {
  background: linear-gradient(135deg, #dc2626, #991b1b) !important;
  color: #FFFFFF !important;
  border: 1px solid #7f1d1d !important;
}

/* ===================================================
   Result Terminology Component (#result-terminology)
   =================================================== */
.result-term-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid #002E5D !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  transition: all 0.2s ease !important;
}

.result-term-item:hover {
  background: #ffffff !important;
  border-left-color: #f59e0b !important;
  box-shadow: 0 4px 12px rgba(0, 46, 93, 0.06) !important;
  transform: translateX(2px) !important;
}

.result-term-item h3 {
  font-family: 'Poppins', sans-serif !important;
}

/* ===================================================
   Result Update Process Component (#result-update-process)
   =================================================== */
#result-update-process {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
}

#result-update-process header h2 {
  font-size: 20px;
  line-height: 1.25;
}

.result-process-list {
  background-color: #FFD29D !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  padding: 12px 14px;
}

.result-process-list p {
  line-height: 1.55;
  color: #000000 !important;
}

.result-process-list p strong {
  color: #000088 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
}

#result-update-process a {
  display: inline-block;
  text-decoration: underline;
  transition: color 0.2s ease, transform 0.15s ease;
}

#result-update-process a:hover {
  color: #990000 !important;
  transform: translateX(2px);
}

/* ===================================================
   Satta Matka Result FAQ Component (#result-faq)
   =================================================== */
#result-faq {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
}

#result-faq header h2 {
  font-size: 20px;
  line-height: 1.25;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.faq-item {
  background-color: #FFD29D !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px !important;
  padding: 10px 12px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
}

.faq-item:hover {
  background-color: #ffe0b3 !important;
  transform: translateY(-1px) !important;
}

.faq-item h3 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #000088 !important;
  line-height: 1.3 !important;
  margin-bottom: 5px !important;
}

.faq-item p {
  font-family: 'Gabarito', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #000000 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

div:not(.faq-grid) > .faq-item {
  margin-bottom: 8px !important;
}

div:not(.faq-grid) > .faq-item:last-child {
  margin-bottom: 0 !important;
}

/* ===================================================
   About SattaDPBossMatka Platform Component (#about-platform)
   =================================================== */
#about-platform {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
}

#about-platform header h2 {
  font-size: 20px;
  line-height: 1.25;
}

.platform-info-item {
  background-color: #FFD29D !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 8px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.platform-info-item:last-child {
  margin-bottom: 0 !important;
}

.platform-info-item:hover {
  background-color: #ffe0b3 !important;
  transform: translateY(-1px);
}

.platform-info-item h3 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #000088 !important;
  line-height: 1.35;
  margin-bottom: 4px !important;
}

.platform-info-item p {
  font-family: 'Gabarito', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #000000 !important;
  line-height: 1.5;
}

.platform-flow-box {
  background-color: #FFD29D !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  padding: 12px 14px;
}

.platform-flow-step {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
  border-radius: 3px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #000000;
  display: inline-block;
}

.platform-flow-box span[aria-hidden="true"] {
  color: #990000;
  font-weight: 700;
  margin: 0 2px;
}

/* ===================================================
   Historical Results Component (#historical-results)
   =================================================== */
#historical-results header h2 {
  font-size: 20px;
  line-height: 1.25;
}

.history-markets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-market-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #FFD29D !important;
  border: 1px solid #FF0000 !important;
  border-radius: 4px;
  padding: 10px 14px;
  cursor: default;
}

.history-market-item h3 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #000088 !important;
  line-height: 1.2;
}

/* ===================================================
   Informational Notice Component (#informational-notice)
   =================================================== */
#informational-notice {
  background-color: #FFCC99 !important;
  border: 1px solid #FF0000 !important;
}

#informational-notice header h2 {
  font-size: 20px;
  line-height: 1.25;
}

#informational-notice p {
  line-height: 1.55;
}

/* ===================================================
   Footer Component
   =================================================== */
.bg-deep-slate {
  background-color: #0f172a !important;
}

footer nav span,
footer nav a {
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

footer nav span:hover,
footer nav a:hover {
  opacity: 1;
  color: #f59e0b !important;
}

/* ===================================================
   Responsive Media Queries
   =================================================== */
@media (max-width: 576px) {
  .dpboss-intro-box p {
    text-align: justify !important;
  }
  .dpboss-logo {
    font-size: 26px;
  }
  .dpboss-dp {
    font-size: 30px;
  }
  .dpboss-tag {
    font-size: 20px;
  }
  .dpboss-pill-banner h2 {
    font-size: 16px !important;
  }
  .dpboss-refresh-pill-btn {
    font-size: 11px;
    padding: 5px 10px;
  }
  .market-card-timings {
    gap: 4px !important;
  }
  .timing-open,
  .timing-close,
  .timing-divider {
    font-size: 12px !important;
  }
  .market-status-pill,
  .timing-status-badge {
    font-size: 10.5px !important;
    padding: 3px 10px !important;
  }
  /* Market Cards in #marketsContainer on Mobile */
  #marketsContainer > div,
  .market-card,
  [id^="market-card-"] {
    padding: 8px 10px !important;
  }
  #marketsContainer h3,
  [id^="market-card-"] h3,
  .market-card h3,
  .live-update h2,
  .live-update h3,
  .result-container h2 {
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin: 0 0 3px 0 !important;
  }
  #marketsContainer p,
  [id^="market-card-"] p,
  .market-card p {
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin: 0 0 3px 0 !important;
    letter-spacing: 0.5px !important;
  }
  [id^="market-card-"] .market-card-timings span {
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
  /* Understanding Satta Matka Results Component on Mobile */
  #understanding-satta-matka-result header h2 {
    font-size: 18px !important;
  }
  .explainer-terms-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }
  .explainer-terms-grid .result-explainer-item:nth-child(5) {
    grid-column: span 1;
  }
  .result-explainer-item {
    padding: 8px 10px !important;
    margin-bottom: 8px !important;
  }
  .result-status-explanation {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .result-example-box {
    padding: 10px 8px !important;
  }
  .result-example-box .fs-26 {
    font-size: 21px !important;
  }
  .example-part-badge {
    font-size: 11px !important;
    padding: 2px 6px !important;
  }
  /* Major Satta Matka Markets, FAQ, About Platform & Process on Mobile */
  #major-markets header h2,
  #result-faq header h2,
  #about-platform header h2,
  #result-update-process header h2,
  #historical-results header h2 {
    font-size: 18px !important;
  }
  .market-directory-grid,
  .history-markets-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .market-directory-item,
  .history-market-item,
  .faq-item,
  .platform-info-item {
    padding: 8px 10px !important;
  }
  .market-directory-item h3,
  .history-market-item h3,
  .faq-item h3,
  .platform-info-item h3 {
    font-size: 13.5px !important;
  }
  .platform-flow-box,
  .result-process-list {
    padding: 10px 8px !important;
  }
  .platform-flow-step {
    font-size: 11px !important;
    padding: 3px 8px !important;
  }
  .free-guessing h3 {
    font-size: 18px !important;
    line-height: 1.1 !important;
  }
  .free-guessing-number p {
    font-size: 12px !important;
  }
}

@media (max-width: 600px) {
  .faq-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 380px) {
  #marketsContainer > div,
  .market-card,
  [id^="market-card-"] {
    padding: 6px 8px !important;
  }
  #marketsContainer h3,
  [id^="market-card-"] h3,
  .market-card h3 {
    font-size: 15.5px !important;
    line-height: 1.2 !important;
    margin: 0 0 2px 0 !important;
  }
  #marketsContainer p,
  [id^="market-card-"] p,
  .market-card p {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin: 0 0 2px 0 !important;
  }
  .market-card-timings {
    gap: 3px !important;
  }
  .timing-open,
  .timing-close,
  .timing-divider {
    font-size: 11px !important;
  }
  .market-status-pill,
  .timing-status-badge {
    font-size: 10px !important;
    padding: 2.5px 9px !important;
  }
  #understanding-satta-matka-result header h2 {
    font-size: 16px !important;
  }
  .result-explainer-item h3 {
    font-size: 14.5px !important;
  }
  .result-example-box .fs-26 {
    font-size: 19px !important;
  }
  #major-markets header h2,
  #result-faq header h2,
  #about-platform header h2,
  #result-update-process header h2,
  #historical-results header h2 {
    font-size: 16px !important;
  }
  .market-directory-grid,
  .history-markets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 5px;
  }
  .market-directory-item,
  .history-market-item,
  .faq-item,
  .platform-info-item {
    padding: 6px 8px !important;
  }
  .market-directory-item h3,
  .history-market-item h3,
  .faq-item h3,
  .platform-info-item h3 {
    font-size: 12px !important;
  }
  .platform-flow-step {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
  .result-process-list {
    padding: 8px 10px !important;
  }
  .section-title {
    font-size: 18px !important;
  }
}
