:root {
  --bg-deep: #0b1226;
  --bg-panel: #121b36;
  --bg-panel-2: #182448;
  --border: rgba(255, 255, 255, 0.12);
  --text: #f2f5fb;
  --text-muted: rgba(242, 245, 251, 0.62);
  --accent: #3ec3f7;
  --accent-2: #3dff8a;
  --gold: #ffd23f;
  --danger: #f4416b;
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;
  background: radial-gradient(circle at 20% -10%, #1c3d75 0%, #0b1226 55%), var(--bg-deep);
  background-attachment: fixed;
  color: var(--text);
}

a { color: var(--accent); }

.bp-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 18px;
}

/* ---------- Navbar ---------- */
.bp-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(8, 14, 30, 0.85);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.bp-navbar .brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bp-navbar .links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.bp-navbar .links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}
.bp-navbar .links a.active { color: var(--accent-2); }

.bp-saldo-chip {
  background: rgba(61, 255, 138, 0.12);
  border: 1px solid rgba(61, 255, 138, 0.4);
  color: var(--accent-2);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- Hero (landing) ---------- */
.bp-hero {
  text-align: center;
  padding: 48px 20px 28px;
}
.bp-hero h1 {
  font-size: 32px;
  margin: 8px 0;
  line-height: 1.15;
}
.bp-hero h1 span { color: var(--accent-2); }
.bp-hero p.lead {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 380px;
  margin: 0 auto 22px;
}

.bp-stats-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.bp-stat {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 110px;
  text-align: center;
}
.bp-stat .num { font-size: 18px; font-weight: 800; color: var(--accent-2); }
.bp-stat .label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Buttons ---------- */
.bp-btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
}
.bp-btn-primary {
  background: linear-gradient(160deg, #3dff8a, #0e9a5a);
  color: #06331d;
  box-shadow: 0 5px 0 #0a6b3d, 0 8px 16px rgba(0,0,0,.35);
}
.bp-btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #0a6b3d; }
.bp-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.bp-btn-block { display: block; width: 100%; }

/* ---------- Cards / forms ---------- */
.bp-card {
  background: linear-gradient(160deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}
.bp-card h2 { margin: 0 0 6px; font-size: 20px; }
.bp-card p.sub { margin: 0 0 18px; font-size: 13px; color: var(--text-muted); }

.bp-field { margin-bottom: 14px; }
.bp-field label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--text-muted); }
.bp-field input, .bp-field select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 11px 12px;
  font-size: 14px;
}
.bp-field input:focus, .bp-field select:focus { outline: none; border-color: var(--accent); }

