/* app.css — layout, componentes e responsividade do template */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
input, button { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============================================================ TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--topbar-h);
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-1);
}
.topbar__inner {
  height: 100%;
  display: flex; align-items: center; gap: var(--sp-5);
  padding: 0 var(--sp-5);
  max-width: 1920px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; }
.brand__mark { display: flex; }
.brand__name {
  font-family: var(--font-title); font-weight: 800; font-size: 22px; letter-spacing: .3px;
}
.topnav { display: flex; gap: var(--sp-2); }
.topnav__item {
  background: none; border: none; padding: 8px 12px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px; color: rgba(255,255,255,.82); cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.topnav__item:hover { background: rgba(255,255,255,.12); color: #fff; }
.topnav__item.is-active { background: rgba(255,255,255,.18); color: #fff; }
.topbar__search {
  flex: 1; max-width: 340px;
  display: flex; align-items: center; gap: var(--sp-2);
  background: rgba(255,255,255,.16); border-radius: var(--radius-pill);
  padding: 0 var(--sp-3); height: 38px; color: rgba(255,255,255,.85);
  border: none; cursor: pointer; text-align: left; font-size: 14px;
}
.topbar__search span { color: rgba(255,255,255,.85); }
.topbar__search:hover { background: rgba(255,255,255,.22); }
.topbar__auth { display: flex; gap: var(--sp-2); margin-left: auto; flex-shrink: 0; }
.icon-btn.topbar__betslip-toggle { display: none; position: relative; color: #fff; margin-left: auto; }

.btn {
  border: none; border-radius: var(--radius-pill); padding: 9px 18px; font-weight: 700;
  font-size: 14px; cursor: pointer; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--brand { background: #fff; color: var(--brand); }
.btn--brand:hover { background: #fff; opacity: .92; }
.btn--dark { background: var(--text); color: #fff; }
.btn--dark:hover { opacity: .9; }
.btn--outline { background: transparent; border: 1.5px solid var(--line-2); color: var(--text); }
.btn--outline-dark { background: transparent; border: 1.5px solid rgba(0,0,0,.14); color: var(--text); }
.btn--block { width: 100%; }
.btn--sm { padding: 7px 12px; font-size: 13px; }
.icon-btn {
  background: none; border: none; width: 38px; height: 38px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative;
}
.badge {
  position: absolute; top: -2px; right: -2px; background: var(--text); color: #fff;
  font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

/* ============================================================ LAYOUT 3 COLUNAS */
.layout {
  display: grid;
  grid-template-columns: var(--side-w) minmax(0, 1fr) var(--cupom-w);
  gap: var(--sp-5);
  max-width: 1920px; margin: 0 auto;
  padding: var(--sp-5);
  align-items: start;
}
.main { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-5); }

/* ---------- sidebar ---------- */
.sidebar { position: sticky; top: calc(var(--topbar-h) + var(--sp-4)); }
.sidebar__scroll {
  max-height: calc(100vh - var(--topbar-h) - var(--sp-5) * 2);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding-bottom: var(--sp-4);
}
.side-link {
  display: flex; align-items: center; gap: var(--sp-2);
  background: var(--surface); border-radius: var(--radius); padding: 12px 14px;
  font-weight: 600; font-size: 14px; box-shadow: var(--shadow-1);
}
.side-link--live { color: var(--brand); }
.side-link__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); flex-shrink: 0; animation: pulse 1.6s infinite; }
.side-link__count { margin-left: auto; color: var(--muted-2); font-weight: 700; }
.side-cal {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  background: var(--surface); border-radius: var(--radius); padding: 12px 14px;
  font-size: 13px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-1);
}
.side-section { background: var(--surface); border-radius: var(--radius); padding: var(--sp-4) var(--sp-3); box-shadow: var(--shadow-1); }
.side-section__title {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-2); margin: 0 0 var(--sp-2) var(--sp-2);
}
.side-sport, .side-comp {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: 8px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--text);
  transition: background var(--dur) var(--ease);
}
.side-sport:hover, .side-comp:hover { background: var(--surface-2); }
.side-sport__icon { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.side-sport__icon svg { width: 100%; height: 100%; }
.side-sport__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-sport__live { font-size: 11.5px; color: var(--muted-2); font-weight: 600; white-space: nowrap; }
.side-comp__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); flex-shrink: 0; }
.side-comp strong { display: block; font-size: 13px; }
.side-comp small { display: block; font-size: 11.5px; color: var(--muted-2); font-weight: 500; }
.side-footer { padding: var(--sp-3) var(--sp-2); font-size: 12px; color: var(--muted-2); }
.side-footer__links { display: flex; gap: var(--sp-3); margin-bottom: 6px; }
.side-footer__links a { font-weight: 600; color: var(--muted); }

/* ============================================================ SECTIONS GERAL */
.section { position: relative; }
.section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-3); gap: var(--sp-3); }
.section__title {
  font-family: var(--font-title); font-weight: 700; font-size: 24px; letter-spacing: .2px;
  text-transform: uppercase;
}
.section__title--accent { color: var(--accent); }
.section__link { font-weight: 700; font-size: 13px; color: var(--accent); }
.section__footer { margin-top: var(--sp-3); }

