/* =============================================
   MATKA KING - ULTRA LUXURY MODERN THEME
   Inspired by Mobile Gaming & Fintech Apps
   Clean Light Luxury Ivory & Royal Amber Gold
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800;900&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  /* Brand Accents */
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #f97316;
  --brand-orange: #ff793f;
  --brand-gold: #f59e0b;
  --brand-amber: #d97706;

  /* App Backgrounds (Soft Luxury Cream / Light) */
  --bg: #faf8f5;
  --bg-subtle: #f4f1ea;
  --bg-card: #ffffff;
  --bg-card-alt: #fffdf9;
  --bg-glass: rgba(255, 255, 255, 0.92);

  /* Text Colors */
  --text-main: #1e293b;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-orange: #ea580c;

  /* Status Colors */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;

  /* Borders & Dividers */
  --border: #f1f5f9;
  --border-card: #eef2f6;
  --border-subtle: #e2e8f0;
  --border-focus: #ff9f43;

  /* Gradients */
  --grad-starline: linear-gradient(135deg, #a8e6cf 0%, #81c784 100%);
  --grad-desawar: linear-gradient(135deg, #a1c4fd 0%, #64b5f6 100%);
  --grad-deposit: linear-gradient(135deg, #ffd180 0%, #ffa726 100%);
  --grad-withdraw: linear-gradient(135deg, #81d4fa 0%, #4fc3f7 100%);
  --grad-btn-cta: linear-gradient(135deg, #ff9f43 0%, #ee5253 100%);
  --grad-btn-add: linear-gradient(135deg, #ff9f43 0%, #ff793f 100%);
  --grad-green-btn: linear-gradient(135deg, #10b981 0%, #059669 100%);

  /* Layout */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 50px;
  --header-h: 64px;
  --footer-h: 68px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background-color: var(--bg);
  background-image: radial-gradient(at 0% 0%, #fff7ed 0px, transparent 50%),
    radial-gradient(at 100% 100%, #eff6ff 0px, transparent 50%);
  background-attachment: fixed;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text-main);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  min-height: 100vh;
}

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

img {
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* =============================================
   LAYOUT CONTAINER
   ============================================= */
.app-wrapper,
.logincard,
.home-page-container {
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  background: var(--bg);
}

/* =============================================
   ULTRA CLEAN MODERN HEADER (Matches Screenshot 3)
   ============================================= */
.kl-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.kl-header .hd-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kl-header .hd-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.kl-header .hd-menu-btn:active {
  transform: scale(0.92);
  background: #f8fafc;
}

.kl-header .hd-brand-wrap {
  display: flex;
  flex-direction: column;
}

.kl-header .hd-brand-title {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.1;
  text-decoration: none;
}

.kl-header .brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 900;
  color: #1e293b;
  letter-spacing: -0.3px;
}

.kl-header .brand-subtitle {
  font-size: 10px;
  font-weight: 700;
  color: #ea580c;
  letter-spacing: 0.3px;
}

.kl-header .hd-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Wallet Balance Pill */
.kl-header .hd-wallet-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fde8cf;
  border: 1.5px solid #fed7aa;
  border-radius: 50px;
  padding: 5px 12px;
  text-decoration: none;
  transition: all var(--transition);
}

.kl-header .hd-wallet-pill:active {
  transform: scale(0.95);
}

.kl-header .hd-wallet-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #ea580c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
}

.kl-header .hd-wallet-amount {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  font-family: 'Outfit', sans-serif;
}

/* Notification Pill Button */
.kl-header .hd-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  transition: all var(--transition);
}

.kl-header .hd-icon-btn:active {
  transform: scale(0.92);
  background: #f8fafc;
}

.kl-header .hd-badge-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  border: 1.5px solid #ffffff;
}

/* =============================================
   ANNOUNCEMENT TICKER (Vibrant Gold Luxury - Matches Screenshot 3)
   ============================================= */
.mk-ticker {
  background: linear-gradient(90deg, #fff7ed 0%, #ffedd5 50%, #fff7ed 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 14px;
  padding: 8px 12px;
  margin: 10px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.1);
}

.mk-ticker-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

.mk-ticker-text {
  flex: 1;
  overflow: hidden;
  color: #9a3412;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mk-ticker-arrow {
  color: #ea580c;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

/* =============================================
   4 QUICK ACTION CARDS (Screenshot 3 Vibrant Gradients & Crisp Contrast)
   ============================================= */
.mk-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 14px 14px;
}

.mk-quick-card {
  height: 48px;
  border-radius: 14px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.mk-quick-card:active {
  transform: scale(0.96);
}

/* 1. Starline: Vivid Rich Emerald Green */
.mk-quick-card.starline {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.38);
}

/* 2. Desawar: Electric Royal Sapphire Blue */
.mk-quick-card.desawar {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38);
}

/* 3. Add Fund: Rich Sunset Amber Fire */
.mk-quick-card.deposit {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

/* 4. Withdrawal: Deep Radiant Ocean Cyan */
.mk-quick-card.withdraw {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.38);
}

.mk-quick-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mk-quick-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.mk-quick-text {
  display: flex;
  flex-direction: column;
}

.mk-quick-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1;
}

.mk-quick-arrow {
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  opacity: 0.95;
  flex-shrink: 0;
}

/* =============================================
   2-COLUMN LIVE MARKET CARDS (Screenshot 3 Matka King Style)
   ============================================= */
.mk-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.mk-section-title .live-pill {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #16a34a;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mk-section-title .live-pill .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 6px #16a34a;
  animation: pulse 1.8s infinite;
}

.mk-market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 14px 28px;
}

