/* ==========================================================================
   SATTA KING - MODERN LIGHT PASTEL THEME (WITH DUAL YESTERDAY & TODAY RESULTS)
   ========================================================================== */

:root {
  /* Clean Light Pastel Palette */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-subtle: #f1f5f9;

  /* Pastel Theme Brand Colors */
  --pastel-indigo: #4f46e5;
  --pastel-indigo-light: #eef2ff;
  --pastel-indigo-hover: #4338ca;
  --pastel-indigo-border: #c7d2fe;

  --pastel-amber: #d97706;
  --pastel-amber-light: #fffbeb;
  --pastel-amber-border: #fde68a;

  --pastel-emerald: #059669;
  --pastel-emerald-light: #ecfdf5;
  --pastel-emerald-border: #a7f3d0;

  --pastel-sky: #0284c7;
  --pastel-sky-light: #f0f9ff;
  --pastel-sky-border: #bae6fd;

  --pastel-rose: #e11d48;
  --pastel-rose-light: #fff1f2;

  /* Typography */
  --text-main: #0f172a;
  --text-heading: #0f172a;
  --text-muted: #334155;
  --text-light: #475569;
  --text-white: #ffffff;

  /* Borders & Shadows */
  --border-card: #e2e8f0;
  --border-subtle: #cbd5e1;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 4px -1px rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 6px 10px -2px rgba(0, 0, 0, 0.08);

  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-full: 9999px;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  font-family: var(--font-family);
  font-size: 15px;
  background-color: var(--bg-page);
  color: var(--text-main);
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}

/* ==========================================================================
   SITE HEADER (2-ROW CLEAN NAVIGATION)
   ========================================================================== */

.site-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.18rem;
  font-weight: 900;
  white-space: nowrap;
}

.logo-crown {
  font-size: 1.3rem;
}

.logo-text {
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--pastel-indigo);
}

.mobile-admin-btn {
  display: none;
  background-color: var(--pastel-indigo);
  color: #ffffff !important;
  font-weight: 800;
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.3rem;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  color: #0f172a;
  background-color: #f1f5f9;
  border: 1px solid var(--border-card);
  transition: all 0.12s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background-color: var(--pastel-indigo);
  color: #ffffff !important;
  border-color: var(--pastel-indigo);
  font-weight: 800;
}

.desktop-admin-btn {
  background-color: var(--pastel-indigo);
  color: #ffffff !important;
  font-weight: 800;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  transition: background-color 0.15s;
  white-space: nowrap;
  border: 1px solid var(--pastel-indigo);
}

.desktop-admin-btn:hover {
  background-color: var(--pastel-indigo-hover);
}

/* Breaking Live Ticker (Zero CLS) */
.flash-ticker {
  width: 100%;
  max-width: 100vw;
  height: 32px;
  min-height: 32px;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-card);
  padding: 0.35rem 0;
  overflow: hidden;
  font-size: 0.78rem;
  color: #334155;
  font-weight: 600;
  contain: layout size paint;
}

.ticker-wrap {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 25s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.ticker-wrap:hover {
  animation-play-state: paused;
}

.ticker-item {
  margin-right: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.blink-badge {
  background-color: var(--pastel-rose);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.38rem;
  border-radius: var(--radius-full);
}

@keyframes tickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   HERO BOX
   ========================================================================== */

.hero-box {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1rem;
  margin: 1rem 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.hero-main-title {
  color: #0f172a;
  font-size: clamp(1.3rem, 3.5vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.hero-main-title span {
  color: var(--pastel-indigo);
}

.hero-tagline {
  color: var(--text-muted);
  font-size: clamp(0.8rem, 1.8vw, 0.92rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.live-time-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 34px;
  min-width: 260px;
  background-color: var(--pastel-indigo-light);
  border: 1px solid var(--pastel-indigo-border);
  color: var(--pastel-indigo);
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   TELEGRAM & WHATSAPP SOCIAL JOIN BAR
   ========================================================================== */

.social-join-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.15rem;
  margin: 0.85rem 0 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.social-join-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.social-join-title {
  color: var(--text-heading);
  font-size: 0.98rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.social-join-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.social-btn-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-social .icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.btn-social:hover {
  transform: translateY(-2px);
}

.btn-telegram {
  background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
  box-shadow: 0 2px 8px rgba(0, 136, 204, 0.28);
}

.btn-telegram:hover {
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Floating Action Social Widget (WhatsApp & Telegram) */
.floating-social-dock {
  position: fixed;
  bottom: 22px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1050;
}

.floating-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  position: relative;
}

.floating-social-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.floating-tg {
  background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.floating-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.floating-social-btn svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.floating-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #991b1b;
  color: #ffffff !important;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 9999px;
  border: 1.5px solid #ffffff;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Floating Sticky Bottom Social Bar on Mobile */
.sticky-social-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-card);
  padding: 0.45rem 0.75rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.sticky-social-wrap {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.sticky-social-wrap .btn-social {
  flex: 1;
  justify-content: center;
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .social-join-box {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .social-join-info {
    text-align: center;
  }
  .social-btn-group {
    width: 100%;
  }
  .social-btn-group .btn-social {
    flex: 1;
    justify-content: center;
  }
  .sticky-social-bar {
    display: block;
  }
  body {
    padding-bottom: 52px;
  }
}

/* ==========================================================================
   SATTA GAME LIVE CARDS (WITH DUAL YESTERDAY & TODAY RESULT BOXES)
   ========================================================================== */

.game-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0;
  width: 100%;
  min-height: 260px;
}

.satta-card {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 0.85rem 0.9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.satta-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.card-game-title {
  color: var(--text-heading);
  font-size: 1.08rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card-game-hindi {
  color: #3730a3;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.card-timing {
  background-color: #e0f2fe;
  border: 1px solid #7dd3fc;
  color: #0369a1;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.45rem;
  align-self: center;
}

/* DUAL RESULTS: YESTERDAY & TODAY SIDE-BY-SIDE */
.card-dual-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0.4rem 0;
  width: 100%;
}

.card-result-sub-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.35rem;
  text-align: center;
}

.card-result-sub-box.today {
  background-color: #ecfdf5;
  border-color: #a7f3d0;
}

.result-box-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 0.1rem;
}

.card-result-sub-box.today .result-box-tag {
  color: #065f46;
}

.result-box-val {
  font-size: 1.7rem;
  font-family: monospace;
  font-weight: 900;
  line-height: 1;
  color: #0f172a;
}

.result-box-val.today {
  color: #065f46;
}

.result-box-val.waiting {
  color: #92400e;
  font-size: 1.25rem;
}

.card-btn-group {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.55rem;
  width: 100%;
}

.btn-card-action {
  flex: 1;
  background-color: #f1f5f9;
  border: 1px solid var(--border-card);
  color: var(--text-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.3rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.12s;
  white-space: nowrap;
}

.btn-card-action:hover {
  background-color: var(--pastel-indigo);
  border-color: var(--pastel-indigo);
  color: #ffffff;
}

/* ==========================================================================
   TODAY VS YESTERDAY BIG TABLE
   ========================================================================== */

.satta-section-header {
  background-color: #ffffff;
  color: var(--text-heading);
  text-align: center;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-card);
  border-bottom: 2px solid var(--pastel-indigo);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-weight: 900;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  text-transform: uppercase;
  margin-top: 1.5rem;
  width: 100%;
}

.satta-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-card);
  border-top: none;
  background-color: #ffffff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.satta-classic-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 480px;
}

.satta-classic-table th {
  background-color: #f8fafc;
  color: #0f172a;
  padding: 0.65rem 0.5rem;
  font-weight: 800;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border-card);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.satta-classic-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
}

.satta-classic-table tr:hover td {
  background-color: #f8fafc;
}

.table-cell-game {
  text-align: left;
  padding-left: 1.15rem !important;
}

.table-badge-num {
  display: inline-block;
  min-width: 38px;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-weight: 900;
  font-size: 1.1rem;
}

.table-badge-num.yest {
  background-color: #f1f5f9;
  color: #0f172a;
  border: 1px solid var(--border-card);
}

.table-badge-num.today {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.table-badge-num.wait {
  background-color: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 0.8rem;
}

/* ==========================================================================
   LUCKY LEAK JODI BOX
   ========================================================================== */

.leak-jodi-box {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin: 1.5rem 0;
  width: 100%;
}

.leak-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.85rem 0;
  width: 100%;
}

.leak-card {
  background-color: #f8fafc;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  min-width: 110px;
  flex: 0 1 150px;
}

.leak-card-title {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.leak-card-num {
  font-size: 1.6rem;
  font-family: monospace;
  font-weight: 900;
  color: var(--pastel-indigo);
  margin-top: 0.15rem;
}

.btn-yellow-pill {
  background-color: var(--pastel-indigo);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color 0.15s;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
  max-width: 100%;
}

.btn-yellow-pill:hover {
  background-color: var(--pastel-indigo-hover);
}

/* ==========================================================================
   CHARTS DIRECTORY
   ========================================================================== */

.directory-section {
  margin: 1.75rem 0;
  width: 100%;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  align-items: stretch;
}

.directory-card-hero {
  grid-column: 1 / -1;
  background-color: #ffffff;
  border: 1px solid var(--pastel-indigo-border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.directory-card {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.directory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 0.5rem;
  margin-bottom: 0.65rem;
  gap: 0.4rem;
}

.directory-title {
  color: var(--text-heading);
  font-size: 0.98rem;
  font-weight: 800;
  word-break: break-word;
}

.years-pills-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 0.35rem;
  width: 100%;
  padding-top: 0.25rem;
}

.year-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  border: 1px solid var(--border-card);
  color: var(--text-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.32rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: all 0.12s ease;
  text-align: center;
}

.year-link-pill:hover, .year-link-pill.active {
  background-color: var(--pastel-indigo);
  color: #ffffff;
  border-color: var(--pastel-indigo);
  font-weight: 800;
}

/* SEO Content & Footer */
.seo-content-box {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.seo-content-box h2 {
  color: var(--text-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  border-bottom: 2px solid var(--pastel-indigo-light);
  padding-bottom: 0.4rem;
}

.seo-content-box h3 {
  color: var(--text-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1.15rem 0 0.45rem 0;
}

.seo-content-box p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.seo-content-box ul, .seo-content-box ol {
  margin-left: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.seo-content-box li {
  margin-bottom: 0.35rem;
}

/* Content Grid & Game Cards */
.content-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1rem 0;
  width: 100%;
}

.content-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1rem 0;
  width: 100%;
}

.content-mini-card {
  background-color: #f8fafc;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.95rem;
  transition: transform 0.12s ease;
}

.content-mini-card:hover {
  border-color: var(--pastel-indigo-border);
  transform: translateY(-2px);
}

.content-mini-card h4 {
  color: var(--text-heading);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.content-mini-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Terminology Pills Grid */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
  width: 100%;
}

.term-box {
  background-color: #f8fafc;
  border-left: 3px solid var(--pastel-indigo);
  border-top: 1px solid var(--border-card);
  border-right: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.term-box-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.term-box-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* FAQ Accordion / Cards */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1rem 0;
  width: 100%;
}

.faq-item {
  background-color: #f8fafc;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.faq-q {
  color: var(--text-heading);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.faq-a {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* Disclaimer Box */
.disclaimer-alert {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--pastel-amber);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1.5rem 0;
  color: #92400e;
  font-size: 0.82rem;
  line-height: 1.55;
  width: 100%;
}

.disclaimer-alert h4 {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #b45309;
}

.site-footer {
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid var(--border-card);
  padding: 1.75rem 0 1rem 0;
  margin-top: auto;
  font-size: 0.82rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.footer-col h4 {
  color: var(--text-heading);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.footer-col p {
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  display: inline-block;
  padding: 0.35rem 0.2rem;
  color: #0f172a;
  font-weight: 700;
  transition: color 0.12s;
}

.footer-col a:hover {
  color: var(--pastel-indigo);
  text-decoration: underline;
}

.footer-copyright {
  border-top: 1px solid var(--border-card);
  padding-top: 0.85rem;
  text-align: center;
  color: #334155;
  font-weight: 600;
  font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (0% HORIZONTAL OVERFLOW GUARANTEED)
   ========================================================================== */

@media (max-width: 960px) {
  .game-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top-row {
    height: 48px;
  }

  .mobile-admin-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.28rem 0.55rem;
  }

  .desktop-admin-btn {
    display: none !important;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 0.35rem 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide standard scrollbar */
  }

  .main-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .nav-links {
    width: max-content;
    padding: 0 4px;
    gap: 0.3rem;
  }

  .nav-link {
    font-size: 0.76rem;
    padding: 0.28rem 0.55rem;
  }

  .game-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .content-grid-3, .content-grid-2 {
    grid-template-columns: 1fr;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .years-pills-wrap {
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 0.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .logo-link {
    font-size: 1.05rem;
    gap: 0.25rem;
  }

  .logo-crown {
    font-size: 1.15rem;
  }

  .hero-box {
    padding: 0.85rem 0.65rem;
    margin: 0.65rem 0;
  }

  .hero-main-title {
    font-size: 1.25rem;
  }

  .hero-tagline {
    font-size: 0.78rem;
  }

  .live-time-pill {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
  }

  .social-join-box {
    padding: 0.75rem;
    margin: 0.65rem 0 1rem 0;
  }

  .social-join-title {
    font-size: 0.9rem;
  }

  .social-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 0.4rem;
  }

  .btn-social {
    padding: 0.42rem 0.4rem;
    font-size: 0.78rem;
    justify-content: center;
  }

  .satta-card {
    padding: 0.75rem 0.65rem;
  }

  .card-game-title {
    font-size: 1rem;
  }

  .result-box-val {
    font-size: 1.5rem;
  }

  .leak-jodi-box {
    padding: 0.95rem 0.65rem;
    margin: 1rem 0;
  }

  .leak-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }

  .leak-card {
    min-width: 0;
    flex: none;
    width: 100%;
    padding: 0.5rem 0.35rem;
  }

  .leak-card-num {
    font-size: 1.35rem;
  }

  .terms-grid {
    grid-template-columns: 1fr;
  }

  .seo-content-box {
    padding: 0.95rem 0.75rem;
  }

  .seo-content-box h2 {
    font-size: 1.1rem;
  }

  .seo-content-box h3 {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .logo-text {
    font-size: 0.95rem;
  }
  
  .mobile-admin-btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.45rem;
  }

  .years-pills-wrap {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
  }

  .year-link-pill {
    font-size: 0.72rem;
    padding: 0.28rem 0.2rem;
  }

  .btn-card-action {
    font-size: 0.7rem;
    padding: 0.3rem 0.15rem;
  }
}