.empty-state {
  width: 100%; padding: var(--sp-6) var(--sp-4); text-align: center;
  color: var(--muted-2); font-size: 14px; background: var(--surface);
  border-radius: var(--radius); border: 1px dashed var(--line-2);
}
.empty-state--sm { padding: var(--sp-3); font-size: 12.5px; border: none; background: none; }

.crest {
  width: 28px; height: 28px; border-radius: 50%; background: var(--surface-3);
  color: var(--text); display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}

/* horizontal scroller com scroll-snap */
.hscroll {
  display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 2px;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex-shrink: 0; }
.hscroll-nav {
  display: none; position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--surface);
  box-shadow: var(--shadow-2); font-size: 18px; cursor: pointer; align-items: center; justify-content: center;
  z-index: 5; color: var(--text);
}
.hscroll-nav--prev { left: -17px; }
.hscroll-nav--next { right: -17px; }

/* ---------- ofertas ---------- */
.section--offers { padding-top: 2px; }
.offer-card {
  width: 260px; background: var(--accent-soft-2); border-radius: var(--radius);
  padding: var(--sp-4); display: flex; flex-direction: column; gap: 6px; position: relative;
}
.offer-card__icon {
  width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.offer-card__icon svg { width: 18px; height: 18px; }
.offer-card__tag { font-size: 11px; font-weight: 700; color: var(--accent-dark); letter-spacing: .05em; }
.offer-card h3 { font-family: var(--font-banner); font-size: 17px; font-weight: 700; line-height: 1.2; }
.offer-card p { font-size: 12.5px; color: var(--muted); line-height: 1.4; flex: 1; }
.offer-card .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- dica (mini ícones) ---------- */
.section--dicaicones { padding: 2px 0; }
.hscroll--icons { gap: var(--sp-5); }
.dica-icon {
  width: 86px; background: var(--surface); border: 2px solid transparent; border-radius: var(--radius);
  padding: var(--sp-3) 6px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; box-shadow: var(--shadow-1);
}
.dica-icon span { width: 28px; height: 28px; color: var(--accent); }
.dica-icon span svg { width: 100%; height: 100%; }
.dica-icon small { font-size: 11px; font-weight: 700; text-align: center; color: var(--muted); }
.dica-icon.is-active { border-color: var(--accent); }

/* ---------- chips ---------- */
.chips { display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px;
  cursor: pointer;
}
.chip.is-active { background: var(--text); color: #fff; border-color: var(--text); }
.chip__count { font-size: 11px; opacity: .7; font-weight: 700; }
.chip--sm { padding: 6px 12px; font-size: 12.5px; }
.chip--range { background: var(--surface-2); }
.chip--range:hover { background: var(--surface-3); }
.chips--days { margin-top: 8px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-2) 0 var(--sp-3); }

/* ---------- tabs (abas de esporte) ---------- */
.tabs { display: flex; gap: var(--sp-5); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-2); margin-bottom: var(--sp-3); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; background: none; border: none; padding: 10px 2px 12px; font-size: 13.5px; font-weight: 600;
  color: var(--muted); border-bottom: 2.5px solid transparent; display: flex; align-items: center; gap: 6px; cursor: pointer;
  white-space: nowrap;
}
.tab.is-active { color: var(--text); border-color: var(--accent); }
.tab__count { font-size: 11px; color: var(--muted-2); font-weight: 700; }

/* ---------- seg (Ao vivo / Próximos) ---------- */
.seg { display: inline-flex; background: var(--surface-3); border-radius: var(--radius-pill); padding: 3px; gap: 2px; }
.seg__btn {
  background: none; border: none; padding: 7px 14px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; cursor: pointer;
}
.seg__btn.is-active { background: var(--text); color: #fff; }
.seg__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); }
.seg--block { width: 100%; margin: var(--sp-2) 0 var(--sp-3); }
.seg--block .seg__btn { flex: 1; justify-content: center; }