.bp-alert { padding: 11px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }
.bp-alert-error { background: rgba(244, 65, 107, 0.15); border: 1px solid rgba(244, 65, 107, 0.4); color: #ffb3c4; }
.bp-alert-success { background: rgba(61, 255, 138, 0.12); border: 1px solid rgba(61, 255, 138, 0.4); color: var(--accent-2); }

.bp-muted { color: var(--text-muted); }
.bp-center { text-align: center; }
.bp-link-under { display: block; margin-top: 14px; text-align: center; font-size: 13px; }

.bp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bp-table th { text-align: left; padding: 8px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.bp-table td { padding: 8px; border-bottom: 1px solid var(--border); }

.bp-badge { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.bp-badge-ok { background: rgba(61,255,138,.15); color: var(--accent-2); }
.bp-badge-wait { background: rgba(255,210,63,.15); color: var(--gold); }
.bp-badge-bad { background: rgba(244,65,107,.15); color: #ffb3c4; }

.bp-testimonials { display: grid; gap: 12px; margin: 20px 0; }
.bp-testimonial { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; font-size: 13px; }
.bp-testimonial .who { color: var(--accent-2); font-weight: 700; font-size: 12px; margin-top: 6px; }

.bp-rollover-card {
  background: rgba(255, 210, 63, 0.08);
  border: 1px solid rgba(255, 210, 63, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.bp-rollover-title { font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.bp-rollover-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.bp-rw-bar-bg {
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.3);
  overflow: hidden;
}
.bp-rw-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd23f, #ff9d42);
  border-radius: 999px;
}
.bp-rw-nums {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* =========================================================
 *  LANDING PAGE (index.php)
 * ========================================================= */
.lp-body {
  background: radial-gradient(circle at 50% -10%, #14213f 0%, #070b16 45%, #05070f 100%);
  background-attachment: fixed;
}

.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.lp-logo {
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: .01em;
}
.lp-logo-a { color: #4f9cff; }
.lp-logo-b { color: #b98cff; }

.lp-nav-actions { display: flex; gap: 8px; }
.lp-btn {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.lp-btn-outline {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
}
.lp-btn-gradient {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  box-shadow: 0 4px 14px rgba(124, 58, 237, .45);
}

.lp-online-wrap { text-align: center; margin: 4px 0 18px; }
.lp-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 212, 191, .08);
  border: 1px solid rgba(45, 212, 191, .35);
  color: #5eead4;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
}
.lp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 8px #2dd4bf;
  animation: lpPulse 1.6s ease-in-out infinite;
}
@keyframes lpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.lp-hero { max-width: 480px; margin: 0 auto; padding: 0 20px 30px; text-align: center; }

.lp-headline {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 22px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.lp-gold {
  background: linear-gradient(160deg, #fff2b8, #ffd23f 55%, #dd9f00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-banner {
  position: relative;
  background: linear-gradient(160deg, #101c3d, #060a16);
  border: 1px solid rgba(79, 156, 255, .35);
  border-radius: 20px;
  padding: 26px 18px;
  margin-bottom: 22px;
  box-shadow: 0 0 40px rgba(59, 130, 246, .25), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.lp-banner-text {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(79,156,255,.6);
  position: relative;
  z-index: 2;
}
.lp-banner-blocks {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, 26px);
  grid-template-rows: repeat(3, 26px);
  gap: 4px;
  transform: rotate(-6deg);
  z-index: 1;
  opacity: 0.95;
}
.lp-mb { border-radius: 6px; box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -2px 4px rgba(0,0,0,.35); }
.lp-mb-empty { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.lp-mb-purple { background: linear-gradient(160deg, #d8c2ff, #9b6bff 55%, #6d28d9); }
.lp-mb-green  { background: linear-gradient(160deg, #b6ffdb, #34e08a 55%, #0e9a5a); }
.lp-mb-yellow { background: linear-gradient(160deg, #fff2b8, #ffd23f 55%, #dd9f00); }
.lp-mb-blue   { background: linear-gradient(160deg, #bdeeff, #3ec3f7 55%, #0d84c7); }
.lp-mb-red    { background: linear-gradient(160deg, #ffb3c4, #f4416b 55%, #c31c46); }

.lp-coin {
  position: absolute;
  font-size: 22px;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.5));
  animation: lpFloat 3.2s ease-in-out infinite;
  z-index: 3;
}
.lp-coin-1 { top: 10px; left: 12px; animation-delay: 0s; }
.lp-coin-2 { top: 50%; left: 6px; animation-delay: .8s; }
.lp-coin-3 { bottom: 40px; right: 90px; animation-delay: 1.6s; }
@keyframes lpFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

.lp-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 17px;
  border-radius: 999px;
  background: linear-gradient(160deg, #4dffa0, #10b76a);
  color: #06331d;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 8px 0 #0a6b3d, 0 14px 26px rgba(16, 183, 106, .35);
  margin-bottom: 14px;
}
.lp-cta-btn:active { transform: translateY(4px); box-shadow: 0 4px 0 #0a6b3d; }
.lp-cta-block { margin-top: 4px; }

.lp-link-secondary {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 26px;
}

.lp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lp-stat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 8px;
}
.lp-stat-card .num { font-size: 16px; font-weight: 800; color: var(--accent-2); }
.lp-stat-card .label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; line-height: 1.3; }

.lp-section {
  max-width: 480px;
  margin: 0 auto;
  padding: 36px 0 10px;
  text-align: center;
}
.lp-section-icon {
  width: 42px;
  height: 42px;
  line-height: 40px;
  margin: 0 auto 12px;
  border: 1px solid rgba(45, 212, 191, .4);
  border-radius: 12px;
  font-size: 18px;
  color: #5eead4;
}
.lp-section-title { font-size: 22px; font-weight: 900; color: #fff; margin: 0 0 6px; }
.lp-section-sub { color: var(--text-muted); font-size: 13px; margin: 0 0 22px; }

.lp-steps-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 20px 14px;
  margin: 0 -20px;
  -webkit-overflow-scrolling: touch;
}
.lp-steps-scroll::-webkit-scrollbar { height: 6px; }
.lp-steps-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 3px; }

.lp-step-card {
  flex: 0 0 78%;
  max-width: 300px;
  scroll-snap-align: start;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  padding-bottom: 14px;
}
.lp-step-card h3 { font-size: 15px; margin: 12px 14px 6px; color: #fff; }
.lp-step-card p { font-size: 12.5px; color: var(--text-muted); margin: 0 14px; line-height: 1.5; }

.lp-step-thumb {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.lp-thumb-1 { background: linear-gradient(160deg, #3a2a0a, #1a1408); }
.lp-thumb-2 { background: linear-gradient(160deg, #101c3d, #060a16); }
.lp-thumb-3 { background: linear-gradient(160deg, #12203f, #070c18); }
.lp-thumb-4 { background: linear-gradient(160deg, #0a2a1e, #06140e); }

.lp-thumb-text {
  font-weight: 900;
  font-size: 15px;
  line-height: 1.25;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 12px rgba(0,0,0,.5);
}

.lp-step-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(160deg, #4dffa0, #10b76a);
  color: #06331d;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,.4);
  z-index: 2;
}

.lp-thumb-pix-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(61,255,138,.4);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
}
.lp-thumb-pix-tag span { color: var(--text-muted); font-weight: 600; }

.lp-mini-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  width: 100px;
}
.lp-mini-cell {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 3px;
  background: rgba(255,255,255,.06);
  display: block;
}
.lp-mini-fill.c1 { background: linear-gradient(160deg, #d8c2ff, #9b6bff); }
.lp-mini-fill.c2 { background: linear-gradient(160deg, #b6ffdb, #34e08a); }
.lp-mini-fill.c3 { background: linear-gradient(160deg, #ffb3c4, #f4416b); }
.lp-mini-fill.c4 { background: linear-gradient(160deg, #bdeeff, #3ec3f7); }
.lp-mini-fill.c5 { background: linear-gradient(160deg, #fff2b8, #ffd23f); }
.lp-mini-fill.c6 { background: linear-gradient(160deg, #ffdcb0, #ff9d42); }

.lp-testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 6px;
}
.lp-testimonial-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  text-align: left;
}
.lp-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; font-size: 14px; }
.lp-testimonial-card p { font-size: 13px; color: var(--text); font-style: italic; margin: 0 0 14px; line-height: 1.5; }
.lp-testimonial-who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.lp-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.lp-verified { color: var(--accent-2); font-size: 11px; }

.lp-final-cta {
  max-width: 480px;
  margin: 20px auto 0;
  padding: 30px 20px;
  text-align: center;
}
.lp-final-cta h2 { font-size: 21px; font-weight: 900; color: #fff; margin: 0 0 8px; }
.lp-final-cta p { font-size: 13px; color: var(--text-muted); margin: 0 0 20px; }

.bp-footer-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  padding: 24px 16px 40px;
}

/* =========================================================
 *  TELA DE APOSTA (jogo/index.php)
 * ========================================================= */
.online-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(20, 6, 10, .75);
  border: 1px solid rgba(244, 65, 107, .5);
  color: #ff8fa3;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 3;
}

.entrada-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.entrada-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.entrada-pill {
  padding: 13px 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.entrada-pill.active {
  background: rgba(62, 195, 247, .18);
  border-color: var(--accent);
  color: #cdeeff;
}

.recompensa-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(62, 195, 247, .08);
  border: 1px solid rgba(62, 195, 247, .35);
}
.recompensa-box .label { font-size: 12px; color: var(--text-muted); }
.recompensa-box .valor { font-size: 20px; font-weight: 900; color: var(--gold); }

.rodada-info-bar {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 6px 10px;
}
.rodada-info-bar strong { color: var(--text); }

.ticker-toast {
  position: fixed;
  left: 12px;
  bottom: 90px;
  z-index: 45;
  background: rgba(8, 13, 28, .92);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  max-width: 260px;
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
}
.ticker-toast.show { display: flex; animation: tickerIn .4s ease; }
.ticker-toast .ticker-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ec3f7, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.ticker-toast strong { display: block; color: var(--text); }
.ticker-toast .valor { color: var(--accent-2); font-weight: 700; }
@keyframes tickerIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
 *  DEPÓSITO / SAQUE
 * ========================================================= */
.promo-banner-gold {
  background: linear-gradient(160deg, #3a2a0a, #1a1408) !important;
  border-color: rgba(255, 210, 63, .4) !important;
  box-shadow: 0 0 40px rgba(255, 210, 63, .2), inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.promo-banner-green {
  background: linear-gradient(160deg, #0a2a1e, #06140e) !important;
  border-color: rgba(61, 255, 138, .4) !important;
  box-shadow: 0 0 40px rgba(61, 255, 138, .2), inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.pix-success-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(61,255,138,.4);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  text-align: center;
  z-index: 2;
}

.trust-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 18px;
}
.trust-row div {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
}
.trust-row span { display: block; font-size: 18px; margin-bottom: 4px; }

.entrada-pill.quick-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
}
.quick-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}
.quick-badge.ok { background: rgba(61,255,138,.18); color: var(--accent-2); }
.quick-badge.bonus { background: rgba(139,92,246,.25); color: #cbb6ff; }

.cupom-toggle {
  display: inline-block;
  color: #ff6b9d;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}

.pix-key-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin: -8px 0 14px;
}

.info-banner {
  background: rgba(255, 159, 10, .1);
  border: 1px solid rgba(255, 159, 10, .35);
  color: #ffcc80;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.saldo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.saldo-row .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(61,255,138,.15);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.saldo-row .label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
.saldo-row .valor { font-size: 16px; font-weight: 800; color: var(--text); }

.pix-countdown {
  text-align: center;
  border: 1px solid rgba(244, 65, 107, .4);
  color: #ff8fa3;
  border-radius: 12px;
  padding: 10px;
  max-width: 160px;
  margin: 16px auto;
}
.pix-countdown .label { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.pix-countdown .time { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }

.pix-qr-wrap { text-align: center; margin-bottom: 16px; }
.pix-qr-wrap img { max-width: 220px; width: 100%; border-radius: 12px; background: #fff; padding: 10px; }

.pix-code-box {
  background: rgba(62, 195, 247, .08);
  border: 1px solid rgba(62, 195, 247, .3);
  color: var(--accent);
  font-size: 11px;
  word-break: break-all;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.pix-txid { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 8px; }

.perfil-avatar-grande {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

/* =========================================================
 *  APP SHELL (navbar + bottom nav, páginas pós-login)
 * ========================================================= */
body.app-body {
  background: radial-gradient(circle at 50% -10%, #14213f 0%, #070b16 45%, #05070f 100%);
  background-attachment: fixed;
  padding-bottom: 78px; /* espaço pra bottom nav fixa não cobrir conteúdo */
}

.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  max-width: 480px;
  margin: 0 auto;
}
.app-nav-logo { text-decoration: none; }
.app-nav-right { display: flex; align-items: center; gap: 10px; }
.app-nav-saldo { text-align: right; line-height: 1.2; }
.app-nav-saldo .label { display: block; font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.app-nav-saldo .value { font-weight: 800; color: var(--accent-2); font-size: 14px; }
.app-nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.app-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(8, 13, 28, .96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-around;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
}
.app-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  flex: 1;
}
.app-bottom-nav a .icon { font-size: 17px; }
.app-bottom-nav a.active { color: var(--accent-2); }
.app-bottom-nav a.is-main {
  color: #06331d;
  margin-top: -22px;
}
.app-bottom-nav a.is-main .icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(160deg, #4dffa0, #10b76a);
  box-shadow: 0 6px 16px rgba(16, 183, 106, .45), 0 0 0 4px #070b16;
  font-size: 20px;
}
.app-bottom-nav a.is-main.active .icon { box-shadow: 0 6px 16px rgba(16, 183, 106, .65), 0 0 0 4px #070b16, 0 0 0 6px rgba(16,183,106,.4); }

/* =========================================================
 *  PWA install banner
 * ========================================================= */
.pwa-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0b1226;
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  position: sticky;
  top: 0;
  z-index: 60;
}
.pwa-banner-close {
  background: rgba(244, 65, 107, .15);
  color: #ffb3c4;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
  font-size: 12px;
}
.pwa-banner-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(160deg, #182448, #070b16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.pwa-banner-text { flex: 1; font-size: 12px; line-height: 1.35; color: var(--text); }
.pwa-banner-btn {
  background: linear-gradient(135deg, #3ec3f7, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

/* =========================================================
 *  AUTH PAGES (login / cadastro)
 * ========================================================= */
.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(78, 140, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 140, 255, .07) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, #142248 0%, #070b16 55%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

.auth-bg-blocks {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -30px;
  height: 190px;
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  z-index: 0;
  opacity: .55;
  pointer-events: none;
}
.auth-bg-blocks .stack { display: grid; grid-template-columns: repeat(2, 34px); gap: 4px; align-content: end; }
.auth-bg-blocks .b { width: 34px; height: 34px; border-radius: 7px; box-shadow: inset 0 3px 0 rgba(255,255,255,.35), inset 0 -3px 5px rgba(0,0,0,.4); }
.auth-bg-blocks .b-purple { background: linear-gradient(160deg, #d8c2ff, #9b6bff 55%, #6d28d9); }
.auth-bg-blocks .b-blue   { background: linear-gradient(160deg, #bdeeff, #3ec3f7 55%, #0d84c7); }
.auth-bg-blocks .b-red    { background: linear-gradient(160deg, #ffb3c4, #f4416b 55%, #c31c46); }
.auth-bg-blocks .b-orange { background: linear-gradient(160deg, #ffdcb0, #ff9d42 55%, #dd6a10); }
.auth-bg-blocks .b-green  { background: linear-gradient(160deg, #b6ffdb, #34e08a 55%, #0e9a5a); }
.auth-bg-blocks .b-gold   { background: linear-gradient(160deg, #fff2b8, #ffd23f 55%, #dd9f00); }

.auth-wrap {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 auto;
  padding: 56px 20px 40px;
}

.auth-logo { text-align: center; margin-bottom: 26px; }
.auth-logo.auth-logo-sm { margin-bottom: 0; text-align: left; }
.auth-logo.auth-logo-sm .auth-logo-word { font-size: 17px; }
.auth-crown { display: block; font-size: 20px; margin-bottom: 2px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.auth-logo-word { font-size: 30px; font-weight: 900; line-height: 1; }
.auth-logo-word .ll {
  display: inline-block;
  text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 4px 8px rgba(0,0,0,.4);
  -webkit-text-stroke: 1px rgba(0,0,0,.25);
}
.auth-logo-word .ll-space { display: inline-block; width: .3em; }
.auth-logo-word .ll:nth-child(7n+1) { color: #ffd23f; }
.auth-logo-word .ll:nth-child(7n+2) { color: #ff6b9d; }
.auth-logo-word .ll:nth-child(7n+3) { color: #34e08a; }
.auth-logo-word .ll:nth-child(7n+4) { color: #3ec3f7; }
.auth-logo-word .ll:nth-child(7n+5) { color: #f4416b; }
.auth-logo-word .ll:nth-child(7n+6) { color: #9b6bff; }
.auth-logo-word .ll:nth-child(7n+7) { color: #ff9d42; }

.auth-card {
  position: relative;
  z-index: 1;
  background: rgba(10, 16, 34, 0.82);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
}
.auth-card h2 { margin: 0 0 6px; font-size: 21px; color: #fff; }
.auth-card p.sub { margin: 0 0 22px; font-size: 13px; color: var(--text-muted); }

.auth-field { margin-bottom: 14px; position: relative; }
.auth-input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: var(--text);
  padding: 15px 16px;
  font-size: 14px;
}
.auth-input::placeholder { color: rgba(242,245,251,.4); }
.auth-input:focus { outline: none; border-color: var(--accent); }
.auth-field.has-eye .auth-input { padding-right: 46px; }

.auth-eye-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-cta {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(124, 58, 237, .4);
  margin-top: 4px;
}
.auth-cta:active { transform: translateY(2px); }

.auth-switch { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.auth-switch a { color: var(--accent); font-weight: 600; text-decoration: none; }
