:root {
  --bw-bg: #050816;
  --bw-bg-2: #0a1230;
  --bw-panel: #12182e;
  --bw-panel-2: #1a223f;
  --bw-line: rgba(90, 130, 220, 0.18);
  --bw-green: #2dff6e;
  --bw-green-dark: #14c94f;
  --bw-yellow: #ffe14a;
  --bw-purple: #7c5cff;
  --bw-purple-2: #4f46e5;
  --bw-red: #ef4444;
  --bw-text: #ffffff;
  --bw-muted: #9aa6c3;
  --bw-blue: #3b82f6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", "Nunito Sans", system-ui, sans-serif;
  color: var(--bw-text);
  background: var(--bw-bg);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.bw-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.45) 0%, rgba(5, 8, 22, 0.78) 100%),
    url('../front/bg-user.png') center top / cover no-repeat fixed;
  background-attachment: fixed;
}

.bw-app-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  background: #0d1328;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: #d7def5;
}

.bw-app-banner .install {
  background: var(--bw-blue);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 700;
  cursor: pointer;
}

.bw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  max-width: 920px;
  margin: 0 auto;
}

.bw-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 18px;
}

.bw-logo .crown {
  color: var(--bw-yellow);
  font-size: 14px;
  line-height: 1;
}

.bw-logo .brand {
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #34d399, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bw-saldo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bw-saldo-box .label {
  font-size: 11px;
  color: var(--bw-muted);
  text-align: right;
  line-height: 1.1;
}

.bw-saldo-box .value {
  color: var(--bw-green);
  font-weight: 800;
  font-size: 16px;
}

.bw-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  display: grid;
  place-items: center;
  font-weight: 800;
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
}

.bw-container {
  width: min(460px, calc(100% - 24px));
  margin: 0 auto;
  padding: 8px 0 110px;
}

.bw-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 30, 20, 0.85);
  border: 1px solid rgba(45, 255, 110, 0.35);
  color: var(--bw-green);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}

.bw-online-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bw-green);
  box-shadow: 0 0 8px var(--bw-green);
}

.bw-hero-title {
  text-align: center;
  margin: 18px 0 14px;
}

