/* 100% Exact CSS matching kingsattafast.com */

* {
  box-sizing: border-box;
}

:root {
  --gold: #fc0;
  --bg: #0b0f19;
  --card-bg: #ffffff0d;
  --border: #ffcc004d;
  --red: #ff4d4d;
  --green: #0f8;
  --text-color: #fff;
}

body.light-theme {
  --bg: #f8fafc;
  --text-color: #0f172a;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --red: #dc2626;
  --green: #16a34a;
}

body.light-theme .hero-bg-gradient {
  background: radial-gradient(at 50% 20%, #ffaa0015 0%, #0000 50%), linear-gradient(#f8fafc 0%, #f1f5f9 100%);
}

body.light-theme .hero-title-main {
  color: #0f172a;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  -webkit-text-stroke: none;
}

body.light-theme .hero-subtitle {
  color: #64748b;
}

body.light-theme .hero-time {
  color: #475569;
}

body.light-theme .glass-card,
body.light-theme .game-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-theme .glass-card:hover,
body.light-theme .game-card:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.25) !important;
  background: #fff8e6 !important;
}

body.light-theme .game-name {
  color: #0f172a !important;
}

body.light-theme .card-bottom-time {
  color: #64748b !important;
}

body.light-theme .latest-premium-ticker {
  background: #ffffff;
  border-color: #f59e0b;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-theme #main-ticker {
  color: #0f172a;
}

body.light-theme .news-ticker-box {
  background: #ffffff;
  border-color: #e2e8f0;
}

body.light-theme .news-ticker-item {
  color: #0f172a;
}

body.light-theme .v-table-container {
  background: #ffffff;
  border-color: #e2e8f0;
}

body.light-theme .v-table-container h2 {
  background: #f1f5f9;
  color: #0f172a;
}

body.light-theme .v-table th {
  background: #f1f5f9;
  color: #b45309;
  border-color: #e2e8f0;
}

body.light-theme .v-table td {
  border-color: #e2e8f0;
  color: #0f172a;
}

body.light-theme .game-name-cell {
  color: #0f172a !important;
}

body.light-theme .khaiwal-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-theme .chat-container {
  background: #ffffff;
  border-color: #f59e0b;
}

body.light-theme .chat-header {
  background: #f1f5f9;
  color: #0f172a;
}

body.light-theme .chat-body {
  color: #0f172a;
}

body {
  background: var(--bg);
  color: var(--text-color);
  margin: 0;
  padding-bottom: 0;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Top Left Promo Banner */
.top-left-promo {
  color: #000;
  white-space: nowrap;
  isolation: isolate;
  background: linear-gradient(135deg, #ffe45c 0%, #fc0 45%, #ff9800 100%);
  border-radius: 6px;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  animation: 2.2s ease-in-out infinite promoFloat, 1.4s ease-in-out infinite promoGlow;
  display: inline-flex;
  overflow: hidden;
  box-shadow: 0 0 10px #ffcc00bf, 0 8px 22px #0000004d;
  z-index: 1500 !important;
  position: fixed !important;
  top: 12px !important;
  left: 12px !important;
}

.top-left-promo:after {
  content: "";
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg, #0000, #ffffffe6, #0000);
  width: 38%;
  animation: 2.6s ease-in-out infinite promoShine;
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -45%;
  transform: rotate(18deg);
}

.promo-label, .promo-icon {
  z-index: 2;
  position: relative;
}

.promo-icon {
  transform-origin: 50%;
  font-size: 13px;
  animation: 0.9s ease-in-out infinite promoIconBlink;
}

@keyframes promoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.04); }
}

