@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,800&family=Cinzel+Decorative:wght@700;900&family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --bg: #0B0B10;
  --bg2: #121118;
  --card: #16151C;
  --card2: #1C1B23;
  --line: #2A2833;
  --line2: #23212B;
  --gold: #E8B84A;
  --gold2: #F5D27E;
  --goldbg: #1C1810;
  --goldline: #5A4720;
  --fg: #F4EFE3;
  --fg2: #D9D3C6;
  --muted: #A8A196;
  --faint: #5A5664;
  --ok: #3DD68C;
  --okbg: #121A15;
  --okline: #234434;
  --bad: #F07B6B;
  --badbg: #241314;
  --badline: #5E2628;
  --r: 14px;
}

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

html, body {
  margin: 0;
  background: radial-gradient(ellipse 85% 360px at 50% -70px, rgba(232, 184, 74, 0.11), transparent 72%), var(--bg);
  background-attachment: fixed;
  color: var(--fg);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--gold); text-decoration: none; }
.hide { display: none !important; }

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 11, 16, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line2);
}

.hdr-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 14px;
  flex-wrap: wrap;
}

.logo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-word {
  font-family: 'Cinzel Decorative', 'Bodoni Moda', Georgia, serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #FFF3C4 0%, #F5D27E 45%, #D49B2A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }

.nav-item {
  padding: 8px 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--fg2);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}
.nav-item:hover { color: var(--fg); background: rgba(255, 255, 255, 0.04); }
.nav-item.active {
  background: var(--goldbg);
  color: var(--gold);
  border-color: var(--goldline);
}

.nav-deposit {
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #14110B !important;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 10px;
  margin-left: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-deposit:hover { filter: brightness(1.06); }

.hdr-right {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--fg2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, color 0.15s;
}
.icon-btn:hover, .icon-btn.active { border-color: var(--goldline); color: var(--gold2); }

.hdr-bal-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--goldbg);
  border: 1px solid var(--goldline);
  color: var(--gold2);
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 13px;
  border-radius: 10px;
  white-space: nowrap;
}
.hdr-bal-pill:hover { border-color: var(--gold); }

.wallet-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.wallet-kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.wallet-kpi .wk-lbl { font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.wallet-kpi .wk-val { font-size: 20px; font-weight: 800; color: var(--gold2); margin-top: 4px; }
.wallet-kpi .wk-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.profile-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
}
.profile-card h2 { margin: 0 0 12px; font-size: 16.5px; font-weight: 800; color: var(--fg); }
.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.game-load-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line2);
  flex-wrap: wrap;
}
.game-load-row:last-child { border-bottom: 0; padding-bottom: 0; }

@media (max-width: 640px) {
  .wallet-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-form-grid { grid-template-columns: 1fr; }
  .hdr-bal-pill { padding: 7px 10px; font-size: 12.5px; }
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(180deg, var(--gold2) 0%, var(--gold) 100%);
  color: #14110B;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 11px;
  border: 0;
  transition: filter 0.15s, transform 0.1s;
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-gold:active { transform: scale(0.985); }
.btn-gold:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(28, 24, 16, 0.45);
  color: var(--gold2);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 11px;
  border: 1px solid var(--goldline);
  transition: background 0.15s, border-color 0.15s;
}
.btn-outline-gold:hover { background: var(--goldbg); border-color: var(--gold); }

/* Main Container */
.main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px 60px;
}

/* Serif Headings */
.serif-gold {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 800;
  background: linear-gradient(180deg, #FFF3C4 0%, #F5D27E 55%, #D99F2B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
}

/* Logged-out Hero */
.hero-guest {
  background: radial-gradient(ellipse at 18% 20%, rgba(232, 184, 74, 0.16) 0%, rgba(28, 24, 16, 0.6) 45%, var(--card) 100%);
  border: 1px solid var(--goldline);
  border-radius: 18px;
  padding: 34px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 243, 196, 0.1), 0 14px 36px rgba(0, 0, 0, 0.35);
}

.hero-guest h1 {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.06;
  text-transform: uppercase;
}

.hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 16px;
  text-align: center;
}
.step-num {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold2);
  margin-bottom: 4px;
}
.step-label { font-size: 13px; font-weight: 700; color: var(--fg2); }

.status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--okbg);
  border: 1px solid var(--okline);
  color: var(--fg2);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
}
.dot-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  display: inline-block;
}

/* Logged-in Hero */
.hero-auth-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.92fr;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-card-main {
  background: radial-gradient(ellipse at 20% 0%, rgba(232, 184, 74, 0.16) 0%, rgba(24, 21, 16, 0.88) 55%, var(--card) 100%);
  border: 1px solid var(--goldline);
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: inset 0 1px 0 rgba(255, 243, 196, 0.1), 0 14px 36px rgba(0, 0, 0, 0.35);
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.welcome-lbl { color: var(--muted); font-size: 13px; font-weight: 600; }
.id-badge {
  background: var(--goldbg);
  border: 1px solid var(--goldline);
  color: var(--gold2);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}
.player-title {
  margin: 4px 0 6px;
  font-size: 38px;
  line-height: 1.05;
  text-transform: uppercase;
}
.hero-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 14px;
}
.hero-cta-row .btn-gold, .hero-cta-row .btn-outline-gold { padding: 13px 16px; font-size: 15px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.hero-card-invite {
  background: radial-gradient(ellipse at 90% 10%, rgba(232, 184, 74, 0.08) 0%, var(--card) 70%);
  border: 1px solid var(--goldline);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.invite-mini-left { display: flex; align-items: center; gap: 14px; }
.circle-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--goldbg);
  border: 1px solid var(--goldline);
  color: var(--gold2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.invite-mini-title { font-weight: 800; font-size: 16px; color: var(--fg); }
.invite-mini-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.checkin-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.checkin-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #14110B;
  font-weight: 800;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 999px;
}
.checkin-pill.done {
  background: var(--card2);
  color: var(--ok);
  border: 1px solid var(--okline);
}

/* Search & Filter Row */
.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  width: 260px;
  max-width: 100%;
}
.search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px 10px 38px;
  font-size: 14px;
  color: var(--fg);
  outline: none;
}
.search-box input:focus { border-color: var(--goldline); }

.filter-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fpill {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--fg2);
  transition: all 0.15s;
}
.fpill:hover { border-color: var(--goldline); color: var(--fg); }
.fpill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110B;
  font-weight: 800;
}

