/* ==========================================================================
   PKA24.COM - PREMIUM GAMING & CASINO DASHBOARD STYLESHEET
   Design System: Dark Luxury Gaming Aesthetic, Gold & Purple Highlights
   Compliance: Islamic Republic of Pakistan Digital Standards & PECA 2016
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Background Hierarchy */
  --bg-darkest: #07090e;
  --bg-primary: #0b0e14;
  --bg-secondary: #101520;
  --bg-card: #151b28;
  --bg-card-hover: #1c2436;
  --bg-card-glass: rgba(21, 27, 40, 0.75);
  --bg-input: #121824;
  --bg-overlay: rgba(5, 7, 11, 0.85);

  /* Gold Color Palette */
  --gold: #f5b316;
  --gold-light: #ffd466;
  --gold-lighter: #fff0b8;
  --gold-dark: #b88107;
  --gold-glow: rgba(245, 179, 22, 0.35);
  --gold-gradient: linear-gradient(135deg, #ffd769 0%, #f5b316 50%, #d48b06 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(245, 179, 22, 0.15) 0%, rgba(212, 139, 6, 0.05) 100%);

  /* Purple & Accent Colors */
  --purple: #8b5cf6;
  --purple-dark: #5b21b6;
  --purple-light: #a78bfa;
  --purple-glow: rgba(139, 92, 246, 0.3);
  --purple-gradient: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --ruby: #ef4444;
  --ruby-glow: rgba(239, 68, 68, 0.35);
  --sapphire: #3b82f6;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #fcd34d;

  /* Borders & Shadows */
  --border-color: #20293d;
  --border-subtle: #171f2f;
  --border-gold: rgba(245, 179, 22, 0.4);
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 6px 20px rgba(245, 179, 22, 0.25);
  --shadow-purple: 0 8px 30px rgba(139, 92, 246, 0.25);

  /* Layout Dimensions */
  --sidebar-left-width: 235px;
  --sidebar-right-width: 310px;
  --header-height: 76px;
  --bottom-nav-height: 64px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Global Resets & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100%;
  background-color: #11141c;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #11141c;
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  line-height: 1.5;
  position: relative;
  touch-action: pan-y manipulation;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .brand-name, .hero-title, .section-heading, .vip-main-title {
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

input {
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   3. Ambient Decorative Glows
   -------------------------------------------------------------------------- */
.ambient-glow {
  display: none !important;
}

.glow-top-left {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
  top: -100px;
  left: 50px;
}

.glow-top-right {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 179, 22, 0.12) 0%, transparent 70%);
  top: -120px;
  right: 0;
}

.glow-center {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  top: 40%;
  left: 30%;
}

/* --------------------------------------------------------------------------
   4. Main App Layout (Desktop)
   -------------------------------------------------------------------------- */
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: auto;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background-color: #141824;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.45);
  overflow: visible !important;
}

.main-content-wrapper {
  flex: 1;
  margin-left: 0 !important;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background-color: #141824;
  min-height: 100vh;
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  overflow: visible !important;
  padding-bottom: calc(var(--bottom-nav-height) + 14px + env(safe-area-inset-bottom, 0px)) !important;
}

.dashboard-body-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 6px 24px !important;
  gap: 8px !important;
  overflow: visible;
}

.primary-feed {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* --------------------------------------------------------------------------
   5. LEFT SIDEBAR (235px Desktop)
   -------------------------------------------------------------------------- */
.sidebar-left {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 290px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background-color: #0c1018 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  z-index: 2500 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  transform: translateX(-100%) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: none !important;
  will-change: transform !important;
}
.sidebar-left.open {
  transform: translateX(0) !important;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.95) !important;
}
.sidebar-overlay {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 2400 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease !important;
}
.sidebar-overlay.active {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.sidebar-left::-webkit-scrollbar {
  display: none;
}

.sidebar-brand {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(245, 179, 22, 0.45));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 18px rgba(245, 179, 22, 0.7));
}

.header-mobile-brand {
  display: none;
  align-items: center;
}

.mobile-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(245, 179, 22, 0.5));
}

.mobile-close-btn {
  display: none;
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 1.2rem;
  padding: 6px;
}

.sidebar-nav {
  padding: 18px 12px;
  flex: 1;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-indicator {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3.5px;
  height: 20px;
  background: var(--gold-gradient);
  border-radius: 0 4px 4px 0;
  transition: transform var(--transition-normal);
}

.nav-icon {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-label {
  flex: 1;
}

.nav-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--border-radius-full);
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.jackpot-badge {
  background: rgba(245, 179, 22, 0.18);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseLight 1.8s infinite;
}

@keyframes pulseLight {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.04);
}

.nav-link:hover .nav-icon {
  color: var(--gold-light);
}

.nav-link.active {
  color: var(--gold-light);
  background: var(--gold-gradient-subtle);
  border: 1px solid rgba(245, 179, 22, 0.22);
}

.nav-link.active .nav-icon {
  color: var(--gold);
}

.nav-link.active .nav-indicator {
  transform: translateY(-50%) scaleY(1);
}

.sidebar-bottom {
  padding: 16px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-secondary);
  position: sticky;
  bottom: 0;
  z-index: 1;
}

.live-chat-card {
  background: linear-gradient(180deg, rgba(28, 36, 52, 0.7) 0%, rgba(18, 23, 34, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--emerald);
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 0.02em;
}

.chat-avatars {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  margin-left: -8px;
  object-fit: cover;
}
.chat-avatar:first-child {
  margin-left: 0;
}

.chat-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.btn-chat-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 7px 12px;
  background: rgba(245, 179, 22, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-sm);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.btn-chat-now:hover {
  background: var(--gold-gradient);
  color: #160f00;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Language Dropdown */
.language-dropdown-wrapper {
  position: relative;
}

.language-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

.language-btn:hover {
  border-color: var(--border-color);
  color: var(--text-primary);
}

.lang-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chevron-icon {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.language-menu {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 3px;
  box-shadow: var(--shadow-md);
  z-index: 100;
}

.language-menu.show {
  display: flex;
}

.language-menu li {
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.language-menu li:hover, .language-menu li.active {
  background-color: rgba(245, 179, 22, 0.12);
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   6. TOP HEADER (Height: 76px Desktop)
   -------------------------------------------------------------------------- */
.top-header {
  height: var(--header-height);
  background: rgba(20, 24, 36, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px !important;
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  max-width: 430px;
  box-sizing: border-box;
  overflow: visible;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  max-width: 520px;
}

.mobile-menu-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  color: #ffffff !important;
  font-size: 1.25rem !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  z-index: 95 !important;
  position: relative !important;
  transition: transform 0.15s ease, background-color 0.15s ease !important;
}
.mobile-menu-toggle:active {
  transform: scale(0.94) !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

.header-mobile-brand {
  display: none;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.mobile-brand-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-brand-icon .crown-icon {
  font-size: 10px;
  margin-bottom: -3px;
}

.mobile-shield {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 13px;
}

.mobile-brand-text .brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.mobile-brand-text .brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  margin-top: 1px;
}

.search-container {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-full);
  padding: 8px 16px;
  transition: all var(--transition-fast);
  position: relative;
}

.search-container:focus-within {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 3px rgba(245, 179, 22, 0.15);
  background-color: #161e2e;
}

.search-icon {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-right: 10px;
}

.search-input {
  width: 100%;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.search-input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.clear-search-btn {
  color: var(--text-muted);
  padding: 4px;
  font-size: 0.85rem;
}
.clear-search-btn:hover {
  color: var(--text-primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-action-wrapper {
  position: relative;
}

.header-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-gold);
  background: var(--bg-card);
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--ruby);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 8px var(--ruby-glow);
}

.balance-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(16, 21, 32, 0.95) 0%, rgba(26, 34, 52, 0.95) 100%);
  border: 1px solid var(--border-color);
  padding: 6px 6px 6px 14px;
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-sm);
}

.balance-info {
  display: flex;
  flex-direction: column;
}

.balance-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 1;
}

.balance-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.2;
}

.btn-balance-add {
  width: 30px;
  height: 30px;
  background: var(--emerald);
  color: #06311e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 10px var(--emerald-glow);
}

.btn-balance-add:hover {
  transform: scale(1.08);
  background: #34d399;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-full);
}

.profile-btn:hover {
  border-color: var(--border-gold);
}

.profile-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

.profile-text-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.profile-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.profile-rank {
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 600;
}

.profile-chevron {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dropdown-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: none;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-popover.show {
  display: block;
}

@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Currency Switcher Pill */
.currency-switch-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-full);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.currency-switch-btn:hover {
  border-color: var(--border-gold);
  background: var(--bg-card);
}

.currency-flag {
  font-size: 1rem;
  line-height: 1;
}

.currency-code {
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.currency-chevron {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.currency-popover {
  width: 220px;
  padding: 10px;
}

.currency-menu-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.currency-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.currency-option:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.currency-option.active {
  background-color: rgba(245, 179, 22, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(245, 179, 22, 0.25);
}

.curr-flag {
  font-size: 1.25rem;
}

.curr-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.curr-details strong {
  font-size: 0.85rem;
  line-height: 1.1;
}

.curr-details span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.curr-check {
  font-size: 0.8rem;
  color: var(--gold);
  opacity: 0;
}

.currency-option.active .curr-check {
  opacity: 1;
}

/* Currency Onboarding Dialog */
.currency-dialog {
  max-width: 480px;
  border-color: var(--border-gold);
}

.currency-modal-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.currency-prompt-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.currency-prompt-text strong {
  color: #ffffff;
}

.currency-choice-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.currency-choice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-md);
  text-align: left;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.currency-choice-card:hover {
  border-color: rgba(245, 179, 22, 0.5);
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
}

.currency-choice-card.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(245, 179, 22, 0.12) 0%, rgba(139, 92, 246, 0.05) 100%);
  box-shadow: 0 0 20px rgba(245, 179, 22, 0.2);
}

.choice-flag {
  font-size: 2rem;
}

.choice-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.choice-code {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.choice-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
}

.choice-rate {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.choice-radio {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.currency-choice-card.active .choice-radio {
  color: var(--gold);
}

.currency-guarantee-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.currency-guarantee-note i {
  color: var(--gold);
}

.currency-modal-footer {
  padding: 16px 24px 20px;
  display: flex;
  justify-content: stretch;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.btn-confirm-currency {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 1rem;
}

.notif-popover {
  width: 320px;
}

.popover-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.popover-header h3 {
  font-size: 1rem;
  font-weight: 700;
}

.popover-action {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}

.popover-action:hover {
  text-decoration: underline;
}

.notif-list {
  max-height: 280px;
  overflow-y: auto;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.notif-item.unread {
  background-color: rgba(245, 179, 22, 0.04);
}

.notif-item:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
  color: var(--text-muted);
  gap: 8px;
  font-size: 0.82rem;
  text-align: center;
}

.notif-empty i {
  font-size: 1.5rem;
  opacity: 0.4;
  color: var(--purple-light);
}

.notif-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.gold-bg { background: rgba(245, 179, 22, 0.15); color: var(--gold); }
.purple-bg { background: rgba(139, 92, 246, 0.15); color: var(--purple); }
.green-bg { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }

.notif-content {
  flex: 1;
}

.notif-title {
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.notif-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.profile-popover {
  width: 240px;
  padding: 14px;
}

.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.popover-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.popover-user-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.badge-vip-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--gold-light);
  background: rgba(245, 179, 22, 0.15);
  padding: 2px 8px;
  border-radius: var(--border-radius-full);
  margin-top: 2px;
  font-weight: 700;
}

.popover-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 10px 0;
}

.popover-menu-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popover-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.popover-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.popover-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  color: #f87171;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
}
.popover-logout-btn:hover {
  background-color: rgba(239, 68, 68, 0.1);
}