@keyframes promoGlow {
  0%, 100% { box-shadow: 0 0 8px #ffcc00a6, 0 8px 22px #0000004d; }
  50% { box-shadow: 0 0 24px #fc0, 0 0 42px #ff9900a6, 0 8px 22px #0000004d; }
}

@keyframes promoShine {
  0% { opacity: 0; left: -50%; }
  20% { opacity: 1; }
  55%, 100% { opacity: 0; left: 120%; }
}

@keyframes promoIconBlink {
  0%, 100% { opacity: 1; transform: rotate(-8deg) scale(1); }
  50% { opacity: 0.6; transform: rotate(10deg) scale(1.18); }
}

/* Hero Section */
.hero-banner {
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 480px;
  padding: 80px 20px 45px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero-bg-gradient {
  z-index: 0;
  background: radial-gradient(at 50% 20%, #ffaa001a 0%, #0000 50%), radial-gradient(at 80% 70%, #ff8c000d 0%, #0000 45%), radial-gradient(at 20% 70%, #ff8c000a 0%, #0000 45%), linear-gradient(#0a0d14 0%, #101220 40%, #0c0e18 100%);
  position: absolute;
  inset: 0;
}

.hero-gold-aura {
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(at 80% 55%, #ffb40012 0%, #0000 35%), radial-gradient(at 20% 55%, #ffb4000a 0%, #0000 30%);
  position: absolute;
  inset: 0;
}

.hero-animation {
  justify-content: center;
  align-items: center;
  height: 230px;
  margin: 5px 0 -50px;
  display: flex;
  position: relative;
}

.animated-matka-logo {
  object-fit: contain;
  z-index: 5;
  width: 310px;
  height: 310px;
  transition: transform .3s;
  animation: 2s ease-in-out infinite matkaIdle;
  cursor: pointer;
}

.animated-matka-logo:hover {
  transform: scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 0 25px rgba(255, 204, 0, 0.7));
}

.coin-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  overflow: hidden;
}

.coin {
  position: absolute;
  width: 26px;
  height: 26px;
  background: radial-gradient(circle at 35% 35%, #FFF7AD 0%, #FFC107 45%, #FF9800 80%, #B76E00 100%);
  border: 2px solid #FFE082;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8), inset 0 0 6px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #5D4037;
  animation: coinIntoMatka 1.4s ease-in forwards;
}

@keyframes coinIntoMatka {
  0% {
    top: -20px;
    opacity: 0.9;
    transform: scale(1) rotate(0deg);
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 150px;
    opacity: 0;
    transform: scale(0.3) rotate(360deg);
  }
}

.animated-matka-logo.bursting {
  animation: 0.6s ease-in-out 1 matkaBurst;
}

@keyframes matkaIdle {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.03) rotate(1deg); }
}

@keyframes matkaBurst {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.15) rotate(-5deg); }
  50% { transform: scale(1.1) rotate(5deg); }
  75% { transform: scale(1.05) rotate(-3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.burst-card {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  font-size: 36px;
  animation: 3s ease-out 1 forwards cardBurstOut;
  position: absolute;
  pointer-events: none;
  color: var(--gold);
}

@keyframes cardBurstOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(0px, 0px) rotate(0deg) scale(0.3);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1.2);
  }
  60% {
    opacity: 0.9;
    transform: translate(-50%, -50%) translate(var(--tx-end), var(--ty-end)) rotate(var(--rot-end)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--tx-final), var(--ty-final)) rotate(var(--rot-final)) scale(0.6);
  }
}

.hero-content {
  z-index: 10;
  text-align: center;
  max-width: 620px;
  position: relative;
}

.hero-title {
  letter-spacing: 2.5px;
  margin: 0;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.12;
}

.hero-title-main {
  color: #fff;
  -webkit-text-stroke: 1px #00000073;
  text-shadow: 0 3px 25px #000000bf, 0 0 18px #ffffff2e;
  display: block;
}

.hero-title-gold {
  background: linear-gradient(90deg, gold 0%, orange 20%, gold 40%, orange 60%, gold 80%, orange 100%) 0 0/250%;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px #ffd70059);
  -webkit-background-clip: text;
  background-clip: text;
  animation: 3.5s linear infinite goldShimmer;
  display: block;
}

@keyframes goldShimmer {
  0% { background-position: 250%; }
  100% { background-position: -250%; }
}

.hero-subtitle {
  color: #fff9;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin: 12px 0 6px;
  font-size: 14px;
}