/* Game Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.game-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 22px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--goldline);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(232, 184, 74, 0.15);
}

.game-art-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d0c12;
}
.game-cover-svg, .game-cover-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.28s ease;
}
.game-card:hover .game-cover-svg, .game-card:hover .game-cover-img {
  transform: scale(1.03);
}
.hot-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11, 11, 16, 0.9);
  border: 1px solid var(--goldline);
  color: var(--gold2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 7px;
  box-shadow: 0 0 12px rgba(232, 184, 74, 0.25);
  animation: hotPulse 2.4s ease-in-out infinite;
}
@keyframes hotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(232, 184, 74, 0.2); }
  50% { box-shadow: 0 0 16px rgba(245, 210, 126, 0.48); }
}
.save-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 11, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--fg2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.save-btn.saved { color: var(--gold2); border-color: var(--goldline); background: rgba(28, 24, 16, 0.9); }

.game-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.game-title { font-size: 16px; font-weight: 800; color: var(--fg); margin: 0; }
.game-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.cat-sq {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  display: inline-block;
}
.play-btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #14110B;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  margin-top: auto;
}
.play-btn:hover { filter: brightness(1.06); }

.empty-state {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

/* Ticker & Footer */
.ticker-bar {
  margin-top: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.ticker-label { color: var(--gold2); font-weight: 800; }

.site-footer {
  margin-top: 28px;
  padding: 18px 0 10px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.site-footer a { color: var(--fg2); text-decoration: underline; text-underline-offset: 3px; }

/* Subpages */
.subpage-wrap {
  max-width: 740px;
  margin: 0 auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 18px;
}
.back-link:hover { color: var(--fg); }

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #14110B;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}
.step-heading {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px;
}

.dashed-gold-box {
  position: relative;
  border: 1.5px dashed #8A6D2B;
  background: #14120D;
  border-radius: 14px;
  padding: 4px 12px;
  margin-bottom: 22px;
}
.dashed-gold-box select {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--fg);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 6px;
  outline: none;
  cursor: pointer;
}
.dashed-gold-box select option { background: #16151C; color: var(--fg); }

.pay-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.pay-method-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.pay-method-card:hover { border-color: var(--goldline); }
.pay-method-card.selected {
  border-color: var(--gold);
  background: rgba(28, 24, 16, 0.85);
}
.pm-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  flex-shrink: 0;
}
.pm-info { flex: 1; min-width: 0; }
.pm-name { font-weight: 800; font-size: 14.5px; color: var(--fg); }
.pm-range { font-size: 12px; color: var(--muted); }
.pm-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--faint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pay-method-card.selected .pm-radio { border-color: var(--gold); }
.pay-method-card.selected .pm-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.pay-handle-box {
  background: var(--goldbg);
  border: 1px solid var(--goldline);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.summary-bar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 10px;
  margin-bottom: 20px;
}
.sum-lbl { font-size: 12px; color: var(--muted); }
.sum-val { font-size: 15px; font-weight: 800; color: var(--fg); margin-top: 2px; }

.field-lbl {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 8px;
}
.dark-input, .dark-select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 15px;
  color: var(--fg);
  outline: none;
}
.dark-input:focus, .dark-select:focus { border-color: var(--goldline); }
.dark-select option { background: #16151C; }

.recv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.recv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fg2);
}
.recv-pill.selected { border-color: var(--gold); background: var(--goldbg); color: var(--gold2); }

.upload-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px dashed #8A6D2B;
  background: rgba(28, 24, 16, 0.35);
  border-radius: 14px;
  padding: 20px;
  color: var(--gold2);
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 18px;
}
.upload-dropzone:hover { background: rgba(28, 24, 16, 0.65); }

/* Accordion & Cards */
.acc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}
.acc-btn {
  width: 100%;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 15px;
  color: var(--fg);
  text-align: left;
}
.acc-body { padding: 0 18px 16px; color: var(--fg2); font-size: 14px; display: none; }
.acc-card.open .acc-body { display: block; }

.menu-row-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--fg);
  text-align: left;
}
.menu-row-card:hover { border-color: var(--goldline); }

.invite-hero { text-align: center; padding: 12px 0 22px; }
.invite-icon-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--goldline);
  background: var(--goldbg);
  color: var(--gold2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
}
.invite-link-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.invite-url {
  font-weight: 700;
  font-size: 14px;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn {
  background: var(--card2);
  border: 1px solid var(--line);
  color: var(--fg);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Alert banners */
.alert-ok {
  background: var(--okbg);
  border: 1px solid var(--okline);
  color: var(--ok);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-weight: 600;
}
.alert-bad {
  background: var(--badbg);
  border: 1px solid var(--badline);
  color: var(--bad);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.78);
  backdrop-filter: blur(4px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.auth-modal {
  width: 100%;
  max-width: 440px;
  background: #14131A;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px 24px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--card2);
  border: 1px solid var(--line);
  color: var(--fg2);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-title { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--fg); }
.modal-sub { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.phone-row { display: flex; gap: 10px; margin-bottom: 14px; }
.country-select {
  width: 104px;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 10px;
  font-weight: 700;
  color: var(--fg);
  outline: none;
}
.phone-input {
  flex: 1;
  background: var(--bg);
  border: 1.5px solid var(--goldline);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--fg);
  outline: none;
}
.phone-input:focus { border-color: var(--gold); }
.pin-input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--goldline);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 22px;
  letter-spacing: 0.45em;
  text-align: center;
  color: var(--fg);
  outline: none;
  margin-bottom: 14px;
}
.pin-input:focus { border-color: var(--gold); }

.divider-or {
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  margin: 14px 0;
}
.google-btn {
  width: 100%;
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.google-btn:hover { border-color: var(--goldline); }

/* Floating Chat FAB & Drawer */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #14110B;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #E04F44;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-toast {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 44;
  background: #1B1914;
  border: 1px solid var(--goldline);
  border-radius: 14px;
  padding: 12px 14px;
  max-width: 250px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
@keyframes chatPopupIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.chat-drawer-backdrop.hide { display: none; }
.chat-drawer {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 75;
  width: 375px;
  max-width: calc(100vw - 24px);
  height: 510px;
  max-height: calc(100dvh - 110px);
  background: #14131A;
  border: 1px solid var(--goldline);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78);
  animation: chatPopupIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition: height 0.18s ease, max-height 0.18s ease, width 0.18s ease;
}
.chat-drawer.chat-expanded {
  width: min(520px, calc(100vw - 24px));
  height: min(680px, calc(100dvh - 100px));
  max-height: calc(100dvh - 96px);
}
.chat-hdr {
  padding: 14px 16px;
  background: var(--card2);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 11px;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #14110B;
  font-weight: 900;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg-bubble {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
}
.msg-user {
  align-self: flex-end;
  background: var(--goldbg);
  border: 1px solid var(--goldline);
  color: var(--fg);
}
.msg-admin {
  align-self: flex-start;
  background: var(--card2);
  border: 1px solid var(--line);
  color: var(--fg2);
}
.msg-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }
.chat-chips {
  padding: 8px 14px 4px;
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--card2);
  border: 1px solid var(--line);
  color: var(--fg2);
  flex-shrink: 0;
  white-space: nowrap;
}
.chat-chip:hover { border-color: var(--goldline); color: var(--gold2); }
.chat-input-row {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-input-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  outline: none;
}
.chat-input-row input:focus { border-color: var(--goldline); }

