/* =========================================================
   KALYAN777 - MODERN ELECTRIC GAMING PALETTE
   Ultra-Modern, Vibrant, High-Impact Color Architecture
   ========================================================= */

:root {
  /* Radiant Core & Brand Tokens */
  --primary-navy: #0d1224;
  --primary-indigo: #4338ca;
  --primary-electric: #6366f1;
  --primary-sky: #0284c7;
  --primary-cyan: #06b6d4;
  --primary-subtle: #eff6ff;

  /* Bright High-Energy Action Accents */
  --accent-gold: #f59e0b;
  --accent-gold-bright: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.45);
  --accent-emerald: #10b981;
  --accent-emerald-bright: #34d399;
  --accent-emerald-glow: rgba(16, 185, 129, 0.4);
  --accent-rose: #f43f5e;
  --accent-rose-glow: rgba(244, 63, 94, 0.4);
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.4);
  --primary-green: #10b981;
  --primary-dark: #0f172a;
  --accent-red: #ef4444;

  /* Surface & Base Canvas */
  --bg-color: #f1f5f9;
  --card-bg: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-highlight: rgba(99, 102, 241, 0.18);

  /* Typography & Shadows */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.25);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

.dark-mode {
  --primary-navy: #090d16;
  --bg-color: #090e1a;
  --card-bg: #12192b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #1e293b;
  --border-highlight: rgba(99, 102, 241, 0.35);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: #060a12;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

/* Mobile Frame for Desktop Preview & 100% full screen on Mobile/Capacitor */
.mobile-viewport-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-device {
  width: 100%;
  max-width: 440px;
  height: 100%;
  max-height: 940px;
  background-color: var(--bg-color);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

@media (min-width: 480px) {
  .mobile-device {
    border-radius: 44px;
    height: 92vh;
    border: 8px solid #172138;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.25), 0 30px 70px rgba(0, 0, 0, 0.8);
  }
}

/* Status Bar - Disabled (Native Mobile OS handles status bar) */
.status-bar {
  display: none !important;
}

/* Header - Minimalist Luxury Glassmorphic Architecture */
.app-header {
  background: rgba(9, 14, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 25;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-nav-toggle {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.header-nav-toggle:active {
  transform: scale(0.94);
}

.brand-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.header-brand-logo {
  height: 38px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-brand-logo:hover {
  filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.4));
}

.header-brand-logo:active {
  transform: scale(0.96);
}

.brand-crown-icon {
  font-size: 18px;
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.7));
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.brand-num-accent {
  color: #fbbf24;
  font-weight: 900;
  margin-left: 1px;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* Minimalist Luxury Wallet Pill */
.balance-pill {
  background: rgba(245, 158, 11, 0.12);
  border: 1.2px solid rgba(245, 158, 11, 0.4);
  color: #ffffff;
  padding: 6px 13px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.balance-pill:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.6);
  transform: translateY(-1px);
}

.balance-pill:active {
  transform: scale(0.96);
}

.balance-coin-icon {
  color: #fbbf24;
  font-size: 14px;
}

.balance-text {
  color: #fbbf24;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* Minimalist Bell Button */
.bell-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.bell-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.bell-btn:active {
  transform: scale(0.94);
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  background-color: #f43f5e;
  border-radius: 50%;
  border: 1.5px solid #090e1a;
  box-shadow: 0 0 6px rgba(244, 63, 94, 0.85);
}

/* Floating Social Proof Toast - Repositioned to Bottom Above Nav */
.social-proof-toast {
  position: absolute;
  bottom: 84px;
  left: 16px;
  right: 16px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  padding: 10px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.25);
  z-index: 35;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.social-proof-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.sp-icon {
  font-size: 22px;
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.sp-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.sp-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
}

.sp-amount {
  font-size: 15px;
  font-weight: 800;
  color: #fef08a;
  font-family: var(--font-heading);
}
/* Main Content Views */
.app-main-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: calc(75px + var(--safe-bottom));
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.app-view {
  display: none;
  flex-direction: column;
  padding: 16px;
  animation: fadeIn 0.25s ease-out forwards;
}

.app-view.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Running Marquee - Luminous Amber Announcement */
.marquee-wrapper {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.18) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 4px solid #f59e0b;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.08);
}

.marquee-icon {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.45);
}

.marquee-content {
  flex: 1;
  min-width: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  color: #d97706;
  display: flex;
  align-items: center;
}

.marquee-content marquee,
.marquee-content #marquee-text {
  width: 100%;
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #d97706;
  line-height: 1.4;
}

.dark-mode .marquee-content,
.dark-mode .marquee-content marquee,
.dark-mode .marquee-content #marquee-text {
  color: #fbbf24;
}

.marquee-content span {
  display: inline-block;
  padding-left: 100%;
  animation: scrollMarquee 20s linear infinite;
}

@keyframes scrollMarquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

/* Quick Actions 4-Pill Grid - Theme Aligned */
.quick-actions-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.pill-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.pill-action-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

.pill-action-btn:active {
  transform: scale(0.97);
}

.pill-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
  flex-shrink: 0;
}

.pill-action-btn.btn-add-money .pill-action-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

.pill-action-btn.btn-withdraw .pill-action-icon {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  box-shadow: 0 3px 8px rgba(244, 63, 94, 0.35);
}

.pill-action-btn.btn-galidesawar .pill-action-icon {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.35);
}

.pill-action-btn.btn-support .pill-action-icon {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 3px 8px rgba(14, 165, 233, 0.35);
}

.pill-action-btn.btn-starline .pill-action-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35);
}

.pill-action-btn.btn-whatsapp .pill-action-icon {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 3px 8px rgba(34, 197, 94, 0.35);
}

/* Full Width Desawar Button */
.pill-action-btn.full-width-desawar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
  border: 1.5px solid #818cf8;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.3);
}

.pill-action-btn.full-width-desawar .pill-left-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-action-btn.full-width-desawar .pill-action-text {
  color: #ffffff;
  font-size: 13.5px;
}

.pill-action-btn.full-width-desawar .pill-right-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desawar-live-badge {
  background: #10b981;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.desawar-arrow {
  color: #cbd5e1;
  font-size: 11px;
}

.pill-action-text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  white-space: nowrap;
}

body.dark-mode .pill-action-btn {
  background: #12192b;
  border-color: #1e293b;
}

body.dark-mode .pill-action-btn:hover {
  border-color: rgba(99, 102, 241, 0.6);
  background: #172138;
}

body.dark-mode .pill-action-text {
  color: #f8fafc;
}

/* Quick Action Cards Grid - High Energy Vibrant Cards */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.action-card-pill {
  border: none;
  background: var(--card-bg);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-main);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-color);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.action-card-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.action-card-pill:active {
  transform: scale(0.97);
}