/* ---------- lista de jogos ao vivo ---------- */
.game-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.game-row {
  display: grid; grid-template-columns: 70px 1fr auto; gap: var(--sp-3); align-items: center;
  background: var(--surface); border-radius: var(--radius); padding: var(--sp-3); box-shadow: var(--shadow-1);
}
.game-row__time { font-size: 12px; font-weight: 700; color: var(--accent); display: flex; flex-direction: column; gap: 3px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; animation: pulse 1.4s infinite; margin-right: 4px; }
.game-row__time small { color: var(--muted-2); font-weight: 600; font-size: 10.5px; }
.game-row__teams { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.game-row__team { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.game-row__team span:not(.crest) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-row__team strong { font-size: 14px; }
.game-row__league { color: var(--muted-2); font-size: 11.5px; font-weight: 500; margin-top: 2px; }
.game-row__odds { display: flex; gap: 6px; }

.odd-btn {
  min-width: 56px; height: 38px; border-radius: var(--radius-odd); border: 1px solid var(--line-2);
  background: var(--surface-2); font-weight: 700; font-size: 13.5px; color: var(--text); cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.odd-btn:hover:not(.is-locked) { background: var(--surface-3); }
.odd-btn:active:not(.is-locked) { transform: scale(.95); }
.odd-btn.is-selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.odd-btn.is-locked { color: var(--muted-2); cursor: not-allowed; display: flex; align-items: center; justify-content: center; }
.odd-btn.flash-up { animation: flashUp 1.2s var(--ease); }
.odd-btn.flash-down { animation: flashDown 1.2s var(--ease); }
@keyframes flashUp { 0% { background: var(--up-bg); } 100% { background: var(--surface-2); } }
@keyframes flashDown { 0% { background: var(--down-bg); } 100% { background: var(--surface-2); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- jogadores populares ---------- */
.player-card {
  width: 220px; background: var(--surface); border-radius: var(--radius); padding: var(--sp-3);
  box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 6px;
}
.player-card__hero {
  height: 90px; border-radius: 8px; background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
}
.player-card__hero .crest { width: 54px; height: 54px; font-size: 18px; }
.player-card__tag { font-size: 10.5px; font-weight: 700; color: var(--accent-dark); letter-spacing: .05em; }
.player-card h3 { font-size: 15px; font-weight: 700; }
.player-card > p { font-size: 11.5px; color: var(--muted-2); }
.player-card__lines { display: flex; flex-direction: column; gap: 3px; margin: 4px 0; }
.player-card__lines div { display: flex; justify-content: space-between; font-size: 12px; }
.player-card__lines span { color: var(--muted); }
.player-card__lines strong { font-weight: 700; }
.player-card .btn--brand { display: flex; align-items: center; justify-content: center; gap: 8px; }
.player-card .btn--brand.is-selected { background: var(--accent-dark); color: #fff; }

/* ---------- múltiplas do dia ---------- */
.hscroll--wide > * { width: 300px; }
.multipla-card { background: var(--surface); border-radius: var(--radius); padding: var(--sp-4); box-shadow: var(--shadow-1); }
.multipla-card__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--sp-2); }
.multipla-card__head h3 { font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.multipla-card__head span { font-size: 10.5px; color: var(--accent-dark); font-weight: 700; }
.multipla-card__row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); gap: 8px; }
.multipla-card__row strong { font-size: 13px; font-weight: 700; display: block; }
.multipla-card__row small { font-size: 11px; color: var(--muted-2); line-height: 1.3; }
.multipla-card__row > div:first-child { min-width: 0; overflow: hidden; }
.multipla-card__row > span { font-weight: 700; flex-shrink: 0; }
.multipla-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid var(--line); gap: 8px; }
.multipla-card__footer div { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); flex-shrink: 0; }
.multipla-card__footer strong { font-size: 16px; color: var(--text); }
.multipla-card__footer .btn { font-size: 12px; padding: 9px 12px; white-space: normal; text-align: center; line-height: 1.2; flex-shrink: 1; min-width: 0; }

/* ---------- dicas do dia ---------- */
.dica-card { width: 300px; background: var(--surface); border-radius: var(--radius); padding: var(--sp-4); box-shadow: var(--shadow-1); }
.dica-card h3 { font-size: 15px; font-weight: 700; }
.dica-card small { color: var(--muted-2); font-size: 11.5px; }
.dica-card p { display: flex; gap: 6px; font-size: 12.5px; color: var(--muted); margin: var(--sp-2) 0; line-height: 1.4; }
.dica-card p svg { flex-shrink: 0; margin-top: 2px; color: var(--amber); }
.dica-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-2); border-top: 1px solid var(--line); }
.dica-card__foot div { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); }
.dica-card__foot strong { font-size: 13px; color: var(--text); }
.dica-card__odd { font-weight: 800; font-size: 16px; color: var(--accent-dark); }