.hero-time {
  color: #ffffff99;
  margin-bottom: 20px;
  font-family: monospace;
  font-size: 13px;
}

.hero-admin-controls {
  z-index: 20;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  display: flex;
  position: absolute;
  top: 18px;
  right: 18px;
}

.theme-toggle {
  cursor: pointer;
  border: 1px solid var(--border);
  background: #0000004d;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 8px;
  font-size: 18px;
  transition: all .3s;
  display: flex;
}

.theme-toggle:hover {
  border-color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 0 15px #ffcc004d;
}

/* 1. Official Ticker Box */
.latest-premium-ticker {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, #000000e6 0%, #14141ef2 100%);
  border: 2px solid #ffd70099;
  border-radius: 12px;
  align-items: center;
  height: 52px;
  margin: 10px 20px 8px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 6px 25px #0009, 0 0 15px #ffd70033;
}

.latest-premium-label {
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, gold 0%, orange 100%);
  align-items: center;
  height: 100%;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 900;
  display: flex;
}

.latest-premium-marquee {
  flex: 1;
  align-items: center;
  height: 100%;
  display: flex;
  overflow: hidden;
}

#main-ticker {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

/* 2. Games Ticker Box */
.news-ticker-box {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #0a0a14f2;
  border: 1px solid #ffffff1f;
  border-radius: 8px;
  align-items: center;
  height: 42px;
  margin: 4px 20px 15px;
  display: flex;
  overflow: hidden;
}

.news-ticker-label {
  color: #000;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  background: linear-gradient(135deg, gold 0%, orange 100%);
  border-right: 1px solid #ffd70059;
  align-items: center;
  height: 100%;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 900;
  display: flex;
}

.news-ticker-item {
  color: #fff;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  font-size: 13px;
  display: inline-flex;
}

.news-ticker-dot {
  color: #ef4444;
  margin-right: 6px;
  font-size: 10px;
  animation: 1.2s step-end infinite blink;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.latest-ticker-separator {
  color: #ffd70080;
  margin: 0 12px;
  font-size: 14px;
}

/* Section Title */
h2.section-header-title {
  text-align: center;
  color: var(--gold);
  margin: 25px 0 15px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
}

/* Grid Layout for Live Updates Cards matching exact target site */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  padding: 10px 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.glass-card, .game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-align: center;
  border-radius: 15px;
  padding: 18px 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 150px;
  cursor: pointer;
}

.glass-card:hover, .game-card:hover {
  border-color: rgba(255, 215, 0, 0.8) !important;
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.35) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.glass-card.live-active {
  border: 2px solid var(--green);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.4);
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 5px;
}

.game-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, gold 0%, orange 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #000;
  flex-shrink: 0;
}

.game-card .game-name, .glass-card .game-name {
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.card-center-number {
  font-size: 40px;
  font-weight: 900;
  color: #ffcc00;
  margin: 8px 0;
  text-shadow: 0 0 12px rgba(255, 204, 0, 0.4);
}

.card-center-number.is-wait {
  font-size: 28px;
  color: #ffcc00;
  font-weight: 900;
  letter-spacing: 1px;
}

.card-bottom-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.live-badge {
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 800;
  animation: 1.5s infinite pulse;
  position: absolute;
  top: 8px;
  right: 8px;
}

.opening-soon-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  border-radius: 12px;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 800;
  animation: 1.5s infinite pulse;
  position: absolute;
  top: 8px;
  right: 8px;
}

.glass-card.result-highlight, .game-card.result-highlight {
  border: 2px solid var(--green);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.4);
}

