@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Barlow:wght@400;500;600;700&display=swap');

:root {
  --bg: #081009;
  --panel: #0e1a11;
  --panel2: #142418;
  --line: #1d3324;
  --line-strong: #2c4a35;
  --text: #eaf2ec;
  --muted: #8fa899;
  --accent: #ffd23f;
  --accent-dark: #d9ae18;
  --accent-glow: rgba(255, 210, 63, .16);
  --danger: #ff5d5d;
  --brand-green: #0d8a4f;
  --gold: #ffd23f;
  --pink: #ff4fa3;
  --blue: #4fa3ff;
  --r: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: dark; }
body {
  background: var(--bg);
  background-image: radial-gradient(1200px 500px at 50% -200px, #0c1f12 0%, var(--bg) 60%);
  color: var(--text);
  font-family: 'Barlow', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.shell { max-width: 480px; margin: 0 auto; min-height: 100vh; padding-bottom: 86px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .brand, .countdown, .tile, .btn {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  letter-spacing: .02em;
}

/* ===== Topbar ===== */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: calc(12px + env(safe-area-inset-top)) 14px 12px; }
.topbar > div:first-child { min-width: 0; flex-shrink: 1; }
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 21px; text-transform: uppercase; color: var(--accent);
}
.brand svg { width: 22px; height: 22px; }
.top-right { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.top-right .btn { min-height: 38px; padding: 8px 13px; font-size: 13px; letter-spacing: .02em; }
.menu-btn { flex-shrink: 0; }
.saldo-pill {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  background: linear-gradient(135deg, #103d25 0%, #0a2517 100%);
  border: 1px solid #1d5d39; border-radius: 999px; padding: 6px 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.saldo-pill::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: #1fc56a; box-shadow: 0 0 8px rgba(31,197,106,.7); flex-shrink: 0;
}
.saldo-pill .saldo-vals { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.saldo-pill strong { font-size: 15px; color: #fff; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .3px; }
.saldo-pill small { font-size: 10px; color: var(--accent); letter-spacing: .02em; }
.dep-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #0c1409; font-weight: 700; border-radius: 999px; padding: 9px 14px;
  font-size: 13px; box-shadow: 0 4px 16px var(--accent-glow); white-space: nowrap;
}
.dep-btn svg { width: 16px; height: 16px; }
.dep-btn:hover { filter: brightness(1.07); }
@media (max-width: 420px) {
  .dep-btn span { display: none; }
  .dep-btn { padding: 9px; }
  .saldo-pill { padding: 6px 10px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .04em;
  border: 0; cursor: pointer; text-align: center;
  transition: filter .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--accent); color: #0c1409; box-shadow: 0 4px 18px var(--accent-glow); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 6px 24px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent-dark); color: var(--accent); }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ===== Cards / layout ===== */
.content { padding: 0 16px; }
.card {
  background: linear-gradient(180deg, var(--panel) 0%, #0b150d 100%);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 16px; margin-bottom: 12px;
}
.card h2 { font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.muted { color: var(--muted); font-size: 14px; }

.banner {
  position: relative; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line-strong);
  background: linear-gradient(125deg, #0d8a4f 0%, #0a3d22 55%, #081a0f 100%);
  padding: 26px 18px; margin-bottom: 14px;
}
.banner::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 160px at 85% 0%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.banner strong {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  color: var(--accent); font-size: 30px; font-weight: 700; line-height: 1.1;
  text-transform: uppercase; text-shadow: 0 0 18px var(--accent-glow);
}

/* ===== Lists / tiles ===== */
.list-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 52px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 15px; margin-bottom: 8px;
  cursor: pointer; transition: border-color .18s ease, background .18s ease;
}
.list-row:hover { border-color: var(--accent-dark); background: var(--panel2); }
.list-row .mult { color: var(--accent); font-weight: 700; font-family: 'Barlow Condensed', sans-serif; font-size: 17px; white-space: nowrap; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile {
  display: block; min-height: 64px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 10px;
  text-align: center; font-weight: 600; font-size: 17px; text-transform: uppercase;
  cursor: pointer; transition: border-color .18s ease, background .18s ease;
}
.tile small { display: block; color: var(--muted); font-family: 'Barlow', sans-serif; font-weight: 500; font-size: 11px; text-transform: none; margin-top: 4px; }
.tile.on, .tile:hover { border-color: var(--accent); background: var(--panel2); }

.countdown {
  font-size: 38px; font-weight: 700; color: var(--accent); letter-spacing: 4px;
  text-align: center; text-shadow: 0 0 22px var(--accent-glow);
  font-variant-numeric: tabular-nums;
}

/* ===== Forms ===== */
input, select, textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--panel2); color: var(--text);
  font-size: 16px; font-family: 'Barlow', sans-serif; margin-bottom: 10px;
  transition: border-color .18s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent-dark); outline: none; }
input::placeholder { color: #5f7568; }
label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .06em; }

.flash { margin: 0 16px 12px; padding: 13px 15px; border-radius: 10px; font-size: 14px; border: 1px solid; }
.flash-success { background: #15310f; border-color: var(--accent-dark); }
.flash-error { background: #391313; border-color: var(--danger); }

/* ===== Bottom nav ===== */
.bottomnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; display: flex; justify-content: space-around; align-items: flex-end;
  background: rgba(10, 20, 13, .92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 10px 0 max(12px, env(safe-area-inset-bottom)); z-index: 30;
}
.bottomnav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  min-width: 56px; min-height: 44px; color: var(--muted); cursor: pointer;
  transition: color .18s ease;
}
.bottomnav a svg { width: 22px; height: 22px; stroke: currentColor; }
.bottomnav a span { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bottomnav a:hover, .bottomnav a.on { color: var(--accent); }
.bottomnav a.play {
  background: var(--accent); color: #0c1409; border-radius: 999px;
  padding: 12px 18px 10px; margin-top: -26px; box-shadow: 0 6px 20px var(--accent-glow);
}
.bottomnav a.play:hover { color: #0c1409; filter: brightness(1.07); }

/* ===== Wizard ===== */
.steps { display: flex; gap: 5px; margin: 12px 0 16px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s ease; }
.steps i.on { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px;
  background: var(--panel2); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 7px 14px; margin: 0 6px 6px 0; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--accent-dark); }
.chip.on { background: var(--accent); color: #0c1409; border-color: var(--accent); }

/* ===== Tables ===== */
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th, table.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; }
table.tbl th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
table.tbl tr:last-child td { border-bottom: 0; }

/* ===== Cassino ===== */
.casino-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.casino-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; text-align: center; cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.casino-card:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.casino-card .thumb {
  aspect-ratio: 1; background: linear-gradient(160deg, var(--panel2), #0b150d);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.casino-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.casino-card:hover .thumb img { transform: scale(1.05); }
.casino-card .thumb svg { width: 34px; height: 34px; stroke: var(--muted); }
.casino-card span { display: block; padding: 9px 6px; font-size: 12px; font-weight: 600; line-height: 1.3; }

/* ===== Skeleton / motion ===== */
.skeleton { background: linear-gradient(90deg, var(--panel) 25%, var(--panel2) 50%, var(--panel) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ===== Bichos ===== */
.bicho-cell { display: flex; align-items: center; gap: 8px; }
.bicho-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ===== Marca ===== */
.brand-logo { height: 38px; width: auto; max-width: 130px; display: block; object-fit: contain; }
@media (max-width: 380px) { .brand-logo { max-width: 96px; } .top-right .btn { padding: 8px 11px; font-size: 12px; } }
.provlogo { width: 16px; height: 16px; border-radius: 4px; }

.banner-img { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong); margin-bottom: 14px; cursor: pointer; transition: box-shadow .2s ease; }
.banner-img:hover { box-shadow: 0 6px 24px var(--accent-glow); }
.banner-img img { display: block; width: 100%; height: auto; }

/* Carrossel de banners do topo */
.hero-carousel { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong); margin-bottom: 14px; }
.hc-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.hc-slide { flex: 0 0 100%; line-height: 0; }
.hc-slide img { width: 100%; height: auto; display: block; }
.hc-dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 7px; }
.hc-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: all .2s; }
.hc-dot.on { width: 22px; background: var(--accent); }

/* ===== Drawer (menu lateral) ===== */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.menu-btn:hover { border-color: var(--accent-dark); color: var(--accent); }
.menu-btn svg { width: 20px; height: 20px; }

.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(2px); z-index: 40;
}
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 280px; z-index: 41;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel) 0%, #0a140c 100%);
  border-right: 1px solid var(--line);
  transform: translateX(-100%); transition: transform .25s ease;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; }
.drawer-nav { flex: 1; overflow-y: auto; padding: 0 8px; }
.drawer-nav a {
  display: flex; align-items: center; gap: 12px;
  min-height: 46px; padding: 11px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.drawer-nav a svg { width: 19px; height: 19px; color: var(--muted); flex-shrink: 0; transition: color .15s ease; }
.drawer-nav a:hover, .drawer-nav a.on { background: var(--panel2); color: var(--accent); }
.drawer-nav a:hover svg, .drawer-nav a.on svg { color: var(--accent); }

.drawer-app {
  margin: 12px 16px max(16px, env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center;
  border: 1px solid var(--accent-dark); border-radius: 12px; padding: 12px;
}
.drawer-app svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.drawer-app strong { display: block; font-size: 13px; }
.drawer-app small { color: var(--muted); font-size: 11px; }

/* ===== Splash / tela de início (PWA) ===== */
#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(900px 500px at 50% 30%, #0d3b22 0%, var(--bg) 70%);
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity .4s ease;
}
#splash.gone { opacity: 0; pointer-events: none; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.splash-logo { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 0 40px rgba(255,210,63,.25); animation: splashPop .5s cubic-bezier(.2,.9,.3,1.2); }
.splash-inner strong {
  font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--accent);
  text-shadow: 0 0 18px var(--accent-glow);
}
.splash-bar { width: 140px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.splash-bar i { display: block; height: 100%; width: 40%; background: var(--accent); border-radius: 2px; animation: splashLoad 1s ease-in-out infinite; }
@keyframes splashPop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes splashLoad { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
@media (prefers-reduced-motion: reduce) { .splash-logo, .splash-bar i { animation: none; } }

/* ===== Banner instalar PWA (estilo querobixo) ===== */
.install-banner {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(76px + env(safe-area-inset-bottom)); /* acima da bottomnav */
  width: calc(100% - 24px); max-width: 456px; z-index: 35;
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(120deg, #0d8a4f, #0a6b3d);
  border: 1px solid var(--accent-dark); border-radius: 14px;
  padding: 12px 14px; box-shadow: 0 8px 28px rgba(0,0,0,.5);
}
.install-banner[hidden] { display: none; } /* [hidden] precisa vencer o display:flex */
.install-banner img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.install-banner .ib-text { flex: 1; min-width: 0; line-height: 1.25; }
.install-banner .ib-text strong { display: block; font-family: 'Barlow Condensed'; font-size: 16px; color: #fff; text-transform: uppercase; }
.install-banner .ib-text small { color: rgba(255,255,255,.85); font-size: 11.5px; }
.install-banner .btn { min-height: 38px; padding: 8px 16px; font-size: 13px; flex-shrink: 0; }
.install-banner .ib-close {
  position: absolute; top: 0; right: 0; background: none; border: 0;
  color: rgba(255,255,255,.9); font-size: 24px; line-height: 1; cursor: pointer;
  padding: 10px 12px; z-index: 3;
}
.install-banner .ib-close:active { color: #fff; transform: scale(.9); }

button.drawer-app { width: calc(100% - 32px); background: var(--panel); color: inherit; font: inherit; text-align: left; cursor: pointer; }
button.drawer-app:hover { border-color: var(--accent); }

/* ===== Perfil / carteira ===== */
.wallet-hero {
  position: relative; overflow: hidden; border-radius: 20px; margin-bottom: 12px;
  padding: 16px 18px 18px;
  background: linear-gradient(135deg, #0e4a2a 0%, #0a2f1c 48%, #07150d 100%);
  border: 1px solid #1c5d39;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.wallet-hero::after {
  content: ""; position: absolute; top: -40px; right: -30px; width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%); pointer-events: none;
}
.wh-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.wh-avatar {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #0c1409; font-weight: 800; font-size: 20px; font-family: 'Barlow Condensed', sans-serif;
}
.wh-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.wh-id strong { font-size: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-id small { font-size: 12px; color: var(--muted); }
.wh-exit {
  font-size: 12px; color: var(--muted); border: 1px solid #1c4a30; border-radius: 999px;
  padding: 6px 12px; text-transform: uppercase; letter-spacing: .05em; flex-shrink: 0;
}
.wh-exit:hover { color: var(--accent); border-color: var(--accent-dark); }
.wh-label { font-size: 11px; color: #9fc7b0; text-transform: uppercase; letter-spacing: .1em; }
.wh-amount {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 42px; line-height: 1;
  color: #fff; margin-top: 3px; text-shadow: 0 0 24px rgba(31,197,106,.25);
}
.wh-bonus { font-size: 13px; color: var(--accent); margin-top: 4px; }
.wh-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.wh-actions .btn { width: 100%; justify-content: center; min-height: 44px; }

.wallet-sub {
  background: var(--panel, #0d1a12); border: 1px solid var(--line, #173023); border-radius: 14px;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 2px;
}
.wallet-sub .ws-tag { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.wallet-sub strong { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; color: #fff; }
.wallet-sub small { font-size: 11px; color: var(--accent); }

.quick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 6px;
  background: var(--panel, #0d1a12); border: 1px solid var(--line, #173023); border-radius: 14px;
  color: #d6e6dc; font-size: 12px; font-weight: 600; transition: border-color .15s, transform .15s;
}
.quick-item svg { width: 22px; height: 22px; color: var(--accent); }
.quick-item:hover { border-color: var(--accent-dark); transform: translateY(-2px); }

/* ===== Auth (cadastro / login) ===== */
.auth-wrap { padding: 8px 4px 24px; display: flex; justify-content: center; }
.auth-card {
  width: 100%; max-width: 400px; border-radius: 22px; padding: 22px 20px 20px;
  background: linear-gradient(180deg, #0f2417 0%, #0a1810 100%);
  border: 1px solid #1c4a30; box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.auth-logo { display: flex; justify-content: center; margin-bottom: 14px; }
.auth-logo img { height: 46px; width: auto; }
.auth-title { text-align: center; font-size: 21px; line-height: 1.2; color: #fff; margin-bottom: 4px; }
.auth-sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.auth-tabs { display: flex; gap: 24px; justify-content: center; border-bottom: 1px solid #1c3a28; margin-bottom: 18px; }
.auth-tab {
  background: none; border: 0; cursor: pointer; padding: 8px 2px 12px; font-size: 16px; font-weight: 700;
  color: var(--muted); position: relative; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .03em;
}
.auth-tab.on { color: var(--accent); }
.auth-tab.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.auth-field { position: relative; margin-bottom: 12px; }
.auth-field > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #6f8a7b; pointer-events: none; }
.auth-field input {
  margin: 0; min-height: 50px; padding-left: 42px; border-radius: 12px;
  background: #0a160e; border: 1px solid #1f3f2a;
}
.auth-field input:focus { border-color: var(--accent-dark); }
.auth-field .pwd-eye {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; padding: 8px; color: #6f8a7b; min-height: auto;
}
.auth-field .pwd-eye svg { width: 19px; height: 19px; }
.auth-field .pwd-eye.on { color: var(--accent); }
.auth-cta { margin-top: 6px; min-height: 50px; border-radius: 12px; }
.auth-fine { text-align: center; color: var(--muted); font-size: 11px; margin-top: 12px; }
.auth-fine a { color: var(--accent); }

/* ===== Roleta Gire e Ganhe ===== */
.wheel-overlay {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 18px; background: rgba(6,16,10,.45);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.wheel-modal {
  width: 100%; max-width: 290px; text-align: center; position: relative;
  background: linear-gradient(180deg, rgba(17,39,27,.9) 0%, rgba(10,22,14,.9) 100%);
  border: 1px solid #2c6340; border-radius: 20px; padding: 16px 16px 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
}
.wheel-title { font-size: 21px; color: var(--accent); letter-spacing: .07em; text-shadow: 0 0 22px var(--accent-glow); }
.wheel-sub { color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.wheel-stage { position: relative; width: 210px; height: 210px; margin: 0 auto; }
.wheel-pointer {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent;
  border-top: 28px solid var(--accent); filter: drop-shadow(0 3px 5px rgba(0,0,0,.55));
}
.wheel-pointer::after {
  content: ""; position: absolute; left: -9px; top: -34px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c2, var(--accent)); box-shadow: 0 0 14px var(--accent);
}
.wheel-disc {
  width: 100%; height: 100%; border-radius: 50%; position: relative; border: 7px solid #e2b81f;
  box-shadow: 0 0 0 3px #0a160e, 0 0 0 8px rgba(255,210,63,.28),
              inset 0 0 26px rgba(0,0,0,.5), 0 0 32px rgba(255,210,63,.26);
  transition: transform 5s cubic-bezier(.12,.85,.18,1);
}
.wheel-disc span {
  position: absolute; left: 50%; top: 50%; transform-origin: 0 0;
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .03em;
  white-space: nowrap; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7);
}
.wheel-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3;
  width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #fff6cf, var(--accent) 48%, var(--accent-dark));
  border: 3px solid #0a160e; box-shadow: 0 4px 14px rgba(0,0,0,.55), 0 0 18px var(--accent-glow);
}
.wheel-hub img { width: 28px; height: 28px; }
.wheel-result { min-height: 18px; margin: 12px 4px 2px; color: var(--accent); font-weight: 700; font-size: 14px; line-height: 1.35; }
.wheel-spin { margin-top: 8px; min-height: 48px; border-radius: 13px; font-size: 17px; }
.wheel-skip { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 11px; font-size: 13px; width: 100%; margin-top: 2px; }
.wheel-skip:hover { color: var(--accent); }
.wheel-win .wheel-disc { animation: wheelGlow 1s ease-in-out infinite alternate; }
.wheel-win .wheel-hub { animation: hubPulse 1s ease-in-out infinite alternate; }
@keyframes wheelGlow {
  from { box-shadow: 0 0 0 3px #0a160e, 0 0 0 8px rgba(255,210,63,.28), inset 0 0 26px rgba(0,0,0,.5), 0 0 32px rgba(255,210,63,.3); }
  to   { box-shadow: 0 0 0 3px #0a160e, 0 0 0 8px rgba(255,210,63,.55), inset 0 0 26px rgba(0,0,0,.5), 0 0 64px rgba(255,210,63,.7); }
}
@keyframes hubPulse { from { transform: translate(-50%,-50%) scale(1); } to { transform: translate(-50%,-50%) scale(1.12); } }

/* ===== Cards de loteria (formato padrão com imagem) ===== */
.lot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lot-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.lot-card:hover {
  border-color: var(--lot-color, var(--accent)); transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
}
.lot-cover { display: block; line-height: 0; border-bottom: 2px solid var(--lot-color, var(--accent)); }
.lot-cover img { width: 100%; height: auto; display: block; }
.lot-meta { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 1px; }
.lot-meta strong {
  font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; color: #fff;
}
.lot-meta small { color: var(--muted); font-size: 12px; }

/* ===== Recarga: segmented + valores rápidos ===== */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt > span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border-radius: 12px; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .03em;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  transition: all .16s ease;
}
.seg-opt > span svg { width: 19px; height: 19px; }
.seg-opt input:checked + span {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: var(--accent); color: #0c1409; box-shadow: 0 4px 16px var(--accent-glow);
}

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.quick {
  position: relative; min-height: 58px; border-radius: 12px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px;
  transition: all .16s ease;
}
.quick:hover { border-color: var(--line-strong); }
.quick.on {
  border-color: var(--accent); background: var(--panel2);
  box-shadow: 0 0 0 2px var(--accent-glow), inset 0 0 16px rgba(255,210,63,.08); color: #fff;
}
.quick.is-bonus {
  background: linear-gradient(150deg, rgba(17,163,92,.22), rgba(13,138,79,.1));
  border-color: #1c7a4a; color: #d6f5e3; padding-top: 8px;
}
.quick.is-bonus:hover { border-color: #2aa869; }
.quick.is-bonus.on {
  border-color: #2fd07f; background: linear-gradient(150deg, rgba(31,197,106,.3), rgba(13,138,79,.16));
  box-shadow: 0 0 0 2px rgba(31,197,106,.3), 0 6px 18px rgba(31,197,106,.25); color: #fff;
}
.q-badge {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #0c1409;
  font-family: 'Barlow', sans-serif; font-style: normal; font-weight: 800; font-size: 9px;
  letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0,0,0,.4);
}

/* ===== Home: seções (Loterias / Top Ganhos / Cotações) ===== */
.home-sec { margin: 18px 0; }
.sec-title { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; text-transform: none; letter-spacing: .01em; margin-bottom: 12px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sec-head .sec-title { margin: 0; }
.sec-link { color: var(--accent); font-weight: 700; font-size: 14px; }
.ico-fire { width: 16px; height: 16px; color: #ff7a18; vertical-align: -2px; }

/* Loterias em destaque */
.feat-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.feat-row::-webkit-scrollbar { height: 0; }
.feat-card { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; }
.feat-hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 124px;
  border-radius: 16px; padding: 14px 16px; color: #fff;
  background: linear-gradient(150deg, #11271b 0%, #0a160e 100%);
  border: 1px solid var(--line); border-left: 3px solid var(--acc);
  box-shadow: 0 8px 22px rgba(0,0,0,.35); transition: border-color .15s ease, transform .15s ease;
}
.feat-hero::after {
  content: ""; position: absolute; top: -50px; right: -40px; width: 150px; height: 150px;
  background: radial-gradient(circle, var(--acc), transparent 70%); opacity: .22; pointer-events: none;
}
.feat-hero:hover { transform: translateY(-2px); border-left-color: var(--acc); }
.feat-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Barlow', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .08em;
  color: var(--acc); background: color-mix(in srgb, var(--acc) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent);
  padding: 3px 9px; border-radius: 999px;
}
.feat-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 7px var(--acc); }
.feat-hero strong { font-family: 'Barlow Condensed', sans-serif; font-size: 27px; font-weight: 700; display: flex; align-items: center; gap: 7px; margin: 8px 0 2px; color: #fff; }
.feat-hero strong .ico-fire { width: 18px; height: 18px; }
.feat-cta { font-size: 13px; color: var(--muted); margin-top: auto; }
.feat-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.feat-foot small { color: var(--muted); font-size: 13px; }
.feat-foot small b { color: var(--accent); }
.feat-foot .btn { min-height: 38px; padding: 8px 18px; font-size: 13px; }

/* Loterias: setas */
.feat-arrows { display: flex; gap: 6px; }
.feat-nav {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel); border: 1px solid var(--line-strong); color: var(--text);
  transition: all .15s ease;
}
.feat-nav svg { width: 18px; height: 18px; }
.feat-nav:hover { border-color: var(--accent); color: var(--accent); }
.feat-nav:active { transform: scale(.92); }

/* Top ganhos: carrossel deslizante (marquee) */
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 10px; width: max-content; animation: tickerScroll 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 11px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--panel) 0%, #0b150d 100%);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 12px 12px;
}
.tk-medal {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #0c1409;
  box-shadow: 0 3px 10px var(--accent-glow);
}
.tk-medal svg { width: 21px; height: 21px; }
.tk-info { display: flex; flex-direction: column; line-height: 1.2; }
.tk-info strong { font-family: 'Barlow Condensed', sans-serif; font-size: 19px; color: #fff; letter-spacing: 1px; }
.tk-info small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.tk-val { color: var(--accent); font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; margin-left: 4px; white-space: nowrap; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Cotações ao vivo */
.quote-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 54px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 15px; margin-bottom: 8px; transition: border-color .15s ease, background .15s ease;
}
.quote-row:hover { border-color: var(--accent-dark); background: var(--panel2); }
.quote-name { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; }
.quote-val { display: flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-family: 'Barlow Condensed', sans-serif; font-size: 18px; white-space: nowrap; }
.quote-val svg { color: var(--muted); }

/* Cassino em manutenção */
.casino-maint {
  display: flex; align-items: center; gap: 11px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(255,210,63,.12), rgba(255,210,63,.04));
  border: 1px solid var(--accent-dark); border-radius: 14px; padding: 13px 15px;
  color: var(--text); font-size: 13.5px; line-height: 1.4;
}
.casino-maint svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.casino-maint strong { color: var(--accent); }
.casino-grid.is-maint .casino-card { opacity: .6; }
.casino-grid.is-maint .playtag { background: var(--accent-dark); color: #1a1205; }
.casino-grid.is-maint .thumb::after {
  content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(0,0,0,.25) 0 10px, rgba(0,0,0,.1) 10px 20px);
  pointer-events: none;
}