.chat-hdr-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}
.chat-hdr-btn:hover { background: rgba(245, 210, 126, 0.16); border-color: var(--goldline); }
.chat-hdr-btn.calling {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(52, 211, 153, 0.55);
  color: #6EE7B7;
}
.chat-call-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.18), rgba(99, 102, 241, 0.16));
  border-bottom: 1px solid rgba(52, 211, 153, 0.35);
  font-size: 12.5px;
}
.chat-call-bar.ringing {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.24), rgba(244, 63, 94, 0.2));
  border-bottom-color: rgba(245, 158, 11, 0.45);
}
.call-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: callPulse 1.4s infinite;
  flex-shrink: 0;
}
.chat-call-bar.ringing .call-pulse-dot { background: #FBBF24; }
@keyframes callPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.call-ctrl-row { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.call-btn-ans, .call-btn-end, .call-btn-mute {
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.call-btn-ans { background: #10B981; color: #052E1E; }
.call-btn-end { background: rgba(244, 63, 94, 0.85); color: #fff; }
.call-btn-mute {
  background: rgba(255, 255, 255, 0.12);
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.call-btn-mute.muted { background: rgba(245, 158, 11, 0.28); color: #FCD34D; border-color: rgba(245, 158, 11, 0.5); }

.chat-attach-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card2);
  color: var(--fg2);
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.chat-attach-btn:hover { border-color: var(--goldline); color: var(--gold2); }
.chat-img-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg2);
}
.chat-img-preview img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--goldline);
}
.chat-msg-img {
  display: block;
  max-width: 210px;
  max-height: 220px;
  width: auto;
  border-radius: 10px;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: zoom-in;
  object-fit: cover;
}
.chat-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.chat-lightbox.hide { display: none; }
.chat-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
}
.chat-lightbox-close {
  position: fixed;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 20, 30, 0.9);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Payment Details Copied Modal */
.pdm-modal {
  text-align: center;
  padding: 28px 24px 24px;
}
.pdm-check {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #17C964;
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pdm-heading {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 800;
  color: var(--fg);
}
.pdm-box {
  border: 1.5px dashed #8A6D2B;
  background: #14120D;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
}
.pdm-primary {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold2);
  word-break: break-all;
}
.pdm-meta-row {
  margin-top: 8px;
  font-size: 14px;
  color: var(--fg2);
}
.pdm-qr-img {
  display: block;
  margin: 12px auto 4px;
  max-width: 170px;
  max-height: 170px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px;
}
.pdm-copy-again {
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 18px;
  display: inline-block;
}
.pdm-copy-again:hover { color: var(--fg); }
.pdm-steps {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 4px 0 22px;
}
.pdm-step {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.pdm-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #14110B;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dep-note-line {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 22px;
}

/* Game Detail View (?game=ID) */
.game-detail-wrap { max-width: 1080px; margin: 0 auto; }

.gd-hero-card {
  background: radial-gradient(ellipse at 12% 30%, rgba(232, 184, 74, 0.08) 0%, var(--card) 60%);
  border: 1px solid var(--goldline);
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}

.gd-art-box {
  width: 132px;
  height: 132px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0c12;
  flex-shrink: 0;
}
.gd-art-box .game-cover-svg, .gd-art-box .game-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gd-pill-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--goldbg);
  border: 1px solid var(--goldline);
  color: var(--gold2);
  margin-bottom: 8px;
}

.gd-title {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 8px;
}

.gd-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: start;
}

.gd-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.gd-sec-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.gd-cred-lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.gd-cred-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 14px;
}

.gd-cred-val {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
  display: flex;
  align-items: center;
}

.gd-copy-sq {
  width: 46px;
  border-radius: 11px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #14110B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gd-copy-sq:hover { filter: brightness(1.06); }

.gd-coins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.gd-coin-tile {
  border-radius: 12px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  transition: transform 0.12s, filter 0.15s;
}
.gd-coin-tile:hover { transform: translateY(-1px); filter: brightness(1.06); }
.gd-coin-tile.gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #14110B; }
.gd-coin-tile.dark { background: var(--card2); border: 1px solid var(--line); color: var(--fg); }
.gd-coin-tile.green { background: var(--okbg); border: 1px solid var(--okline); color: var(--ok); }

.gd-existing-wrap { padding-left: 182px; }

@media (max-width: 780px) {
  .gd-grid { grid-template-columns: 1fr; }
  .gd-hero-card { flex-direction: column; align-items: flex-start; padding: 18px; gap: 16px; }
  .gd-art-box { width: 100px; height: 100px; }
  .gd-existing-wrap { padding-left: 0; }
}

/* Mobile Bottom App Dock & Toast */
.mobile-bottom-nav { display: none; }

.toast-pop {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  background: rgba(24, 22, 17, 0.96);
  border: 1px solid var(--goldline);
  color: var(--gold2);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ticker-text-fade { transition: opacity 0.35s ease; }

/* Responsive */
@media (max-width: 960px) {
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-auth-grid { grid-template-columns: 1fr; }
  .hero-guest { flex-direction: column; align-items: flex-start; padding: 24px; }
  .hero-guest h1 { font-size: 28px; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .main-wrap { padding: 16px 14px 98px; }
  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 42;
    background: rgba(14, 13, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--goldline);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.55);
  }
  .mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--muted);
    border-radius: 10px;
  }
  .mbn-item.active { color: var(--gold2); }
  .mbn-item.mbn-dep {
    background: linear-gradient(180deg, var(--gold2), var(--gold));
    color: #14110B;
    font-weight: 800;
    padding: 7px 4px;
    margin: -12px 2px 0;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(232, 184, 74, 0.35);
  }
  .chat-fab { bottom: 84px; right: 14px; width: 52px; height: 52px; }
  .chat-toast { bottom: 144px; right: 14px; }
}

