/* ---------- botão sólido (pro .btn--brand, que é branco-sobre-laranja, não servir
   dentro de modal/card branco — aqui o fundo É laranja, com texto branco) ---------- */
.btn--solid { background: var(--brand); color: #fff; }
.btn--solid:hover { background: var(--accent-dark); }

/* views.css — telas novas (ao vivo cheia, próximos cheia, partida, cassino,
 * ofertas, conta, modais). Reaproveita os tokens e os componentes de app.css
 * (btn, chip, tab, seg, odd-btn, stake-input, crest, empty-state...).
 */

/* ============================================================ título de lista cheia (ao vivo / próximos) */
.vw-listpage__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-3); flex-wrap: wrap; }
.vw-listpage__title { font-family: var(--font-title); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: .2px; }
.vw-listpage__updated { font-size: 12px; color: var(--muted-2); font-weight: 600; }

/* ---------- grupos por liga (cabeçalho colapsável) ---------- */
.league-group { margin-bottom: var(--sp-3); }
.league-group__head {
  display: flex; align-items: center; gap: var(--sp-2); width: 100%; text-align: left;
  background: var(--text); color: #fff; border: none; border-radius: 8px 8px 0 0;
  padding: 10px 14px; font-weight: 700; font-size: 13px; cursor: pointer;
}
.league-group.is-collapsed .league-group__head { border-radius: var(--radius); }
.league-group__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.league-group__chev { transition: transform var(--dur) var(--ease); flex-shrink: 0; }
.league-group.is-collapsed .league-group__chev { transform: rotate(-90deg); }
.league-group.is-collapsed .league-group__body { display: none; }
.league-group__body { background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); padding: var(--sp-2); }
.league-group .game-list { gap: var(--sp-2); }
.league-group .game-row { box-shadow: none; border: 1px solid var(--line); }
.league-group .crest { width: 22px; height: 22px; font-size: 9.5px; flex-shrink: 0; }