.mk-market-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #f1e9dc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 12px 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 188px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mk-market-card:hover {
  transform: translateY(-2px);
  border-color: #fed7aa;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.12);
}

/* Dynamic Colorful Top-Right Corner Wave / Splash (Matches Screenshot 3) */
.mk-market-card::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 75px;
  height: 75px;
  border-radius: 0 0 0 50px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.3s ease;
}

.mk-market-card::after {
  content: '';
  position: absolute;
  top: 48px;
  right: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

/* 6 Rotating Accents Matching Reference Screenshot */
.mk-market-card.accent-orange::before {
  background: radial-gradient(circle at 100% 0%, #ffedd5 0%, #fed7aa 60%, transparent 100%);
}

.mk-market-card.accent-orange::after {
  background: #ea580c;
}

.mk-market-card.accent-blue::before {
  background: radial-gradient(circle at 100% 0%, #dbeafe 0%, #bfdbfe 60%, transparent 100%);
}

.mk-market-card.accent-blue::after {
  background: #3b82f6;
}

.mk-market-card.accent-green::before {
  background: radial-gradient(circle at 100% 0%, #dcfce7 0%, #bbf7d0 60%, transparent 100%);
}

.mk-market-card.accent-green::after {
  background: #10b981;
}

.mk-market-card.accent-purple::before {
  background: radial-gradient(circle at 100% 0%, #f3e8ff 0%, #e9d5ff 60%, transparent 100%);
}

.mk-market-card.accent-purple::after {
  background: #a855f7;
}

.mk-market-card.accent-teal::before {
  background: radial-gradient(circle at 100% 0%, #ccfbf1 0%, #99f6e4 60%, transparent 100%);
}

.mk-market-card.accent-teal::after {
  background: #14b8a6;
}

.mk-market-card.accent-pink::before {
  background: radial-gradient(circle at 100% 0%, #ffe4e6 0%, #fecdd3 60%, transparent 100%);
}

.mk-market-card.accent-pink::after {
  background: #f43f5e;
}

/* Top Strip: Time Pill + Chart Button */
.mk-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.mk-card-time {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 9.5px;
  font-weight: 800;
  border-radius: 50px;
  padding: 3.5px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mk-card-chart-btn {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 2;
}

.mk-card-chart-btn:active {
  transform: scale(0.9);
}

.mk-card-chart-btn.orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.35);
}

.mk-card-chart-btn.blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
}

.mk-card-chart-btn.green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
}

.mk-card-chart-btn.purple {
  background: linear-gradient(135deg, #a855f7, #7e22ce);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(168, 85, 247, 0.35);
}

.mk-card-chart-btn.teal {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(20, 184, 166, 0.35);
}

.mk-card-chart-btn.pink {
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(244, 63, 94, 0.35);
}

/* Card Body */
.mk-card-name {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  line-height: 1.25;
  margin-top: 8px;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
}

/* Result in Bold Radiant Orange (Matches Screenshot 3) */
.mk-card-result {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 900;
  color: #ea580c;
  letter-spacing: 0.8px;
  line-height: 1.2;
  margin: 6px 0 4px;
  position: relative;
  z-index: 1;
}

/* Status Dot & Label */
.mk-card-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.mk-card-status .status-dot {
  font-size: 10px;
  line-height: 1;
}

.mk-card-status.open {
  color: #16a34a;
}

.mk-card-status.open .status-dot {
  color: #22c55e;
}

.mk-card-status.closed {
  color: #dc2626;
}

.mk-card-status.closed .status-dot {
  color: #ef4444;
}

.mk-card-status.holiday {
  color: #f59e0b;
}

/* Bottom Action Button */
.mk-card-btn {
  width: 100%;
  height: 36px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.mk-card-btn.open-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.mk-card-btn.open-btn:active {
  transform: scale(0.96);
}

.mk-card-btn.closed-btn {
  background: #eef2f6;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.mk-card-btn.closed-btn:active {
  background: #e2e8f0;
}

/* =============================================
   ULTRA-RESPONSIVE BIDDING SYSTEM STYLES
   Solves user issue: "bid pages responsive nahi h"
   ============================================= */

/* Game Title Strip in Bidding */
.bid-header-strip {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 14px 16px;
  margin: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bid-header-title {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bid-live-badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #16a34a;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

/* Bidding Form Card */
.formspana {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 16px;
  margin: 0 14px 16px;
}

/* Input Fields (Clean, Responsive, High Contrast) */
.username_input,
select.username_input,
input.username_input {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  color: #1e293b !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  height: 48px !important;
  width: 100% !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.2s ease !important;
}

.username_input:focus,
select.username_input:focus,
input.username_input:focus {
  border-color: #ff9f43 !important;
  box-shadow: 0 0 0 3px rgba(255, 159, 67, 0.2) !important;
  outline: none !important;
}

.username_input::placeholder {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

/* Select2 Plugin Dark to Light Override */
.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  background-color: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #1e293b !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding-left: 14px !important;
  line-height: 46px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  right: 10px !important;
}

.select2-dropdown {
  background-color: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
}

.select2-results__option {
  color: #1e293b !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
}

.select2-results__option--highlighted[aria-selected] {
  background-color: #fff7ed !important;
  color: #ea580c !important;
  font-weight: 700 !important;
}

/* "ADD BID" Action Button */
.button_mainbu {
  width: 100% !important;
  margin-top: 10px !important;
}

.button_mainbu button,
button.fit_content {
  background: var(--grad-btn-add) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  border-radius: 12px !important;
  border: none !important;
  height: 48px !important;
  width: 100% !important;
  box-shadow: 0 4px 15px rgba(255, 121, 63, 0.35) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.button_mainbu button:active,
button.fit_content:active {
  transform: scale(0.98) !important;
}

/* Responsive Table Section */
.tablefors {
  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1px solid #edf2f7 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  overflow-x: auto !important;
  padding: 12px !important;
  margin: 16px 14px 20px !important;
}

.custom-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 6px !important;
}

.custom-table thead th {
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 10px 12px !important;
  border: none !important;
  text-align: center !important;
}

.custom-table tbody tr {
  background: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 10px !important;
}

.custom-table tbody td {
  padding: 10px 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  text-align: center !important;
  border: none !important;
}

.custom-table tbody td.text-success {
  color: #ea580c !important;
  font-weight: 800 !important;
}

/* Sticky Bottom Action Bar for Bidding */
.footer_commen {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 480px !important;
  background: #ffffff !important;
  border-top: 1px solid #f1f5f9 !important;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08) !important;
  padding: 12px 16px !important;
  z-index: 1050 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.footer_commen .number h6 {
  color: #64748b !important;
  font-size: 10px !important;
  margin-bottom: 2px !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
}

.footer_commen .number p {
  color: #ea580c !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  margin: 0 !important;
  font-family: 'Outfit', sans-serif !important;
}

.footer_commen .submitbuttonfooter button {
  background: var(--grad-btn-cta) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  border-radius: 50px !important;
  padding: 12px 28px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(238, 82, 83, 0.4) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.2s ease !important;
}

.footer_commen .submitbuttonfooter button:active {
  transform: scale(0.96) !important;
}

/* =============================================
   BOTTOM DOCKED NAVIGATION (Matches Screenshot 3)
   ============================================= */
.kl-footer {
  position: fixed;
  bottom: 0;
  border-radius: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--footer-h);
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.kl-footer .footer-nav {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-around;
}

.kl-footer .fn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #64748b;
  transition: all var(--transition);
  padding: 4px 0;
  font-size: 10.5px;
  font-weight: 700;
}

.kl-footer .fn-item.active {
  color: #ea580c;
}

/* Elevated Center Home Button (Matches Screenshot 3) */
.kl-footer .fn-item#nav-home {
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.kl-footer .home-center-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.45), 0 0 0 4px #ffffff;
  transform: translateY(-16px);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.kl-footer .home-center-btn:active {
  transform: translateY(-16px) scale(0.92);
}

/* =============================================
   SIDEBAR DRAWER (Light Luxury Clean Style)
   ============================================= */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.kl-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 310px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.kl-sidebar.active {
  transform: translateX(0);
}

.sb-header {
  background: linear-gradient(135deg, #ff9f43 0%, #ff793f 100%);
  padding: 24px 18px 18px;
  position: relative;
  color: #ffffff;
}

.sb-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.sb-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.sb-phone {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.sb-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
}

.sb-balance-box {
  margin-top: 14px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sb-menu {
  padding: 12px 10px 30px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sb-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sb-item a:hover,
.sb-item a:active {
  background: #f8fafc;
  color: #ea580c;
}

.sb-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #4e5e6d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sb-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 6px 0;
}

/* =============================================
   MODAL STYLES (Closed Modal)
   ============================================= */
.mk-modal .modal-content {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #edf2f7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
  padding: 10px;
}

.mk-modal .modal-header {
  border-bottom: 1px solid #f1f5f9;
  padding: 14px 16px;
}

.mk-modal .modal-title {
  color: #1e293b;
  font-size: 16px;
  font-weight: 800;
}

.mk-modal .modal-body {
  padding: 20px 16px;
}

.mk-modal .modal-footer {
  border-top: 1px solid #f1f5f9;
  justify-content: center;
}

/* =============================================
   GAME LIST & GENERAL COMPONENT STYLES
   ============================================= */
.mk-game-type-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.mk-game-type-card:hover,
.mk-game-type-card:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #fed7aa;
}

.mk-game-type-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.mk-game-divider {
  width: 28px;
  height: 2.5px;
  background: #fed7aa;
  border-radius: 2px;
  margin-bottom: 10px;
}

.mk-game-type-name {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Rate Cards & General Lists */
.mk-rate-card,
.mk-card-box {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin-bottom: 10px;
}