@media (max-width: 640px) {
  .hdr-inner { padding: 10px 14px; gap: 10px; }
  .logo-word { font-size: 16.5px; }
  .hero-guest { padding: 20px 18px; }
  .hero-guest h1 { font-size: 25px; }
  .hero-card-main { padding: 18px; }
  .player-title { font-size: 30px; }
  .hero-card-invite { padding: 16px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .step-card { padding: 12px 8px; }
  .search-box { width: 100%; }
  .filter-pills {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .filter-pills::-webkit-scrollbar { display: none; }
  .fpill { white-space: nowrap; flex-shrink: 0; }
  .pay-methods-grid { grid-template-columns: 1fr; }
  .summary-bar { grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-body { padding: 10px 11px 12px; gap: 6px; }
  .game-title { font-size: 14.5px; }
  .play-btn { padding: 9px 10px; font-size: 12.5px; }
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .auth-modal {
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom, 0px));
    max-height: 92vh;
    overflow-y: auto;
  }
  .chat-drawer {
    right: 10px;
    left: 10px;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: 420px;
    margin: 0 auto;
    height: min(500px, calc(100dvh - 135px));
    max-height: calc(100dvh - 135px);
    border-radius: 20px;
  }
  .chat-drawer.chat-expanded {
    left: 6px;
    right: 6px;
    bottom: 8px;
    width: auto;
    max-width: 460px;
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
  }
  .chat-hdr { padding: 11px 12px; gap: 8px; }
  .chat-input-row { padding: 8px 10px 10px; gap: 6px; }
  input, select, textarea { font-size: 16px !important; }
}

/* Admin Impersonation Top Return Banner */
.adm-imp-bar {
  position: sticky;
  top: 0;
  z-index: 95;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.96), rgba(99, 102, 241, 0.95));
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.adm-imp-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #fff;
}
.adm-imp-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #14110B;
  color: #F5D27E;
  font-size: 12.5px;
  font-weight: 800;
  border: 1px solid rgba(245, 210, 126, 0.5);
  text-decoration: none;
  white-space: nowrap;
}
.adm-imp-back:hover {
  filter: brightness(1.12);
}

/* Centered Live Voice Call Popup Modal (Admin & Player) */
.call-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(6, 6, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.call-popup-modal.hide { display: none !important; }
.call-popup-card {
  width: min(360px, 100%);
  background: linear-gradient(180deg, rgba(28, 28, 46, 0.98), rgba(14, 14, 24, 0.99));
  border: 1px solid rgba(245, 210, 126, 0.48);
  border-radius: 24px;
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
  animation: chatPopupIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.call-ava-ring {
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  color: #14110B;
  background: linear-gradient(135deg, #F5D27E, #D9A434);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.65);
  animation: callPulse 1.5s infinite;
}
.call-popup-modal.ringing .call-ava-ring {
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.72);
}
.call-popup-name {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
}
.call-popup-status {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #6EE7B7;
}
.call-popup-modal.ringing .call-popup-status {
  color: #FCD34D;
}
.call-act-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.call-big-btn {
  border: 0;
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 96px;
  transition: transform 0.12s, filter 0.15s;
}
.call-big-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.call-big-btn.ans { background: linear-gradient(135deg, #34D399, #10B981); color: #052E1E; }
.call-big-btn.mute { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }
.call-big-btn.mute.muted { background: rgba(245, 158, 11, 0.28); color: #FCD34D; border-color: rgba(245, 158, 11, 0.5); }
.call-big-btn.min { background: rgba(255, 255, 255, 0.08); color: var(--fg2); border: 1px solid rgba(255, 255, 255, 0.14); }
.call-big-btn.end { background: linear-gradient(135deg, #FB7185, #E11D48); color: #fff; }

/* User Menu Bar & Slide-Out Drawer */
.user-menu-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(245, 210, 126, 0.14), rgba(212, 155, 42, 0.06));
  border: 1px solid var(--goldline);
  color: var(--gold2);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s, border-color 0.15s, background 0.15s;
}
.user-menu-btn:hover {
  border-color: var(--gold);
  background: rgba(245, 210, 126, 0.2);
}
.user-menu-btn .umb-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #EF4444;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0B0B10;
}

.user-quick-menubar {
  background: rgba(14, 14, 22, 0.94);
  border-bottom: 1px solid rgba(245, 210, 126, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.uqm-inner {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.uqm-inner::-webkit-scrollbar { display: none; }

.uqm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--fg2);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
}
.uqm-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(245, 210, 126, 0.35);
  color: var(--fg);
}
.uqm-pill.active {
  background: var(--goldbg);
  border-color: var(--goldline);
  color: var(--gold2);
}
.uqm-pill.uqm-deposit {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.12));
  border-color: rgba(52, 211, 153, 0.42);
  color: #6EE7B7;
}
.uqm-pill.uqm-deposit:hover,
.uqm-pill.uqm-deposit.active {
  background: linear-gradient(135deg, #34D399, #10B981);
  color: #052E1E;
  border-color: #34D399;
}
.uqm-pill.uqm-call {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(129, 140, 248, 0.35);
  color: #C7D2FE;
}
.uqm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #EF4444;
  color: #fff;
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1;
}

.user-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 102;
  background: rgba(4, 4, 10, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.user-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.user-side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(335px, 88vw);
  z-index: 103;
  background: linear-gradient(180deg, #161624 0%, #0D0D15 100%);
  border-left: 1px solid var(--goldline);
  box-shadow: -18px 0 55px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s ease;
}
.user-side-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.usd-head {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.usd-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--fg2);
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.usd-close:hover { border-color: var(--goldline); color: var(--gold2); }

.usd-user-card {
  margin: 12px 14px 6px;
  padding: 13px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 210, 126, 0.12), rgba(20, 20, 32, 0.92));
  border: 1px solid var(--goldline);
}
.usd-user-top {
  display: flex;
  align-items: center;
  gap: 11px;
}
.usd-ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5D27E, #D49B2A);
  color: #14110B;
  font-weight: 900;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.usd-bal-row {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.usd-bal-amt {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold2);
}
.usd-quick-acts {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.usd-qbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
}
.usd-qbtn.dep {
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #14110B;
}
.usd-qbtn.cash {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--fg);
}

.usd-nav {
  flex: 1;
  overflow-y: auto;
  padding: 6px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.usd-section-lbl {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 10px 6px 4px;
}
.usd-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 11px;
  border-radius: 12px;
  color: var(--fg2);
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.usd-link:hover {
  background: rgba(255, 255, 255, 0.055);
  color: var(--fg);
}
.usd-link.active {
  background: var(--goldbg);
  border-color: var(--goldline);
  color: var(--gold2);
}
.usd-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.usd-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #EF4444;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.usd-foot {
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(11, 11, 18, 0.9);
}

@media (max-width: 768px) {
  .hdr-inner:has(.hdr-right) { justify-content: space-between; }
  .hdr-right {
    position: static;
    transform: none;
    margin-left: auto;
  }
  .uqm-inner { width: 100%; padding: 7px 14px; gap: 6px; }
}

@media (max-width: 640px) {
  .uqm-inner { padding: 7px 14px; gap: 6px; }
  .user-menu-btn { padding: 0 10px; height: 38px; }
  .user-menu-btn .umb-txt { display: none; }
}

/* Profile Verification (KYC) Badges & Document Upload Card */
.vfy-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.12);
  color: #CBD5E1;
}
.vfy-pill.vfy-verified {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.48);
  color: #6EE7B7;
}
.vfy-pill.vfy-pending {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(251, 191, 36, 0.45);
  color: #FCD34D;
}
.vfy-pill.vfy-rejected {
  background: rgba(244, 63, 94, 0.16);
  border-color: rgba(251, 113, 133, 0.45);
  color: #FDA4AF;
}
.kyc-banner {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.03);
}
.kyc-banner.vfy-verified {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.42);
  color: #A7F3D0;
}
.kyc-banner.vfy-pending {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(251, 191, 36, 0.4);
  color: #FDE68A;
}
.kyc-banner.vfy-rejected {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(251, 113, 133, 0.4);
  color: #FECDD3;
}
.kyc-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.kyc-thumb-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  text-decoration: none;
}
.kyc-thumb-box img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  background: #0B0B12;
}
.kyc-thumb-box span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--fg2);
}

/* Fix Browser Autofill Bright White Backgrounds */
input.dark-input:-webkit-autofill,
input.dark-input:-webkit-autofill:hover,
input.dark-input:-webkit-autofill:focus,
input.mini-in:-webkit-autofill,
input.mini-in:-webkit-autofill:hover,
input.mini-in:-webkit-autofill:focus,
select.dark-select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #15141D inset !important;
  box-shadow: 0 0 0 1000px #15141D inset !important;
  -webkit-text-fill-color: #F4EFE3 !important;
  caret-color: #F4EFE3 !important;
  border-color: rgba(245, 210, 126, 0.32) !important;
  transition: background-color 9999s ease-out 0s;
}

/* Dedicated Luxury Profile & KYC Page / Module */
.pkyc-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pkyc-card {
  background: linear-gradient(170deg, rgba(24, 24, 38, 0.96) 0%, rgba(13, 13, 21, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
}
.pkyc-card-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.pkyc-hdr-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.pkyc-ava {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(245, 210, 126, 0.24), rgba(212, 155, 42, 0.1));
  border: 1px solid var(--goldline);
  color: var(--gold2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
}
.pkyc-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.pkyc-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.pkyc-pin-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pkyc-pin-wrap .dark-input {
  padding-right: 44px;
}
.pkyc-pin-toggle {
  position: absolute;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.pkyc-pin-toggle:hover {
  color: var(--gold2);
  border-color: var(--goldline);
}

/* 3-Step Verification Progress Stepper */
.pkyc-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.pkyc-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.pkyc-step.done {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
  color: #A7F3D0;
}
.pkyc-step.active {
  background: rgba(245, 210, 126, 0.12);
  border-color: var(--goldline);
  color: var(--gold2);
}
.pkyc-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}
.pkyc-step.done .pkyc-step-num { background: #10B981; color: #042F1E; }
.pkyc-step.active .pkyc-step-num { background: var(--gold2); color: #14110B; }

/* Interactive Document Type Cards */
.pkyc-doc-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.pkyc-doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  padding: 11px 8px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--fg2);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
}
.pkyc-doc-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 210, 126, 0.35);
}
.pkyc-doc-card.selected {
  background: linear-gradient(160deg, rgba(245, 210, 126, 0.18), rgba(212, 155, 42, 0.08));
  border-color: var(--gold);
  color: var(--gold2);
  box-shadow: 0 6px 18px rgba(232, 184, 74, 0.16);
}
.pkyc-doc-ico { font-size: 20px; line-height: 1; }

/* Styled Custom Document Upload Dropzones */
.pkyc-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.pkyc-upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 7px;
  padding: 18px 14px;
  border-radius: 14px;
  background: rgba(11, 11, 18, 0.85);
  border: 1.5px dashed rgba(245, 210, 126, 0.35);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-height: 142px;
}
.pkyc-upload-zone:hover,
.pkyc-upload-zone.has-file {
  border-color: var(--gold2);
  background: rgba(245, 210, 126, 0.06);
}
.pkyc-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.pkyc-dz-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(245, 210, 126, 0.12);
  border: 1px solid rgba(245, 210, 126, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.pkyc-dz-title { font-size: 13px; font-weight: 800; color: #fff; }
.pkyc-dz-hint { font-size: 11.5px; color: var(--muted); }
.pkyc-dz-preview {
  max-width: 100%;
  max-height: 92px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(245, 210, 126, 0.4);
}
.pkyc-sec-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.2);
  font-size: 12px;
  color: #A7F3D0;
}

@media (max-width: 640px) {
  .pkyc-card { padding: 16px 14px; border-radius: 16px; }
  .pkyc-stepper { grid-template-columns: 1fr; gap: 6px; }
  .pkyc-doc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkyc-upload-grid { grid-template-columns: 1fr; }
}

/* Unverified User Panel Verification Bonus Promo Banner */
.user-vfy-bonus-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 210, 126, 0.14) 0%, rgba(28, 24, 14, 0.92) 60%, rgba(16, 16, 28, 0.96) 100%);
  border: 1px solid rgba(245, 210, 126, 0.42);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.uvbb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.uvbb-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #F5D27E, #D9A434);
  color: #14110B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(245, 210, 126, 0.3);
}
.uvbb-title {
  font-size: 14.5px;
  font-weight: 900;
  color: #FFF3C4;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.uvbb-sub {
  font-size: 12.5px;
  color: var(--fg2);
  margin-top: 2px;
}
.uvbb-btn {
  white-space: nowrap;
  padding: 9px 15px;
  font-size: 12.5px;
  font-weight: 900;
  border-radius: 11px;
}
.usd-vfy-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(245, 210, 126, 0.12);
  border: 1px solid rgba(245, 210, 126, 0.35);
  color: var(--gold2);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.usd-vfy-promo:hover {
  background: rgba(245, 210, 126, 0.2);
}

/* Mobile Layout Polish (360px - 640px) */
@media (max-width: 640px) {
  .hdr-inner { flex-wrap: nowrap; }
  .logo-btn { min-width: 0; }
  .user-vfy-bonus-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 13px;
    gap: 10px;
  }
  .uvbb-ico { width: 38px; height: 38px; font-size: 18px; }
  .uvbb-title { font-size: 13.5px; }
  .uvbb-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 14px;
  }
  .menu-row-card { flex-wrap: wrap; gap: 10px; }
  .invite-link-box .invite-url {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pkyc-card-hdr { align-items: flex-start; gap: 10px; }
  .gd-coin-tile { padding: 12px 6px; font-size: 12px; }
}