/* ============================================================ PARTIDA */
.vw-match-loading { padding: var(--sp-7) 0; text-align: center; color: var(--muted-2); }
.vw-match__breadcrumb { display: flex; align-items: center; gap: var(--sp-2); font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: var(--sp-3); }
.vw-match__breadcrumb .crest { width: 20px; height: 20px; font-size: 9px; }
.vw-match__back {
  width: 30px; height: 30px; border-radius: 50%; background: var(--surface); display: flex;
  align-items: center; justify-content: center; box-shadow: var(--shadow-1); flex-shrink: 0; color: var(--text);
}
.vw-match__card {
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2)); border-radius: var(--radius);
  padding: var(--sp-5); margin-bottom: var(--sp-4);
}
.vw-match__kickoff, .vw-match__score {
  text-align: center; background: var(--surface); border-radius: var(--radius-pill); padding: 8px 16px;
  font-size: 13px; font-weight: 700; width: fit-content; margin: 0 auto var(--sp-4); box-shadow: var(--shadow-1);
}
.vw-match__score strong { font-size: 18px; color: var(--accent-dark); }
.vw-match__teams { display: flex; align-items: center; justify-content: center; gap: var(--sp-6); }
.vw-match__team { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.vw-match__team .crest { width: 52px; height: 52px; font-size: 16px; background: var(--surface); box-shadow: var(--shadow-1); }
.vw-match__team strong { font-size: 16px; font-weight: 700; text-align: center; }
.vw-match__x { color: var(--muted-2); font-weight: 700; }
.vw-match__tabs { margin-bottom: var(--sp-4); }
.vw-match__section-title { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; margin: 0 0 var(--sp-3); }

.tip-card { width: 300px; background: var(--surface); border-radius: var(--radius); padding: var(--sp-4); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 8px; }
.tip-card__badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: var(--blue); background: #e9f1fc; border-radius: var(--radius-pill); padding: 3px 8px; width: fit-content; }
.tip-card p { font-size: 13px; color: var(--text); line-height: 1.4; }
.tip-card small { font-size: 12px; color: var(--muted); }
.tip-card .market-opt { width: 100%; }

.market-list { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-4); }
.market-card { background: var(--surface); border-radius: var(--radius); padding: var(--sp-4); box-shadow: var(--shadow-1); }
.market-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.market-card__head h3 { font-size: 15px; font-weight: 700; }
.market-card__tag { font-size: 10.5px; font-weight: 800; color: var(--green); background: var(--green-bg); border-radius: var(--radius-pill); padding: 4px 10px; letter-spacing: .02em; }
.market-card__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-2); }
.market-opt.odd-btn {
  width: auto; height: auto; min-width: 0; display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-2); padding: 10px 14px; font-weight: 600; font-size: 13.5px;
}
.market-opt strong { font-weight: 800; color: var(--accent-dark); }
.market-opt.is-selected strong { color: #fff; }
.market-opt--full { width: 100%; justify-content: center; gap: var(--sp-2); }
.market-card__more {
  margin-top: var(--sp-3); width: 100%; background: none; border: none; display: flex; align-items: center;
  justify-content: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: 13px; padding: 8px; cursor: pointer;
}

/* ---------- sidebar da partida (agenda da competição) ---------- */
.vw-matchside__title { font-family: var(--font-title); font-size: 20px; font-weight: 800; text-transform: uppercase; margin-bottom: var(--sp-2); }
.vw-matchside__league { display: flex; align-items: center; gap: var(--sp-2); font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 8px; margin-bottom: var(--sp-2); }
.vw-matchside__league .crest { width: 20px; height: 20px; font-size: 9px; }
.vw-matchside__item {
  display: block; background: var(--surface); border: 1.5px solid transparent; border-radius: var(--radius);
  padding: var(--sp-3); margin-bottom: var(--sp-2); box-shadow: var(--shadow-1);
}
.vw-matchside__item.is-current { border-color: var(--brand); }
.vw-matchside__time { font-size: 11.5px; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 4px; }
.vw-matchside__teams { display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.vw-matchside__odds { display: flex; gap: var(--sp-2); font-size: 11px; color: var(--muted); }
.vw-matchside__odds strong { color: var(--text); margin-left: 2px; }

/* ============================================================ CASSINO */
.layout--cassino { grid-template-columns: var(--side-w) minmax(0, 1fr); }
.layout--cassino .cupom { display: none; }
.layout--cassino .sidebar { background: var(--dk-surface); border-radius: var(--radius); padding: var(--sp-3) 0; }
.sidebar--dark .sidebar__scroll { gap: 2px; }
.cassino-nav { display: flex; flex-direction: column; }
.cassino-nav__item, .cassino-nav__group {
  display: flex; align-items: center; gap: var(--sp-2); padding: 10px 14px; color: var(--dk-muted);
  font-size: 13.5px; font-weight: 600; border-radius: 8px; cursor: pointer;
}
.cassino-nav__item:hover { background: var(--dk-surface-2); color: #fff; }
.cassino-nav__group { color: #fff; justify-content: flex-start; }
.cassino-nav__group svg:last-child { margin-left: auto; }
.cassino-nav__divider { height: 1px; background: var(--dk-line); margin: var(--sp-2) 14px; }
.cassino-nav__item--sub { padding-left: 14px; }
.cassino-nav__item--sub small { margin-left: auto; color: var(--dk-muted); font-weight: 700; }
.cassino-nav__new { margin-left: auto; background: var(--brand); color: #fff; font-size: 9.5px; font-weight: 800; border-radius: 5px; padding: 2px 6px; }

.cassino-page { background: var(--dk-bg); border-radius: var(--radius); padding: var(--sp-5); color: #fff; min-height: 70vh; }
.cassino-search {
  display: flex; align-items: center; gap: var(--sp-2); background: var(--dk-surface); border-radius: var(--radius-pill);
  padding: 10px 16px; max-width: 420px; margin-bottom: var(--sp-5); color: var(--dk-muted);
}
.cassino-search input { background: none; border: none; outline: none; color: #fff; width: 100%; font-size: 14px; }
.cassino-section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-3); }
.cassino-section__head h2, .cassino-section__title { font-size: 19px; font-weight: 800; }
.cassino-section__title { margin: var(--sp-6) 0 var(--sp-3); }
.cassino-count { display: inline-flex; align-items: center; gap: 4px; background: var(--dk-surface-2); border-radius: var(--radius-pill); padding: 5px 12px; font-size: 12.5px; font-weight: 700; color: var(--dk-muted); }

.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.slot-card { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 8px; padding: 0; }
.slot-card__art {
  aspect-ratio: 1; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease);
}
.slot-card:hover .slot-card__art { transform: scale(1.03); }
.slot-card__initial { font-family: var(--font-title); font-size: 40px; font-weight: 800; color: rgba(255,255,255,.85); }
.slot-card__name { font-size: 12.5px; font-weight: 600; color: #fff; text-align: left; }

.provider-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.provider-card {
  background: var(--dk-surface); border-radius: var(--radius); padding: var(--sp-4); display: flex;
  flex-direction: column; align-items: center; gap: 6px; text-align: center;
}
.provider-card strong { font-size: 15px; }
.provider-card span { font-size: 12px; color: var(--dk-muted); background: var(--dk-surface-2); border-radius: var(--radius-pill); padding: 2px 10px; }

/* ============================================================ PÁGINA DE OFERTA */
.offer-page { max-width: 640px; margin: 0 auto; }
.offer-page__hero { text-align: center; padding: var(--sp-6) var(--sp-4); background: var(--accent-soft-2); border-radius: var(--radius); margin-bottom: var(--sp-5); }
.offer-page__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--sp-3); }
.offer-page__icon svg { width: 26px; height: 26px; }
.offer-page__hero h1 { font-family: var(--font-title); font-size: 30px; font-weight: 800; text-transform: uppercase; }
.offer-page__hero p { margin-top: var(--sp-2); color: var(--muted); font-size: 15px; }
.offer-page__steps { background: var(--surface); border-radius: var(--radius); padding: var(--sp-5); box-shadow: var(--shadow-1); margin-bottom: var(--sp-4); }
.offer-page__steps h2 { font-size: 15px; font-weight: 800; margin-bottom: var(--sp-3); }
.offer-page__steps ol { list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: var(--sp-2); }
.offer-page__steps li { font-size: 14px; color: var(--text); line-height: 1.5; }
.offer-page__cta { max-width: 320px; margin: 0 auto; display: block; }

/* ============================================================ CARTEIRA (depósito / saque) */
.wallet-tabs { max-width: 420px; margin: 0 auto var(--sp-4); }
.wallet-tabs .seg__btn { text-align: center; }
.wallet-card { max-width: 420px; margin: 0 auto; background: var(--surface); border-radius: var(--radius); padding: var(--sp-5); box-shadow: var(--shadow-1); }
.wallet-card h1 { font-family: var(--font-title); font-size: 24px; font-weight: 800; text-transform: uppercase; text-align: center; margin-bottom: var(--sp-2); }
.wallet-card__hint { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: var(--sp-4); }
.wallet-card .chip--range.is-active { background: var(--text); color: #fff; }
.wallet-qr { text-align: center; margin: var(--sp-4) 0; }
.wallet-qr__box { display: inline-flex; padding: var(--sp-3); background: var(--surface-2); border-radius: var(--radius); margin-bottom: var(--sp-3); }
.wallet-field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); margin: var(--sp-3) 0; }
.wallet-field input { border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 500; color: var(--text); }
.wallet-card__fine { text-align: center; font-size: 12px; color: var(--muted-2); margin-top: var(--sp-3); }

/* ============================================================ PÁGINA NÃO ENCONTRADA */
.notfound-card { background: var(--surface); border-radius: var(--radius); padding: var(--sp-7); text-align: center; box-shadow: var(--shadow-1); }
.notfound-card h2 { font-size: 18px; margin-bottom: var(--sp-3); }

/* ============================================================ MODAIS (busca, entrar, cadastrar, aviso) */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(10,12,20,.55); z-index: 300;
  align-items: flex-start; justify-content: center; padding: 10vh var(--sp-3) var(--sp-4); overflow-y: auto;
}
.modal-overlay.is-open { display: flex; }
.modal-box { background: var(--surface); border-radius: var(--radius); padding: var(--sp-5); width: 100%; max-width: 420px; box-shadow: var(--shadow-2); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.modal-head h2 { font-family: var(--font-title); font-size: 22px; font-weight: 800; text-transform: uppercase; font-style: italic; }
.modal-close { background: var(--surface-2); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px; color: var(--muted); }
.modal-search { display: flex; align-items: center; gap: var(--sp-2); border: 1.5px solid var(--accent); border-radius: 8px; padding: 10px 14px; }
.modal-search input { border: none; outline: none; flex: 1; font-size: 14px; }
.modal-search svg { color: var(--muted-2); }
.modal-hint { font-size: 12.5px; color: var(--muted-2); margin-top: var(--sp-2); }
.modal-results { display: flex; flex-direction: column; gap: 4px; margin-top: var(--sp-3); max-height: 320px; overflow-y: auto; }
.modal-result { display: flex; justify-content: space-between; align-items: center; background: none; border: none; padding: 10px; border-radius: 8px; text-align: left; font-size: 14px; font-weight: 600; cursor: pointer; }
.modal-result:hover { background: var(--surface-2); }
.modal-result small { color: var(--muted-2); font-weight: 600; font-size: 11px; }

.modal-form { display: flex; flex-direction: column; gap: var(--sp-3); }
.modal-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.modal-form input[type=text], .modal-form input[type=password], .modal-form input[type=email], .modal-form input[type=tel] {
  border: 1.5px solid var(--line-2); border-radius: 8px; padding: 11px 12px; font-size: 14px; font-weight: 500; color: var(--text);
}
.modal-form input:focus { outline: none; border-color: var(--accent); }
.modal-form__links { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.modal-form__links a { color: var(--accent-dark); font-weight: 700; }
.modal-step { font-size: 13px; color: var(--muted); margin-bottom: var(--sp-3); }
.modal-info { font-size: 14px; color: var(--text); margin-bottom: var(--sp-4); line-height: 1.5; }
.wallet-field--check { flex-direction: row !important; align-items: flex-start; gap: var(--sp-2) !important; font-weight: 500 !important; color: var(--text) !important; font-size: 13px !important; }
.wallet-field--check input { margin-top: 3px; }
.wallet-field--check a { color: var(--accent-dark); font-weight: 700; }

.signup-progress { display: flex; gap: 4px; margin-bottom: var(--sp-3); }
.signup-progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--line-2); }
.signup-progress span.is-done { background: var(--accent); }

/* ============================================================ RESPONSIVO */
@media (max-width: 900px) {
  .layout--cassino { grid-template-columns: 1fr; }
  .layout--cassino .sidebar { display: none; }
  .vw-match__teams { gap: var(--sp-4); }
  .vw-match__team .crest { width: 42px; height: 42px; font-size: 13px; }
  .slot-grid, .provider-grid { grid-template-columns: repeat(2, 1fr); }
  .market-card__options { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .vw-listpage__title { font-size: 20px; }
  .modal-box { padding: var(--sp-4); }
}