/* ---------- super odds ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.superodd-card { background: var(--surface); border-radius: var(--radius); padding: var(--sp-4); box-shadow: var(--shadow-1); }
.superodd-card h3 { font-size: 14.5px; font-weight: 700; }
.superodd-card small { color: var(--muted-2); font-size: 11px; display: block; margin-bottom: 6px; }
.superodd-card p { font-size: 12px; color: var(--muted); margin-bottom: var(--sp-3); }
.superodd-card__foot { display: flex; align-items: center; gap: 8px; }
.superodd-card__old { text-decoration: line-through; color: var(--muted-2); font-size: 12px; }
.superodd-card__new { color: var(--accent-dark); font-size: 17px; }
.superodd-card__foot .btn { margin-left: auto; }

/* ---------- próximos jogos (tabela) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); }
.games-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.games-table thead th {
  text-align: center; font-size: 11px; font-weight: 700; color: var(--muted-2); text-transform: uppercase;
  letter-spacing: .04em; padding: var(--sp-3) var(--sp-2); border-bottom: 1px solid var(--line-2);
}
.games-table__jogos { text-align: left !important; width: 240px; }
.games-table tbody tr { border-bottom: 1px solid var(--line); }
.games-table tbody tr:last-child { border-bottom: none; }
.games-table td { padding: var(--sp-2); text-align: center; vertical-align: middle; }
.games-table__time { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.games-table__teams { display: flex; flex-direction: column; gap: 3px; }
.games-table__teams span { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.games-table__teams .crest { width: 22px; height: 22px; font-size: 9.5px; }
.games-table__pair { display: flex; gap: 6px; justify-content: center; }
.games-table .odd-btn { min-width: 50px; height: 34px; font-size: 12.5px; }

/* ---------- mais eventos ---------- */
.more-events {
  background: linear-gradient(120deg, var(--brand), var(--accent-dark));
  border-radius: var(--radius); padding: var(--sp-6); text-align: center; color: #fff;
}
.more-events h2 { font-family: var(--font-title); font-size: 26px; font-weight: 800; text-transform: uppercase; }
.more-events p { margin: 8px 0 var(--sp-4); opacity: .9; font-size: 14px; }
.more-events .btn--brand { color: var(--brand); }

/* ---------- rodapé do centro ---------- */
.main-footer {
  display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  padding: var(--sp-4) 0; color: var(--muted-2); font-size: 12.5px; border-top: 1px solid var(--line-2);
}
.main-footer nav { display: flex; gap: var(--sp-4); }
.main-footer a { font-weight: 600; color: var(--muted); }
.main-footer span:last-child { margin-left: auto; font-weight: 700; }