@media (max-width: 420px) {
  .logo-word {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hdr-bal-pill { padding: 6px 9px; font-size: 12px; }
  .user-menu-btn { padding: 0 9px; height: 36px; }
}

/* User Panel Light Mode Theme (Premium Royal Ivory & Colorful Accents) */
html[data-theme="light"] {
  --bg: #F6F2E9;
  --bg2: #EFECE2;
  --card: #FFFFFF;
  --card2: #FAF8F3;
  --line: rgba(180, 145, 75, 0.24);
  --line2: rgba(148, 163, 184, 0.25);
  --gold: #D97706;
  --gold2: #B45309;
  --goldbg: #FEF3C7;
  --goldline: #F59E0B;
  --fg: #0F172A;
  --fg2: #334155;
  --muted: #475569;
  --faint: #64748B;
  --ok: #047857;
  --okbg: #ECFDF5;
  --okline: #34D399;
  --bad: #BE123C;
  --badbg: #FFF1F2;
  --badline: #FDA4AF;
}
html[data-theme="light"] body {
  background-color: #F5F1E8;
  background-image:
    radial-gradient(940px 520px at 8% -4%, rgba(245, 158, 11, 0.17), transparent 62%),
    radial-gradient(860px 520px at 94% 2%, rgba(99, 102, 241, 0.14), transparent 60%),
    radial-gradient(760px 500px at 14% 96%, rgba(16, 185, 129, 0.11), transparent 58%),
    radial-gradient(720px 460px at 90% 94%, rgba(236, 72, 153, 0.10), transparent 58%),
    linear-gradient(145deg, #FBF8F1 0%, #F3EFE5 45%, #ECEFF8 100%);
  background-attachment: fixed;
  color: var(--fg);
}
html[data-theme="light"] .hdr,
html[data-theme="light"] .user-quick-menubar,
html[data-theme="light"] .mobile-bottom-nav {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(248, 244, 234, 0.95));
  border-color: rgba(180, 145, 75, 0.24);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
}
html[data-theme="light"] .logo-word,
html[data-theme="light"] .serif-gold {
  background: linear-gradient(180deg, #92400E 0%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.28);
}
html[data-theme="light"] .btn-outline-gold {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #92400E;
  border-color: #F59E0B;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}
html[data-theme="light"] .btn-outline-gold:hover {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-color: #D97706;
}
html[data-theme="light"] .uqm-pill,
html[data-theme="light"] .fpill,
html[data-theme="light"] .icon-btn,
html[data-theme="light"] .status-pill,
html[data-theme="light"] .search-box {
  background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
  border-color: #CBD5E1;
  color: #1E293B;
}
html[data-theme="light"] .uqm-pill.active,
html[data-theme="light"] .fpill.active {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border-color: #F59E0B;
  color: #92400E;
}
html[data-theme="light"] .uqm-pill.uqm-deposit {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border-color: #34D399;
  color: #065F46;
}
html[data-theme="light"] .uqm-pill.uqm-deposit:hover,
html[data-theme="light"] .uqm-pill.uqm-deposit.active {
  background: linear-gradient(135deg, #10B981, #059669);
  border-color: #059669;
  color: #FFFFFF;
}
html[data-theme="light"] .uqm-pill.uqm-call {
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  border-color: #A5B4FC;
  color: #4338CA;
}
html[data-theme="light"] .vfy-pill {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #334155;
}
html[data-theme="light"] .vfy-pill.vfy-verified {
  background: #D1FAE5;
  border-color: #34D399;
  color: #065F46;
}
html[data-theme="light"] .vfy-pill.vfy-pending {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
}
html[data-theme="light"] .vfy-pill.vfy-rejected {
  background: #FFE4E6;
  border-color: #FDA4AF;
  color: #9F1239;
}
html[data-theme="light"] .kyc-banner.vfy-verified {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border-color: #34D399;
  color: #065F46;
}
html[data-theme="light"] .kyc-banner.vfy-pending {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border-color: #FBBF24;
  color: #92400E;
}
html[data-theme="light"] .kyc-banner.vfy-rejected {
  background: linear-gradient(135deg, #FFF1F2, #FFE4E6);
  border-color: #FDA4AF;
  color: #9F1239;
}
html[data-theme="light"] .hero-guest,
html[data-theme="light"] .hero-card-main {
  background: linear-gradient(135deg, #FFFDF9 0%, #FEF6DF 52%, #EEF2FF 100%);
  border-color: rgba(217, 119, 6, 0.34);
  box-shadow: 0 14px 34px rgba(180, 145, 75, 0.14), inset 0 1px 0 #FFFFFF;
  color: #0F172A;
}
html[data-theme="light"] .hero-card-invite {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 52%, #FFFBEB 100%);
  border-color: rgba(16, 185, 129, 0.36);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12), inset 0 1px 0 #FFFFFF;
  color: #0F172A;
}
html[data-theme="light"] .step-card,
html[data-theme="light"] .game-card,
html[data-theme="light"] .profile-card,
html[data-theme="light"] .pkyc-card,
html[data-theme="light"] .menu-row-card,
html[data-theme="light"] .wallet-kpi,
html[data-theme="light"] .empty-state,
html[data-theme="light"] .acc-card,
html[data-theme="light"] .invite-hero,
html[data-theme="light"] .summary-bar,
html[data-theme="light"] .gd-hero-card,
html[data-theme="light"] .gd-card,
html[data-theme="light"] .auth-modal {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F2 100%);
  border-color: rgba(180, 145, 75, 0.24);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(180, 145, 75, 0.07);
  color: #0F172A;
}
html[data-theme="light"] .wallet-kpi:nth-child(1) {
  background: linear-gradient(135deg, #FFFFFF, #ECFDF5);
  border-color: #6EE7B7;
}
html[data-theme="light"] .wallet-kpi:nth-child(1) .wk-val { color: #059669; }
html[data-theme="light"] .wallet-kpi:nth-child(2) {
  background: linear-gradient(135deg, #FFFFFF, #FFFBEB);
  border-color: #FCD34D;
}
html[data-theme="light"] .wallet-kpi:nth-child(2) .wk-val { color: #D97706; }
html[data-theme="light"] .wallet-kpi:nth-child(3) {
  background: linear-gradient(135deg, #FFFFFF, #EEF2FF);
  border-color: #A5B4FC;
}
html[data-theme="light"] .wallet-kpi:nth-child(3) .wk-val { color: #4338CA; }
html[data-theme="light"] .game-title,
html[data-theme="light"] .pkyc-title,
html[data-theme="light"] .pkyc-dz-title,
html[data-theme="light"] .gd-title {
  color: #0F172A;
}
html[data-theme="light"] .pkyc-step,
html[data-theme="light"] .pkyc-doc-card,
html[data-theme="light"] .pkyc-upload-zone,
html[data-theme="light"] .invite-link-box,
html[data-theme="light"] .gd-cred-val {
  background: #FAF8F3;
  border-color: rgba(180, 145, 75, 0.24);
  color: #0F172A;
}
html[data-theme="light"] .pkyc-doc-card.selected {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border-color: #D97706;
  color: #92400E;
}
html[data-theme="light"] .user-vfy-bonus-banner {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 55%, #EEF2FF 100%);
  border-color: #F59E0B;
  box-shadow: 0 10px 26px rgba(217, 119, 6, 0.14);
}
html[data-theme="light"] .uvbb-title { color: #78350F; }
html[data-theme="light"] .uvbb-sub { color: #334155; }
html[data-theme="light"] .user-side-drawer {
  background: linear-gradient(180deg, #FFFDF8 0%, #F5F1E6 100%);
  border-left-color: rgba(180, 145, 75, 0.26);
}
html[data-theme="light"] .usd-user-card {
  background: linear-gradient(135deg, #FEF3C7, #FFFDF8);
  border-color: #F59E0B;
}
html[data-theme="light"] .usd-user-card span[style*="color:#fff"],
html[data-theme="light"] .usd-user-top span { color: #0F172A !important; }
html[data-theme="light"] .usd-foot { background: #FAF8F2; }
html[data-theme="light"] .chat-drawer {
  background: #FFFFFF;
  border-color: rgba(180, 145, 75, 0.28);
}
html[data-theme="light"] .chat-hdr { background: linear-gradient(90deg, #FFFDF8, #FEF3C7); color: #0F172A; }
html[data-theme="light"] .chat-body { background: #F5F2EA; }
html[data-theme="light"] .dark-input,
html[data-theme="light"] .dark-select,
html[data-theme="light"] .pin-input,
html[data-theme="light"] .phone-input,
html[data-theme="light"] .country-select {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #0F172A;
}

/* Timed Game Account Creation Progress Box */
.gd-creating-box {
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(16, 185, 129, 0.10) 100%);
  border: 1px solid rgba(245, 210, 126, 0.42);
  max-width: 460px;
}
.gd-creating-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.gd-creating-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 800;
  color: #FFF3C4;
}
.gd-creating-spin {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2.5px solid rgba(245, 210, 126, 0.28);
  border-top-color: #F5D27E;
  animation: gdSpin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes gdSpin {
  to { transform: rotate(360deg); }
}
.gd-creating-timer {
  font-size: 12.5px;
  font-weight: 800;
  color: #6EE7B7;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.gd-creating-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin: 12px 0 9px;
}
.gd-creating-bar {
  width: 8%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #F59E0B, #F5D27E, #10B981);
  transition: width 0.12s linear;
}
.gd-creating-step {
  font-size: 12.5px;
  color: var(--fg2);
  font-weight: 600;
}
html[data-theme="light"] .gd-creating-box {
  background: linear-gradient(135deg, #FFFBEB 0%, #ECFDF5 100%);
  border-color: #F59E0B;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.12);
}
html[data-theme="light"] .gd-creating-title { color: #78350F; }
html[data-theme="light"] .gd-creating-spin {
  border-color: rgba(217, 119, 6, 0.25);
  border-top-color: #D97706;
}
html[data-theme="light"] .gd-creating-timer {
  background: #D1FAE5;
  border-color: #34D399;
  color: #065F46;
}
html[data-theme="light"] .gd-creating-track { background: rgba(15, 23, 42, 0.1); }

/* Lobby Active Account Ready-to-Play Alert & Card Badges */
.active-acc-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(243, 207, 122, 0.08) 100%);
  border: 1px solid rgba(52, 211, 153, 0.42);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.active-acc-alert-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.active-acc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  flex-shrink: 0;
}
.active-acc-alert-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #6EE7B7;
}
.active-acc-alert-sub {
  font-size: 12px;
  color: var(--fg2);
  margin-top: 2px;
}
.active-acc-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.active-acc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.48);
  color: #ECFDF5;
  transition: transform 0.15s, background 0.15s;
}
.active-acc-pill:hover {
  transform: translateY(-1px);
  background: rgba(16, 185, 129, 0.3);
}
.active-acc-bal {
  color: var(--gold2);
  font-weight: 900;
}
.active-acc-go {
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F5D27E, #D9A434);
  color: #14110B;
  font-size: 11px;
  font-weight: 900;
}
.active-acc-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.active-acc-badge, .pending-acc-badge {
  position: absolute;
  left: 9px;
  bottom: 9px;
  z-index: 3;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.active-acc-badge {
  background: rgba(6, 78, 59, 0.9);
  border: 1px solid rgba(52, 211, 153, 0.6);
  color: #6EE7B7;
}
.pending-acc-badge {
  background: rgba(120, 53, 15, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.55);
  color: #FDE68A;
}
html[data-theme="light"] .active-acc-alert {
  background: linear-gradient(135deg, #ECFDF5 0%, #FFFBEB 100%);
  border-color: #34D399;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.1);
}
html[data-theme="light"] .active-acc-alert-title { color: #065F46; }
html[data-theme="light"] .active-acc-pill {
  background: #D1FAE5;
  border-color: #10B981;
  color: #065F46;
}
@media (max-width: 640px) {
  .active-acc-alert { padding: 11px 12px; gap: 10px; }
  .active-acc-pills { width: 100%; }
  .active-acc-pill { flex: 1 1 auto; justify-content: center; }
}

/* Reward Claim Popup Modal */
.rw-pop-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 7, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rw-pop-backdrop.hide { display: none !important; }
.rw-pop-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 24px 20px 20px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(25, 25, 40, 0.98), rgba(14, 14, 24, 0.99));
  border: 1px solid rgba(245, 210, 126, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 243, 196, 0.14);
  text-align: center;
}
.rw-pop-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--fg2);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.rw-pop-ico {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: linear-gradient(135deg, rgba(245, 210, 126, 0.22), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(245, 210, 126, 0.45);
}
.rw-pop-title { margin: 0 0 6px; font-size: 22px; }
.rw-pop-sub { margin: 0 0 14px; font-size: 13px; color: var(--fg2); line-height: 1.5; }
.rw-pop-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 14px;
  text-align: left;
}
.rw-pop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.rw-pop-item-info { min-width: 0; flex: 1; }
.rw-pop-kind {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(245, 210, 126, 0.16);
  color: var(--gold2);
  border: 1px solid rgba(245, 210, 126, 0.35);
}
.rw-pop-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rw-pop-amt { font-size: 16px; font-weight: 900; color: #6EE7B7; margin-top: 2px; }
.rw-pop-claim-btn { padding: 8px 14px; font-size: 12.5px; flex-shrink: 0; }
.rw-pop-foot { display: flex; gap: 8px; align-items: center; }
html[data-theme="light"] .rw-pop-card {
  background: linear-gradient(165deg, #FFFFFF 0%, #FFFBEB 100%);
  border-color: #F59E0B;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}
html[data-theme="light"] .rw-pop-item {
  background: #FFFFFF;
  border-color: #E2E8F0;
}
html[data-theme="light"] .rw-pop-amt { color: #059669; }
html[data-theme="light"] .rw-pop-close {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}
.news-pop-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 12px;
  display: block;
}
.news-pop-img.hide { display: none !important; }

/* Player Reviews Section (Lobby Bottom) */
.reviews-section {
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.reviews-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}
.reviews-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: 12.5px;
}
.reviews-avg-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.16);
  border: 1px solid rgba(245, 196, 81, 0.35);
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
}
.reviews-write-btn {
  padding: 8px 14px;
  font-size: 12.5px;
}
.review-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.review-form-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.star-picker {
  display: inline-flex;
  gap: 4px;
}
.star-pick-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #475569;
  cursor: pointer;
  padding: 2px 3px;
  transition: transform 0.12s ease, color 0.12s ease;
}
.star-pick-btn.active {
  color: var(--gold);
}
.star-pick-btn:hover {
  transform: scale(1.12);
}
.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.review-card {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 196, 81, 0.18);
  border: 1px solid rgba(245, 196, 81, 0.35);
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-date {
  font-size: 11px;
  color: var(--muted);
}
.review-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.review-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  opacity: 0.92;
  word-break: break-word;
}
.review-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 16px 8px;
  font-size: 13px;
}
.reviews-more-wrap {
  margin-top: 14px;
  text-align: center;
}
html[data-theme="light"] .reviews-section {
  background: #FFFFFF;
  border-color: #E2E8F0;
}
html[data-theme="light"] .review-card,
html[data-theme="light"] .review-form {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
html[data-theme="light"] .reviews-avg-pill {
  color: #B45309;
  background: #FEF3C7;
  border-color: #FCD34D;
}
@media (max-width: 640px) {
  .reviews-section { padding: 14px 12px; border-radius: 14px; }
  .reviews-list { grid-template-columns: 1fr; }
  .reviews-write-btn { width: 100%; text-align: center; }
}

/* Mobile-Responsive Luxury Live Notification Banner */
.fp-notif-banner {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  width: min(390px, calc(100vw - 24px));
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(20, 18, 28, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 210, 126, 0.38);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #f8fafc;
  animation: fpNotifSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.fp-notif-banner.hide { display: none !important; }
@keyframes fpNotifSlideIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fp-notif-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #141219;
  border: 1px solid rgba(245, 210, 126, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 3px;
}
.fp-notif-body {
  flex: 1;
  min-width: 0;
}
.fp-notif-app {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5d27e;
  margin-bottom: 2px;
}
.fp-notif-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.fp-notif-msg {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.45;
  margin-top: 3px;
  word-break: break-word;
}
.fp-notif-img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: block;
}
.fp-notif-img.hide { display: none !important; }

/* Support Chat Typing Indicator */
.chat-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
}
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.4;
  animation: fpTypingDot 1.2s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes fpTypingDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* Per-Game Bonus Badge (Logged-in Players Only) */
.game-bonus-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.96) 0%, rgba(4, 120, 87, 0.96) 58%, rgba(16, 185, 129, 0.96) 100%);
  border: 1.5px solid #fbbf24;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.78);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.68), 0 0 14px rgba(251, 191, 36, 0.35);
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-bonus-strip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(245, 196, 81, 0.12));
  border: 1px solid rgba(52, 211, 153, 0.42);
  color: #34d399;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  width: fit-content;
  max-width: 100%;
}
html[data-theme="light"] .game-bonus-strip {
  background: #D1FAE5;
  border-color: #10B981;
  color: #065F46;
}
.gd-bonus-banner {
  margin: 12px 0 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(245, 196, 81, 0.12);
  border: 1px solid rgba(245, 196, 81, 0.42);
  color: var(--gold2);
  font-size: 13px;
  line-height: 1.45;
}
html[data-theme="light"] .gd-bonus-banner {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
}
.fp-notif-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
html[data-theme="light"] .fp-notif-banner {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(180, 83, 9, 0.35);
  color: #0f172a;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}
html[data-theme="light"] .fp-notif-app { color: #b45309; }
html[data-theme="light"] .fp-notif-title { color: #0f172a; }
html[data-theme="light"] .fp-notif-msg { color: #475569; }
html[data-theme="light"] .fp-notif-close {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}
@media (max-width: 640px) {
  .fp-notif-banner {
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    padding: 12px;
    border-radius: 14px;
  }
  .game-bonus-badge {
    bottom: 7px;
    left: 7px;
    padding: 4px 10px;
    font-size: 11px;
    gap: 4px;
    max-width: calc(100% - 14px);
  }
  .game-bonus-strip {
    font-size: 10.5px;
    padding: 4px 8px;
    border-radius: 8px;
    gap: 4px;
  }
}
@media (max-width: 420px) {
  .game-bonus-badge {
    bottom: 6px;
    left: 6px;
    padding: 3.5px 8px;
    font-size: 10px;
  }
  .game-bonus-strip {
    font-size: 10px;
    padding: 3.5px 7px;
  }
}

/* Live Winners & Cashouts Showcase */
.live-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 6px;
}
.live-feed-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}
.live-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.live-feed-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 900;
  color: var(--fg);
}
.live-dot-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
}
.live-dot-pill.paid {
  background: rgba(245, 196, 81, 0.14);
  border-color: rgba(245, 196, 81, 0.38);
  color: var(--gold2);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}
.live-feed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.live-feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: lfSlideIn 0.42s ease;
}
@keyframes lfSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
html[data-theme="light"] .live-feed-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.live-feed-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.live-feed-ava {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.live-feed-ava.win { background: rgba(16, 185, 129, 0.16); }
.live-feed-ava.csh { background: rgba(245, 196, 81, 0.16); }
.live-feed-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-feed-sub {
  font-size: 11.5px;
  color: var(--muted);
}
.live-feed-amt {
  font-size: 13.5px;
  font-weight: 900;
  white-space: nowrap;
}
.live-feed-amt.win { color: #34d399; }
.live-feed-amt.csh { color: var(--gold2); }
html[data-theme="light"] .live-feed-amt.win { color: #059669; }
html[data-theme="light"] .live-feed-amt.csh { color: #b45309; }
@media (max-width: 768px) {
  .live-feed-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
