/* ============================================================
   Components - measured against the source at 1920×945
   ============================================================ */

/* ---------- Hero carousel (3 per view, 16px gap, 16:9) ---------- */
.hero { --per: 3; position: relative; margin-bottom: 16px; overflow: hidden; border-radius: var(--r); touch-action: pan-y; }
.hero__track { display: flex; gap: 16px; will-change: transform; }
.hero__track.animate { transition: transform .6s var(--ease); }
.hero__slide { flex: 0 0 calc((100% - (var(--per) - 1) * 16px) / var(--per)); aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; cursor: pointer; background: var(--background-400); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); pointer-events: none; }
.hero__slide:hover img { transform: scale(1.03); }
.hero__dots { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; z-index: 2; }
.hero__dot { height: 8px; width: 8px; border-radius: 999px; background: var(--text-primary); opacity: .9; transition: width .3s var(--ease), background .3s; }
.hero__dot.is-active { width: 30px; background: var(--text-default); opacity: 1; }

/* ---------- Recent wins ticker ---------- */
.wins { margin-bottom: 24px; overflow: hidden; }
.wins__track { display: flex; gap: 8px; }
.wcard { flex: 0 0 64px; width: 64px; cursor: pointer; }
.wcard.enter { animation: winIn .5s var(--ease) both; }
@keyframes winIn { from { opacity: 0; transform: translateX(-24px) scale(.9); } to { opacity: 1; transform: none; } }
.win__thumb { width: 64px; height: 64px; border-radius: var(--r); overflow: hidden; background: var(--background-400); }
.win__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--fast); }
.wcard:hover .win__thumb img { transform: scale(1.08); }
.win__row { display: flex; align-items: center; gap: 3px; margin-top: 4px; height: 16px; }
.win__mult { font-size: 12px; font-weight: 700; line-height: 16px; padding: 0 3px; border-radius: 4px; color: #fff; background: var(--warning-main); flex-shrink: 0; }
.win__mult.hi { background: var(--error-main); }
.win__user { font-size: 12px; line-height: 16px; color: var(--text-secondary); overflow: hidden; white-space: nowrap; }
.win__amt { margin-top: 3px; font-size: 13px; font-weight: 700; line-height: 18px; text-align: center; color: var(--success-main); white-space: nowrap; overflow: hidden; }

/* ---------- Lobby tabs + search ---------- */
.lobbybar { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.tabs { flex: 1; min-width: 0; max-width: 100%; display: flex; gap: 8px; padding: 8px 8px 6px; background: var(--background-400); border-radius: var(--r-lg); overflow-x: auto; scrollbar-width: thin; }
.tabs::-webkit-scrollbar { height: 8px; }
.tabs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); border-radius: 4px; }
.tab { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r); flex-shrink: 0; font-weight: 600; font-size: 14px; color: var(--text-default); white-space: nowrap; transition: background var(--fast); }
.tab img { width: 24px; height: 24px; }
.tab:hover { background: var(--grey-8); }
.tab.is-active { background: var(--background-200); }
.search { flex: 0 0 22.3%; min-width: 220px; height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--background-400); border-radius: var(--r-lg); border: 1px solid transparent; transition: border-color var(--fast); }
.search:focus-within { border-color: var(--primary-main); }
.search .ico { color: var(--text-secondary); display: flex; }
.search input { flex: 1; min-width: 0; border: none; font-size: 16px; font-weight: 500; color: #fff; }
.search input::placeholder { color: var(--text-secondary); }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }

/* ---------- Section header ---------- */
.section { margin-bottom: 32px; }
.section.tight { margin-bottom: 16px; }
.section__head { display: flex; align-items: center; gap: 8px; height: 36px; margin-bottom: 16px; }
.section.tight .section__head { margin-bottom: 8px; }
.section__title { display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 28px; font-weight: 700; color: #fff; min-width: 0; }
.section__title img { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.section__title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.chip-all { display: flex; align-items: center; gap: 2px; height: 36px; padding: 0 12px; border-radius: var(--r); background: var(--grey-300); font-weight: 700; font-size: 14px; color: #fff; transition: background var(--fast); }
.chip-all:hover { background: var(--background-200); }
.arrow-btn { width: 36px; height: 36px; border-radius: var(--r); background: var(--grey-300); display: flex; align-items: center; justify-content: center; color: #fff; transition: background var(--fast), color var(--fast); }
.arrow-btn:hover:not(:disabled) { background: var(--background-200); }
.arrow-btn:disabled { cursor: not-allowed; color: var(--text-disabled); }

/* ---------- Game rows (8 per view, 12px gap, 5:7 cards) ---------- */
.row { --per: 8; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * 12px) / var(--per)); gap: 12px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.row.rows-3 { grid-template-rows: repeat(3, auto); }

.game-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }

/* ---------- Game card ---------- */
.gcard { position: relative; aspect-ratio: 5 / 7; border-radius: var(--r); overflow: hidden; cursor: pointer; background: var(--background-400); }
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.gcard:hover img { transform: scale(1.06); }
.gcard__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px; background: rgba(8, 8, 8, .72); opacity: 0; transition: opacity var(--fast); }
.gcard:hover .gcard__overlay { opacity: 1; }
.gcard__play { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-main); display: flex; align-items: center; justify-content: center; color: #fff; transform: scale(.7); transition: transform .3s var(--ease); }
.gcard:hover .gcard__play { transform: scale(1); }
.gcard__name { font-size: 13px; font-weight: 700; text-align: center; line-height: 16px; color: #fff; }
.gcard__prov { font-size: 11px; font-weight: 600; color: var(--text-secondary); }

/* ---------- Promotions (3 per view) ---------- */
.promo-row { --per: 3; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * 12px) / var(--per)); gap: 12px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.promo-row::-webkit-scrollbar { display: none; }
.promo-row > * { scroll-snap-align: start; }
.promos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.promo-card { display: flex; flex-direction: column; background: var(--background-300); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: transform var(--med) var(--ease); }
.promo-card:hover { transform: translateY(-3px); }
.promo-card__img { aspect-ratio: 16 / 9; overflow: hidden; }
.promo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.promo-card:hover .promo-card__img img { transform: scale(1.04); }
.promo-card__body { padding: 12px 12px 14px; }
.promo-card__title { font-size: 18px; line-height: 28px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-card__tags { display: flex; align-items: center; gap: 6px; margin: 2px 0 4px; }
.tag-live { font-size: 14px; line-height: 20px; font-weight: 600; padding: 0 6px; border-radius: 6px; background: var(--primary-main); color: #fff; white-space: nowrap; }
.promo-card__valid { font-size: 14px; line-height: 20px; color: var(--text-secondary); font-weight: 500; }
.promo-card__desc { font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; }
.promo-card__foot { display: flex; gap: 8px; margin-top: 12px; }

/* ---------- Providers (8 per view) ---------- */
.prov-row { --per: 8; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * 12px) / var(--per)); gap: 12px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.prov-row::-webkit-scrollbar { display: none; }
.prov-row > * { scroll-snap-align: start; }
.prov-chip { height: 66px; display: flex; align-items: center; justify-content: center; padding: 10px 14px; background: var(--background-400); border-radius: var(--r); cursor: pointer; transition: background var(--fast); }
.prov-chip:hover { background: var(--background-300); }
.prov-chip img { max-height: 40px; max-width: 100%; object-fit: contain; }
.prov-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--r); font-weight: 700; font-size: 14px; color: #fff; white-space: nowrap; transition: filter var(--fast), background var(--fast), transform var(--fast); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn--primary { background: var(--primary-main); }
.btn--primary:hover:not(:disabled) { filter: brightness(1.15); }
.btn--gold { background: var(--warning-main); color: #1c1403; }
.btn--gold:hover { filter: brightness(1.08); }
.btn--ghost { background: var(--grey-300); }
.btn--ghost:hover { background: var(--background-200); }
.btn--block { width: 100%; }
.btn--lg { height: 48px; font-size: 16px; }

/* ---------- Bets table ---------- */
.bets { margin-bottom: 16px; }
.bets__tabs { display: flex; width: 482px; max-width: 100%; gap: 8px; padding: 6px 8px; background: var(--background-400); border-radius: var(--r); margin-bottom: 16px; }
.bets__tab { flex: 1; height: 36px; border-radius: var(--r); font-weight: 600; font-size: 14px; color: var(--text-default); transition: background var(--fast); }
.bets__tab.is-active { background: var(--grey-300); }
.bets__table { width: 100%; border-collapse: separate; border-spacing: 0 4px; table-layout: fixed; font-size: 12px; }
.bets__table th { height: 40px; padding: 0 8px; text-align: left; font-size: 14px; font-weight: 600; color: var(--text-default); background: var(--background-400); }
.bets__table th:first-child, .bets__table td:first-child { border-radius: var(--r) 0 0 var(--r); }
.bets__table th:last-child, .bets__table td:last-child { border-radius: 0 var(--r) var(--r) 0; }
.bets__table td { height: 40px; padding: 0 8px; background: var(--background-400); font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bets__table tbody tr { animation: rowIn .45s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.bets__body { position: relative; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.bet-game { display: flex; align-items: center; gap: 8px; }
.bet-game img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }
.bet-game span { overflow: hidden; text-overflow: ellipsis; }
.bet-amt, .bet-pay { display: inline-flex; align-items: center; gap: 4px; }
.bet-amt img, .bet-pay img { width: 14px; height: 14px; }
.bet-pay.win { color: var(--success-main); }
.bet-mult { display: inline-block; font-size: 12px; font-weight: 700; line-height: 20px; padding: 0 8px; border-radius: 4px; background: var(--grey-300); color: var(--text-secondary); }
.bet-mult.win { background: var(--primary-main); color: #fff; }

/* ---------- Footer (boxed, as in the source) ---------- */
.footer-box { margin-top: 32px; padding: 32px; border-radius: var(--r-lg); background: var(--background-400); border: 1px solid var(--grey-12); }
.responsible { display: flex; align-items: center; justify-content: space-around; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--grey-24); flex-wrap: wrap; }
.responsible img { width: 240px; max-width: 42%; height: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 32px 0; }
.footer__col h4 { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--text-default); margin-bottom: 20px; }
.footer__col a { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; cursor: pointer; transition: color var(--fast); }
.footer__col a:hover { color: var(--text-primary); }
.footer__brand { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.footer__desc { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-default); margin-top: 24px; max-width: 560px; }
.footer__legal { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-default); }
.footer__ver { font-size: 14px; font-weight: 600; color: var(--text-default); margin-top: 48px; }
.footer__copy { text-align: center; font-size: 14px; font-weight: 600; color: var(--text-default); padding: 32px 0 8px; }

/* ---------- Modals ---------- */
.modal-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { width: 100%; max-width: 440px; background: var(--background-400); border: 1px solid var(--grey-24); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); max-height: 92vh; overflow-y: auto; }
.modal--wide { max-width: 940px; }
.modal__head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--grey-24); position: sticky; top: 0; background: var(--background-400); z-index: 2; }
.modal__title { font-size: 18px; font-weight: 700; }
.modal__close { margin-left: auto; width: 36px; height: 36px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; background: var(--grey-300); color: var(--text-secondary); transition: color var(--fast); }
.modal__close:hover { color: #fff; }
.modal__body { padding: 20px; }

.seg { display: flex; gap: 8px; padding: 6px; background: var(--background-500); border-radius: var(--r); margin-bottom: 20px; }
.seg button { flex: 1; height: 36px; border-radius: var(--r); font-weight: 600; font-size: 14px; color: var(--text-secondary); transition: background var(--fast), color var(--fast); }
.seg button.is-active { background: var(--grey-300); color: #fff; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r); background: var(--background-300); border: 1px solid var(--grey-20); font-size: 14px; font-weight: 500; color: #fff; transition: border-color var(--fast); }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #919eab 50%), linear-gradient(135deg, #919eab 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--background-400); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary-main); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-disabled); }
.field .err { display: block; color: var(--error-main); font-size: 12px; margin-top: 4px; font-weight: 600; }
.field input.invalid { border-color: var(--error-main); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.amounts button { height: 40px; border-radius: var(--r); background: var(--background-300); border: 1px solid var(--grey-20); font-weight: 700; font-size: 14px; transition: border-color var(--fast); }
.amounts button:hover, .amounts button.is-active { border-color: var(--primary-main); }
.modal__note { font-size: 12px; line-height: 18px; color: var(--text-secondary); text-align: center; margin-top: 14px; }
.pix-box { border: 1px dashed var(--grey-24); border-radius: var(--r-lg); padding: 18px; text-align: center; }
.pix-qr { width: 168px; height: 168px; margin: 0 auto 14px; padding: 10px; border-radius: var(--r); background: #fff; }
.pix-qr svg { width: 100%; height: 100%; }
.pix-code { display: flex; gap: 8px; margin-bottom: 12px; }
.pix-code input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border-radius: var(--r); background: var(--background-300); border: 1px solid var(--grey-20); font-size: 12px; color: var(--text-secondary); }
.balance-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; margin-bottom: 16px; background: var(--background-300); border-radius: var(--r); }
.balance-box span { display: block; font-size: 12px; }
.balance-box strong { font-size: 17px; }

/* Wallet */
.b.hl, b.hl { color: var(--warning-main); font-weight: 800; }
.seg--sm { padding: 4px; margin-bottom: 16px; }
.seg--sm button { height: 32px; font-size: 13px; }
.cur-pick { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: var(--r); background: var(--background-300); border: 1px solid var(--grey-20); font-size: 14px; }
.cur-pick img { width: 24px; height: 24px; }
.cur-pick span { margin-left: auto; font-size: 12px; }
.pay-methods { display: grid; gap: 8px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--background-300); border: 1px solid var(--grey-20); text-align: left; }
.pay-method.is-active { border-color: var(--primary-main); background: var(--primary-8); }
.pay-method img { width: 30px; height: 30px; }
.pay-method span { flex: 1; display: flex; flex-direction: column; }
.pay-method small { font-size: 12px; color: var(--text-secondary); }
.pay-method svg { color: var(--primary-light); }
.pix-logo { flex: 0 0 auto !important; width: 38px; height: 30px; border-radius: 6px; background: #32bcad; color: #fff; font-weight: 900; font-size: 11px; display: flex !important; align-items: center; justify-content: center; letter-spacing: .5px; }
.deposit-bonus { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: var(--r); background: linear-gradient(90deg, rgba(255,196,77,.12), rgba(98,0,254,.12)); border: 1px solid rgba(255,196,77,.3); font-size: 14px; font-weight: 600; transition: opacity var(--fast); }
.deposit-bonus.off { opacity: .55; }
.deposit-bonus img { width: 32px; height: 32px; flex-shrink: 0; }
.deposit-bonus small { display: block; font-size: 12px; font-weight: 500; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--primary-light); }
.secure-row { display: flex; justify-content: center; gap: 18px; margin-top: 12px; font-size: 12px; color: var(--text-secondary); font-weight: 600; }
.secure-row span { display: inline-flex; align-items: center; gap: 5px; }
.secure-row svg { color: var(--success-main); }
.pay-amount { font-size: 22px; font-weight: 800; margin: 2px 0 4px; }
.countdown { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--warning-main); margin-bottom: 12px; }
.notice { text-align: left; padding: 12px; margin-bottom: 12px; border-radius: var(--r); background: rgba(254,84,45,.08); border: 1px solid rgba(254,84,45,.3); font-size: 12px; line-height: 18px; }
.notice b { color: var(--error-main); display: block; margin-bottom: 4px; }
.notice p { color: var(--text-secondary); margin-top: 4px; }
.cur-switch { display: flex; gap: 8px; }
.cur-switch button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: var(--r); background: var(--background-300); border: 1px solid var(--grey-20); font-weight: 700; }
.cur-switch button.is-active { border-color: var(--primary-main); background: var(--primary-8); }
.cur-switch img { width: 20px; height: 20px; }
.hint { font-size: 12px; line-height: 17px; color: var(--text-secondary); margin: -8px 0 14px; }
.field .hint { margin: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { height: 32px; padding: 0 14px; border-radius: 999px; background: var(--background-300); font-size: 13px; font-weight: 600; color: var(--text-secondary); transition: background var(--fast), color var(--fast); }
.chip.is-active { background: var(--primary-main); color: #fff; }
.tx-list { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; }
.tx-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); background: var(--background-300); font-size: 14px; }