/* ============================================================ CUPOM (coluna direita) */
.cupom { position: sticky; top: calc(var(--topbar-h) + var(--sp-4)); display: flex; flex-direction: column; gap: var(--sp-4); max-height: calc(100vh - var(--topbar-h) - var(--sp-5) * 2); overflow-y: auto; }
.cupom__mobile-close { display: none; }
.cupom__card { background: var(--surface); border-radius: var(--radius); padding: var(--sp-4); box-shadow: var(--shadow-1); }
.cupom__head h2 { font-size: 16px; font-weight: 800; }
.cupom__empty { text-align: center; padding: var(--sp-4) 0 2px; display: flex; flex-direction: column; gap: var(--sp-3); }
.cupom__empty p { color: var(--muted-2); font-size: 13px; }
.cupom__list { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.slip-item { display: flex; align-items: center; gap: var(--sp-2); background: var(--surface-2); border-radius: 8px; padding: 10px; }
.slip-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.slip-item__main strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slip-item__main span { font-size: 11px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slip-item__odd { font-weight: 800; font-size: 14px; color: var(--accent-dark); }
.slip-item__remove { background: none; border: none; color: var(--muted-2); font-size: 14px; cursor: pointer; width: 26px; height: 26px; border-radius: 50%; }
.slip-item__remove:hover { background: var(--surface-3); color: var(--text); }
.cupom__stake label { font-size: 12px; font-weight: 700; color: var(--muted); }
.stake-input { display: flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; margin: 6px 0 var(--sp-3); }
.stake-input span { color: var(--muted); font-weight: 700; font-size: 13px; }
.stake-input input { border: none; background: none; outline: none; font-size: 15px; font-weight: 700; width: 100%; }
.stake-input--sm { margin-bottom: var(--sp-3); }
.cupom__totals { display: flex; justify-content: space-between; margin-bottom: var(--sp-3); font-size: 12.5px; color: var(--muted); }
.cupom__totals div { display: flex; flex-direction: column; gap: 2px; }
.cupom__totals strong { font-size: 14px; color: var(--text); }
.cupom__hint { font-size: 12px; font-weight: 700; color: var(--muted); margin: var(--sp-2) 0 2px; }
.cupom__offers { display: flex; flex-direction: column; gap: var(--sp-2); }
.cupom-offer { display: flex; gap: var(--sp-2); padding: 8px; border-radius: 8px; align-items: flex-start; }
.cupom-offer:hover { background: var(--surface-2); }
.cupom-offer__icon { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft-2); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cupom-offer__icon svg { width: 16px; height: 16px; }
.cupom-offer__body { display: flex; flex-direction: column; min-width: 0; }
.cupom-offer__body strong { font-size: 12.5px; }
.cupom-offer__body small { font-size: 11px; color: var(--muted-2); }
.cupom-offer__body em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent-dark); margin-top: 2px; }

.cupom-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 149; }

/* ============================================================ BOTTOM TABS (mobile) */
.bottom-tabs {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; height: var(--tab-h); z-index: 150;
  background: var(--surface); border-top: 1px solid var(--line-2);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -2px 12px rgba(21,25,35,.08);
}
.bottom-tabs__item {
  background: none; border: none; height: 100%; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--muted-2); font-size: 10.5px; font-weight: 700; position: relative; cursor: pointer;
}
.bottom-tabs__item.is-active { color: var(--brand); }
.badge--tab { top: 2px; right: 22%; background: var(--brand); }

/* ============================================================ RESPONSIVO */
@media (max-width: 1280px) {
  .layout { grid-template-columns: 180px minmax(0, 1fr) 300px; gap: var(--sp-4); padding: var(--sp-4); }
  :root { --side-w: 180px; --cupom-w: 300px; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --tab-h: 58px; }
  .layout { grid-template-columns: 1fr; padding: var(--sp-3); gap: var(--sp-4); }
  .sidebar { display: none; }
  .topnav { display: none; }
  .topbar__search { max-width: none; flex: 0 0 auto; width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
  .topbar__search span { display: none; }
  .topbar__auth .btn--ghost { display: none; }
  .icon-btn.topbar__betslip-toggle { display: inline-flex; }

  .cupom {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); max-height: none;
    background: var(--bg); z-index: 150; padding: var(--sp-4); transform: translateX(100%);
    transition: transform var(--dur) var(--ease); box-shadow: -8px 0 24px rgba(0,0,0,.18);
  }
  .cupom.is-open { transform: translateX(0); }
  .cupom__mobile-close {
    display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    border-radius: 50%; border: none; background: var(--surface); margin-bottom: var(--sp-3); cursor: pointer;
  }
  .cupom-overlay.is-open { display: block; }

  .bottom-tabs { display: flex; }
  .main { padding-bottom: calc(var(--tab-h) + var(--sp-4)); }

  .hscroll-nav { display: none !important; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .section__title { font-size: 20px; }
}

@media (min-width: 901px) {
  .section--offers:hover .hscroll-nav,
  .section:hover .hscroll-nav { display: flex; }
}

@media (max-width: 480px) {
  .topbar__inner { padding: 0 var(--sp-3); gap: var(--sp-2); }
  .brand__name { font-size: 18px; }
  .offer-card { width: 220px; }
  .player-card { width: 190px; }
  .hscroll--wide > * { width: 260px; }
  .dica-card { width: 260px; }
  .grid-cards { grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
  .section__title { font-size: 18px; }
  .game-row { grid-template-columns: 56px 1fr; }
  .game-row__odds { grid-column: 1 / -1; justify-content: stretch; }
  .game-row__odds .odd-btn { flex: 1; }
  .cupom { width: 92vw; }
}

@media (max-width: 360px) {
  .offer-card { width: 196px; }
  .player-card { width: 172px; }
}
