/* ============================================
   BETANO CLONE - MOBILE FIRST
   Visual conforme print: header laranja,
   6 ícones de esporte, dropdown liga,
   tabs, cards de jogos, bottom nav.
   ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #EA4116;
  --orange-2: #F04B20;
  --orange-3: #ffb380;
  --red: #ff334b;
  --red-2: #d91d3a;
  --green: #1fc16b;
  --green-deep: #17a155;
  --yellow: #ffd200;
  --bg: #f3f4f6;
  --card: #ffffff;
  --text: #0f1117;
  --text-dim: #6b7280;
  --text-mute: #9ca3af;
  --border: #e5e7eb;
  --border-2: #d1d5db;
  --live: #ff334b;
  --boost: #EA4116;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }
.hidden { display: none !important; }

/* ============================================
   TOP HEADER (laranja, full width)
   ============================================ */
.top-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 16px;
  background: var(--orange);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 12px;
}
.top-left { display: flex; align-items: center; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: #fff;
}
.brand-mark {
  background: #fff;
  color: var(--orange);
  width: 28px; height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -6px; top: 0;
  border-top: 14px solid #fff;
  border-right: 6px solid transparent;
  transform: scaleX(1);
  display: none;
}
.brand-text { font-size: 22px; font-weight: 900; }
.top-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.top-icon { color: #fff; opacity: 0.95; display: inline-flex; }
.top-icon:hover { opacity: 1; }
.top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  min-width: 60px;
}
.balance-icon { display: inline-flex; opacity: 0.95; }
.balance-text { text-align: left; font-weight: 800; }
.deposit-pill {
  background: var(--green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
  display: inline-block;
}
.deposit-pill:hover { background: var(--green-deep); }

/* ============================================
   SPORT ICONS ROW (6 ícones circulares)
   ============================================ */
.sport-icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 18px 8px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.sport-ico {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}
.sport-ico-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background 0.15s, color 0.15s, transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.sport-ico:hover .sport-ico-circle { transform: translateY(-2px); }
.sport-ico-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
}
/* States per sport */
.sport-ico.active .sport-ico-circle { box-shadow: 0 0 0 3px rgba(234,65,22,0.18), 0 2px 6px rgba(0,0,0,0.08); }
.sport-football { background: var(--red); color: #fff; border-color: var(--red); }
.sport-live    { background: var(--yellow); color: #1f2937; border-color: var(--yellow); }
.sport-basket  { background: #ff8a00; color: #fff; border-color: #ff8a00; }
.sport-tennis  { background: #2dd4bf; color: #fff; border-color: #2dd4bf; }
.sport-esports { background: #1f2937; color: #fff; border-color: #1f2937; }
.sport-casino  { background: #ffffff; color: var(--orange); border-color: var(--border-2); }

/* ============================================
   LEAGUE BAR (dropdown + troféu)
   ============================================ */
.league-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.league-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.league-flag { display: inline-flex; }
.league-flag svg { display: block; border-radius: 2px; }
.league-name { flex: 1; }
.league-caret { font-size: 12px; color: var(--text-dim); }
.trophy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

/* ============================================
   LEAGUE TABS (horizontal scroll)
   ============================================ */
.league-tabs {
  display: flex;
  gap: 0;
  padding: 0 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.league-tabs::-webkit-scrollbar { display: none; }
.league-tabs .lt {
  flex: 0 0 auto;
  padding: 12px 8px;
  margin-right: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
}
.league-tabs .lt.active {
  color: var(--text);
  font-weight: 800;
}
.league-tabs .lt.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  padding: 14px 12px 100px;
  max-width: 720px;
  margin: 0 auto;
}
.live-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin: 6px 4px 10px;
}
.live-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  animation: livepulse 1.4s infinite;
}
@keyframes livepulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* ============================================
   MATCH CARDS
   ============================================ */
.match-list { display: flex; flex-direction: column; gap: 8px; }
.match-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
  cursor: pointer;
}
.match-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.match-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.match-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.match-live { background: var(--red); color: #fff; }
.match-boost { background: var(--orange); color: #fff; }
.match-time { font-size: 12px; color: var(--text-dim); font-weight: 600; }
.match-icons { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.mi { color: var(--text-mute); display: inline-flex; }
.mi-star { color: var(--text-mute); }
.match-team {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}
.match-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.odd-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #f3f4f6;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.odd-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.odd-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.odd-lbl { font-size: 10px; color: var(--text-mute); font-weight: 700; }
.odd-btn:hover .odd-lbl, .odd-btn.active .odd-lbl { color: rgba(255,255,255,0.85); }
.odd-val { font-size: 14px; font-weight: 800; }

/* ============================================
   BOTTOM NAV
   ============================================ */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  z-index: 50;
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  padding: 6px 0;
  cursor: pointer;
}
.bn-item.active { color: var(--orange); }
.bn-item.active svg { stroke: var(--orange); }
.bn-item span { line-height: 1.1; }
.bn-casino {
  position: relative;
}
.bn-casino-glow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,65,22,0.35), transparent 65%);
  pointer-events: none;
}
.bn-casino-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.bn-casino.active .bn-casino-glow {
  background: radial-gradient(circle, rgba(234,65,22,0.55), transparent 65%);
}

/* ============================================
   HERO BANNER: Barcelona x PSG
   ============================================ */
.hero-barcelona {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #ff334b 0%, #c41e3a 60%, #6b0d1a 100%);
  margin-bottom: 14px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,51,75,0.85) 0%, rgba(196,30,58,0.65) 45%, rgba(0,0,0,0.05) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 16px 18px 14px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  opacity: 0.95;
}
.hero-icon { display: inline-flex; }
.hero-time { font-weight: 700; margin-left: 4px; }
.hero-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 6px 0 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  opacity: 0.95;
  margin-bottom: 4px;
}
.hero-card {
  background: #fff;
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.hero-card-title {
  font-size: 12px;
  font-weight: 700;
  flex: 1;
  line-height: 1.3;
}
.hero-odds {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}
.hero-old {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-mute);
  text-decoration: line-through;
  text-decoration-color: var(--text-mute);
  text-decoration-thickness: 1.5px;
}
.hero-new {
  font-size: 22px;
  font-weight: 900;
  color: var(--green-deep);
}

/* ============================================
   PROMO CARROSSEL (horizontal scroll, 4 cards)
   ============================================ */
