@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@400;500;600;700&display=swap');

/* ============================================================
   BLACK-SATTA STYLE — Light Bootstrap-style redesign
   Matches https://www.black-satta.com/ design language
   ============================================================ */

:root {
  --bs-primary: #696cff;
  --bs-primary-dark: #03347d;
  --bs-danger: #dc3545;
  --bs-blue: #007bff;
  --bs-body-bg: #f4f5f7;
  --bs-body-color: #566a7f;
  --banner-color: rgb(105 108 255);
}

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-size: 0.9375rem;
  line-height: 1.5;
}

a { text-decoration: none; }

/* ============================================================
   NAVBAR
   ============================================================ */
nav.layout-navbar {
  background: transparent !important;
  height: auto !important;
  z-index: 1030 !important;
  padding: 0.75rem 0 0;
}

.navbar.landing-navbar {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 1rem rgba(34, 48, 62, 0.08);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  padding-top: 0.614rem;
  padding-bottom: 0.614rem;
  min-height: 0;
  margin-top: 0.375rem;
  margin-bottom: 0.625rem;
  transition: all 0.2s ease-in-out;
}

.navbar.landing-navbar .app-brand-link img {
  height: 46px;
  width: auto;
  max-width: 100%;
}

.navbar.landing-navbar .navbar-nav .nav-link {
  color: #384551;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.625rem;
  margin-inline-end: 0.625rem;
  border-radius: 0.375rem;
}

.navbar.landing-navbar .navbar-nav .nav-link:hover,
.navbar.landing-navbar .navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

.navbar.landing-navbar .btn {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  font-size: 0.84rem;
  line-height: 1.35;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.navbar.landing-navbar .btn .tf-icons {
  font-size: 1.05em;
}

.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #5f61e6 !important;
  border-color: #5f61e6 !important;
  box-shadow: 0 0.125rem 0.375rem rgba(105, 108, 255, 0.4);
}

@media (max-width: 991.98px) {
  .navbar.landing-navbar {
    border-radius: 0.5rem;
  }
  .navbar.landing-navbar .navbar-collapse {
    margin-top: 0.75rem;
    border-top: 1px solid #eceef1;
    padding-top: 0.75rem;
  }
  .navbar.landing-navbar .navbar-nav .nav-link {
    margin-inline-end: 0;
  }
}

/* ============================================================
   HERO / LIVE RESULT
   ============================================================ */
.result-card1 {
  text-align: center;
  padding: 12px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-image: linear-gradient(to bottom, red, transparent) 1;
}

.result-card1 h1 {
  font-size: 22px;
  color: #0026ff;
  font-family: 'Poppins', 'Public Sans', sans-serif;
  font-weight: 700;
}

.live-results {
  font-size: 12px;
  color: #fff;
  background-color: #f44336;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
}

.number-circle {
  width: 70px;
  height: 70px;
  background-color: #f44336;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  margin: 10px auto;
  position: relative;
}

.number-circle::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 90px;
  height: 90px;
  border: 3px dotted #ff002b;
  border-radius: 50%;
  animation: rotate 5s linear infinite;
}

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

/* ============================================================
   HERO BANNER (banner type logo)
   ============================================================ */
.live-banner {
  position: relative;
  overflow: hidden;
  max-width: 560px;
  margin: 6px auto 12px;
  padding: 22px 18px 20px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(118deg, #7e0a0a 0%, #c41a1a 38%, #e11d1d 62%, #f0542e 100%);
  box-shadow: 0 12px 26px rgba(196, 26, 26, 0.3);
}

.live-banner::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 11px;
  pointer-events: none;
}

.live-banner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, #ffce00, #ffe082, #ffce00);
}

.live-banner-num {
  position: absolute;
  right: -22px;
  bottom: -38px;
  font-family: 'Bebas Neue', 'Public Sans', sans-serif;
  font-size: 150px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
  user-select: none;
}