/* ---------- Auth ---------- */
.auth__banner { margin: -4px 0 16px; border-radius: var(--r-lg); overflow: hidden; }
.auth__banner img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.auth__title { font-size: 20px; line-height: 28px; margin-bottom: 4px; }
.auth__step { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 14px; }
.auth form { margin-top: 12px; }
.phone-field { display: flex; gap: 8px; }
.phone-field span { display: flex; align-items: center; padding: 0 12px; border-radius: var(--r); background: var(--background-300); border: 1px solid var(--grey-20); font-weight: 700; font-size: 14px; white-space: nowrap; }
.phone-field input { flex: 1; min-width: 0; }
.eye-btn { position: absolute; right: 12px; top: 14px; color: var(--text-secondary); display: flex; }
.pw-rules { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.pw-rules li { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.pw-rules li.ok { color: var(--success-main); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 19px; color: var(--text-secondary); margin: 4px 0 12px; cursor: pointer; }
.check-row input { appearance: auto; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--primary-main); flex-shrink: 0; }
.check-row a { color: #fff; text-decoration: underline; }
.check-row.bad { color: var(--error-main); }

/* ---------- Game modal ---------- */
.gm { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; }
.gm__stage { aspect-ratio: 16 / 10; position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; }
.gm__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.45); transform: scale(1.15); }
.gm__stage-inner { position: relative; text-align: center; z-index: 1; padding: 20px; }
.gm__cover { width: 110px; border-radius: var(--r); margin: 0 auto 12px; box-shadow: var(--shadow); }
.gm__reels { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; }
.gm__reel { width: 58px; height: 70px; border-radius: var(--r); background: rgba(0,0,0,.55); border: 1px solid var(--grey-24); display: flex; align-items: center; justify-content: center; font-size: 34px; overflow: hidden; }
.gm__reel.spin span { animation: reel .12s linear infinite; }
@keyframes reel { from { transform: translateY(-60%); } to { transform: translateY(60%); } }
.gm__meta-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; color: var(--text-secondary); flex-wrap: wrap; }
.gm__stat { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--grey-24); font-size: 14px; }
.gm__stat span:last-child { font-weight: 700; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 20px; top: 76px; z-index: 120; display: flex; flex-direction: column; gap: 8px; max-width: 360px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--background-300); border: 1px solid var(--grey-24); border-radius: var(--r-lg); padding: 12px 14px; box-shadow: var(--shadow); font-weight: 600; font-size: 14px; pointer-events: auto; }
.toast .ico { display: flex; color: var(--primary-light); }
.toast.win .ico { color: var(--success-main); }
.toast.gold .ico { color: var(--warning-main); }
.toast.error .ico { color: var(--error-main); }

