/* ── Reset & Variables ──────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-deep:    #0d0d1a;
  --bg-card:    #161628;
  --bg-card2:   #1e1e38;
  --accent:     #7c3aed;
  --accent2:    #a855f7;
  --gold:       #f59e0b;
  --gold2:      #fbbf24;
  --green:      #10b981;
  --red:        #ef4444;
  --amber:      #f97316;
  --text:       #f1f5f9;
  --text-muted: #94a3b8;
  --border:     rgba(124,58,237,0.25);
  --radius-lg:  18px;
  --radius-md:  12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --glow:       0 0 20px rgba(124,58,237,0.4);
}

html { font-size: 16px; -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

/* ── Sidebar Overlay ────────────────────────────────── */
.sidebar-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  z-index: 200;
  display: none;
}
.sidebar-overlay.show { display: block; }

/* ── Sidebar ────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; right: -280px;
  width: 270px;
  height: 100vh;
  background: #100f22;
  border-left: 1px solid var(--border);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.sidebar.open { right: 0; }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo {
  font-size: 1.05rem; font-weight: 900; letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gold), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sidebar-close {
  background: var(--bg-card2); border: 1px solid var(--border);
  color: var(--text-muted); width: 30px; height: 30px;
  border-radius: 50%; cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.sidebar-close:hover { background: var(--red); color: #fff; border-color: var(--red); }

.sidebar-user {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(168,85,247,0.08));
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
}
.sidebar-user:hover {
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(168,85,247,0.15));
}
.sidebar-avatar { font-size: 2rem; }
.sidebar-username { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.sidebar-role {
  font-size: 0.7rem; color: var(--accent2); margin-top: 2px;
  text-transform: uppercase; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 4px;
}
.sidebar-logout { color: #fca5a5 !important; }
.sidebar-logout:hover { color: #ef4444 !important; background: rgba(239,68,68,0.08) !important; }

.sidebar-nav { flex: 1; padding: 12px 10px; }
.sidebar-section-label {
  font-size: 0.65rem; color: var(--text-muted); letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 8px 6px; font-weight: 700;
}
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
  margin-bottom: 2px;
}
.sidebar-item:hover, .sidebar-item.active {
  background: rgba(124,58,237,0.18); color: var(--text);
}
.sidebar-item.active { color: var(--accent2); }

.sidebar-sound {
  justify-content: space-between;
  cursor: default;
}
.sidebar-sound:hover { background: transparent; }

.sound-toggle-btn {
  background: var(--green); border: none; color: #fff;
  font-size: 0.75rem; font-weight: 800; padding: 4px 14px;
  border-radius: 50px; cursor: pointer; transition: background 0.2s;
  letter-spacing: 0.5px;
}
.sound-toggle-btn.off { background: var(--text-muted); }

.sidebar-footer {
  padding: 14px 16px; font-size: 0.72rem; color: var(--text-muted);
  border-top: 1px solid var(--border); text-align: center;
}

/* ── Top Navigation ─────────────────────────────────── */
.top-nav {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
}
.nav-logo {
  flex: 1; font-size: 1.1rem; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gold), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-nav {
  padding: 7px 18px; border-radius: 50px; border: none;
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.3px;
}
.btn-nav.register {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; box-shadow: 0 2px 12px rgba(124,58,237,0.5);
}
.btn-nav.login {
  background: transparent; color: var(--accent2);
  border: 1.5px solid var(--accent2);
}
.btn-nav:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-nav:active { transform: scale(0.97); }

.btn-menu {
  background: var(--bg-card2); border: 1px solid var(--border);
  color: var(--text); width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; transition: background 0.2s;
}
.btn-menu:hover { background: var(--accent); }
.btn-menu span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ── Demo Banner ────────────────────────────────────── */
.demo-banner {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(245,158,11,0.12), rgba(168,85,247,0.12));
  border-bottom: 1px solid rgba(245,158,11,0.25);
  font-size: 0.82rem; font-weight: 600; color: var(--gold2);
}
.demo-banner .dot {
  width: 8px; height: 8px; background: var(--gold2);
  border-radius: 50%; animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.demo-plays-badge {
  margin-left: auto;
  background: rgba(124,58,237,0.25);
  border: 1px solid rgba(168,85,247,0.4);
  color: var(--accent2); padding: 2px 10px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; white-space: nowrap;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

/* ── Info Row ───────────────────────────────────────── */
.info-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; padding: 14px 14px 4px;
}
.info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 10px;
  text-align: center; box-shadow: var(--shadow);
  transition: border-color 0.3s, background 0.3s;
}
.info-card .label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }
.info-card .value { font-size: 0.95rem; font-weight: 800; color: var(--text); }