.bw-hero-title h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.bw-hero-title .earn {
  background: linear-gradient(90deg, #ffe14a, #2dff6e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bw-promo-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.35), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(45, 255, 110, 0.2), transparent 35%),
    linear-gradient(160deg, #1a1140, #0d1b3f 55%, #102a1f);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  min-height: 280px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bw-promo-card .promo-title {
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 16px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}

.bw-promo-card .promo-title span {
  color: var(--bw-green);
}

.bw-blocks {
  display: grid;
  grid-template-columns: repeat(4, 28px);
  gap: 4px;
  margin: 8px 0 10px;
}

.bw-blocks span {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -3px 0 rgba(0,0,0,0.25);
}

.bw-coin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff59d, #f6c90e 45%, #c98a00);
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.bw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  border-radius: 14px;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.bw-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.bw-btn:active { transform: translateY(1px); }

.bw-btn-green {
  background: linear-gradient(180deg, #49ff86, #17d45a);
  color: #062413;
  box-shadow: 0 10px 28px rgba(45, 255, 110, 0.35);
}

.bw-btn-purple {
  background: linear-gradient(90deg, #7c5cff, #4f46e5);
  color: #fff;
}

.bw-btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
}

.bw-btn-lg {
  width: 100%;
  padding: 16px 20px;
  font-size: 18px;
  margin-top: 18px;
}

.bw-link {
  display: inline-block;
  margin-top: 14px;
  color: #e8ecff;
  font-size: 14px;
}

.bw-card {
  background: linear-gradient(180deg, #161d36, #101628);
  border: 1px solid rgba(120, 150, 255, 0.18);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* Borda animada (modal de valores) */
.bw-glow-frame {
  position: relative;
  border-radius: 24px;
  padding: 2px;
  overflow: hidden;
  box-shadow:
    0 0 18px rgba(255, 120, 40, 0.35),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.bw-glow-frame::before {
  content: "";
  position: absolute;
  inset: -55%;
  background: conic-gradient(
    from 0deg,
    #ff4d00,
    #ffb703,
    #ff7a18,
    #ff3d00,
    #ffd166,
    #ff4d00
  );
  animation: bw-border-spin 2.8s linear infinite;
}

.bw-glow-frame > .bw-card {
  position: relative;
  z-index: 1;
  border: 0;
  box-shadow: none;
}

/* Borda animada do botão Jogar */
.bw-glow-btn {
  position: relative;
  margin-top: 18px;
  border-radius: 18px;
  padding: 2px;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(45, 255, 110, 0.35);
}

.bw-glow-btn::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(
    from 0deg,
    #2dff6e,
    #ffe14a,
    #17d45a,
    #67e8f9,
    #2dff6e
  );
  animation: bw-border-spin 2.2s linear infinite;
}

.bw-glow-btn .bw-btn {
  position: relative;
  z-index: 1;
  margin-top: 0;
  width: 100%;
  border-radius: 16px;
}

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

.bw-card-banner {
  position: relative;
  min-height: 150px;
  padding: 18px;
  background:
    radial-gradient(circle at 15% 40%, rgba(255, 120, 80, 0.35), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(80, 120, 255, 0.4), transparent 40%),
    linear-gradient(135deg, #2a1458, #12305f);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bw-card-banner-img {
  min-height: 140px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #0b1224;
}

.bw-card-banner h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 3px 12px rgba(0,0,0,0.45);
}

.bw-badge-online {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bw-badge-online::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  animation: bw-dot-pulse 1.8s ease-out infinite;
}

@keyframes bw-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.bw-card-body { padding: 18px; }

.bw-section-label {
  color: var(--bw-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.bw-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bw-entry-btn {
  background: #0e1530;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 12px;
  padding: 12px 8px;
  font-weight: 800;
  cursor: pointer;
}

.bw-entry-btn.active {
  background: #5b6f93;
  border-color: #9eb2d8;
}

.bw-entry-input {
  width: 100%;
  margin-top: 10px;
  background: #0e1530;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-weight: 700;
}

.bw-reward {
  margin-top: 16px;
  text-align: center;
}

.bw-reward small {
  display: block;
  color: var(--bw-muted);
  margin-bottom: 4px;
}

.bw-reward strong {
  color: var(--bw-yellow);
  font-size: 34px;
  font-weight: 900;
}

.bw-bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(10, 14, 28, 0.96);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  z-index: 40;
  overflow: visible;
}

.bw-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #8b95b5;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 2px;
  background: none;
  border: 0;
  cursor: pointer;
}

.bw-nav-item .icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #c7d0ea;
  transition: color 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}

.bw-nav-item .icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.bw-nav-item:hover .icon,
.bw-nav-item.active .icon {
  color: #ffffff;
  transform: translateY(-1px);
  filter: drop-shadow(0 0 8px rgba(45, 255, 110, 0.25));
}

.bw-nav-item.active { color: #fff; }

.bw-nav-item.play {
  color: #2dff6e;
  gap: 5px;
  font-weight: 700;
}

.bw-nav-item.play.active {
  color: #2dff6e;
}

.bw-play-label {
  color: #2dff6e;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* Botão Jogar: arco verde girando na borda (camada de baixo + miolo cobrindo o centro) */
.bw-play-orb {
  position: relative;
  width: 56px;
  height: 56px;
  margin-top: -24px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.bw-play-orb-spin {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(
    #2dff6e 0deg,
    rgba(45, 255, 110, 0.55) 40deg,
    transparent 90deg,
    transparent 320deg,
    rgba(45, 255, 110, 0.35) 350deg,
    #2dff6e 360deg
  );
  box-shadow: 0 0 12px rgba(45, 255, 110, 0.55);
  animation: bw-play-spin 1.4s linear infinite;
  will-change: transform;
  z-index: 0;
}

.bw-play-orb-core {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #151d34, #070b14 70%);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.bw-play-blocks {
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.bw-play-blocks i {
  display: block;
  border-radius: 4px;
}

.bw-play-blocks i:nth-child(1) { background: #a855f7; }
.bw-play-blocks i:nth-child(2) { background: #34d399; }
.bw-play-blocks i:nth-child(3) { background: #60a5fa; }
.bw-play-blocks i:nth-child(4) { background: #fbbf24; }

@keyframes bw-play-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bw-toast {
  position: fixed;
  left: 12px;
  bottom: 86px;
  z-index: 45;
  background: rgba(15, 20, 40, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  max-width: min(320px, calc(100% - 24px));
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.bw-toast .up {
  color: var(--bw-green);
  font-weight: 900;
}

.bw-win-toast {
  position: fixed;
  left: 12px;
  bottom: 90px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(280px, calc(100% - 24px));
  max-width: min(340px, calc(100% - 24px));
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #12182e, #0b1020);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(45, 255, 110, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(45, 255, 110, 0.12);
  animation: bw-toast-slide 0.45s ease both;
}

.bw-win-toast-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 18px;
  background: radial-gradient(circle at 35% 30%, #2a334f, #12182e);
  border: 2px solid #f5c542;
  box-shadow: 0 0 12px rgba(245, 197, 66, 0.35);
}

.bw-win-toast-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.bw-win-toast-text strong {
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}

.bw-win-toast-text span {
  font-size: 12px;
  color: #9aa6c3;
  font-weight: 600;
}

.bw-win-toast-amount {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
  color: #2dffd0;
  text-shadow: 0 0 12px rgba(45, 255, 208, 0.35);
  white-space: nowrap;
}

.bw-toast-enter {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.bw-toast-enter-start {
  opacity: 0;
  transform: translateX(-16px);
}
.bw-toast-enter-end {
  opacity: 1;
  transform: translateX(0);
}

@keyframes bw-toast-slide {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bw-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}

@media (min-width: 640px) {
  .bw-modal-backdrop { align-items: center; }
}

.bw-modal {
  width: min(440px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: #111827;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  position: relative;
}

.bw-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 8px;
}

.bw-modal-header h3 {
  margin: 0;
  font-size: 22px;
}

.bw-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--bw-red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.bw-modal-body { padding: 8px 18px 20px; }

.bw-green-panel {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  border-radius: 16px;
  padding: 16px;
  color: #fff;
}

.bw-green-panel .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.bw-green-panel .big {
  font-size: 28px;
  font-weight: 900;
  margin: 4px 0;
}

.bw-copy-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.bw-copy-row input {
  width: 100%;
  background: #0b1224;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  padding: 12px;
}

.bw-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.bw-stat {
  background: #0b1224;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.bw-accordion {
  background: #0b1224;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.bw-accordion summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bw-accordion p {
  color: var(--bw-muted);
  font-size: 13px;
  margin: 10px 0 0;
}

.bw-btn-danger {
  width: 100%;
  background: #dc2626;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  font-weight: 900;
  cursor: pointer;
  margin-top: 8px;
}

.bw-alert {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fecaca;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.bw-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.bw-auth-card {
  width: min(420px, 100%);
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.bw-auth-card h1 {
  margin: 0 0 6px;
  font-size: 26px;
}

.bw-auth-card p {
  margin: 0 0 18px;
  color: var(--bw-muted);
  font-size: 14px;
}

.bw-field { margin-bottom: 14px; }
.bw-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #c7d2fe;
  font-weight: 600;
}
.bw-field input {
  width: 100%;
  background: #0b1224;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #fff;
  padding: 12px 14px;
}
.bw-field .error {
  color: #fca5a5;
  font-size: 12px;
  margin-top: 6px;
}

.bw-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.bw-game-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px 24px;
  background:
    radial-gradient(circle at 50% 30%, #2f6bff 0%, #1d4ed8 28%, #0b1f66 70%, #06123a 100%);
}

.bw-game-hud {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px;
  margin-bottom: 14px;
}

.bw-game-hud .side {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  color: #ffe14a;
  font-weight: 800;
  font-size: 13px;
  text-shadow: none;
}

.bw-game-hud .side.left { text-align: left; }
.bw-game-hud .side.right { text-align: right; }

.bw-game-hud .center {
  text-align: center;
}

.bw-game-hud .center .money {
  color: var(--bw-green);
  font-size: clamp(34px, 9vw, 48px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 3px 0 rgba(0,0,0,0.35);
}

.bw-game-hud .center .line {
  width: 70px;
  height: 3px;
  background: rgba(255,255,255,0.35);
  margin: 8px auto 0;
  border-radius: 999px;
}

#board {
  --cell: min(46px, calc((100vw - 56px) / 8));
  display: grid;
  grid-template-columns: repeat(8, var(--cell));
  grid-template-rows: repeat(8, var(--cell));
  gap: 2px;
  background: #0b1a4a;
  padding: 8px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.cell {
  width: var(--cell);
  height: var(--cell);
  background: rgba(255,255,255,0.04);
  border-radius: 5px;
}

.cell.filled {
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.35),
    inset 0 -3px 0 rgba(0,0,0,0.28);
}

.cell.preview-valid { background: rgba(255,255,255,0.35) !important; }
.cell.preview-invalid { background: rgba(239,71,111,0.45) !important; }

#tray {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.slot {
  min-height: 110px;
  background: rgba(8, 20, 60, 0.65);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.piece { position: relative; touch-action: none; cursor: grab; }
.piece-cell {
  position: absolute;
  border-radius: 5px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.35),
    inset 0 -3px 0 rgba(0,0,0,0.28);
}
.ghost { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; opacity: 0.92; }

#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
#overlay.hidden { display: none; }

.panel {
  width: min(360px, 100%);
  background: #12182e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
}
.panel h2 { margin: 0 0 8px; color: var(--bw-yellow); }
.panel p { color: #d5dcf5; }
.panel .actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.bw-sound {
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  z-index: 30;
}

.bw-landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  max-width: 980px;
  margin: 0 auto;
}

.bw-landing-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bw-landing-main {
  width: min(460px, calc(100% - 28px));
  margin: 20px auto 40px;
  text-align: center;
}

.bw-tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.bw-tier {
  background: #0b1224;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.bw-tier small {
  color: #67e8f9;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.bw-profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.bw-profile-head .meta strong {
  display: block;
  font-size: 18px;
}

.bw-profile-head .meta span {
  color: var(--bw-muted);
  font-size: 13px;
}

/* Modal Depositar */
.bw-deposit-modal {
  padding: 0;
  overflow: hidden;
  background: #0f1528;
}

.bw-deposit-banner {
  position: relative;
  background: #0b1224;
}

.bw-deposit-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  background: #0b1224;
}

.bw-deposit-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.bw-deposit-body {
  padding: 16px 16px 20px;
}

/* Modal Depositar Grid & Options */
.bw-deposit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 10px;
  margin-top: 18px;
  margin-bottom: 18px;
  width: 100%;
}

.bw-deposit-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 68px;
  box-sizing: border-box;
  padding-top: 10px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: #161d36;
  color: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.bw-deposit-option strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-align: center;
  margin: 0;
}

.bw-deposit-option.active {
  background: #1c2748;
  border-color: rgba(103, 232, 249, 0.7);
  box-shadow: 0 0 12px rgba(103, 232, 249, 0.25);
}

.bw-deposit-option.is-bonus {
  border-color: rgba(251, 191, 36, 0.55);
}

.bw-deposit-option.is-bonus.active {
  border-color: #fbbf24;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.35);
}

.bw-deposit-badge {
  position: absolute !important;
  top: -10px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  height: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  color: #fff !important;
  z-index: 10 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45) !important;
}

.bw-deposit-option.tone-green .bw-deposit-badge { background: #16a34a; }
.bw-deposit-option.tone-orange .bw-deposit-badge { background: #f59e0b; color: #1f1300; }
.bw-deposit-option.tone-red .bw-deposit-badge { background: #ef4444; }
.bw-deposit-option.tone-purple .bw-deposit-badge { background: #7c3aed; }

.bw-deposit-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bw-deposit-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0b1224;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 0 14px;
}

.bw-deposit-amount .prefix {
  color: #9aa6c3;
  font-weight: 800;
}

.bw-deposit-amount input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 0;
  outline: none;
  width: 100%;
}

.bw-deposit-amount input::-webkit-outer-spin-button,
.bw-deposit-amount input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bw-deposit-amount input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.bw-deposit-cpf label {
  display: block;
  margin-bottom: 6px;
  color: #9aa6c3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.bw-deposit-cpf input {
  width: 100%;
  background: #0b1224;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  padding: 14px;
  outline: none;
}

.bw-deposit-cpf input:focus,
.bw-deposit-amount:focus-within {
  border-color: rgba(45, 255, 110, 0.45);
}

.bw-deposit-submit {
  margin-top: 4px;
}

.bw-deposit-submit.is-disabled,
.bw-deposit-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

/* Logo Image Header */
.bw-logo-img {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

/* Base Styled Inputs & Selects */
.bw-input-styled {
  width: 100%;
  background: #0b1224;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  padding: 14px;
  outline: none;
}

.bw-input-styled:focus {
  border-color: rgba(45, 255, 110, 0.45);
}

.bw-select-styled {
  width: 100%;
  background: #0b1224;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  padding: 14px;
  outline: none;
  cursor: pointer;
}

.bw-select-styled option {
  background: #0d152b;
  color: #fff;
}

/* Modal Saque (Withdraw) */
.bw-withdraw-modal {
  padding: 0;
  overflow: hidden;
  background: #0f1528;
}

.bw-withdraw-body {
  padding: 16px 16px 20px;
}

.bw-withdraw-info-card {
  background: linear-gradient(135deg, #162044, #0e1630);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 16px;
  padding: 16px;
}

.bw-withdraw-info-main small {
  color: #9aa6c3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.bw-withdraw-balance {
  color: #2dff6e;
  font-size: 26px;
  font-weight: 900;
  margin-top: 2px;
  text-shadow: 0 0 16px rgba(45, 255, 110, 0.25);
}

.bw-withdraw-info-sub {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #9aa6c3;
  font-weight: 600;
}

.bw-withdraw-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 14px;
}

.bw-withdraw-quick-btn {
  background: #141b33;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  padding: 10px 4px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.bw-withdraw-quick-btn.active {
  background: #1e2c56;
  border-color: #2dff6e;
  color: #2dff6e;
}

.bw-withdraw-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bw-withdraw-submit {
  margin-top: 6px;
}

/* Modal Indicar (Referral) */
.bw-indicar-modal {
  padding: 0;
  overflow: hidden;
  background: #0f1528;
}

.bw-indicar-banner {
  position: relative;
  min-height: 140px;
  padding: 20px 16px;
  background:
    radial-gradient(circle at 15% 40%, rgba(45, 255, 110, 0.25), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(124, 92, 255, 0.35), transparent 40%),
    linear-gradient(135deg, #191244, #0b1f48);
  text-align: center;
}

.bw-indicar-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bw-indicar-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #a78bfa;
  margin-bottom: 4px;
}

.bw-indicar-banner h2 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 6px;
  line-height: 1.1;
}

.bw-indicar-banner p {
  font-size: 12px;
  color: #cbd5e1;
  margin: 0;
}

.bw-indicar-body {
  padding: 16px 16px 20px;
}

.bw-indicar-panel {
  background: linear-gradient(135deg, #15803d, #166534);
  box-shadow: 0 8px 24px rgba(22, 101, 52, 0.35);
}

.bw-indicar-panel .sub {
  color: #bbf7d0;
  font-size: 11px;
}

.bw-indicar-withdraw-btn {
  width: 100%;
  background: rgba(11, 18, 36, 0.85);
  color: #fff;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.bw-indicar-withdraw-btn:hover:not(:disabled) {
  background: #0b1224;
  transform: translateY(-1px);
}

.bw-indicar-withdraw-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bw-referral-link-section {
  margin-top: 16px;
}

.bw-copy-btn {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.bw-tier-n1 {
  background: linear-gradient(135deg, #121d3b, #0b1429);
  border-color: rgba(45, 255, 110, 0.25);
}

.bw-tier-n2 {
  background: linear-gradient(135deg, #18153b, #0e0d29);
  border-color: rgba(167, 139, 250, 0.25);
}

.bw-tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;

}

.bw-tier-header .badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
}

.bw-tier-stat {
  font-size: 20px;
  font-weight: 900;
  margin-top: 8px;
}

.bw-tier-stat span {
  font-size: 12px;
  font-weight: 600;
  color: #9aa6c3;
}

.bw-tier-sub {
  color: #9aa6c3;
  font-size: 11px;
  margin-top: 4px;
}

.bw-history-list {
  background: #0b1224;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  max-height: 180px;
  overflow-y: auto;
}

.bw-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bw-history-item:last-child {
  border-bottom: 0;
}

.bw-empty-state {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  text-align: center;
  padding: 12px 0;
}

/* Modal Perfil (Profile) */
.bw-profile-modal {
  padding: 0;
  overflow: hidden;
  background: #0f1528;
}

.bw-profile-avatar {
  width: 54px;
  height: 54px;
  font-size: 22px;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
}

.bw-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.bw-stat-card {
  background: #0b1224;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bw-stat-card small {
  font-size: 10px;
  font-weight: 800;
  color: #9aa6c3;
  letter-spacing: 0.5px;
}

.bw-stat-card strong {
  font-size: 18px;
  font-weight: 900;
}

.bw-profile-accordions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bw-profile-accordions details summary {
  padding: 14px;
}

.bw-profile-accordions details summary .action-tag {
  font-size: 12px;
  color: #67e8f9;
  font-weight: 700;
}

.bw-profile-accordions .accordion-content {
  padding: 0 14px 14px;
  color: #9aa6c3;
  font-size: 13px;
}

/* Exact Pixel-Matching Profile Modal Styles */
.bw-profile-modal {
  width: min(440px, 100%);
  background: #111827;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}

.bw-profile-modal-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
}

.bw-modal-grab-bar {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.bw-profile-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.bw-modal-close-red {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: #e11d48;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bw-profile-body {
  padding: 12px 18px 22px;
}

.bw-profile-user-card {
  background: #151c33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
}

.bw-profile-user-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bw-profile-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bw-profile-user-info strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.bw-profile-user-info span {
  font-size: 12px;
  color: #94a3b8;
}

.bw-profile-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bw-profile-link-input {
  flex: 1;
  background: #0d1326;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 11px;
  padding: 8px 10px;
  outline: none;
}

.bw-profile-copy-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.bw-profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.bw-profile-stat-box {
  background: #151c33;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bw-profile-stat-box strong {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.bw-profile-stat-box small {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.bw-profile-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.bw-profile-accordion {
  background: #151c33;
  border-radius: 12px;
  padding: 14px 16px;
  border: 0;
}

.bw-profile-accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.bw-profile-accordion summary::-webkit-details-marker {
  display: none;
}

.bw-profile-accordion summary .label {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.bw-profile-accordion summary .action {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bw-profile-accordion .content {
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

.bw-profile-logout-btn {
  width: 100%;
  background: #ff4d6d;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-align: center;
}

.bw-indicar-banner-img {
  position: relative;
  width: 100%;
  background: #0b1224;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.bw-indicar-banner-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
}

/* Exact Pixel-Matching Indicar Modal Styles */
.bw-indicar-top-banner {
  position: relative;
  min-height: 150px;
  background:
    url('/front/banner_painel.png') center/cover no-repeat,
    linear-gradient(135deg, #1d1042, #0b1a40);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.bw-modal-close-red-banner {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: #e11d48;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.bw-indicar-banner-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

.bw-indicar-banner-title span {
  color: #ffe14a;
}

.bw-indicar-green-card {
  background: linear-gradient(135deg, #14c958, #0ea549);
  border-radius: 14px;
  padding: 16px;
  color: #fff;
}

.bw-indicar-green-card .kicker {
  font-size: 11px;
  font-weight: 800;
  color: #dcfce7;
  letter-spacing: 0.5px;
}

.bw-indicar-green-card .val {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin: 2px 0;
}

.bw-indicar-green-card .sub {
  font-size: 11px;
  color: #bbf7d0;
}

.bw-indicar-sacar-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.bw-indicar-link-wrap {
  margin-top: 14px;
}

.bw-indicar-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #14c958;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.bw-indicar-label-muted {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.bw-indicar-input {
  width: 100%;
  background: #151c33;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  padding: 12px;
  outline: none;
}

.bw-indicar-copy-btn {
  width: 100%;
  margin-top: 10px;
  background: #14c958;
  color: #000;
  font-weight: 900;
  font-size: 14px;
  padding: 12px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
}

.bw-indicar-tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.bw-indicar-tier-box {
  background: #151c33;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.bw-indicar-tier-box .title {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.bw-indicar-tier-box .num {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-top: 4px;
}

.bw-indicar-tier-box .lbl {
  font-size: 10px;
  color: #94a3b8;
}

.bw-indicar-tier-box .vol {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-top: 6px;
}

.bw-indicar-history-wrap {
  margin-top: 14px;
}

.bw-indicar-history-card {
  background: #151c33;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

/* Active Button inside Lobby */
.bw-entry-btn {
  background: #0e1530;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 12px;
  padding: 12px 8px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bw-entry-btn.active,
.bw-deposit-option.active {
  background: #1c2640 !important;
  border-color: #60a5fa !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.4) !important;
}

/* Bonus Toggle & Info Box */
.bw-bonus-toggle-card {
  background: #0b1224;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 4px;
}

.bw-bonus-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.bw-bonus-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2dff6e;
  cursor: pointer;
}

.bw-bonus-info-box {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #2dff6e;
  font-weight: 800;
  font-size: 13px;
}

.bw-bonus-info-box small {
  color: #9aa6c3;
  font-size: 11px;
}

.bw-bonus-info-box small strong {
  color: #fff;
}

.bw-bonus-warning-box {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 600;
}

/* Static Glowing option (No spinning animation, clean neon glow border) */
.bw-deposit-option.is-glowing {
  position: relative !important;
  z-index: 1 !important;
  border: 1.5px solid #fbbf24 !important;
  box-shadow:
    0 0 16px rgba(251, 191, 36, 0.55),
    inset 0 0 10px rgba(251, 191, 36, 0.15) !important;
}

.bw-deposit-option.is-glowing::before {
  display: none !important;
}

.bw-deposit-option.is-glowing::after {
  display: none !important;
}

.bw-deposit-option.is-glowing.active::after {
  background: #1c2748;
}

.bw-deposit-option.is-glowing > * {
  position: relative;
  z-index: 2;
}

/* Install Bar Banner & Sheet Modal */
.install-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #0b1126;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #fff;
  position: relative;
  z-index: 10;
}

.install-bar-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.install-bar-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.install-bar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
}

.install-bar-text {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  flex: 1;
}

.install-bar-cta {
  height: 38px;
  padding: 0 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}
.install-bar-cta:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}
.install-bar-cta svg {
  width: 16px;
  height: 16px;
}

/* Install Modal Sheet */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sheet {
  background: #0e152d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px 26px 0 0;
  width: min(500px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  color: #fff;
  padding: 16px 20px 24px;
  position: relative;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.6);
  animation: bwSheetSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bwSheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 auto 14px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sheet-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.sheet-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.install-modal-head {
  text-align: center;
  margin-bottom: 20px;
}

.install-modal-badge {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}
.install-modal-badge svg {
  width: 28px;
  height: 28px;
}

.install-modal-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 900;
}
.install-modal-head p {
  margin: 0;
  color: #9ca3af;
  font-size: 13px;
}

.install-modal-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.install-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
}

.install-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.install-step-icon svg {
  width: 20px;
  height: 20px;
}

.install-step-title {
  font-size: 12px;
  font-weight: 900;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.install-step-text {
  margin: 0;
  font-size: 13px;
  color: #e5e7eb;
  line-height: 1.4;
}

.install-modal-foot {
  text-align: center;
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* Deposit Sheet Modal Style (Slide-Up) */
.deposit-sheet {
  background: #0a1124;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px 26px 0 0;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  color: #fff;
  padding: 12px 16px 24px;
  position: relative;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.75);
}

.deposit-sheet-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.deposit-sheet-banner img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 180px;
}

.deposit-sheet-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
  z-index: 5;
  transition: transform 0.15s ease, background 0.15s ease;
}
.deposit-sheet-close:hover {
  transform: scale(1.08);
  background: #dc2626;
}

.deposit-sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 10px;
  margin-bottom: 14px;
  padding-top: 6px;
}

.deposit-sheet-option {
  position: relative;
  background: #111a33;
  border: 1.5px solid #fbbf24;
  border-radius: 14px;
  padding: 18px 8px 12px;
  text-align: center;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.35);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.deposit-sheet-option:hover {
  transform: translateY(-1px);
}

.deposit-sheet-option.active {
  background: #1c2748 !important;
  border-color: #60a5fa !important;
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.5) !important;
}

.deposit-sheet-option.tone-green { border-color: #22c55e; box-shadow: 0 0 14px rgba(34, 197, 94, 0.35); }
.deposit-sheet-option.tone-orange { border-color: #f97316; box-shadow: 0 0 14px rgba(249, 115, 22, 0.35); }
.deposit-sheet-option.tone-red { border-color: #ef4444; box-shadow: 0 0 14px rgba(239, 68, 68, 0.35); }
.deposit-sheet-option.tone-purple { border-color: #a855f7; box-shadow: 0 0 14px rgba(168, 85, 247, 0.35); }

.deposit-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #16a34a;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.deposit-coupon-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.deposit-coupon-input {
  flex: 1;
  background: #080d1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  outline: none;
}
.deposit-coupon-input:focus {
  border-color: #3b82f6;
}

.deposit-coupon-btn {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 0 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.deposit-coupon-btn:hover {
  background: #334155;
}

.deposit-coupon-note {
  font-size: 11px;
  color: #94a3b8;
  margin: 6px 0 12px;
  line-height: 1.35;
}