/* ---------- Inner pages ---------- */
.page-hero { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; }
.page-hero img { width: 100%; aspect-ratio: 1920 / 560; object-fit: cover; }
.page-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.page-head img { width: 28px; height: 28px; object-fit: contain; }
.page-title { font-size: 24px; line-height: 32px; font-weight: 700; }
.page-sub { color: var(--text-secondary); margin-bottom: 24px; font-size: 14px; }
.card { background: var(--background-400); border-radius: var(--r-lg); padding: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.empty { text-align: center; padding: 64px 20px; color: var(--text-secondary); }
.empty svg { margin: 0 auto 14px; color: var(--grey-300); }
.filters { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.filters .tabs { flex: 1; }
.select { height: 56px; padding: 0 40px 0 16px; border-radius: var(--r-lg); background: var(--background-400); border: 1px solid transparent; font-weight: 600; font-size: 14px; color: #fff; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #919eab 50%), linear-gradient(135deg, #919eab 50%, transparent 50%); background-position: calc(100% - 20px) 25px, calc(100% - 15px) 25px; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { background: var(--background-400); }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; color: var(--text-secondary); font-size: 13px; }
.progress { width: 220px; height: 4px; border-radius: 4px; background: var(--grey-300); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--primary-main); }

.vip-tier { text-align: center; padding: 24px 16px; border-radius: var(--r-lg); background: var(--background-400); border: 1px solid var(--grey-12); transition: transform var(--med) var(--ease); }
.vip-tier:hover { transform: translateY(-4px); }
.vip-tier__medal { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.vip-tier__name { font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.vip-tier__req { color: var(--text-secondary); font-size: 13px; margin-bottom: 14px; }
.vip-tier ul { text-align: left; display: flex; flex-direction: column; gap: 8px; }
.vip-tier li { display: flex; gap: 8px; font-size: 13px; }
.vip-tier li svg { color: var(--success-main); flex-shrink: 0; }
.vip-progress { height: 10px; border-radius: 10px; background: var(--grey-300); overflow: hidden; margin: 10px 0 6px; }
.vip-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary-main), var(--primary-light)); border-radius: 10px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { padding: 20px; border-radius: var(--r-lg); background: var(--background-400); }
.step__n { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-main); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }
.step h4 { margin-bottom: 6px; font-size: 16px; }
.step p { color: var(--text-secondary); font-size: 13px; line-height: 20px; }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--background-400); border-radius: var(--r-lg); padding: 18px; }
.stat__v { font-size: 24px; font-weight: 800; color: var(--warning-main); }
.stat__l { color: var(--text-secondary); font-size: 13px; margin-top: 2px; }

