:root {
  --bg: #101014;
  --bg-2: #17171f;
  --bg-3: #1e1e28;
  --line: rgba(255, 255, 255, 0.07);
  --purple: #00E676;
  --purple-2: #00E676;
  --ink: #101014;
  --text: #f4f4f8;
  --muted: #9b9bab;
  --ok: #4ade80;
  --danger: #fb7185;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 45% at 0% -10%, rgba(0, 230, 118, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 0%, rgba(0, 230, 118, 0.1), transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
body.app { display: flex; flex-direction: column; padding-bottom: 92px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--purple); color: var(--ink); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
main { flex: 1; padding: 28px 0 64px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 52px; width: auto; display: block; }

.topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(16, 16, 20, 0.88); border-bottom: 1px solid var(--line); }
.topbar-inner { width: min(1120px, calc(100% - 32px)); margin-inline: auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-actions { display: flex; align-items: center; margin-left: auto; }
.carteira-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.deposito-ok-banner {
  margin: 0;
  padding: 3px 8px;
  width: max-content;
  max-width: 100%;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid rgba(0, 230, 118, 0.45);
  background: rgba(0, 230, 118, 0.12);
  color: #9dffc4;
  box-shadow: none;
  pointer-events: none;
  animation: depositoOkIn 0.28s ease;
}
.deposito-ok-banner[hidden] {
  display: none !important;
}
.deposito-ok-banner.is-visible {
  display: block;
}
.deposito-ok-banner.is-out {
  animation: depositoOkOut 0.3s ease forwards;
}
@keyframes depositoOkIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes depositoOkOut {
  to {
    opacity: 0;
    transform: translateY(-4px);
  }
}
@media (max-width: 640px) {
  .brand-logo { height: 40px; }
  .saldo-valor { font-size: 14px; }
}
.saldo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 6px 6px 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 230, 118, 0.38);
  background:
    linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(0, 230, 118, 0.04) 42%),
    linear-gradient(180deg, #1c1c26, #121218);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.28);
}
.saldo-valor {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.saldo-plus {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--ink);
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.12);
}
.saldo-plus { border: none; cursor: pointer; font: inherit; }
.saldo-plus:hover { filter: brightness(1.08); }
.saldo.is-pop { animation: pop 0.45s ease; }
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr 78px 1fr 1fr;
  align-items: end;
  gap: 0 2px;
  padding: 0 6px calc(6px + env(safe-area-inset-bottom));
  background: transparent;
  border: none;
  overflow: visible;
  pointer-events: none;
}
.dock--raspou {
  min-height: 72px;
  padding-top: 0;
}
.dock-surface {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(72px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  pointer-events: none;
  z-index: 0;
  background: rgba(12, 12, 16, 0.98);
  border-top: 1px solid rgba(0, 230, 118, 0.32);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.55);
}
.dock-center {
  position: absolute;
  left: 50%;
  top: 0;
  width: 70px;
  height: 70px;
  transform: translate(-50%, calc(-50% - 0.5px));
  z-index: 3;
  text-decoration: none;
  pointer-events: auto;
}
.dock-item:nth-child(3) { grid-column: 1; }
.dock-item:nth-child(4) { grid-column: 2; }
.dock-item:nth-child(5) { grid-column: 4; }
.dock-item:nth-child(6) { grid-column: 5; }
.dock-center-halo {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.38) 0%, rgba(0, 230, 118, 0.08) 45%, transparent 72%);
  z-index: 0;
  pointer-events: none;
}
.dock-center-face {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #00e676;
  border: none;
  box-shadow:
    0 0 0 2px rgba(0, 230, 118, 0.85),
    0 10px 28px rgba(0, 230, 118, 0.4),
    0 16px 36px rgba(0, 0, 0, 0.35);
}
.dock-center-box {
  display: grid;
  place-items: center;
  animation: dock-caixa-float 2.6s ease-in-out infinite;
  will-change: transform;
}
.dock-center-face img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
}
.dock-center.is-active .dock-center-face {
  box-shadow:
    0 0 0 2px #b9ffdc,
    0 0 28px rgba(0, 230, 118, 0.65),
    0 12px 32px rgba(0, 0, 0, 0.35);
}
.dock-center:active .dock-center-box {
  animation-play-state: paused;
  transform: scale(0.92);
}
@keyframes dock-caixa-float {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-5px); }
}
.deposit-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
}
body.deposit-open { overflow: hidden; }
.menu-page { padding: 24px 18px 28px; max-width: 520px; margin-inline: auto; }
.menu-page-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-page-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.menu-page-identity:hover .menu-avatar-ring { filter: brightness(1.06); transform: scale(1.02); }
.menu-avatar-ring {
  flex: none;
  width: 96px;
  height: 96px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e676, #69f0ae, #00c853);
  box-shadow: 0 10px 32px rgba(0, 230, 118, 0.2);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.menu-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--purple-2);
  background: linear-gradient(180deg, #252532, #14141c);
  border: 3px solid #101014;
}
.menu-page-title { margin: 4px 0 0; font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.menu-page-email { margin: 0; font-size: 14px; color: var(--muted); word-break: break-word; max-width: 100%; }
.menu-modal-saldo { margin: 14px 0 0 !important; font-size: 13px !important; color: var(--text) !important; }
.menu-modal-saldo strong { color: var(--purple-2); font-size: 15px; }
.menu-modal-nav { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.menu-modal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.15s ease;
}
.menu-modal-row:hover { background: rgba(0, 230, 118, 0.1); }
.menu-modal-row span:not(.menu-modal-icon) { flex: 1; }
.menu-modal-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid transparent;
  box-sizing: border-box;
}
.menu-modal-icon svg { display: block; }
.menu-modal-icon--senha {
  color: #81c784;
  background: linear-gradient(145deg, rgba(0, 230, 118, 0.16), rgba(0, 230, 118, 0.06));
  border-color: rgba(0, 230, 118, 0.22);
}
.menu-modal-icon--afiliados {
  color: #ce93d8;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.06));
  border-color: rgba(168, 85, 247, 0.28);
}
.menu-modal-icon--sair {
  color: #f48fb1;
  background: linear-gradient(145deg, rgba(251, 113, 133, 0.18), rgba(251, 113, 133, 0.06));
  border-color: rgba(251, 113, 133, 0.28);
}
.menu-modal-row-danger { color: #fecdd3; }
.menu-modal-row-danger .menu-modal-icon--sair { color: #fb7185; }
.menu-modal-chevron { flex: none; color: var(--muted); opacity: 0.7; }
.afiliados-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 18px;
}
.afiliados-hero {
  flex: none;
  text-align: center;
  padding: 20px 16px;
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(0, 230, 118, 0.35);
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.14), rgba(0, 230, 118, 0.03));
  box-sizing: border-box;
}
.afiliados-hero-inf { border-color: rgba(168, 85, 247, 0.45); background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(0, 230, 118, 0.05)); }
.afiliados-hero-eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.afiliados-hero-valor { margin: 0; font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--purple-2); }
.afiliados-hero-label { margin: 4px 0 0; font-size: 13px; color: var(--text); }
.afiliados-hero-sub { margin: 10px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.afiliados-stats {
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  margin: 0;
}
.afiliados-stat {
  flex: 1;
  min-width: 0;
  padding: 12px 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  box-sizing: border-box;
}
.afiliados-stat strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--text); }
.afiliados-stat span { display: block; margin-top: 4px; font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.afiliados-share { margin-top: 4px; }
.afiliados-link-row { display: flex; align-items: stretch; gap: 8px; margin-top: 6px; }
.afiliados-link-row input { flex: 1; min-width: 0; margin: 0; }
.afiliados-copy-btn {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 230, 118, 0.35);
  background: rgba(0, 230, 118, 0.08);
  color: var(--purple-2);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.afiliados-copy-btn:hover { background: rgba(0, 230, 118, 0.16); border-color: rgba(0, 230, 118, 0.5); }
.afiliados-copy-btn.is-copied { color: var(--ink); background: var(--purple); border-color: transparent; }
.afiliados-notice { margin: 0; line-height: 1.5; }
.afiliados-comissao-saque { margin-top: 8px; }
.afiliados-comissao-saque summary { cursor: pointer; list-style: none; margin-bottom: 12px; }
.afiliados-comissao-saque summary::-webkit-details-marker { display: none; }
.afiliados-comissao-saque .form {
  padding-top: 4px;
  gap: 14px;
}
.afiliados-comissao-saque .form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.afiliados-comissao-saque .form input:not([type="hidden"]) {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #101014;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  outline: none;
  box-shadow: none;
}
.afiliados-comissao-saque .form input:not([type="hidden"]):focus {
  border-color: #00e676;
}
.af-pix-tipo-field { display: grid; gap: 8px; }
.af-pix-tipo-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.af-pix-tipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.af-pix-tipo-opt {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.af-pix-tipo-opt:hover {
  border-color: rgba(0, 230, 118, 0.35);
  background: rgba(0, 230, 118, 0.06);
}
.af-pix-tipo-opt.is-on {
  border-color: rgba(0, 230, 118, 0.55);
  background: rgba(0, 230, 118, 0.14);
  color: #b9f6ca;
  box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.2);
}
.af-pix-tipo-opt:focus-visible {
  outline: 2px solid #00e676;
  outline-offset: 2px;
}
.afiliados-eventos h2 { margin: 8px 0 10px; font-size: 16px; }
.afiliados-eventos-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.afiliados-eventos-lista li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.afiliados-eventos-lista time { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }
.afiliados-evento-ganho { color: var(--purple-2); font-weight: 800; }
.afiliados-evento-vazio { padding: 14px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.afiliados-live { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.afiliados-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-2); animation: af-live-pulse 1.4s ease infinite; }
@keyframes af-live-pulse { 0%, 100% { opacity: 0.35; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1); } }
@media (max-width: 520px) {
  .afiliados-hero-valor { font-size: 28px; }
}
.saque-status-modal { align-items: center; padding: 16px; }
.saque-status-modal .saque-status-sheet {
  width: min(400px, 100%);
  border-radius: 20px;
  padding: 28px 22px 24px;
  text-align: center;
  border: 1px solid rgba(0, 230, 118, 0.28);
}
.saque-status-title { margin: 16px 0 6px; font-family: var(--display); font-size: 20px; font-weight: 800; }
.saque-status-valor { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--purple-2); }
.saque-status-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.saque-status-progress {
  height: 8px;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.saque-status-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00c853, #00e676);
  transition: width 0.12s linear;
}
.saque-status-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(0, 230, 118, 0.35), rgba(0, 200, 83, 0.12) 68%);
  color: #00e676;
  box-shadow:
    0 0 0 1px rgba(0, 230, 118, 0.35),
    0 12px 32px rgba(0, 230, 118, 0.18);
}
.saque-status-icon.is-ok {
  color: #69f0ae;
  animation: saque-success-pop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.saque-status-icon.is-analise {
  color: #ffb74d;
  background: radial-gradient(circle at 35% 28%, rgba(255, 152, 0, 0.35), rgba(255, 152, 0, 0.1) 68%);
  box-shadow:
    0 0 0 1px rgba(255, 152, 0, 0.35),
    0 12px 32px rgba(255, 152, 0, 0.12);
  animation: saque-success-pop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.saque-status-check-svg { display: block; overflow: visible; }
.saque-status-check-ring {
  opacity: 0.45;
  transform-origin: 26px 26px;
  animation: saque-check-ring-in 0.5s ease-out both;
}
.saque-status-check-mark {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: saque-check-draw 0.45s 0.12s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes saque-success-pop {
  0% { transform: scale(0.72); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes saque-check-ring-in {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 0.45; }
}
@keyframes saque-check-draw {
  to { stroke-dashoffset: 0; }
}
.saque-status-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid rgba(0, 230, 118, 0.2);
  border-top-color: var(--purple-2);
  animation: saque-spin 0.85s linear infinite;
}
@keyframes saque-spin { to { transform: rotate(360deg); } }
.deposit-modal[hidden] { display: none !important; }
.deposit-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(4px); }
.deposit-modal:not(.pix-pay-modal) {
  align-items: flex-end;
  padding: 0;
}
.deposit-modal:not(.pix-pay-modal) .deposit-modal-sheet {
  max-width: 480px;
  max-height: min(88vh, 640px);
  overflow: auto;
  border-radius: 20px 20px 0 0;
  padding: 18px 18px calc(72px + env(safe-area-inset-bottom));
  border: none;
  border-top: 1px solid rgba(0, 230, 118, 0.28);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  animation: deposit-sheet-in 0.28s ease;
}
.deposit-modal-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%), var(--bg-2);
}
.deposit-modal-form {
  padding-bottom: 4px;
}
.deposit-modal-form .btn-primary.btn-block {
  margin-top: 6px;
  margin-bottom: 8px;
}
.deposit-modal-form input:not([type="hidden"]) {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #101014;
  outline: none;
  box-shadow: none;
}
.deposit-modal-form input:not([type="hidden"]):focus,
.deposit-modal-form input:not([type="hidden"]):focus-visible,
.deposit-modal-form select:focus,
.deposit-modal-form select:focus-visible {
  border-color: #00e676;
  outline: none;
  box-shadow: none;
}
.deposit-modal-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #101014;
  color: var(--text);
  font: inherit;
  font-weight: 600;
}
.saque-modal-disponivel {
  text-align: center;
  margin: 0 0 14px;
  padding: 14px 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 230, 118, 0.35);
  background: rgba(0, 230, 118, 0.08);
}
.saque-modal-disponivel.is-muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.saque-modal-disponivel-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.saque-modal-disponivel-valor {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 800;
  color: var(--purple-2);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.saque-modal-disponivel.is-loading .saque-modal-disponivel-valor {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.saque-modal-disponivel.is-muted .saque-modal-disponivel-valor {
  color: var(--muted);
}
.saque-modal-saldo-extra {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
.saque-modal-hint {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
}
.deposit-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.deposit-modal-head-copy { min-width: 0; }
.deposit-modal-head h2 { margin: 0; font-size: 1.25rem; }
.deposit-modal-head h2.pix-checkout-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-2);
}
.deposit-modal-lead {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}
.deposit-modal-close { width: 40px; height: 40px; border: none; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.deposit-modal-cupom { margin: 0 0 12px; }
.deposit-cupom-aplicar-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 12px;
}
.deposit-cupom-aplicar-row input {
  flex: 1;
  min-width: 0;
}
.deposit-cupom-aplicar-row .btn {
  flex-shrink: 0;
  padding-left: 14px;
  padding-right: 14px;
}
.deposit-cupom-bloco { margin-bottom: 4px; }
.deposit-cupom-bloco .deposit-cupom-selecionado {
  margin-top: 8px;
}
.deposit-cupom-selecionado {
  margin: 0;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-2);
  letter-spacing: 0.02em;
}
.deposit-cupom-resumo {
  margin: 6px 0 0;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.deposit-cupom-resumo em {
  font-style: normal;
  color: var(--purple-2);
}
.deposit-cupom-paga {
  margin: 4px 0 0;
  text-align: left;
  font-size: 12px;
  color: var(--muted);
}
.deposit-modal-form input.deposit-cupom-ativo {
  border-color: rgba(0, 230, 118, 0.65);
  background: rgba(0, 230, 118, 0.1);
  color: var(--purple-2);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: default;
}
.deposit-val-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.deposit-val-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 64px;
  padding: 10px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(16, 16, 20, 0.95));
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.deposit-val-card:hover {
  border-color: rgba(0, 230, 118, 0.4);
}
.deposit-val-card.is-on {
  border-color: #00e676;
  background: linear-gradient(165deg, rgba(0, 230, 118, 0.16), rgba(16, 16, 20, 0.98));
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.18);
  transform: translateY(-1px);
}
.deposit-val-card.is-on .deposit-val-card-price {
  color: #b9f6ca;
}
.deposit-val-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.deposit-val-card.is-entry .deposit-val-card-price {
  font-size: 1.12rem;
}
.deposit-val-card-tag-wrap {
  display: inline-block;
  max-width: calc(100% - 8px);
  padding: 6px 10px;
  border-radius: 10px;
  border: none;
  background: rgba(0, 0, 0, 0.25);
}
.deposit-val-card-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
  max-width: 100%;
}
.deposit-val-card.is-tier-10 .deposit-val-card-tag-wrap {
  background: rgba(255, 111, 0, 0.2);
}
.deposit-val-card.is-tier-10 .deposit-val-card-tag {
  color: #ffcc80;
}
.deposit-val-card.is-tier-30 .deposit-val-card-tag-wrap {
  background: rgba(255, 61, 0, 0.2);
}
.deposit-val-card.is-tier-30 .deposit-val-card-tag {
  color: #ffab91;
}
.deposit-val-card.is-tier-max .deposit-val-card-tag-wrap {
  background: rgba(255, 193, 7, 0.18);
}
.deposit-val-card.is-tier-max .deposit-val-card-tag {
  color: #ffe082;
  font-size: 9px;
}
@keyframes deposit-sheet-in { from { transform: translateY(100%); opacity: 0.6; } to { transform: translateY(0); opacity: 1; } }
@keyframes deposit-modal-in {
  from { transform: scale(0.96) translateY(8px); opacity: 0.5; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.pix-pay-modal {
  align-items: center;
  padding: 10px 12px calc(58px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.pix-checkout { display: grid; gap: 10px; min-height: 0; }
.pix-pay-modal .deposit-modal-sheet.pix-checkout {
  max-width: 400px;
  max-height: calc(100dvh - 72px - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 20px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(0, 230, 118, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  animation: deposit-modal-in 0.22s ease;
}
.pix-checkout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pix-checkout-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-2);
  line-height: 1.3;
}
.deposit-modal-head .pix-checkout-eyebrow {
  margin: 0;
}
.pix-checkout-valor-line {
  margin: -2px 0 4px;
  text-align: center;
  line-height: 1;
}
.pix-checkout-valor-line .pix-checkout-valor {
  display: inline;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 800;
  color: var(--purple-2);
  line-height: 1;
}
.pix-checkout-countdown {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: #ffe082;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 193, 7, 0.4);
  background: rgba(255, 193, 7, 0.1);
}
.pix-checkout-countdown.is-done {
  color: var(--muted);
  font-weight: 600;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.pix-checkout-badge-wrap {
  margin: 0;
  text-align: center;
}
.pix-checkout-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffe082;
  background: rgba(255, 193, 7, 0.14);
  border: 1px solid rgba(255, 193, 7, 0.35);
}
.pix-checkout-badge.is-expired {
  color: #ffb4bc;
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.35);
}
.pix-checkout-outro {
  margin-top: 8px;
}
.pix-pay-modal.is-expired .pix-copy-block,
.pix-pay-modal.is-expired .pix-checkout-steps {
  opacity: 0.45;
  pointer-events: none;
}
.pix-checkout-qr-expired {
  margin: 0;
  padding: 48px 16px;
  width: 160px;
  box-sizing: border-box;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.35;
}
.pix-checkout-qr-wrap {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  justify-self: center;
  padding: 0;
  line-height: 0;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0, 230, 118, 0.25);
  overflow: hidden;
}
.pix-checkout-qr {
  display: block;
  width: 160px;
  height: 160px;
  max-width: none;
  margin: 0;
  object-fit: fill;
  vertical-align: top;
}
.pix-checkout-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pix-checkout-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.pix-step-num {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.pix-step-text {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}
.pix-checkout-steps strong,
.pix-step-text strong { color: var(--text); font-weight: 700; }
.pix-copy-block { display: grid; gap: 8px; }
.pix-copy-label {
  font-size: 13px;
  font-weight: 700;
}
.pix-copy-field {
  width: 100%;
  min-height: 72px;
  max-height: 120px;
  resize: none;
  font-size: 11px;
  line-height: 1.4;
  word-break: break-all;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #101014;
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
.pix-copy-ok {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #b9f6ca;
}
.pix-pay-modal .btn-primary.btn-block {
  min-height: 40px;
  padding: 0 12px;
  font-size: 14px;
}
.pix-checkout-status {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.pix-checkout-status.is-ok {
  color: #b9f6ca;
  border-color: rgba(0, 230, 118, 0.35);
  background: rgba(0, 230, 118, 0.1);
}
.pix-checkout-expira { margin: 0; text-align: center; }
@media (min-width: 520px) {
  .deposit-modal:not(.pix-pay-modal) { align-items: center; padding: 24px; }
  .deposit-modal:not(.pix-pay-modal) .deposit-modal-sheet {
    border-radius: 20px;
    border: 1px solid var(--line);
    max-height: 90vh;
    padding-bottom: 28px;
  }
  .pix-pay-modal { padding: 24px 24px calc(64px + env(safe-area-inset-bottom)); }
  .pix-pay-modal .pix-checkout-qr { width: 176px; height: 176px; }
  .pix-pay-modal .pix-checkout-qr-wrap { border-radius: 10px; }
}
.dock-item {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  border-radius: 12px;
  color: #7a7a8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 2px 3px;
  pointer-events: auto;
  transition: color 0.15s ease;
}
.dock--raspou .dock-item { padding-top: 12px; }
.dock-item svg { display: block; width: 28px; height: 28px; opacity: 0.92; }
.dock-item:hover { color: #c8c8d4; }
.dock-item.is-active {
  color: var(--purple-2);
  background: transparent;
}
.dock-item.is-active svg { opacity: 1; filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.35)); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--purple); color: var(--ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: rgba(0, 230, 118, 0.45); color: var(--text); }
.btn-ghost:hover { background: rgba(0, 230, 118, 0.1); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: 0.55; pointer-events: none; }

.flash-wrap { width: min(1120px, calc(100% - 32px)); margin: 16px auto 0; }
.flash { border-radius: 14px; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg-2); }
.flash-ok { border-color: rgba(74, 222, 128, 0.35); color: #bbf7d0; }
.flash-erro { border-color: rgba(251, 113, 133, 0.4); color: #fecdd3; }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(23, 23, 31, 0.65); }
.ticker-empty { margin: 0; padding: 10px 16px; text-align: center; color: var(--muted); font-size: 13px; }
.ticker-track { display: flex; gap: 28px; width: max-content; padding: 10px 0; animation: marquee 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { color: var(--muted); font-size: 13px; white-space: nowrap; }
.tick b { color: var(--text); font-weight: 700; }
.tick.rar-rara b, .tick.rar-epica b { color: var(--purple-2); }
.tick.rar-lendaria b { color: #b9f6ca; }

body.is-maint { padding-bottom: 0; }
.maint-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}
.maint-card {
  width: min(480px, 100%);
  text-align: center;
  padding: 32px 24px;
}
.maint-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 16px;
}
.maint-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--purple);
}
.maint-card h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.03em;
}
.maint-msg {
  margin: 0 0 16px;
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
}

.home { display: grid; gap: 18px; }
.how { padding: 22px 20px 24px; }
.how-title {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.how-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(0, 230, 118, 0.06), transparent 55%), var(--bg-2);
}
.how-num {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.14);
}
.how-step-body { min-width: 0; }
.how-step-body h3 {
  margin: 2px 0 6px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.how-step-body p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.how-link {
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
}
.how-link:hover { text-decoration: underline; }
.banner { position: relative; overflow: hidden; padding: 0; border-radius: 28px; border: 1px solid rgba(0, 230, 118, 0.4); background: #070708; line-height: 0; }
.banner a { display: block; }
.banner img { width: 100%; height: auto; display: block; }
.reel { overflow: hidden; margin-inline: -8px; }
.reel-track { display: flex; gap: 12px; width: max-content; padding: 2px 0; animation: marquee 36s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-card {
  width: 280px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 230, 118, 0.28);
  background: #17171f;
  color: var(--muted);
}
.reel-card img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.reel-card-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.reel-card p { margin: 0; line-height: 1.25; font-size: 13px; }
.reel-line1 { color: var(--muted); }
.reel-line1 b { color: var(--text); font-weight: 800; }
.reel-line2 { color: var(--muted); }
.reel-line2 strong { color: var(--purple); font-weight: 800; }
.box-stack { display: grid; gap: 14px; }
.box-row { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; }
.box-row .crate { margin: 0; }
.box-photo { width: 220px; height: 146px; object-fit: contain; }
.box-photo-lg { width: min(420px, 100%); height: auto; margin: 8px auto; }
.box-row-copy h2 { font-size: 28px; color: var(--text); }
.eyebrow.box-comum { color: #00E676; }
.eyebrow.box-especial { color: #4DA3FF; }
.eyebrow.box-rara { color: #F5C542; }
.box-row-copy p:last-child { margin: 4px 0 0; color: var(--muted); }
.box-row-actions { display: flex; align-items: center; gap: 12px; }
.box-price {
  margin: 0;
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #101014;
  border: 1px solid rgba(0, 230, 118, 0.45);
}
.box-price span, .box-price strong { font-family: "DM Sans", var(--font); line-height: 1; }
.box-price span { font-size: 13px; font-weight: 600; color: #00E676; }
.box-price strong { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #fff; }
.box-row-actions .btn { min-height: 48px; min-width: 148px; }
.open-card { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 28px 22px 22px; }
.open-card h2 { font-size: clamp(28px, 4vw, 40px); }
.open-card .lede { margin: 0; }
.open-actions { width: min(460px, 100%); margin-top: 12px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; text-align: left; }
.open-actions--solo { grid-template-columns: 1fr; text-align: center; }
.open-actions[hidden] { display: none !important; }
.open-actions-form { margin: 0; width: 100%; min-width: 0; }
.open-actions .btn { min-height: 54px; font-size: 16px; }
.btn-abrir-caixa { font-size: 17px; letter-spacing: -0.02em; }
.wins h2 { font-size: 26px; margin-bottom: 4px; }
.win { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.win b { display: block; }
.win small { color: var(--muted); }
.win-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 230, 118, 0.16); color: var(--purple-2); font-weight: 800; }
.hero { display: grid; grid-template-columns: 1.45fr 0.8fr; gap: 16px; }
.feature, .wallet, .panel, .box-card, .auth-card, .setup-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 40%), var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature { position: relative; overflow: hidden; min-height: 340px; padding: 32px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 12px; align-items: center; border-color: rgba(0, 230, 118, 0.38); }
.feature::after { content: ""; position: absolute; width: 280px; height: 280px; right: -40px; top: -80px; background: radial-gradient(circle, rgba(0, 230, 118, .35), transparent 68%); pointer-events: none; }
.eyebrow { margin: 0 0 8px; color: var(--purple-2); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; margin: 0; }
.feature h1 { font-size: clamp(34px, 4vw, 52px); line-height: 0.95; max-width: 9ch; }
.lede { color: var(--muted); line-height: 1.5; max-width: 36ch; }
.feature-meta { display: flex; gap: 18px; align-items: flex-end; margin: 22px 0; }
.price-lg { font-family: var(--display); font-size: 32px; }
.price-lg small, .muted { display: block; color: var(--muted); font-family: var(--font); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; }
.feature .crate { justify-self: end; }

.wallet { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.wallet h2 { font-size: 28px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { padding: 12px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.stat span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.stat strong { font-family: var(--display); font-size: 18px; }
.guest-note { color: var(--muted); line-height: 1.5; margin: 0; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin: 34px 0 14px; }
.section-head p { margin: 0; color: var(--muted); }
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.box-card { padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 280px; transition: transform .2s ease, border-color .2s ease; }
.box-card:hover { transform: translateY(-4px); border-color: rgba(0, 230, 118, 0.55); }
.box-card h3 { font-size: 22px; }
.box-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; flex: 1; }
.box-card-top, .box-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.box-max { color: var(--purple-2); font-size: 12px; font-weight: 700; }
.box-card-foot strong { font-family: var(--display); font-size: 20px; }
.box-card-foot span { color: var(--ink); background: var(--purple); border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 700; }
.pill { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--purple); border-radius: 999px; padding: 4px 8px; font-weight: 800; }
.pill-quiet { background: transparent; color: var(--muted); border: 1px solid var(--line); }

.crate { position: relative; width: 148px; height: 132px; transform-style: preserve-3d; }
.crate-sm { width: 96px; height: 86px; margin: 8px auto; }
.crate-lg { width: 210px; height: 180px; }
.crate-glow { position: absolute; inset: auto 18px 0; height: 18px; border-radius: 50%; background: rgba(0, 230, 118, 0.35); filter: blur(10px); }
.crate-lid, .crate-body { position: absolute; left: 12px; right: 12px; }
.crate-lid {
  top: 18px; height: 38px; z-index: 2; border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 75%, white), var(--tone));
  transform-origin: center top; transition: transform .35s ease;
  box-shadow: inset 0 -8px 0 rgba(16, 16, 20, 0.18);
}
.crate-body {
  bottom: 16px; height: 62px; border-radius: 8px 8px 16px 16px;
  background: linear-gradient(180deg, #2a2a36, #121218);
  border: 1px solid color-mix(in srgb, var(--tone) 70%, transparent);
  box-shadow: 0 16px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.04);
}
.crate-body i { position: absolute; left: 50%; top: 0; bottom: 0; width: 16px; transform: translateX(-50%); background: var(--tone); }
.crate-body i::after { content: ""; position: absolute; left: 50%; top: 16px; width: 10px; height: 10px; border-radius: 50%; transform: translateX(-50%); background: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 70%, white); }
.crate-sm .crate-lid { height: 26px; top: 12px; }
.crate-sm .crate-body { height: 42px; }
.crate-lg .crate-lid { height: 52px; top: 26px; left: 18px; right: 18px; }
.crate-lg .crate-body { height: 86px; left: 16px; right: 16px; bottom: 22px; }
.box-card:hover .crate-lid, .feature:hover .crate-lid { transform: translateY(-8px) rotateX(48deg); }
.stage.is-opening .crate-lid { animation: lid-up .9s ease forwards; }
.stage.is-opening .crate-glow { animation: glow-pulse .9s ease; }

.lower { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; margin-top: 16px; }
.panel { padding: 18px 18px 8px; }
.panel h2 { font-size: 22px; margin-bottom: 12px; }
.feed-item, .hist-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.feed-item b, .hist-row b { font-weight: 700; }
.feed-item span, .hist-row span:not(.hist-saque-badge), .when { color: var(--muted); font-size: 13px; }
.hist-saque-aprovado .hist-saque-valor {
  color: #00e676;
  font-family: var(--display);
  font-size: 17px;
}
.hist-saque-badge {
  justify-self: end;
  align-self: center;
  padding: 3px 7px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  white-space: nowrap;
}
.hist-saque-badge-aprovado {
  border: 1px solid #00c853;
  background: #00e676;
}
.hist-saque-badge-pendente {
  border: 1px solid #e65100;
  background: #ff9800;
}
.hist-saque-aprovado .when,
.hist-saque-pendente .when {
  grid-column: 1 / -1;
}
.hist-saque-status {
  justify-self: end;
  align-self: center;
  text-align: right;
}
.hist-back-sacar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 6px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(0, 230, 118, 0.22);
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.08), rgba(0, 230, 118, 0.03));
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.hist-back-sacar:hover {
  border-color: rgba(0, 230, 118, 0.45);
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.14), rgba(0, 230, 118, 0.06));
  transform: translateY(-1px);
}
.hist-back-sacar:active {
  transform: translateY(0);
}
.hist-back-sacar-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.14);
  border: 1px solid rgba(0, 230, 118, 0.35);
  color: #00e676;
  box-shadow: 0 4px 14px rgba(0, 230, 118, 0.12);
}
.hist-back-sacar-text {
  letter-spacing: 0.01em;
}
.rar-lendaria { color: #b9f6ca; }
.rar-epica, .rar-rara { color: var(--purple-2); }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.step i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: var(--ink); font-style: normal; font-weight: 800; }
.step p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); padding-bottom: 12px; }

