/* ========================================================
   TRONSPIN - Clean, Modern Minimalist Crypto Platform
   LiteTap Light Blue Aesthetic with High Conversion UI
======================================================== */

.usdt-coin-svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.crypto-currency-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.currency-icon-tag .usdt-coin-svg {
  width: 16px !important;
  height: 16px !important;
}

:root {
  --primary-blue: #0ea5e9;
  --primary-blue-hover: #0284c7;
  --primary-blue-light: #e0f2fe;
  --primary-blue-soft: #f0f9ff;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-input: #ffffff;
  
  --text-dark: #0f172a;
  --text-heading: #1e293b;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-card: #edf2f7;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 12px 30px -4px rgba(14, 165, 233, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-modal: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark mode support */
body.dark-mode {
  --bg-page: #0b0f19;
  --bg-card: #131a29;
  --bg-card-subtle: #1a2337;
  --bg-input: #101624;
  --text-dark: #f8fafc;
  --text-heading: #f1f5f9;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --border-light: #1e293b;
  --border-card: #1f293d;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode,
body.dark-mode.dashboard-body-layout,
body.dark-mode .dashboard-body-layout {
  background-color: #0b0f19 !important;
}

body.dark-mode .dash-main-layout,
body.dark-mode .dash-content-body {
  background-color: #0b0f19 !important;
}

body.dark-mode .dash-navbar,
body.dark-mode .dash-sidebar,
body.dark-mode .faucet-claim-card,
body.dark-mode .level-system-container,
body.dark-mode .dash-info-card,
body.dark-mode .clean-card,
body.dark-mode .games-arcade-wrapper,
body.dark-mode .site-footer {
  background: #131a29 !important;
  border-color: #1e293b !important;
  color: #f8fafc !important;
}

body.dark-mode .side-nav-item {
  color: #94a3b8;
}
body.dark-mode .side-nav-item:hover {
  background: #1a2337;
  color: #38bdf8;
}
body.dark-mode .side-nav-item.active {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
}

body.dark-mode .claim-payout-preview,
body.dark-mode .user-dash-pill,
body.dark-mode .sidebar-lang-pill,
body.dark-mode .sidebar-theme-switch,
body.dark-mode .dash-sidebar-toggle,
body.dark-mode .games-stat-pill {
  background: #1a2337 !important;
  border-color: #1e293b !important;
  color: #f8fafc !important;
}

body.dark-mode .level-card-item {
  background: #131a29 !important;
  border-color: #1e293b !important;
}
body.dark-mode .level-card-item:hover {
  background: #1a2337 !important;
}
body.dark-mode .level-card-item.active-current-level {
  background: rgba(14, 165, 233, 0.15) !important;
  border-color: #0ea5e9 !important;
}
body.dark-mode .lvl-payout {
  color: #94a3b8 !important;
}
body.dark-mode .slot-num {
  background: #1a2337 !important;
  border-color: #1e293b !important;
  color: #38bdf8 !important;
}
body.dark-mode .info-content-text h3 {
  color: #f8fafc !important;
}
body.dark-mode .info-content-text p {
  color: #94a3b8 !important;
}
body.dark-mode .sidebar-bottom-controls {
  border-color: #1e293b !important;
}
body.dark-mode .theme-opt.active {
  background: #131a29 !important;
  color: #f8fafc !important;
}
body.dark-mode .arcade-game-card {
  background: transparent !important;
  border-color: transparent !important;
}
body.dark-mode .game-name {
  color: #f8fafc !important;
}
body.dark-mode .games-header-bar h2 {
  color: #f8fafc !important;
}
body.dark-mode .head-title {
  color: #f8fafc !important;
}
body.dark-mode .ls-title {
  color: #f8fafc !important;
}
body.dark-mode .lvl-title {
  color: #f8fafc !important;
}
body.dark-mode .footer-col h4 {
  color: #f8fafc !important;
}
body.dark-mode .footer-col a {
  color: #94a3b8 !important;
}
body.dark-mode .footer-col a:hover {
  color: #38bdf8 !important;
}
body.dark-mode .modal-dialog {
  background: #131a29 !important;
  border-color: #1e293b !important;
  color: #f8fafc !important;
}
body.dark-mode .modal-dialog input,
body.dark-mode .modal-dialog select {
  background: #0b0f19 !important;
  border-color: #1e293b !important;
  color: #f8fafc !important;
}
body.dark-mode .net-pill {
  background: #1a2337 !important;
  color: #94a3b8 !important;
  border-color: #1e293b !important;
}
body.dark-mode .net-pill.active {
  background: #0ea5e9 !important;
  color: #ffffff !important;
}
body.dark-mode .btn-modal-close {
  background: #1a2337 !important;
  color: #94a3b8 !important;
}
body.dark-mode .btn-modal-close:hover {
  background: #1e293b !important;
  color: #f8fafc !important;
}
body.dark-mode .card-head-row .head-title {
  color: #f8fafc !important;
}
body.dark-mode .crypto-unit {
  color: #94a3b8 !important;
}
body.dark-mode .ref-input-box input {
  background: #0b0f19 !important;
  border-color: #1e293b !important;
  color: #f8fafc !important;
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ambient glow top */
.top-gradient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 480px;
  background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.08) 0%, rgba(224, 242, 254, 0.4) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography & Helpers */
.text-center { text-align: center; }
.text-primary { color: var(--primary-blue); }
.text-green { color: #10b981; }
.text-gold { color: #f59e0b; }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 4px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 36px; }
.pt-2 { padding-top: 20px; }
.p-4 { padding: 32px !important; }
.w-100 { width: 100%; }
.d-none { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  outline: none;
}

/* Hero Sign Up Free Button (Solid Blue) */
.btn-hero-signup, .btn-signup {
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 13px 30px;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.28);
  font-size: 1rem;
}
.btn-hero-signup:hover, .btn-signup:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

/* Hero Log In Button (Soft border / outline) */
.btn-hero-login {
  background-color: #ffffff;
  color: var(--text-heading);
  border: 1.5px solid var(--border-light);
  padding: 13px 28px;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.btn-hero-login:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: var(--primary-blue-soft);
  transform: translateY(-2px);
}
body.dark-mode .btn-hero-login {
  background-color: var(--bg-card);
  border-color: var(--border-light);
  color: var(--text-dark);
}

.btn-login {
  background-color: transparent;
  color: var(--text-heading);
  padding: 8px 18px;
  font-size: 0.92rem;
}
.btn-login:hover {
  color: var(--primary-blue);
}
.btn-signup {
  padding: 9px 20px;
  font-size: 0.92rem;
}
.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  transition: background-color 0.3s ease;
}
body.dark-mode .navbar {
  background-color: rgba(19, 26, 41, 0.94);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.logo-tether-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #eb0029, #ff3355);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(235, 0, 41, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-logo:hover .logo-tether-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(235, 0, 41, 0.45);
}
.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}
.brand-sub {
  color: var(--primary-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
  background-color: var(--primary-blue-soft);
}
body.dark-mode .nav-link:hover, body.dark-mode .nav-link.active {
  background-color: rgba(14, 165, 233, 0.15);
}

.nav-lang-dropdown {
  padding: 6px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-full);
}
.nav-lang-dropdown:hover {
  color: var(--primary-blue);
  background-color: var(--primary-blue-soft);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.85rem;
}
.theme-toggle .active-sun {
  color: #f59e0b;
}
.theme-toggle .divider-dot {
  width: 3px;
  height: 3px;
  background: var(--text-light);
  border-radius: 50%;
}

.auth-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-logged-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 4px 12px 4px 6px;
  border-radius: var(--radius-full);
}
.user-avatar-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar-letter {
  width: 28px;
  height: 28px;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}
.user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.user-meta .uname {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
}
.user-meta .ubal {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.user-meta .ubal strong {
  color: var(--primary-blue);
}
.btn-dash-link {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-decoration: none;
}
.btn-logout-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 24px;
  gap: 12px;
}
.mobile-drawer.active {
  display: flex;
}
.mobile-auth-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

/* ========================================================
   SWAPPED HERO LAYOUT (LEFT: Visual Wallet, RIGHT: Text Content)
======================================================== */
.hero-section {
  padding: 70px 0 60px;
}
.hero-layout-swapped {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

/* RIGHT: Text Content */
.hero-text-content {
  text-align: left;
}
.hero-heading {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-subheading {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ========================================================
   LEFT: SEAMLESS INTEGRATED HERO ILLUSTRATION (NO BOX, NO BORDER)
======================================================== */
.hero-illustration-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100%;
}

.illustration-halo-glow {
  position: absolute;
  width: 100%;
  max-width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(224, 242, 254, 0.3) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-image-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.hero-main-img {
  width: 100%;
  max-height: 390px;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent !important;
  filter: drop-shadow(0 15px 30px rgba(235, 0, 41, 0.15));
}

/* ========================================================
   STANDALONE LOGIN & SIGNUP PAGES (PAGE AGLA OPEN HO)
======================================================== */
.auth-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-nav {
  background: transparent;
  border-bottom: 1px solid var(--border-light);
}
.nav-switch-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.auth-page-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 24px;
}
.standalone-auth-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #eb0029;
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  padding: 42px 36px 32px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(0, 0, 0, 0.04);
  animation: cardAppear 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
@keyframes cardAppear {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-card-top {
  text-align: center;
  margin-bottom: 28px;
}
.auth-icon-bubble {
  width: 56px;
  height: 56px;
  background: rgba(235, 0, 41, 0.08);
  color: #eb0029;
  border: 1.5px solid rgba(235, 0, 41, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(235, 0, 41, 0.15);
}
.auth-icon-bubble.signup-bubble {
  background: rgba(235, 0, 41, 0.08);
  color: #eb0029;
  border-color: rgba(235, 0, 41, 0.25);
}
.auth-card-top h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-dark);
}
.auth-card-top p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.label-with-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.label-with-link label {
  margin-bottom: 0 !important;
}
.btn-auth-submit {
  padding: 14px;
  font-size: 1.05rem;
  margin-top: 8px;
}
.auth-card-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* FORM CONTROLS */
.form-group {
  margin-bottom: 18px;
  text-align: left;
}
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon-wrap .field-icon {
  position: absolute;
  left: 14px;
  color: var(--text-light);
  font-size: 0.9rem;
}
.input-icon-wrap input, .form-group input {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px 12px 42px;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  font-family: var(--font-family);
  transition: var(--transition);
}
.form-group input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.btn-toggle-eye {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  z-index: 3;
}

/* Live Field Status Validation (Matching User Video Exact Replica) */
.input-icon-wrap input.has-error {
  border-color: #ef4444 !important;
  background-color: #fff8f8;
}
.input-icon-wrap input.has-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
}
.input-icon-wrap input.has-success {
  border-color: #22c55e !important;
  background-color: #f7fee7;
}
.input-icon-wrap input.has-success:focus {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18) !important;
}
.field-status-icon {
  position: absolute;
  right: 14px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.field-status-icon.with-eye {
  right: 42px;
}
.field-status-icon .fa-circle-notch,
.field-status-icon .fa-spinner {
  color: #0284c7;
}
.field-status-icon .fa-circle-xmark {
  color: #ef4444;
}
.field-status-icon .fa-circle-check {
  color: #22c55e;
}
.field-feedback-msg {
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 18px;
  transition: all 0.2s ease;
}
.field-feedback-msg.error {
  color: #ef4444;
}
.field-feedback-msg.success {
  color: #22c55e;
}
.form-row-helpers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  margin-bottom: 20px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  cursor: pointer;
}
.link-sub {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

/* SECTION BLOCKS (Ways to Earn, Bonuses, Payouts, Why Us) */
.section-block {
  padding: 60px 0;
}
.section-heading {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.section-subheading {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.clean-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
}
.clean-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(14, 165, 233, 0.3);
}

.grid-2x2 .clean-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
}

.card-icon-blue {
  color: var(--primary-blue);
  font-size: 1.5rem;
  min-width: 32px;
  margin-top: 2px;
}
.bonus-card .card-icon-blue, .why-card .card-icon-blue {
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Payouts Table */
.payout-table-wrap {
  max-width: 900px;
  margin: 24px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}
.clean-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.clean-table th {
  background: var(--bg-card-subtle);
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}
.clean-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--text-dark);
}
.tx-hash {
  background: var(--bg-card-subtle);
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--primary-blue);
}
.badge-tag.green {
  background: #ecfdf5;
  color: #059669;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
}

/* FAQ & CONTACT CHANNEL STRIP */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: rgba(14, 165, 233, 0.4);
}
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}
.faq-header i {
  color: var(--primary-blue);
  transition: transform 0.25s ease;
}
.faq-item.active .faq-header i {
  transform: rotate(180deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.faq-item.active .faq-body {
  max-height: 2500px !important;
  margin-top: 12px;
  overflow: visible !important;
}

.contact-action-banner {
  max-width: 820px;
  margin: 28px auto 0;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  border-radius: var(--radius-lg);
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  box-shadow: 0 10px 25px -4px rgba(14, 165, 233, 0.4);
}
.contact-text {
  font-size: 1.05rem;
  font-weight: 700;
}
.btn-contact-white {
  background: #ffffff;
  color: var(--text-dark);
  font-weight: 700;
  padding: 9px 24px;
  border-radius: var(--radius-full);
}
.btn-contact-white:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

/* FOOTER */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 50px 0 60px;
  margin-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--primary-blue);
  transform: translateX(3px);
}

/* DASHBOARD STYLES */
.dash-wrap {
  padding: 40px 0 80px;
}
.dash-top-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-card);
  margin-bottom: 26px;
}
.dash-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dash-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}
.dash-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.dash-bal-group {
  text-align: right;
}
.bal-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.bal-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 2px 0 8px;
}
.crypto-sym {
  font-size: 1rem;
  color: var(--primary-blue);
}
.dash-quick-btns {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.btn-primary-pill {
  background: var(--primary-blue);
  color: #fff;
}
.btn-outline-pill {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
}

/* ========================================================
   MODERN DASHBOARD LAYOUT (SIDEBAR + CONTENT BODY)
======================================================== */
.dashboard-body-layout {
  background-color: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dash-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.dash-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.dash-nav-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dash-sidebar-toggle {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}
.dash-sidebar-toggle:hover {
  background: var(--primary-blue-soft);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* HEADER STYLING MATCHING USER IMAGE 2 */
.dash-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-balance-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-coin-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
}

.header-balance-amount {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  letter-spacing: 0.3px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-variant-numeric: normal;
}

.btn-header-deposit {
  background: #0ea5e9;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 7px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.35);
  transition: all 0.18s ease;
}

.btn-header-deposit:hover {
  background: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.45);
}

.header-notif-box {
  position: relative;
  display: flex;
  align-items: center;
}

.btn-header-notif {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative !important;
  color: #475569;
  font-size: 1.1rem;
  transition: all 0.18s ease;
  overflow: visible !important;
}

.btn-header-notif:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0ea5e9;
}

.header-notif-badge {
  position: absolute !important;
  top: -3px !important;
  right: -3px !important;
  background: #ef4444 !important;
  color: transparent !important;
  font-size: 0 !important;
  width: 11px !important;
  height: 11px !important;
  min-width: 11px !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 1), 0 0 4px rgba(239, 68, 68, 0.9) !important;
  animation: notifDanaPulse 1.8s infinite !important;
  display: block;
  pointer-events: none !important;
  z-index: 9999 !important;
}

.header-notif-badge.d-none {
  display: none !important;
}

.btn-mark-all-read {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-mark-all-read:hover {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
}

@keyframes notifDanaPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.85); }
  70% { transform: scale(1.18); box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.header-notif-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  width: 290px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  overflow: hidden;
  animation: fadeInDown 0.15s ease-out;
}

.notif-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1e293b;
}

.notif-pill-count {
  background: #0ea5e9;
  color: #ffffff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

.notif-dropdown-body {
  padding: 8px 0;
  max-height: 240px;
  overflow-y: auto;
}

.notif-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.notif-item-row:hover {
  background: #f1f5f9;
}

.notif-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-details {
  line-height: 1.25;
}

.notif-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: #1e293b;
}

.notif-desc {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 2px;
}

.sidebar-logout-btn {
  width: 100%;
  margin-top: 10px;
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  justify-content: center;
  transition: all 0.15s ease;
}

.sidebar-logout-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

/* MAIN DASHBOARD SHELL */
.dash-main-layout {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 65px);
  position: relative;
}