.glass-card.upcoming-game, .game-card.upcoming-game {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.waiting-result {
  color: orange;
  font-weight: 700;
  animation: 1s ease infinite blink;
  display: inline-block;
}

.final-result {
  color: #00ff88;
  font-size: 40px;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(0, 255, 136, 0.6);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Jodi Table */
.v-table-container {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 95%;
  max-width: 650px;
  margin: 30px auto;
  overflow-x: auto;
}

.v-table-container h2 {
  text-align: center;
  background: #ffffff05;
  color: #fff;
  margin: 0;
  padding: 15px 0;
  font-size: 20px;
  font-weight: 800;
}

.v-table {
  border-collapse: collapse;
  width: 100%;
}

.v-table th, .v-table td {
  border: 1px solid var(--border);
  text-align: center;
  padding: 12px 14px;
}

.v-table th {
  color: var(--gold);
  background: #000;
  font-size: 13px;
  font-weight: 800;
}

.game-name-cell {
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
  text-align: left !important;
}

.table-num-cell {
  font-size: 22px;
  font-weight: 900;
  color: #0f8;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.table-num-cell.is-wait {
  color: #ff9800;
  font-size: 16px;
  text-shadow: none;
}

.view-record-wrapper {
  text-align: center;
  padding: 18px 12px 22px;
}

.view-record-btn {
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: all .3s;
  display: inline-block;
}

.view-record-btn:hover {
  background: var(--gold);
  color: #000;
  transform: scale(1.03);
}

/* Khaiwal Banner */
.khaiwal-card {
  border: 2px solid var(--border);
  text-align: left;
  background: var(--card-bg);
  border-radius: 15px;
  margin: 20px auto;
  max-width: 950px;
  padding: 25px;
  position: relative;
}

.wa-float {
  white-space: nowrap;
  background: #25d366;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  position: absolute;
  top: 20px;
  right: 20px;
  box-shadow: 0 4px 10px #0000004d;
  color: #fff !important;
}

.wa-float img {
  filter: brightness(0) invert();
  width: 20px;
}

/* Warning Section */
.warning-section {
  background: 0 0;
  width: 100%;
  max-width: none;
  margin: 35px 0 95px;
  padding: 0;
  display: block;
  z-index: 1 !important;
  position: relative !important;
}

.warning-box {
  color: #fff;
  background: linear-gradient(#c62828 0%, #9f1515 100%);
  border: 3px solid gold;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  width: 100%;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 22px #00000061;
}

.warning-summary {
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 28px;
  display: flex;
}

.warning-header {
  color: gold;
  white-space: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 900;
  display: flex;
}

.warning-icon {
  font-size: 20px;
  line-height: 1;
}

.warning-title {
  letter-spacing: .5px;
  font-size: 15px;
}

.warning-text {
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  overflow: hidden;
}

.read-more-btn {
  color: #000;
  cursor: pointer;
  text-transform: uppercase;
  background: gold;
  border: 1px solid #0003;
  border-radius: 6px;
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 900;
  transition: all .2s;
}

.read-more-btn:hover {
  background: #fff2a8;
  transform: translateY(-1px);
}

.terms-content {
  max-height: none;
  margin: 0;
  padding: 0 28px 20px;
  display: none;
  overflow: visible;
}

.terms-inner {
  color: #fff;
  background: #0000002e;
  border: 1px solid #ffd70047;
  border-radius: 10px;
  max-height: 320px;
  padding: 18px 20px;
  font-size: 12px;
  line-height: 1.6;
  overflow-y: auto;
}

.terms-inner h3, .terms-inner h4 {
  color: var(--gold);
  margin: 12px 0 8px;
}

.terms-inner p {
  margin: 0 0 10px;
}

/* Floating Chat & Admin Launcher */
.chat-launcher {
  border: 2px solid var(--gold);
  cursor: pointer;
  z-index: 1000;
  background: #000;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  position: fixed;
  bottom: 30px;
  right: 30px;
  box-shadow: 0 0 20px #00000080;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.chat-launcher:hover {
  transform: scale(1.1);
}

.chat-container {
  z-index: 1001;
  background: #1a1a2e;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 15px;
  flex-direction: column;
  width: 320px;
  max-width: calc(100vw - 40px);
  height: auto;
  max-height: calc(100vh - 120px);
  display: none;
  position: fixed;
  bottom: 100px;
  right: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: 0.3s popup;
}

.chat-container.active {
  display: flex !important;
}

.chat-header {
  color: #fff;
  border-bottom: 2px solid var(--gold);
  background: #1e293b;
  justify-content: space-between;
  padding: 15px;
  font-weight: 700;
  display: flex;
}

.chat-body {
  color: #fff;
  flex: 1 1 0%;
  padding: 15px;
  overflow-y: auto;
}

/* Admin Modals */
.modal {
  z-index: 2000;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #000000e6;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
}

.modal.active {
  display: flex !important;
}

.modal-content {
  border-top: 5px solid var(--gold);
  text-align: center;
  background: #101422;
  color: #fff;
  border-radius: 15px;
  width: 450px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 25px;
  animation: .3s popup;
  position: relative;
  box-shadow: 0 0 30px #fc06;
}

@keyframes popup {
  0% { opacity: 0; transform: scale(.8) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.close-btn {
  cursor: pointer;
  color: #999;
  font-size: 22px;
  font-weight: 700;
  position: absolute;
  top: 12px;
  right: 18px;
}

.close-btn:hover {
  color: red;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
}

.form-input, .form-select {
  border: 1px solid var(--border);
  background: #06080f;
  color: #fff;
  border-radius: 8px;
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
}

.login-btn, .btn-primary {
  background: var(--gold);
  color: #000;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  width: 100%;
  margin: 15px 0 10px;
  padding: 12px;
  font-weight: 900;
  font-size: 14px;
  transition: all .3s;
}

.login-btn:hover, .btn-primary:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.portal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
}

.tab-btn.active {
  background: var(--gold);
  color: #000;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-banner { min-height: 380px; padding: 75px 15px 40px; }
  .hero-animation { height: 180px; margin: 5px 0 -40px; }
  .animated-matka-logo { width: 210px; height: 210px; }
  .hero-title { font-size: 30px; }
  .hero-subtitle { letter-spacing: 2px; font-size: 12px; }
  .latest-premium-ticker { height: 48px; }
  .latest-premium-label { padding: 0 12px; font-size: 12px; }
  .v-table th, .v-table td { padding: 10px 8px; font-size: 13px; }
  .khaiwal-card { padding: 15px 15px 60px; }
  .grid-layout { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px; }
}

@media (max-width: 600px) {
  .top-left-promo {
    white-space: nowrap !important;
    text-align: center;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
    max-width: 152px !important;
    padding: 7px 9px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    top: 10px !important;
    left: 10px !important;
  }
  .top-left-promo .promo-icon { font-size: 11px !important; }
  .top-left-promo .promo-label { font-size: 9px !important; font-weight: 900 !important; white-space: nowrap !important; }
  .view-record-btn { padding: 9px 14px; font-size: 11px; }
  .warning-section { width: 100%; margin: 25px 0 85px; }
  .warning-summary { flex-wrap: wrap; align-items: flex-start; gap: 9px; min-height: auto; padding: 10px 12px; }
  .warning-header { width: calc(100% - 110px); }
  .warning-title { font-size: 13px; }
  .warning-text { white-space: normal; text-overflow: clip; flex-basis: 100%; order: 3; font-size: 12px; overflow: visible; }
  .read-more-btn { margin-left: auto; padding: 6px 10px; font-size: 10px; }
  .terms-content { padding: 0 12px 14px; }
  .terms-inner { max-height: 260px; padding: 14px; font-size: 11px; }
  .wa-float { float: right; margin: 0 0 12px 12px; display: inline-flex; position: static; }
}

@media (max-width: 480px) {
  .hero-banner { min-height: 320px; padding: 65px 12px 30px; }
  .hero-animation { height: 160px; margin: 3px 0 -30px; }
  .animated-matka-logo { width: 180px; height: 180px; }
  .hero-title { font-size: 26px; }
  .latest-premium-ticker { height: 44px; margin: 8px 10px !important; }
  .latest-premium-label { letter-spacing: 0; padding: 0 10px; font-size: 11px; }
  .news-ticker-box { height: 38px; margin: 4px 10px 10px !important; }
  .news-ticker-label { letter-spacing: 0; padding: 0 14px; font-size: 12px; }
  .chat-launcher { width: 50px; height: 50px; font-size: 20px; bottom: 16px; right: 14px; }
  .v-table th, .v-table td { padding: 8px 6px; font-size: 12px; }
  .game-name-cell { font-size: 13px !important; }
}

/* ==========================================================================
   KHAIWAL BANNER CARD (ADMIN MANAGEABLE)
   ========================================================================== */
.khaiwal-banner-container {
  width: 100%;
  max-width: 620px;
  margin: 25px auto 35px;
  padding: 0 12px;
  box-sizing: border-box;
}

.khaiwal-banner-card {
  background: #FFE600;
  border: 3px dashed #d32f2f;
  border-radius: 16px;
  padding: 22px 18px;
  color: #111;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 30px rgba(255, 230, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.khaiwal-header-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.khaiwal-header-title {
  font-size: 22px;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.khaiwal-footer-branding {
  margin-top: 20px;
  margin-bottom: 10px;
}

.khaiwal-timings-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 500px;
  margin: 0 auto 12px;
  text-align: left;
  width: 100%;
}

.khaiwal-info-item {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #111;
  padding: 2px 0;
  line-height: 1.4;
  word-break: break-word;
}

.khaiwal-timing-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  width: 100%;
  padding: 1px 0;
}

.khaiwal-game-title {
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  flex-shrink: 0;
}

.khaiwal-time-val {
  font-weight: 800;
  color: #000;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}

.khaiwal-timing-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(0, 0, 0, 0.4);
  margin: 0 8px 4px 8px;
  min-width: 15px;
  height: 0;
}

.khaiwal-section-spacer {
  height: 14px;
}

.khaiwal-block-title {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin: 10px 0 4px;
}

.khaiwal-payment-modes {
  font-size: 13px;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.khaiwal-payment-phone {
  font-size: 20px;
  font-weight: 900;
  color: #000;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.khaiwal-payment-phone a {
  color: #0d47a1;
  text-decoration: underline;
}

.khaiwal-rate-row {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin: 3px 0;
}

.khaiwal-cta-prompt {
  font-size: 14px;
  font-weight: 800;
  color: #0d47a1;
  margin: 14px 0 12px;
}

.khaiwal-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.khaiwal-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #00e676;
  color: #000;
  font-size: 16px;
  font-weight: 900;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.khaiwal-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.6);
  background: #00c853;
  color: #000;
}

.khaiwal-tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  width: 100%;
  border: 1px solid rgba(0,0,0,0.15);
  transition: background 0.2s ease;
}

.khaiwal-tg-btn:hover {
  background: #ffffff;
}

@media (max-width: 600px) {
  .khaiwal-header-subtitle { font-size: 13px; }
  .khaiwal-header-title { font-size: 18px; }
  .khaiwal-timing-item { font-size: 13px; }
  .khaiwal-payment-phone { font-size: 17px; }
  .khaiwal-wa-btn { font-size: 13px; padding: 10px 14px; }
  .khaiwal-tg-btn { font-size: 11px; padding: 8px 12px; }
}

/* ==========================================================================
   COMPLAINT / PAYMENT GUARANTEE BANNER CARD
   ========================================================================== */
.complaint-banner-container {
  width: 100%;
  max-width: 620px;
  margin: 0 auto 35px;
  padding: 0 12px;
  box-sizing: border-box;
}

.complaint-banner-card {
  background: #FFE600;
  border: 3px dashed #d32f2f;
  border-radius: 16px;
  padding: 22px 20px;
  color: #000;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 30px rgba(255, 230, 0, 0.3);
}

.complaint-banner-text {
  font-size: 16px;
  font-weight: 800;
  color: #000;
  line-height: 1.5;
  margin-bottom: 16px;
}

.complaint-wa-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.complaint-wa-btn {
  max-width: 320px;
}

@media (max-width: 600px) {
  .complaint-banner-text { font-size: 14px; line-height: 1.4; }
  .complaint-wa-btn { max-width: 100%; font-size: 13px; padding: 10px 16px; }
}