.copy-field { display: flex; gap: 8px; margin: 8px 0 18px; }
.copy-field input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: var(--r); background: var(--background-300); border: 1px solid var(--grey-20); font-weight: 700; font-size: 15px; color: #fff; }
.label-sm { font-size: 12px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .4px; }

.faq-item { background: var(--background-400); border-radius: var(--r-lg); overflow: hidden; }
.faq-item button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 600; font-size: 14px; text-align: left; }
.faq-item button svg { margin-left: auto; flex-shrink: 0; color: var(--text-secondary); transition: transform var(--fast); }
.faq-item.open button svg { transform: rotate(180deg); }
.faq-item p { padding: 0 18px 16px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }

.market { display: flex; flex-direction: column; gap: 14px; }
.market__head { display: flex; align-items: center; gap: 12px; }
.market__icon { width: 44px; height: 44px; border-radius: var(--r); background: var(--background-300); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.market__icon img { width: 26px; height: 26px; }
.market__q { font-size: 15px; font-weight: 700; line-height: 21px; }
.market__meta { font-size: 12px; color: var(--text-secondary); }
.market__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.odd { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: var(--r); background: var(--background-300); border: 1px solid transparent; transition: border-color var(--fast), background var(--fast); }
.odd:hover { border-color: var(--primary-main); }
.odd.is-picked { border-color: var(--primary-main); background: var(--primary-16); }
.odd small { font-size: 12px; color: var(--text-secondary); font-weight: 600; text-align: center; }
.odd b { font-size: 15px; color: var(--warning-main); }
.odd .pct { font-size: 11px; color: var(--text-secondary); }
.bar { height: 6px; border-radius: 6px; background: var(--grey-300); overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; }

.match { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.match__teams { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.match__teams div { display: flex; justify-content: space-between; gap: 12px; }
.match__odds { display: grid; grid-template-columns: repeat(3, 76px); gap: 8px; }
.tag-soft { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--grey-300); color: var(--text-secondary); }
.tag-red { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: rgba(254, 84, 45, .16); color: var(--error-main); }

.betslip { position: sticky; top: calc(var(--header-h) + 24px); }
.betslip__item { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--grey-24); font-size: 13px; }

.chat { display: flex; flex-direction: column; height: 460px; }
.chat__log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px 2px 12px; }
.msg { max-width: 82%; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 19px; }
.msg.bot { background: var(--background-300); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--primary-main); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg time { display: block; font-size: 10px; opacity: .6; margin-top: 2px; }
.chat__form { display: flex; gap: 8px; }
.chat__form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: var(--r); background: var(--background-300); border: 1px solid var(--grey-20); color: #fff; font-size: 14px; }
.chat__form input:focus { border-color: var(--primary-main); }
.typing i { display: inline-block; width: 6px; height: 6px; margin: 0 1px; border-radius: 50%; background: var(--text-secondary); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.legal h2 { font-size: 16px; margin: 20px 0 8px; }
.legal p, .legal li { font-size: 14px; line-height: 22px; color: var(--text-secondary); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal-nav { display: flex; flex-direction: column; gap: 4px; }
.legal-nav a { padding: 10px 12px; border-radius: var(--r); font-weight: 600; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.legal-nav a:hover { background: var(--grey-8); color: #fff; }
.legal-nav a.is-active { background: var(--background-300); color: #fff; }
.layout-aside { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.layout-main-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }

/* LGPD cookie notice (CookieBanner.js) */
.pb-cookie { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 720px; display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: var(--r-lg, 12px); background: var(--background-400); border: 1px solid var(--grey-24); box-shadow: 0 12px 40px rgba(0,0,0,.5);
  animation: pbCookieIn .3s var(--ease, ease) both; }
.pb-cookie--tabbar { bottom: calc(4rem + var(--safe-bottom, 0px) + 12px); left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 12px; }
.pb-cookie__text { margin: 0; flex: 1; min-width: 0; font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--text-secondary); }
.pb-cookie__text b { color: var(--text-default); font-weight: 700; }
.pb-cookie__text a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
.pb-cookie__btn { flex-shrink: 0; height: 40px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--primary-main); color: var(--text-contrast, #111); font-weight: 700; font-size: 14px; cursor: pointer; }
.pb-cookie__btn:hover { filter: brightness(1.08); }
@keyframes pbCookieIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