.deposit-card { border-color: rgba(16,185,129,0.3) !important; background: linear-gradient(145deg, #0a2018, #0d2a1e) !important; }
.deposit-value { color: var(--green) !important; }

/* Pot card states */
.pot-card { transition: border-color 0.4s, background 0.4s; }
.pot-card.pot-warn   { border-color: rgba(249,115,22,0.5) !important; background: linear-gradient(145deg, #1a0f00, #2a1500) !important; }
.pot-card.pot-danger { border-color: rgba(239,68,68,0.6)  !important; background: linear-gradient(145deg, #1a0505, #2a0808) !important; }

.pot-value { color: var(--gold2) !important; font-size: 1.3rem !important; }

/* Pot countdown animation */
@keyframes potDrop {
  0%   { transform: scale(1.4); color: #ef4444; }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1);   color: var(--gold2); }
}
.pot-anim { animation: potDrop 0.5s ease forwards; }

.win-value { color: var(--green) !important; }

/* ── Game Area ──────────────────────────────────────── */
.game-area { padding: 14px; }

.game-title {
  text-align: center; font-size: 1.4rem; font-weight: 900;
  letter-spacing: 2px; margin-bottom: 14px;
  position: relative;
  min-height: 1.8rem;
}
.gt-idle {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold), var(--accent2), var(--gold2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titlePulse 3s ease-in-out infinite;
  transition: opacity 0.35s;
}
.gt-idle.gt-hidden { opacity: 0; pointer-events: none; }

.gt-win {
  position: absolute;
  left: 0; right: 0;
  background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
}
.gt-win.gt-show {
  opacity: 1;
  transform: scale(1.05);
  animation: winPop 0.45s cubic-bezier(0.175,0.885,0.32,1.275) forwards;
}
.gt-win.gt-out {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s, transform 0.5s;
}
@keyframes winPop {
  0%   { transform: scale(0.7); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1.05); opacity: 1; }
}
@keyframes titlePulse {
  0%,100% { filter: drop-shadow(0 0 8px rgba(245,158,11,0.4)); }
  50%     { filter: drop-shadow(0 0 18px rgba(245,158,11,0.8)); }
}

.grid-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--shadow), var(--glow);
}
.grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr); gap: 10px;
}
.box {
  background: var(--bg-card2); color: var(--text);
  display: flex; justify-content: center; align-items: center;
  border-radius: var(--radius-sm); font-size: 11px; font-weight: 700;
  text-align: center; padding: 0; height: 64px;
  border: 1.5px solid rgba(142, 45, 227, 0.441);
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.box::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  pointer-events: none;
}
.box.active {
  border: 3px solid #ffd700;
  background: linear-gradient(145deg, #f4f038c7, #ecd44e);
  color: #000; transform: scale(1.08);
  box-shadow: 0 0 18px rgba(251,191,36,0.6), inset 0 0 10px rgba(251,191,36,0.1);
  z-index: 5;
}
.box.winner {
  background: linear-gradient(145deg, #00ff88, #00cc6a);
  color: #000;
  border-color: var(--green);
  transform: scale(1.12);
  box-shadow: 0 0 25px rgba(16,185,129,0.7), inset 0 0 15px rgba(16,185,129,0.1);
  animation: winnerBounce 1.5s ease-in-out infinite; z-index: 10;
}
@keyframes winnerBounce {
  0%,100% { transform: scale(1.12) rotate(0deg); }
  25%     { transform: scale(1.16) rotate(1.5deg); }
  75%     { transform: scale(1.16) rotate(-1.5deg); }
}
.start {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; cursor: pointer; font-size: 14px; font-weight: 900;
  border: none; letter-spacing: 1px;
  box-shadow: 0 4px 18px rgba(124,58,237,0.5);
}
.start:hover { filter: brightness(1.15); transform: scale(1.05); }
.start:active { transform: scale(0.95); }
.start.spinning {
  background: linear-gradient(135deg, var(--red), #dc2626);
  animation: spinPulse 0.8s ease-in-out infinite; pointer-events: none;
}
@keyframes spinPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }

/* ── Overlay & Modals ───────────────────────────────── */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px); z-index: 500;
  display: none; align-items: flex-end; justify-content: center;
}
.overlay.show { display: flex; }

.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%; max-width: 480px; padding: 28px 22px 32px;
  animation: slideUp 0.3s ease;
}
.modal-scroll {
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.modal-icon  { text-align: center; font-size: 2.5rem; margin-bottom: 8px; }
.modal h2    { text-align: center; font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.modal p     { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 22px; line-height: 1.5; }

.modal .highlight-msg {
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-md); padding: 12px 16px;
  color: var(--gold2); font-size: 0.9rem; font-weight: 600;
  text-align: center; margin-bottom: 20px; line-height: 1.5;
}

.form-group { margin-bottom: 14px; }
.form-group input {
  width: 100%; padding: 13px 16px;
  background: var(--bg-card2); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); color: var(--text); font-size: 0.95rem;
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--accent2); }
.form-group input::placeholder { color: var(--text-muted); }