/* --------------------------------------------------------------------------
   7. HERO BANNER (Desktop)
   -------------------------------------------------------------------------- */
.hero-banner-section {
  width: 100%;
}

.hero-card {
  position: relative;
  border-radius: 0 !important;
  overflow: hidden;
  padding: 38px 42px 34px;
  background: linear-gradient(125deg, #1b1035 0%, #0d0e1a 45%, #181228 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 250px;
  transition: all var(--transition-normal);
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-radial-flare {
  position: absolute;
  right: 15%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(245, 179, 22, 0.15) 45%, transparent 70%);
  filter: blur(40px);
}

.roulette-glow-disc {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 179, 22, 0.2);
  animation: rotateDisc 40s linear infinite;
}

@keyframes rotateDisc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.floating-chip {
  position: absolute;
  color: var(--gold-light);
  opacity: 0.4;
  animation: floatChip 5s ease-in-out infinite alternate;
}

.chip-1 { top: 15%; right: 35%; font-size: 1.6rem; animation-delay: 0s; }
.chip-2 { bottom: 20%; right: 28%; font-size: 1.3rem; animation-delay: 1.5s; color: var(--purple-light); }
.chip-3 { top: 30%; right: 8%; font-size: 1.5rem; animation-delay: 2.8s; }

@keyframes floatChip {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(15deg); }
}

.floating-sparkle {
  position: absolute;
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.7;
  animation: sparkleTwinkle 2.5s infinite ease-in-out alternate;
}
.sparkle-1 { top: 20%; left: 45%; }
.sparkle-2 { bottom: 25%; right: 40%; font-size: 1.5rem; animation-delay: 1s; color: #fff; }
.sparkle-3 { top: 75%; left: 38%; animation-delay: 1.8s; }

@keyframes sparkleTwinkle {
  0% { transform: scale(0.7); opacity: 0.3; }
  100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 8px var(--gold)); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 179, 22, 0.15);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: var(--border-radius-full);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  width: fit-content;
}

.hero-headline-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-subtext {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--purple-light);
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(245, 179, 22, 0.3));
}

.hero-extra {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.04em;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-claim-bonus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--gold-gradient);
  color: #120c00;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: var(--border-radius-full);
  box-shadow: 0 6px 22px var(--gold-glow);
  transition: all var(--transition-normal);
}

.btn-claim-bonus:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(245, 179, 22, 0.45);
}

.btn-claim-bonus:active {
  transform: translateY(0);
}

.hero-terms {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hero-visual-graphic {
  position: relative;
  z-index: 2;
  margin-right: 30px;
}

.graphic-podium {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.podium-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
}

.ring-outer {
  width: 160px;
  height: 160px;
  border-color: rgba(245, 179, 22, 0.3);
  box-shadow: 0 0 30px var(--gold-glow), inset 0 0 20px rgba(139, 92, 246, 0.3);
  animation: pulseOuter 4s ease-in-out infinite alternate;
}

.ring-inner {
  width: 120px;
  height: 120px;
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 20px var(--purple-glow);
}

@keyframes pulseOuter {
  0% { transform: scale(0.96); opacity: 0.6; }
  100% { transform: scale(1.04); opacity: 1; }
}

.hero-gem-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-central-crown {
  font-size: 3.5rem;
  color: var(--gold-light);
  filter: drop-shadow(0 6px 18px var(--gold));
  animation: heroCrownHover 3s ease-in-out infinite;
}

@keyframes heroCrownHover {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(-3deg); }
}

.hero-dice-duo {
  position: absolute;
  bottom: -15px;
  display: flex;
  gap: 12px;
  font-size: 1.6rem;
}

.dice-a { color: #f87171; filter: drop-shadow(0 2px 8px rgba(239, 68, 68, 0.5)); transform: rotate(-12deg); }
.dice-b { color: var(--purple-light); filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.5)); transform: rotate(15deg); }

.carousel-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.indicator {
  width: 24px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.indicator.active {
  background: var(--gold-gradient);
  width: 38px;
  box-shadow: 0 0 8px var(--gold-glow);
}

/* --------------------------------------------------------------------------
   8. CATEGORY FILTERS
   -------------------------------------------------------------------------- */
.category-filter-section {
  width: 100%;
}

.category-scroll-container {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-scroll-container::-webkit-scrollbar {
  display: none;
}

.desktop-categories {
  display: none !important;
}
.mobile-categories-wrapper {
  display: flex !important;
}
.mobile-categories {
  display: flex !important;
}
.mobile-y9-sections {
  display: flex !important;
}
#featuredGamesSection {
  display: none !important;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.category-icon {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.category-btn:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.category-btn.active {
  background: rgba(245, 179, 22, 0.12);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 14px rgba(245, 179, 22, 0.2);
}

.category-btn.active .category-icon {
  color: var(--gold);
}

/* No Results State */
.no-results-state {
  background-color: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.no-results-icon {
  font-size: 2.8rem;
  color: var(--text-muted);
}

.no-results-state h3 {
  font-size: 1.25rem;
}

.no-results-state p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.btn-secondary-gold {
  margin-top: 8px;
  padding: 8px 20px;
  border-radius: var(--border-radius-full);
  background: rgba(245, 179, 22, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.85rem;
}
.btn-secondary-gold:hover {
  background: var(--gold-gradient);
  color: #120c00;
}

/* --------------------------------------------------------------------------
   9. GAMES SECTIONS (Featured & Live Casino Desktop)
   -------------------------------------------------------------------------- */
.games-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-count-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 3px 8px;
  border-radius: var(--border-radius-full);
  border: 1px solid var(--border-subtle);
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.btn-view-all:hover {
  color: var(--gold);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.featured-games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.featured-games-grid .game-card {
  flex: none;
  width: 100%;
  min-width: 0;
}

@media (max-width: 1200px) {
  .featured-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .featured-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}

.game-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 179, 22, 0.4);
  box-shadow: var(--shadow-md), 0 0 20px rgba(245, 179, 22, 0.15);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media .card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.game-card:hover .card-media .card-thumb-img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 45%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.art-olympus {
  background: radial-gradient(circle at center, #3b2804 0%, #150f02 80%);
  border-bottom: 1px solid rgba(245, 179, 22, 0.2);
}

.art-hero-svg {
  width: 72px;
  height: 72px;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.game-card:hover .art-hero-svg {
  transform: scale(1.15) rotate(3deg);
}

.art-olympus .art-hero-icon {
  font-size: 3rem;
  color: var(--gold-light);
  filter: drop-shadow(0 0 14px var(--gold));
  animation: floatIcon 3s ease-in-out infinite alternate;
}
.art-pillar-left, .art-pillar-right {
  position: absolute;
  bottom: 0;
  width: 14px;
  height: 70%;
  background: linear-gradient(180deg, rgba(245, 179, 22, 0.3) 0%, transparent 100%);
  border-top: 3px solid var(--gold);
}
.art-pillar-left { left: 14px; }
.art-pillar-right { right: 14px; }

.art-sweet {
  background: radial-gradient(circle at center, #3d112d 0%, #160410 80%);
  border-bottom: 1px solid rgba(236, 72, 153, 0.2);
}
.art-sweet .art-hero-icon {
  font-size: 3rem;
  color: #f472b6;
  filter: drop-shadow(0 0 14px rgba(244, 114, 182, 0.6));
}
.candy-floating {
  position: absolute;
  font-size: 1.4rem;
  animation: floatCandy 2.5s ease-in-out infinite alternate;
}
.candy-1 { top: 15%; left: 15%; }
.candy-2 { bottom: 15%; right: 15%; animation-delay: 1.2s; }

@keyframes floatCandy {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.art-frontier {
  background: radial-gradient(circle at center, #422006 0%, #170c02 80%);
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}
.art-frontier .art-hero-icon {
  font-size: 2.8rem;
  color: #fb923c;
  filter: drop-shadow(0 0 14px rgba(251, 146, 60, 0.6));
}
.art-sun-glow {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.4) 0%, transparent 70%);
}

.art-ancient {
  background: radial-gradient(circle at center, #1e293b 0%, #090e17 80%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}
.art-ancient .art-hero-icon {
  font-size: 2.8rem;
  color: #38bdf8;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.6));
}

.art-bigcatch {
  background: radial-gradient(circle at center, #064e3b 0%, #021a14 80%);
  border-bottom: 1px solid rgba(52, 211, 153, 0.2);
}
.art-bigcatch .art-hero-icon {
  font-size: 2.8rem;
  color: #34d399;
  filter: drop-shadow(0 0 14px rgba(52, 211, 153, 0.6));
}

/* ---- Royal Crane / PKA24 Original Games ---- */
.art-chicken-rush,
.art-bunny-rush {
  background: radial-gradient(circle at center, #052e16 0%, #020d06 80%);
  border-bottom: 1px solid rgba(34, 197, 94, 0.35);
}
.art-chicken-rush .art-hero-icon,
.art-bunny-rush .art-hero-icon {
  font-size: 3rem;
  color: #4ade80;
  filter: drop-shadow(0 0 14px rgba(74, 222, 128, 0.6));
}

.art-royal-spin {
  background: radial-gradient(circle at center, #4a1d6e 0%, #130526 80%);
  border-bottom: 1px solid rgba(217, 70, 239, 0.35);
}
.art-royal-spin .art-hero-icon {
  font-size: 3rem;
  color: #e879f9;
  filter: drop-shadow(0 0 16px rgba(217, 70, 239, 0.7));
  animation: floatIcon 3s ease-in-out infinite alternate;
}

.art-royal-flip {
  background: radial-gradient(circle at center, #1e3a8a 0%, #020617 80%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.35);
}
.art-royal-flip .art-hero-icon {
  font-size: 3rem;
  color: #60a5fa;
  filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.7));
  animation: floatIcon 3s ease-in-out infinite alternate;
}

.art-royal-slots {
  background: radial-gradient(circle at center, #2e1065 0%, #0b0126 80%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.4);
}
.art-royal-slots .art-hero-icon {
  font-size: 3rem;
  color: #a78bfa;
  filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.7));
  animation: floatIcon 3s ease-in-out infinite alternate;
}

.art-tower {
  background: radial-gradient(circle at center, #27303f 0%, #080b12 80%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
}
.art-tower .art-hero-icon {
  font-size: 3rem;
  color: #38bdf8;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.7));
  animation: floatIcon 3s ease-in-out infinite alternate;
}

.art-lucky-chicken,
.art-lucky-bunny {
  position: relative;
  overflow: hidden;
  background: #06120a;
  border-bottom: 2px solid rgba(34, 197, 94, 0.5);
  box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.15);
}
.art-lucky-chicken .card-thumb-img,
.art-lucky-bunny .card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.game-card:hover .art-lucky-chicken .card-thumb-img,
.game-card:hover .art-lucky-bunny .card-thumb-img {
  transform: scale(1.08);
  filter: brightness(1.1);
}
.art-lucky-chicken::after,
.art-lucky-bunny::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

@keyframes floatIcon {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.card-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 3;
  letter-spacing: 0.04em;
}

.tag-hot { background: var(--ruby); color: #fff; box-shadow: 0 0 8px var(--ruby-glow); }
.tag-jackpot { background: var(--gold-gradient); color: #160f00; font-weight: 900; }
.tag-new { background: var(--purple); color: #fff; box-shadow: 0 0 8px var(--purple-glow); }
.tag-exclusive { background: #3b82f6; color: #fff; }
.tag-top { background: #059669; color: #fff; }
.card-tag-secondary {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 3;
  letter-spacing: 0.04em;
}
.tag-multiplier {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #111827;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.4);
}

.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  z-index: 5;
}

.game-card:hover .card-hover-overlay {
  opacity: 1;
  pointer-events: all;
}

.btn-play-trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #1a1200;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 20px var(--gold-glow);
  transform: scale(0.85);
  transition: transform var(--transition-normal);
}

.game-card:hover .btn-play-trigger {
  transform: scale(1);
}

.btn-play-trigger:hover {
  transform: scale(1.12);
  box-shadow: 0 0 25px rgba(245, 179, 22, 0.7);
}

.btn-fav-toggle {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--text-secondary);
  font-size: 1rem;
  padding: 4px;
}
.btn-fav-toggle:hover {
  color: #f87171;
}

.hover-play-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.card-info {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-info-main {
  min-width: 0;
  flex: 1;
}

.game-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.game-provider {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}

.stat-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. LIVE CASINO SECTION & CARDS
   -------------------------------------------------------------------------- */
.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  padding: 2px 7px;
  border-radius: var(--border-radius-full);
  margin-right: 4px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.live-games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.live-card .card-media {
  aspect-ratio: 16 / 11;
}

.art-live-blackjack { background: linear-gradient(135deg, #10172a 0%, #020617 100%); }
.art-live-roulette { background: linear-gradient(135deg, #1e1b4b 0%, #050515 100%); }
.art-live-baccarat { background: linear-gradient(135deg, #1e293b 0%, #030712 100%); }
.art-live-wheel { background: linear-gradient(135deg, #2e1065 0%, #09021a 100%); }

.live-table-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 3;
}

.gold-live {
  background: var(--gold-gradient);
  color: #160f00;
}

.live-indicator-dot {
  width: 5px;
  height: 5px;
  background-color: #fff;
  border-radius: 50%;
}

.live-player-count {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 3;
}

.dealer-badge-wrap {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: var(--border-radius-full);
  z-index: 3;
}

.dealer-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.dealer-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-limits-pill {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(245, 179, 22, 0.1);
  border: 1px solid rgba(245, 179, 22, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   11. RIGHT SIDEBAR (310px Desktop)
   -------------------------------------------------------------------------- */
.sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.right-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.vip-card {
  background: linear-gradient(135deg, #1b170c 0%, #141a29 70%);
  border: 1px solid var(--border-gold);
}

.vip-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.vip-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171001;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.vip-titles {
  display: flex;
  flex-direction: column;
}

.vip-main-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.vip-tier-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
}

.vip-progress-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.vip-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-percent {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-light);
}

.progress-points {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.progress-bar-track {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--border-radius-full);
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.8s ease-out;
}

.vip-subnote {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.btn-vip-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px;
  background: rgba(245, 179, 22, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-sm);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn-vip-action:hover {
  background: var(--gold-gradient);
  color: #120c00;
  box-shadow: var(--shadow-gold);
}

.card-header-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.header-icon-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gold-icon {
  color: var(--gold);
}

.card-widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.live-badge-tiny {
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 6px;
  border-radius: var(--border-radius-full);
}

.winners-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.winner-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.winner-row:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-color);
  transform: translateX(2px);
}

.winner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background-color: var(--bg-secondary);
}

.gold-ring { border: 1.5px solid var(--gold); color: var(--gold-light); }
.purple-ring { border: 1.5px solid var(--purple); color: var(--purple-light); }
.blue-ring { border: 1.5px solid var(--sapphire); color: #60a5fa; }
.green-ring { border: 1.5px solid var(--emerald); color: #34d399; }

.winner-info {
  flex: 1;
  min-width: 0;
}

.winner-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.winner-game {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-prize {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-light);
  white-space: nowrap;
}

.tournament-card {
  background: linear-gradient(135deg, #22123f 0%, #121727 60%, #1e1933 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow-purple);
}

.tournament-bg-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  filter: blur(20px);
}

.tournament-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.tournament-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--purple-light);
  letter-spacing: 0.06em;
}

.tournament-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.prize-pool-box {
  background: rgba(11, 14, 20, 0.6);
  border: 1px solid rgba(245, 179, 22, 0.25);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  text-align: center;
  margin-bottom: 14px;
}

.prize-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prize-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px var(--gold-glow));
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.countdown-box {
  background: rgba(11, 14, 20, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 6px 2px;
  text-align: center;
}

.countdown-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.countdown-unit {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.btn-join-tournament {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--purple-gradient);
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: var(--border-radius-sm);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px var(--purple-glow);
}

.btn-join-tournament:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, #8b5cf6 0%, #5b21b6 100%);
}

/* --------------------------------------------------------------------------
   12. COMPREHENSIVE PAKISTANI-COMPLIANT FOOTER
   -------------------------------------------------------------------------- */
.app-footer-comprehensive {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, #0d111a 0%, #080a0f 100%);
  display: flex;
  flex-direction: column;
}

/* 12A. Regulatory Trust Banner */
.footer-trust-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(16, 21, 32, 0.6);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(245, 179, 22, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.trust-badge-text {
  display: flex;
  flex-direction: column;
}

.trust-badge-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.trust-badge-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* 12B. Main Footer 4 Columns Grid */
.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.1fr 1.3fr;
  gap: 32px;
  padding: 36px 28px 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand-img {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(245, 179, 22, 0.45));
  transition: transform var(--transition-fast);
}

.footer-brand-link:hover .footer-brand-img {
  transform: scale(1.04);
}

.footer-company-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pakistan-registration-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  padding: 10px 12px;
}

.reg-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.reg-details {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-col-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-policy-btn, .footer-nav-btn, .footer-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: left;
  transition: all var(--transition-fast);
}

.footer-policy-btn:hover, .footer-nav-btn:hover, .footer-nav-link:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-policy-btn i, .footer-nav-btn i, .footer-nav-link i {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-policy-btn:hover i, .footer-nav-btn:hover i, .footer-nav-link:hover i {
  color: var(--gold);
}

.footer-support-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-subtle);
}

.contact-pill i {
  color: var(--gold);
  font-size: 0.85rem;
}

.payment-partners-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.partners-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.payment-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pay-chip {
  background: #151c2a;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* 12C. Statutory Warning Disclaimer Notice */
.footer-statutory-notice {
  margin: 0 28px 24px;
  padding: 16px 20px;
  background: rgba(245, 179, 22, 0.04);
  border: 1px solid rgba(245, 179, 22, 0.2);
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.statutory-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-statutory-notice p {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-statutory-notice p strong {
  color: #ffffff;
}

/* 12D. Bottom Copyright Bar */
.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #06080c;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.copyright-text strong {
  color: var(--text-primary);
}

.jurisdiction-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: var(--border-radius-full);
}

.jurisdiction-tag i {
  color: var(--emerald);
}

/* --------------------------------------------------------------------------
   13. FIXED BOTTOM MOBILE NAVIGATION (Hidden on Desktop)
   -------------------------------------------------------------------------- */
.mobile-bottom-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  width: 100% !important;
  max-width: 430px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  height: var(--bottom-nav-height) !important;
  background: rgba(18, 22, 34, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  z-index: 1000 !important;
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px)) !important;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  position: fixed !important;
  bottom: 0 !important;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #94a3b8;
  padding: 5px 2px;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.mobile-nav-icon-wrap {
  position: relative;
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, filter 0.25s ease, color 0.25s ease;
}

.mobile-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-chat-status {
  position: absolute;
  top: -1px;
  right: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 4px var(--emerald);
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  color: #ffffff;
  background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.mobile-nav-item:hover .mobile-nav-icon-wrap {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}

.mobile-nav-item.active {
  color: #fbbf24;
  background: radial-gradient(circle at 50% 65%, rgba(245, 158, 11, 0.16) 0%, transparent 72%);
}

.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fef08a, #f59e0b);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.85), 0 0 14px rgba(254, 240, 138, 0.5);
}

.mobile-nav-item.active .mobile-nav-label {
  color: #fef08a;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.mobile-nav-item.active .mobile-nav-icon-wrap {
  color: #fbbf24;
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
}

/* --------------------------------------------------------------------------
   14. MODALS, POPUPS & DRAWERS
   -------------------------------------------------------------------------- */
.hidden {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--bg-overlay);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  overflow: hidden;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.small-dialog {
  max-width: 480px;
}

/* ===================================================
   SEAMLESS IN-LAYOUT GAME VIEW (NATIVE MOBILE BLEND)
   =================================================== */
#gameModal.modal-backdrop,
#gameModal {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 430px !important;
  height: 100vh !important;
  height: 100dvh !important;
  background-color: #080b11 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: hidden !important;
  animation: none !important;
  transition: none !important;
}

#gameModal.modal-backdrop.hidden,
#gameModal.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  #gameModal.modal-backdrop,
  #gameModal {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    max-width: 100% !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

#gameModal .game-dialog,
#gameModal .game-dialog.game-dialog-wide,
#gameModal .modal-dialog {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  animation: none !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  background: #080b11 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#gameModal .modal-header.game-header-bar {
  background: #10141f !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  z-index: 10 !important;
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.btn-game-back {
  background: rgba(254, 211, 48, 0.12);
  border: 1px solid rgba(254, 211, 48, 0.35);
  color: #fed330;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.btn-game-back:hover {
  background: rgba(254, 211, 48, 0.25);
  border-color: #fed330;
  color: #ffffff;
}

.btn-game-back:active {
  transform: scale(0.97);
}

#gameModal .modal-title-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#gameModal .modal-title-group h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#gameModal .modal-title-group .modal-subtitle {
  font-size: 0.70rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#gameModal .modal-actions-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#gameModal .btn-modal-action {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #a0aec0 !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#gameModal .btn-modal-close {
  background: rgba(231, 76, 60, 0.12) !important;
  border: 1px solid rgba(231, 76, 60, 0.35) !important;
  color: #ff6b6b !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#gameModal .btn-modal-close:hover {
  background: rgba(231, 76, 60, 0.3) !important;
  border-color: #ff6b6b !important;
  color: #ffffff !important;
}

#gameModal .modal-body.game-screen {
  flex: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: calc(100% - 50px) !important;
  overflow: hidden !important;
  background: #080b11 !important;
  display: flex !important;
  flex-direction: column !important;
  border: none !important;
  border-radius: 0 !important;
}

#gameModal .game-runner-container,
#gameModal .game-runner-frame {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  outline: none !important;
}

.game-runner-container {
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #080b11;
}

.game-runner-frame {
  width: 100%;
  height: 100%;
  min-height: 100%;
  flex: 1;
  border: none;
  display: block;
  background: #080b11;
}

.policy-dialog {
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon {
  font-size: 1.4rem;
  color: var(--purple-light);
}

.modal-title-group h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.modal-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.modal-actions-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-modal-action, .btn-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-modal-action:hover, .btn-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.game-screen {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: radial-gradient(circle at center, #181226 0%, #0c0f18 100%);
}

.game-canvas-mock {
  position: relative;
  background: #080a0f;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px 20px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-reels-container {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.reel {
  width: 90px;
  background: linear-gradient(180deg, #131722 0%, #1e2538 50%, #131722 100%);
  border: 2px solid var(--border-gold);
  border-radius: 12px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
  transition: transform 0.15s ease;
}

.reel.spinning {
  animation: reelSpinAnimation 0.6s ease-in-out infinite;
}

@keyframes reelSpinAnimation {
  0% { transform: translateY(-8px); filter: blur(2px); }
  50% { transform: translateY(8px); filter: blur(3px); }
  100% { transform: translateY(-8px); filter: blur(2px); }
}

.reel-symbol {
  font-size: 2.2rem;
}

.game-win-announcement {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-md);
  z-index: 10;
  animation: bounceIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.win-banner {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.win-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-full);
  padding: 10px 24px;
}

.control-stat {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

.bet-adjuster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-bet-step {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.btn-bet-step:hover {
  background: var(--gold);
  color: #000;
}

.bet-amount {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 0.95rem;
}

.highlight-gold {
  color: var(--gold-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.btn-spin-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 32px;
  background: var(--gold-gradient);
  color: #120c00;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  border-radius: var(--border-radius-full);
  box-shadow: 0 4px 18px var(--gold-glow);
}

.btn-spin-action:hover {
  transform: scale(1.05);
}

/* Legal Policy Modal Content */
.policy-modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  max-height: 55vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.policy-modal-body h4 {
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-top: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 4px;
}

.policy-modal-body p {
  color: var(--text-secondary);
}

.policy-modal-body ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-secondary);
}

.policy-modal-footer {
  padding: 14px 24px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.vip-modal-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vip-benefit-card {
  padding: 16px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.vip-benefit-card.active {
  border-color: var(--border-gold);
  background: rgba(245, 179, 22, 0.05);
}

.tier-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.tier-badge-pill.gold { background: var(--gold-gradient); color: #160f00; }
.tier-badge-pill.platinum { background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%); color: #0f172a; }

.benefit-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.benefit-bullets li i {
  color: var(--emerald);
  font-size: 0.8rem;
}

.locked-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.chat-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
}

.chat-drawer-panel {
  width: 100%;
  max-width: 360px;
  height: 100%;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.chat-drawer-header {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-indicator {
  position: relative;
}

.agent-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--emerald);
  border: 1.5px solid var(--bg-secondary);
}

.chat-header-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.agent-status {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-close-chat {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.chat-messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.agent-bubble {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-bubble {
  background: var(--purple-gradient);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.bubble-time {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: right;
}

.chat-input-row {
  padding: 14px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.chat-input-row input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-full);
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-send-chat {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #120c00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: all;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--border-radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
  font-size: 0.88rem;
  animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-icon {
  font-size: 1.1rem;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS & MOBILE-ONLY FIDELITY
   -------------------------------------------------------------------------- */

/* ==========================================================================
   15. UNIFIED MOBILE-FIRST DESIGN (ALWAYS ACTIVE ON ALL DEVICES)
   Desktop view removed entirely; mobile view applies consistently everywhere.
   ========================================================================== */
  :root {
    --header-height: 62px;
  }

  .mobile-close-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: background 0.18s ease !important;
  }
  .mobile-close-btn:active {
    background: rgba(255, 255, 255, 0.18) !important;
  }
  .app-layout {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #141824;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.45);
    overflow: visible !important;
    position: relative;
  }
  .main-content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    background-color: #141824;
    overflow: visible !important;
    padding-bottom: calc(var(--bottom-nav-height) + 14px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Mobile Top App Bar (Reference Style) */
  .mobile-top-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: #10141f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 10px;
    z-index: 1050;
    width: 100%;
    box-sizing: border-box;
  }
  .mobile-top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .mobile-top-bar-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.95rem;
    padding: 2px 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  .mobile-top-bar-close:hover {
    color: #ffffff;
  }
  .mobile-app-badge-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    overflow: hidden;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(34, 197, 94, 0.4);
    flex-shrink: 0;
  }
  .mobile-app-badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .mobile-top-bar-text {
    font-size: 0.74rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .neon-green-text {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  }
  .mobile-top-bar-btn {
    background: #ffffff;
    color: #080b10;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease;
  }
  .mobile-top-bar-btn:active {
    transform: scale(0.96);
  }

  .top-header {
    height: var(--header-height);
    padding: 0 8px;
    background: rgba(20, 24, 36, 0.96);
    width: 100%;
    max-width: 430px;
    box-sizing: border-box;
    overflow: visible;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    z-index: 95 !important;
    position: relative !important;
  }
  .header-mobile-brand {
    display: flex;
    flex-shrink: 0;
    align-items: center;
  }
  .header-left {
    max-width: none;
    gap: 6px;
    flex-shrink: 0;
    min-width: 0;
  }
  .top-header .search-container {
    display: none;
  }
  .header-right {
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
    justify-content: flex-end;
  }
  #currencyWrapper,
  #notifWrapper {
    display: none !important;
  }
  .header-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .notification-badge {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
  }
  .currency-switch-btn {
    padding: 3px 6px;
    font-size: 0.74rem;
    gap: 3px;
    flex-shrink: 0;
  }
  .currency-flag {
    font-size: 0.85rem;
  }
  .currency-chevron {
    display: none;
  }
  .balance-pill {
    padding: 3px 3px 3px 8px;
    gap: 6px;
    flex-shrink: 0;
    display: none;
  }
  body.is-logged-in .balance-pill {
    display: flex;
  }
  .balance-label {
    display: none;
  }
  .balance-amount {
    font-size: 0.88rem;
  }
  .btn-balance-add {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }
  .auth-guest-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .btn-guest-login {
    background: #ffffff !important;
    color: #07090e !important;
    font-weight: 800 !important;
    font-size: 0.78rem !important;
    border-radius: 20px !important;
    padding: 5px 14px !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.22) !important;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, background-color 0.18s ease !important;
  }
  .btn-guest-login:active {
    transform: scale(0.96) !important;
    background: #f1f5f9 !important;
  }
  .btn-guest-login i {
    display: none !important;
  }
  .btn-guest-signup {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    font-weight: 800 !important;
    font-size: 0.78rem !important;
    border-radius: 20px !important;
    padding: 4px 14px !important;
    position: relative !important;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px) !important;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease !important;
  }
  .btn-guest-signup:active {
    transform: scale(0.96) !important;
    background: rgba(255, 255, 255, 0.15) !important;
  }
  .btn-guest-signup i {
    display: none !important;
  }
  .register-bonus-badge {
    display: inline-block !important;
    position: absolute !important;
    top: -8px !important;
    right: -4px !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    font-size: 0.52rem !important;
    font-weight: 900 !important;
    padding: 1px 5px !important;
    border-radius: 8px !important;
    line-height: 1.1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7) !important;
    border: 0.5px solid rgba(255, 255, 255, 0.3) !important;
  }
  .profile-btn {
    padding: 2px;
    flex-shrink: 0;
  }
  .profile-avatar {
    width: 30px;
    height: 30px;
  }
  .profile-text-meta, .profile-chevron {
    display: none;
  }

  /* Popover mobile boundaries to avoid cutoff */
  .dropdown-popover {
    max-width: calc(100vw - 16px);
    right: -4px;
    box-sizing: border-box;
  }
  .notif-popover {
    width: min(320px, calc(100vw - 16px));
  }
  .profile-popover {
    width: min(240px, calc(100vw - 16px));
    right: 0;
  }

  .dashboard-body-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 6px 24px;
    gap: 8px;
    overflow: visible;
  }
  .primary-feed {
    gap: 8px !important;
  }
  .hero-banner-section {
    margin-bottom: 0 !important;
  }
  .category-filter-section {
    margin: 0 !important;
    padding: 0 !important;
  }
  .primary-feed,
  .sidebar-right,
  .hero-banner-section,
  .category-filter-section,
  .games-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  .header-logo-img {
    height: 28px;
    max-width: 88px;
    object-fit: contain;
  }
  /* Mobile Hero Banner Slider (5 Realistic Professional Gaming Banners) */
  .hero-slider-container,
  #heroBannerCard.hero-slider-container,
  .hero-card {
    position: relative !important;
    width: 100% !important;
    height: clamp(122px, 30vw, 136px) !important;
    min-height: 122px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    background: #0b0f17 !important;
    padding: 0 !important;
    margin: 0 !important;
    touch-action: pan-y !important;
    display: block !important;
  }

  .hero-slider-track {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
  }

  .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.45s ease-in-out, transform 0.45s ease-in-out !important;
    transform: scale(1.02) !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 0 !important;
    z-index: 1 !important;
  }

  .hero-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    z-index: 2 !important;
  }

  .hero-slide-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center right !important;
    border-radius: 0 !important;
    z-index: 1 !important;
  }

  .hero-slide-overlay {
    display: none !important;
  }

  .hero-slide-content {
    position: relative !important;
    z-index: 3 !important;
    padding: 6px 12px 14px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 2px !important;
    max-width: 70% !important;
    margin-left: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  .hero-slide-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: rgba(245, 158, 11, 0.22) !important;
    border: 1px solid rgba(245, 158, 11, 0.5) !important;
    color: #fbbf24 !important;
    padding: 2px 7px !important;
    border-radius: 0 !important;
    font-size: 0.54rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    width: fit-content !important;
  }
  .hero-slide-badge.badge-red {
    background: rgba(239, 68, 68, 0.22) !important;
    border-color: rgba(239, 68, 68, 0.55) !important;
    color: #f87171 !important;
  }
  .hero-slide-badge.badge-purple {
    background: rgba(168, 85, 247, 0.22) !important;
    border-color: rgba(168, 85, 247, 0.55) !important;
    color: #c084fc !important;
  }
  .hero-slide-badge.badge-pink {
    background: rgba(236, 72, 153, 0.22) !important;
    border-color: rgba(236, 72, 153, 0.55) !important;
    color: #f472b6 !important;
  }
  .hero-slide-badge.badge-gold {
    background: rgba(234, 179, 8, 0.22) !important;
    border-color: rgba(234, 179, 8, 0.55) !important;
    color: #facc15 !important;
  }

  .hero-slide-title {
    font-size: 0.96rem !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    margin: 1px 0 !important;
    letter-spacing: -0.01em !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  }

  .hero-slide-title .gold-gradient-text {
    background: none !important;
    -webkit-text-fill-color: #facc15 !important;
    color: #facc15 !important;
    filter: none !important;
    display: inline !important;
  }

  .hero-slide-subtitle {
    font-size: 0.62rem !important;
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .hero-slide-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #f59e0b !important;
    color: #0b0f17 !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    padding: 3px 9px !important;
    border-radius: 0 !important;
    width: fit-content !important;
    margin-top: 2px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
  }
  .hero-slide-cta:hover {
    transform: translateY(-1px) scale(1.02) !important;
    opacity: 0.95 !important;
  }

  .hero-slider-container .carousel-indicators {
    position: absolute !important;
    bottom: 5px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 5px !important;
    z-index: 5 !important;
  }

  .hero-slider-container .carousel-indicators .indicator {
    width: 8px !important;
    height: 4px !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.35) !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: width 0.3s ease, background-color 0.3s ease !important;
  }

  .hero-slider-container .carousel-indicators .indicator.active {
    width: 18px !important;
    background: #facc15 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .btn-claim-bonus {
    padding: 5px 14px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35) !important;
  }
  .hero-terms {
    font-size: 0.58rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
  }
  .carousel-indicators {
    bottom: 6px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 5px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
  }
  .indicator {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.35) !important;
    border: none !important;
    padding: 0 !important;
    transition: all 0.25s ease !important;
  }
  .indicator.active {
    width: 22px !important;
    height: 4px !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6) !important;
  }

  /* Quick 5 Mini Games Bar (Reference Style) */
  .mobile-quick-games-bar {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .quick-game-item {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    min-width: 0;
  }
  .quick-game-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0c1017;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
  .quick-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: thumbPlayableMotion 5.8s ease-in-out infinite alternate;
    will-change: transform;
    transition: transform 0.3s ease;
  }
  .quick-game-item:nth-child(2n) .quick-game-thumb img {
    animation-delay: -1.8s;
  }
  .quick-game-item:nth-child(3n) .quick-game-thumb img {
    animation-delay: -3.6s;
  }
  .quick-game-thumb::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(
      90deg,
      transparent 32%,
      rgba(255, 255, 255, 0.06) 46%,
      rgba(255, 255, 255, 0.25) 50%,
      rgba(255, 255, 255, 0.06) 54%,
      transparent 68%
    );
    pointer-events: none;
    z-index: 2;
    animation: thumbPlayableShimmer 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }
  .quick-game-item:nth-child(2n) .quick-game-thumb::after {
    animation-delay: 1.6s;
  }
  .quick-game-item:nth-child(3n) .quick-game-thumb::after {
    animation-delay: 3.2s;
  }
  .quick-game-badge {
    position: absolute;
    top: 2px;
    left: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: #22c55e;
    font-size: 0.48rem;
    font-weight: 900;
    padding: 1px 3px;
    border-radius: 3px;
    line-height: 1;
    border: 0.5px solid rgba(34, 197, 94, 0.4);
  }
  .quick-game-title {
    font-size: 0.58rem;
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
  }

  /* Marquee Announcement Ticker (News / Sound Bar) */
  .mobile-marquee-ticker {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(20, 25, 38, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 5px 8px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  .marquee-icon-speaker {
    color: #ffffff;
    font-size: 0.85rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  .marquee-scroll-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    min-width: 0;
  }
  .marquee-scroll-text {
    display: inline-block;
    font-size: 0.72rem;
    color: #cbd5e1;
    font-weight: 500;
    animation: marqueeAnim 24s linear infinite;
  }
  .marquee-brand-tag {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  }
  .marquee-icon-mail {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.85rem;
    flex-shrink: 0;
    cursor: pointer;
    padding: 2px;
    position: relative;
    display: flex;
    align-items: center;
  }
  .marquee-mail-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 5px #22c55e;
  }

  .desktop-categories {
    display: none !important;
  }

  /* Mobile Categories (Compact, Modern 3D Glass Badges, Upward Aligned) */
  .mobile-categories-wrapper {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .mobile-categories {
    display: flex !important;
    gap: 6px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    width: 100% !important;
    padding: 2px 28px 2px 2px !important;
    box-sizing: border-box !important;
  }
  .mobile-categories::-webkit-scrollbar {
    display: none !important;
  }
  .mobile-category-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    min-width: 62px !important;
    padding: 3px 2px !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
    transition: all 0.22s ease !important;
  }
  .mobile-cat-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .cat-real-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.65));
    transition: transform 0.22s ease, filter 0.22s ease;
    display: block;
  }
  .mobile-category-btn.active .mobile-cat-icon {
    transform: scale(1.14) translateY(-2px);
  }
  .mobile-category-btn.active .cat-real-icon {
    filter: drop-shadow(0 4px 10px rgba(34, 197, 94, 0.5));
  }
  .mobile-category-btn .category-title {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    white-space: nowrap !important;
    transition: color 0.2s ease, font-weight 0.2s ease !important;
  }
  .mobile-category-btn.active .category-title {
    color: #ffffff !important;
    font-weight: 800 !important;
    position: relative;
  }
  .mobile-category-btn.active .category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  .mobile-cat-arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 38px;
    background: linear-gradient(to right, transparent, rgba(11, 14, 20, 0.95) 50%);
    color: #64748b;
    font-size: 0.85rem;
    cursor: pointer;
    pointer-events: auto;
  }

  .sec-heading-real-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 5px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
    display: inline-block;
  }

  #featuredGamesSection {
    display: none !important;
  }
  .mobile-y9-sections {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-top: 0 !important;
  }

  /* Section Header Controls & Arrow Buttons */
  .mobile-section-ctrls {
    display: flex !important;
    align-items: center;
    gap: 4px;
  }
  .btn-sec-all {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    padding: 2px 9px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  .btn-sec-all:hover, .btn-sec-all:active {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
  }
  .btn-sec-arrow {
    width: 22px !important;
    height: 22px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #f1f5f9 !important;
    font-size: 0.62rem !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  .btn-sec-arrow:hover, .btn-sec-arrow:active {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
  }

  /* Side Menu Badges */
  .nav-badge-hot {
    background: rgba(239, 68, 68, 0.22) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
  }
  .nav-badge-new {
    background: rgba(14, 165, 233, 0.22) !important;
    color: #7dd3fc !important;
    border: 1px solid rgba(14, 165, 233, 0.4) !important;
  }
  .nav-badge-live {
    background: rgba(220, 38, 38, 0.25) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(220, 38, 38, 0.4) !important;
  }
  .nav-badge-gold {
    background: rgba(245, 158, 11, 0.22) !important;
    color: #fde68a !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
  }
  .nav-badge-bonus {
    background: rgba(16, 185, 129, 0.22) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
  }
  .nav-badge-instant {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }

  .mobile-game-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .mobile-game-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px;
  }
  .mobile-game-section .section-heading {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .mobile-slider-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
    padding-bottom: 12px;
  }
  .mobile-slider-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px;
  }
  .mobile-game-section .section-count-badge,
  .mobile-slider-section .section-count-badge {
    display: none !important;
  }
  #sec-mini-games .games-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    overscroll-behavior-x: contain !important;
    gap: 8px !important;
    padding: 2px 2px 8px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-snap-type: x proximity;
    will-change: scroll-position;
  }
  #sec-mini-games .games-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  #sec-mini-games .games-grid .game-card {
    flex: 0 0 calc((100% - 16px) / 3.15) !important;
    min-width: 96px !important;
    max-width: 130px !important;
    width: calc((100% - 16px) / 3.15) !important;
    scroll-snap-align: start;
    user-select: none;
  }

  /* Trending Hits Continuous Auto-Gliding Slider */
  .mobile-games-horizontal-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    overscroll-behavior-x: contain !important;
    gap: 8px !important;
    padding: 2px 2px 8px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    will-change: scroll-position;
  }
  .mobile-games-horizontal-slider::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .mobile-games-horizontal-slider .game-card {
    flex: 0 0 calc((100% - 16px) / 3.15) !important;
    min-width: 96px !important;
    max-width: 130px !important;
    width: calc((100% - 16px) / 3.15) !important;
    user-select: none;
  }

  .mobile-game-section:not(#sec-mini-games) .games-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px 8px !important;
  }
  .mobile-game-section:not(#sec-mini-games) .games-grid .game-card {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Mini Games Dynamic Category Slider Bar */
  .mini-section-categories {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 2px 4px;
    margin-top: -2px;
  }
  .mini-section-categories::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .mini-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: #a0aec0;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
  }
  .mini-cat-pill:hover,
  .mini-cat-pill.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 170, 0, 0.35) 100%);
    border-color: #ffd700;
    color: #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
  }
  .mini-cat-pill i {
    font-size: 0.75rem;
  }
  .slider-scrollbar-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    margin-top: 2px;
    position: relative;
    overflow: hidden;
  }
  .slider-scrollbar-thumb {
    height: 100%;
    width: 25%;
    background: var(--gold-gradient);
    border-radius: 4px;
    transition: transform 0.05s linear;
  }

  .category-scroll-container {
    gap: 8px;
    padding-bottom: 2px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
  }
  .category-btn {
    padding: 7px 14px;
    font-size: 0.82rem;
    gap: 6px;
  }
  .category-icon {
    font-size: 0.85rem;
  }

  .games-section {
    gap: 12px;
  }
  .section-heading {
    font-size: 1.08rem;
  }
  .btn-view-all {
    font-size: 0.78rem;
  }
  .games-grid,
  .featured-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px 8px !important;
  }
  .game-card {
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg, #1d2538 0%, #121724 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 2.5px solid rgba(10, 13, 20, 0.65) !important;
    box-shadow: 0 5px 14px -2px rgba(0, 0, 0, 0.55), 
                0 2px 5px -1px rgba(0, 0, 0, 0.4), 
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.22),
                inset 0 -1px 2px 0 rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), 
                box-shadow 0.25s ease, 
                border-color 0.2s ease !important;
    transform: translateZ(0);
    will-change: transform;
  }
  .game-card:hover, .game-card:active {
    transform: translateY(-3px) scale(1.02) !important;
    border-color: rgba(255, 255, 255, 0.26) !important;
    border-bottom-color: rgba(10, 13, 20, 0.85) !important;
    box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.7), 
                0 4px 8px rgba(0, 0, 0, 0.5), 
                0 0 14px rgba(255, 255, 255, 0.08),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.32) !important;
  }
  /* Animated GIF-like Playable Motion Effects for Game Thumbnails */
  @keyframes thumbPlayableMotion {
    0% {
      transform: scale(1) translate(0, 0);
    }
    30% {
      transform: scale(1.035) translate(-1px, -1.5px);
    }
    65% {
      transform: scale(1.02) translate(1px, 0.5px);
    }
    100% {
      transform: scale(1) translate(0, 0);
    }
  }

  @keyframes thumbPlayableShimmer {
    0% {
      transform: translateX(-160%) rotate(25deg);
      opacity: 0;
    }
    18% {
      opacity: 0.7;
    }
    38% {
      transform: translateX(170%) rotate(25deg);
      opacity: 0;
    }
    100% {
      transform: translateX(170%) rotate(25deg);
      opacity: 0;
    }
  }

  .card-media {
    width: 100% !important;
    aspect-ratio: 1 / 1.26 !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px 12px 0 0 !important;
  }
  .card-media::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 36%, transparent 58%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }
  .card-media img.card-thumb-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    animation: thumbPlayableMotion 5.8s ease-in-out infinite alternate !important;
    will-change: transform !important;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease !important;
  }
  .game-card:nth-child(2n) .card-media img.card-thumb-img {
    animation-delay: -1.9s !important;
    animation-duration: 6.4s !important;
  }
  .game-card:nth-child(3n) .card-media img.card-thumb-img {
    animation-delay: -3.8s !important;
    animation-duration: 6.9s !important;
  }
  .game-card:nth-child(4n) .card-media img.card-thumb-img {
    animation-delay: -5.1s !important;
    animation-duration: 5.4s !important;
  }
  .game-card:hover .card-media img.card-thumb-img {
    transform: scale(1.08) !important;
    filter: brightness(1.08) !important;
    animation-play-state: paused !important;
  }
  .card-media::after {
    content: '' !important;
    position: absolute !important;
    top: -60% !important;
    left: -60% !important;
    width: 220% !important;
    height: 220% !important;
    background: linear-gradient(
      90deg,
      transparent 32%,
      rgba(255, 255, 255, 0.06) 46%,
      rgba(255, 255, 255, 0.25) 50%,
      rgba(255, 255, 255, 0.06) 54%,
      transparent 68%
    ) !important;
    pointer-events: none !important;
    z-index: 3 !important;
    animation: thumbPlayableShimmer 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
  }
  .game-card:nth-child(2n) .card-media::after {
    animation-delay: 1.5s !important;
  }
  .game-card:nth-child(3n) .card-media::after {
    animation-delay: 3.1s !important;
  }
  .game-card:nth-child(4n) .card-media::after {
    animation-delay: 4.4s !important;
  }
  .card-tag {
    display: block !important;
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%) !important;
    color: #ffffff !important;
    font-size: 0.52rem !important;
    font-weight: 900 !important;
    padding: 2px 5px !important;
    border-radius: 5px !important;
    z-index: 5 !important;
    line-height: 1.15 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
    border: 0.5px solid rgba(255, 255, 255, 0.25) !important;
  }
  .btn-fav-toggle {
    display: flex !important;
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: rgba(15, 20, 30, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
    color: #f59e0b !important;
    font-size: 0.65rem !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
  }
  .btn-fav-toggle:hover {
    transform: scale(1.12) !important;
    background: rgba(15, 20, 30, 0.95) !important;
  }
  .card-info {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 4 !important;
    padding: 24px 5px 6px !important;
    background: linear-gradient(to top, rgba(8, 11, 18, 0.98) 0%, rgba(8, 11, 18, 0.75) 60%, transparent 100%) !important;
    border: none !important;
    pointer-events: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
  .card-info-main {
    width: 100% !important;
    text-align: center !important;
    min-width: 0 !important;
  }
  .game-title {
    font-size: 0.67rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-align: center !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.7) !important;
    margin: 0 !important;
    padding: 0 2px !important;
    display: block !important;
    width: 100% !important;
    letter-spacing: 0.01em !important;
  }
  .game-provider,
  .card-stats,
  .stat-pill,
  .card-tag-secondary {
    display: none !important;
  }
  .btn-play-trigger {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.85rem !important;
  }

  .live-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .dealer-name {
    font-size: 0.65rem;
  }
  .dealer-thumb {
    width: 18px;
    height: 18px;
  }
  .table-limits-pill {
    font-size: 0.62rem;
    padding: 1px 4px;
  }

  .sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .right-card {
    padding: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .vip-main-title {
    font-size: 1.05rem;
  }
  .vip-badge-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .countdown-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .countdown-box {
    padding: 6px 1px;
    min-width: 0;
    box-sizing: border-box;
  }
  .countdown-num {
    font-size: 1.05rem;
  }
  .countdown-unit {
    font-size: 0.58rem;
  }
  .prize-value {
    font-size: 1.45rem;
  }
  .winner-row {
    padding: 6px 8px;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .winner-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .winner-name {
    font-size: 0.8rem;
  }
  .winner-prize {
    font-size: 0.85rem;
  }

  /* Footer Completely Hidden on Mobile View */
  .app-footer-comprehensive {
    display: none !important;
  }

  /* Modals and Drawers on Mobile */
  .modal-backdrop:not(#gameModal) {
    padding: 10px;
    box-sizing: border-box;
  }
  #gameModal.modal-backdrop {
    padding: 0 !important;
    margin: 0 !important;
  }
  .modal-dialog {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
  }
  .chat-drawer-panel {
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
  }

  /* Mobile Bottom Navigation (Reference Style - All Devices) */
  .mobile-bottom-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    width: 100% !important;
    max-width: 430px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    height: var(--bottom-nav-height) !important;
    background: rgba(18, 22, 34, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    z-index: 1000 !important;
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    position: fixed !important;
    bottom: 0 !important;
  }
  .mobile-nav-item {
    min-width: 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: #94a3b8 !important;
    padding: 5px 2px !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    border-radius: 12px !important;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  .mobile-nav-item:hover {
    color: #ffffff !important;
    background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
  }
  .mobile-nav-item:hover .mobile-nav-icon-wrap {
    transform: translateY(-1px) scale(1.08) !important;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35)) !important;
  }
  .mobile-nav-icon-wrap {
    position: relative !important;
    font-size: 1.15rem !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.25s ease, filter 0.25s ease, color 0.25s ease !important;
  }
  .mobile-nav-label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    transition: color 0.25s ease, text-shadow 0.25s ease !important;
  }
  .mobile-nav-item.active {
    color: #fbbf24 !important;
    background: radial-gradient(circle at 50% 65%, rgba(245, 158, 11, 0.16) 0%, transparent 72%) !important;
  }
  .mobile-nav-item.active::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 28px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #f59e0b, #fef08a, #f59e0b) !important;
    border-radius: 0 0 4px 4px !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.85), 0 0 14px rgba(254, 240, 138, 0.5) !important;
  }
  .mobile-nav-item.active .mobile-nav-label {
    color: #fef08a !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.5) !important;
  }
  .mobile-nav-item.active .mobile-nav-icon-wrap {
    color: #fbbf24 !important;
    transform: translateY(-2px) scale(1.08) !important;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7)) !important;
  }
  .mobile-nav-center-item {
    position: relative !important;
  }
  .mobile-nav-center-item .mobile-nav-icon-wrap {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(217, 119, 6, 0.16)) !important;
    border: 1px solid rgba(245, 158, 11, 0.5) !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.35) !important;
    color: #fbbf24 !important;
    transition: all 0.25s ease !important;
  }
  .mobile-nav-center-item:hover .mobile-nav-icon-wrap {
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.75), inset 0 1px 3px rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) scale(1.1) !important;
  }
  .bottom-nav-bonus-badge {
    display: inline-block !important;
    position: absolute !important;
    top: -8px !important;
    right: -14px !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    font-size: 0.52rem !important;
    font-weight: 900 !important;
    padding: 1px 5px !important;
    border-radius: 8px !important;
    line-height: 1.1 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.6) !important;
    border: 0.5px solid rgba(255, 255, 255, 0.4) !important;
  }

  /* Floating WhatsApp Button (Reference Style - All Devices) */
  .mobile-floating-whatsapp {
    display: flex !important;
    position: fixed !important;
    bottom: calc(var(--bottom-nav-height) + 14px) !important;
    right: max(12px, calc(50% - 215px + 12px)) !important;
    z-index: 999 !important;
    text-decoration: none !important;
  }
  .whatsapp-circle-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    position: relative;
    transition: transform 0.2s ease;
  }
  .whatsapp-circle-btn:active {
    transform: scale(0.92);
  }
  .whatsapp-badge-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.6);
    animation: pulseGreen 2s infinite;
  }

  .toast-container {
    bottom: calc(var(--bottom-nav-height) + 16px);
    right: max(12px, calc(50% - 215px + 12px));
    left: max(12px, calc(50% - 215px + 12px));
    max-width: 400px;
    box-sizing: border-box;
    position: fixed;
    z-index: 10000;
  }