.detail { display: block; }
.stage, .odds { padding: 28px 22px; }
.stage {
  width: min(560px, 100%);
  margin-inline: auto;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  --box-fx-rgb: 0, 230, 118;
  --box-fx-hex: #00e676;
}
.stage-box-especial {
  --box-fx-rgb: 66, 165, 245;
  --box-fx-hex: #42a5f5;
}
.stage-box-rara {
  --box-fx-rgb: 255, 193, 7;
  --box-fx-hex: #ffc107;
}
.box-scene {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
}
.box-closed { display: grid; place-items: center; z-index: 2; }
.box-closed[hidden] { display: none; }
.box-gift-img {
  width: min(280px, 76vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
  transform-origin: center center;
}
.box-flash {
  pointer-events: none;
  position: absolute;
  inset: 12% 18%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--box-fx-rgb), 0.55) 0%, rgba(var(--box-fx-rgb), 0) 68%);
  opacity: 0;
}
.box-flash[hidden] { display: none; }
.stage.is-opening .box-flash { display: block; animation: box-flash-pop 0.92s ease forwards; }
.box-burst {
  pointer-events: none;
  position: absolute;
  width: min(280px, 76vw);
  aspect-ratio: 1;
  z-index: 3;
}
.box-burst[hidden] { display: none; }
.stage.is-opening .box-burst { display: block; }
.box-burst span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgb(var(--box-fx-rgb));
  box-shadow: 0 0 10px rgba(var(--box-fx-rgb), 0.85);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
}
.stage.is-opening .box-burst span {
  animation: box-particle 0.88s ease-out forwards;
  animation-delay: calc(0.08s + (var(--p) * 0.018s));
}
.stage.is-opening .box-gift-img { animation: box-gift-open 0.92s ease forwards; }
.stage.is-open .box-gift-img.is-revealed {
  animation: box-gift-reveal 0.55s ease forwards;
  opacity: 1;
  transform: none;
}
.stage.is-open .box-gift-img.is-revealed:not([src=""]) {
  width: min(320px, 88vw);
}
.prize-reveal {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(320px, 88vw);
  margin-inline: auto;
  padding: 8px 4px 4px;
  text-align: center;
  z-index: 4;
}
.prize-reveal[hidden] { display: none; }
.prize-reveal.is-on { animation: pop 0.5s ease; }
.prize-reveal-name {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}
.prize-reveal-media {
  width: min(200px, 56vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.prize-reveal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}
.prize-reveal-img[hidden] { display: none; }
.prize-reveal-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 72px;
  border-radius: 20px;
  background: rgba(var(--box-fx-rgb), 0.1);
  border: 1px solid rgba(var(--box-fx-rgb), 0.35);
}
.prize-reveal-fallback[hidden] { display: none; }
.prize-reveal-valor {
  margin: 0;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--box-fx-hex, #00e676);
}
.prize-reveal.rar-lendaria .prize-reveal-valor { color: #b9f6ca; }
.prize-reveal.rar-epica .prize-reveal-valor,
.prize-reveal.rar-rara .prize-reveal-valor { color: var(--purple-2); }
.won { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--box-fx-hex, #00e676); }
.won-empty { width: 100%; }
.won[hidden] { display: none; }
.won.is-on { animation: pop 0.45s ease; }
.stage h1 { font-size: 40px; }
.reveal { display: none; width: 100%; margin-top: 8px; padding: 16px; border-radius: 18px; border: 1px solid rgba(0, 230, 118, 0.4); background: rgba(0, 230, 118, 0.08); }
.reveal.is-on { display: block; animation: pop .45s ease; }
.reveal strong { display: block; font-family: var(--display); font-size: 36px; }
.reveal.rar-lendaria { border-color: #b9f6ca; box-shadow: 0 0 40px rgba(0, 230, 118, 0.25); }
.odds h2 { font-size: 26px; margin-bottom: 6px; }
.odd { margin: 12px 0; }
.odd-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; margin-bottom: 6px; }
.odd-bar { height: 6px; border-radius: 99px; background: #101014; overflow: hidden; }
.odd-bar span { display: block; height: 100%; background: linear-gradient(90deg, #00c853, var(--purple)); border-radius: inherit; }
.note { color: var(--muted); font-size: 13px; line-height: 1.5; }
.warn { color: var(--danger); }

.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input {
  width: 100%; background: #101014; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 14px; outline: none;
}
input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.16); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #101014; border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.chip.is-on, .chip:hover { border-color: var(--purple); color: var(--purple-2); }
.help { color: var(--muted); font-size: 13px; line-height: 1.5; }
.switch { color: var(--muted); font-size: 14px; }
.switch a { color: var(--purple-2); font-weight: 700; }
.demo-box { border: 1px dashed rgba(0, 230, 118, 0.45); border-radius: 16px; padding: 12px 14px; color: var(--muted); font-size: 13px; }
.demo-box b { color: var(--text); }

.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 8px 0; }
.table td { padding: 12px 0; border-top: 1px solid var(--line); }
.stack { display: grid; gap: 14px; }
.saque-acoes-panel { display: flex; flex-direction: column; gap: 10px; }
.deposit-modal-form .saque-modal-hist-link { margin-top: 0; }
.page-title { margin-bottom: 16px; }
.page-title h1 { font-size: clamp(32px, 4vw, 46px); }
.page-title p { color: var(--muted); margin: 8px 0 0; }

body.is-auth { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 100vh; }
body.is-auth-compact {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
}
body.is-auth-compact .auth-panel--solo {
  width: min(440px, 100%);
  padding: 0;
  place-items: stretch;
}
body.is-auth-compact .auth-card--solo {
  width: 100%;
  box-shadow: var(--shadow);
}
body.is-auth-compact .auth-card--solo .brand {
  justify-self: center;
  margin-bottom: 4px;
}
body.is-auth-compact .auth-card--solo .brand-logo {
  height: 44px;
}
.auth-head--solo {
  text-align: center;
  gap: 4px;
}
.auth-head--solo h2 {
  font-size: clamp(26px, 5vw, 32px);
}
.auth-head--left {
  text-align: left;
}
.auth-head--left .eyebrow {
  margin-bottom: 6px;
}
.auth-head--left h2 {
  font-size: clamp(28px, 5vw, 34px);
  margin: 0 0 6px;
}
.auth-brand { padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 36px; border-right: 1px solid var(--line); }
.auth-brand h1 { font-size: clamp(40px, 5vw, 64px); line-height: 0.92; max-width: 10ch; }
.auth-panel { display: grid; place-items: center; padding: 28px 20px; }
.auth-card { width: min(440px, 100%); padding: 28px 24px 24px; display: grid; gap: 18px; }
.auth-head { display: grid; gap: 6px; }
.auth-head h2 { font-size: clamp(28px, 5vw, 34px); margin: 0; line-height: 1.05; }
.auth-lead { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.auth-form { gap: 14px; }
.auth-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.auth-field input {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.auth-field input:focus {
  border-color: rgba(0, 230, 118, 0.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.12);
}
.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.auth-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--purple);
  cursor: pointer;
}
.auth-check a {
  color: var(--purple-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-check a:hover { filter: brightness(1.1); }
.legal-page {
  padding: 24px 0 calc(32px + env(safe-area-inset-bottom));
}
.legal-wrap { max-width: 760px; }
.legal-doc { padding: 24px 22px 28px; }
.legal-doc-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.legal-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.legal-back:hover { color: var(--purple-2); }
.legal-doc h1 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.15;
}
.legal-updated { margin: 0; color: var(--muted); font-size: 13px; }
.legal-section { margin-top: 22px; }
.legal-section h2 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--purple-2);
}
.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.legal-section p { margin: 0 0 10px; }
.legal-section ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
}
.legal-section li { margin-bottom: 6px; }
.legal-section a { color: var(--purple-2); font-weight: 700; }
.legal-section strong { color: var(--text); }
.legal-tagline { margin-top: 16px !important; color: var(--text) !important; }
.auth-switch { margin: 0; text-align: center; }
.auth-demo { margin: 0; }
.setup { display: grid; place-items: center; padding: 40px 16px; }
.setup-card { width: min(480px, 100%); padding: 28px; display: grid; gap: 14px; }
.foot { border-top: 1px solid var(--line); padding: 18px 0 28px; color: var(--muted); font-size: 13px; }
.foot-inner { display: flex; justify-content: space-between; gap: 12px; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lid-up { to { transform: translateY(-18px) rotateX(-105deg); } }
@keyframes glow-pulse { 50% { opacity: 1; transform: scale(1.4); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes box-gift-open {
  0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45)); }
  12% { transform: scale(1.04) rotate(-2deg); }
  24% { transform: scale(1.06) rotate(2deg); }
  36% { transform: scale(1.08) rotate(-1deg); }
  48% { transform: scale(1.12); filter: drop-shadow(0 22px 40px rgba(var(--box-fx-rgb), 0.35)); }
  72% { transform: scale(1.28); opacity: 0.75; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes box-flash-pop {
  0% { opacity: 0; transform: scale(0.6); }
  35% { opacity: 0.85; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.35); }
}
@keyframes box-particle {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  12% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.35);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage.is-opening .box-gift-img { animation: box-gift-open-reduced 0.22s ease forwards; }
  .stage.is-opening .box-burst span,
  .stage.is-opening .box-flash { animation-duration: 0.22s; }
}
@keyframes box-gift-open-reduced {
  to { opacity: 0; transform: scale(1.02); }
}
@keyframes box-gift-reveal {
  from { opacity: 0; transform: scale(0.88); filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45)); }
  to { opacity: 1; transform: scale(1); filter: drop-shadow(0 22px 40px rgba(var(--box-fx-rgb), 0.28)); }
}