.btn-primary {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; border-radius: 50px;
  font-size: 1rem; font-weight: 800; cursor: pointer;
  letter-spacing: 0.5px; box-shadow: 0 4px 18px rgba(124,58,237,0.5);
  transition: all 0.2s; margin-bottom: 10px;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-secondary {
  width: 100%; padding: 13px; background: transparent;
  color: var(--accent2); border: 1.5px solid var(--accent2);
  border-radius: 50px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(168,85,247,0.1); }

.btn-close-modal { display: none; }

.modal-topx {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted); font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s, color 0.15s;
  z-index: 2; flex-shrink: 0;
}
.modal-topx:hover { background: rgba(239,68,68,0.18); color: #fca5a5; }

.error-msg {
  background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5; border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.83rem; margin-bottom: 14px; display: none;
}

.tab-btns {
  display: flex; gap: 6px; margin-bottom: 20px;
  background: var(--bg-card2); border-radius: var(--radius-md); padding: 4px;
}
.tab-btn {
  flex: 1; padding: 9px; border: none; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; background: transparent; color: var(--text-muted);
}
.tab-btn.active {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 10px rgba(124,58,237,0.4);
}

/* ── Testimonials ────────────────────────────────────── */
.testimonials-section { padding: 14px 0 6px; }
.testimonials-label {
  font-size: 0.75rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; padding: 0 14px 10px;
}
.testimonials-track-wrap {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
.testimonials-track {
  display: flex; gap: 12px; width: max-content;
  animation: slideLeft 32s linear infinite; padding: 4px 14px 8px;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes slideLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tcard {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px; width: 230px;
  flex-shrink: 0; box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: border-color 0.2s;
}
.tcard:hover { border-color: rgba(168,85,247,0.5); }
.tcard-top {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.tavatar {
  font-size: 1.5rem; width: 36px; height: 36px;
  background: var(--bg-card2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tcard-top > div { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.tcard-top strong { font-size: 0.85rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tloc    { font-size: 0.7rem; color: var(--text-muted); }
.tamount { font-size: 0.9rem; font-weight: 800; color: var(--green); white-space: nowrap; }
.tmsg    { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; margin-bottom: 8px; }
.tstar   { font-size: 0.75rem; color: var(--gold2); letter-spacing: 1px; }

/* ── Particles ──────────────────────────────────────── */
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 999; }
.particle { position: absolute; border-radius: 50%; animation: pFall 3s linear forwards; }
@keyframes pFall { to { transform: translateY(110vh) rotate(720deg); opacity: 0; } }

/* ── Wallet Tab Bar ──────────────────────────────────── */
.wallet-tab-bar {
  display: flex; gap: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.wallet-tab {
  flex: 1; padding: 13px 10px;
  background: transparent; border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted); font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.3px;
}
.wallet-tab.active {
  color: var(--accent2); border-bottom-color: var(--accent2);
  background: rgba(168,85,247,0.06);
}
.wallet-tab:hover:not(.active) { color: var(--text); }

.wallet-panel { padding: 12px 14px 6px; }
.wallet-panel.hidden { display: none; }

.wallet-amount-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 16px; box-shadow: var(--shadow);
}
.wallet-amount-box { flex: 1; min-width: 0; }
.wallet-amount-box .wa-label {
  font-size: 0.68rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.wallet-amount-box .wa-value { font-size: 1.25rem; font-weight: 900; }

.btn-fund {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff; border: none; border-radius: 50px;
  padding: 9px 22px; font-size: 0.85rem; font-weight: 800;
  cursor: pointer; box-shadow: 0 3px 12px rgba(16,185,129,0.4);
  transition: all 0.2s; white-space: nowrap; flex-shrink: 0;
}
.btn-fund:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-withdraw {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; border-radius: 50px;
  padding: 9px 22px; font-size: 0.85rem; font-weight: 800;
  cursor: pointer; box-shadow: 0 3px 12px rgba(124,58,237,0.4);
  transition: all 0.2s; white-space: nowrap; flex-shrink: 0;
}
.btn-withdraw:hover { filter: brightness(1.1); transform: translateY(-2px); }

.nav-username { font-size: .82rem; color: #a855f7; font-weight: 700; }
.btn-nav.logout-btn {
  background: transparent; color: var(--text-muted);
  border: 1.5px solid var(--border);
}

/* ── Testimonials Header ────────────────────────────── */
.testimonials-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px 10px;
}
.testimonials-label { padding: 0; }

.btn-submit-testimony {
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: #000; border: none; border-radius: 50px;
  padding: 7px 16px; font-size: 0.78rem; font-weight: 800;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 3px 12px rgba(245,158,11,0.4);
  transition: all 0.2s; letter-spacing: 0.3px;
}
.btn-submit-testimony:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ── Star Picker ────────────────────────────────────── */
.star-rating-row { display: flex; align-items: center; gap: 4px; padding: 6px 0; }
.star-picker { display: flex; gap: 4px; }
.star-opt {
  font-size: 1.6rem; cursor: pointer; color: var(--border);
  transition: color 0.15s, transform 0.15s; user-select: none; line-height: 1;
}
.star-opt.active, .star-opt.hover { color: var(--gold2); }
.star-opt:hover { transform: scale(1.2); }

/* ── Success Message ────────────────────────────────── */
.success-msg {
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.4);
  color: #6ee7b7; border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.85rem; margin-bottom: 14px; line-height: 1.5;
}

textarea:focus { border-color: var(--accent2) !important; outline: none; }

/* ── Insufficient Funds Modal ───────────────────────── */
.insufficient-amount {
  font-size: 2rem; font-weight: 900; color: var(--red);
  text-align: center; margin-bottom: 6px;
}

/* ── Bank Details — Locked View ─────────────────────── */
.bank-details-locked {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 18px;
}
.bdl-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bdl-row:last-of-type { border-bottom: none; }
.bdl-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.bdl-val { font-size: 0.88rem; font-weight: 700; color: var(--text); text-align: right; max-width: 60%; word-break: break-word; }
.bdl-lock-note {
  text-align: center; font-size: 0.72rem; color: var(--text-muted);
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05); letter-spacing: 0.3px;
}

/* ── Bank Lock Warning ───────────────────────────────── */
.bank-lock-warning {
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: 0.8rem; color: var(--gold2); text-align: center;
  margin-bottom: 16px; line-height: 1.5;
}

select option { background: #1e1e38; color: #f1f5f9; }
select:focus  { border-color: var(--accent2) !important; }

/* ── Fund Modal ─────────────────────────────────────── */
.fund-modal { padding-bottom: 20px; }
.fund-header { text-align: center; padding-bottom: 4px; }
.fund-tabs {
  display: flex; gap: 0;
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 4px; margin-bottom: 20px;
}
.fund-tab {
  flex: 1; padding: 10px 8px; background: transparent; border: none;
  border-radius: var(--radius-sm); color: var(--text-muted);
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.2px;
}
.fund-tab.active {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 10px rgba(124,58,237,0.45);
}
.fund-tab:hover:not(.active) { color: var(--text); }

.fund-panel { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }

.fund-hint { font-size: 0.82rem; color: var(--text-muted); text-align: center; line-height: 1.55; margin-bottom: 16px; }

/* ── Bank Account Cards ─────────────────────────────── */
.bank-account-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(16,185,129,0.06));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 12px; position: relative;
}
.bac-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--accent2);
  background: rgba(124,58,237,0.18); border: 1px solid rgba(168,85,247,0.3);
  border-radius: 50px; padding: 2px 10px; margin-bottom: 10px;
}
.bac-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bac-row:last-child { border-bottom: none; padding-bottom: 0; }
.bac-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; flex: 0 0 110px; }
.bac-val   { font-size: 0.9rem; font-weight: 700; color: var(--text); flex: 1; }
.bac-number { font-family: 'Courier New', monospace; font-size: 1rem; color: var(--gold2); letter-spacing: 1.5px; }
.bac-copy {
  background: var(--bg-card2); border: 1px solid var(--border);
  color: var(--text-muted); width: 28px; height: 28px;
  border-radius: var(--radius-sm); cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s; flex-shrink: 0;
}
.bac-copy:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Payment Slip Buttons ───────────────────────────── */
.fund-slip-label { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin: 14px 0 10px; }
.fund-slip-btns  { display: flex; gap: 10px; margin-bottom: 4px; }
.slip-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 10px; border-radius: var(--radius-md);
  font-size: 0.82rem; font-weight: 800; text-decoration: none;
  letter-spacing: 0.2px; transition: all 0.2s; cursor: pointer;
}
.slip-whatsapp { background: linear-gradient(135deg, #25d366, #128c3e); color: #fff; box-shadow: 0 3px 14px rgba(37,211,102,0.35); }
.slip-telegram { background: linear-gradient(135deg, #2ca5e0, #0088cc); color: #fff; box-shadow: 0 3px 14px rgba(44,165,224,0.35); }
.slip-btn:hover  { filter: brightness(1.1); transform: translateY(-2px); }
.slip-btn:active { transform: scale(0.97); }

/* ── Card Payment ───────────────────────────────────── */
.fund-amount-presets {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px;
}
.amount-preset {
  padding: 10px 4px; background: var(--bg-card2);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.78rem; font-weight: 700;
  cursor: pointer; transition: all 0.18s; text-align: center;
}
.amount-preset:hover, .amount-preset.active {
  border-color: var(--accent2); color: var(--accent2); background: rgba(168,85,247,0.12);
}
.fund-amount-wrap { position: relative; }
.fund-naira-sign {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 1rem; font-weight: 700; color: var(--text-muted); pointer-events: none;
}

/* ── Withdraw Modal ──────────────────────────────────── */
.withdraw-balance-row {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.04));
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 14px;
}
.wb-label  { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.wb-amount { font-size: 1.15rem; font-weight: 900; color: var(--green); }

.withdraw-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.wd-all-btn { background: rgba(168,85,247,0.12) !important; border-color: rgba(168,85,247,0.4) !important; color: var(--accent2) !important; }
.wd-all-btn.active, .wd-all-btn:hover { background: rgba(168,85,247,0.25) !important; border-color: var(--accent2) !important; }

.wd-input-wrap { position: relative; margin-bottom: 6px; }
.wd-naira-sign {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 1rem; font-weight: 700; color: var(--text-muted); pointer-events: none; z-index: 1;
}
.wd-input {
  width: 100%; padding: 13px 16px 13px 36px;
  background: var(--bg-card2); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); color: var(--text);
  font-size: 1rem; font-weight: 700; letter-spacing: 0.5px;
  outline: none; transition: border-color 0.2s; box-sizing: border-box;
}
.wd-input:focus { border-color: var(--accent2); }
.wd-min-note { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 14px; text-align: center; }
.wd-submit-btn {
  background: linear-gradient(135deg, var(--green), #059669) !important;
  box-shadow: 0 4px 18px rgba(16,185,129,0.4) !important;
}

/* ── Page Panels ─────────────────────────────────────── */
.page-panel { display: none; }
.page-panel.active { display: block; }

.inner-page { max-width: 480px; margin: 0 auto; padding: 16px 16px 80px; }
.inner-page-header { margin-bottom: 18px; }
.inner-page-header h2 { font-size: 1.2rem; font-weight: 900; color: var(--text); margin: 0 0 14px; }
.inner-page-tabs {
  display: flex; gap: 0; background: var(--bg-card2);
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px;
}
.inner-tab {
  flex: 1; padding: 9px 8px; background: transparent; border: none;
  border-radius: var(--radius-sm); color: var(--text-muted);
  font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.inner-tab.active { background: var(--accent); color: #fff; box-shadow: 0 2px 10px rgba(124,58,237,0.4); }
.page-loading { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 0.88rem; }

/* ── History List ────────────────────────────────────── */
.history-list { animation: fadeIn 0.2s ease; }
.hist-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.hist-row:last-child { border-bottom: none; }
.hist-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.win-icon { background: rgba(16,185,129,0.15); }
.dep-icon { background: rgba(16,185,129,0.12); }
.wd-icon  { background: rgba(245,158,11,0.12); }
.hist-info  { flex: 1; min-width: 0; }
.hist-title { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.hist-date  { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.hist-sub   { font-size: 0.7rem;  color: var(--text-muted); margin-top: 2px; }
.hist-right  { text-align: right; flex-shrink: 0; }
.hist-amount { font-size: 0.95rem; font-weight: 900; }
.hist-amount.green  { color: var(--green); }
.hist-amount.orange { color: #f59e0b; }
.hist-status {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 2px 7px; border-radius: 50px; margin-top: 4px;
}
.status-approved { background: rgba(16,185,129,0.15); color: #10b981; }
.status-pending  { background: rgba(245,158,11,0.15);  color: #f59e0b; }
.status-rejected { background: rgba(239,68,68,0.15);   color: #ef4444; }

/* ── Empty State ─────────────────────────────────────── */
.empty-state { text-align: center; padding: 50px 20px; }
.es-icon  { font-size: 2.5rem; margin-bottom: 10px; }
.es-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.es-sub   { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ── Profile Page ────────────────────────────────────── */
.profile-avatar-wrap { text-align: center; margin-bottom: 16px; }
.profile-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(16,185,129,0.15));
  border: 2px solid rgba(124,58,237,0.4); font-size: 2.2rem;
}
.profile-card { background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px 16px; margin-bottom: 16px; }
.profile-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.profile-row:last-child { border-bottom: none; }
.profile-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; }
.profile-val   { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.profile-balances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.profile-bal-card { background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 10px; text-align: center; }
.pbal-label { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 6px; }
.pbal-val   { font-size: 0.95rem; font-weight: 900; color: var(--text); }
.pbal-val.green { color: var(--green); }
.pbal-val.gold  { color: var(--gold2); }

/* ── Pot Badge on Deposit Card ───────────────────────── */
.deposit-card { position: relative; }
.pot-badge {
  position: absolute; top: -8px; right: -8px;
  background: rgba(124,58,237,0.9); border: 1.5px solid rgba(168,85,247,0.7);
  color: #fff; font-size: 0.7rem; font-weight: 800;
  padding: 3px 8px; border-radius: 50px; white-space: nowrap;
  letter-spacing: 0.2px; box-shadow: 0 2px 8px rgba(124,58,237,0.5);
  line-height: 1.3; pointer-events: none;
}
.pot-badge span { font-weight: 500; opacity: 0.85; }
.pot-badge-warn   { background: rgba(245,158,11,0.9) !important; border-color: rgba(245,158,11,0.7) !important; box-shadow: 0 2px 8px rgba(245,158,11,0.4) !important; }
.pot-badge-danger { background: rgba(239,68,68,0.9)  !important; border-color: rgba(239,68,68,0.7)  !important; box-shadow: 0 2px 8px rgba(239,68,68,0.4)  !important; }
@keyframes potPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.18)} }
.pot-badge-anim { animation: potPulse 0.35s ease; }

/* ── Info Pages ──────────────────────────────────────── */
.info-page-content { line-height: 1.65; color: var(--text-muted); font-size: 0.88rem; }
.info-page-content p { margin-bottom: 16px; }
.info-hero { text-align: center; font-size: 3rem; margin: 8px 0 18px; line-height: 1; }
.info-card-block { background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px 14px; margin-bottom: 18px; }
.icb-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.icb-row:last-child { border-bottom: none; }
.icb-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 1px; }
.icb-row strong { display: block; color: var(--text); font-size: 0.9rem; margin-bottom: 3px; }
.icb-row p { margin: 0; font-size: 0.82rem; }

.info-method-title { font-size: 0.88rem; font-weight: 800; color: var(--text); margin-bottom: 14px; letter-spacing: 0.2px; }
.info-steps { margin-bottom: 6px; }
.step-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 0.78rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.step-body strong { display: block; color: var(--text); font-size: 0.88rem; margin-bottom: 3px; }
.step-body p { margin: 0; font-size: 0.82rem; }

.info-tip-box {
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-md); padding: 13px 14px;
  font-size: 0.82rem; color: #fcd34d; line-height: 1.5; margin-top: 18px;
}
.info-footer-note { font-size: 0.78rem; text-align: center; color: var(--text-muted); opacity: 0.7; margin-top: 8px; }

/* ── Social Float Icons ──────────────────────────────── */
.social-float { position: fixed; left: 10px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  box-shadow: 0 3px 12px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s; flex-shrink: 0;
}
.social-btn:hover { transform: scale(1.12); box-shadow: 0 5px 18px rgba(0,0,0,0.45); }
.social-wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.social-tg { background: linear-gradient(135deg, #2ca5e0, #1a7bbf); }

/* ── Profile Modal close X ───────────────────────────── */
.modal-x-btn {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted); border-radius: 50%; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.modal-x-btn:hover { background: rgba(239,68,68,0.15); color: #fca5a5; }

/* ── Referral Button in Profile ──────────────────────── */
.btn-referral {
  width: 100%;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(168,85,247,0.2));
  border: 1px solid rgba(168,85,247,0.45); color: var(--accent2);
  border-radius: 50px; padding: 11px 20px; font-size: 0.88rem; font-weight: 800;
  cursor: pointer; transition: all 0.18s; margin-top: 10px; letter-spacing: 0.2px;
}
.btn-referral:hover { background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(168,85,247,0.3)); }

/* ── Referral Modal Styles ───────────────────────────── */
.ref-link-box {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px 12px; margin-bottom: 16px;
}
.ref-link-text { flex: 1; font-size: 0.72rem; color: var(--accent2); word-break: break-all; font-family: monospace; }
.ref-copy-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; border-radius: 50px;
  padding: 6px 14px; font-size: 0.75rem; font-weight: 800;
  cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: filter 0.15s;
}
.ref-copy-btn:hover { filter: brightness(1.15); }
.ref-stats-row { display: flex; gap: 12px; margin-bottom: 18px; }
.ref-stat {
  flex: 1; background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 10px; text-align: center;
}
.ref-stat-num { font-size: 1.3rem; font-weight: 900; color: var(--text); line-height: 1.1; }
.ref-stat-num.green { color: var(--green); }
.ref-stat-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* ── Account Tier Progress Bar ───────────────────────── */
.tier-bar-wrap { background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 14px 12px; margin: 14px 0 6px; }
.tier-bar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.tier-bar-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); font-weight: 700; }
.tier-bar-name  { font-size: 0.82rem; font-weight: 900; letter-spacing: 0.3px; }
.tier-bar-track { position: relative; height: 10px; background: rgba(255,255,255,0.07); border-radius: 50px; overflow: hidden; margin-bottom: 8px; }
.tier-bar-fill  { height: 100%; border-radius: 50px; transition: width 0.7s cubic-bezier(0.4,0,0.2,1); position: relative; }
.tier-bar-fill::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  animation: tierShimmer 2s ease-in-out infinite;
}
.tier-max::after { display: none; }
@keyframes tierShimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.tier-bar-ticks { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-evenly; padding: 0 2px; pointer-events: none; }
.tier-tick      { width: 2px; height: 6px; background: rgba(0,0,0,0.3); border-radius: 1px; }
.tier-bar-sub   { display: flex; justify-content: space-between; align-items: center; }
.tier-lvl-num   { font-size: 0.68rem; font-weight: 800; color: var(--text-muted); }
.tier-next      { font-size: 0.68rem; color: var(--text-muted); opacity: 0.7; }

/* ── Verified / Unverified Badge ─────────────────────── */
.verified-badge, .unverified-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.72rem; font-weight: 800; padding: 3px 10px;
  border-radius: 50px; margin-top: 8px; letter-spacing: 0.3px;
}
.verified-badge   { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.4); color: #10b981; }
.unverified-badge { background: rgba(245,158,11,0.1);  border: 1px solid rgba(245,158,11,0.3);  color: #f59e0b; }

/* ── Real-time balance flash ─────────────────────────── */
@keyframes balanceFlash {
  0%   { color: #fff; text-shadow: 0 0 12px #10b981; }
  50%  { color: #34d399; text-shadow: 0 0 20px #10b981; }
  100% { color: inherit; text-shadow: none; }
}
.balance-flash { animation: balanceFlash 1.8s ease; }

/* ── Withdraw Level Gate (page view) ────────────────── */
.withdraw-level-gate {
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius-md); padding: 28px 20px 24px;
  text-align: center; margin-top: 12px;
}
.wlg-icon  { font-size: 2.6rem; margin-bottom: 10px; }
.wlg-title { font-size: 1.15rem; font-weight: 900; color: #fca5a5; margin-bottom: 12px; letter-spacing: 0.3px; }
.wlg-body  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.wlg-body strong { color: #fff; }

/* ── Referral Modal Tabs & Lists ─────────────────────── */
.ref-deposited-list { max-height: 220px; overflow-y: auto; }
.ref-dep-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.ref-dep-row:last-child { border-bottom: none; }
.ref-dep-avatar { font-size: 1.4rem; flex-shrink: 0; }
.ref-dep-info   { flex: 1; min-width: 0; }
.ref-dep-name   { font-size: .88rem; font-weight: 700; color: var(--text); }
.ref-dep-date   { font-size: .72rem; color: var(--text-muted); margin-top: 1px; }
.ref-dep-badge  { font-size: .75rem; font-weight: 800; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #10b981; border-radius: 50px; padding: 3px 9px; flex-shrink: 0; }

.ref-earn-info { padding: 4px 0; }
.rei-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.rei-row:last-child { border-bottom: none; }
.rei-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.rei-row strong { font-size: .9rem; color: var(--text); display: block; margin-bottom: 2px; }
.rei-row p { font-size: .8rem; color: var(--text-muted); margin: 0; }

/* ── Sidebar Contact Items ───────────────────────────── */
.sidebar-contact { display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.sidebar-contact:hover { color: var(--text); }

/* ── Withdrawal Locked inline header ────────────────── */
.wd-lock-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.wd-lock-title  { font-size: 1.1rem; font-weight: 900; color: var(--text); }
.wd-lock-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted); font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s, color 0.15s; flex-shrink: 0;
}
.wd-lock-close:hover { background: rgba(239,68,68,0.18); color: #fca5a5; }

/* ── Password input wrapper + eye icon ───────────────── */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; width: 100%; box-sizing: border-box; }
.pw-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 1rem; color: var(--text-muted); padding: 0; line-height: 1;
}
.pw-eye:hover { color: var(--text); }

/* ── Statistics Section ──────────────────────────────── */
.stats-section { margin: 4px 0 10px; padding: 0 4px; }
.stats-label { font-size: 0.68rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; text-align: left; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 8px 10px; text-align: center; }
.stat-icon { font-size: 1.3rem; margin-bottom: 4px; }
.stat-num  { font-size: 0.9rem; font-weight: 900; color: var(--gold2); letter-spacing: 0.3px; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.stat-lbl  { font-size: 0.62rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }