/* ==========================================================================
   DIAMOND LOTTERY - PREMIUM DESIGN SYSTEM & STYLESHEET
   Royal Indian Lottery & Satta Bazaar Live Result Engine
   ========================================================================== */

:root {
  --bg-dark-base: #030822;
  --bg-card: #08123b;
  --bg-card-alt: #0c1c58;
  --primary-navy: #050a40;
  --primary-blue: #1a2b8d;
  --primary-glow: #243bb5;
  --gold-primary: #ffde59;
  --gold-glow: #ffc400;
  --gold-dark: #b8860b;
  --cyan-accent: #00e5ff;
  --red-accent: #ff3366;
  --green-accent: #00e676;
  --text-white: #ffffff;
  --text-muted: #9bb0dc;
  --text-dark: #050a40;
  --border-light: rgba(255, 222, 89, 0.25);
  --border-glow: rgba(0, 229, 255, 0.4);
  --shadow-gold: 0 0 20px rgba(255, 222, 89, 0.3);
  --shadow-cyan: 0 0 25px rgba(0, 229, 255, 0.35);
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 860px;
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

body {
  background: radial-gradient(circle at 50% 0%, #0c184d 0%, #030822 65%, #010411 100%);
  color: var(--text-white);
  font-family: var(--font-main);
  min-height: 100vh;
  line-height: 1.5;
}

/* Background subtle ambient stars */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(255, 222, 89, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  z-index: 0;
}

#app-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: rgba(5, 10, 64, 0.94);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.8), 0 0 20px rgba(26, 43, 141, 0.5);
  border-left: 1px solid rgba(255, 222, 89, 0.2);
  border-right: 1px solid rgba(255, 222, 89, 0.2);
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ==========================================================================
   TOP NOTIFICATION BAR & QUICK STATS
   ========================================================================== */
.top-ticker-bar {
  background: linear-gradient(90deg, #b8860b 0%, #ffde59 50%, #b8860b 100%);
  color: #030822;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ticker-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  background: #ff0033;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-red 1.2s infinite;
  box-shadow: 0 0 8px #ff0033;
}

@keyframes pulse-red {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.ticker-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-btn {
  background: #030822;
  color: var(--gold-primary);
  border: none;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ticker-btn:hover {
  background: #1a2b8d;
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   BRAND HEADER & SACRED ICONS
   ========================================================================== */
.brand-header {
  background: linear-gradient(180deg, #050a40 0%, #091552 100%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold-primary);
  position: relative;
}

.deity-frame {
  width: 72px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 10px rgba(255, 222, 89, 0.4);
  background: #000;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.deity-frame:hover {
  transform: scale(1.05);
}

.deity-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-center {
  text-align: center;
  flex: 1;
  padding: 0 10px;
}

.main-logo-img {
  max-height: 72px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 222, 89, 0.6));
  animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.brand-sitename {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #ffea79 25%, #ffd700 50%, #ffae00 75%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 222, 89, 0.85)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
  animation: gold-shimmer 4s linear infinite;
  margin-top: 4px;
}

.brand-subname-hindi {
  font-family: 'Noto Sans Devanagari', var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffea79;
  letter-spacing: 0.8px;
  text-shadow: 0 0 10px rgba(255, 222, 89, 0.6);
  margin-top: 3px;
}

.voice-search-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px auto 14px;
  background: rgba(255, 222, 89, 0.08);
  border: 1px solid rgba(255, 222, 89, 0.3);
  border-radius: 30px;
  padding: 6px 18px;
  max-width: 92%;
  font-size: 0.82rem;
  color: #ffde59;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.voice-search-card i {
  color: #ffd700;
  font-size: 0.95rem;
  animation: pulse-mic 2s infinite ease-in-out;
}

@keyframes pulse-mic {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #ffd700); }
  50% { transform: scale(1.2); filter: drop-shadow(0 0 8px #ffea79); }
}

.hindi-brand-tag {
  font-family: 'Noto Sans Devanagari', var(--font-main);
  font-size: 0.88em;
  color: #ffd700;
  margin-left: 6px;
  font-weight: 800;
}

@keyframes gold-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gold-sparkle {
  display: inline-block;
  animation: sparkle-pulse 2s infinite ease-in-out;
  -webkit-text-fill-color: initial;
  filter: drop-shadow(0 0 8px #ffd700);
}

@keyframes sparkle-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.25); opacity: 1; }
}

.header-action-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.header-mini-btn {
  background: #020617;
  color: var(--gold-primary);
  border: 1px solid rgba(255, 222, 89, 0.4);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.header-mini-btn:hover {
  background: #1a2b8d;
  color: #fff;
  border-color: var(--cyan-accent);
}

.header-mini-btn.admin {
  background: rgba(255, 222, 89, 0.15);
  border-color: var(--gold-primary);
}

/* ==========================================================================
   METRICS BAR (CLOCK, ONLINE USERS, QUICK REFRESH)
   ========================================================================== */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #020617;
  border-bottom: 1px solid rgba(255, 222, 89, 0.2);
  text-align: center;
  padding: 8px 12px;
  gap: 8px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-primary);
  font-family: var(--font-mono);
}

.metric-value.time {
  color: var(--cyan-accent);
}

.metric-value.online {
  color: var(--green-accent);
}

/* ==========================================================================
   HERO LIVE RESULT SECTION
   ========================================================================== */
.hero-live-section {
  padding: 20px 14px;
  background: radial-gradient(circle at 50% 30%, #10216b 0%, #071142 80%);
  border-bottom: 2px solid rgba(255, 222, 89, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-live-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #050e38 0%, #172a88 50%, #050e38 100%);
  border: 2px solid #ffd700;
  padding: 10px 28px;
  border-radius: 50px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.45), inset 0 0 15px rgba(255, 215, 0, 0.2);
  margin-bottom: 18px;
}

.hero-title-badge h2 {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #fff099 20%, #ffd700 50%, #ff9d00 80%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.75));
  animation: gold-shimmer 4s linear infinite;
  margin: 0;
}

.gold-gem-icon {
  color: #ffd700;
  font-size: 1.25rem;
  filter: drop-shadow(0 0 8px #ffd700);
  animation: gem-float 3s ease-in-out infinite alternate;
}

@keyframes gem-float {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}

.hero-diamond-container {
  max-width: 380px;
  margin: 0 auto;
  background: rgba(4, 11, 48, 0.85);
  border: 2px solid var(--gold-primary);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 222, 89, 0.25);
  position: relative;
  backdrop-filter: blur(8px);
}

.diamond-gem-visual {
  position: relative;
  width: 190px;
  height: 170px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diamond-gem-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--gold-primary);
  filter: drop-shadow(0 0 15px rgba(255, 222, 89, 0.45));
}

.hero-result-display-below {
  margin: 6px auto 10px;
  background: linear-gradient(180deg, #071342 0%, #030822 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 14px;
  padding: 10px 24px;
  box-shadow: 0 0 22px rgba(255, 222, 89, 0.4), inset 0 0 14px rgba(255, 222, 89, 0.2);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.hero-result-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-result-number {
  font-size: 3.6rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fff;
  text-shadow: 0 0 20px var(--gold-primary), 0 0 35px #ffc400;
  line-height: 1;
  margin: 4px 0 8px;
  letter-spacing: 2px;
}

.live-time-slot-btn {
  background: linear-gradient(135deg, #050a40 0%, #1a2b8d 100%);
  border: 2px solid var(--cyan-accent);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 10px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  margin-bottom: 8px;
}

.next-draw-countdown {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.next-draw-countdown span {
  color: var(--gold-primary);
  font-weight: 800;
  font-family: var(--font-mono);
}

.hero-actions-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.action-btn {
  background: linear-gradient(135deg, #ffde59 0%, #ff9900 100%);
  color: #030822;
  border: none;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255, 222, 89, 0.3);
  text-decoration: none;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 222, 89, 0.5);
}

.action-btn.secondary {
  background: rgba(26, 43, 141, 0.8);
  border: 1px solid var(--cyan-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.2);
}

.action-btn.secondary:hover {
  background: #1a2b8d;
}

/* ==========================================================================
   TODAY'S 15 DRAWS TABLE (CORE FUNCTIONALITY)
   ========================================================================== */
.section-wrapper {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(255, 222, 89, 0.15);
}

.section-heading-bar {
  background: linear-gradient(90deg, #050a40 0%, #1a2b8d 50%, #050a40 100%);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 10px 14px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.section-heading-bar h3 {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.section-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 480px;
  border-radius: 8px;
  border: 1px solid rgba(255, 222, 89, 0.25);
  background: #04092b;
  position: relative;
}

.draws-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
  font-size: 0.92rem;
}

.draws-table thead tr {
  background: #050a40;
}

.draws-table th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #050a40;
  padding: 10px 8px;
  color: var(--gold-primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--gold-primary);
  border-right: 1px solid rgba(255, 222, 89, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.draws-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.draws-table tbody tr:hover {
  background: rgba(26, 43, 141, 0.35);
}

.draws-table td {
  padding: 10px 6px;
  border: 1px solid rgba(255, 222, 89, 0.1);
  color: #fff;
  font-weight: 600;
}

.draws-table td.sno {
  color: var(--text-muted);
  font-size: 0.8rem;
  width: 45px;
}

.draws-table td.game-name {
  font-weight: 700;
  color: #d1dcff;
}

.draws-table td.slot-time {
  font-family: var(--font-mono);
  color: var(--cyan-accent);
  font-weight: 700;
}

.draws-table td.old-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #ffb8b8;
  background: rgba(255, 51, 102, 0.08);
}

.draws-table td.new-num {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  background: #1a2b8d;
}

/* Latest active declared row */
.draws-table tr.active-latest {
  background: rgba(255, 222, 89, 0.18) !important;
}

.draws-table tr.active-latest td.new-num {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%) !important;
  color: #030822 !important;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
  animation: pulse-gold-cell 2s infinite;
}

@keyframes pulse-gold-cell {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.badge-status {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
}

.badge-status.declared {
  background: rgba(0, 230, 118, 0.18);
  color: var(--green-accent);
  border: 1px solid var(--green-accent);
}

.badge-status.pending {
  background: rgba(255, 170, 0, 0.18);
  color: #ffaa00;
  border: 1px solid #ffaa00;
}

/* ==========================================================================
   BAZAAR LIVE RESULT (DESAWER, GALI, FARIDABAD, GHAZIABAD...)
   ========================================================================== */
.bazaar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 480px) {
  .bazaar-grid {
    gap: 8px;
  }
}

.bazaar-card {
  background: linear-gradient(145deg, #09133f 0%, #050b28 100%);
  border: 1.5px solid rgba(255, 222, 89, 0.35);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bazaar-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
}

.bazaar-card-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.bazaar-card-time {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 6px;
}

.bazaar-dual-results {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(3, 8, 34, 0.7);
  border: 1px solid rgba(255, 222, 89, 0.25);
  border-radius: 8px;
  padding: 6px 4px;
  margin: 6px 0 10px;
}

.bazaar-col-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bazaar-col-box .col-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.bazaar-col-box .col-num {
  font-size: 1.7rem;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
}

.bazaar-col-box .col-num.old-num {
  color: #ff99aa;
}

.bazaar-col-box .col-num.today-num {
  color: var(--gold-primary);
  text-shadow: 0 0 10px rgba(255, 222, 89, 0.5);
}

.bazaar-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 222, 89, 0.3);
  margin: 0 2px;
}

.bazaar-btn-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}

.bazaar-result-btn,
.bazaar-other-btn {
  background: linear-gradient(135deg, #10216b 0%, #1a2b8d 100%);
  color: #fff;
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bazaar-result-btn:hover,
.bazaar-other-btn:hover {
  background: var(--gold-primary);
  color: #030822;
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   ONLINE KHAIWAL VIP BANNER (CALL / WHATSAPP)
   ========================================================================== */
.khaiwal-banner {
  background: radial-gradient(circle at 50% 50%, #1a2b8d 0%, #081240 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  margin: 14px 0;
  box-shadow: 0 0 25px rgba(255, 222, 89, 0.25);
  position: relative;
  overflow: hidden;
}

.khaiwal-badge {
  display: inline-block;
  background: var(--gold-primary);
  color: #030822;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.khaiwal-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.khaiwal-markets {
  font-size: 0.82rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.khaiwal-phone {
  font-size: 1.35rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fff;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-btn-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-pill-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-pill-btn.call {
  background: #ff3366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 51, 102, 0.4);
}

.contact-pill-btn.whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

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

/* ==========================================================================
   LUCKY CHANCE (STAR JODI CARDS)
   ========================================================================== */
.lucky-stars-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.lucky-star-pill {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd700 0%, #ff8800 100%);
  color: #030822;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  font-family: var(--font-mono);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.8);
  border: 2px solid #fff;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.lucky-star-pill:hover {
  transform: scale(1.15) rotate(10deg);
}

/* ==========================================================================
   SEARCH & HISTORICAL ARCHIVE SECTION
   ========================================================================== */
.archive-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #020617;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 222, 89, 0.2);
  margin-bottom: 14px;
}

.archive-filter-bar select {
  background: #09133f;
  border: 1.5px solid var(--gold-primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.archive-filter-bar button {
  background: linear-gradient(135deg, #ffde59 0%, #ffaa00 100%);
  color: #030822;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.archive-filter-bar button:hover {
  transform: translateY(-1px);
}

/* Matrix Table Styling for 15 Draws x 31 Days */
.matrix-scrollable-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 222, 89, 0.3);
  border-radius: 8px;
  background: #04092b;
  max-height: 480px;
  overflow-y: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.8rem;
}

.matrix-table th {
  position: sticky;
  top: 0;
  background: #050a40;
  color: var(--gold-primary);
  font-weight: 800;
  padding: 8px 6px;
  border: 1px solid rgba(255, 222, 89, 0.2);
  white-space: nowrap;
  z-index: 2;
}

.matrix-table th:first-child,
.matrix-table th.th-date {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 4;
  background: #0a174a;
}

.matrix-table td {
  padding: 6px 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fff;
}

.matrix-table td.date-col {
  background: #0a174a;
  color: var(--cyan-accent);
  font-weight: 700;
  position: sticky;
  left: 0;
  z-index: 1;
  white-space: nowrap;
}

/* ==========================================================================
   SEO & INFORMATIONAL CONTENT
   ========================================================================== */
.seo-info-card {
  background: #ffffff;
  color: #1a202c;
  padding: 20px;
  border-radius: 8px;
  margin-top: 14px;
  line-height: 1.65;
  font-size: 0.88rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.seo-info-card h4 {
  color: #050a40;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 12px 0 6px;
  border-bottom: 2px solid #ffde59;
  padding-bottom: 4px;
}

.seo-info-card p {
  margin-bottom: 10px;
  color: #2d3748;
}

.disclaimer-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 10px 12px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: #856404;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #020617;
  border-top: 2px solid var(--gold-primary);
  padding: 16px 12px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-admin-trigger {
  margin-top: 10px;
  display: inline-block;
  background: transparent;
  border: 1px dashed rgba(255, 222, 89, 0.4);
  color: var(--gold-primary);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-admin-trigger:hover {
  background: rgba(255, 222, 89, 0.1);
  border-color: var(--gold-primary);
}

/* ==========================================================================
   MODAL WINDOWS (ADMIN PANEL & BAZAAR RECORDS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 14px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #08123b;
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 35px rgba(255, 222, 89, 0.35);
  animation: modal-pop 0.25s ease-out;
}

@keyframes modal-pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  background: #050a40;
  border-bottom: 2px solid var(--gold-primary);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.15rem;
  color: var(--gold-primary);
  font-weight: 800;
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 16px;
  overflow-y: auto;
  color: #fff;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.form-group input, .form-group select {
  width: 100%;
  background: #030822;
  border: 1px solid rgba(255, 222, 89, 0.3);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
}

.admin-grid-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (max-width: 480px) {
  .admin-grid-inputs {
    grid-template-columns: repeat(2, 1fr);
  }
}

.slot-input-card {
  background: #04092b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 6px;
  text-align: center;
}

.slot-input-card span {
  font-size: 0.72rem;
  color: var(--cyan-accent);
  display: block;
  font-weight: 700;
}

.slot-input-card input {
  width: 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  background: #08123b;
  border: 1px solid var(--gold-primary);
  color: #fff;
  border-radius: 4px;
  padding: 4px;
  margin-top: 2px;
}

.modal-footer {
  background: #050a40;
  border-top: 1px solid rgba(255, 222, 89, 0.2);
  padding: 12px 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ==========================================================================
   CANVAS CELEBRATION CONFETTI
   ========================================================================== */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10000;
}

/* ==========================================================================
   4-GAME SATTA BAZAAR COMPARATIVE COLUMN LEDGER (CHART PAGE)
   ========================================================================== */
.chart-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 10, 64, 0.85);
  border: 1px solid rgba(255, 222, 89, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffde59;
  border: 1.5px solid #ffde59;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-back-home-btn:hover {
  background: #ffde59;
  color: #050a40;
  transform: translateX(-2px);
}

.chart-selector-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.chart-chip-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 4px;
}

.chart-game-chip {
  background: #091745;
  border: 1px solid rgba(255, 222, 89, 0.25);
  color: #e2e8f0;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chart-game-chip:hover {
  border-color: #ffde59;
  color: #ffde59;
}

.chart-game-chip.active {
  background: #ffde59;
  color: #050a40;
  border-color: #ffde59;
  box-shadow: 0 0 10px rgba(255, 222, 89, 0.5);
}

/* ==========================================================================
   CLASSIC SATTA RECORD TABLE (MATCHING USER SCREENSHOT)
   ========================================================================== */
.satta-chart-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  margin-bottom: 24px;
  background: #ffffff;
}

.satta-classic-chart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: var(--font-main);
  background: #ffffff;
}

.satta-classic-chart-table thead tr {
  background: #ffb700;
  border-top: 5px solid #10b981;
  border-bottom: 2px solid #e5a700;
}

.satta-classic-chart-table th {
  padding: 14px 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #000000;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.satta-classic-chart-table th:last-child {
  border-right: none;
}

.satta-classic-chart-table th.th-date {
  color: #e11d48;
  font-weight: 900;
}

.satta-classic-chart-table tbody tr {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.15s ease;
}

.satta-classic-chart-table tbody tr:hover {
  background: #f8fafc;
}

.satta-classic-chart-table td {
  padding: 12px 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  border-right: 1px solid #e5e7eb;
  font-family: var(--font-mono);
}

.satta-classic-chart-table td:last-child {
  border-right: none;
}

.satta-classic-chart-table td.td-date {
  color: #e11d48;
  font-weight: 900;
}

.satta-classic-chart-table td.pending-val {
  color: #000000;
  font-weight: 700;
}

/* 4-Game Comparative Deck Container */
.bazaar-columns-deck {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .bazaar-columns-deck {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .bazaar-columns-deck {
    grid-template-columns: 1fr;
  }
}

.game-col-card {
  background: #060e33;
  border: 1.5px solid rgba(255, 222, 89, 0.2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.game-col-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* 1st Column / Primary Selected Game Highlight */
.game-col-card.primary-column {
  border: 2px solid #ffde59;
  box-shadow: 0 0 25px rgba(255, 222, 89, 0.35);
  background: linear-gradient(180deg, #0b1c59, #050d2f);
}

.primary-badge {
  background: linear-gradient(90deg, #b8860b, #ffd700);
  color: #050a40;
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
  padding: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.col-header {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1.5px solid rgba(255, 222, 89, 0.2);
  background: rgba(3, 8, 30, 0.6);
}

.col-game-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.game-col-card.primary-column .col-game-title {
  color: #ffde59;
  text-shadow: 0 0 10px rgba(255, 222, 89, 0.5);
}

.col-game-time {
  font-size: 0.75rem;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 8px;
}

.col-today-badge {
  display: inline-block;
  background: #020617;
  border: 1px solid #ffde59;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.col-today-badge strong {
  font-size: 1.1rem;
  color: #22c55e;
  font-family: var(--font-mono);
  margin-left: 4px;
}

.col-body-rows {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 480px;
  overflow-y: auto;
}

.col-entry-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px 10px;
  transition: all 0.15s ease;
}

.col-entry-item:hover {
  background: rgba(255, 222, 89, 0.08);
  border-color: rgba(255, 222, 89, 0.3);
}

.col-entry-date {
  font-size: 0.76rem;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-weight: 600;
}

.col-entry-num {
  font-size: 1.05rem;
  font-family: var(--font-mono);
  font-weight: 900;
  color: #ffde59;
  background: #050b28;
  border: 1px solid rgba(255, 222, 89, 0.25);
  border-radius: 4px;
  padding: 2px 8px;
  min-width: 32px;
  text-align: center;
}

.game-col-card.primary-column .col-entry-num {
  color: #ffffff;
  background: #1d4ed8;
  border-color: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
   MOBILE DRAG & OVERFLOW PREVENTION (RESPONSIVE ENGINE)
   ========================================================================== */
.table-responsive,
.matrix-scrollable-container,
.satta-chart-table-container {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x pan-y !important;
  display: block;
  box-sizing: border-box;
}

.section-wrapper {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .hero-title-badge {
    padding: 8px 18px;
    max-width: 95%;
  }
  .hero-title-badge h2 {
    font-size: 1.3rem;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 480px) {
  .brand-header {
    padding: 8px 8px;
  }
  .deity-frame {
    width: 44px;
    height: 56px;
    border-width: 1.5px;
  }
  .header-center {
    padding: 0 4px;
  }
  .main-logo-img {
    max-height: 48px;
  }
  .brand-sitename {
    font-size: 1.25rem;
    letter-spacing: 1px;
  }
  .brand-subname-hindi {
    font-size: 0.8rem;
    letter-spacing: 0.3px;
  }
  .voice-search-card {
    font-size: 0.72rem;
    padding: 4px 10px;
    max-width: 98%;
    margin: 8px auto 10px;
  }
  .metrics-strip {
    padding: 6px 4px;
    gap: 4px;
  }
  .metric-label {
    font-size: 0.65rem;
  }
  .metric-value {
    font-size: 0.82rem;
  }
  .hero-live-section {
    padding: 14px 8px;
  }
  .hero-title-badge {
    padding: 6px 14px;
    max-width: 98%;
    gap: 8px;
  }
  .hero-title-badge h2 {
    font-size: 1.05rem;
    letter-spacing: 0.8px;
  }
  .gold-gem-icon {
    font-size: 1rem;
  }
  .diamond-gem-visual {
    width: 140px;
    height: 125px;
  }
  .hero-result-number {
    font-size: 2.8rem;
  }
  .live-time-slot-btn {
    font-size: 1rem;
    padding: 6px 16px;
  }
  .section-wrapper {
    padding: 12px 8px;
  }
  .section-heading-bar h3 {
    font-size: 0.98rem;
  }
  .bazaar-grid {
    gap: 8px;
  }
  .bazaar-card {
    padding: 8px 6px;
  }
  .bazaar-card-name {
    font-size: 0.86rem;
  }
  .bazaar-card-time {
    font-size: 0.68rem;
  }
  .bazaar-dual-results {
    padding: 4px 2px;
    margin: 4px 0 8px;
  }
  .bazaar-col-box .col-tag {
    font-size: 0.58rem;
  }
  .bazaar-col-box .col-num {
    font-size: 1.35rem;
  }
  .bazaar-divider {
    height: 28px;
  }
  .bazaar-result-btn {
    padding: 4px 10px;
    font-size: 0.72rem;
  }
  .draws-table th, .draws-table td {
    padding: 8px 4px;
    font-size: 0.82rem;
  }
  .draws-table td.new-num {
    font-size: 1.05rem;
  }
  .draws-table td.old-num {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .brand-header {
    padding: 6px 4px;
  }
  .deity-frame {
    width: 38px;
    height: 48px;
  }
  .brand-sitename {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }
  .hero-title-badge h2 {
    font-size: 0.95rem;
  }
  .bazaar-col-box .col-num {
    font-size: 1.15rem;
  }
}