.promo-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 12px;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  scrollbar-width: none;
  align-items: flex-start;
}
.promo-carousel::-webkit-scrollbar { display: none; }
.promo-slide {
  flex: 0 0 55%;
  max-width: 180px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  background: #1a1d2b;
}
.promo-slide:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.promo-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.promo-mamao-doce { background: var(--orange); }
.promo-mamao-pimenta { background: #1a1d2b; }
.promo-missoes { background: linear-gradient(135deg, #ff334b 0%, #EA4116 100%); }
.promo-melhores-odds { background: var(--orange); }

/* ============================================
   LIGAS POPULARES (grid 4 colunas)
   ============================================ */
.leagues-section {
  margin: 18px 0 12px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  padding: 0 4px;
}
.leagues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.league-tile {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 110px;
  gap: 4px;
}
.league-tile:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.league-tile-flag {
  position: relative;
  z-index: 1;
}
.league-tile-flag svg {
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.league-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  margin-top: -10px;
  margin-bottom: 2px;
  position: relative;
  z-index: 2;
  border: 2px solid #fff;
}
.league-tile-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-top: 2px;
}
.league-tile-tag {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px 24px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-height: 90vh;
  overflow-y: auto;
}
.modal h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}
.modal-sub { color: var(--text-dim); font-size: 13px; margin-bottom: 14px; }
.modal-close {
  position: absolute;
  top: 10px; right: 14px;
  font-size: 24px;
  color: var(--text-dim);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.modal input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.modal input:focus { border-color: var(--orange); }
.modal-primary {
  display: block;
  width: 100%;
  background: var(--orange);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  margin-top: 4px;
  transition: background 0.15s;
}
.modal-primary:hover { background: var(--orange-2); }
.modal-alt {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 14px;
}
.modal-alt a { color: var(--orange); font-weight: 700; }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.amount-btn {
  background: #fff;
  border: 1.5px solid var(--border-2);
  color: var(--text);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.amount-btn:hover { border-color: var(--orange); }
.amount-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.custom-amount input { width: 100%; }

.pix-result { margin-top: 18px; text-align: center; }
.pix-qr { display: flex; justify-content: center; margin-bottom: 12px; }
.pix-qr img { width: 200px; height: 200px; border: 1px solid var(--border); border-radius: 8px; }
.pix-instructions { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; }
.pix-code-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.pix-code-row input { flex: 1; font-size: 11px; font-family: monospace; }
.pix-code-row button {
  background: var(--orange);
  color: #fff;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}
.pix-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.pix-spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--border-2);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  max-width: 90vw;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error { background: var(--red); }
.toast.success { background: var(--green-deep); }

/* ============================================
   DESKTOP (centraliza, fundo cinza)
   ============================================ */
@media (min-width: 768px) {
  body { background: #e5e7eb; }
  .main-content { padding-bottom: 110px; }
  .top-header { padding: 14px 32px; }
  .bottom-nav { max-width: 720px; left: 50%; transform: translateX(-50%); border-radius: 14px 14px 0 0; }
  .league-bar { padding: 12px 32px; }
  .league-tabs { padding: 0 32px; }
}

/* ============================================
   FIXTURES MODAL
   ============================================ */
.fix-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 16px;
}
.fix-modal {
  background: #fff; border-radius: 14px; width: 100%; max-width: 480px;
  max-height: 80vh; display: flex; flex-direction: column; overflow: hidden;
}
.fix-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #e5e7eb;
  font-weight: 700; font-size: 15px; color: #0f1117;
}
.fix-modal-head button {
  background: none; border: 0; font-size: 26px; line-height: 1;
  color: #6b7280; cursor: pointer; padding: 0 4px;
}
.fix-modal-body { overflow-y: auto; padding: 8px 0; }
.fix-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid #f3f4f6;
}
.fix-row:last-child { border-bottom: 0; }
.fix-time {
  flex: 0 0 60px; text-align: center; font-size: 13px; font-weight: 600;
  color: #0f1117; display: flex; flex-direction: column; gap: 2px;
}
.fix-status { font-size: 10px; font-weight: 500; color: #999; text-transform: uppercase; }
.fix-teams { flex: 1; display: flex; align-items: center; gap: 10px; }
.fix-team { flex: 1; font-size: 14px; font-weight: 600; color: #0f1117; }
.fix-team:last-child { text-align: right; }
.fix-vs { color: #cbd5e1; font-size: 12px; }

/* ============================================
   SECTIONS (Live / Casino / Bet Slip)
   ============================================ */
.section-page {
  padding: 16px 12px 120px;
  min-height: 60vh;
}
.section-page-head h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: #0f1117;
  padding: 0 4px;
}
.bet-slip-floating {
  position: fixed;
  bottom: 70px; left: 0; right: 0;
  background: #fff;
  border-top: 2px solid var(--orange);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
  z-index: 90;
  max-height: 50vh;
  display: flex;
  flex-direction: column;
}
.bet-slip-head {
  padding: 12px 16px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bet-count {
  background: #fff;
  color: var(--orange);
  border-radius: 50%;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: 6px;
}
.bet-slip-body {
  padding: 12px 16px;
  overflow-y: auto;
  max-height: 40vh;
}
.slip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.slip-match { font-size: 13px; font-weight: 600; color: #0f1117; }
.slip-pick { font-size: 11px; color: #6b7280; margin-top: 2px; }
.slip-remove {
  background: #fee2e2;
  color: #dc2626;
  border: 0;
  border-radius: 50%;
  width: 24px; height: 24px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.slip-total {
  margin-top: 10px;
  font-size: 14px;
  color: #0f1117;
  text-align: right;
}
.slip-stake {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #6b7280;
}
.slip-stake input {
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
}

/* CASINO */
.casino-hero {
  background: linear-gradient(135deg, #EA4116 0%, #ff8c42 100%);
  color: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 20px;
}
.casino-hero h2 { margin: 0 0 6px; font-size: 26px; }
.casino-hero p { margin: 0; opacity: 0.9; }
.casino-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.casino-tile {
  background: #1a1d2b;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s;
}
.casino-tile:hover { transform: translateY(-2px); }
.casino-tile-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #EA4116 0%, #c2410c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 900;
  color: #fff;
}
.casino-tile-name {
  padding: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* MATCH LEAGUE label */
.match-league {
  font-size: 10px;
  color: #6b7280;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.match-card { display: block !important; }

/* Live section */
.liveSection { background: #0f1117; }

/* ============================================
   CASINO (PlayFiver)
   ============================================ */
.casino-search {
  margin-bottom: 16px;
}
.casino-search input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}
.casino-search input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234,65,22,0.1);
}
.casino-loading {
  text-align: center;
  padding: 32px;
  color: #999;
  font-size: 14px;
}
.casino-tile {
  position: relative;
  background: #1a1d2b;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s;
  display: flex;
  flex-direction: column;
}
.casino-tile:hover { transform: translateY(-2px); }
.casino-tile-img {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #EA4116 0%, #c2410c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.casino-tile-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.casino-badge {
  position: absolute;
  top: 6px; right: 6px;
  background: #EA4116;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.casino-tile-name {
  padding: 8px 10px 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.casino-tile-provider {
  padding: 0 10px;
  color: #9ca3af;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.casino-play {
  margin: 8px 10px 10px;
  background: var(--orange);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s;
}
.casino-play:hover { background: #e54e00; }
.casino-play:active { transform: scale(0.98); }

.game-frame-modal {
  background: #0f1117;
  border-radius: 14px;
  width: 100%;
  max-width: 1100px;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.game-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #1a1d2b;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.game-frame-head button {
  background: none;
  border: 0;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0 4px;
}
.game-frame-modal iframe {
  flex: 1;
  width: 100%;
  border: 0;
  min-height: 70vh;
  background: #000;
}

/* ============================================
   FIXTURE MODAL - improved odds
   ============================================ */
.fix-row {
  flex-direction: column;
  align-items: stretch !important;
  gap: 8px !important;
  padding: 14px 16px !important;
}
.fix-time {
  flex: none !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  font-size: 12px !important;
  color: #6b7280 !important;
}
.fix-time::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 2px;
}
.fix-status {
  display: inline-block;
  font-size: 10px;
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 4px;
  color: #6b7280;
  text-transform: uppercase;
}
.fix-teams {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.fix-team { font-size: 14px !important; font-weight: 600 !important; }
.fix-vs { color: #9ca3af; font-size: 12px; padding: 0 4px; }
.fix-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.fix-odd-btn {
  background: var(--orange);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  min-height: 56px;
  justify-content: center;
}
.fix-odd-btn:hover { background: #e54e00; }
.fix-odd-btn:active { transform: scale(0.97); }
.fix-odd-lbl {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.fix-odd-val {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

/* mobile: hide league name in modal (already in head) */
@media (max-width: 480px) {
  .fix-odd-lbl { font-size: 9px; }
  .fix-odd-val { font-size: 14px; }
  .fix-team { font-size: 13px !important; }
}

.leagues-refresh {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px 6px;
  color: var(--orange);
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.15s;
}
.leagues-refresh:hover { background: rgba(234,65,22,0.1); }
.leagues-refresh.spinning svg {
  animation: spin 0.8s linear infinite;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   HERO SUPER ODD
   ============================================ */
.hero-super-odd {
  position: relative;
  margin: 0 0 16px;
  border-radius: 14px;
  overflow: hidden;
  min-height: 180px;
  background: linear-gradient(135deg, #EA4116 0%, #c2410c 50%, #1a1d2b 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(234,65,22,0.25);
}
.hero-so-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 40%);
  animation: heroPulse 3s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.hero-so-content {
  position: relative;
  z-index: 1;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-so-tag {
  display: inline-block;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 6px;
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-so-match {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin-top: 2px;
}
.hero-so-pick {
  font-size: 12px;
  opacity: 0.95;
  margin-top: 2px;
  text-transform: capitalize;
}
.hero-so-odds {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 14px;
}
.hero-so-old {
  font-size: 14px;
  text-decoration: line-through;
  opacity: 0.7;
  color: #fff;
}
.hero-so-new {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.hero-so-btn {
  background: #fff;
  color: #c2410c;
  border: 0;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 8px;
  letter-spacing: 1px;
  cursor: pointer;
  width: fit-content;
  transition: transform 0.1s, background 0.15s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.hero-so-btn:hover { background: #f3f4f6; }
.hero-so-btn:active { transform: scale(0.97); }

/* ============================================
   LEAGUE CHIPS (horizontal scroll)
   ============================================ */
.league-chips {
  display: flex;
  gap: 8px;
  padding: 0 0 16px;
  margin-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.league-chips::-webkit-scrollbar { display: none; }
.league-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.league-chip:hover { background: #e5e7eb; }
.league-chip.active {
  background: #EA4116;
  color: #fff;
  border-color: #EA4116;
  box-shadow: 0 4px 10px rgba(234,65,22,0.3);
}

/* ============================================
   MATCH CARDS (improved)
   ============================================ */
.match-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 14px;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.match-card:hover { border-color: #d1d5db; }
.match-card-super {
  border: 2px solid #EA4116;
  background: linear-gradient(180deg, #fff8f1 0%, #fff 60%);
  position: relative;
  box-shadow: 0 4px 16px rgba(234,65,22,0.12);
  animation: superGlow 2.4s ease-in-out infinite;
}
@keyframes superGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(234,65,22,0.12); }
  50% { box-shadow: 0 6px 22px rgba(234,65,22,0.28); }
}
.match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 11px;
  color: #6b7280;
}
.match-head-l { display: flex; align-items: center; gap: 6px; }
.match-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.match-live {
  background: #ef4444;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.match-boost {
  background: linear-gradient(90deg, #EA4116, #f59e0b);
  color: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.match-time { color: #6b7280; font-size: 11px; font-weight: 500; }
.match-icons { display: flex; align-items: center; gap: 8px; color: #9ca3af; }
.match-icons .mi { display: inline-flex; align-items: center; }
.match-icons .mi-star { color: #fbbf24; }
.match-teams-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.match-team-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0f1117;
}
.team-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #EA4116;
}
.team-dot.away { background: #1a1d2b; }
.match-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.odd-btn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #0f1117;
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  cursor: pointer;
  transition: all 0.15s;
}
.odd-btn:hover { background: #EA4116; color: #fff; border-color: #EA4116; transform: translateY(-1px); }
.odd-btn:active { transform: scale(0.97); }
.odd-lbl { font-size: 10px; font-weight: 500; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.3px; }
.odd-val { font-size: 15px; font-weight: 800; line-height: 1; }

.section-sub {
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}

/* ============================================
   TOP HEADER (laranja) - EXATO como print
   ============================================ */
.top-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 12px 14px;
  background: var(--orange);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 10px;
  min-height: 56px;
}
.top-left { display: flex; align-items: center; }
.brand-mark {
  background: #fff;
  color: var(--orange);
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.top-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.top-icon { color: #fff; opacity: 0.95; display: inline-flex; }
.top-icon:hover { opacity: 1; }
.top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  min-width: 70px;
}
.balance-text { text-align: left; line-height: 1.1; }
.deposit-pill {
  background: var(--green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.deposit-pill:hover { background: var(--green-deep); }

/* ============================================
   HERO FEATURED (próximo jogo - estilo betano)
   ============================================ */
.hero-featured {
  display: block;
  position: relative;
  aspect-ratio: 1600 / 688;
  background: #0a0e1a;
  overflow: hidden;
  margin: 0;
  color: #fff;
  isolation: isolate;
  text-decoration: none;
}
.hero-featured-img {
  position: absolute;
  inset: 0;
  background: url('img/banners/hero-estamos.jpg') center/cover no-repeat;
  z-index: 1;
}
.hero-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}
.hero-featured-content {
  position: relative;
  z-index: 3;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  justify-content: flex-end;
}
.hero-featured-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  background: rgba(0,0,0,0.35);
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
  backdrop-filter: blur(4px);
}
.hero-featured-match {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.hero-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.hero-team:nth-child(1) { justify-content: flex-end; }
.hero-team-crest {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
}
.hero-team-name {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-team-vs {
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.hero-featured-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.hero-odd-btn {
  background: #fff;
  color: var(--text);
  padding: 8px 4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  border: 0;
  font-weight: 800;
  font-size: 14px;
  transition: background 0.15s;
}
.hero-odd-btn:hover { background: #f3f4f6; }
.hero-odd-btn .lbl { color: var(--text-dim); font-size: 12px; font-weight: 700; }
.hero-odd-btn .val { color: var(--green-deep); font-size: 15px; font-weight: 900; }

/* ============================================
   PROMO STRIP (carrossel horizontal)
   ============================================ */
.promo-strip {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg);
}
.promo-strip::-webkit-scrollbar { display: none; }
.promo-card {
  flex: 0 0 58%;
  max-width: 250px;
  aspect-ratio: 1913 / 822;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
.promo-brand {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.2);
  padding: 2px 5px;
  border-radius: 3px;
  width: fit-content;
}
.promo-headline {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-top: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.promo-sub {
  font-size: 8px;
  font-weight: 700;
  opacity: 0.9;
  margin-top: 2px;
  line-height: 1.2;
}
.promo-bg-aircash {
  position: absolute; inset: 0;
  background: url('img/banners/promo-aircash.png') center/cover no-repeat;
  z-index: 1;
}
.promo-bg-happy {
  position: absolute; inset: 0;
  background: url('img/banners/promo-happy.png') center/cover no-repeat;
  z-index: 1;
}
.promo-bg-fg {
  position: absolute; inset: 0;
  background: url('img/banners/promo-fg.png') center/cover no-repeat;
  z-index: 1;
}

/* ============================================
   LEAGUE GRID (3 colunas, botões com bandeira)
   ============================================ */
.league-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: var(--bg);
}
.league-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
}
.league-pill:hover { background: #f9fafb; }
.league-pill.active {
  border-color: var(--orange);
  background: #fff7ed;
}
.lp-flag {
  width: 18px; height: 14px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   ACTION HEAD (JUNTA-TE À AÇÃO)
   ============================================ */
.action-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 12px;
  background: var(--bg);
}
.action-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text);
}
.action-filters {
  display: flex;
  gap: 6px;
}
.af-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.af-pill.active {
  border-color: var(--orange);
  background: #fff7ed;
  color: var(--orange);
}
.af-pill svg { color: inherit; }

/* ============================================
   SPORT TABS (horizontal scroll)
   ============================================ */
.sport-tabs {
  display: flex;
  gap: 6px;
  padding: 0 12px 12px;
  background: var(--bg);
  overflow-x: auto;
  scrollbar-width: none;
}
.sport-tabs::-webkit-scrollbar { display: none; }
.st-pill {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.st-pill:hover { background: #f9fafb; }
.st-pill.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.st-pill.active svg { color: #fff; }

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  padding: 0 12px 100px;
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================
   MATCH CARDS (estilo print: data+equipes+liga+odds)
   ============================================ */
.match-list { display: flex; flex-direction: column; gap: 0; background: var(--bg); }
.match-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid var(--border);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.match-card:hover { border-color: var(--border-2); box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.match-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}
.match-card-time {
  display: flex;
  align-items: center;
  gap: 4px;
}
.match-card-icons {
  display: flex;
  gap: 6px;
  color: var(--text-mute);
}
.match-card-icons .mci {
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-mute);
}
.match-teams {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}
.match-team-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.team-crest {
  width: 22px; height: 22px;
  border-radius: 3px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--text-dim);
  flex-shrink: 0;
  overflow: hidden;
}
.team-crest img { width: 100%; height: 100%; object-fit: contain; display: block; }
.match-league-flag-emoji { font-size: 13px; line-height: 1; }
.match-league {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.match-league-flag {
  width: 12px; height: 9px;
  border-radius: 1px;
  flex-shrink: 0;
}
.match-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.odd-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  transition: all 0.15s;
}
.odd-btn:hover { border-color: var(--green); }
.odd-btn:active { background: var(--green); color: #fff; border-color: var(--green); }
.odd-btn .lbl { color: var(--text-dim); font-size: 12px; font-weight: 700; }
.odd-btn .val { color: var(--green-deep); font-size: 14px; font-weight: 900; }
.odd-btn:hover .lbl, .odd-btn:active .lbl { color: rgba(255,255,255,0.85); }
.odd-btn:hover .val, .odd-btn:active .val { color: #fff; }

/* ============================================
   BOTTOM NAV (preto - estilo betano)
   ============================================ */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #0f1117;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  z-index: 50;
  border-top: 1px solid #1f2937;
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
}
.bn-item.active { color: var(--orange); }
.bn-item.active svg { stroke: var(--orange); fill: var(--orange); }
.bn-item span { line-height: 1.1; }
.bn-casino { position: relative; }
.bn-casino-glow {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,65,22,0.4), transparent 65%);
  pointer-events: none;
}
.bn-casino-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* ============================================================
   HOME REDESIGN (layout em cards, estilo portal de apostas)
   ============================================================ */
:root { --page: #eef0f3; }
body { background: var(--page); }

/* ---- Chip row (sobre o laranja do header) ---- */
.chip-row {
  display: flex; gap: 8px;
  padding: 10px 12px 14px;
  background: var(--orange);
  overflow-x: auto; scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.55);
  background: transparent; color: #fff;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.chip.active, .chip.chip-live { background: #fff; color: var(--text); border-color: #fff; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }
.chip-n {
  background: rgba(0,0,0,0.12); color: inherit;
  padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800;
}
.chip:not(.active):not(.chip-live) .chip-n { background: rgba(255,255,255,0.22); color:#fff; }

/* ---- Hero promo carrossel (cards brancos sobre laranja) ---- */
.hero-promo {
  display: flex; gap: 10px;
  padding: 0 12px 16px;
  background: var(--orange);
  overflow-x: auto; scrollbar-width: none;
}
.hero-promo::-webkit-scrollbar { display: none; }
.hp-card {
  flex: 0 0 82%; max-width: 330px;
  background: #fff; border-radius: 14px;
  padding: 18px 16px 16px;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  display: flex; flex-direction: column; gap: 8px;
  min-height: 150px;
}
.hp-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(234,65,22,0.10), transparent 70%);
}
.hp-title {
  font-size: 24px; font-weight: 900; line-height: 1.02;
  color: var(--text); letter-spacing: -0.5px; text-transform: uppercase;
}
.hp-title-b { color: var(--orange); }
.hp-card .hp-title { color: var(--orange); }
.hp-card .hp-title:first-line { color: var(--text); }
.hp-sub { font-size: 12px; color: var(--text-dim); font-weight: 600; max-width: 70%; }
.hp-btn {
  margin-top: auto; align-self: flex-start;
  background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 900; letter-spacing: 0.4px;
  padding: 8px 16px; border-radius: 8px;
}

/* ---- Stories (cards verticais com badge + label) ---- */
.stories-row {
  display: flex; gap: 10px;
  padding: 16px 12px 6px;
  overflow-x: auto; scrollbar-width: none;
  background: var(--page);
}
.stories-row::-webkit-scrollbar { display: none; }
.story-card {
  flex: 0 0 96px; height: 128px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--sc), #000 170%);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 3px 10px rgba(0,0,0,0.14);
  padding: 7px;
}
.story-badge {
  font-size: 7.5px; font-weight: 900; color: #fff;
  background: rgba(0,0,0,0.35); border-radius: 4px;
  padding: 3px 5px; align-self: flex-start; letter-spacing: 0.2px;
  text-transform: uppercase;
}
.story-ico {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.story-label {
  font-size: 11px; font-weight: 800; color: #fff; line-height: 1.1;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  margin: -7px; margin-top: 0; padding: 10px 7px 7px;
}

/* ---- Section head ---- */
.section-head { padding: 14px 14px 8px; }
.section-head h2 { font-size: 17px; font-weight: 800; color: var(--text); }

/* ---- Ligas populares: 2 colunas, cards ---- */
.league-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px; padding: 4px 12px 10px;
  background: var(--page);
}
.league-pill {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 12px;
  gap: 10px; font-size: 13px; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.league-pill.active { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(234,65,22,0.12); }
.league-pill .lp-flag {
  width: 30px; height: 30px; border-radius: 50%;
  background: #eef0f3 !important; border: 1px solid var(--border);
  font-size: 15px !important;
}

/* ---- JUNTE-SE À AÇÃO ---- */
.action-head { padding: 16px 14px 10px; background: var(--page); }
.action-title { font-size: 18px; font-weight: 900; font-style: italic; }

/* ---- Sport tabs (ícone em cima, label embaixo, underline ativo) ---- */
.sport-tabs {
  display: flex; gap: 4px;
  padding: 6px 8px 0; background: var(--page);
  overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}
.sport-tabs::-webkit-scrollbar { display: none; }
.st-pill {
  flex: 0 0 auto; min-width: 66px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 8px 12px; background: transparent;
  color: var(--text-dim); font-size: 12px; font-weight: 700;
  position: relative; border-radius: 0;
}
.st-pill .st-ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
}
.st-pill, .st-pill.active { background: transparent !important; border: 0 !important; box-shadow: none !important; outline: 0 !important; }
.st-pill.active { color: var(--text); }
.st-pill.active .st-ico { background: var(--orange); border-color: var(--orange); color: #fff; }
.st-pill.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0;
  height: 3px; background: var(--orange); border-radius: 3px;
}

/* ---- Match cards: fundo branco, cantos, sombra leve ---- */
.main-content { background: var(--page); }
.match-card {
  background: #fff; border-radius: 12px;
  margin: 10px 0; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

/* ---- Bottom nav: casino chip vermelho à direita (igual referência) ---- */
.bn-item span:last-child { font-size: 10px; }

/* ---- Logo Betano no header ---- */
.brand-logo { height: 26px; width: auto; display: block; }

/* ============================================================
   MERCADOS (match detail), BILHETE, PRÉ-BILHETE, MINHAS APOSTAS,
   MÚLTIPLAS E DICAS DO DIA
   ============================================================ */
.md-sub { font-size: 12px; color: var(--text-dim); padding: 2px 20px 10px; }

/* Match detail: grupos de mercado */
.mk-group { padding: 10px 16px 4px; border-top: 1px solid #f1f2f4; }
.mk-group:first-child { border-top: 0; }
.mk-title { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.mk-opts { display: grid; gap: 6px; margin-bottom: 6px; }
.mk-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: #fff; border: 1px solid var(--border-2); border-radius: 10px;
  padding: 9px 6px; cursor: pointer; transition: all .12s;
}
.mk-btn .mk-lbl { font-size: 11px; font-weight: 700; color: var(--text-dim); text-align: center; line-height: 1.1; }
.mk-btn .mk-odd { font-size: 15px; font-weight: 900; color: var(--green-deep); }
.mk-btn.active { background: var(--orange); border-color: var(--orange); }
.mk-btn.active .mk-lbl, .mk-btn.active .mk-odd { color: #fff; }

/* Bilhete */
.slip-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.slip-tab { flex: 1; text-align: center; font-size: 12px; font-weight: 800; color: var(--text-dim); padding: 7px; border-radius: 8px; background: #f1f2f4; }
.slip-tab.active { background: var(--text); color: #fff; }
.slip-odd { font-size: 14px; font-weight: 900; color: var(--green-deep); }
.slip-total { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px dashed var(--border-2); margin-top: 6px; font-size: 13px; color: var(--text-dim); }
.slip-total b { color: var(--text); font-size: 15px; }
.slip-stake-row { display: flex; gap: 6px; margin: 8px 0; }
.slip-stake-row input { flex: 1; padding: 10px; border: 1px solid var(--border-2); border-radius: 8px; font-size: 15px; font-weight: 700; min-width: 0; }
.qstake { background: #f1f2f4; border-radius: 8px; padding: 0 12px; font-size: 12px; font-weight: 800; color: var(--text); }
.qstake:hover { background: var(--orange); color: #fff; }
.slip-return { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-dim); margin-bottom: 10px; }
.slip-return b { color: var(--green-deep); font-size: 16px; }

/* Pré-bilhete */
.prebilhete-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1.5px dashed var(--orange); border-radius: 12px; padding: 14px 16px; background: #fff7f2; }
.prebilhete-box.small { padding: 10px 12px; margin: 8px 0; }
.pb-code { font-size: 22px; font-weight: 900; letter-spacing: 1px; color: var(--text); }
.prebilhete-box.small .pb-code { font-size: 16px; }
.pb-meta { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.pb-copy { background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 8px 14px; border-radius: 8px; flex-shrink: 0; }

/* Minhas apostas */
.mybets-tabs { display: flex; gap: 6px; padding: 0 20px 10px; }
.mb-tab { flex: 1; font-size: 13px; font-weight: 800; color: var(--text-dim); padding: 9px; border-radius: 8px; background: #f1f2f4; }
.mb-tab.active { background: var(--text); color: #fff; }
.mb-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 0 14px 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.mb-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 800; color: var(--text); }
.mb-status { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.mb-status.pb { background: #e7efff; color: #2b6fe2; }
.mb-status.won { background: rgba(23,161,85,.14); color: var(--green-deep); }
.mb-status.lost { background: rgba(248,114,114,.14); color: var(--red); }
.mb-status.canc { background: #eceef1; color: #6b7280; }
.mb-sel { padding: 8px 0; border-top: 1px solid #f3f4f6; font-size: 13px; }
.mb-sel b { color: var(--text); }
.mb-sel-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.mb-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--border-2); font-size: 11px; color: var(--text-dim); }
.mb-foot b { color: var(--text); font-size: 14px; }
.mb-cancel { width: 100%; margin-top: 10px; padding: 9px; border-radius: 8px; background: #fff; border: 1px solid var(--red); color: var(--red); font-size: 13px; font-weight: 800; }
.mb-cancel:hover { background: var(--red); color: #fff; }

/* Múltiplas do dia (combos) */
.section-head.big { padding-top: 18px; }
.combo-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px 12px 10px; }
.combo-row::-webkit-scrollbar { display: none; }
.combo-card { flex: 0 0 85%; max-width: 340px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); display: flex; flex-direction: column; }
.combo-head { margin-bottom: 10px; }
.combo-title { font-size: 15px; font-weight: 900; font-style: italic; color: var(--text); }
.combo-tag { font-size: 10px; font-weight: 800; color: var(--orange); letter-spacing: .5px; }
.combo-legs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.combo-leg { display: flex; gap: 8px; }
.combo-dot { width: 14px; height: 14px; border: 2px solid var(--orange); border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
.combo-leg-pick { font-size: 13px; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; gap: 8px; }
.combo-leg-odd { color: var(--green-deep); font-weight: 900; }
.combo-leg-sub { font-size: 11px; color: var(--text-dim); margin-top: 1px; }
.combo-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--border-2); }
.combo-foot > div { font-size: 11px; color: var(--text-dim); }
.combo-foot b { font-size: 17px; color: var(--text); }
.combo-add { background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; padding: 10px 14px; border-radius: 9px; }
.combo-add:hover { background: var(--orange-2); }

/* Dicas do dia */
.dicas-grid { display: flex; flex-direction: column; gap: 10px; padding: 4px 12px 10px; }
.dica-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.dica-card:hover { border-color: var(--orange); }
.dica-match { font-size: 14px; font-weight: 800; color: var(--text); }
.dica-league { font-size: 11px; color: var(--text-dim); margin: 3px 0 10px; }
.dica-foot { display: flex; align-items: center; justify-content: space-between; }
.dica-pick { font-size: 12px; font-weight: 700; color: var(--orange); }
.dica-odd { font-size: 15px; font-weight: 900; color: var(--green-deep); background: #f1f2f4; padding: 5px 12px; border-radius: 8px; }

/* ---- Bottom nav BRANCO (igual referência) ---- */
.bottom-nav { background: #fff !important; border-top: 1px solid var(--border) !important; }
.bn-item { color: #8a9099; }
.bn-item svg { stroke: currentColor; }
.bn-item.active { color: var(--orange); }
.bn-item.active svg { stroke: var(--orange); fill: none; }
.bn-item[data-tab="live"].active svg { fill: var(--orange); }

/* ---- Header: botão Entrar (deslogado) ---- */
.hdr-entrar {
  display: inline-flex; align-items: center;
  background: #fff; color: var(--orange);
  font-weight: 800; font-size: 13px;
  padding: 8px 18px; border-radius: 999px;
}
.hdr-entrar:hover { background: #fff5ef; }
.top-header .top-right { gap: 12px; }
.top-header .top-icon { color: #fff; }

/* ---- Botão saldo insuficiente (verde, igual referência) ---- */
.slip-deposit { background: var(--green) !important; }
.slip-deposit:hover { background: var(--green-deep) !important; }

/* ---- Dicas do dia estilo "story" ---- */
.dicas-grid { flex-direction: row !important; overflow-x: auto; scrollbar-width: none; }
.dicas-grid::-webkit-scrollbar { display: none; }
.story-dica {
  flex: 0 0 150px; height: 190px;
  border-radius: 14px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--orange), #c43a12);
  display: flex; flex-direction: column; cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15); text-decoration: none;
}
.story-dica-top { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.story-dica-badge { font-size: 9px; font-weight: 900; color: #fff; background: rgba(0,0,0,0.25); padding: 4px 8px; border-radius: 5px; align-self: flex-start; letter-spacing: .4px; }
.story-dica-teams { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; }
.story-dica-teams .team-crest { width: 38px; height: 38px; background: #fff; border-radius: 50%; padding: 4px; }
.story-dica-x { color: #fff; font-weight: 800; opacity: .8; }
.story-dica-body { background: rgba(0,0,0,0.28); padding: 10px 12px; }
.story-dica-match { font-size: 12px; font-weight: 800; color: #fff; line-height: 1.15; }
.story-dica-league { font-size: 10px; color: rgba(255,255,255,0.8); margin-top: 3px; }

/* ---- Story fullscreen ---- */
.story-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 18px; }
.story-card-full {
  width: 100%; max-width: 380px; border-radius: 20px; position: relative;
  background: linear-gradient(165deg, var(--orange) 0%, #b5330f 60%, #1a1205 100%);
  padding: 28px 22px 22px; color: #fff; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.story-close { position: absolute; top: 12px; right: 14px; background: rgba(255,255,255,0.2); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.story-kicker { font-size: 13px; font-weight: 900; letter-spacing: 2px; opacity: .9; }
.story-league { font-size: 12px; opacity: .85; margin-top: 4px; }
.story-teams-big { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0; }
.story-team { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.story-team .team-crest { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 8px; }
.story-team span { font-size: 13px; font-weight: 800; line-height: 1.1; }
.story-vs { font-size: 20px; font-weight: 900; opacity: .7; }
.story-tip { font-size: 18px; font-weight: 900; margin: 6px 0 18px; line-height: 1.2; }
.story-pick-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,0.14); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; text-align: left; }
.story-pick-market { font-size: 11px; opacity: .8; }
.story-pick-label { font-size: 15px; font-weight: 800; }
.story-pick-odd { font-size: 24px; font-weight: 900; }
.story-bet-btn { width: 100%; background: #fff; color: var(--orange); font-size: 15px; font-weight: 900; padding: 14px; border-radius: 12px; cursor: pointer; }
.story-bet-btn:hover { background: #fff2ea; }

/* ---- Login links + grade de depósito 5 col ---- */
.modal-links { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; flex-wrap: wrap; gap: 8px; }
.modal-links a { color: var(--text-dim); }
.modal-links a b { color: var(--orange); }
.amount-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.amount-grid-5 .amount-btn { padding: 10px 4px; font-size: 12px; }

/* ---- Criar aposta (destaques por jogo) ---- */
.criar-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px 12px 10px; }
.criar-row::-webkit-scrollbar { display: none; }
.criar-card { flex: 0 0 82%; max-width: 320px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); display: flex; flex-direction: column; }
.criar-head { margin-bottom: 8px; }
.criar-tag { font-size: 11px; font-weight: 800; color: var(--orange); background: #fff2ea; padding: 4px 10px; border-radius: 999px; }
.criar-teams { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px 0; }
.criar-teams .team-crest { width: 40px; height: 40px; background: var(--bg); border-radius: 50%; padding: 5px; }
.criar-x { color: var(--text-dim); font-weight: 800; }
.criar-match { font-size: 14px; font-weight: 800; color: var(--text); text-align: center; }
.criar-sub { font-size: 11px; color: var(--text-dim); text-align: center; margin-bottom: 10px; }
.criar-legs { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.criar-leg { font-size: 12px; color: var(--text); display: flex; align-items: center; gap: 7px; }
.criar-dot { width: 12px; height: 12px; border: 2px solid var(--orange); border-radius: 50%; flex-shrink: 0; }
.criar-add { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; padding: 11px 16px; border-radius: 10px; margin-top: auto; }
.criar-add b { font-size: 16px; }
.criar-add:hover { background: var(--orange-2); }

/* ============================================================
   CASSINO redesenhado
   ============================================================ */
#casinoSection { background: var(--page); }
.casino-hero {
  min-height: 150px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--orange), #b5330f);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.casino-hero::before { content: "🎰 CASSINO"; font-size: 30px; font-weight: 900; color: #fff; letter-spacing: 1px; text-shadow: 0 3px 10px rgba(0,0,0,0.3); }
.casino-search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 14px; margin-bottom: 16px;
}
.casino-search input { flex: 1; border: 0; outline: 0; font-size: 14px; background: transparent; }
.casino-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; }
.casino-chips::-webkit-scrollbar { display: none; }
.cc-chip { flex: 0 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; }
.cc-chip span { background: var(--bg); color: var(--text-dim); padding: 1px 7px; border-radius: 999px; font-size: 11px; margin-left: 4px; }
.cc-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.cc-chip.active span { background: rgba(255,255,255,0.25); color: #fff; }
.casino-sec-head { display: flex; align-items: center; gap: 10px; margin: 8px 0 12px; }
.casino-sec-head h3 { font-size: 18px; font-weight: 800; color: var(--text); }
.casino-count { background: var(--text); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.casino-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 420px) { .casino-grid { grid-template-columns: repeat(3, 1fr); } }
.casino-tile { cursor: pointer; }
.casino-tile-img { position: relative; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: #e5e7eb; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.casino-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.casino-tile-img.noimg::after { content: attr(data-l); font-size: 32px; font-weight: 900; color: #fff; }
.casino-tile-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.35); color: #fff; font-size: 26px; opacity: 0; transition: opacity .15s; }
.casino-tile:hover .casino-tile-play { opacity: 1; }
.casino-badge { position: absolute; top: 6px; left: 6px; background: var(--red); color: #fff; font-size: 9px; font-weight: 900; padding: 2px 6px; border-radius: 4px; }
.casino-tile-name { font-size: 12px; font-weight: 700; color: var(--text); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.casino-tile-prov { font-size: 10px; color: var(--text-dim); }
.casino-loading { text-align: center; padding: 40px; color: #999; }

/* ---- Cards de atalho (Dica/Mais apostadas/Múltipla/Superodds/Jogo) ---- */
.shortcut-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 14px 12px 8px; background: var(--page); }
.shortcut-row::-webkit-scrollbar { display: none; }
.shortcut-card {
  flex: 0 0 96px; height: 120px; border-radius: 12px; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 12px),
    radial-gradient(120% 90% at 85% 0%, #ff6a3d 0%, var(--orange) 45%, #a52c0c 120%);
  display: flex; flex-direction: column; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 12px rgba(165,44,12,0.28); position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}
.shortcut-card::before { content: ""; position: absolute; top: -26px; right: -26px; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%); }
.shortcut-card::after { content: ""; position: absolute; bottom: -30px; left: -20px; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle, rgba(0,0,0,0.12), transparent 70%); }
.sc-badge { font-size: 7.5px; font-weight: 900; color: #fff; background: rgba(0,0,0,0.28); padding: 4px 6px; margin: 7px 7px 0; border-radius: 4px; align-self: flex-start; letter-spacing: .3px; }
.sc-mid { flex: 1; display: flex; align-items: center; justify-content: center; }
.sc-logos { display: flex; align-items: center; gap: 4px; }
.sc-logos .team-crest { width: 30px; height: 30px; background: #fff; border-radius: 50%; padding: 3px; }
.sc-ico { font-size: 28px; }
.sc-label { font-size: 11px; font-weight: 800; color: #fff; background: rgba(0,0,0,0.3); padding: 7px 8px; line-height: 1.1; }

/* ============================================================
   BET SLIP — barra compacta + folha expansível (mobile-tight)
   ============================================================ */
.slip-wrap {
  position: fixed; left: 0; right: 0;
  bottom: calc(56px + env(safe-area-inset-bottom));
  z-index: 95; display: flex; flex-direction: column-reverse;
}
.slip-bar {
  background: var(--orange); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; box-shadow: 0 -3px 12px rgba(0,0,0,0.18);
}
.slip-bar-left { font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.slip-wrap .bet-count {
  background: #fff; color: var(--orange); border-radius: 50%;
  width: 23px; height: 23px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; margin: 0;
}
.slip-bar-right { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 900; }
.slip-sheet {
  background: #fff; display: none; flex-direction: column;
  max-height: 56vh; border-radius: 14px 14px 0 0;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.2); overflow: hidden;
}
.slip-sheet-body { overflow-y: auto; padding: 12px 16px 4px; flex: 1 1 auto; }
.slip-sheet-foot { flex: 0 0 auto; padding: 10px 16px 14px; border-top: 1px solid var(--border); background: #fff; }
.slip-sheet-foot .slip-total { margin-top: 0; padding-top: 0; border-top: 0; }
.slip-sheet-foot .modal-primary { margin-top: 6px; }
/* linha de seleção mais compacta */
.slip-sheet-body .slip-row { padding: 9px 0; border-bottom: 1px solid #f1f2f4; }
.slip-sheet-body .slip-row:last-child { border-bottom: 0; }
.slip-sheet-body .slip-match { font-size: 13px; }
.slip-sheet-body .slip-pick { font-size: 11px; }
.slip-tabs { position: sticky; top: 0; background: #fff; padding-bottom: 8px; }

/* ---- Bet slip: trava de largura (sem overflow horizontal) ---- */
.slip-wrap, .slip-bar, .slip-sheet, .slip-sheet-body, .slip-sheet-foot { width: 100%; max-width: 100vw; box-sizing: border-box; }
.slip-sheet { overflow-x: hidden; }
.slip-sheet-body .slip-row { gap: 10px; }
.slip-sheet-foot .slip-stake-row { display: flex; gap: 6px; flex-wrap: nowrap; }
.slip-sheet-foot .slip-stake-row input { flex: 1 1 auto; min-width: 0; }
.slip-sheet-foot .qstake { flex: 0 0 auto; padding: 0 11px; }
.slip-sheet-foot .slip-total, .slip-sheet-foot .slip-return { width: 100%; }

/* ---- Bet slip: cabeçalho com Limpar ---- */
.slip-sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 0 8px; position: sticky; top: 0; background: #fff; z-index: 2; }
.slip-sheet-title { font-size: 14px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 8px; }
.slip-sheet-n { background: var(--orange); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; padding: 0 6px; }
.slip-clear { background: #f1f2f4; color: var(--red); font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 8px; }
.slip-clear:hover { background: var(--red); color: #fff; }
.slip-tabs { position: static; }

/* ---- Bilhete: clicar na seleção abre mercados ---- */
.slip-more { font-size: 10px; color: var(--orange); font-weight: 700; white-space: nowrap; }
/* ---- Cassino: tile limpo (nome 1 linha, sem provedor) ---- */
.casino-tile-name { font-size: 12px; font-weight: 700; color: var(--text); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.casino-sec-head { margin-top: 4px; }

/* ---- Jogadores populares ---- */
.jog-card { flex: 0 0 76%; max-width: 300px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0 0 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); display: flex; flex-direction: column; overflow: hidden; }
.jog-head { padding: 12px 14px 0; }
.jog-top { text-align: center; padding: 6px 14px 12px; position: relative; }
.jog-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64px; background: linear-gradient(160deg, #ffe7de, #fff); z-index: 0; }
.jog-badges { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0; }
.jog-badge-crest .team-crest { width: 30px; height: 30px; background: #fff; border-radius: 50%; padding: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.jog-badges .jog-badge-crest:first-child { margin-right: -12px; }
.jog-badges .jog-badge-crest:last-child { margin-left: -12px; }
.jog-jersey { position: relative; z-index: 2; display: inline-flex; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15)); }
.jersey-svg { display: block; }
.jog-name { position: relative; z-index: 1; font-size: 17px; font-weight: 900; color: var(--text); margin-top: 8px; }
.jog-match { position: relative; z-index: 1; font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.jog-legs { display: flex; flex-direction: column; gap: 7px; padding: 4px 14px 12px; }
.jog-leg { font-size: 12.5px; color: var(--text); display: flex; align-items: flex-start; gap: 7px; }
.jog-leg b { color: var(--text); }
.jog-add { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 14px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; padding: 11px 16px; border-radius: 10px; }
.jog-add b { font-size: 16px; }
.jog-add:hover { background: var(--orange-2); }

/* ============================================================
   REFINO VISUAL: tipografia condensada + detalhe de raio
   ============================================================ */
/* Tipografia esportiva (condensada) nas headings/títulos */
.section-head h2, .action-title, .hp-title, .combo-title, .jog-name,
.casino-sec-head h3, .mb-card-head, .story-tip, .story-kicker, .pb-code {
  font-family: 'Saira Condensed', 'Inter', sans-serif;
  letter-spacing: 0.2px;
}
.section-head h2 { font-style: italic; font-weight: 800; font-size: 19px; text-transform: uppercase; }
.action-title { font-style: italic; font-weight: 900; letter-spacing: 0.4px; }
.hp-title { font-weight: 900; font-style: italic; letter-spacing: 0.3px; }
.combo-title { font-weight: 900; font-style: italic; }
.jog-name { font-weight: 900; font-style: italic; font-size: 19px; }
.casino-sec-head h3 { font-style: italic; font-weight: 800; text-transform: uppercase; }

/* Detalhe de RAIO no fundo dos cards */
.hp-card {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M64 2 L30 56 L50 56 L44 98 L82 40 L60 40 Z' fill='%23000000' fill-opacity='0.035'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #fff, #fff);
  background-repeat: no-repeat; background-position: right -10px top; background-size: 120px 100%;
}
.shortcut-card {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M64 0 L28 56 L49 56 L42 100 L82 40 L59 40 Z' fill='%23ffffff' fill-opacity='0.14'/%3E%3C/svg%3E"),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 13px),
    radial-gradient(120% 90% at 85% 0%, #ff6a3d 0%, var(--orange) 45%, #a52c0c 120%);
  background-repeat: no-repeat; background-position: right -6px center, 0 0, 0 0; background-size: 70px 90%, auto, auto;
}
.shortcut-card::before { display: none; }

/* Camisa com mais detalhe (gola + listra lateral) */
.jog-jersey .jersey-svg { overflow: visible; }

/* Tag "Criar aposta" sem emoji — bolt via SVG inline no HTML */
.criar-tag { display: inline-flex; align-items: center; gap: 5px; }
.criar-tag svg { width: 12px; height: 12px; }