.live-banner-brand {
  position: relative;
  display: block;
  font-family: 'Bebas Neue', 'Public Sans', sans-serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.live-banner-brand em {
  font-style: normal;
  color: #ffe082;
}

.live-banner-line {
  position: relative;
  display: block;
  width: 110px;
  height: 3px;
  margin: 9px auto 8px;
  border-radius: 3px;
  background: #ffe082;
}

.live-banner-tag {
  position: relative;
  display: block;
  font-family: 'Poppins', 'Public Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  color: #ffe3c9;
}

.date-time {
  font-size: 22px;
  color: #000;
  margin-bottom: 6px;
}

.date-day {
  font-size: 16px;
  color: #007fff;
  margin-bottom: 10px;
}

.game-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.box {
  padding: 20px;
  text-align: center;
  position: relative;
}

@media (min-width: 993px) {
  .box {
    border-right: 1px solid transparent;
    border-image: linear-gradient(to bottom, transparent, #fbb, transparent) 1;
  }
  .box:last-child { border-right: none; }
}

@media (max-width: 992px) {
  .game-container { flex-direction: column; align-items: center; }
  .box {
    width: 95%;
    padding: 20px 10px;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, transparent, #fbb, transparent) 1;
  }
  .box:last-child { border-bottom: none; }
}

.GodwithUs {
  font-family: 'Bebas Neue', 'Public Sans', sans-serif;
  font-weight: bold;
  color: #222;
  letter-spacing: 1.5px;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 1s ease-out forwards;
}

@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   GROUP CARDS
   ============================================================ */
.group-card {
  margin-bottom: 20px;
  position: relative;
  border: 2px solid transparent;
  border-radius: 5px;
  background: #f0f8ff;
  display: flex;
  align-items: center;
  padding: 7px;
  justify-content: space-between;
  overflow: hidden;
}

.whatsapp-card { animation: whatsapp-border-animation 1s infinite; }
.telegram-card { animation: telegram-border-animation 1s infinite; }
.instagram-card { animation: instagram-border-animation 1s infinite; }

@keyframes whatsapp-border-animation {
  0% { border-color: transparent; }
  50% { border-color: #25d366; }
  100% { border-color: transparent; }
}

@keyframes telegram-border-animation {
  0% { border-color: transparent; }
  50% { border-color: #004f7a; }
  100% { border-color: transparent; }
}

@keyframes instagram-border-animation {
  0% { border-color: transparent; }
  50% { border-color: #e1306c; }
  100% { border-color: transparent; }
}

.seoquake-nofollow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  padding: 5px 20px;
  border-radius: 2px;
  flex-shrink: 0;
  transition: all 0.3s ease-in-out;
  color: #fff !important;
}

.seoquake-nofollow i { margin-right: 5px; }

.whatsapp-card .seoquake-nofollow { background: #25d366; }
.telegram-card .seoquake-nofollow { background: #004f7a; }
.instagram-card .seoquake-nofollow { background: #e1306c; }

.seoquake-nofollow:hover { transform: scale(1.05); }

/* ============================================================
   WELCOME / INFO BOX
   ============================================================ */
.info-box {
  background: #fff;
  border: 1px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 0.375rem;
}

/* ============================================================
   SATTA COMPANY RESULTS — result cards grid
   ============================================================ */
.result-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 5px;
  text-align: center;
  max-width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.result-card h3 {
  font-weight: bold;
  margin: 1px 0;
}

.result-time {
  color: #03347d;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.result span {
  font-weight: bold;
  font-size: 1.2em;
}

.num-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 50rem;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
}

.num-badge-danger { background: #fde5e5; color: #dc3545; }
.num-badge-primary { background: #e7e9ff; color: #696cff; }

.result .red { color: #dc3545; }
.result .blue { color: #007bff; }

.text-shadow { text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); }

.rcorners {
  border-radius: 5px;
  padding: 5px;
  display: inline-block;
  border: 1px solid #03347d;
}

.package {
  background: #fff;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.package .banner {
  background: var(--banner-color);
  transform: rotate(-45deg);
  position: absolute;
  z-index: 1;
  color: #fff;
  padding: 0.5rem 4rem 0rem;
  top: 1rem;
  left: -4rem;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
}

.section-title {
  position: relative;
  font-weight: 800;
  z-index: 1;
  color: #566a7f;
}

/* ============================================================
   GRADIENT CTA BOX
   ============================================================ */
.gradient-border-box {
  border-top: 4px solid;
  border-bottom: 4px solid;
  border-image: linear-gradient(to right, #ff2d55, #ff5c00, #a033ff, #00c7be, #32cd32) 1;
}

/* ============================================================
   MONTHLY REPORT CARD
   ============================================================ */
.form-select:focus,
.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.25);
}

.report-table-wrap {
  overflow-x: auto;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.report-table th,
.report-table td {
  border: 1px solid #e4e6e9;
  padding: 7px 8px;
  text-align: center;
  font-weight: 600;
}

.report-table th {
  background: var(--bs-primary);
  color: #fff;
  position: sticky;
  top: 0;
}

.report-table td.date-cell {
  background: #f1f0ff;
  color: var(--bs-primary-dark);
  font-weight: 700;
}

.report-table td.num-cell {
  color: var(--bs-primary-dark);
}

.report-table td.empty { color: #b0b6c0; }
.report-table tr:hover td { background: #f8f9fb; }

/* Reference-style vertical chart (game names on side, dates as columns) */
.table-wrapper {
  overflow-x: auto;
}

.chart-table-v {
  width: 100%;
  min-width: 900px;
  margin-bottom: 0;
  font-size: 14px;
}

.chart-table-v th,
.chart-table-v td {
  white-space: nowrap;
  vertical-align: middle;
}

.chart-table-v thead th {
  background: var(--bs-primary);
  color: #fff;
  font-weight: 600;
  padding: 8px 6px;
}

.chart-table-v tbody td {
  padding: 6px;
  border: 1px solid #e4e6e9;
}

.chart-table-v th:first-child,
.chart-table-v td:first-child {
  position: sticky;
  left: 0;
  background-color: #ffffff;
  z-index: 1;
  box-shadow: inset -1px 0 0 #dde1e6;
}

.chart-table-v thead th:first-child {
  background-color: var(--bs-primary) !important;
  color: #fff;
  z-index: 3;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.15);
}

.chart-table-v td.game-name-cell {
  background: #f1f0ff;
  color: var(--bs-primary-dark);
  font-weight: 700;
  text-align: left;
  padding-left: 12px;
  min-width: 140px;
  z-index: 2;
}

.chart-table-v tbody td:first-child {
  box-shadow: 2px 0 5px -3px rgba(0, 0, 0, 0.2), inset -1px 0 0 #dde1e6;
}

.chart-table-v td.num-cell {
  color: var(--bs-primary-dark);
  font-weight: 600;
}

.chart-table-v td.empty { color: #b0b6c0; }
.chart-table-v tbody tr:hover td { background: #f8f9fb; }
.chart-table-v tbody tr:hover td.game-name-cell { background: #e9e8ff; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.accordion-button:not(.collapsed) {
  background-color: rgba(105, 108, 255, 0.08);
  color: var(--bs-primary-dark);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(105, 108, 255, 0.15);
}

/* ============================================================
   CHART TABLES (king / record / mix)
   ============================================================ */
.chart-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  padding: 15px;
}

.table-scroll {
  overflow-x: auto;
}

.chart-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.chart-table th,
.chart-table td {
  padding: 5px 7px;
  border: 1px solid #e2e5e9;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.chart-table th {
  background: var(--bs-primary);
  color: #fff;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 2;
}

.chart-table .day-cell {
  background: #eef0ff;
  color: var(--bs-primary-dark);
  font-weight: 700;
}

.chart-table .time-cell {
  background: #f1f0ff;
  color: var(--bs-primary-dark);
  font-weight: 700;
}

.chart-table .num-cell { color: var(--bs-primary-dark); }
.chart-table .empty { color: #b0b6c0; }
.chart-table tr:hover td { background: #f7f8ff; }

/* badge label utility (Sneat-style) */
.bg-label-primary {
  background-color: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary) !important;
}

/* record wrapper light */
.record-wrapper {
  margin: 20px auto;
  padding: 20px 25px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 20px rgba(105, 108, 255, 0.15);
  border: 2px solid var(--bs-primary);
}

.record-inner {
  position: relative;
  text-align: center;
}

.page-header {
  background: #fff;
  border: 1px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 20px;
  color: var(--bs-primary-dark);
  font-weight: 700;
  margin: 0;
}

.page-header p {
  color: #566a7f;
  font-size: 14px;
  margin: 8px 0 0;
}

/* related chart pills */
.related-charts .pill-link {
  display: inline-block;
  background: #fff;
  border: 1px solid #e2e5e9;
  color: var(--bs-primary-dark);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50rem;
  margin: 3px;
  transition: all 0.2s;
}

.related-charts .pill-link:hover {
  background: var(--bs-primary);
  color: #fff;
}

/* record chart year cards */
.record-point {
  border-radius: 12px;
  border: 2px solid var(--bs-primary);
  background: #fff;
  color: var(--bs-primary-dark);
  box-shadow: 0 0 8px rgba(105, 108, 255, 0.15);
  padding: 12px 10px;
  margin: 8px;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
  min-width: 200px;
}

.record-point a { color: var(--bs-primary-dark); font-size: 15px; font-weight: 700; }

.record-point.active { background: var(--bs-primary); }
.record-point.active a { color: #fff; }

.record-point:hover {
  transform: scale(1.04);
  box-shadow: 0 0 15px rgba(105, 108, 255, 0.35);
}

.record-list {
  border-radius: 16px;
  background: var(--bs-primary);
  padding: 12px;
  margin: 15px 0;
  text-align: center;
}

.record-list a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.record-year-heading {
  font-weight: 800;
  font-size: 20px;
  margin: 15px 0 10px;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(90deg, #696cff, #03347d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

/* seo article light */
.seo-article {
  background: #fff;
  color: #566a7f;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin: 0 auto 30px;
}

.seo-article h2 { color: var(--bs-primary-dark); font-weight: 700; }

/* footer SEO strip */
.seo-strip {
  background: var(--bs-primary-dark);
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  margin: 10px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

.seo-strip span { color: #ffd700; }

/* footer credit */
.credit-footer {
  text-align: center;
  padding: 18px 16px;
  margin-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #566a7f;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
}

.credit-footer .brand { color: var(--bs-primary); font-weight: 700; }

.credit-footer a { color: var(--bs-primary); text-decoration: none; margin: 0 6px; }
.credit-footer a:hover { text-decoration: underline; }

/* live scroll bar light */
.live-ticker {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #f0f2ff, #e4e8ff, #f0f2ff);
  border-top: 3px solid var(--bs-primary);
  border-bottom: 3px solid var(--bs-primary);
  padding: 10px 0;
}

.live-ticker .track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 14px;
  width: max-content;
  transform: translateX(100%);
  animation: move 28s linear infinite;
}

@keyframes move {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* 6 jodi panel light */
.jodi-panel-light {
  background: linear-gradient(135deg, #ffffff, #f2f4ff);
  color: var(--bs-primary-dark);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 0 18px rgba(105, 108, 255, 0.25);
  border: 2px solid var(--bs-primary);
}

.jodi-panel-light h2 { margin: 0; font-size: 20px; letter-spacing: 1px; }

/* family finder light */
.family-wrap-light {
  background: #fff;
  padding: 15px;
  margin: 10px auto;
  border-radius: 12px;
  border: 1px solid #e2e5e9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  color: var(--bs-primary-dark);
}

.family-wrap-light .jodi-input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  background: #fff;
  color: var(--bs-primary-dark);
}

.family-wrap-light .jodi-btn {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(90deg, #696cff, #03347d);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.family-wrap-light .jodi-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--bs-primary-dark);
  box-shadow: 0 0 10px rgba(105, 108, 255, 0.35);
  border: 1px solid var(--bs-primary);
}

.family-wrap-light .jodi-msg { color: #dc3545; }

/* old dark-theme overrides in shared markup */
.result-heading { text-align: center; margin: 0; padding: 0; background: transparent; }
.result-heading h1 { font-size: 20px; font-weight: 700; color: var(--bs-primary-dark); margin: 0; }
.result-heading a { display: block; font-size: 24px; font-weight: 800; color: var(--bs-primary); text-decoration: none; margin: 0; padding: 0; }

.resultmain { text-align: center; margin: 6px auto; padding: 4px 0; min-height: auto; }
.resultmaintime { color: #6c757d; font-size: 18px; font-weight: 600; letter-spacing: 0.5px; min-height: 20px; margin: 0; }
.resultmaintoday { color: var(--bs-primary-dark); font-size: 22px; font-weight: 700; margin: 2px 0; }
.resultmainnote { color: #6c757d; font-size: 16px; font-weight: 500; opacity: 0.9; margin: 2px 0; }

.flix { font-size: 26px; font-weight: 700; color: var(--bs-primary-dark); text-transform: uppercase; margin: 2px 0; line-height: 1.1; }

.flix-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto;
  width: 70px;
  height: 70px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  background: radial-gradient(circle, #ff5c5c 10%, #dc3545 90%);
  border: 3px solid #f44336;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(220, 53, 69, 0.5);
  line-height: 1;
}

/* smooth modal-less page */
.container-wide { max-width: 1400px; }