/* SIDEBAR BACKDROP OVERLAY - ONLY FOR MOBILE DRAWER (NEVER ON DESKTOP) */
@media (min-width: 993px) {
  .sidebar-backdrop {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
}
@media (max-width: 992px) {
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Mobile Sidebar Brand Header inside Drawer (Hidden on Desktop) */
.sidebar-mobile-brand {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 14px 4px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 14px;
}
.sidebar-mobile-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-sidebar-close {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-sidebar-close:hover {
  background: #fee2e2;
  color: #ef4444;
}
body.dark-mode .sidebar-mobile-brand {
  border-color: #334155;
}
body.dark-mode .btn-sidebar-close {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

/* SIDEBAR (Exact LiteTap style matching uploaded screenshot) */
.dash-sidebar {
  width: 250px;
  background: #ffffff;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 12px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), width 0.25s ease;
  position: sticky;
  top: 65px;
  height: calc(100vh - 65px);
  overflow-y: auto;
  z-index: 90;
}
.dash-sidebar.collapsed {
  transform: translateX(-100%);
  position: absolute;
}

.sidebar-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--text-body);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}
.side-nav-item:hover {
  background: #f1f5f9;
  color: var(--primary-blue);
}
.side-nav-item.active {
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
}

.side-nav-item .s-icon {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}
.s-icon.blue { color: #0ea5e9; }
.s-icon.gift { color: #f59e0b; }
.s-icon.dice { color: #8b5cf6; }
.s-icon.deposit { color: #10b981; }
.s-icon.withdraw { color: #0284c7; }
.s-icon.survey { color: #3b82f6; }
.s-icon.users { color: #64748b; }
.s-icon.gear { color: #64748b; }
.s-icon.chat { color: #64748b; }
.s-icon.challenges { color: #f97316; }

/* Sidebar Bottom Controls */
.sidebar-bottom-controls {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-lang-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
}
.ms-auto { margin-left: auto; }
.sidebar-theme-switch {
  display: flex;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  padding: 4px;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.theme-opt {
  flex: 1;
  text-align: center;
  padding: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.theme-opt.active {
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* CONTENT BODY */
.dash-content-body {
  flex: 1;
  padding: 24px 30px 60px;
  overflow-y: auto;
}

/* TOP INFO CARD (Instruction text requested by user) */
.dash-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid var(--primary-blue);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.info-icon-box {
  width: 40px;
  height: 40px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.info-content-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.info-content-text p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}
.text-silver {
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}
.highlight-link {
  color: var(--primary-blue);
  font-weight: 700;
  text-decoration: underline;
}

/* TWO-COLUMN FAUCET GRID */
.dash-faucet-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

/* CLAIM CARD (LEFT) */
.faucet-claim-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.card-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.head-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}
.current-tier-badge.silver {
  background: #e0f2fe;
  color: #0284c7;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.claim-payout-preview {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-bottom: 20px;
}
.payout-txt {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}
.payout-big-number {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: #0ea5e9;
  line-height: 1.2;
  margin: 2px 0;
}
.crypto-unit {
  font-size: 1.2rem;
  color: var(--text-dark);
}
.payout-desc {
  font-size: 0.78rem;
  color: #10b981;
  font-weight: 600;
}

/* Lucky Roll Slots */
.lucky-roll-slots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}
.slot-num {
  width: 48px;
  height: 62px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: #0ea5e9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* Captcha Interactive Verification */
.captcha-interactive-box {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.captcha-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.captcha-checkbox-label input {
  display: none;
}
.custom-chk {
  width: 26px;
  height: 26px;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.captcha-checkbox-label input:checked + .custom-chk {
  background: #10b981;
  border-color: #10b981;
}
.captcha-checkbox-label input:checked + .custom-chk::after {
  content: '✓';
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}
.captcha-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
}
.captcha-badge-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #6b7280;
  font-size: 0.65rem;
}
.captcha-badge-icon i {
  font-size: 1.3rem;
  color: #3b82f6;
  margin-bottom: 2px;
}

.btn-claim-faucet {
  padding: 15px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
}

/* ========================================================
   RIGHT: NEW MODERN LEVEL SYSTEM (CARDS / TIER STEPPER)
   (Replaces the old boring table with modern cards)
======================================================== */
.level-system-container {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.level-system-header {
  background: #0f172a;
  color: #ffffff;
  padding: 18px 22px;
}
.ls-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ls-progress-wrap {
  background: rgba(255,255,255,0.08);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 6px;
}
.prog-label strong {
  color: #38bdf8;
}
.prog-bar-track {
  height: 8px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  overflow: hidden;
}
.prog-bar-fill {
  height: 100%;
  width: 0%;
  min-width: 0;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
  border-radius: 6px;
  transition: width 0.4s ease;
}

/* Level Cards List */
.modern-level-cards-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.level-card-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  background: #ffffff;
  transition: var(--transition);
}
.level-card-item:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.lvl-icon-pill {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-right: 12px;
}
.lvl-icon-pill.stone { background: #f1f5f9; color: #64748b; }
.lvl-icon-pill.iron { background: #e2e8f0; color: #475569; }
.lvl-icon-pill.bronze { background: #fef3c7; color: #d97706; }
.lvl-icon-pill.silver { background: #e0f2fe; color: #0284c7; }
.lvl-icon-pill.gold { background: #fef08a; color: #ca8a04; }
.lvl-icon-pill.platinum { background: #cffafe; color: #0891b2; }
.lvl-icon-pill.diamond { background: #e0e7ff; color: #4f46e5; }
.lvl-icon-pill.master { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; }

.lvl-name-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lvl-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}
.lvl-req {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.lvl-payout {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
}

/* ACTIVE LEVEL HIGHLIGHT (SILVER) */
.level-card-item.active-current-level {
  background: #f0f9ff;
  border: 1.5px solid #0ea5e9;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
}
.lvl-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.current-tag {
  background: #0ea5e9;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}
.active-payout {
  color: #0284c7;
  font-size: 0.95rem;
}

/* Master VIP Highlight */
.level-card-item.master-card {
  background: linear-gradient(135deg, #fffbeb, #ffffff);
  border: 1px solid #fde68a;
}
.master-payout {
  color: #d97706;
}

/* Responsive sidebar */
@media (max-width: 992px) {
  .dash-faucet-grid {
    grid-template-columns: 1fr;
  }
  .dash-sidebar {
    position: fixed;
    top: 65px;
    bottom: 0;
    left: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
}

.scale-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.scale-row strong {
  color: var(--primary-blue);
}
.scale-row.jackpot strong {
  color: #f59e0b;
}

/* Dice Multiplier */
.dice-center-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1;
}
.dice-status-msg {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 8px 0 24px;
}
.dice-controls-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: left;
}
.dice-control-item label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.bet-input-wrap {
  display: flex;
  gap: 4px;
}
.bet-input-wrap input, .readonly-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--bg-card);
}
.bet-input-wrap button {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.dice-action-buttons {
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.btn-roll-under, .btn-roll-over {
  flex: 1;
  padding: 13px;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
}
.btn-roll-under { background: #ef4444; }
.btn-roll-over { background: #10b981; }

.ref-input-box {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
}
.ref-input-box input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  background: var(--bg-card);
  color: var(--text-dark);
}
.ref-stats-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.stat-bubble .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-blue);
}
.stat-bubble .sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 20px;
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 34px 28px;
  box-shadow: var(--shadow-modal);
  position: relative;
  transform: scale(0.94) translateY(15px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}
.btn-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-card-subtle);
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-modal-close:hover {
  color: var(--text-dark);
  background: var(--border-light);
}

.toast-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast-msg {
  background: var(--text-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-modal);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastFade 0.25s ease;
}
@keyframes toastFade {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 992px) {
  .hero-layout-swapped {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .hero-text-content {
    order: 1;
    text-align: center;
    margin: 0 auto;
  }
  .hero-illustration-wrapper {
    order: 2;
    max-width: 340px;
    margin: 0 auto;
  }
  .hero-illustration-wrapper img {
    max-width: 100%;
    height: auto;
  }
  .hero-subheading {
    margin: 0 auto 28px;
    font-size: 1.02rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-trust-badges {
    justify-content: center;
    gap: 12px;
  }
  .grid-4-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 650px) {
  .hero-section {
    padding: 34px 0 36px;
  }
  .hero-heading {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .hero-subheading {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 24px;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 1rem;
  }
  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .hero-illustration-wrapper {
    max-width: 250px;
  }
  .section-block {
    padding: 36px 0;
  }
  .section-heading {
    font-size: 1.75rem;
  }
  .grid-2x2, .grid-3-col, .grid-4-col, .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .clean-card {
    padding: 20px 18px;
  }
  .container {
    padding: 0 16px;
  }
  .nav-container {
    padding: 0 16px;
  }
  .auth-btn-group .btn-login,
  .auth-btn-group .btn-signup {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .grid-2x2 .clean-card {
    flex-direction: column;
  }
  .dash-top-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .dash-bal-group {
    text-align: center;
  }
  .dash-quick-btns {
    justify-content: center;
  }
  .contact-action-banner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .dice-controls-box {
    grid-template-columns: 1fr;
  }
  .deposit-copy-bar input,
  .withdraw-input-with-icon input {
    font-size: 0.8rem;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .hero-heading {
    font-size: 1.75rem !important;
  }
  .brand-name {
    font-size: 1.2rem;
  }
  .auth-btn-group {
    display: none;
  }
}

/* ========================================================
   PROVABLY FAIR ARCADE (12 GAMES GRID - IMAGE 2 REPLICA)
======================================================== */
.games-arcade-wrapper {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

/* Level Progress Banner Matching Faucet Page - Narrower & Centered */
.games-level-banner {
  max-width: 520px;
  margin: 0 auto 24px;
}
.games-level-banner .ls-progress-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 18px;
  border-radius: 12px;
}
body.dark-mode .games-level-banner .ls-progress-wrap {
  background: #1a2337;
  border-color: #1e293b;
}
.games-level-banner .prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}
body.dark-mode .games-level-banner .prog-label {
  color: #94a3b8;
}
.games-level-banner .prog-label strong {
  color: #0284c7;
}
.games-level-banner .prog-bar-track {
  height: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
}
body.dark-mode .games-level-banner .prog-bar-track {
  background: #1e293b;
  border-color: #334155;
}
.games-level-banner .prog-bar-fill {
  height: 100%;
  width: 0%;
  min-width: 0;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
  border-radius: 6px;
  transition: width 0.4s ease;
}

/* 11 GAMES RESPONSIVE GRID MATCHING VIDEO */
.games-grid-11 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.arcade-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.22s ease;
  user-select: none;
  text-decoration: none;
}
.arcade-game-card:hover {
  transform: translateY(-5px);
}

.game-artwork {
  width: 100%;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.22s ease;
}
.arcade-game-card:hover .game-artwork {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.art-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.card-brand-overlay {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
  z-index: 5;
}

.card-brand-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0,0,0,0.65);
  line-height: 1.1;
}

.card-brand-sub {
  font-size: 0.52rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  margin-top: 2px;
}

.game-name {
  margin-top: 10px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  transition: color 0.15s ease;
}
body.dark-mode .game-name {
  color: #cbd5e1;
}
.arcade-game-card:hover .game-name {
  color: #0284c7;
}

/* 11 Game Card Background Gradients Matching Video */
.card-dice .game-artwork {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 45%, #6366f1 100%);
}

.card-slots .game-artwork {
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #be185d 100%);
}

.card-gems .game-artwork {
  background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 50%, #10b981 100%);
}

.card-mines .game-artwork {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ef4444 100%);
}

.card-poker .game-artwork {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0284c7 100%);
}

.card-baccarat .game-artwork {
  background: linear-gradient(135deg, #fbcfe8 0%, #fda4af 50%, #fb7185 100%);
}

.card-hilo .game-artwork {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
}

.card-roulette .game-artwork {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #78350f 100%);
}

.card-wheel .game-artwork {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 50%, #6366f1 100%);
}

.card-plinko .game-artwork {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #60a5fa 100%);
}

.card-limbo .game-artwork {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0369a1 100%);
}

/* Responsive games grid - exactly 3 columns on tablets and mobile matching Image 2 */
@media (max-width: 920px) {
  .games-grid-11 {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .games-grid-11 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
}

/* ========================================================
   AUTHENTIC DICE GAME PAGE STYLING (EXACT IMAGE REPLICA)
======================================================== */
.game-page-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.btn-back-games {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.btn-back-games:hover {
  background: #f0f9ff;
  color: #0ea5e9;
  border-color: #0ea5e9;
  transform: translateX(-3px);
}

body.dark-mode .btn-back-games {
  background: #131a29;
  border-color: #1e293b;
  color: #f8fafc;
}
body.dark-mode .btn-back-games:hover {
  background: #1a2337;
  color: #38bdf8;
  border-color: #38bdf8;
}

.game-page-title-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--text-dark);
}

body.dark-mode .game-page-title-badge {
  color: #f8fafc;
}

.dice-icon-pill {
  width: 34px;
  height: 34px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.dice-page-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

body.dark-mode .dice-page-wrapper {
  background: #131a29;
  border-color: #1e293b;
}

.dice-console-container {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

body.dark-mode .dice-console-container {
  background: #101624 !important;
  border-color: #1e293b !important;
}

/* ========================================================
   MODERN STACKED DICE CARDS LAYOUT (USER SCREENSHOT EXACT)
======================================================== */
.dice-modern-console {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.dice-clean-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

body.dark-mode .dice-clean-card {
  background: #131a29 !important;
  border-color: #1e293b !important;
}

.dice-clean-card .dice-field-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #15803d; /* Vibrant Green label matching image */
  margin-bottom: 8px;
}

body.dark-mode .dice-clean-card .dice-field-label {
  color: #4ade80 !important;
}

.dice-clean-card .dice-input-wrapper {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  min-height: 48px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

body.dark-mode .dice-clean-card .dice-input-wrapper {
  background: #0b0f19 !important;
  border-color: #334155 !important;
}

.dice-clean-card .dice-input-wrapper input {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #0f172a;
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  flex: 1;
}

body.dark-mode .dice-clean-card .dice-input-wrapper input {
  color: #f8fafc !important;
}

/* Green 2X & 1/2 buttons container */
.dice-card-bets .bet-action-btns {
  display: flex;
  align-items: center;
  background: #84cc16; /* Lime Green block matching screenshot */
  border-radius: 6px;
  overflow: hidden;
  margin-left: 8px;
}

.dice-card-bets .btn-dice-math {
  background: transparent !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  padding: 8px 14px !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dice-card-bets .btn-dice-math:hover {
  background: rgba(0,0,0,0.1) !important;
}

.dice-card-bets .btn-dice-math:first-child {
  border-right: 1px solid rgba(255,255,255,0.4) !important;
}

/* Shuffle/Switch button */
.btn-switch-shuffle {
  background: transparent;
  border: none;
  color: #84cc16; /* Green shuffle icon matching image */
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px 10px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.btn-switch-shuffle:hover {
  transform: rotate(180deg);
  color: #65a30d;
}

/* Multiplier & Win Chance Duo */
.dice-stats-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.dice-unit-green {
  font-size: 1.15rem;
  font-weight: 800;
  color: #84cc16; /* Fresh lime green unit matching image */
  margin-left: 8px;
}

/* Action Row (Switch on Left + Bright Blue ROLL DICE button) */
.dice-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 4px 0;
}

.dice-mode-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.dice-toggle-switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 28px;
}

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

.dice-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #f97316; /* Vibrant Orange switch background from user image */
  border-radius: 34px;
  transition: 0.3s;
}

.dice-toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.dice-toggle-switch input:checked + .dice-toggle-slider {
  background-color: #0ea5e9;
}

.dice-toggle-switch input:checked + .dice-toggle-slider:before {
  transform: translateX(30px);
}

.dice-mode-caption {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

body.dark-mode .dice-mode-caption {
  color: #94a3b8;
}

/* Bright Blue ROLL DICE Button (Refined Sleek Size) */
.btn-dice-blue-roll {
  flex: 1;
  background: #38bdf8 !important; /* Bright cyan/blue matching screenshot */
  color: #ffffff !important;
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  padding: 11px 20px !important;
  min-height: 44px;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(56, 189, 248, 0.35) !important;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-dice-blue-roll:hover {
  background: #0ea5e9 !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(14, 165, 233, 0.42) !important;
}

.btn-dice-blue-roll:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* Slider Clean Card & Slim Center Line */
.dice-card-slider {
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 12px;
}

.dice-card-slider .slider-track-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: transparent !important;
  box-shadow: none !important;
  height: 48px;
  position: relative;
  margin: 0;
}

.slider-endpoint-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: #334155;
  font-family: var(--font-mono);
  user-select: none;
}

body.dark-mode .slider-endpoint-label {
  color: #cbd5e1;
}

.slider-slim-track {
  flex: 1;
  position: relative;
  height: 8px; /* Slim/bareek line matching screenshot */
  border-radius: 999px;
  background: #e2e8f0;
  display: flex;
}

body.dark-mode .slider-slim-track {
  background: #334155;
}

.slider-slim-track .track-bar-loss {
  height: 100%;
  background: #ef4444; /* Clean Red loss section */
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
  transition: width 0.05s ease;
}

.slider-slim-track .track-bar-win {
  height: 100%;
  background: #22c55e; /* Clean Green win section */
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  transition: width 0.05s ease;
}

.slider-slim-track #diceRangeSlider {
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 40px;
  opacity: 0;
  cursor: pointer;
  z-index: 20;
  margin: 0;
}

.slider-slim-track .slider-handle-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 38px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
  transition: left 0.05s ease;
}

body.dark-mode .slider-slim-track .slider-handle-thumb {
  background: #1e293b;
  border-color: #475569;
}

.slider-slim-track .thumb-lines {
  font-size: 0.85rem;
  font-weight: 800;
  color: #60a5fa; /* Blue vertical ribs ||| */
  letter-spacing: 2px;
}

/* Floating Roll Result Pointer inside slim track */
.slider-slim-track .roll-result-pointer {
  position: absolute;
  top: -46px;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  z-index: 30;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  pointer-events: none;
  transition: left 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2), background 0.2s ease;
  white-space: nowrap;
}

.slider-slim-track .roll-result-pointer.loss {
  background: #f97316;
}
.slider-slim-track .roll-result-pointer.loss .pointer-arrow {
  border-top-color: #f97316;
}

.slider-slim-track .roll-result-pointer.win {
  background: #84cc16;
}
.slider-slim-track .roll-result-pointer.win .pointer-arrow {
  border-top-color: #84cc16;
}

/* ========================================================
   MODERN AUTO SETTINGS CONSOLE (MATCHING USER SCREENSHOT)
======================================================== */
.game-auto-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  animation: fadeIn 0.25s ease-in-out;
  margin-top: 6px;
}

.auto-twin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auto-config-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.dark-mode .auto-config-card {
  background: #131a29 !important;
  border-color: #1e293b !important;
}

.auto-config-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #15803d; /* Vibrant Green label matching image */
}

body.dark-mode .auto-config-label {
  color: #4ade80 !important;
}

.auto-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auto-radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.auto-radio-item input[type="radio"] {
  display: none;
}

.custom-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.custom-radio-circle i {
  font-size: 0.68rem;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
}

.auto-radio-item input[type="radio"]:checked + .custom-radio-circle {
  background: #22c55e; /* Green checkmark circle matching image */
  border-color: #22c55e;
}

.auto-radio-item input[type="radio"]:checked + .custom-radio-circle i {
  opacity: 1;
  transform: scale(1);
}

.radio-text {
  font-size: 0.90rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

body.dark-mode .radio-text {
  color: #cbd5e1;
}

.auto-inc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.auto-inc-input-box {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 8px;
  min-width: 75px;
  max-width: 95px;
  flex-shrink: 0;
}

body.dark-mode .auto-inc-input-box {
  background: #0f172a;
  border-color: #334155;
}

.auto-inc-input-box input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.90rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #0f172a;
  outline: none;
  text-align: center;
}

body.dark-mode .auto-inc-input-box input {
  color: #f8fafc;
}

.pct-green-sym {
  font-size: 0.92rem;
  font-weight: 800;
  color: #84cc16; /* Green % sign matching image */
  margin-left: 3px;
}

.auto-full-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
}

body.dark-mode .auto-full-card {
  background: #131a29 !important;
  border-color: #1e293b !important;
}

.auto-duo-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auto-input-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auto-boxed-input {
  min-height: 44px !important;
  padding: 4px 10px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
}

body.dark-mode .auto-boxed-input {
  background: #0b0f19 !important;
  border-color: #334155 !important;
}

@media (max-width: 576px) {
  .auto-twin-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .auto-duo-inputs {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
}

@media (max-width: 420px) {
  .auto-duo-inputs {
    grid-template-columns: 1fr !important;
  }
}

/* Left Panel */
.dice-left-panel {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
}

body.dark-mode .dice-left-panel {
  background: #131a29 !important;
  border-color: #1e293b !important;
}

/* Mode Tabs: Manual, Auto, Strategy */
.dice-mode-tabs {
  display: flex;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 18px;
}

body.dark-mode .dice-mode-tabs {
  background: #0b0f19 !important;
  border-color: #1e293b !important;
}

.dice-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.dice-tab-btn.active {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.dice-tab-btn.disabled-strategy {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Bet Amount field */
.dice-field-block {
  margin-bottom: 12px;
}

.dice-field-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
  text-transform: capitalize;
}

body.dark-mode .dice-field-label {
  color: #94a3b8;
}

.dice-input-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 4px 6px 4px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: border-color 0.2s ease;
}

.dice-input-wrapper:focus-within {
  border-color: #0ea5e9;
}

body.dark-mode .dice-input-wrapper {
  background: #0b0f19 !important;
  border-color: #1e293b !important;
}

.crypto-currency-icon {
  font-size: 1.05rem;
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.dice-input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  background: transparent;
  width: 100%;
}

body.dark-mode .dice-input-wrapper input {
  color: #f8fafc !important;
}

.readonly-wrapper {
  background: #f1f5f9;
}

body.dark-mode .readonly-wrapper {
  background: #1a2337 !important;
}

.bet-action-btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-dice-math {
  background: #0ea5e9;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-dice-math:hover {
  background: #0284c7;
}

.stepper-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.btn-step-arrow {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  width: 18px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #64748b;
  cursor: pointer;
}

body.dark-mode .btn-step-arrow {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

/* Quick presets row */
.quick-preset-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.btn-preset-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-preset-pill:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
  background: #f0f9ff;
}

body.dark-mode .btn-preset-pill {
  background: #0b0f19;
  border-color: #1e293b;
  color: #94a3b8;
}

/* Roll Dice Button */
.btn-roll-dice-main {
  background: #0ea5e9 !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  padding: 14px 20px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35) !important;
  margin-top: auto;
}

.btn-roll-dice-main:hover {
  background: #0284c7 !important;
  transform: translateY(-2px);
}

.btn-roll-dice-main:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* Right Panel */
.dice-right-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 14px;
}

/* Outcome Badge */
.dice-outcome-badge-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.dice-outcome-badge {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #334155;
  transition: all 0.25s ease;
}

.dice-outcome-badge.win {
  background: #dcfce7 !important;
  color: #15803d !important;
  border-color: #86efac !important;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

.dice-outcome-badge.loss {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.35);
}

body.dark-mode .dice-outcome-badge.neutral {
  background: #1a2337 !important;
  border-color: #1e293b !important;
  color: #f8fafc !important;
}

/* Interactive Slider Board */
.dice-slider-board {
  margin: 50px 0 35px;
  position: relative;
  padding: 0 16px;
}

.slider-track-container {
  position: relative;
  height: 20px;
  border-radius: 999px;
  background: #f1f5f9;
  display: flex;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
}

body.dark-mode .slider-track-container {
  background: #0b0f19;
}

.track-bar-loss {
  height: 100%;
  background: #ef4444; /* Red loss zone */
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
  transition: width 0.05s ease;
}

.track-bar-win {
  height: 100%;
  background: #22c55e; /* Green win zone */
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  transition: width 0.05s ease;
}

/* Floating Roll Result Pointer Bubble (Images 2 & 3 Replica) */
.roll-result-pointer {
  position: absolute;
  top: -46px;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  z-index: 25;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  pointer-events: none;
  transition: left 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2), background 0.2s ease;
  white-space: nowrap;
}

/* Loss pointer (Orange/Red badge with bottom arrow - Image 2) */
.roll-result-pointer.loss {
  background: #f97316; /* Bright vibrant Orange matching Image 2 */
}
.roll-result-pointer.loss .pointer-arrow {
  border-top-color: #f97316;
}

/* Win pointer (Vibrant Green badge with bottom arrow - Image 3) */
.roll-result-pointer.win {
  background: #84cc16; /* Vibrant Lime Green matching Image 3 */
}
.roll-result-pointer.win .pointer-arrow {
  border-top-color: #84cc16;
}

/* Triangle arrow pointing straight down at the roll point */
.pointer-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #f97316;
}

/* Transparent native range slider overlay */
#diceRangeSlider {
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 40px;
  opacity: 0;
  cursor: pointer;
  z-index: 20;
  margin: 0;
}

/* Visual Handle Thumb matching reference image */
.slider-handle-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
  transition: left 0.05s ease;
}

body.dark-mode .slider-handle-thumb {
  background: #1e293b;
  border-color: #475569;
}

.thumb-lines {
  font-size: 0.85rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 2px;
}

/* Scale Markings */
.slider-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #94a3b8;

}

/* Bottom 3-Box Controllers */
.dice-stats-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

body.dark-mode .dice-stats-trio {
  background: #131a29 !important;
  border-color: #1e293b !important;
}

.stat-trio-box {
  display: flex;
  flex-direction: column;
}

.trio-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #15803d; /* Fresh Green label matching image */
  margin-bottom: 6px;
}

body.dark-mode .trio-label {
  color: #4ade80 !important;
}

.trio-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

body.dark-mode .trio-input-wrap {
  background: #0b0f19 !important;
  border-color: #1e293b !important;
}

.trio-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  background: transparent;
  width: 100%;
}

body.dark-mode .trio-input-wrap input {
  color: #f8fafc !important;
}

.trio-unit {
  font-weight: 800;
  font-size: 0.95rem;
  color: #22c55e;
  margin-left: 6px;
}

.target-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.target-input-row .trio-input-wrap {
  flex: 1;
}

/* Red Condition Toggle Button */
.btn-toggle-condition {
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.btn-toggle-condition:hover {
  background: #dc2626;
  transform: scale(1.05);
}

/* History Section */
.dice-history-section {
  margin-top: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.history-tabs-header {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.hist-tab-btn {
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  padding: 6px 12px;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.hist-tab-btn.active {
  color: #0ea5e9;
  border-bottom-color: #0ea5e9;
}

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

.table-dice-history {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.table-dice-history th {
  text-align: left;
  padding: 8px 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid var(--border-light);
}

.table-dice-history td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-family: var(--font-mono);
}

body.dark-mode .table-dice-history td {
  border-bottom-color: rgba(255,255,255,0.05);
}

.hist-win-text {
  color: #10b981;
  font-weight: 700;
}

.hist-loss-text {
  color: #ef4444;
  font-weight: 700;
}

@media (max-width: 820px) {
  .dice-console-container, .slots-console-container {
    grid-template-columns: 1fr;
  }
  .dice-stats-trio {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   DICE TOP RECENT ROLLS PILLS (EXACT REPLICA OF IMAGE 1)
======================================================== */
.dice-top-pills-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 24px;
}

.dice-history-pill {
  padding: 5px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-block;
  transition: all 0.25s ease;
}

.dice-history-pill.loss {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.dice-history-pill.win {
  background: #84cc16; /* Vibrant lime green pill matching Image 1 (95.84) */
  color: #ffffff;
  border: 1px solid #65a30d;
  box-shadow: 0 2px 8px rgba(132, 204, 22, 0.35);
}

body.dark-mode .dice-history-pill.loss {
  background: #1a2337;
  color: #94a3b8;
  border-color: #334155;
}

/* Dice Auto Controls (On Loss / On Win) */
.dice-auto-box {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
}

body.dark-mode .dice-auto-box {
  background: #101624;
  border-color: #1e293b;
}

.dice-std-input {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  margin-bottom: 6px;
}

body.dark-mode .dice-std-input {
  background: #1a2337;
  border-color: #334155;
  color: #f8fafc;
}

.auto-action-choice-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.btn-auto-opt {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-auto-opt.active {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
}

body.dark-mode .btn-auto-opt {
  background: #1a2337;
  border-color: #334155;
  color: #94a3b8;
}

.auto-pct-input {
  width: 55px;
  padding: 4px 6px;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  background: #ffffff;
}

body.dark-mode .auto-pct-input {
  background: #1a2337;
  border-color: #334155;
  color: #f8fafc;
}

.pct-sym {
  font-weight: 800;
  color: #64748b;
  font-size: 0.85rem;
}

/* ========================================================
   CLASSIC 3-REEL SLOTS GAME CONSOLE (EXACT IMAGE 2 REPLICA)
======================================================== */
.slots-page-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

body.dark-mode .slots-page-wrapper {
  background: #131a29;
  border-color: #1e293b;
}

.slots-console-container {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

body.dark-mode .slots-console-container {
  background: #101624 !important;
  border-color: #1e293b !important;
}

.slots-left-panel {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
}

body.dark-mode .slots-left-panel {
  background: #131a29 !important;
  border-color: #1e293b !important;
}

/* Lines Selector: 1, 2, 3 buttons */
.slots-lines-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.btn-line-choice {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-line-choice.active {
  background: #ffffff;
  border-color: #0ea5e9;
  color: #0ea5e9;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}

body.dark-mode .btn-line-choice {
  background: #0b0f19;
  border-color: #1e293b;
  color: #94a3b8;
}

.slots-total-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 12px 0 16px;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 8px;
}

body.dark-mode .slots-total-summary {
  background: #1a2337;
}

.slots-total-summary strong {
  color: #0ea5e9;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

/* Vibrant Green Spin Button matching Image 2 */
.btn-slots-spin {
  background: #4ade80 !important; /* Soft energetic Green matching Image 2 */
  color: #14532d !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  padding: 15px 20px !important;
  border-radius: var(--radius-md) !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.35) !important;
  margin-top: auto;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-slots-spin:hover {
  background: #22c55e !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

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

/* Slots Right Panel: Reels Window */
.slots-right-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* Slots Top Multiplier Pills Row matching video */
.slots-top-pills-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  max-width: 580px;
  margin-bottom: 12px;
}

.slots-history-pill {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: var(--font-mono);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.slots-history-pill.win {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.slots-history-pill.loss {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

body.dark-mode .slots-history-pill.win {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.35);
}

body.dark-mode .slots-history-pill.loss {
  background: #1e293b;
  color: #94a3b8;
  border-color: #334155;
}

.slots-reels-stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

body.dark-mode .slots-reels-stage {
  background: #0b0f19;
  border-color: #1e293b;
}

.reels-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  z-index: 5;
}

.slot-reel-column {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  height: 270px;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.03);
}

body.dark-mode .slot-reel-column {
  background: #131a29;
  border-color: #1e293b;
}

/* Tape that scrolls UPWARDS when spinning */
.reel-strip-tape {
  display: flex;
  flex-direction: column;
  width: 100%;
  will-change: transform;
}

.reel-symbol-cell {
  height: 90px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

.reel-symbol-cell.faded-symbol {
  opacity: 0.18 !important;
  filter: grayscale(40%) blur(0.5px);
}

.slot-sym-svg {
  width: 58px;
  height: 58px;
  display: block;
  user-select: none;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1));
}

/* Payline Dashed Lines matching video */
.payline-guide {
  position: absolute;
  left: 20px;
  right: 20px;
  border-top: 2px dashed rgba(14, 165, 233, 0.2);
  z-index: 2;
  pointer-events: none;
}
.payline-guide.active {
  border-top: 2px dashed #0ea5e9;
}
.payline-guide.top { top: 62px; }
.payline-guide.mid { top: 153px; }
.payline-guide.bot { top: 244px; }

/* Payline Arrow Markers */
.payline-marker {
  position: absolute;
  font-size: 1.1rem;
  color: #cbd5e1;
  z-index: 10;
  transition: all 0.2s ease;
}
.payline-marker.active {
  color: #0ea5e9;
  filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.5));
}
.payline-marker.left { left: 4px; }
.payline-marker.right { right: 4px; }
.payline-marker.top { top: 52px; }
.payline-marker.mid { top: 143px; }
.payline-marker.bot { top: 234px; }

/* Payline Multiplier Badge Overlay (x5, x10, x2, x1) */
.payline-win-overlay-layer {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  height: 270px;
  pointer-events: none;
  z-index: 25;
}

.payline-multiplier-badge {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 1.35rem;
  font-weight: 900;
  padding: 4px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  letter-spacing: 0.5px;
  border: 2px solid #ffffff;
  animation: popInMultBadge 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.dark-mode .payline-multiplier-badge {
  background: #020617;
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

@keyframes popInMultBadge {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.payline-multiplier-badge.top { top: 45px; }
.payline-multiplier-badge.mid { top: 135px; }
.payline-multiplier-badge.bot { top: 225px; }

/* Outcome Ribbon */
.slots-outcome-ribbon {
  margin-top: 18px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  min-height: 26px;
}

body.dark-mode .slots-outcome-ribbon {
  color: #94a3b8;
}

.slots-outcome-ribbon.win {
  color: #10b981 !important;
  font-size: 1.1rem;
}

/* Slots Paytable Card */
.slots-paytable-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

body.dark-mode .slots-paytable-card {
  background: #131a29;
  border-color: #1e293b;
}

.paytable-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.paytable-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

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

.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 800;
}

body.dark-mode .pay-row {
  background: #0b0f19;
  border-color: #1e293b;
}

.pay-row span:first-child {
  color: #0ea5e9;
  font-family: var(--font-mono);
}

.sym-group {
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.wildcard-note {
  font-size: 0.85rem;
  color: #d97706;
}

/* Active Auto-Betting / Auto-Spinning Action State */
.btn-hero-signup.btn-auto-running,
.btn-slots-spin.btn-auto-running {
  background: #ef4444 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45) !important;
  animation: pulseAutoBtn 1.2s infinite alternate;
}

@keyframes pulseAutoBtn {
  0% { transform: scale(1); opacity: 0.92; }
  100% { transform: scale(1.02); opacity: 1; }
}

/* ========================================================
   GEMS (TOWER) GAME STYLES (VIDEO 2 REPLICA)
======================================================== */
.gems-page-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.gems-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

body.dark-mode .gems-main-card {
  background: #131a29;
  border-color: #1e293b;
}

.gems-total-profit-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 700;
}

body.dark-mode .gems-total-profit-bar {
  background: #0b0f19;
  border-color: #1e293b;
}

.profit-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.profit-amount-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: var(--font-mono);
}

/* 10-Tier Tower Grid */
.gems-tower-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  margin-bottom: 22px;
}

.gems-tier-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.tier-caret {
  color: transparent;
  font-size: 1.15rem;
  width: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.gems-tier-row.active .tier-caret {
  color: #0ea5e9;
  filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.5));
}

.tier-blocks-grid {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 440px;
}

.tier-blocks-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tier-blocks-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gems-block {
  height: 44px;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: #64748b;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-mono);
}

body.dark-mode .gems-block {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

/* When the tier is ACTIVE (playable) */
.gems-tier-row.active .gems-block {
  background: #0f172a;
  border-color: #334155;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

body.dark-mode .gems-tier-row.active .gems-block {
  background: #020617;
  border-color: #38bdf8;
  color: #ffffff;
}

.gems-tier-row.active .gems-block:hover {
  transform: translateY(-2px);
  background: #1e293b;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

/* Revealed Gem Tile */
.gems-block.revealed-gem {
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 1.25rem !important;
  border-color: #0ea5e9 !important;
}

/* Revealed Mine Tile */
.gems-block.revealed-mine {
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 1.25rem !important;
  border-color: #dc2626 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.5) !important;
}

/* Dimmed reveal (after game ends) */
.gems-block.revealed-ghost {
  opacity: 0.45;
  font-size: 1.1rem;
}

/* Big Green Cashout Banner Overlay matching 00:20 in Video */
.gems-cashout-tier-overlay {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  bottom: 0;
  background: #22c55e;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.45);
  animation: popInTierBanner 0.25s ease;
}

@keyframes popInTierBanner {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.cashout-overlay-mult {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.1;
}

.cashout-overlay-profit {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.95;
}

/* Difficulty Selector Radios */
.gems-difficulty-selector {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
}

body.dark-mode .gems-difficulty-selector {
  background: #0b0f19;
  border-color: #1e293b;
}

.diff-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  user-select: none;
}

.diff-radio-label input {
  display: none;
}

.radio-custom {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.diff-radio-label.active .radio-custom {
  border-color: #22c55e;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.diff-radio-label.active .radio-custom::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

/* Action Button: START / CASHOUT */
.btn-gems-action {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.btn-gems-action.start {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn-gems-action.start:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

.btn-gems-action.cashout {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  animation: pulseAutoBtn 1.2s infinite alternate;
}

.btn-gems-action.cashout:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

.btn-gems-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Clickable Bet Row Styles for Bet Info Modal */
.clickable-bet-row {
  cursor: pointer !important;
  transition: background-color 0.18s ease !important;
}
.clickable-bet-row:hover {
  background: rgba(14, 165, 233, 0.12) !important;
}
.clickable-bet-row td {
  cursor: pointer !important;
}

/* ========================================================
   1. MINES GAME STYLES (WHITE THEME - MATCHING SITE DESIGN)
   ======================================================== */
.mines-page-wrapper {
  max-width: 540px;
  margin: 0 auto;
}

.mines-main-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  position: relative;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

body.dark-mode .mines-main-card {
  background: #131a29;
  border-color: #1e293b;
}

.mines-top-status-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.mines-status-pill {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
}

body.dark-mode .mines-status-pill {
  background: #0f172a;
  border-color: #1e293b;
}

.mines-status-pill .pill-label {
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  font-weight: 600;
  text-transform: uppercase;
}

.mines-status-pill .pill-val {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2px;
  color: #0f172a;
}

body.dark-mode .mines-status-pill .pill-val {
  color: #f8fafc;
}

.mines-grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 15px 0 22px 0;
}

.mines-tile {
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  user-select: none;
}

body.dark-mode .mines-tile {
  background: #1e293b;
  border-color: #334155;
}

.mines-tile:hover:not(:disabled) {
  border-color: #0284c7;
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.15);
}

.mines-tile.revealed-gem {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #059669 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  animation: tilePopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mines-tile.revealed-bomb {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #dc2626 !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
  animation: bombShake 0.4s ease-in-out;
}

.mines-tile.revealed-dimmed {
  opacity: 0.45;
  filter: grayscale(40%);
}

@keyframes tilePopIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes bombShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.mines-win-overlay {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 2px solid #10b981;
  border-radius: 18px;
  padding: 18px 36px;
  text-align: center;
  z-index: 20;
  box-shadow: 0 10px 35px rgba(16, 185, 129, 0.25);
  animation: tilePopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.dark-mode .mines-win-overlay {
  background: #0f172a;
}

.win-mult-badge {
  font-size: 2.2rem;
  font-weight: 800;
  color: #059669;
}

.win-profit-amount {
  font-size: 1.1rem;
  color: #10b981;
  font-weight: 600;
  margin-top: 4px;
}

.mines-config-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}

.mines-config-group {
  flex: 1;
}

.mines-config-group label {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.form-select-mines {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

body.dark-mode .form-select-mines {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.gems-count-badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  text-align: center;
}

.btn-mines-action {
  width: 100%;
  background: #0284c7;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

.btn-mines-action.cashout {
  background: #ec4899 !important;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.35);
  animation: pulseCashout 1.2s infinite alternate;
}

@keyframes pulseCashout {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.015); filter: brightness(1.1); }
}

/* ========================================================
   2. VIDEO POKER STYLES (TRONPICK WHITE THEME IDENTICAL)
   ======================================================== */
.poker-page-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 0 30px;
}

.poker-main-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 22px 18px 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

body.dark-mode .poker-main-card {
  background: #182234;
  border-color: #273549;
}

/* Paytable: Vertical stack of 9 rows */
.poker-paytable-vlist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.poker-pay-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  user-select: none;
}

.poker-pay-row .pay-title-box {
  flex: 1;
  background: #eceff1;
  border-radius: 6px;
  padding: 7px 12px;
  color: #546e7a;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.poker-pay-row .pay-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #90a4ae;
  display: inline-block;
}

.poker-pay-row .pay-mult-box {
  background: #eceff1;
  border-radius: 6px;
  padding: 7px 12px;
  color: #546e7a;
  min-width: 72px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
  transition: background 0.2s ease, color 0.2s ease;
}

body.dark-mode .poker-pay-row .pay-title-box,
body.dark-mode .poker-pay-row .pay-mult-box {
  background: #222f44;
  color: #94a3b8;
}

body.dark-mode .poker-pay-row .pay-dot {
  background: #64748b;
}

/* Winning hand active highlight */
.poker-pay-row.active-winner .pay-title-box,
.poker-pay-row.active-winner .pay-mult-box {
  background: #dcfce7 !important;
  color: #15803d !important;
  font-weight: 800;
}

.poker-pay-row.active-winner .pay-dot {
  background: #16a34a !important;
}

/* Cards Tray */
.poker-cards-tray {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 20px 4px 10px;
  min-height: 140px;
  align-items: flex-end;
  perspective: 1000px;
}

.poker-card-ele {
  aspect-ratio: 2 / 3;
  width: 100%;
  max-width: 82px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  position: relative;
  transform-style: preserve-3d;
}

/* Idle / Card back design */
.poker-card-ele .card-back-design {
  width: 100%;
  height: 100%;
  background: #009fe3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 3px 8px rgba(0, 159, 227, 0.25);
}

.poker-card-ele .card-back-design::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  pointer-events: none;
}

.poker-card-ele .card-back-design .back-center-circle {
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #009fe3;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Dealt Card Face */
.poker-card-ele .card-face-design {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 6px 4px;
}

.poker-card-ele .card-face-design .c-rank {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.05;
  font-family: inherit;
}

.poker-card-ele .card-face-design .c-suit {
  font-size: 1.45rem;
  line-height: 1;
  margin-top: 4px;
}

.poker-card-ele .card-face-design.suit-red {
  color: #ef4444;
}

.poker-card-ele .card-face-design.suit-black {
  color: #334155;
}

/* HELD STATE: Exactly lifts card up by 16px */
.poker-card-ele.held {
  transform: translateY(-16px);
}

.poker-card-ele.held .card-face-design {
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.16);
  border-color: #94a3b8;
}

/* 3D Card Flip Animation */
@keyframes pokerCardSpinFlip {
  0% { transform: rotateY(0deg) scale(1); }
  50% { transform: rotateY(90deg) scale(0.93); }
  100% { transform: rotateY(0deg) scale(1); }
}

@keyframes pokerHeldSpinFlip {
  0% { transform: translateY(-16px) rotateY(0deg) scale(1); }
  50% { transform: translateY(-16px) rotateY(90deg) scale(0.93); }
  100% { transform: translateY(-16px) rotateY(0deg) scale(1); }
}

.poker-card-ele.card-flip-active {
  animation: pokerCardSpinFlip 0.35s ease-in-out;
}

.poker-card-ele.held.card-flip-active {
  animation: pokerHeldSpinFlip 0.35s ease-in-out;
}

/* Action button (BET / DEAL) */
.poker-action-btn-row {
  display: flex;
  justify-content: center;
  margin: 18px 0 22px;
}

.btn-poker-bet-deal {
  min-width: 170px;
  height: 44px;
  background: #009fe3;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 159, 227, 0.3);
  transition: all 0.2s ease;
}

.btn-poker-bet-deal:hover:not(:disabled) {
  opacity: 0.94;
  transform: translateY(-1px);
}

.btn-poker-bet-deal.state-deal {
  background: #84cc16;
  box-shadow: 0 3px 10px rgba(132, 204, 22, 0.3);
}

.btn-poker-bet-deal:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

/* Bet Input Section */
.poker-bet-input-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poker-bet-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #16a34a;
}

.poker-bet-input-box {
  display: flex;
  align-items: center;
  background: #eceff1;
  border-radius: 6px;
  overflow: hidden;
  height: 42px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.poker-bet-input-box:focus-within {
  border-color: #94a3b8;
}

body.dark-mode .poker-bet-input-box {
  background: #222f44;
}

.poker-bet-input-box .currency-icon-tag {
  padding: 0 12px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  color: #ef4444;
}

.poker-bet-input-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  padding: 0 6px;
  font-variant-numeric: tabular-nums;
}

body.dark-mode .poker-bet-input-box input {
  color: #f1f5f9;
}

.poker-bet-input-box.disabled-input {
  opacity: 0.65;
  cursor: not-allowed;
}

.poker-bet-input-box.disabled-input input {
  cursor: not-allowed;
  pointer-events: none;
}

.poker-math-buttons {
  display: flex;
  height: 100%;
}

.btn-poker-math {
  background: #84cc16;
  color: #ffffff;
  border: none;
  padding: 0 16px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-poker-math:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-poker-math:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-poker-math:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* History Box Matching Video Frame */
.poker-page-wrapper .dice-history-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  margin-top: 20px;
}

body.dark-mode .poker-page-wrapper .dice-history-section {
  background: #182234;
  border-color: #273549;
}

/* ========================================================
   3. BACCARAT STYLES (TRONPICK WHITE THEME IDENTICAL)
   ======================================================== */
.baccarat-page-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 0 30px;
}

.baccarat-main-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 22px 18px 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

body.dark-mode .baccarat-main-card {
  background: #182234;
  border-color: #273549;
}

/* Baccarat Table Board matching Frame 20 */
.bac-table-board {
  background: #fbfcfd;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 18px 12px;
  min-height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.dark-mode .bac-table-board {
  background: #0f172a;
  border-color: #1e293b;
}

/* Left Shoe Deck Card */
.bac-shoe-deck-box {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 62px;
  z-index: 5;
}

.bac-shoe-deck-box .card-back-design {
  width: 100%;
  height: 100%;
  background: #009fe3;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 159, 227, 0.25);
}

.bac-shoe-deck-box .card-back-design::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  pointer-events: none;
}

.bac-shoe-deck-box .back-center-circle {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #009fe3;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Center Tableau */
.bac-center-tableau {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: 340px;
  gap: 12px;
}

.bac-hand-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 125px;
  justify-content: center;
}

.bac-cards-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  min-height: 84px;
}

.bac-card-slot {
  width: 56px;
  height: 82px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.bac-card-slot.placeholder-card {
  border: 1.5px dashed #cbd5e1;
  background: transparent;
}

body.dark-mode .bac-card-slot.placeholder-card {
  border-color: #334155;
}

.bac-card-slot .card-face-design {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 4px 2px;
}

.bac-card-slot.win-border .card-face-design {
  border: 2px solid #22c55e !important;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.35) !important;
}

.bac-card-slot .c-rank {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.05;
}

.bac-card-slot .c-suit {
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
}

.bac-score-pill {
  background: #eceff1;
  color: #546e7a;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

body.dark-mode .bac-score-pill {
  background: #222f44;
  color: #94a3b8;
}

.bac-score-pill.winner {
  background: #22c55e !important;
  color: #ffffff !important;
}

/* Center Badge Area */
.bac-center-badge-area {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.bac-tie-rule-pill {
  background: #eceff1;
  color: #546e7a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

body.dark-mode .bac-tie-rule-pill {
  background: #222f44;
  color: #94a3b8;
}

.bac-win-floating-badge {
  background: #0f172a;
  border: 2px solid #22c55e;
  border-radius: 8px;
  padding: 8px 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
  animation: zoomInBadge 0.25s ease;
}

@keyframes zoomInBadge {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.bac-win-floating-badge .win-mult {
  font-size: 1.15rem;
  font-weight: 800;
  color: #22c55e;
  line-height: 1.2;
}

.bac-win-floating-badge .win-amt {
  font-size: 0.8rem;
  font-weight: 700;
  color: #22c55e;
  font-variant-numeric: tabular-nums;
}

/* Action button row */
.bac-action-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 18px 0 16px;
}

.bac-auto-label {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}

.bac-auto-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #009fe3;
}

/* "Bet On" Section */
.bac-bet-on-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bac-bet-on-box {
  display: flex;
  gap: 10px;
  background: #fbfcfd;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 14px;
}

body.dark-mode .bac-bet-on-box {
  background: #1e293b;
  border-color: #334155;
}

.bac-radio-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.bac-radio-pill .radio-check-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: transparent;
  transition: all 0.2s;
}

.bac-radio-pill.active .radio-check-circle {
  border-color: #22c55e;
  background: #22c55e;
  color: #ffffff;
}

.bac-radio-pill.active .radio-text {
  color: #0f172a;
}

body.dark-mode .bac-radio-pill.active .radio-text {
  color: #f8fafc;
}

/* History Box */
.baccarat-page-wrapper .dice-history-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  margin-top: 20px;
}

body.dark-mode .baccarat-page-wrapper .dice-history-section {
  background: #182234;
  border-color: #273549;
}

/* Card back 4 corner dots matching user uploaded image */
.card-back-design .card-corner-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
}
.card-back-design .dot-tl { top: 6px; left: 6px; }
.card-back-design .dot-tr { top: 6px; right: 6px; }
.card-back-design .dot-bl { bottom: 6px; left: 6px; }
.card-back-design .dot-br { bottom: 6px; right: 6px; }

/* ========================================================
   4. HI-LO GAME STYLES (TRONPICK WHITE THEME IDENTICAL)
   ======================================================== */
.hilo-page-wrapper {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 12px 30px;
  box-sizing: border-box;
}

.hilo-main-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px 20px 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

body.dark-mode .hilo-main-card {
  background: #182234;
  border-color: #273549;
}

/* Top Board Stage: King Left, Active Card Center, Ace Right */
.hilo-board-stage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fbfcfd;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 16px 14px;
  min-height: 170px;
}

body.dark-mode .hilo-board-stage {
  background: #0f172a;
  border-color: #1e293b;
}

.hilo-indicator-card {
  width: 60px;
  height: 94px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  text-align: center;
  user-select: none;
}

body.dark-mode .hilo-indicator-card {
  border-color: #334155;
}

.hilo-indicator-card .ind-rank {
  font-size: 1.15rem;
  font-weight: 800;
  color: #94a3b8;
  line-height: 1;
}

.hilo-indicator-card .ind-arrow {
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 4px 0;
}

.hilo-indicator-card .ind-sub {
  font-size: 0.5rem;
  font-weight: 800;
  color: #94a3b8;
  line-height: 1.15;
  letter-spacing: 0.3px;
}

/* Active Card Center */
.hilo-active-card-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hilo-card-box {
  width: 74px;
  height: 110px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.hilo-card-box .card-face-design {
  width: 100%;
  height: 100%;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 14px;
}

.hilo-card-box .card-face-design .c-rank {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.hilo-card-box .card-face-design .c-suit {
  font-size: 1.35rem;
  line-height: 1;
  margin-top: 5px;
}

.hilo-card-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #009fe3;
  box-shadow: 0 2px 0 #ffffff, 0 4px 0 #009fe3;
}

.hilo-card-box .card-back-design {
  width: 100%;
  height: 100%;
  background: #009fe3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hilo-card-box .card-back-design::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.hilo-card-box .card-back-design .back-center-circle {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #009fe3;
  font-weight: 800;
  font-size: 1rem;
}

/* Flying ghost card animation */
@keyframes hiloCardFlyLeft {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translate(-60px, 35px) scale(0.7) rotate(-10deg);
    opacity: 0.85;
  }
  100% {
    transform: translate(-140px, 75px) scale(0.4) rotate(-18deg);
    opacity: 0;
  }
}

.hilo-flying-ghost {
  position: absolute;
  top: 0;
  left: 0;
  width: 74px;
  height: 110px;
  z-index: 50;
  pointer-events: none;
  animation: hiloCardFlyLeft 0.38s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

/* 3D Spin Flip on next card */
@keyframes hiloCard3DFlip {
  0% {
    transform: rotateY(0deg) scale(0.96);
  }
  50% {
    transform: rotateY(90deg) scale(0.92);
  }
  100% {
    transform: rotateY(0deg) scale(1);
  }
}

.hilo-card-flip {
  animation: hiloCard3DFlip 0.36s ease-in-out;
}

/* Top Streak Strip matching Frame 40 */
.hilo-streak-strip {
  min-height: 60px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 0 16px;
  scroll-behavior: smooth;
}

body.dark-mode .hilo-streak-strip {
  background: #182234;
  border-color: #273549;
}

.hilo-streak-item {
  width: 36px;
  height: 48px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  line-height: 1.1;
  animation: hiloCardSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hiloCardSlideIn {
  from {
    opacity: 0;
    transform: translateX(16px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hilo-streak-item.suit-red { color: #ef4444; }
.hilo-streak-item.suit-black { color: #334155; }

.hilo-streak-item .c-rank { font-size: 0.95rem; font-weight: 800; }
.hilo-streak-item .c-suit { font-size: 0.85rem; }

.hilo-streak-arrow {
  font-size: 0.75rem;
  font-weight: 900;
  color: #16a34a;
  flex-shrink: 0;
}

/* Higher / Lower Action Buttons */
.hilo-guess-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.btn-hilo-guess {
  border: none;
  border-radius: 6px;
  padding: 12px 8px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-hilo-guess.higher {
  background: #facc15;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(250, 204, 21, 0.25);
}

.btn-hilo-guess.lower {
  background: #a855f7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.25);
}

.btn-hilo-guess:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-hilo-guess:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-hilo-guess .guess-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.btn-hilo-guess .guess-chance {
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 2px;
}

/* 4-Box Value Grid */
.hilo-quad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
}

.hilo-quad-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.hilo-quad-box .poker-bet-input-box {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.hilo-quad-box .poker-bet-input-box.readonly-box {
  background: #eceff1;
}

body.dark-mode .hilo-quad-box .poker-bet-input-box.readonly-box {
  background: #222f44;
}

.hilo-quad-box .poker-bet-input-box.readonly-box input {
  cursor: default;
  min-width: 0;
  width: 100%;
}

.hilo-quad-box .poker-bet-input-box input {
  min-width: 0;
  flex: 1 1 0%;
}

.hilo-quad-box .poker-math-buttons {
  flex-shrink: 0;
}

/* Bottom Action Button */
.hilo-action-btn-row {
  display: flex;
  justify-content: center;
}

.btn-poker-bet-deal.state-cashout {
  background: #fca5a5;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(252, 165, 165, 0.35);
}

.btn-poker-bet-deal.state-cashout:hover:not(:disabled) {
  background: #f87171;
}

/* History Box */
.hilo-page-wrapper .dice-history-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  margin-top: 20px;
}

body.dark-mode .hilo-page-wrapper .dice-history-section {
  background: #182234;
  border-color: #273549;
}

/* ========================================================
   5. EUROPEAN ROULETTE STYLES (TRONPICK VERTICAL IDENTICAL)
   ======================================================== */
.roulette-page-wrapper {
  max-width: 440px;
  margin: 0 auto;
  padding: 10px 0 30px;
}

.roulette-main-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 16px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

body.dark-mode .roulette-main-card {
  background: #182234;
  border-color: #273549;
}

/* 1. Top Bet Box matching Frame 45 */
.roul-top-bet-row {
  margin-bottom: 12px;
}

.roul-top-bet-row .poker-bet-input-box.readonly-box {
  background: #eceff1;
  height: 38px;
}

body.dark-mode .roul-top-bet-row .poker-bet-input-box.readonly-box {
  background: #222f44;
}

/* 2. Game History Section matching Frame 2 & 45 */
.roul-history-section {
  margin-bottom: 14px;
}

.roul-history-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 6px;
}

.roul-history-box {
  background: #fbfcfd;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  overflow-x: auto;
}

body.dark-mode .roul-history-box {
  background: #182234;
  border-color: #334155;
}

.roul-hist-pill {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.roul-hist-pill.bg-red { background: #dc2626; }
.roul-hist-pill.bg-black { background: #1e293b; }
.roul-hist-pill.bg-green { background: #16a34a; }

/* 3. Curved Wheel Display matching Frame 2 & 20 & 45 */
.roul-curved-wheel-stage {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.roul-wheel-arc-frame {
  width: 210px;
  height: 72px;
  background: #1e293b;
  border: 2px solid #475569;
  border-radius: 8px 8px 36px 36px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.roul-wheel-arc {
  display: flex;
  align-items: center;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transition: transform 3s cubic-bezier(0.1, 0.85, 0.25, 1);
  will-change: transform;
}

.roul-pocket {
  box-sizing: border-box;
  width: 38px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.roul-pocket.pocket-green { background: #16a34a; }
.roul-pocket.pocket-red { background: #dc2626; }
.roul-pocket.pocket-black { background: #0f172a; }

.roul-ball {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset -1px -1px 2px rgba(0,0,0,0.3);
  z-index: 10;
  transition: transform 0.3s ease;
}

.roul-ball.spinning {
  animation: roulBallJitter 0.1s infinite alternate;
}

@keyframes roulBallJitter {
  0% { transform: translate(-50%, -1px); }
  100% { transform: translate(-50%, 2px); }
}

/* 4. Vertical European Roulette Betting Board matching Frame 2 & 8 */
.roul-vertical-table {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 14px;
}

body.dark-mode .roul-vertical-table {
  border-color: #334155;
  background: #0f172a;
}

/* Zero row */
.roul-zero-row {
  display: flex;
  justify-content: center;
  background: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
}

body.dark-mode .roul-zero-row {
  background: #1e293b;
  border-color: #334155;
}

.roul-cell-zero {
  width: 228px;
  height: 32px;
  background: #16a34a;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: opacity 0.15s;
}

.roul-cell-zero:hover { opacity: 0.92; }

/* Main Table Body */
.roul-board-body {
  display: flex;
}

/* Left Outside Column (6 rows) */
.roul-outside-col {
  width: 58px;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border-right: 1px solid #cbd5e1;
}

body.dark-mode .roul-outside-col {
  background: #1e293b;
  border-color: #334155;
}

.roul-outside-cell {
  flex: 1;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid #cbd5e1;
  cursor: pointer;
  position: relative;
  text-align: center;
  padding: 2px 4px;
  transition: background 0.15s;
}

body.dark-mode .roul-outside-cell {
  color: #e2e8f0;
  border-color: #334155;
}

.roul-outside-cell:hover { background: #e2e8f0; }
body.dark-mode .roul-outside-cell:hover { background: #334155; }
.roul-outside-cell:last-child { border-bottom: none; }

.diamond-icon {
  font-size: 1.15rem;
  line-height: 1;
}
.diamond-icon.red { color: #dc2626; }
.diamond-icon.black { color: #1e293b; }
body.dark-mode .diamond-icon.black { color: #94a3b8; }

/* Center 3 Number Columns (12 rows) */
.roul-center-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.roul-num-row {
  display: flex;
  height: 26px;
  border-bottom: 1px solid #cbd5e1;
}

body.dark-mode .roul-num-row { border-color: #334155; }
.roul-num-row:last-child { border-bottom: none; }

.roul-num-cell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #ffffff;
  border-right: 1px solid #ffffff;
  cursor: pointer;
  position: relative;
  transition: opacity 0.15s;
}

.roul-num-cell:last-child { border-right: none; }
.roul-num-cell:hover { opacity: 0.88; }

.roul-num-cell.cell-red { background: #dc2626; }
.roul-num-cell.cell-black { background: #1e293b; }

/* Right Dozens Column (3 rows spanning 4 number rows each) */
.roul-dozens-col {
  width: 52px;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border-left: 1px solid #cbd5e1;
}

body.dark-mode .roul-dozens-col {
  background: #1e293b;
  border-color: #334155;
}

.roul-dozen-cell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid #cbd5e1;
  cursor: pointer;
  position: relative;
  text-align: center;
  transition: background 0.15s;
}

body.dark-mode .roul-dozen-cell {
  color: #e2e8f0;
  border-color: #334155;
}

.roul-dozen-cell:hover { background: #e2e8f0; }
body.dark-mode .roul-dozen-cell:hover { background: #334155; }
.roul-dozen-cell:last-child { border-bottom: none; }

/* Bottom Row: 3 Column Bets */
.roul-bottom-cols-row {
  display: flex;
  height: 28px;
  background: #f8fafc;
  border-top: 1px solid #cbd5e1;
}

body.dark-mode .roul-bottom-cols-row {
  background: #1e293b;
  border-color: #334155;
}

.roul-col-cell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  border-right: 1px solid #cbd5e1;
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}

body.dark-mode .roul-col-cell {
  color: #e2e8f0;
  border-color: #334155;
}

.roul-col-cell:last-child { border-right: none; }
.roul-col-cell:hover { background: #e2e8f0; }
body.dark-mode .roul-col-cell:hover { background: #334155; }

/* Placed Chip Badge */
.roul-chip-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 20px;
  height: 20px;
  padding: 0 3px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid #009fe3;
  color: #000000;
  font-size: 0.6rem;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 20;
}

/* 5. Chips Selector Row matching Frame 8 */
.roul-chips-selector-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 16px 0 14px;
}

.roul-chip-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #1e293b;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

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

.roul-chip-btn.active {
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(0, 159, 227, 0.5);
  border-style: solid !important;
}

.roul-chip-btn.chip-100 { border: 3px dashed #ec4899; }
.roul-chip-btn.chip-1k { border: 3px dashed #06b6d4; }
.roul-chip-btn.chip-10k { border: 3px dashed #10b981; }
.roul-chip-btn.chip-100k { border: 3px dashed #f97316; }
.roul-chip-btn.chip-1m { border: 3px dashed #3b82f6; }
.roul-chip-btn.chip-10m { border: 3px dashed #ef4444; }
.roul-chip-btn.chip-100m { border: 3px dashed #eab308; }

/* 6. Bottom Action Row matching Frame 8 */
.roul-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.roul-auto-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.roul-actions-row .btn-poker-bet-deal {
  flex: 1;
  max-width: 200px;
  margin: 0 auto;
}

/* 7. Undo and Clear links */
.roul-undo-clear-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 4px;
}

.btn-roul-link {
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  transition: opacity 0.15s;
}

.btn-roul-link:hover { opacity: 0.8; }
.btn-roul-link.link-undo { color: #009fe3; }
.btn-roul-link.link-clear { color: #ea580c; }

/* European Roulette History Table */
.roulette-page-wrapper .dice-history-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  margin-top: 20px;
}

body.dark-mode .roulette-page-wrapper .dice-history-section {
  background: #182234;
  border-color: #273549;
}

/* ========================================================
   6. PLINKO STYLES (MATCHING VIDEO PLINKO.WEBM)
   ======================================================== */
.plinko-page-wrapper {
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.plinko-main-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 22px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  position: relative;
}

body.dark-mode .plinko-main-card {
  background: #182234;
  border-color: #273549;
}

.plinko-board-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 8px;
  background: #ffffff;
  border-radius: 6px;
}

body.dark-mode .plinko-board-container {
  background: #182234;
}

.plinko-board-container canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.plinko-bins-container {
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 16px;
}

.plinko-bin {
  flex: 1;
  min-width: 0;
  padding: 6px 1px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  color: #ffffff;
  transition: transform 0.15s ease, filter 0.15s ease;
  user-select: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plinko-bin.bin-red { background: #ff3b30; }
.plinko-bin.bin-coral { background: #ff5722; }
.plinko-bin.bin-orange { background: #ff9800; }
.plinko-bin.bin-amber { background: #ffa726; }
.plinko-bin.bin-yellow-amber { background: #ffb74d; color: #2d3748; }
.plinko-bin.bin-yellow { background: #ffc107; color: #1a202c; }

.plinko-bin.hit {
  transform: translateY(4px) scale(1.12);
  filter: brightness(1.35);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.plinko-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 14px;
}

.plinko-auto-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

body.dark-mode .plinko-auto-label {
  color: #94a3b8;
}

.plinko-actions-row .btn-poker-bet-deal {
  flex: 1;
  max-width: 200px;
  margin: 0 auto;
}

.plinko-settings-box {
  display: flex;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px;
}

body.dark-mode .plinko-settings-box {
  background: #1e293b;
  border-color: #334155;
}

.plinko-setting-col {
  flex: 1;
  min-width: 0;
}

.plinko-ctrl-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 5px;
}

.plinko-select-wrap {
  position: relative;
}

.plinko-risk-dropdown {
  width: 100%;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #ffffff;
  color: #1e293b;
  outline: none;
  cursor: pointer;
}

body.dark-mode .plinko-risk-dropdown {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}

/* ========================================================
   7. WHEEL OF FORTUNE STYLES (MATCHING VIDEO WEEL.WEBM)
   ======================================================== */
.wheel-page-wrapper {
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.wheel-main-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 22px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  position: relative;
}

body.dark-mode .wheel-main-card {
  background: #182234;
  border-color: #273549;
}

.wheel-top-bet-section {
  margin-bottom: 18px;
}

.wheel-ctrl-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 5px;
}

.wheel-stage-container {
  position: relative;
  width: 290px;
  height: 290px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-pointer-mount {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 32px;
  height: 30px;
  display: flex;
  justify-content: center;
}

.wheel-pointer-triangle {
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 22px solid #f97316;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  position: relative;
}

.wheel-pointer-triangle::after {
  content: '';
  position: absolute;
  top: -26px;
  left: -8px;
  width: 16px;
  height: 6px;
  background: #94a3b8;
  border-radius: 3px 3px 0 0;
}

.wheel-outer-rim {
  width: 284px;
  height: 284px;
  border-radius: 50%;
  border: 7px solid #cfd8dc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), inset 0 2px 6px rgba(0, 0, 0, 0.15);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eceff1;
  overflow: hidden;
}

.wheel-outer-rim::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed #f59e0b;
  opacity: 0.75;
  pointer-events: none;
}

.wheel-center-hub {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, #fbbf24, #d97706);
  border: 3px solid #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 10;
  pointer-events: none;
}

.wheel-win-popup {
  position: absolute;
  z-index: 25;
  background: #ffffff;
  border: 3px solid #22c55e;
  border-radius: 6px;
  padding: 8px 18px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  animation: wheelPopupPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

@keyframes wheelPopupPop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.wheel-win-mult {
  font-size: 1.45rem;
  font-weight: 800;
  color: #22c55e;
  line-height: 1.1;
}

.wheel-win-profit {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  margin-top: 3px;
}

.wheel-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.wheel-auto-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

body.dark-mode .wheel-auto-label {
  color: #94a3b8;
}

.wheel-actions-row .btn-poker-bet-deal {
  flex: 1;
  max-width: 200px;
  margin: 0 auto;
}

.wheel-auto-settings-panel {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px;
}

body.dark-mode .wheel-auto-settings-panel {
  background: #1e293b;
  border-color: #334155;
}

.wheel-auto-card {
  flex: 1;
  min-width: 0;
}

.wheel-auto-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 6px;
}

.wheel-auto-radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  cursor: pointer;
}

body.dark-mode .wheel-auto-radio-label {
  color: #cbd5e1;
}

.wheel-auto-inc-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wheel-inc-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 2px 6px;
  width: 70px;
}

body.dark-mode .wheel-inc-input-wrap {
  background: #0f172a;
  border-color: #334155;
}

.wheel-inc-input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: inherit;
}

.wheel-inc-input-wrap span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
}

/* Common Game Top Navigation & Back Button */
.game-page-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.btn-game-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-game-back:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #00a3ff;
  transform: translateX(-2px);
}

body.dark-mode .btn-game-back {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

/* ========================================================
   8. LIMBO STYLES (MATCHING VIDEO LIMBO.WEBM)
   ======================================================== */
.limbo-page-wrapper {
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.limbo-main-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 22px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  position: relative;
}

body.dark-mode .limbo-main-card {
  background: #182234;
  border-color: #273549;
}

.limbo-stage-container {
  height: 250px;
  background: radial-gradient(circle at 50% 25%, #1e293b, #090e17);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.limbo-stars-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(1px 1px at 25px 35px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 65px 85px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 110px 25px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 170px 100px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 230px 45px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 290px 120px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 340px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 380px 80px, #ffffff, rgba(0,0,0,0));
  background-size: 400px 220px;
}

.limbo-moon-terrain {
  position: absolute;
  bottom: 0;
  left: -20px;
  right: -20px;
  height: 55px;
  background: radial-gradient(ellipse at 50% 120%, #1e3a8a 0%, #0f172a 80%);
  border-radius: 50% 50% 0 0 / 22px 22px 0 0;
  pointer-events: none;
  box-shadow: inset 0 2px 8px rgba(30, 58, 138, 0.4);
}

.limbo-multiplier-display {
  position: absolute;
  top: 24px;
  font-size: 2.85rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  letter-spacing: 0.5px;
  z-index: 10;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  transition: color 0.15s ease, transform 0.15s ease;
  user-select: none;
}

.limbo-multiplier-display.win {
  color: #22c55e !important;
  text-shadow: 0 0 25px rgba(34, 197, 94, 0.7);
  transform: scale(1.06);
}

.limbo-multiplier-display.loss {
  color: #ef4444 !important;
  text-shadow: 0 0 25px rgba(239, 68, 68, 0.7);
  transform: scale(0.98);
}

.limbo-rocket-wrap {
  position: absolute;
  bottom: 18px;
  width: 60px;
  height: 105px;
  z-index: 5;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1), bottom 0.25s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.2s ease;
}

.limbo-rocket-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.limbo-rocket-flames {
  animation: flameFlicker 0.1s infinite alternate;
  transform-origin: 40px 105px;
}

@keyframes flameFlicker {
  0% { transform: scaleY(0.85) scaleX(0.92); opacity: 0.85; }
  100% { transform: scaleY(1.22) scaleX(1.08); opacity: 1; }
}

.limbo-rocket-wrap.launching {
  bottom: 55px;
  transform: translateY(-20px);
}

.limbo-rocket-wrap.win-fly {
  bottom: 85px;
  transform: translateY(-40px) scale(1.02);
}

.limbo-rocket-wrap.loss-crash {
  bottom: 18px;
  opacity: 0.55;
  filter: grayscale(0.8);
}

.limbo-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.limbo-auto-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

body.dark-mode .limbo-auto-label {
  color: #94a3b8;
}

.limbo-actions-row .btn-poker-bet-deal {
  flex: 1;
  max-width: 200px;
  margin: 0 auto;
}

.limbo-settings-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 14px 12px;
}

body.dark-mode .limbo-settings-box {
  background: #1e293b;
  border-color: #334155;
}

.limbo-ctrl-row {
  margin-bottom: 12px;
}

.limbo-dual-ctrl-row {
  display: flex;
  gap: 12px;
}

.limbo-ctrl-col {
  flex: 1;
  min-width: 0;
}

.limbo-ctrl-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 5px;
}

.limbo-input-addon-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  height: 38px;
  transition: border-color 0.15s;
}

body.dark-mode .limbo-input-addon-box {
  background: #0f172a;
  border-color: #334155;
}

.limbo-input-addon-box:focus-within {
  border-color: #00a3ff;
}

.limbo-input-addon-box input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

body.dark-mode .limbo-input-addon-box input {
  color: #f1f5f9;
}

.limbo-addon-tag {
  padding: 0 12px;
  font-weight: 800;
  color: #22c55e;
  font-size: 0.95rem;
  user-select: none;
}

.limbo-auto-settings-panel {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

body.dark-mode .limbo-auto-settings-panel {
  border-color: #334155;
}

.limbo-auto-cards-row {
  display: flex;
  gap: 12px;
}

.limbo-auto-card {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 10px;
}

body.dark-mode .limbo-auto-card {
  background: #0f172a;
  border-color: #334155;
}

.limbo-auto-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 6px;
}

.limbo-auto-radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  cursor: pointer;
}

body.dark-mode .limbo-auto-radio-label {
  color: #cbd5e1;
}

.limbo-auto-inc-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.limbo-inc-input-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 2px 6px;
  width: 70px;
}

body.dark-mode .limbo-inc-input-wrap {
  background: #1e293b;
  border-color: #334155;
}

.limbo-inc-input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: inherit;
}

.limbo-inc-input-wrap span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
}

.limbo-stop-limits-row {
  display: flex;
  gap: 12px;
}

/* ========================================================
   NOTIFICATIONS & SUPPORT TICKETS MODAL (IMAGE 2 REPLICA)
======================================================== */
.notif-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.notif-modal-backdrop.d-none {
  display: none !important;
}
.notif-modal-box {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
body.dark-mode .notif-modal-box {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}
.notif-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px 12px;
  border-bottom: 1px solid #f1f5f9;
}
body.dark-mode .notif-modal-header {
  border-bottom-color: #334155;
}
.notif-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}
body.dark-mode .notif-modal-title {
  color: #f8fafc;
}
.btn-close-notif {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
}
.btn-close-notif:hover {
  color: #0f172a;
}
body.dark-mode .btn-close-notif:hover {
  color: #ffffff;
}

/* Notification Nav Tabs matching Image 2 */
.notif-modal-nav-tabs {
  display: flex;
  padding: 0 24px;
  border-bottom: 2px solid #f1f5f9;
  gap: 20px;
  background: #ffffff;
}
body.dark-mode .notif-modal-nav-tabs {
  background: #1e293b;
  border-bottom-color: #334155;
}
.notif-nav-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 4px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.notif-nav-tab:hover {
  color: #0284c7;
}
.notif-nav-tab.active {
  color: #0284c7;
  border-bottom-color: #0284c7;
}
body.dark-mode .notif-nav-tab.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}
.notif-pill-green {
  background: #22c55e;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
}
.ticket-pill-gray {
  background: #94a3b8;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
}
.notif-modal-content-area {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

/* Feed item list */
.notif-feed-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  margin-bottom: 12px;
}
body.dark-mode .notif-feed-item {
  background: #0f172a;
  border-color: #1e293b;
}
.n-feed-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.n-feed-icon.success {
  background: #dcfce7;
  color: #16a34a;
}
.n-feed-icon.primary {
  background: #e0f2fe;
  color: #0284c7;
}
.n-feed-icon.warning {
  background: #fef3c7;
  color: #d97706;
}
.n-feed-content {
  flex: 1;
}
.n-feed-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 3px;
}
body.dark-mode .n-feed-title {
  color: #f8fafc;
}
.n-feed-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 6px;
}
body.dark-mode .n-feed-desc {
  color: #94a3b8;
}
.n-feed-time {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Tickets section */
.ticket-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-action-new-ticket {
  background: #0284c7;
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-action-new-ticket:hover {
  background: #0369a1;
}
.ticket-compose-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}
body.dark-mode .ticket-compose-form {
  background: #0f172a;
  border-color: #334155;
}
.ticket-input-field, .ticket-textarea-field {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  background: #ffffff;
  color: inherit;
  outline: none;
  margin-bottom: 8px;
}
body.dark-mode .ticket-input-field, body.dark-mode .ticket-textarea-field {
  background: #1e293b;
  border-color: #334155;
  color: #ffffff;
}
.ticket-card-thread {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}
body.dark-mode .ticket-card-thread {
  background: #0f172a;
  border-color: #1e293b;
}
.ticket-thread-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}
body.dark-mode .ticket-thread-header {
  border-bottom-color: #334155;
}
.ticket-id-tag {
  background: #e2e8f0;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
}
body.dark-mode .ticket-id-tag {
  background: #334155;
  color: #cbd5e1;
}
.ticket-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.badge-answered {
  background: #dcfce7;
  color: #16a34a;
}
.badge-open {
  background: #fef3c7;
  color: #b45309;
}
.ticket-bubble {
  padding: 10px 14px;
  border-radius: 10px;
  margin-top: 8px;
  font-size: 0.85rem;
}
.bubble-admin {
  background: #e0f2fe;
  border-left: 3px solid #0284c7;
  color: #0f172a;
}
body.dark-mode .bubble-admin {
  background: #1e293b;
  border-left-color: #38bdf8;
  color: #f8fafc;
}
.bubble-user {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
}
body.dark-mode .bubble-user {
  background: #172033;
  border-color: #334155;
  color: #cbd5e1;
}
.bubble-sender-name {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 4px;
}
.bubble-time {
  color: #94a3b8;
}

/* ========================================================
   CONTESTS PAGE STYLING (VIDEO REPLICA)
======================================================= */
.contests-page-container {
  max-width: 780px;
  margin: 0 auto;
}
.contest-ends-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
  margin-bottom: 18px;
}
body.dark-mode .contest-ends-title {
  color: #f8fafc;
}
.flip-clock-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.flip-unit-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.flip-unit-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: capitalize;
}
.flip-digit-pair {
  display: flex;
  gap: 4px;
}
.flip-card-digit {
  width: 44px;
  height: 56px;
  background: #334155;
  color: #ffffff;
  border-radius: 8px;
  font-size: 1.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.flip-colon {
  font-size: 1.8rem;
  font-weight: 800;
  color: #64748b;
  margin-top: 18px;
}
.contest-desc-text {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 24px;
}
body.dark-mode .contest-desc-text {
  color: #94a3b8;
}

/* Personal Stats Card */
.contest-stats-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
body.dark-mode .contest-stats-card {
  background: #1e293b;
  border-color: #334155;
}
.cs-head {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
body.dark-mode .cs-head {
  color: #f8fafc;
}
.cs-row {
  display: flex;
  gap: 16px;
}
.cs-box {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
body.dark-mode .cs-box {
  background: #0f172a;
  border-color: #1e293b;
}
.cs-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.cs-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
body.dark-mode .cs-val {
  color: #f8fafc;
}
.usdt-mark-icon {
  color: #0ea5e9;
}

/* Contest Toggle */
.contest-toggle-row {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.contest-pill-switch {
  display: inline-flex;
  background: #e2e8f0;
  padding: 4px;
  border-radius: 10px;
}
body.dark-mode .contest-pill-switch {
  background: #334155;
}
.cp-pill {
  border: none;
  background: transparent;
  padding: 7px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
body.dark-mode .cp-pill {
  color: #94a3b8;
}
.cp-pill.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
body.dark-mode .cp-pill.active {
  background: #0f172a;
  color: #ffffff;
}

/* Contest Leaderboard */
.contest-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
body.dark-mode .contest-table-card {
  background: #1e293b;
  border-color: #334155;
}
.ct-header {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
body.dark-mode .ct-header {
  color: #f8fafc;
}
.contest-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}
.contest-leaderboard-table th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
}
body.dark-mode .contest-leaderboard-table th {
  border-bottom-color: #334155;
}
.contest-leaderboard-table td {
  padding: 12px 14px;
  font-size: 0.88rem;
  border-bottom: 1px solid #f8fafc;
  color: #334155;
}
body.dark-mode .contest-leaderboard-table td {
  border-bottom-color: #1e293b;
  color: #cbd5e1;
}
.reward-val {
  font-weight: 700;
  color: #16a34a !important;
  text-align: right !important;
}

.contest-leaderboard-table th:last-child,
.contest-leaderboard-table td:last-child {
  text-align: right !important;
}

.contests-podium-grid {
  display: none !important;
}

/* ========================================================
   DEPOSIT & WITHDRAW COMMON & UNIQUE STYLING
======================================================= */
.deposit-page-container, .withdraw-page-container {
  max-width: 600px;
  margin: 0 auto;
}
.deposit-box-card, .withdraw-box-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  margin-bottom: 24px;
}
body.dark-mode .deposit-box-card, body.dark-mode .withdraw-box-card {
  background: #1e293b;
  border-color: #334155;
}
.deposit-main-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  color: #0f172a;
}
body.dark-mode .deposit-main-title {
  color: #f8fafc;
}
.deposit-subtext {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 22px;
}
body.dark-mode .deposit-subtext {
  color: #94a3b8;
}
.df-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}
body.dark-mode .df-label-row {
  color: #cbd5e1;
}
.deposit-select-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
}
body.dark-mode .deposit-select-control {
  background: #0f172a;
  border-color: #334155;
}
.deposit-copy-bar {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
}
body.dark-mode .deposit-copy-bar {
  background: #0f172a;
  border-color: #334155;
}
.btn-copy-bar-left {
  background: #f1f5f9;
  border: none;
  border-right: 1px solid #cbd5e1;
  padding: 11px 16px;
  font-size: 1.05rem;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s;
}
body.dark-mode .btn-copy-bar-left {
  background: #1e293b;
  border-right-color: #334155;
  color: #cbd5e1;
}
.btn-copy-bar-left:hover {
  background: #e2e8f0;
}
.deposit-copy-bar input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 14px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-variant-numeric: normal;
  font-size: 0.88rem;
  font-weight: 600;
  color: inherit;
  outline: none;
}

.deposit-warning-callout {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 0.82rem;
  line-height: 1.5;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 18px;
}
body.dark-mode .deposit-warning-callout {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.25);
  color: #38bdf8;
}
.deposit-qr-wrap {
  margin-top: 24px;
}
.qr-canvas-box {
  width: auto !important;
  height: auto !important;
  min-width: 200px;
  min-height: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 10px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.qr-scan-hint {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 12px;
}
.qr-help-link {
  font-size: 0.82rem;
  color: #64748b;
}

/* Withdraw UI components */
.withdraw-top-notice {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: center;
}
body.dark-mode .withdraw-top-notice {
  color: #94a3b8;
}
.withdraw-input-with-icon {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  padding: 2px 8px 2px 14px;
}
body.dark-mode .withdraw-input-with-icon {
  background: #0f172a;
  border-color: #334155;
}
.input-side-icon {
  color: #64748b;
  font-size: 1rem;
  margin-right: 10px;
}
.withdraw-input-with-icon input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 4px;
  font-size: 0.88rem;
  color: inherit;
  outline: none;
}
.min-max-pill-group {
  display: flex;
  gap: 4px;
}
.btn-min-max {
  background: #84cc16;
  border: none;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-min-max:hover {
  background: #65a30d;
}
.withdraw-fee-box {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 10px 14px;
  gap: 10px;
}
body.dark-mode .withdraw-fee-box {
  background: #0f172a;
}
.fee-icon {
  color: #64748b;
}
.fee-text {
  font-size: 0.82rem;
  color: #475569;
}
body.dark-mode .fee-text {
  color: #cbd5e1;
}
.btn-green-withdraw-big {
  background: #84cc16;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  padding: 13px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.btn-green-withdraw-big:hover {
  background: #65a30d;
}

/* History Card */
.deposit-history-card, .withdraw-history-card, .gift-history-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
body.dark-mode .deposit-history-card, body.dark-mode .withdraw-history-card, body.dark-mode .gift-history-card {
  background: #1e293b;
  border-color: #334155;
}
.history-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}
body.dark-mode .history-card-title {
  color: #f8fafc;
}
.history-data-table {
  width: 100%;
  border-collapse: collapse;
}
.history-data-table th {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
}
body.dark-mode .history-data-table th {
  border-bottom-color: #334155;
}
.history-data-table td {
  padding: 12px;
  font-size: 0.85rem;
  border-bottom: 1px solid #f8fafc;
}
body.dark-mode .history-data-table td {
  border-bottom-color: #1e293b;
}
.badge-status-completed {
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}
.usd-sub {
  font-size: 0.75rem;
  color: #0ea5e9;
  font-weight: 600;
  margin-left: 4px;
}

/* ========================================================
   AFFILIATES PAGE STYLING
======================================================= */
.affiliates-page-container {
  max-width: 720px;
  margin: 0 auto;
}
.affiliates-main-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
body.dark-mode .affiliates-main-title {
  color: #f8fafc;
}
.affiliates-subtext {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}
body.dark-mode .affiliates-subtext {
  color: #94a3b8;
}
.aff-pill-tabs {
  display: inline-flex;
  background: #e2e8f0;
  padding: 4px;
  border-radius: 10px;
}
body.dark-mode .aff-pill-tabs {
  background: #334155;
}
.aff-pill-btn {
  border: none;
  background: transparent;
  padding: 7px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
body.dark-mode .aff-pill-btn {
  color: #94a3b8;
}
.aff-pill-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
body.dark-mode .aff-pill-btn.active {
  background: #0f172a;
  color: #ffffff;
}
.aff-count-badge {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}
.aff-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
body.dark-mode .aff-card-box {
  background: #1e293b;
  border-color: #334155;
}
.aff-card-head {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}
body.dark-mode .aff-card-head {
  color: #f8fafc;
}
.aff-stats-2col {
  display: flex;
  gap: 16px;
}
.aff-stat-bubble {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
body.dark-mode .aff-stat-bubble {
  background: #0f172a;
  border-color: #1e293b;
}
.aff-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.aff-icon-circle.blue {
  background: #0284c7;
  color: #ffffff;
}
.aff-icon-circle.bag {
  background: #0ea5e9;
  color: #ffffff;
}
.aff-stat-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
}
.aff-stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}
body.dark-mode .aff-stat-num {
  color: #f8fafc;
}
.aff-avail-commission-strip {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 16px;
}
body.dark-mode .aff-avail-commission-strip {
  background: #0f172a;
  border-color: #1e293b;
}
.aac-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
}
.aac-amount {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 4px;
}
body.dark-mode .aac-amount {
  color: #f8fafc;
}
.aff-rates-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 576px) {
  .aff-rates-grid-3 {
    grid-template-columns: 1fr;
  }
}
.aff-rate-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
body.dark-mode .aff-rate-card {
  background: #0f172a;
  border-color: #1e293b;
}
.rate-top-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 8px;
}
.rate-pct {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
body.dark-mode .rate-pct {
  color: #f8fafc;
}
.rate-sub {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ========================================================
   GIFT CARDS STYLING
======================================================= */
.gift-page-container {
  max-width: 600px;
  margin: 0 auto;
}
.gift-main-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
body.dark-mode .gift-main-title {
  color: #f8fafc;
}
.gift-subtext {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}
body.dark-mode .gift-subtext {
  color: #94a3b8;
}
.gift-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
body.dark-mode .gift-form-card {
  background: #1e293b;
  border-color: #334155;
}
.gift-input-label {
  font-size: 0.82rem;
  font-style: italic;
  color: #64748b;
  display: block;
  margin-bottom: 10px;
  text-align: center;
}
.gift-input-with-icon {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 2px 14px;
}
body.dark-mode .gift-input-with-icon {
  background: #0f172a;
  border-color: #334155;
}
.gift-side-icon {
  color: #64748b;
  font-size: 1.1rem;
  margin-right: 12px;
}
.gift-input-with-icon input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 4px;
  font-size: 0.88rem;
  color: inherit;
  outline: none;
}
.btn-green-gift-redeem {
  background: #84cc16;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 13px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.btn-green-gift-redeem:hover {
  background: #65a30d;
}

/* ========================================================
   SETTINGS STYLING (SECURITY & 2FA)
======================================================= */
.settings-page-container {
  max-width: 600px;
  margin: 0 auto;
}
.settings-main-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
body.dark-mode .settings-main-title {
  color: #f8fafc;
}
.settings-subtext {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}
body.dark-mode .settings-subtext {
  color: #94a3b8;
}
.settings-tabs-list {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  gap: 20px;
}
body.dark-mode .settings-tabs-list {
  border-bottom-color: #334155;
}
.settings-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 4px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #64748b;
  cursor: pointer;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.settings-tab-btn.active {
  color: #0284c7;
  border-bottom-color: #0284c7;
}
body.dark-mode .settings-tab-btn.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}
.settings-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
body.dark-mode .settings-card-box {
  background: #1e293b;
  border-color: #334155;
}
.settings-input-group {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 2px 14px;
}
body.dark-mode .settings-input-group {
  background: #0f172a;
  border-color: #334155;
}
.set-side-icon {
  color: #64748b;
  font-size: 1rem;
  margin-right: 12px;
}
.settings-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 4px;
  font-size: 0.88rem;
  color: inherit;
  outline: none;
}
.btn-blue-settings {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-blue-settings:hover {
  background: #0369a1;
}
.btn-green-verified {
  background: #22c55e;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: default;
}

/* ========================================================
   CONTACT US (IMAGE 4 REPLICA)
======================================================= */
.contact-page-container {
  max-width: 680px;
  margin: 0 auto;
}
.contact-main-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.5px;
}
body.dark-mode .contact-main-heading {
  color: #f8fafc;
}
.contact-top-notice {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}
body.dark-mode .contact-top-notice {
  color: #94a3b8;
}
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
body.dark-mode .contact-form-card {
  background: #1e293b;
  border-color: #334155;
}
.contact-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
}
.contact-textarea-wrap {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
}
body.dark-mode .contact-input-wrap, body.dark-mode .contact-textarea-wrap {
  background: #0f172a;
  border-color: #334155;
}
.contact-input-icon-box {
  width: 44px;
  min-width: 44px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 1rem;
  border-right: 1px solid #cbd5e1;
  align-self: stretch;
}
body.dark-mode .contact-input-icon-box {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}
.contact-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: inherit;
  outline: none;
}
.contact-textarea-wrap textarea {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: inherit;
  outline: none;
  resize: vertical;
  min-height: 140px;
}
.contact-attach-row {
  margin-top: 10px;
  margin-bottom: 8px;
}
.attach-images-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0284c7;
  text-decoration: none;
  cursor: pointer;
}
.attach-images-link:hover {
  text-decoration: underline;
}
.contact-no-image-box {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 4px;
  padding: 26px 16px;
  color: #94a3b8;
  font-size: 0.92rem;
}
body.dark-mode .contact-no-image-box {
  background: #0f172a;
  border-color: #334155;
  color: #64748b;
}
.btn-green-contact-send {
  background: #8ec641;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 11px 48px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  box-shadow: 0 2px 6px rgba(142, 198, 65, 0.3);
}
.btn-green-contact-send:hover {
  background: #7cb335;
}

/* ========================================================
   TICKET NOTIFICATIONS (IMAGE 2 REPLICA)
======================================================= */
.ticket-notif-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
  transition: background 0.2s;
}
body.dark-mode .ticket-notif-item {
  background: #1e293b;
  border-color: #334155;
}
.ticket-notif-circle-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.ticket-notif-circle-icon.admin {
  background: #eab308;
}
.ticket-notif-content {
  flex: 1;
}
.ticket-notif-text {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 8px;
}
body.dark-mode .ticket-notif-text {
  color: #cbd5e1;
}
.ticket-notif-link {
  color: #0284c7;
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
  cursor: pointer;
}
.ticket-notif-link:hover {
  color: #0369a1;
}
.ticket-notif-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge-notif-info {
  background: #ccfbf1;
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
body.dark-mode .badge-notif-info {
  background: #134e4a;
  color: #5eead4;
}
.ticket-notif-time {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ========================================================
   TICKET CONVERSATION VIEW (IMAGE 3 REPLICA)
======================================================= */
.ticket-view-container {
  max-width: 760px;
  margin: 0 auto;
}
.ticket-page-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0f172a;
}
body.dark-mode .ticket-page-title {
  color: #f8fafc;
}
.ticket-subject-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #334155;
}
body.dark-mode .ticket-subject-title {
  color: #cbd5e1;
}
.ticket-msg-card {
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.ticket-msg-card.user-msg {
  background: #e6f7fa;
  border-color: #bae6fd;
}
body.dark-mode .ticket-msg-card.user-msg {
  background: #082f49;
  border-color: #0284c7;
}
.ticket-msg-card.admin-msg {
  background: #fff8e7;
  border-color: #fef08a;
}
body.dark-mode .ticket-msg-card.admin-msg {
  background: #451a03;
  border-color: #d97706;
}
.ticket-msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.ticket-msg-sender {
  font-weight: 800;
  font-size: 0.98rem;
  color: #0f172a;
}
body.dark-mode .ticket-msg-sender {
  color: #f8fafc;
}
.ticket-msg-time {
  font-size: 0.82rem;
  color: #64748b;
}
body.dark-mode .ticket-msg-time {
  color: #94a3b8;
}
.ticket-msg-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  white-space: pre-wrap;
}
body.dark-mode .ticket-msg-body {
  color: #e2e8f0;
}
.ticket-attached-preview {
  margin-top: 14px;
}
.ticket-attached-preview img {
  max-width: 100%;
  max-height: 340px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  object-fit: cover;
}
.ticket-reply-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
}
body.dark-mode .ticket-reply-card {
  background: #1e293b;
  border-color: #334155;
}


/* ========================================================
   BONUS FAUCET (IMAGE 1 REPLICA)
======================================================== */
.bonus-faucet-container {
  max-width: 440px;
  margin: 0 auto;
}
.bonus-faucet-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}
body.dark-mode .bonus-faucet-title {
  color: #f8fafc;
}
.bonus-faucet-header-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
}
body.dark-mode .bonus-faucet-header-text {
  color: #94a3b8;
}
.bonus-table-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
body.dark-mode .bonus-table-box {
  background: #1e293b;
  border-color: #334155;
}
.bonus-payout-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.bonus-payout-table thead {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
}
.bonus-payout-table th {
  padding: 12px 16px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.bonus-payout-table th:last-child {
  border-right: none;
}
.bonus-payout-table td {
  padding: 11px 16px;
  font-size: 0.9rem;
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  background: #fffdf5;
  color: #334155;
}
body.dark-mode .bonus-payout-table td {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}
.bonus-payout-table tr:nth-child(even) td {
  background: #f8fafc;
}
body.dark-mode .bonus-payout-table tr:nth-child(even) td {
  background: #0f172a;
}
.bonus-payout-table td:last-child {
  border-right: none;
}
.bonus-payout-num {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-variant-numeric: normal;
  font-weight: 700;
  color: #0f172a;
}
body.dark-mode .bonus-payout-num {
  color: #f8fafc;
}
.bonus-rolls-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}
body.dark-mode .bonus-rolls-badge-pill {
  background: #0f172a;
  border-color: #334155;
  color: #cbd5e1;
}
.btn-green-bonus-roll {
  background: #22c55e;
  color: #ffffff;
  font-weight: 800;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.92rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
  display: inline-block;
  width: 100%;
}
.btn-green-bonus-roll:hover {
  background: #16a34a;
}

.lucky-roll-slots.compact-slots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px auto;
}
.lucky-roll-slots.compact-slots .slot-num {
  font-size: 1.4rem;
  width: 44px;
  height: 50px;
  line-height: 50px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 800;
}
body.dark-mode .lucky-roll-slots.compact-slots .slot-num {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

/* ========================================================
   WEEKLY CASHBACK (IMAGE 3 REPLICA)
======================================================== */
.cashback-page-container {
  max-width: 780px;
  margin: 0 auto;
}
.cashback-notice-bar {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}
body.dark-mode .cashback-notice-bar {
  color: #94a3b8;
}
.cashback-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) {
  .cashback-stats-grid {
    grid-template-columns: 1fr;
  }
}
.cb-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
body.dark-mode .cb-stat-card {
  background: #1e293b;
  border-color: #334155;
}
.cb-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 1rem;
  margin-bottom: 12px;
}
body.dark-mode .cb-stat-icon {
  background: #0f172a;
}
.cb-stat-period {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
}
.cb-stat-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}
body.dark-mode .cb-stat-name {
  color: #f8fafc;
}
.cb-stat-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0284c7;
  margin-top: 10px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-variant-numeric: normal;
}
.crypto-mark-cb {
  color: #0284c7;
  font-family: sans-serif;
}
.cb-last-week-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  max-width: 540px;
  margin: 0 auto;
}
body.dark-mode .cb-last-week-card {
  background: #1e293b;
  border-color: #334155;
}
.cb-lw-header {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
body.dark-mode .cb-lw-header {
  color: #94a3b8;
}
.cb-lw-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0284c7;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-variant-numeric: normal;
}
.btn-claim-cashback-btn {
  background: #22c55e;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-claim-cashback-btn:hover {
  background: #16a34a;
}

/* Commission Share Slider */
.comm-share-slider {
  accent-color: #0284c7;
  cursor: pointer;
}

/* Hide Provably Fair tag across game headers */
.game-provably-tag {
  display: none !important;
}

/* TRX Emblem Coins in Game Bet Fields */
.usdt-coin-svg {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS (ALL SCREENS & GAMES)
======================================================== */
@media (max-width: 992px) {
  .dash-container {
    flex-direction: column;
  }
  .dash-sidebar {
    position: fixed;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    width: 280px !important;
    max-width: 85vw !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    z-index: 10000 !important;
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 16px 14px !important;
  }
  .sidebar-mobile-brand {
    display: flex !important;
  }
  .dash-sidebar.open-drawer,
  .dash-sidebar.mobile-open {
    transform: translateX(0) !important;
  }
  body.dark-mode .dash-sidebar {
    background: #1e293b;
  }
  /* Hide Brand Logo from Navbar on Mobile */
  .dash-nav-left .brand-logo {
    display: none !important;
  }
  .dash-nav-left {
    gap: 0 !important;
    flex-shrink: 0 !important;
  }
  .dash-sidebar-toggle {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }
  .dash-main-content {
    margin-left: 0 !important;
    padding: 16px 12px;
    width: 100%;
    max-width: 100%;
  }
  .dice-console-container,
  .slots-console-container,
  .gems-console-container,
  .mines-console-container {
    flex-direction: column;
  }
  .dice-left-panel, .dice-right-panel,
  .slots-left-panel, .slots-right-panel {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .dash-nav-container {
    padding: 0 10px;
  }
  .hero-heading {
    font-size: 2rem !important;
  }
  .hero-subheading {
    font-size: 0.95rem !important;
  }
  .auth-card-wrapper {
    margin: 20px auto !important;
    padding: 24px 18px !important;
    width: 94% !important;
  }
  .dash-faucet-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .faucet-claim-card, .level-system-container {
    width: 100% !important;
  }
  .games-grid-portal {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .cb-stat-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .hilo-quad-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .notif-modal-box {
    width: 95% !important;
    max-width: 440px !important;
  }
  .contact-page-container, .ticket-view-container {
    width: 100% !important;
    padding: 0 6px !important;
  }
}

@media (max-width: 576px) {
  .dash-navbar {
    padding: 8px 10px !important;
  }
  .dash-nav-container {
    padding: 0 !important;
    gap: 6px !important;
  }
  .dash-nav-left {
    gap: 0 !important;
    flex-shrink: 0 !important;
  }
  .dash-nav-left .brand-logo {
    display: none !important;
  }
  .dash-sidebar-toggle {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
  }
  .dash-nav-right {
    gap: 8px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
  }
  .header-balance-pill {
    padding: 6px 12px !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    gap: 6px !important;
    border-radius: 9px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  }
  body.dark-mode .header-balance-pill {
    background: #1e293b !important;
    border-color: #334155 !important;
  }
  .header-coin-badge {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
  }
  .header-coin-badge svg {
    width: 22px !important;
    height: 22px !important;
  }
  .header-balance-amount {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }
  body.dark-mode .header-balance-amount {
    color: #f8fafc !important;
  }
  .btn-header-deposit {
    padding: 7px 14px !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }
  .header-notif-box {
    flex-shrink: 0 !important;
  }
  .btn-header-notif {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .user-avatar-pill .user-pill-name {
    display: none !important;
  }
  .lucky-roll-slots, .lucky-roll-slots.compact-slots {
    gap: 4px !important;
  }
  .lucky-roll-slots .slot-num, .lucky-roll-slots.compact-slots .slot-num {
    font-size: 1.15rem !important;
    width: 36px !important;
    height: 44px !important;
    line-height: 44px !important;
  }
  .bonus-payout-table th, .bonus-payout-table td {
    padding: 8px 10px !important;
    font-size: 0.82rem !important;
  }
  .dice-stats-trio {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .stat-trio-box {
    width: 100% !important;
  }
  .quick-preset-row {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .btn-preset-pill {
    flex: 1 1 40% !important;
    padding: 6px 10px !important;
    font-size: 0.82rem !important;
  }
  .games-grid-portal {
    grid-template-columns: 1fr !important;
  }
  .poker-cards-stage {
    gap: 6px !important;
    overflow-x: auto !important;
    padding-bottom: 8px !important;
  }
  .poker-playing-card {
    min-width: 50px !important;
    max-width: 58px !important;
    height: 82px !important;
  }
  .plinko-board-container canvas,
  .wheel-stage-container canvas,
  .roulette-stage-container canvas {
    max-width: 100% !important;
    height: auto !important;
  }
  .btn-green-contact-send {
    width: 100% !important;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
}

/* Mobile Games Arcade Hub: Big bold game cards & 3 columns matching user image */
@media (max-width: 600px) {
  .games-arcade-wrapper {
    padding: 16px 12px !important;
    margin: 0 auto 24px !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .games-level-banner {
    margin: 0 auto 16px !important;
    max-width: 100% !important;
  }
  .games-grid-11 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 10px !important;
  }
  .arcade-game-card {
    padding: 0 !important;
  }
  .game-artwork {
    border-radius: 16px !important;
    aspect-ratio: 1 / 1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  }
  .card-brand-overlay {
    bottom: 10px !important;
  }
  .card-brand-title {
    font-size: 0.95rem !important;
    letter-spacing: 0.5px !important;
  }
  .card-brand-sub {
    display: none !important;
  }
  .game-name {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-top: 6px !important;
  }
  .slots-console-container {
    display: flex !important;
    flex-direction: column !important;
  }
  .slots-right-panel {
    order: 1 !important;
  }
  .slots-left-panel {
    order: 2 !important;
  }
}

/* Mobile screens navbar and games responsiveness (max-width: 480px) */
@media (max-width: 480px) {
  .dash-navbar {
    padding: 8px 10px !important;
    overflow-x: hidden !important;
  }
  .dash-nav-container {
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }
  .dash-nav-left {
    gap: 0 !important;
    flex-shrink: 0 !important;
  }
  .dash-sidebar-toggle {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
  }
  .dash-nav-left .brand-logo {
    display: none !important;
  }
  .dash-nav-right {
    gap: 6px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
  }
  .header-balance-pill {
    padding: 6px 11px !important;
    font-size: 0.90rem !important;
    font-weight: 800 !important;
    gap: 5px !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
  }
  body.dark-mode .header-balance-pill {
    background: #1e293b !important;
    border-color: #334155 !important;
  }
  .header-coin-badge {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
  }
  .header-coin-badge svg {
    width: 20px !important;
    height: 20px !important;
  }
  .header-balance-amount {
    font-size: 0.90rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }
  body.dark-mode .header-balance-amount {
    color: #f8fafc !important;
  }
  .btn-header-deposit {
    padding: 6px 12px !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }
  .header-notif-box {
    flex-shrink: 0 !important;
  }
  .btn-header-notif {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .games-grid-11 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 10px !important;
  }
  .game-artwork {
    border-radius: 16px !important;
  }
  .card-brand-title {
    font-size: 0.95rem !important;
  }
  .game-name {
    font-size: 0.88rem !important;
    margin-top: 6px !important;
  }
  .dice-modern-console {
    padding: 0 2px !important;
  }
  .dice-clean-card {
    padding: 12px 14px !important;
  }
  .btn-dice-blue-roll {
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
  }
  .hilo-main-card {
    padding: 16px 12px !important;
  }
  .hilo-quad-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .hilo-quad-box .poker-bet-label {
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .hilo-quad-box .poker-bet-input-box {
    height: 38px !important;
  }
  .hilo-quad-box .poker-bet-input-box .currency-icon-tag {
    padding: 0 6px !important;
  }
  .hilo-quad-box .poker-bet-input-box input {
    font-size: 0.8rem !important;
    padding: 0 4px !important;
  }
  .hilo-quad-box .btn-poker-math {
    padding: 0 8px !important;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 360px) {
  .dash-nav-container {
    gap: 4px !important;
  }
  .dash-sidebar-toggle {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.95rem !important;
  }
  .dash-nav-right {
    gap: 4px !important;
  }
  .header-balance-pill {
    padding: 5px 8px !important;
    font-size: 0.84rem !important;
    gap: 4px !important;
  }
  .header-coin-badge {
    width: 17px !important;
    height: 17px !important;
  }
  .header-coin-badge svg {
    width: 17px !important;
    height: 17px !important;
  }
  .header-balance-amount {
    font-size: 0.84rem !important;
  }
  .btn-header-deposit {
    padding: 5px 8px !important;
    font-size: 0.78rem !important;
  }
  .btn-header-notif {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.92rem !important;
  }
}

/* Smooth Tab Progress Loader & View Animation */
#tabProgressLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8, #22c55e);
  z-index: 99999;
  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.8);
}

/* Bet Info Modal Backdrop & Card */
#betInfoModalBackdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.82) !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  backdrop-filter: blur(4px);
}
#betInfoModalBackdrop.d-none {
  display: none !important;
}
#betInfoModalBackdrop .bet-info-modal-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22) !important;
}
#betInfoModalBackdrop .bet-info-modal-card h2,
#betInfoModalBackdrop .bet-info-modal-card h3,
#betInfoModalBackdrop .bet-info-modal-card strong {
  color: #0f172a !important;
}
.tab-fade-in {
  animation: tabFadeInAnim 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes tabFadeInAnim {
  from { opacity: 0.55; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   CHALLENGES TAB STYLES (MATCHING USER SCREENSHOTS)
   ========================================================================== */
.challenges-page-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 0 30px;
}
.challenges-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
body.dark-mode .challenges-card {
  background: #111a2e;
  border-color: #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.challenges-nav-bar {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 5px 6px;
  border-radius: 9999px;
  gap: 4px;
  flex-wrap: wrap;
}
body.dark-mode .challenges-nav-bar {
  background: #0b1320;
  border: 1px solid #1e293b;
}

.btn-challenge-tab {
  display: inline-flex;
  align-items: center;
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
body.dark-mode .btn-challenge-tab {
  color: #94a3b8;
}

.btn-challenge-tab .challenge-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 8px;
  background: #e2e8f0;
  color: #475569;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}
body.dark-mode .btn-challenge-tab .challenge-tab-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.btn-challenge-tab.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}
body.dark-mode .btn-challenge-tab.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.btn-challenge-tab.active .challenge-tab-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.challenges-instruction-text {
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
  font-weight: 400;
}
body.dark-mode .challenges-instruction-text {
  color: #cbd5e1;
}

.challenges-status-msg {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
}
body.dark-mode .challenges-status-msg {
  color: #e2e8f0;
}

/* ========================================================
   CLOUDFLARE TURNSTILE CAPTCHA & WITHDRAWAL POPUP STYLES
======================================================== */
.turnstile-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 14px 0 16px;
  min-height: 65px;
}
.turnstile-wrap .cf-turnstile {
  max-width: 100%;
  overflow: hidden;
}

/* Floating Side/Top Withdrawal Confirmation Popup */
.with-confirm-toast-popup {
  position: fixed;
  top: 24px;
  right: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  background: #111827;
  border: 1px solid #22c55e;
  border-left: 6px solid #22c55e;
  border-radius: 14px;
  padding: 16px 20px;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(34, 197, 94, 0.25);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  animation: slideInRightToast 0.35s ease-out;
  transition: all 0.3s ease;
}
.with-confirm-toast-popup.with-rejected {
  border-color: #ef4444;
  border-left-color: #ef4444;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(239, 68, 68, 0.25);
}
.with-confirm-toast-popup .toast-icon {
  font-size: 24px;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}
.with-confirm-toast-popup.with-rejected .toast-icon {
  color: #ef4444;
}
.with-confirm-toast-popup .toast-content {
  flex: 1;
}
.with-confirm-toast-popup .toast-title {
  font-weight: 800;
  font-size: 15.5px;
  margin-bottom: 4px;
  color: #ffffff;
}
.with-confirm-toast-popup .toast-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #cbd5e1;
}
.with-confirm-toast-popup .btn-close-toast {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 2px;
  margin-left: 6px;
}
.with-confirm-toast-popup .btn-close-toast:hover {
  color: #ffffff;
}
@keyframes slideInRightToast {
  from {
    transform: translateX(110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}




/* ========================================================
   CHALLENGES CARD & SIDEBAR RED DOT
======================================================== */
.challenges-red-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: #ef4444;
  border-radius: 50%;
  margin-left: auto;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.85);
  flex-shrink: 0;
  animation: pulseChallengesDot 2s infinite ease-in-out;
}
@keyframes pulseChallengesDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.8; }
}

.challenges-cards-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.challenge-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.dark-mode .challenge-card-item {
  background: #151f32;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ch-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ch-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: #0284c7;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
}
body.dark-mode .ch-tag-badge {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
}

.ch-card-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
}
body.dark-mode .ch-card-timer {
  color: #94a3b8;
}

.ch-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}
body.dark-mode .ch-card-title {
  color: #ffffff;
}

.ch-card-desc {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0 0 12px 0;
  line-height: 1.45;
}
body.dark-mode .ch-card-desc {
  color: #94a3b8;
}

.ch-card-requirement {
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 12px;
}
body.dark-mode .ch-card-requirement {
  color: #cbd5e1;
}

.ch-card-reward {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}
body.dark-mode .ch-card-reward {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.ch-progress-wrap {
  margin-bottom: 18px;
}

.ch-progress-track {
  width: 100%;
  height: 9px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}
body.dark-mode .ch-progress-track {
  background: rgba(255, 255, 255, 0.08);
}

.ch-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: 9999px;
  transition: width 0.35s ease;
}

.ch-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  margin-top: 6px;
}
body.dark-mode .ch-progress-label {
  color: #94a3b8;
}

.btn-ch-accept {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}
.btn-ch-accept:hover {
  background: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

.btn-ch-giveup {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #ef4444;
  border: 1.5px solid rgba(239, 68, 68, 0.5);
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-ch-giveup:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

.ch-badge-status {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}
.ch-badge-status.completed {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.ch-badge-status.expired {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}


/* ========================================================
   TRONSPIN - AUTHENTIC LEVEL SYSTEM TABLE (IMAGE REPLICA)
======================================================== */
.trx-brand-icon {
  background: linear-gradient(135deg, #eb0029, #c0001f) !important;
  box-shadow: 0 4px 12px rgba(235, 0, 41, 0.4) !important;
}

.brand-sub {
  color: #eb0029 !important;
}

.trx-level-system-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.trx-level-system-card {
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  border: 1px solid #dbe2ea;
}

/* LEVEL PROGRESS CARD ABOVE TABLE */
/* CLEAN WHITE LEVEL PROGRESS CARD (HIGH VISIBILITY) */
.faucet-level-progress-box {
  background: #ffffff !important;
  border-radius: 14px;
  padding: 16px 20px;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
  margin-bottom: 14px;
}
.faucet-lvl-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.faucet-lvl-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lvl-tag-pill {
  background: rgba(235, 0, 41, 0.08);
  color: #eb0029;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  border: 1px solid rgba(235, 0, 41, 0.2);
}
.faucet-tier-name {
  color: #0f172a !important;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.text-tron {
  color: #eb0029;
}
.faucet-pct-badge {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
}
/* HIGH-CONTRAST PROGRESS LINE TRACK */
.faucet-white-line-track {
  width: 100%;
  height: 12px;
  background: #f1f5f9 !important;
  border-radius: 20px;
  overflow: hidden;
  padding: 2px;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}
.faucet-white-line-fill {
  height: 100%;
  background: linear-gradient(90deg, #eb0029 0%, #ff3355 100%) !important;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(235, 0, 41, 0.5);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.faucet-lvl-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 11px;
  color: #64748b !important;
  font-weight: 600;
}
.faucet-lvl-footer strong {
  color: #0f172a !important;
}

/* REFRESHED LEVEL SYSTEM TABLE CARD */
.trx-level-system-card {
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}
.trx-ls-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-inner-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trx-ls-table th {
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 10px 18px;
  border-bottom: 1px solid #e2e8f0;
}
.trx-ls-table td {
  padding: 11px 18px;
  font-size: 13px;
  border-bottom: 1px solid #f1f5f9;
}
.trx-ls-table tr:last-child td {
  border-bottom: none;
}
.trx-ls-table tr.active-tier {
  background: #fff1f2 !important;
  font-weight: 700;
}
.trx-ls-table tr.active-tier td {
  color: #9f1239;
}
.tier-bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.tier-bullet.stone { background: #64748b; }
.tier-bullet.iron { background: #94a3b8; }
.tier-bullet.bronze { background: #d97706; }
.tier-bullet.silver { background: #cbd5e1; }
.tier-bullet.gold { background: #eab308; }
.tier-bullet.platinum { background: #06b6d4; }
.tier-bullet.diamond { background: #3b82f6; }
.tier-bullet.master { background: #a855f7; }

.trx-ls-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-family: inherit;
}

.trx-ls-table th {
  background: #cccccc;
  color: #333333;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  text-transform: uppercase;
  border: none;
  letter-spacing: 0.4px;
}

.trx-ls-table td {
  padding: 10px 16px;
  font-size: 13.5px;
  color: #2b2b2b;
  border: none;
  transition: all 0.2s ease;
}

.trx-ls-table tbody tr:nth-child(even) {
  background: #f7f7f8;
}

.trx-ls-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.trx-ls-table tbody tr:hover {
  background: #eef4fb;
}

.trx-ls-table tbody tr.active-tier td {
  font-weight: 700 !important;
  color: #002b5c !important;
}

.trx-ls-table tbody tr.active-tier .active-check-icon {
  display: inline-block !important;
  color: #003874;
  font-weight: 900;
  margin-left: 6px;
}

.trx-ls-progress-box {
  background: var(--card-bg, #1a2234);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trx-ls-progress-box .prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
  color: #94a3b8;
}

.trx-ls-progress-box .prog-label strong {
  color: #38bdf8;
}

.btn-auth-submit {
  padding: 14px 20px;
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 8px;
  background: linear-gradient(135deg, #eb0029 0%, #c4001d 100%) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(235, 0, 41, 0.38);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(235, 0, 41, 0.48);
}
.auth-trust-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed #e2e8f0;
}
.auth-trust-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}
.auth-trust-pill i {
  color: #eb0029;
  font-size: 0.8rem;
}

/* 2FA QR CODE COMPACT SIZING */
#twoFaQrContainer {
  width: 180px !important;
  height: 180px !important;
  max-width: 180px !important;
  max-height: 180px !important;
  margin: 16px auto !important;
  padding: 10px !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
#twoFaQrImg {
  width: 160px !important;
  height: 160px !important;
  max-width: 160px !important;
  max-height: 160px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

/* CLEAN ROUND ZEROES (NO SLASH/CROSS IN 0) */
.header-balance-amount,
.payout-big-number,
.faucet-big-num,
.user-balance-val,
.stat-val,
.crypto-amount-text {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-variant-numeric: normal !important;
  font-feature-settings: "zero" 0 !important;
}

/* SHOW SIDEBAR RED DOTS (CHALLENGES & DAILY TASKS) */
.challenges-red-dot,
#challengesRedDot,
#tasksRedDot {
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  background-color: #ef4444 !important;
  border-radius: 50% !important;
  margin-left: auto !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.85) !important;
  flex-shrink: 0 !important;
  animation: pulseChallengesDot 2s infinite ease-in-out !important;
}

/* Auth 2-Column Split Layout */
.auth-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
}
.auth-hero-feature-panel {
  padding: 10px 15px 10px 0;
}
.auth-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  margin-bottom: 18px;
}
.auth-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.22;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.auth-hero-title span {
  color: #eb0029;
}
.auth-hero-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}
.auth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.auth-feature-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}
.auth-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(235, 0, 41, 0.08);
  color: #eb0029;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.auth-feature-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px 0;
}
.auth-feature-card p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}
.auth-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #cbd5e1;
}
.auth-stat-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.auth-stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}
.auth-stat-lbl {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .auth-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .auth-hero-feature-panel {
    text-align: center;
    padding: 0;
  }
  .auth-hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .auth-feature-card {
    text-align: left;
  }
}


/* Hide subtitles/tags under game names - Only show game name */
.game-tag {
  display: none !important;
}
.game-info {
  padding: 10px 8px !important;
  text-align: center !important;
}
.game-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  letter-spacing: -0.2px;
}

/* =========================================================
   TABLE ALIGNMENT UTILITIES & COLUMN SYNC
========================================================= */
.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }

.referrals-data-table th, .referrals-data-table td {
  vertical-align: middle !important;
}
.referrals-data-table th:nth-child(1), .referrals-data-table td:nth-child(1) {
  text-align: left !important;
  padding-left: 20px !important;
  width: 32% !important;
}
.referrals-data-table th:nth-child(2), .referrals-data-table td:nth-child(2) {
  text-align: center !important;
  width: 26% !important;
}
.referrals-data-table th:nth-child(3), .referrals-data-table td:nth-child(3) {
  text-align: center !important;
  width: 21% !important;
}
.referrals-data-table th:nth-child(4), .referrals-data-table td:nth-child(4) {
  text-align: center !important;
  width: 21% !important;
}

.trx-faucet-levels-table th:nth-child(1), .trx-faucet-levels-table td:nth-child(1) {
  text-align: left !important;
  padding-left: 20px !important;
  width: 50% !important;
}
.trx-faucet-levels-table th:nth-child(2), .trx-faucet-levels-table td:nth-child(2) {
  text-align: right !important;
  padding-right: 24px !important;
  width: 50% !important;
}

/* ========================================================
   ENHANCED HIGH-VISIBILITY WITHDRAWAL & TRANSACTION HISTORY
======================================================= */
.withdraw-history-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  margin-top: 24px;
}
body.dark-mode .withdraw-history-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.withdraw-history-card .history-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #f1f5f9;
}
body.dark-mode .withdraw-history-card .history-card-header {
  border-bottom-color: #334155;
}
.withdraw-history-card .history-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.dark-mode .withdraw-history-card .history-card-title {
  color: #f8fafc;
}
.withdraw-history-card .history-count-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}
body.dark-mode .withdraw-history-card .history-count-badge {
  background: #0f172a;
  color: #94a3b8;
  border-color: #334155;
}
.withdraw-history-card .history-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.withdraw-history-card .history-data-table th {
  background: #f8fafc;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 12px 16px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 2px solid #cbd5e1;
}
.withdraw-history-card .history-data-table th:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.withdraw-history-card .history-data-table th:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
body.dark-mode .withdraw-history-card .history-data-table th {
  background: #0f172a;
  color: #94a3b8;
  border-color: #334155;
}
.withdraw-history-card .history-data-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
body.dark-mode .withdraw-history-card .history-data-table td {
  border-bottom-color: #334155;
}
.withdraw-history-card .history-data-table tr:hover td {
  background: #f8fafc;
}
body.dark-mode .withdraw-history-card .history-data-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}


/* ========================================================
   MASTER MOBILE RESPONSIVENESS SUITE (ALL SCREENS & VIEWS)
   Ensures 100% fluid mobile view on 320px - 768px devices
======================================================= */
@media (max-width: 768px) {
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative !important;
  }
  .dash-container {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .dash-main-content {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    padding: 12px 8px 40px !important;
    box-sizing: border-box !important;
  }

  /* TOP FAUCET & GAMES LEVEL PROGRESS BOX */
  .faucet-level-progress-box {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .faucet-lvl-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin-bottom: 8px !important;
  }
  .faucet-lvl-left {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .lvl-tag-pill {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  .faucet-tier-name {
    font-size: 13.5px !important;
  }
  .faucet-pct-badge {
    font-size: 11px !important;
    padding: 2px 8px !important;
  }
  .faucet-white-line-track {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 10px !important;
    margin: 8px 0 !important;
  }
  .faucet-lvl-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
  .faucet-lvl-footer span:last-child {
    font-size: 10px !important;
    color: #64748b !important;
  }

  /* GAMES ARCADE HUB */
  .games-arcade-wrapper {
    max-width: 100% !important;
    padding: 8px 4px 20px !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .games-grid-11 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px 8px !important;
  }

  /* CONTESTS PORTAL MOBILE */
  .contests-page-container {
    padding: 8px 4px 30px !important;
    max-width: 100% !important;
  }
  .contests-hero-banner {
    padding: 18px 12px !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
  }
  .contests-hero-banner h2 {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }
  .contests-hero-banner p {
    font-size: 12.5px !important;
    margin-bottom: 16px !important;
  }
  .flip-clock-display {
    padding: 10px 12px !important;
    gap: 6px !important;
    border-radius: 12px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
  }
  .flip-card-digit {
    font-size: 16px !important;
    padding: 4px 6px !important;
    border-radius: 5px !important;
  }
  .flip-colon {
    font-size: 16px !important;
  }
  .flip-unit-label {
    font-size: 9.5px !important;
  }
  .contests-podium-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }
  .contests-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .contests-personal-card {
    padding: 14px 12px !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
  }
  .contests-table-card {
    border-radius: 12px !important;
  }
  .contests-table-card .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .contests-table-card .contest-leaderboard-table th,
  .contests-table-card .contest-leaderboard-table td {
    padding: 10px 8px !important;
    font-size: 11.5px !important;
  }

  /* CHALLENGES PORTAL MOBILE */
  .challenges-page-container {
    padding: 8px 4px 30px !important;
    max-width: 100% !important;
  }
  .challenges-card {
    padding: 18px 12px !important;
    border-radius: 14px !important;
  }
  .challenges-nav-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
  }
  .btn-challenge-tab {
    padding: 7px 10px !important;
    font-size: 12px !important;
    flex: 1 1 calc(50% - 6px) !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    border-radius: 50px !important;
  }
  .btn-challenge-tab .challenge-tab-badge {
    margin-left: 4px !important;
    font-size: 10.5px !important;
    padding: 1px 6px !important;
  }
  .challenge-card-item {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }

  /* WITHDRAW & WITHDRAW HISTORY TABLE MOBILE */
  .withdraw-page-container {
    padding: 8px 4px 30px !important;
    max-width: 100% !important;
  }
  .withdraw-box-card {
    padding: 18px 12px !important;
    border-radius: 14px !important;
  }
  .withdraw-history-card {
    padding: 14px 8px !important;
    border-radius: 14px !important;
    margin-top: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .withdraw-history-card .history-card-header {
    padding: 0 4px 10px !important;
    margin-bottom: 10px !important;
  }
  .withdraw-history-card .history-card-title {
    font-size: 0.95rem !important;
  }
  .withdraw-history-card .history-count-badge {
    font-size: 11px !important;
    padding: 2px 7px !important;
  }
  .withdraw-history-card .table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .withdraw-history-card .history-data-table {
    width: 100% !important;
    min-width: 310px !important;
  }
  .withdraw-history-card .history-data-table th {
    padding: 8px 6px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.3px !important;
  }
  .withdraw-history-card .history-data-table td {
    padding: 10px 6px !important;
    font-size: 0.8rem !important;
  }
  .withdraw-history-card .history-data-table td:first-child {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }
  .withdraw-history-card .history-data-table td .font-mono {
    font-size: 10px !important;
  }
  .withdraw-history-card .history-data-table td a {
    font-size: 10px !important;
  }
  .withdraw-history-card .history-data-table td span[style*="border-radius:8px"],
  .withdraw-history-card .history-data-table td span[style*="border-radius: 8px"] {
    padding: 4px 8px !important;
    font-size: 11px !important;
    gap: 4px !important;
  }

  /* DEPOSIT MOBILE */
  .deposit-page-container {
    padding: 8px 4px 30px !important;
    max-width: 100% !important;
  }
  .deposit-box-card {
    padding: 18px 12px !important;
    border-radius: 14px !important;
  }
  .deposit-address-box {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 10px !important;
    height: auto !important;
  }
  .deposit-address-box input {
    width: 100% !important;
    font-size: 11px !important;
    text-align: center !important;
  }
  .btn-copy-address {
    width: 100% !important;
    justify-content: center !important;
  }

  /* CASHBACK MOBILE */
  .cashback-page-container {
    padding: 8px 4px 30px !important;
    max-width: 100% !important;
  }
  .cashback-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .cb-stat-card {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }
  .cb-last-week-card {
    padding: 18px 12px !important;
    border-radius: 12px !important;
  }

  /* AFFILIATES & SETTINGS MOBILE */
  .affiliates-container, .settings-container, .surveys-page-container, .contact-page-container {
    padding: 8px 4px 30px !important;
    max-width: 100% !important;
  }
  .ref-stats-grid, .settings-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .referral-link-box {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 10px !important;
    height: auto !important;
  }
  .referral-link-box input {
    font-size: 11px !important;
    width: 100% !important;
    text-align: center !important;
  }
  .btn-copy-ref {
    width: 100% !important;
    justify-content: center !important;
  }

  /* INDIVIDUAL GAME CONSOLES MOBILE */
  .dice-modern-console,
  .slots-modern-console,
  .gems-modern-console,
  .mines-modern-console,
  .limbo-modern-console,
  .poker-console-wrapper,
  .baccarat-console-wrapper,
  .hilo-console-wrapper,
  .roulette-console-wrapper,
  .plinko-console-wrapper,
  .wheel-console-wrapper {
    max-width: 100% !important;
    padding: 0 2px !important;
  }
  .dice-clean-card,
  .slots-clean-card,
  .gems-clean-card,
  .mines-clean-card,
  .limbo-clean-card {
    padding: 14px 10px !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
  }
  .dice-top-pills-row,
  .slots-top-pills-row,
  .limbo-top-pills-row,
  .gems-top-pills-row {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 6px !important;
    margin-bottom: 10px !important;
  }
}

@media (max-width: 420px) {
  .games-grid-11 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px 5px !important;
  }
  .game-title {
    font-size: 11px !important;
  }
  .btn-challenge-tab {
    font-size: 11px !important;
    padding: 6px 8px !important;
  }
}

/* ========================================================
   GIFT CODE RED DOT (LAL DANA) & WAGER BOOST STYLING
======================================================== */
.gift-red-dot,
#giftRedDot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: #ef4444;
  border-radius: 50%;
  margin-left: auto;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
  animation: pulseGiftDot 1.4s infinite;
}
@keyframes pulseGiftDot {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