@media (max-width: 980px) {
  .hero, .feature, .lower, .detail, body.is-auth { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr 1fr; }
  .auth-brand { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .feature .crate { justify-self: start; }
}
@media (max-width: 720px) {
  .catalog { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .banner { padding: 0; }
  .box-photo { width: 108px; height: 78px; }
  .box-row { grid-template-columns: auto 1fr; }
  .box-row-actions { grid-column: 1 / -1; justify-content: space-between; }
  .open-actions { grid-template-columns: 1fr; text-align: center; }
  .open-actions .price-lg small { text-align: center; }
  .foot-inner { flex-direction: column; }
}
.modal-premiada {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-premiada[hidden] { display: none !important; }
body.modal-premiada-open { overflow: hidden; }
.modal-premiada-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}
.modal-premiada-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 28px 22px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 120, 40, 0.45);
  background: linear-gradient(165deg, #1a1410 0%, #101014 55%);
  box-shadow: 0 24px 80px rgba(255, 90, 0, 0.18);
  text-align: center;
}
.modal-premiada-fire {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
  animation: premiada-fire 1.2s ease-in-out infinite alternate;
}
@keyframes premiada-fire {
  from { transform: scale(1); filter: brightness(1); }
  to { transform: scale(1.08); filter: brightness(1.15); }
}
.modal-premiada-dialog h2 {
  margin: 0 0 10px;
  font-size: 26px;
  color: #ffb74d;
}
.modal-premiada-lead { margin: 0 0 12px; color: #e8e8ef; line-height: 1.45; }
.modal-premiada-cupom { margin: 0 0 18px; text-align: left; }
.modal-premiada-actions { display: grid; gap: 10px; }
.btn-reject {
  background: #e53935;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
}
.btn-reject:hover { filter: brightness(1.08); }
.btn-reject:disabled { opacity: 0.65; cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