/* Extra Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  .top-header {
    padding: 0 8px;
  }
  .header-left {
    gap: 5px;
  }
  .header-logo-img {
    height: 26px;
    max-width: 80px;
  }
  .mobile-menu-toggle {
    padding: 4px;
    font-size: 1.15rem;
  }
  .header-right {
    gap: 4px;
  }
  .header-icon-btn {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .currency-switch-btn {
    padding: 2px 5px;
    font-size: 0.72rem;
    gap: 2px;
  }
  .btn-guest-login {
    background: #ffffff !important;
    color: #07090e !important;
    padding: 4px 11px !important;
    font-size: 0.74rem !important;
  }
  .btn-guest-signup {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
    padding: 4px 11px !important;
    font-size: 0.74rem !important;
  }
  .balance-pill {
    padding: 2px 2px 2px 6px;
    gap: 4px;
  }
  .balance-amount {
    font-size: 0.8rem;
  }
  .btn-balance-add {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }
  .mobile-bottom-nav {
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-nav-label {
    font-size: 0.62rem;
  }
  .mobile-nav-icon-wrap {
    font-size: 1.05rem;
  }

  .dashboard-body-grid {
    padding: 10px 10px 20px;
    gap: 14px;
  }

  .hero-card {
    padding: 10px 12px 12px;
  }
  .hero-title {
    font-size: 1.05rem;
    line-height: 1.15;
  }
  .hero-subtext {
    font-size: 0.64rem;
  }
  .hero-extra {
    font-size: 0.68rem;
  }
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
  }
  .btn-claim-bonus {
    width: auto;
    padding: 6px 14px;
    font-size: 0.74rem;
    justify-content: center;
  }
  .hero-terms {
    font-size: 0.56rem;
  }
  .mobile-game-section:not(#sec-mini-games) .games-grid,
  .games-section:not(#sec-mini-games) .games-grid,
  .featured-games-grid,
  .live-games-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px 6px !important;
  }
  .card-media {
    aspect-ratio: 1 / 1.26 !important;
  }
  .game-title {
    font-size: 0.62rem !important;
  }
  .card-tag {
    font-size: 0.5rem !important;
    padding: 1px 3px !important;
  }
  .stat-pill, .table-limits-pill {
    display: none !important;
  }
  .game-dialog {
    margin: 0 !important;
  }
  .game-screen {
    padding: 0 !important;
    gap: 0 !important;
  }
  .slot-reels-container {
    gap: 8px;
  }
  .reel {
    width: 72px;
    padding: 8px 4px;
  }
  .reel-symbol {
    font-size: 1.7rem;
  }
  .game-controls-bar {
    padding: 8px 14px;
  }
  .btn-spin-action {
    padding: 8px 20px;
    font-size: 0.95rem;
  }
}

/* Tiny Screens (<= 360px) */
@media (max-width: 360px) {
  .top-header {
    padding: 0 6px;
  }
  .header-left {
    gap: 4px;
  }
  .header-right {
    gap: 3px;
  }
  .header-logo-img {
    height: 24px;
    max-width: 72px;
  }
  .mobile-brand-text .brand-name {
    font-size: 0.95rem;
  }
  .currency-switch-btn .currency-code {
    display: none;
  }
  .btn-guest-login {
    padding: 4px 6px;
    font-size: 0.7rem;
  }
  .btn-guest-signup {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  .balance-amount {
    font-size: 0.78rem;
  }
  .header-icon-btn {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  .hero-card {
    padding: 8px 10px 10px;
  }
  .hero-title {
    font-size: 0.95rem;
  }
  .hero-extra {
    font-size: 0.62rem;
  }
  .btn-claim-bonus {
    padding: 5px 10px;
    font-size: 0.68rem;
  }
  .mobile-game-section:not(#sec-mini-games) .games-grid,
  .games-section:not(#sec-mini-games) .games-grid,
  .featured-games-grid,
  .live-games-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }
  .card-media {
    aspect-ratio: 1 / 1 !important;
  }
  .game-title {
    font-size: 0.56rem !important;
    padding: 0 1px !important;
  }
  .card-tag {
    font-size: 0.46rem !important;
    padding: 1px 3px !important;
  }
}

/* Header Admin & Guest Auth Buttons */
.header-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(245, 179, 22, 0.2), rgba(239, 68, 68, 0.2));
  border: 1px solid rgba(245, 179, 22, 0.5);
  border-radius: var(--border-radius-full);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 0 12px rgba(245, 179, 22, 0.2);
}

.header-admin-btn:hover {
  background: linear-gradient(135deg, var(--gold), #ef4444);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(245, 179, 22, 0.4);
}

.auth-guest-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-guest-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-full);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-guest-login:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-guest-signup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--border-radius-full);
  color: #000000;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 0 12px rgba(245, 179, 22, 0.3);
}

.btn-guest-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(245, 179, 22, 0.5);
}

.btn-danger-logout {
  color: #f87171 !important;
  margin-top: 4px;
}

.btn-danger-logout:hover {
  background: rgba(239, 68, 68, 0.12) !important;
}

/* Auth Modal */
.auth-dialog {
  max-width: 460px;
}

.auth-tabs-nav, .wallet-tabs-nav, .admin-tabs-nav {
  display: flex;
  background-color: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-color);
  padding: 4px 16px 0;
  gap: 8px;
  overflow-x: auto;
}

.auth-tab-btn, .wallet-tab-btn, .admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.auth-tab-btn:hover, .wallet-tab-btn:hover, .admin-tab-btn:hover {
  color: var(--text-primary);
}

.auth-tab-btn.active, .wallet-tab-btn.active, .admin-tab-btn.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.auth-modal-body, .wallet-modal-body {
  padding: 22px 24px;
}

/* Google Social Authentication */
.auth-social-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
  width: 100%;
}

.google-official-btn-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.google-official-btn-container:empty {
  display: none;
}

.btn-continue-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  background-color: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius-full);
  font-family: var(--font-family);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn-continue-google:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-continue-google:active {
  transform: translateY(0);
}

.google-icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 2px;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
}

.auth-divider-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.auth-form, .wallet-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group input, .wallet-select {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 11px 14px;
  color: #ffffff;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
  width: 100%;
}

.form-group input:focus, .wallet-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(245, 179, 22, 0.2);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-currency-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-curr-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.auth-curr-label.active, .auth-curr-label:has(input:checked) {
  border-color: var(--gold);
  color: #ffffff;
  background: rgba(245, 179, 22, 0.1);
}

.auth-demo-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 179, 22, 0.08);
  border: 1px dashed rgba(245, 179, 22, 0.35);
  padding: 10px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  color: var(--gold-light);
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
  transition: color var(--transition-fast);
}

.password-toggle:hover {
  color: var(--gold-light);
}

.forgot-password-link {
  align-self: flex-end;
  background: transparent;
  border: none;
  padding: 0;
  margin-top: -2px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.forgot-password-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

.btn-submit-auth, .btn-submit-wallet {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Wallet Styles */
.wallet-dialog {
  max-width: 640px;
}

.payment-instructions-box {
  background: rgba(245, 179, 22, 0.06);
  border: 1px solid rgba(245, 179, 22, 0.25);
  border-radius: var(--border-radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inst-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.inst-row strong {
  color: var(--gold-light);
}

.inst-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Admin Dialog & Tables */
.admin-dialog {
  max-width: 960px;
  width: 95%;
}

.admin-modal-body {
  padding: 24px;
  max-height: 75vh;
  overflow-y: auto;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-meta {
  display: flex;
  flex-direction: column;
}

.stat-meta .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-meta .stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-table-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.admin-table-header-row h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.btn-refresh-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-refresh-admin:hover {
  border-color: var(--gold);
  color: #ffffff;
}

.admin-table-container, .tx-table-container {
  overflow-x: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
}

.admin-table, .tx-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}

.admin-table th, .tx-table th {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 14px;
  color: var(--gold-light);
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.admin-table td, .tx-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

.admin-table tr:hover, .tx-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--border-radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.pending {
  background: rgba(245, 179, 22, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(245, 179, 22, 0.3);
}

.status-badge.approved, .status-badge.completed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.rejected, .status-badge.cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-actions-cell {
  display: flex;
  gap: 6px;
}

.btn-admin-approve {
  padding: 5px 10px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-admin-approve:hover {
  background: #10b981;
  color: #ffffff;
}

.btn-admin-reject {
  padding: 5px 10px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-admin-reject:hover {
  background: #ef4444;
  color: #ffffff;
}

.admin-badge-count {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: var(--border-radius-full);
  margin-left: 4px;
}

.admin-badge-count:empty, .admin-badge-count[data-count="0"] {
  display: none;
}

.table-empty {
  text-align: center;
  padding: 30px !important;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

@keyframes marqueeAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulseGreen {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}



/* ==========================================================================
   16. DESKTOP SIDE BANNERS (Lucky 3D Genie with Magic Lamp)
   ========================================================================== */
.desktop-side-banner {
  display: none;
}

@media (min-width: 900px) {
  .desktop-side-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    z-index: 5;
    pointer-events: none;
    width: calc(50vw - 225px);
    max-width: 620px;
    overflow: hidden;
    padding: 12px;
  }

  .desktop-side-left {
    left: 0;
  }

  .desktop-side-right {
    right: 0;
  }

  .side-banner-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .side-banner-img {
    width: 100%;
    height: 100%;
    max-height: 96vh;
    max-height: 96dvh;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 0;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.55));
  }

  .desktop-side-right .side-banner-img {
    transform: scaleX(-1);
  }

  .side-banner-overlay {
    display: none;
  }
}

/* ==========================================================================
   7-DAY DAILY CHECK-IN PROMOTION MODAL STYLES (Luxury Casino Theme)
   ========================================================================== */
.checkin-dialog {
  max-width: 780px;
  width: 95vw;
  background: linear-gradient(160deg, #111827 0%, #0d121f 50%, #080c15 100%);
  border: 1px solid rgba(245, 179, 22, 0.35);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 179, 22, 0.18);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.checkin-dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d97706, #f5b316, #fef08a, #f5b316, #d97706);
  z-index: 10;
}

.checkin-modal-header {
  padding: 18px 24px;
  background: rgba(17, 24, 39, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkin-header-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(245, 179, 22, 0.25) 0%, rgba(245, 179, 22, 0.05) 100%);
  border: 1px solid rgba(245, 179, 22, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #f5b316;
  box-shadow: 0 0 15px rgba(245, 179, 22, 0.2);
}

.checkin-modal-body {
  padding: 22px 24px;
  max-height: 82vh;
  overflow-y: auto;
}

/* Streak Progress Card */
.checkin-streak-banner {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.streak-banner-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.streak-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.streak-badge-pill i {
  color: #f97316;
  font-size: 1.15rem;
  animation: flameFlicker 1.8s ease-in-out infinite alternate;
}

@keyframes flameFlicker {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px #f97316); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 8px #f59e0b); }
}

.streak-cycle-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.checkin-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.checkin-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #f5b316, #fbbf24);
  border-radius: 8px;
  transition: width 0.5s ease-out;
  box-shadow: 0 0 10px rgba(245, 179, 22, 0.5);
}

/* Alert Notices */
.checkin-alert {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkin-alert.alert-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.checkin-alert.alert-info {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}

.checkin-alert.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

/* 7-Day Rewards Grid */
.checkin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.checkin-day-card {
  background: rgba(22, 30, 48, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.checkin-day-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 179, 22, 0.3);
}

/* Day 7 Grand Reward Card styling */
.checkin-day-card.day-card-grand {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(245, 179, 22, 0.18) 0%, rgba(180, 83, 9, 0.28) 100%), rgba(22, 30, 48, 0.9);
  border: 1px solid rgba(245, 179, 22, 0.45);
  box-shadow: 0 8px 24px rgba(245, 179, 22, 0.15);
}

.day-card-grand .day-number-label {
  color: #fef08a !important;
  font-weight: 700;
}

.day-card-grand .reward-amount {
  color: #fef08a !important;
  font-size: 1.25rem !important;
  text-shadow: 0 0 10px rgba(245, 179, 22, 0.5);
}

/* Card States */
.checkin-day-card.state-claimed {
  background: rgba(16, 38, 30, 0.55);
  border-color: rgba(34, 197, 94, 0.4);
}

.checkin-day-card.state-claimed .reward-icon-wrap {
  color: #22c55e;
}

.checkin-day-card.state-ready {
  background: linear-gradient(145deg, rgba(245, 179, 22, 0.22) 0%, rgba(20, 28, 45, 0.8) 100%);
  border-color: #f5b316;
  box-shadow: 0 0 20px rgba(245, 179, 22, 0.35);
  animation: pulseCard 2.2s infinite alternate;
}

@keyframes pulseCard {
  0% { box-shadow: 0 0 14px rgba(245, 179, 22, 0.25); }
  100% { box-shadow: 0 0 28px rgba(245, 179, 22, 0.5); }
}

.checkin-day-card.state-locked {
  opacity: 0.65;
}

.checkin-day-card.state-missed {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(36, 17, 24, 0.55);
}

/* Card Elements */
.day-number-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.reward-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #f5b316;
  margin: 6px 0;
  background: rgba(245, 179, 22, 0.1);
  border: 1px solid rgba(245, 179, 22, 0.2);
}

.day-card-grand .reward-icon-wrap {
  width: 52px;
  height: 52px;
  font-size: 1.6rem;
  background: radial-gradient(circle, rgba(245, 179, 22, 0.35) 0%, rgba(245, 179, 22, 0.1) 100%);
  border-color: rgba(245, 179, 22, 0.5);
  box-shadow: 0 0 16px rgba(245, 179, 22, 0.3);
}

.reward-amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.reward-currency-tag {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

/* Day Card Status Badge */
.checkin-status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.badge-claimed {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.badge-ready {
  background: rgba(245, 179, 22, 0.22);
  color: #fef08a;
  border: 1px solid rgba(245, 179, 22, 0.5);
  box-shadow: 0 0 8px rgba(245, 179, 22, 0.3);
}

.badge-locked {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.badge-missed {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Individual Card Check In Button */
.btn-day-checkin {
  width: 100%;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-day-checkin.btn-day-ready {
  background: linear-gradient(135deg, #f59e0b, #f5b316);
  color: #0b101b;
  box-shadow: 0 4px 12px rgba(245, 179, 22, 0.35);
}

.btn-day-checkin.btn-day-ready:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 179, 22, 0.5);
}

.btn-day-checkin.btn-day-claimed {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  cursor: default;
}

.btn-day-checkin.btn-day-locked {
  background: rgba(255, 255, 255, 0.05);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

.btn-day-checkin.btn-day-missed {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
  cursor: default;
}

/* Check In Action Area */
.checkin-action-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-checkin-primary {
  width: 100%;
  max-width: 440px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #f5b316 50%, #fef08a 100%);
  color: #0b101b;
  box-shadow: 0 8px 25px rgba(245, 179, 22, 0.45);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-checkin-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 179, 22, 0.6);
  filter: brightness(1.05);
}

.btn-checkin-primary:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-checkin-primary.claimed-state {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.checkin-footer-note {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
  text-align: center;
  max-width: 600px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkin-footer-note i {
  color: #38bdf8;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Responsive Grid for Mobile */
@media (max-width: 768px) {
  .checkin-dialog {
    max-width: 95vw;
  }
  
  .checkin-modal-header {
    padding: 14px 16px;
  }
  
  .checkin-modal-body {
    padding: 16px 14px;
  }
  
  .checkin-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .checkin-day-card.day-card-grand {
    grid-column: span 2;
  }
  
  .checkin-day-card {
    padding: 12px 8px;
  }
  
  .btn-checkin-primary {
    max-width: 100%;
    padding: 12px 20px;
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   PROFESSIONAL GAMING PROFILE ICON & DROPDOWN STYLES
   ========================================================================== */
.gaming-profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 5px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(245, 179, 22, 0.35);
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(245, 179, 22, 0.12);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.gaming-profile-btn:hover {
  border-color: #f5b316;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 179, 22, 0.35);
  transform: translateY(-1px);
}

.gaming-avatar-frame {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #f5b316 0%, #b45309 100%);
  padding: 2px;
  box-shadow: 0 0 10px rgba(245, 179, 22, 0.4);
}

.gaming-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0f172a;
  display: block;
}

.gaming-online-pulse {
  position: absolute;
  bottom: 0px;
  right: -1px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border: 2px solid #0f172a;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: onlinePulse 2s infinite;
}

@keyframes onlinePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.gaming-vip-crown {
  position: absolute;
  top: -6px;
  right: -5px;
  font-size: 0.65rem;
  color: #fef08a;
  background: linear-gradient(135deg, #b45309, #f59e0b);
  border: 1px solid rgba(254, 240, 138, 0.8);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.profile-text-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.profile-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
}

.verified-check {
  color: #38bdf8;
  font-size: 0.75rem;
}

.gaming-rank-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #f5b316;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Professional Gaming Popover */
.gaming-profile-popover {
  width: 320px;
  padding: 16px;
  background: linear-gradient(160deg, #131b2e 0%, #0c121e 100%);
  border: 1px solid rgba(245, 179, 22, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 179, 22, 0.15);
  border-radius: 14px;
}

.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.popover-avatar-frame {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2.5px;
  background: radial-gradient(circle, #f5b316 0%, #b45309 100%);
  box-shadow: 0 0 14px rgba(245, 179, 22, 0.4);
  flex-shrink: 0;
}

.popover-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0f172a;
}

.gaming-vip-crown-large {
  position: absolute;
  top: -7px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #b45309, #f59e0b);
  border: 1px solid rgba(254, 240, 138, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fef08a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.popover-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.popover-name-row h4 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popover-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.profile-uid-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.72rem;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
}

.profile-uid-pill:hover {
  background: rgba(245, 179, 22, 0.15);
  color: #fef08a;
  border-color: rgba(245, 179, 22, 0.35);
}

/* VIP Progression Bar */
.vip-xp-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 10px 0;
}

.vip-xp-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  margin-bottom: 5px;
}

.vip-level-tag {
  color: #f5b316;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vip-xp-pct {
  color: #94a3b8;
}

.vip-xp-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  overflow: hidden;
}

.vip-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #f5b316);
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(245, 179, 22, 0.5);
}

.highlight-promo {
  color: #fef08a !important;
  font-weight: 700;
}

.highlight-promo i {
  color: #f5b316;
}

/* ==========================================================================
   APP SHORTCUT SCREENSHOT CONFIRMATION MODAL
   ========================================================================== */
.shortcut-dialog {
  width: 92%;
  max-width: 410px;
  background: linear-gradient(180deg, #131825 0%, #0c0f18 100%);
  border: 1px solid rgba(245, 179, 22, 0.35);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 0 0 35px rgba(34, 197, 94, 0.2);
  animation: shortcutPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 10001;
}

@keyframes shortcutPopIn {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.shortcut-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.shortcut-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #22c55e;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.shortcut-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.shortcut-modal-body {
  padding: 12px;
}

/* Screenshot Frame (Displays phone screen mockup with website screenshot) */
.shortcut-screenshot-frame {
  background: radial-gradient(circle at 50% 20%, #1e293b 0%, #0f172a 60%, #070a13 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 12px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.phone-screen-img-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
}

.phone-screenshot-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.7));
  transition: transform 0.3s ease;
}

/* Floating App Launched Successfully Banner Overlay */
.app-launched-floating-banner {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 330px;
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid #22c55e;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 25px rgba(34, 197, 94, 0.35);
  animation: bannerSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

@keyframes bannerSlideUp {
  0% { transform: translateX(-50%) translateY(25px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.launched-check-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.7);
  flex-shrink: 0;
}

.launched-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.launched-banner-text strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.launched-banner-text span {
  font-size: 0.68rem;
  font-weight: 600;
  color: #86efac;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shortcut-meta-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
}

.shortcut-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.shortcut-meta-info h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 3px 0;
}

.shortcut-meta-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.3;
}

.shortcut-bonus-badge {
  background: linear-gradient(135deg, rgba(245, 179, 22, 0.15), rgba(34, 197, 94, 0.15));
  border: 1px solid rgba(245, 179, 22, 0.4);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.bonus-tag-label {
  font-size: 0.58rem;
  font-weight: 800;
  color: #22c55e;
  letter-spacing: 0.5px;
}

.bonus-tag-amt {
  font-size: 0.82rem;
  font-weight: 900;
  color: #ffd700;
}

.shortcut-meta-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-shortcut-launch {
  flex: 1;
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #060911;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-shortcut-launch:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-shortcut-launch:active {
  transform: scale(0.97);
}

.btn-shortcut-done {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.18s ease;
}

.btn-shortcut-done:hover {
  background: rgba(255, 255, 255, 0.14);
}

.shortcut-auto-dismiss {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}

.auto-dismiss-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #22c55e, #ffd700);
  transform-origin: left;
  transition: width 6s linear;
}

/* ==========================================================================
   MASTER SEAMLESS IN-PAGE GAME VIEW (ZERO BORDERS, ZERO GAPS, ZERO POPUP FRAMING)
   ========================================================================== */
div#gameModal,
div#gameModal.modal-backdrop,
div#gameModal.seamless-game-view {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 430px !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #080b11 !important;
  background-color: #080b11 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: hidden !important;
  animation: none !important;
  transition: none !important;
}

div#gameModal.hidden,
div#gameModal.modal-backdrop.hidden,
div#gameModal.seamless-game-view.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  div#gameModal,
  div#gameModal.modal-backdrop,
  div#gameModal.seamless-game-view {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

div#gameModal .game-dialog,
div#gameModal .modal-dialog,
div#gameModal .seamless-game-dialog,
div#gameModal .game-dialog-wide {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  animation: none !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  background: #080b11 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

div#gameModal .modal-header,
div#gameModal .game-header-bar,
div#gameModal .seamless-game-header {
  background: #0f1422 !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}

div#gameModal .modal-body,
div#gameModal .game-screen,
div#gameModal .seamless-game-body,
div#gameModal #gameModalBody {
  flex: 1 1 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: calc(100% - 50px) !important;
  max-height: calc(100% - 50px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #080b11 !important;
  display: flex !important;
  flex-direction: column !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  gap: 0 !important;
  outline: none !important;
}

div#gameModal .game-runner-container,
div#gameModal #interactiveGameRunner,
div#gameModal .game-runner-frame,
div#gameModal #gameRunnerIframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  outline: none !important;
  box-shadow: none !important;
  background: #080b11 !important;
  flex: 1 !important;
}

div#gameModal .slot-game-view {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

div#gameModal .game-canvas-mock {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ==========================================================================
   PROFESSIONAL GAMING LOADING SCREEN (FULL IMAGE WITH DIRECT TEXT OVERLAY)
   ========================================================================== */
.game-preloader-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
  overflow: hidden;
  user-select: none;
  background: #05070c;
}

.game-preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Full Hero Artwork Layer */
.preloader-artwork-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.preloader-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.preloader-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.game-preloader-overlay:not(.fade-out) .preloader-bg-img {
  transform: scale(1.06);
}

/* Cinematic Scrim & Vignette over image for high contrast readability */
.preloader-scrim-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.05) 0%, rgba(5, 7, 12, 0.55) 60%, rgba(3, 4, 7, 0.92) 100%),
              linear-gradient(180deg, rgba(7, 9, 14, 0.35) 0%, rgba(7, 9, 14, 0.05) 35%, rgba(7, 9, 14, 0.72) 70%, rgba(4, 6, 10, 0.98) 100%);
  pointer-events: none;
}

/* Content Overlaid Directly Over The Image */
.preloader-content-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  animation: preloaderContentPop 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes preloaderContentPop {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Website Name Over Image */
.loading-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}

.loading-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(254, 211, 48, 0.5);
  color: #fed330;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.preloader-brand-logo {
  max-width: 145px;
  height: auto;
  max-height: 85px;
  object-fit: contain;
  margin: 8px auto 2px;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0, 240, 255, 0.5));
}
@media (max-width: 480px) {
  .preloader-brand-logo {
    max-width: 115px;
    max-height: 70px;
    margin: 6px auto 1px;
  }
}

.loading-site-title {
  margin: 4px 0 0;
  font-family: 'Cinzel', 'Montserrat', sans-serif;
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 900;
  letter-spacing: clamp(2px, 1vw, 4px);
  color: #ffffff;
  text-shadow: 0 0 35px rgba(254, 211, 48, 0.75), 0 3px 12px rgba(0, 0, 0, 0.95);
  line-height: 1.05;
}

.loading-site-title .site-tld {
  background: linear-gradient(135deg, #ffd700 0%, #ff9f43 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(254, 211, 48, 0.65));
}

.loading-site-tagline {
  margin: 2px 0 0;
  font-size: clamp(0.62rem, 2.2vw, 0.74rem);
  font-weight: 700;
  letter-spacing: clamp(1px, 0.8vw, 2px);
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  text-transform: uppercase;
}

/* Loading Screen Graphic Over Image */
.loading-screen-graphic {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(7, 9, 14, 0.72);
  border: 1px solid rgba(254, 211, 48, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 12px 16px;
  box-sizing: border-box;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(254, 211, 48, 0.12);
}

.loading-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.78rem;
  font-weight: 700;
}

.loading-status-text {
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', -apple-system, sans-serif;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.loading-spinner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  animation: loadingPulse 1s infinite alternate ease-in-out;
}

@keyframes loadingPulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 1; }
}

.loading-pct-counter {
  font-family: 'Orbitron', 'Montserrat', monospace;
  color: #ffd32a;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(254, 211, 48, 0.6);
}

/* Game Progress Track */
.game-progress-track {
  width: 100%;
  height: 12px;
  background: rgba(10, 14, 22, 0.95);
  border: 1px solid rgba(254, 211, 48, 0.45);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(254, 211, 48, 0.2);
}

.game-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff9f43 0%, #ffd32a 50%, #0be881 100%);
  border-radius: 999px;
  position: relative;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 14px rgba(254, 211, 48, 0.8);
}

.progress-glow-head {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: #ffffff;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.85;
}

.progress-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  animation: progressShimmerAnim 1.4s infinite linear;
}

@keyframes progressShimmerAnim {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.loading-features-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.70rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  margin-top: 2px;
}

.feature-item i {
  color: #ffd32a;
  margin-right: 4px;
}

.feature-divider {
  color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   MOBILE VIEW PRELOADER: 4K HD ARTWORK FULLY VISIBLE WITHOUT CROPPING
   ========================================================================== */
@media (max-width: 768px) {
  .preloader-bg-img {
    object-fit: contain;
    object-position: center center;
    transform: none !important;
  }

  .game-preloader-overlay:not(.fade-out) .preloader-bg-img {
    transform: none !important;
  }

  .preloader-scrim-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(5, 7, 12, 0.2) 70%, rgba(3, 4, 7, 0.65) 100%),
                linear-gradient(180deg, rgba(7, 9, 14, 0.35) 0%, transparent 25%, transparent 65%, rgba(4, 6, 10, 0.85) 100%);
  }

  .loading-brand-header {
    gap: 2px;
  }

  .loading-site-title {
    font-size: clamp(1.85rem, 6.2vw, 2.4rem);
    letter-spacing: clamp(1.5px, 0.8vw, 3px);
  }

  .loading-site-tagline {
    font-size: clamp(0.58rem, 2vw, 0.68rem);
    letter-spacing: clamp(0.8px, 0.4vw, 1.5px);
  }

  .loading-screen-graphic {
    padding: 10px 14px;
    gap: 8px;
  }

  .loading-features-footer {
    font-size: 0.64rem;
    gap: 8px;
  }
}