.action-card-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.btn-add-money::before { background: #10b981; }
.btn-withdraw::before { background: #f43f5e; }
.btn-galidesawar::before { background: #6366f1; }
.btn-whatsapp::before { background: #22c55e; }
.btn-call::before { background: #6366f1; }

.action-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-add-money .action-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.btn-withdraw .action-icon {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: white;
}

.btn-galidesawar .action-icon {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: white;
}

.btn-whatsapp .action-icon {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
}

.btn-call .action-icon {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
}

.action-pill-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.pill-main {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

.pill-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Section Header */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-forest {
  color: var(--primary-green);
}

.refresh-markets-btn {
  background: none;
  border: none;
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Market Cards (Exact Match to Screenshots) */
.markets-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.market-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-color);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.market-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  border-color: rgba(99, 102, 241, 0.35);
}

.market-card:active {
  transform: scale(0.985);
}

/* Subtle Colored Top Accent Bar */
.market-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
}

.market-card.open::before {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.market-card.running::before {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.market-card.closed::before {
  background: linear-gradient(90deg, #f43f5e 0%, #94a3b8 100%);
}

/* Market Card Top Bar */
.market-card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.market-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.market-badge-emoji {
  font-size: 24px;
  width: 38px;
  height: 38px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.market-title-texts {
  display: flex;
  flex-direction: column;
}

.market-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text-primary);
}

.market-schedule {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Status Badge Chip with Pulsing Radar Dot */
.market-status-badge-chip {
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.market-status-badge-chip.open {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.market-status-badge-chip.running {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.market-status-badge-chip.closed {
  background: #fdf2f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

.dark-mode .market-status-badge-chip.open {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.dark-mode .market-status-badge-chip.running {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.dark-mode .market-status-badge-chip.closed {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border-color: rgba(244, 63, 94, 0.35);
}

.status-radar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.market-status-badge-chip.open .status-radar-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: radarPulse 1.8s infinite;
}

.market-status-badge-chip.running .status-radar-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: radarPulse 1.4s infinite;
}

.market-status-badge-chip.closed .status-radar-dot {
  background: #e11d48;
}

@keyframes radarPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Stunning Scoreboard Pod */
.market-result-display-pod {
  background: #0f172a;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #1e293b;
  margin: 10px 0;
}

.dark-mode .market-result-display-pod {
  background: #090e1a;
  border-color: rgba(255, 255, 255, 0.1);
}

.result-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.result-cell-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94a3b8;
}

.result-cell-num {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #38bdf8;
}

.result-cell-num.jodi-highlight {
  font-size: 21px;
  font-weight: 900;
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 1px 10px;
  border-radius: 8px;
}

.result-sep-line {
  color: #475569;
  font-size: 11px;
}

.market-timing-countdown {
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.market-timing-countdown.running {
  color: #d97706;
}

.market-timing-countdown.open {
  color: #059669;
}

.market-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.btn-market-play {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 11px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: all 0.18s ease;
}

.btn-market-play:hover {
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.btn-market-play.running {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-market-play.closed {
  background: #64748b;
  color: #e2e8f0;
  box-shadow: none;
  opacity: 0.85;
}

.btn-market-chart {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  border: none;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transition: all 0.18s ease;
}

/* Market Live Search & Category Chips */
.market-search-filter-box {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.market-search-bar {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 44px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.market-search-bar:focus-within {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
}

.market-search-bar i {
  color: #f59e0b;
  font-size: 15px;
  margin-right: 10px;
}

.market-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  font-family: var(--font-main);
  color: var(--text-primary);
  outline: none;
}

.clear-search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.market-category-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.market-category-chips::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.cat-chip:hover {
  border-color: #1e3a8a;
  color: #1e3a8a;
}

.cat-chip.active {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fbbf24;
  border-color: #f59e0b;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.35);
}

/* Quick Digit Keypad & Points Chips */
.quick-digit-keypad-box,
.quick-points-chips-box {
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.keypad-sub-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.digit-keypad-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.digit-tap-btn {
  height: 38px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
}

.digit-tap-btn:active {
  background: var(--primary-green);
  color: white;
  transform: scale(0.92);
}

.points-chips-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.points-chips-row::-webkit-scrollbar {
  display: none;
}

.pt-chip {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.12s ease;
  flex-shrink: 0;
}

.pt-chip:active {
  background: var(--primary-green);
  color: white;
  transform: scale(0.94);
}

/* Luxury Holographic VIP ATM Card */
.vip-atm-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #0a0f1d 100%);
  border-radius: 24px;
  padding: 22px 24px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(10, 15, 29, 0.5), inset 0 1px 1px rgba(255, 215, 0, 0.35);
  margin-bottom: 16px;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
}

.vip-atm-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}

.card-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.emv-chip {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  border-radius: 6px;
  border: 1px solid #b8860b;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.vip-card-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: #ffdd00;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-balance-block {
  margin-bottom: 20px;
}

.card-bal-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 4px;
}

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

.card-balance-flex h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn-bal-eye {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.15s ease;
}

.btn-bal-eye:hover {
  background: rgba(255, 255, 255, 0.25);
}

.card-bottom-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
}

.card-sub-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

.card-user-val {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.card-acc-val {
  font-family: monospace;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
}

/* Sub-Header Bar (Internal Pages) */
.sub-header-bar {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  color: white;
  margin: -16px -16px 16px -16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.2);
}

.sub-back-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
}

.sub-header-title {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sub-header-title h2 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.sub-label {
  font-size: 12px;
  opacity: 0.85;
}

.sub-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-icon-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  cursor: pointer;
}

.session-badge-pill {
  background: #10b981;
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Game Types Grid - Bright Vibrant Casino Layout */
.game-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 24px;
}

.game-type-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 20px 10px 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  position: relative;
  cursor: pointer;
  min-height: 140px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.game-type-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.game-type-card:active {
  transform: scale(0.96);
}

.game-type-card.theme-blue { border-bottom: 4px solid #3b82f6; }
.game-type-card.theme-gold { border-bottom: 4px solid #f59e0b; }
.game-type-card.theme-amber { border-bottom: 4px solid #d97706; }
.game-type-card.theme-emerald { border-bottom: 4px solid #10b981; }
.game-type-card.theme-purple { border-bottom: 4px solid #8b5cf6; }
.game-type-card.theme-violet { border-bottom: 4px solid #7c3aed; }
.game-type-card.theme-rose { border-bottom: 4px solid #f43f5e; }
.game-type-card.theme-teal { border-bottom: 4px solid #14b8a6; }
.game-type-card.theme-cyan { border-bottom: 4px solid #06b6d4; }
.game-type-card.theme-pink { border-bottom: 4px solid #ec4899; }
.game-type-card.theme-indigo { border-bottom: 4px solid #6366f1; }

.game-rate-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #b45309;
}

.dark-mode .game-rate-badge {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.22);
}

.game-type-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.theme-blue .game-type-icon-box { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.theme-gold .game-type-icon-box { background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%); }
.theme-amber .game-type-icon-box { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.theme-emerald .game-type-icon-box { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.theme-purple .game-type-icon-box { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.theme-violet .game-type-icon-box { background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%); }
.theme-rose .game-type-icon-box { background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%); }
.theme-teal .game-type-icon-box { background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%); }
.theme-cyan .game-type-icon-box { background: linear-gradient(135deg, #06b6d4 0%, #0369a1 100%); }
.theme-pink .game-type-icon-box { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }
.theme-indigo .game-type-icon-box { background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%); }

.game-type-name-pill {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2px;
}

.game-payout-subtitle {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.game-type-card.is-closed {
  filter: grayscale(0.9);
  opacity: 0.6;
}

.closed-badge-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #f43f5e;
  color: white;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.5);
  z-index: 5;
}

/* Betting View Form */
.betting-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.modern-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--card-bg);
  outline: none;
  transition: border-color 0.15s ease;
}

.modern-input:focus {
  border-color: var(--primary-green);
}

.session-dropdown {
  background: #10b981;
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.bid-count-indicator {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

.btn-add-more-bids {
  background: #e5e7eb;
  border: none;
  padding: 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-add-more-bids:active {
  background: #d1d5db;
}

/* Queued Bids Table */
.queued-bids-table-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-header {
  background: #f9fafb;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.6fr;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.table-body {
  max-height: 220px;
  overflow-y: auto;
}

.queued-bid-row {
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.6fr;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid #f3f4f6;
}

.queued-bid-row:last-child {
  border-bottom: none;
}

.btn-remove-bid {
  background: none;
  border: none;
  color: var(--accent-red);
  cursor: pointer;
  font-size: 14px;
}

.empty-table-state {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Bottom Sticky Submit Bar */
.bet-sticky-bottom-bar {
  position: fixed;
  bottom: calc(65px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  background: var(--card-bg);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

.bet-summary-counts {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--text-secondary);
}

.bet-summary-counts strong {
  color: var(--text-primary);
  font-size: 15px;
}

.btn-submit-bids {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.3);
  transition: opacity 0.15s ease;
}

.btn-submit-bids:disabled {
  background: #d1d5db;
  box-shadow: none;
  cursor: not-allowed;
}

/* Wallet View */
.wallet-main-card {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(45, 106, 79, 0.25);
  margin-bottom: 16px;
}

.wallet-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-caption {
  font-size: 13px;
  opacity: 0.85;
}

.wallet-balance-num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  margin-top: 4px;
}

.wallet-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.wallet-card-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.btn-wallet-add, .btn-wallet-withdraw {
  border: none;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn-wallet-add:hover {
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

.btn-wallet-add:active {
  transform: scale(0.97);
}

.btn-wallet-withdraw {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}

.btn-wallet-withdraw:hover {
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.45);
}

.btn-wallet-withdraw:active {
  transform: scale(0.97);
}

.wallet-pills-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.summary-pill {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.pill-icon.green-icon {
  background: #ecfdf5;
  color: #10b981;
}

.pill-icon.red-icon {
  background: #fdf2f2;
  color: var(--accent-red);
}

.pill-details {
  display: flex;
  flex-direction: column;
}

.pill-details strong {
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-heading);
}

.pill-details span {
  font-size: 12px;
  color: var(--text-secondary);
}

.recent-tx-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.recent-tx-header h3 {
  font-size: 16px;
  font-weight: 800;
}

.view-all-link {
  background: none;
  border: none;
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-tabs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tab-chip {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
}

.tab-chip.active {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

/* Transaction Item Card */
.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transaction-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.tx-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tx-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.tx-icon-circle.credit {
  background: #ecfdf5;
  color: #10b981;
}

.tx-icon-circle.debit {
  background: #fdf2f2;
  color: var(--accent-red);
}

.tx-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tx-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.tx-date {
  font-size: 12px;
  color: var(--text-muted);
}

.tx-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.tx-amount {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
}

.tx-amount.credit {
  color: #10b981;
}

.tx-amount.debit {
  color: var(--accent-red);
}

.tx-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #ecfdf5;
  color: #059669;
}

.tx-status-badge.pending {
  background: #fffbeb;
  color: #d97706;
}

.tx-status-badge.rejected {
  background: #fef2f2;
  color: #dc2626;
}

/* Add Money Page */
.social-hero-banner {
  background: #3b82f6;
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 16px;
}

.amount-entry-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.min-limit {
  color: var(--text-muted);
}

.amount-input-box {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--primary-green);
  padding: 6px 0;
}

.currency-symbol {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-green);
  margin-right: 8px;
}

.amount-input-box input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-primary);
  outline: none;
}

.section-sub-label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.quick-amounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.btn-amount-chip {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.btn-amount-chip.active {
  border-color: var(--primary-green);
  background: #f0fdf4;
  color: var(--primary-green);
}

.upi-deposit-instruction-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}

.upi-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.upi-header-row i {
  font-size: 28px;
  color: var(--primary-green);
}

.upi-id-copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.upi-id-copy-row span {
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.copy-small-btn {
  background: #e2e8f0;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.utr-label-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.utr-label-flex label, .utr-input-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.btn-quick-sample-utr {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  transition: all 0.15s ease;
}

.btn-quick-sample-utr:active {
  transform: scale(0.95);
}

.utr-input-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.btn-proceed-payment {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 15px;
  border-radius: var(--radius-md);
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  margin-bottom: 20px;
  transition: all 0.18s ease;
}

.btn-proceed-payment:hover {
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}

.btn-proceed-payment:active {
  transform: scale(0.98);
}

.supported-upi-footer {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.upi-apps-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 12px;
}

.upi-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.upi-app-item i {
  font-size: 26px;
}

.all-upi-verified {
  font-size: 12px;
  color: #10b981;
  font-weight: 700;
}

/* =========================================================
   CUSTOM WALLET VIEWS (Add Points & Withdrawal - Kalyan777 Royal Theme)
   ========================================================= */

.custom-wallet-header {
  background: linear-gradient(135deg, #0d1224 0%, #1e1b4b 55%, #1e3a8a 100%);
  color: #ffffff;
  padding: 16px 16px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 10;
}

.wallet-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-btn-white {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  padding: 0;
  transition: all 0.2s ease;
}

.back-btn-white:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

.wallet-header-titles h2 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

.text-gold {
  color: #fbbf24 !important;
}

.wallet-header-sub {
  color: #94a3b8;
  font-size: 11px;
  margin-top: 2px;
  display: block;
  font-weight: 500;
}

.wallet-balance-badge-pill {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: 14px;
  padding: 6px 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  text-align: right;
}

.bal-pill-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
}

.bal-pill-sub {
  font-size: 9.5px;
  color: #cbd5e1;
  font-weight: 600;
  display: block;
  margin-top: 1px;
}

.custom-wallet-content {
  padding: 14px;
  background: var(--bg-color);
  flex: 1;
  overflow-y: auto;
  position: relative;
}

/* Manual Payment Mode Banner (100% Safe QR & UPI) */
.manual-deposit-badge-banner {
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid rgba(16, 185, 129, 0.28);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 11.5px;
  color: #065f46;
  line-height: 1.45;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
}

.manual-deposit-badge-banner strong {
  color: #047857;
  font-weight: 800;
}

/* Mode Switch: Legacy support */
.add-points-mode-switch {
  display: flex;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 4px;
  gap: 6px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
}

.upi-badge-mini {
  background: #fbbf24;
  color: #0f172a;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Main Card */
.custom-wallet-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 20px 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

.custom-input-label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: block;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.custom-input-wrap {
  position: relative;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.input-currency-prefix {
  position: absolute;
  left: 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  pointer-events: none;
  z-index: 2;
}

.custom-number-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-color);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}

.custom-number-input.has-prefix {
  padding-left: 32px;
}

.custom-number-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* 6 Black / Navy Quick Amount Buttons */
.custom-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.btn-black-amt {
  background: #0f172a;
  color: #f8fafc;
  border: 1.5px solid #1e293b;
  border-radius: 12px;
  padding: 12px 4px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s, border-color 0.2s, background 0.2s;
  font-family: var(--font-heading);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-black-amt:active {
  transform: scale(0.96);
}

.btn-black-amt.active {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #1e1b4b 0%, #1e3a8a 100%);
  color: #fbbf24;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.25);
}

/* Proceed / Submit Button (Deposit - Emerald Green) */
.btn-deposit-submit {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 14px 20px;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: transform 0.15s, box-shadow 0.2s;
  margin-top: 6px;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-deposit-submit:active {
  transform: scale(0.98);
}

.btn-deposit-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Submit Button (Withdrawal - Rose Crimson) */
.btn-withdraw-submit {
  width: 100%;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 14px 20px;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.35);
  transition: transform 0.15s, box-shadow 0.2s;
  margin-top: 10px;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-withdraw-submit:active {
  transform: scale(0.98);
}

.btn-withdraw-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.custom-deposit-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 14px 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 12px;
}

.finger-point-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.custom-deposit-notice p {
  margin: 0;
}

.btn-green-wa-support {
  width: 100%;
  background: #00b84c;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 184, 76, 0.3);
  transition: transform 0.15s;
  font-family: var(--font-heading);
}

.btn-green-wa-support:active {
  transform: scale(0.98);
}

.wa-btn-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: #00b84c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Withdrawal Screen Specifics - Ultra-Clean & Luxury Design */
.withdraw-lux-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid var(--border-color) !important;
  padding: 16px 14px 20px !important;
}

/* 24x7 Fast Notice Banner */
.withdraw-notice-banner {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pulse-emerald-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDotGreen 1.6s infinite;
  flex-shrink: 0;
}

@keyframes pulseDotGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.withdraw-notice-banner .notice-text {
  font-size: 11px;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

/* 3-Pillar Modern Timing & Rules Grid */
.withdraw-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.wdr-rule-item {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 9px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.wdr-rule-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.wdr-rule-icon.icon-bolt {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.wdr-rule-icon.icon-min {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.wdr-rule-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wdr-lbl {
  font-size: 9.5px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.wdr-val {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 1px;
}

.text-emerald {
  color: #10b981 !important;
}

.custom-card-divider {
  height: 1px;
  background: var(--border-color);
  margin: 12px 0 14px;
}

/* Field Label Row with Available Balance */
.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.field-label-row .custom-input-label {
  margin-bottom: 0;
}

.field-sub-note {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.field-sub-note span {
  color: #f59e0b;
  font-weight: 800;
}

/* Quick Amount Preset Chips */
.withdraw-quick-chips {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-wdr-chip {
  flex: 1;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 6px 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-heading);
}

.btn-wdr-chip:active {
  transform: scale(0.96);
}

.btn-wdr-chip:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: #3b82f6;
  color: #3b82f6;
}

.btn-wdr-chip.chip-all {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  color: #d97706;
}

/* 4 Payment Method Cards Grid */
.withdraw-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.withdraw-method-card {
  border: 1.5px solid var(--border-color);
  background: var(--bg-color);
  border-radius: 12px;
  padding: 9px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  user-select: none;
}

.withdraw-method-card input[type="radio"] {
  display: none;
}

.wmc-radio-ring {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  transition: all 0.2s;
}

.withdraw-method-card.active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
}

.withdraw-method-card.active .wmc-radio-ring {
  border-color: #3b82f6;
  background: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.wmc-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.paytm-brand {
  background: rgba(0, 185, 245, 0.12);
  color: #00b9f5;
}

.phonepe-brand {
  background: rgba(103, 58, 183, 0.12);
  color: #673ab7;
}

.gpay-brand {
  background: rgba(234, 67, 53, 0.12);
  color: #ea4335;
  font-size: 18px;
}

.bank-brand {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.withdraw-method-card .method-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.wdr-field-hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.35;
}

.wdr-field-hint i {
  color: #3b82f6;
}

/* Saved Bank Box */
.wdr-saved-bank-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sbb-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sbb-icon {
  font-size: 22px;
  color: #10b981;
}

.sbb-left strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.sbb-left span {
  display: block;
  font-size: 12px;
  font-family: monospace;
  font-weight: 700;
  color: #059669;
}

.sbb-left small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

.sbb-edit-btn {
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
  flex-shrink: 0;
}

.sbb-edit-btn:hover {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
}

/* Action Button */
.btn-withdraw-submit {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: transform 0.15s, box-shadow 0.2s;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
}

.btn-withdraw-submit:active {
  transform: scale(0.97);
}

.btn-withdraw-submit:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  filter: brightness(1.05);
}

/* Support Help Strip (Bottom of card) */
.withdraw-support-strip {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.withdraw-support-strip:hover {
  border-color: #25d366;
  transform: translateY(-1px);
}

.wss-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wss-icon-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.wss-left strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.wss-left span {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
}

.wss-arrow {
  color: var(--text-muted);
  font-size: 13px;
}

.custom-qr-section {
  margin-bottom: 14px;
}

.qr-payment-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 12px;
}

.qr-card-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e2e8f0;
}

.qr-header-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qr-amount-badge {
  font-size: 13px;
  font-weight: 800;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 10px;
  border-radius: 12px;
}

.qr-code-frame-wrapper {
  position: relative;
  width: 190px;
  height: 190px;
  background: #ffffff;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.deposit-qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.qr-accepted-apps {
  width: 100%;
  margin-bottom: 10px;
}

.qr-accepted-apps span {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.qr-apps-badge-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-chip {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.app-chip.gpay { color: #1a73e8; }
.app-chip.phonepe { color: #5f259f; }
.app-chip.paytm { color: #00b9f5; }
.app-chip.bhim { color: #ea580c; }

.qr-instruction-box {
  background: rgba(30, 58, 138, 0.06);
  border: 1px dashed #3b82f6;
  border-radius: 12px;
  padding: 12px;
}

.qr-payment-card .qr-upi-info,
.qr-upi-info {
  width: 100%;
  background: rgba(30, 58, 138, 0.05);
  border: 1px dashed #3b82f6;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  gap: 6px;
  color: var(--text-primary);
  margin-bottom: 12px;
  box-sizing: border-box;
}

.qr-payment-card .qr-upi-info strong,
.qr-upi-info strong {
  font-size: 12px;
  color: #1e3a8a;
  word-break: break-all;
}

.qr-utr-wrapper {
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.qr-utr-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}

.btn-copy-small {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 700;
  transition: opacity 0.15s;
}

.btn-copy-small:active {
  opacity: 0.8;
}

/* Withdraw Screen */
.withdraw-hero-card {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 14px;
}

.withdraw-social-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 14px;
}

.withdraw-balance-box span {
  font-size: 13px;
  opacity: 0.85;
}

.withdraw-balance-box h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
}

.withdraw-timing-alert {
  background: #fef2f2;
  border-left: 4px solid var(--accent-red);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.withdraw-timing-alert i {
  font-size: 24px;
  color: var(--accent-red);
}

.withdraw-timing-alert strong {
  font-size: 14px;
  color: var(--accent-red);
}

.withdraw-timing-alert p {
  font-size: 12px;
  color: var(--text-secondary);
}

.form-field-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 14px;
}

.form-field-card label {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.method-selection-section {
  margin-bottom: 16px;
}

.method-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.badge-instant {
  color: #10b981;
  font-size: 12px;
}

.method-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.method-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.15s ease;
}

.method-card.active {
  border-color: var(--primary-green);
  background: #f0fdf4;
}

.method-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
}

.method-card.active .method-icon-circle {
  background: var(--primary-green);
  color: white;
}

.method-card strong {
  font-size: 15px;
}

.method-card span {
  font-size: 12px;
  color: var(--text-secondary);
}

.payout-details-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.payout-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.bank-readonly-summary {
  font-size: 13px;
  line-height: 1.6;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 20px;
}

.security-note i {
  font-size: 18px;
  color: var(--primary-green);
}

.btn-submit-withdraw {
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #047857 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 22px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
  transition: all 0.25s ease;
  margin-top: 14px;
  margin-bottom: 24px;
}

.btn-submit-withdraw i {
  font-size: 16px;
  color: #ffffff !important;
  transform: rotate(-10deg);
  transition: transform 0.2s ease;
}

.btn-submit-withdraw:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.6);
  transform: translateY(-2px);
}

.btn-submit-withdraw:hover i {
  transform: rotate(0deg) scale(1.15);
}

.btn-submit-withdraw:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-submit-withdraw:disabled {
  background: #94a3b8 !important;
  color: #f1f5f9 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
}

/* My Bids View */
.bids-summary-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}

.summary-caption {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 12px;
}

.summary-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

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

.metric-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 6px;
}

.metric-icon-circle.blue { background: #e0f2fe; color: #0284c7; }
.metric-icon-circle.green { background: #dcfce7; color: #16a34a; }
.metric-icon-circle.red { background: #fee2e2; color: #dc2626; }
.metric-icon-circle.orange { background: #ffedd5; color: #ea580c; }

.metric-item strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
}

.metric-item span {
  font-size: 11px;
  color: var(--text-muted);
}

.two-tabs-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.big-tab-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.big-tab-btn.active {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

.bids-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bid-item-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bid-item-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bid-market-title {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-heading);
}

.bid-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

.bid-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.bid-status-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.bid-status-pill.won {
  background: #dcfce7;
  color: #15803d;
}

.bid-status-pill.lost {
  background: #fee2e2;
  color: #b91c1c;
}

.bid-status-pill.pending {
  background: #fef3c7;
  color: #b45309;
}

/* Panel Chart View (Matches Screenshot_2026-09-27-22-26-56-32) */
.chart-content-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.date-range-picker-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
}

.date-range-picker-card label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.range-inputs-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.range-box {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.range-box span {
  font-size: 11px;
  color: var(--text-muted);
}

.range-box strong {
  font-size: 14px;
  color: var(--text-primary);
}

.btn-load-chart {
  width: 100%;
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.chart-summary-alert {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.chart-summary-alert strong {
  font-size: 15px;
  color: #854d0e;
}

.chart-summary-alert p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.chart-table-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.chart-table-header-title {
  padding: 12px 16px;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.chart-panel-table {
  width: 100%;
}

.panel-thead {
  background: var(--primary-green);
  color: white;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

.panel-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  font-size: 13px;
}

.panel-row:nth-child(even) {
  background: #f9fafb;
}

.jodi-val-bold {
  color: #ea580c;
  font-weight: 900;
  font-size: 16px;
  font-family: var(--font-heading);
}

.panna-with-ank {
  display: flex;
  flex-direction: column;
}

.panna-with-ank strong {
  font-size: 14px;
  font-family: var(--font-heading);
}

.panna-with-ank span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Game Rates Table (Matches Screenshot_2026-09-27-22-20-07) */
.rates-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rates-notice-pill {
  background: #eef7f2;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
}

.game-rates-table-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.rate-table-header {
  background: #d8f3dc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.rate-row-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  align-items: center;
}

.rate-row-item:last-child {
  border-bottom: none;
}

.rate-label-cell {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  border-right: 1px solid var(--border-color);
  padding-right: 10px;
}

.rate-value-cell {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-green);
}

/* Notice Board */
.notice-board-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notice-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.notice-card-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.notice-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.notice-bullets li i {
  color: #eab308;
  margin-right: 8px;
}

.notice-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0fdf4;
  color: #16a34a;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid #bbf7d0;
}

.notice-paragraph {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Bank Details Form */
.bank-form-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bank-banner-card {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bank-icon-square {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bank-fields-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-with-icon {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  background: var(--card-bg);
}

.input-with-icon i {
  color: var(--text-muted);
  margin-right: 10px;
}

.input-with-icon input {
  width: 100%;
  padding: 12px 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-primary);
}

.field-sublabel {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.btn-save-bank-details {
  background: #a3c4bc;
  color: #1f3d33;
  border: none;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: background 0.15s ease;
}

.btn-save-bank-details:hover {
  background: var(--primary-green);
  color: white;
}

.bank-security-hint {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #92400e;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* How to Play */
.how-to-play-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.how-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border-color);
}

.how-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.how-title-row h3 {
  font-size: 16px;
  font-weight: 800;
}

.tutorial-video-placeholder {
  background: #111827;
  color: white;
  border-radius: var(--radius-sm);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.video-play-big {
  font-size: 48px;
  color: #ef4444;
  margin-bottom: 10px;
}

.video-overlay-text {
  font-size: 13px;
  opacity: 0.9;
}

.step-num-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.num-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Contact & Support Grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.support-tile {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.support-tile:active {
  transform: scale(0.96);
}

.tile-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 12px;
}

.tile-icon-circle.blue { background: #e0f2fe; color: #0284c7; }
.tile-icon-circle.green { background: #dcfce7; color: #16a34a; }
.tile-icon-circle.teal { background: #ccfbf1; color: #0f766e; }
.tile-icon-circle.orange { background: #ffedd5; color: #ea580c; }

.support-tile strong {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.support-tile span {
  font-size: 12px;
  color: var(--text-secondary);
}

.social-links-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.social-pill {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.social-pill.fb { background: #3b5998; }
.social-pill.insta { background: #e1306c; }
.social-pill.tw { background: #1da1f2; }

/* AI Assistant Chat View */
.ai-chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ai-bot-header-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 14px;
}

.ai-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.online-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.online-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.chat-messages-scroll {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  padding: 4px;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.5;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--primary-green);
  color: white;
  border-bottom-right-radius: 4px;
}

.common-questions-section {
  margin-bottom: 12px;
}

.faq-caption {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}

.faq-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-chip {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-input-bar {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.chat-input-bar input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  outline: none;
  font-size: 14px;
}

.btn-send-message {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-green);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Settings View */
.settings-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-group-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-green);
  margin-top: 6px;
}

.settings-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.setting-toggle-row {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.setting-toggle-row:last-child {
  border-bottom: none;
}

.setting-text strong {
  font-size: 14px;
  display: block;
}

.setting-text span {
  font-size: 12px;
  color: var(--text-muted);
}

.setting-nav-row {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  color: var(--text-primary);
  font-size: 14px;
}

.setting-nav-row:last-child {
  border-bottom: none;
}

.row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.version-badge {
  font-size: 12px;
  color: var(--text-muted);
}

/* Toggle Switch Component */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.25s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-green);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Profile View */
.profile-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-avatar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.profile-big-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #4338ca 100%);
  color: #fbbf24;
  border: 3px solid #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  position: relative;
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.4), 0 0 16px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s ease;
}

.profile-big-avatar:hover {
  transform: scale(1.04);
}

.camera-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: #f59e0b;
  color: #0f172a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  border: 2.5px solid #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.profile-user-id {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.profile-balance-banner {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-balance-banner span {
  font-size: 12px;
  opacity: 0.85;
}

.profile-balance-banner h2 {
  font-family: var(--font-heading);
  font-size: 24px;
}

.profile-balance-banner i {
  font-size: 32px;
  opacity: 0.8;
}

.profile-details-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-heading-forest {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-green);
}

.profile-field-item label {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.field-val-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 2px;
}

.profile-setting-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.profile-setting-item:last-child {
  border-bottom: none;
}

.item-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ecfdf5;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-texts {
  flex: 1;
}

.item-texts strong {
  display: block;
  font-size: 13px;
}

.item-texts span {
  font-size: 11px;
  color: var(--text-muted);
}

.arrow {
  color: var(--text-muted);
  font-size: 12px;
}

.btn-logout-full {
  background: var(--accent-red);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Change Password View */
.pwd-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pwd-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 10px;
}

.pwd-caption {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 280px;
}

.pwd-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pwd-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwd-input-wrap i {
  color: var(--text-muted);
}

.pwd-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.eye-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.sub-hint {
  font-size: 11px;
  color: var(--text-muted);
  text-align: left;
  display: block;
  margin-top: 4px;
}

.pwd-req-card {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
}

.pwd-req-card ul {
  list-style: none;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-secondary);
}

.pwd-req-card .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  margin-right: 6px;
}

.btn-submit-pwd {
  width: 100%;
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 10px;
}

/* Bottom Navigation Bar (Persistent) */
.bottom-nav-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(65px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
  z-index: 30;
}

.nav-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease;
  flex: 1;
  min-width: 0;
  padding: 6px 1px;
}

.nav-item i {
  font-size: 20px;
}

.nav-item.active {
  color: #f59e0b;
}

#nav-telegram i {
  color: #229ed9;
  transition: transform 0.2s ease;
}

#nav-telegram:active i {
  transform: scale(1.15);
}

.nav-item.nav-home {
  position: relative;
  top: -14px;
}

.elevated-home-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(67, 56, 202, 0.5), 0 0 14px rgba(245, 158, 11, 0.4);
  border: 3px solid #fbbf24;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.elevated-home-circle:active {
  transform: scale(0.92);
}

/* Side Navigation Drawer */
.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: var(--card-bg);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

.side-drawer.open {
  transform: translateX(0);
}

.drawer-user-header {
  padding: 24px 20px 20px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.drawer-avatar {
  width: 52px;
  height: 52px;
  position: relative;
  flex-shrink: 0;
}

.drawer-avatar-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.4), 0 0 10px rgba(245, 158, 11, 0.3);
  transition: transform 0.25s ease;
}

.drawer-user-header:hover .drawer-avatar-inner {
  transform: scale(1.06);
}

.avatar-svg-art {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.avatar-online-status {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 13px;
  height: 13px;
  background-color: #10b981;
  border-radius: 50%;
  border: 2px solid #0f172a;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.95);
}

.drawer-user-info strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-heading);
}

.drawer-user-info span {
  font-size: 13px;
  color: var(--text-muted);
}

.drawer-links-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-link-item {
  width: 100%;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: none;
  background: none;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.drawer-link-item:hover, .drawer-link-item:active {
  background: #f0fdf4;
  color: var(--primary-green);
}

.drawer-link-item i {
  font-size: 17px;
  width: 22px;
  text-align: center;
}

.ml-auto {
  margin-left: auto;
  font-size: 12px;
}

.drawer-footer-actions {
  padding: 16px 20px calc(16px + var(--safe-bottom)) 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.theme-switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.btn-drawer-logout {
  width: 100%;
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Modals */
.app-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.app-modal-backdrop.open {
  display: flex;
}

.app-modal-box {
  width: 100%;
  max-width: 340px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: popModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-gift-icon, .modal-lock-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 14px;
}

.modal-lock-icon {
  background: #fee2e2;
  color: var(--accent-red);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.4;
}

.referral-link-box {
  width: 100%;
  background: #f8fafc;
  border: 1px dashed var(--border-color);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.btn-modal-green {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-modal-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-modal-green:active {
  transform: scale(0.98);
}

.btn-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px;
}

.btn-modal-black {
  width: 100%;
  background: #111827;
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

/* Language selector */
.language-box {
  align-items: stretch;
  text-align: left;
}

.modal-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-header-line h4 {
  font-size: 16px;
  font-weight: 800;
}

.close-x-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
}

.languages-list-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lang-option-item {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.lang-option-item.active {
  background: #f0fdf4;
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.hidden {
  display: none !important;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(45, 106, 79, 0.2);
  border-top-color: var(--primary-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px auto 10px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state {
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  padding: 30px;
}

/* =========================================================
   AUTH VIEW (LOGIN & SIGN UP) STYLING - ROYAL NAVY & GOLD
   ========================================================= */

.auth-view {
  padding: 16px 14px 40px 14px;
  min-height: 100%;
  display: none;
  flex-direction: column;
}

.auth-view.active {
  display: flex;
}

.auth-hero-banner {
  text-align: center;
  margin: 10px 0 16px 0;
}

.auth-logo-badge {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px auto;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border: 2px solid #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4);
}

.auth-brand-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.auth-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.auth-nav-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.dark-mode .auth-nav-tabs {
  background: rgba(255, 255, 255, 0.06);
}

.auth-tab-btn {
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fbbf24;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.auth-bonus-pill {
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.auth-form-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeIn 0.25s ease-out;
}

.auth-bonus-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
  border: 1.5px dashed #f59e0b;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-bonus-banner i {
  font-size: 22px;
  color: #d97706;
  flex-shrink: 0;
}

.auth-bonus-banner strong {
  display: block;
  font-size: 13px;
  color: #b45309;
}

.dark-mode .auth-bonus-banner strong {
  color: #fbbf24;
}

.auth-bonus-banner span {
  font-size: 11px;
  color: var(--text-secondary);
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-input-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-input-group label i {
  color: #1e3a8a;
  font-size: 12px;
}

.dark-mode .auth-input-group label i {
  color: #fbbf24;
}

.auth-input-wrapper {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 14px;
  height: 46px;
  transition: all 0.2s ease;
}

.dark-mode .auth-input-wrapper {
  background: #111a2e;
}

.auth-input-wrapper:focus-within {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.18);
}

.country-prefix {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-secondary);
  margin-right: 8px;
  padding-right: 8px;
  border-right: 1px solid var(--border-color);
}

.auth-input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
}

.btn-toggle-pwd {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  font-size: 14px;
}

.btn-auth-submit {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fbbf24;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
  border: 1px solid #f59e0b;
  transition: all 0.18s ease;
  margin-top: 4px;
}

.btn-auth-submit:active {
  transform: scale(0.97);
}

.btn-auth-demo {
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px dashed #f59e0b;
  color: #b45309;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.18s ease;
}

.dark-mode .btn-auth-demo {
  color: #fbbf24;
}

.btn-auth-demo:active {
  transform: scale(0.97);
  background: rgba(245, 158, 11, 0.25);
}

.auth-switch-link {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.auth-switch-link a {
  color: #1e3a8a;
  font-weight: 800;
  text-decoration: none;
}

.dark-mode .auth-switch-link a {
  color: #fbbf24;
}

/* =========================================================
   REAL-TIME LIVE SYNC & RESULT DECLARATION STYLES
   ========================================================= */

.sync-btn {
  color: #a7f3d0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(167, 243, 208, 0.3);
  font-size: 13px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: all 0.25s ease;
}

.sync-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.sync-btn.rotating i {
  animation: spinLiveSync 0.6s linear infinite;
}

@keyframes spinLiveSync {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Live Result Declared Highlight Glow */
@keyframes resultFlashGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.9);
  }
  35% {
    transform: scale(1.025);
    box-shadow: 0 0 24px 6px rgba(16, 185, 129, 0.75);
    border-color: #10b981 !important;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.market-card.just-updated {
  animation: resultFlashGlow 2s cubic-bezier(0.25, 1, 0.5, 1);
  border-color: #10b981 !important;
}

.market-card.just-updated .market-result-display-pod {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: #10b981 !important;
}

/* Real-Time Live Win Celebration Notification Toast */
.live-win-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
  width: 92%;
  max-width: 440px;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  border: 2px solid #34d399;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(52, 211, 153, 0.45);
  z-index: 99999;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: #ffffff;
  pointer-events: none;
}

.live-win-toast.active {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.win-toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.win-toast-icon {
  font-size: 32px;
  animation: winTrophyBounce 0.8s ease-in-out infinite alternate;
}

@keyframes winTrophyBounce {
  from { transform: scale(0.92) rotate(-6deg); }
  to { transform: scale(1.12) rotate(6deg); }
}

.win-toast-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.win-toast-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #a7f3d0;
  text-transform: uppercase;
}

.win-toast-amount {
  font-size: 20px;
  font-weight: 900;
  color: #fef08a;
  letter-spacing: 0.5px;
}

.win-toast-sub {
  font-size: 11.5px;
  color: #e2e8f0;
}

.win-toast-close {
  background: transparent;
  border: none;
  color: #a7f3d0;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* =========================================================


/* =========================================================
   FLOATING SIDE SPIN WHEEL LAUNCHER (Chhota sa spin icon)
   ========================================================= */
.floating-spin-launcher {
  position: fixed;
  right: 12px;
  bottom: 85px;
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  filter: drop-shadow(0 8px 18px rgba(245, 158, 11, 0.45));
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
}

.floating-spin-launcher:hover {
  transform: scale(1.1) rotate(5deg);
}

.floating-spin-launcher:active {
  transform: scale(0.95);
}

.floating-spin-launcher.pulse-glow {
  animation: floatingBounce 2.4s ease-in-out infinite;
}

@keyframes floatingBounce {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 8px 18px rgba(245, 158, 11, 0.45));
  }
  50% {
    transform: translateY(-8px) scale(1.06);
    filter: drop-shadow(0 14px 24px rgba(16, 185, 129, 0.65));
  }
}

.spin-launcher-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, #d97706 60%, #b45309 100%);
  border: 2.5px solid #fef08a;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.6), 0 0 14px rgba(245, 158, 11, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
}

.spin-icon-rotate {
  animation: spinWheelRotate 7s linear infinite;
}

@keyframes spinWheelRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-launcher-badge {
  margin-top: -6px;
  background: #111827;
  color: #fbbf24;
  border: 1.5px solid #f59e0b;
  border-radius: 20px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pulse-free-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pulseDotAnim 1.2s infinite;
}

@keyframes pulseDotAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* Home Screen Lucky Spin Banner */
.home-spin-banner {
  margin: 10px 14px 6px 14px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border: 1.5px solid #818cf8;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(67, 56, 202, 0.35), 0 0 15px rgba(245, 158, 11, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.home-spin-banner:active {
  transform: scale(0.98);
}

.home-spin-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  animation: shineSweep 3.5s infinite;
}

@keyframes shineSweep {
  0% { left: -100%; }
  30%, 100% { left: 150%; }
}

.spin-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spin-banner-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, #b45309 100%);
  border: 2px solid #fef08a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
  flex-shrink: 0;
}

.spin-banner-info {
  display: flex;
  flex-direction: column;
}

.spin-banner-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
}

.spin-banner-title {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.spin-banner-sub {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 500;
}

.spin-banner-btn {
  background: #f59e0b;
  color: #111827;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
}

#modal-success {
  z-index: 10005 !important;
}

/* =========================================================
   LUCKY SPIN & WIN MODAL
   ========================================================= */
.spin-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.spin-modal-backdrop.open {
  display: flex;
  animation: fadeInQuick 0.25s ease forwards;
}

.spin-modal-card {
  background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);
  border: 2px solid #818cf8;
  border-radius: 24px;
  width: 100%;
  max-width: 360px;
  padding: 20px 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(129, 140, 248, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.spin-modal-top {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.spin-title-box h3 {
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
  margin: 4px 0 2px 0;
  letter-spacing: 0.3px;
}

.spin-title-box p {
  font-size: 11px;
  color: #cbd5e1;
  margin: 0;
}

.spin-vip-badge {
  font-size: 9.5px;
  font-weight: 800;
  background: #f59e0b;
  color: #111827;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.spin-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #e2e8f0;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.spin-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.spin-stage-area {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 10px 0 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-pointer-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
  pointer-events: none;
  animation: needlePulse 1.2s ease-in-out infinite alternate;
}

.pointer-needle-arrow {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 28px solid #ef4444;
  position: relative;
}

.pointer-needle-arrow::before {
  content: '';
  position: absolute;
  top: -28px;
  left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #fbbf24 0%, #d97706 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

@keyframes needlePulse {
  from { transform: translateX(-50%) translateY(0); }
  to { transform: translateX(-50%) translateY(3px); }
}

/* =========================================================
   HOME LUCKY SPIN BANNER CARD
   ========================================================= */
.home-spin-banner-card {
  margin: 12px 14px 6px 14px;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 60%, #1e3a8a 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 15px rgba(251, 191, 36, 0.15);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.home-spin-banner-card:active {
  transform: scale(0.98);
}

.hsb-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hsb-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #fbbf24 0%, #d97706 100%);
  color: #111827;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
  flex-shrink: 0;
}

.hsb-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hsb-info p {
  margin: 2px 0 0 0;
  font-size: 11px;
  color: #cbd5e1;
}

.hsb-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.hsb-badge-free {
  font-size: 9.5px;
  font-weight: 900;
  background: #10b981;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.btn-hsb-play {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #111827;
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
}

.wheel-canvas-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.5);
  border: 4px solid #f59e0b;
  overflow: hidden;
  background: #000000;
}

#spin-wheel-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.wheel-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, #b45309 80%);
  border: 3px solid #ffffff;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  cursor: pointer;
  z-index: 5;
  transition: transform 0.15s;
}

.wheel-center-hub:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.spin-footer-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.spin-status-note {
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-spin-action {
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  color: #111827;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-spin-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.55);
}

.btn-spin-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.spin-balance-preview {
  font-size: 12px;
  color: #cbd5e1;
}

.spin-balance-preview strong {
  color: #fef08a;
}

/* =========================================================
   FLOATING TELEGRAM LAUNCHER (Directly above Spin Launcher)
   ========================================================= */
.floating-telegram-launcher {
  position: absolute;
  right: 12px;
  bottom: 228px; /* Stacked right above spin launcher at 150px */
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  filter: drop-shadow(0 8px 18px rgba(34, 158, 217, 0.45));
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  animation: floatingTgBounce 2.6s ease-in-out infinite;
}

.floating-telegram-launcher:hover {
  transform: scale(1.1) rotate(-4deg);
  filter: drop-shadow(0 12px 24px rgba(34, 158, 217, 0.65));
}

.floating-telegram-launcher:active {
  transform: scale(0.95);
}

@keyframes floatingTgBounce {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 8px 18px rgba(34, 158, 217, 0.45));
  }
  50% {
    transform: translateY(-6px) scale(1.05);
    filter: drop-shadow(0 14px 22px rgba(14, 165, 233, 0.65));
  }
}

.telegram-launcher-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8 0%, #0284c7 60%, #0369a1 100%);
  border: 2.5px solid #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.5);
}

.telegram-icon-pulse {
  font-size: 26px;
  color: #ffffff;
}

.telegram-launcher-badge {
  margin-top: -6px;
  background: #0f172a;
  color: #38bdf8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 2px 7px;
  border-radius: 20px;
  border: 1.5px solid #0284c7;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pulse-tg-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
  animation: pulseDot 1.4s infinite;
}

/* =========================================================
   GALI DESAWAR VIEW - LUXURY ELECTRIC NAVY / GOLD PALETTE
   ========================================================= */
.gali-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #090e1a 0%, #121c38 50%, #1e295d 100%);
  color: #ffffff;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #6366f1 0%, #fbbf24 50%, #10b981 100%) 1;
  box-shadow: 0 8px 24px rgba(10, 15, 30, 0.45);
}

.gali-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gali-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.gali-header-title h2 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.gali-sub-title {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
}

.gali-rates-card {
  margin: 14px;
  background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 60%, #3b0764 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 18px;
  padding: 16px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.25), 0 0 16px rgba(245, 158, 11, 0.15);
}

.gali-rates-header {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.gali-rate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.dark-mode .gali-rate-item {
  background: #1e293b;
  color: #f8fafc;
}

.gali-rate-item .rate-left {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.gali-rate-item .rate-left i {
  color: #6366f1;
}

body.dark-mode .gali-rate-item .rate-left i {
  color: #818cf8;
}

.gali-rate-item .rate-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000000;
  padding: 4px 14px;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.gali-action-btns-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.btn-gali-action {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fef08a;
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-gali-action:hover {
  background: rgba(251, 191, 36, 0.22);
  transform: translateY(-1px);
}

.gali-markets-list {
  padding: 0 14px 80px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gali-market-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease;
}

.gali-market-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.gali-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gali-dice-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(67, 56, 202, 0.22) 100%);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

body.dark-mode .gali-dice-icon {
  background: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.4);
}

.gali-market-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gali-market-name {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

.gali-result-pill {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-weight: 800;
  font-size: 13px;
  padding: 1px 10px;
  border-radius: 6px;
  width: fit-content;
  border: 1px solid #fde68a;
  letter-spacing: 0.5px;
}

body.dark-mode .gali-result-pill {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.gali-time-row {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.gali-status-pill {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

.gali-status-pill.running {
  background: #dcfce7;
  color: #15803d;
}

.gali-status-pill.closed {
  background: #fee2e2;
  color: #dc2626;
}

.btn-gali-play {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 9px 18px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-gali-play:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

.btn-gali-play.disabled {
  background: #64748b;
  color: #ffffff;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.8;
}

/* =========================================================
   GALI BETTING VIEW
   ========================================================= */
.gali-betting-container {
  padding: 14px;
  padding-bottom: 90px;
}

.gali-game-type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  background: #e2e8f0;
  padding: 4px;
  border-radius: 12px;
}

body.dark-mode .gali-game-type-tabs {
  background: #1e293b;
}

.gali-type-btn {
  flex: 1;
  padding: 9px 6px;
  background: transparent;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.gali-type-btn.active {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(99, 102, 241, 0.35);
}

.gali-digit-selection-box,
.gali-jodi-selection-box,
.gali-points-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.gali-input-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gali-digits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.gali-num-btn {
  height: 48px;
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s;
}

body.dark-mode .gali-num-btn {
  background: #0f172a;
}

.gali-num-btn.active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-color: #f59e0b;
  color: #000000;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.gali-jodi-input-wrap input,
.gali-points-input-wrap input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  box-sizing: border-box;
  background: var(--card-bg);
  color: var(--text-primary);
}

.gali-points-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.gali-points-input-wrap .pts-prefix {
  position: absolute;
  left: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
}

.gali-points-input-wrap input {
  padding-left: 32px;
}

.gali-quick-pts-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.gali-chip-btn {
  flex: 1;
  min-width: 50px;
  padding: 7px 8px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s;
}

body.dark-mode .gali-chip-btn {
  background: #0f172a;
}

.gali-chip-btn:hover {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
}

.gali-submit-summary-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.btn-gali-submit-bid {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transition: transform 0.15s;
}

.btn-gali-submit-bid:hover {
  transform: translateY(-2px);
}

/* =========================================================
   GAME RATES VIEW
   ========================================================= */
.rates-view-content {
  padding: 14px;
  padding-bottom: 80px;
}

.rates-group-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.rates-group-title {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.rate-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
}

.rate-row-card:last-child {
  border-bottom: none;
}

.rate-card-name {
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.rate-card-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000000;
  padding: 4px 14px;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

/* ========================================================
   IN-APP AUTO-UPDATE NOTIFICATION MODAL
   ======================================================== */
.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 99999;
  animation: fadeIn 0.25s ease-out;
}

.update-modal-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.update-card-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0284c7 100%);
  padding: 24px 20px 20px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.update-rocket-icon-pulse {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fbbf24;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.5);
  animation: bounceSoft 2s infinite ease-in-out;
}

@keyframes bounceSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

.update-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.update-card-body {
  padding: 20px 22px 24px;
  text-align: center;
}

.update-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 12px;
}

.badge-new-ver {
  color: #059669;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 10px;
}

.update-title-text {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.update-desc-text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px;
}

.update-notes-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  margin-bottom: 20px;
}

.update-notes-heading {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #334155;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.update-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-notes-list li {
  font-size: 12px;
  color: #475569;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.update-notes-list li i {
  color: #10b981;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.update-action-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-action-update-now {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-action-update-now:hover,
.btn-action-update-now:active {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(37, 99, 235, 0.6);
}

.btn-action-update-later {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-action-update-later:hover {
  color: #0f172a;
}

/* ==============================================================
   OFFICIAL BRAND LOGO STYLES (Header, Auth View, Drawers)
   ============================================================== */
.header-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.45));
  border-radius: 6px;
  display: block;
}

.auth-logo-brand-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px auto;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  width: fit-content;
  max-width: 85%;
}

.auth-brand-logo-img {
  max-width: 200px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.auth-brand-logo-img:hover {
  transform: scale(1.03);
}

/* ==============================================================
   CONTINUOUS IN-MODAL LUCKY SPIN RESULT BANNER
   ============================================================== */
.spin-result-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.35) 100%);
  border: 1px solid rgba(16, 185, 129, 0.6);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.3);
  margin-bottom: 12px;
  text-align: left;
  animation: bounceInResult 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.spin-result-banner.near-miss {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(185, 28, 28, 0.3) 100%);
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.25);
}

.srb-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.srb-info {
  flex: 1;
  min-width: 0;
}

.srb-headline {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.spin-result-banner.near-miss .srb-headline {
  color: #f87171;
}

.srb-sub {
  display: block;
  font-size: 11.5px;
  color: #e2e8f0;
  font-weight: 500;
  margin-top: 2px;
  line-height: 1.25;
}

@keyframes bounceInResult {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================================================
   KALYAN STARLINE - ULTRA-PREMIUM HOURLY GAMING SUITE
   Cosmic Glassmorphism, 3D Number Badges, and Live Rounds
   ========================================================= */

.starline-top-bar {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 27, 75, 0.98)) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.starline-header-star {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
  margin-right: 4px;
}

/* Starline Hero Banner Card */
.starline-hero-card {
  margin: 12px 14px 16px;
  background: linear-gradient(140deg, #090d16 0%, #151c33 45%, #1e1b4b 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 20px;
  padding: 16px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(245, 158, 11, 0.15);
}

.starline-hero-decor-orb {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(99, 102, 241, 0.15) 60%, transparent 80%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
}

.starline-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.starline-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.5px;
}

.starline-live-pulsar {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.4s infinite;
}

.starline-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  color: #fef08a;
  font-weight: 600;
}

.starline-countdown-badge strong {
  color: #fbbf24;
  font-weight: 800;
}

.starline-hero-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.starline-crown-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #000000;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
  flex-shrink: 0;
}

.starline-title-meta h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.starline-title-meta p {
  font-size: 11.5px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* 4 Rates Grid inside Hero Card */
.starline-rates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.starline-rate-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
  backdrop-filter: blur(8px);
}

body.dark-mode .starline-rate-pill {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.srp-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.srp-icon.single-digit { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.srp-icon.single-panna { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.srp-icon.double-panna { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.srp-icon.triple-panna { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

.srp-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.srp-name {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
}

.srp-val {
  font-size: 12.5px;
  color: #fef08a;
  font-weight: 800;
  white-space: nowrap;
}

/* Action Strip */
.starline-action-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}

.btn-starline-chart,
.btn-starline-rules {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-starline-chart {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-starline-chart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.5);
}

.btn-starline-rules {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-starline-rules:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Starline Filter Tabs */
.starline-filter-tabs {
  display: flex;
  gap: 8px;
  padding: 0 14px;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.starline-filter-tabs::-webkit-scrollbar {
  display: none;
}

.starline-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

body.dark-mode .starline-tab-btn {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.starline-tab-btn.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.tab-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.starline-tab-btn.active .tab-live-dot {
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

/* Starline Hourly Market Cards */
.starline-markets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 14px 28px;
}

.starline-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

body.dark-mode .starline-card {
  background: #12192b;
  border-color: #1e293b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.starline-card.is-open {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.14);
}

.starline-card.is-open::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #10b981, #34d399);
}

.starline-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.starline-time-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.starline-time-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.starline-time-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.starline-time-sub {
  font-size: 10.5px;
  color: var(--text-muted);
}

.starline-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 16px;
}

.starline-status-chip.open {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

body.dark-mode .starline-status-chip.open {
  color: #34d399;
}

.starline-status-chip.declared {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

body.dark-mode .starline-status-chip.declared {
  color: #60a5fa;
}

.starline-status-chip.closed {
  background: rgba(148, 163, 184, 0.12);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Middle Result Box */
.starline-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 14px;
}

body.dark-mode .starline-result-bar {
  background: #090e1a;
  border-color: #1e293b;
}

.srb-numbers {
  display: flex;
  align-items: center;
  gap: 10px;
}

.srb-panna-box {
  background: #0f172a;
  color: #fbbf24;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.srb-dash {
  font-size: 18px;
  font-weight: 900;
  color: #94a3b8;
}

.srb-digit-box {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000000;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.srb-digit-box.waiting {
  background: #334155;
  color: #94a3b8;
  box-shadow: none;
}

.srb-info-text {
  text-align: right;
  font-size: 11px;
  color: var(--text-muted);
}

.srb-info-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 11.5px;
}

/* Card Actions */
.starline-card-actions {
  display: flex;
  gap: 8px;
}

.btn-starline-play-action {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  font-size: 13.5px;
  font-weight: 800;
  padding: 11px 18px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-starline-play-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

.btn-starline-closed-action {
  flex: 1;
  background: #f1f5f9;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: not-allowed;
}

body.dark-mode .btn-starline-closed-action {
  background: #1e293b;
  color: #64748b;
  border-color: #334155;
}

/* STARLINE MODALS */
.starline-chart-modal-card,
.starline-games-modal-card,
.starline-rules-modal-card {
  width: 92%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  animation: zoomModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-mode .starline-chart-modal-card,
body.dark-mode .starline-games-modal-card,
body.dark-mode .starline-rules-modal-card {
  background: #0f172a;
  border-color: #1e293b;
}

.starline-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.smh-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.smh-title i {
  font-size: 22px;
}

.smh-title h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.smh-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.starline-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.15);
  border: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.starline-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Starline Games Selection Grid */
.starline-game-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-bottom: 8px;
}

.starline-game-choice-btn {
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.dark-mode .starline-game-choice-btn {
  background: #1e293b;
  border-color: #334155;
}

.starline-game-choice-btn:hover {
  transform: translateY(-3px);
  border-color: #f59e0b;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.2);
}

.sgc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 8px;
}

.sgc-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.sgc-icon.emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.sgc-icon.purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.sgc-icon.gold { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.sgc-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.sgc-rate {
  font-size: 11px;
  font-weight: 800;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
}

/* Starline Chart Table */
.starline-chart-modal-body {
  overflow-y: auto;
  max-height: 60vh;
}

.starline-chart-table-wrap {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.starline-chart-table-wrap th {
  background: #0f172a;
  color: #fbbf24;
  padding: 8px 10px;
  font-family: var(--font-heading);
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
}

.starline-chart-table-wrap td {
  padding: 8px 10px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
}

.starline-chart-table-wrap tr:nth-child(even) td {
  background: rgba(148, 163, 184, 0.05);
}

.starline-chart-table-wrap .td-time {
  color: var(--text-muted);
  font-size: 11px;
}

.starline-chart-table-wrap .td-pana {
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.starline-chart-table-wrap .td-digit {
  color: #f59e0b;
  font-weight: 900;
}

/* Rules list */
.starline-rules-body {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.starline-rule-item {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 14px;
}

body.dark-mode .starline-rule-item {
  background: #1e293b;
  border-color: #334155;
}

.starline-rule-item h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.starline-rule-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.starline-rule-alert {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 11.5px;
  color: #fef08a;
  display: flex;
  gap: 8px;
  line-height: 1.4;
}

/* ===================================================
   ULTRA-LUXURY HIGH-CONVERSION REFER & EARN MODAL
   =================================================== */
.refer-modal-luxury-box {
  background: linear-gradient(180deg, #131722 0%, #0b0d14 100%) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.3) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(251, 191, 36, 0.18) !important;
  border-radius: 26px !important;
  padding: 0 !important;
  overflow: hidden;
  max-width: 410px !important;
  width: 92% !important;
  animation: modalPopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPopIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.refer-modal-top-banner {
  background: radial-gradient(circle at 50% 30%, rgba(251, 191, 36, 0.22) 0%, rgba(30, 27, 75, 0.6) 60%, rgba(15, 23, 42, 0.9) 100%);
  padding: 24px 16px 14px;
  position: relative;
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.refer-gift-3d-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-pulsing-aura {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, transparent 70%);
  animation: giftAuraPulse 2.4s infinite ease-in-out;
}

@keyframes giftAuraPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.25); opacity: 1; }
}

.refer-gift-icon {
  font-size: 46px;
  color: #fbbf24;
  filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.6));
  animation: giftFloat 3s infinite ease-in-out;
  position: relative;
  z-index: 2;
}

@keyframes giftFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(3deg); }
}

.refer-coin-float {
  position: absolute;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.refer-coin-float.c1 {
  top: 4px;
  right: -14px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: 1px solid #fef08a;
  animation: coinFloat1 2.2s infinite ease-in-out;
}

.refer-coin-float.c2 {
  bottom: 6px;
  left: -14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid #a7f3d0;
  animation: coinFloat2 2.6s infinite ease-in-out;
}

@keyframes coinFloat1 {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}

@keyframes coinFloat2 {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-7px) rotate(-4deg); }
}

.refer-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.refer-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
  transform: rotate(90deg);
}

.refer-modal-content {
  padding: 16px 20px 22px;
}

.refer-super-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 100%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.refer-headline {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.35;
  font-family: var(--font-heading);
}

.gold-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 4px rgba(251, 191, 36, 0.3));
}

.green-text {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 4px rgba(52, 211, 153, 0.3));
}

.refer-subheadline {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0 0 14px;
}

/* Dual Perks Cards */
.refer-perks-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.refer-perk-card {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 14px;
  padding: 10px 8px;
  position: relative;
  transition: transform 0.2s;
}

.refer-perk-card:hover {
  transform: translateY(-2px);
}

.perk-you {
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.perk-friend {
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.perk-badge-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 6px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 8px;
}

.perk-you .perk-badge-label {
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
}

.perk-friend .perk-badge-label {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
}

.perk-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 7px;
  text-align: left;
}

.perk-row:last-child {
  margin-bottom: 0;
}

.perk-row i {
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.perk-row strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.25;
}

.perk-row span {
  display: block;
  font-size: 9.5px;
  color: #94a3b8;
  line-height: 1.2;
  margin-top: 2px;
}

/* Code Container */
.refer-code-container {
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px dashed rgba(251, 191, 36, 0.4);
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
}

.refer-code-container:hover {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.05);
}

.rcc-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.rcc-code-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rcc-code-box strong {
  font-family: monospace;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #fbbf24;
}

.rcc-copy-tag {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Link Box */
.referral-link-box {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.referral-link-box .link-icon {
  font-size: 13px;
  color: #64748b;
  flex-shrink: 0;
}

.refer-url-truncate {
  flex: 1;
  font-size: 11px;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  font-family: monospace;
}

.btn-copy-pill {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 7px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-copy-pill:hover {
  background: #2563eb;
  transform: scale(1.05);
}

/* 1-Tap Action Sharing Buttons */
.refer-share-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-share-whatsapp {
  flex: 2;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all 0.2s;
  font-family: var(--font-heading);
}

.btn-share-whatsapp i {
  font-size: 18px;
}

.btn-share-whatsapp:active {
  transform: scale(0.97);
}

.btn-share-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  filter: brightness(1.05);
}

.btn-share-telegram {
  flex: 1;
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.3);
  transition: all 0.2s;
  font-family: var(--font-heading);
}

.btn-share-telegram i {
  font-size: 16px;
}

.btn-share-telegram:active {
  transform: scale(0.97);
}

/* Live Stats Bar */
.refer-live-stats-bar {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px;
  color: #fef08a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.35;
}

.refer-live-stats-bar i {
  font-size: 12px;
  flex-shrink: 0;
}






