/* ==========================================================================
   TEMA BET365 - BANCA ESPORTIVA (CLONE BRASIL365 / BET365 OFICIAL)
   Design System: Bet365 Spruce Green, Dark Charcoal, Vibrant Yellow Odds
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  /* Cores Oficiais Bet365 */
  --b365-spruce: #00382B;
  --b365-spruce-dark: #00281F;
  --b365-spruce-light: #004d3b;
  --b365-spruce-active: #006653;
  --b365-teal-accent: #00d87a;
  --b365-teal-hover: #00f089;
  
  --b365-yellow: #FFDF1B;
  --b365-yellow-btn: #ffd800;
  --b365-yellow-hover: #ffe44d;
  
  --b365-bg-body: #121212;
  --b365-bg-subnav: #181818;
  --b365-bg-card: #1e1e1e;
  --b365-bg-card-alt: #242424;
  --b365-bg-card-header: #262626;
  --b365-bg-hover: #2a2a2a;
  
  --b365-border: #292929;
  --b365-border-light: #363636;
  
  --b365-odd-bg: #2b2b2b;
  --b365-odd-border: #383838;
  --b365-odd-hover: #383838;
  
  --b365-text-white: #ffffff;
  --b365-text-gray: #cccccc;
  --b365-text-muted: #888888;
}

* {
  box-sizing: border-box;
}

html, body {
  background-color: var(--b365-bg-body) !important;
  color: var(--b365-text-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--b365-text-white);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--b365-yellow);
  text-decoration: none;
}

/* ==========================================================================
   HEADER TOP MINI BAR (JOGO RESPONSÁVEL)
   ========================================================================== */
.b365-topbar-mini {
  background-color: var(--b365-spruce-dark);
  padding: 3px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 11px;
  color: #a0b0ab;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.b365-topbar-mini a {
  color: #a0b0ab;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}

.b365-topbar-mini a:hover {
  color: #ffffff;
}

.b365-rg-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #a0b0ab;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
}

/* ==========================================================================
   HEADER PRINCIPAL BET365 (hrm-4)
   ========================================================================== */
.b365-header {
  background: var(--b365-spruce);
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.b365-header-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.b365-logo-box {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.b365-logo-img {
  height: 28px;
  max-width: 160px;
  object-fit: contain;
  vertical-align: middle;
}

/* Center Tabs (hrm-9c) */
.b365-nav-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 20px;
  height: 54px;
}

.b365-nav-tab {
  height: 54px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  padding: 0 4px;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.b365-nav-tab:hover {
  color: var(--b365-teal-accent);
}

.b365-nav-tab.active {
  color: #ffffff;
}

.b365-nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--b365-teal-accent);
  border-radius: 2px 2px 0 0;
}

/* Right Actions (hrm-0) */
.b365-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Botão Recompensas (hrm-cd) */
.b365-btn-rewards {
  background: rgba(0, 45, 34, 0.7);
  border: 1px solid rgba(0, 216, 122, 0.6);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.b365-btn-rewards:hover {
  background: rgba(0, 216, 122, 0.15);
  border-color: var(--b365-teal-accent);
  color: #ffffff;
}

/* Botão Registre-se (hrm-d9) */
.b365-btn-register {
  background-color: var(--b365-yellow-btn);
  color: #111111 !important;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 20px;
  border: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.b365-btn-register:hover {
  background-color: var(--b365-yellow-hover);
  transform: translateY(-1px);
  color: #000000 !important;
}

/* Botão Login */
.b365-btn-login {
  background-color: var(--b365-spruce-active);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.b365-btn-login:hover {
  background-color: #007c65;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Saldo Usuário Logado */
.b365-user-pill {
  background-color: var(--b365-spruce-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 5px 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.b365-user-pill .balance-val {
  color: var(--b365-yellow);
  font-weight: 700;
}

/* ==========================================================================
   SUBHEADER: BARRA DE BUSCA E CARROSSEL HORIZONTAL DE ESPORTES
   ========================================================================== */
.b365-subnav-bar {
  background-color: var(--b365-bg-subnav);
  border-bottom: 1px solid var(--b365-border);
  padding: 10px 16px;
  position: relative;
  z-index: 90;
}

.b365-subnav-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Pill de Busca (Pesquisar) */
.b365-search-pill {
  position: relative;
  width: 200px;
  flex-shrink: 0;
}

.b365-search-pill input {
  width: 100%;
  height: 38px;
  background-color: #262626;
  border: 1px solid #363636;
  border-radius: 20px;
  padding: 0 16px 0 38px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.b365-search-pill input:focus {
  background-color: #2e2e2e;
  border-color: var(--b365-teal-accent);
}

.b365-search-pill .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #888888;
  font-size: 13px;
  pointer-events: none;
}

/* Carrossel de Esportes (Horizontal Scroller) */
.b365-sports-scroller {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-grow: 1;
}

.b365-sports-scroller::-webkit-scrollbar {
  display: none;
}

.b365-sport-card {
  width: 74px;
  height: 68px;
  background-color: #202020;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  padding: 6px 4px;
}

.b365-sport-card:hover {
  background-color: #292929;
  border-color: #404040;
}

.b365-sport-card.active {
  background-color: #282828;
  border-color: var(--b365-teal-accent);
  box-shadow: 0 0 8px rgba(0, 216, 122, 0.2);
}

.b365-sport-card img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-bottom: 4px;
}

.b365-sport-card span {
  font-size: 11px;
  font-weight: 600;
  color: #cccccc;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 66px;
}

.b365-sport-card.active span {
  color: #ffffff;
}

/* ==========================================================================
   LAYOUT GRID PRINCIPAL (3 COLUNAS)
   ========================================================================== */
.b365-main-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.b365-grid {
  display: grid;
  grid-template-columns: 240px 1fr 290px;
  gap: 16px;
  align-items: start;
}

/* ==========================================================================
   COLUNA 1: SIDEBAR ESQUERDA (EM ALTA & A-Z ESPORTES)
   ========================================================================== */
.b365-sidebar {
  background-color: var(--b365-bg-subnav);
  border: 1px solid var(--b365-border);
  border-radius: 6px;
  overflow: hidden;
}

.b365-sidebar-section {
  padding: 12px 0;
  border-bottom: 1px solid var(--b365-border);
}

.b365-sidebar-section:last-child {
  border-bottom: none;
}

.b365-sidebar-title {
  color: var(--b365-teal-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 16px 8px;
}

.b365-sidebar-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: #cccccc;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.b365-sidebar-item:hover {
  background-color: #242424;
  color: #ffffff;
}

.b365-sidebar-item.active {
  background-color: #262626;
  color: #ffffff;
  border-left-color: var(--b365-teal-accent);
  font-weight: 700;
}

.b365-sidebar-item img {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  object-fit: contain;
}

.b365-sidebar-item i {
  width: 18px;
  margin-right: 10px;
  text-align: center;
  color: var(--b365-teal-accent);
}

/* Competições Accordion */
.b365-comp-group {
  margin-top: 4px;
}

.b365-comp-country {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #888888;
  text-transform: uppercase;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.b365-comp-country img {
  width: 14px;
  height: 10px;
  object-fit: cover;
  border-radius: 2px;
}

/* ==========================================================================
   COLUNA 2: CONTEÚDO CENTRAL (PARTIDAS & COTAÇÕES)
   ========================================================================== */
.b365-center-col {
  min-width: 0;
}

/* Sub-filtros (Pills: Todos, Hoje, Amanhã) */
.b365-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  white-space: nowrap;
}

.b365-pill-filter {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #363636;
  background-color: #202020;
  color: #cccccc;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.b365-pill-filter:hover {
  background-color: #2a2a2a;
  color: #ffffff;
}

.b365-pill-filter.active {
  background-color: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

/* Banner Carrossel */
.b365-banner-container {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--b365-border);
}

.b365-banner-container img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

/* League Section */
.b365-league-box {
  background-color: var(--b365-bg-card);
  border: 1px solid var(--b365-border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

.b365-league-bar {
  background-color: var(--b365-bg-card-header);
  border-bottom: 1px solid var(--b365-border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.b365-league-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.b365-league-title img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.b365-league-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.b365-league-tools button {
  background: none;
  border: none;
  color: #888888;
  cursor: pointer;
  padding: 2px 6px;
  font-size: 12px;
  transition: color 0.15s;
}

.b365-league-tools button:hover {
  color: var(--b365-yellow);
}

/* Tabela de Jogos */
.b365-table-matches {
  width: 100%;
  border-collapse: collapse;
}

.b365-table-matches thead th {
  background-color: #1a1a1a;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #888888;
  text-transform: uppercase;
  border-bottom: 1px solid var(--b365-border);
}

.b365-match-row {
  background-color: var(--b365-bg-card);
  border-bottom: 1px solid var(--b365-border);
  transition: background-color 0.15s;
}

.b365-match-row:hover {
  background-color: var(--b365-bg-hover);
}

.b365-match-cell-teams {
  padding: 10px 14px;
  vertical-align: middle;
}

.b365-match-time {
  font-size: 11.5px;
  color: #888888;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.b365-teams-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}

.b365-team-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.b365-team-line img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* Botões de Cotação (Odds) */
.b365-odd-cell {
  padding: 6px 4px;
  vertical-align: middle;
  text-align: center;
  width: 68px;
}

.b365-odd-btn {
  background-color: var(--b365-odd-bg);
  border: 1px solid var(--b365-odd-border);
  border-radius: 4px;
  height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  width: 100%;
}

.b365-odd-btn:hover {
  background-color: #383838;
  border-color: #4a4a4a;
}

.b365-odd-btn .odd-lbl {
  font-size: 10px;
  color: #888888;
  line-height: 1;
  margin-bottom: 2px;
}

.b365-odd-btn .odd-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--b365-yellow);
  line-height: 1;
}

/* Odd Ativa (Selecionada no Bilhete) */
.b365-odd-btn.active {
  background-color: var(--b365-yellow) !important;
  border-color: var(--b365-yellow) !important;
  box-shadow: 0 0 10px rgba(255, 223, 27, 0.4);
}

.b365-odd-btn.active .odd-lbl {
  color: #333333 !important;
}

.b365-odd-btn.active .odd-val {
  color: #111111 !important;
}

/* Botão Mais Cotações */
.b365-more-odds-cell {
  padding: 6px 8px;
  vertical-align: middle;
  text-align: center;
  width: 52px;
}

.b365-more-btn {
  background-color: #242424;
  border: 1px solid #333333;
  color: #888888;
  font-size: 11.5px;
  font-weight: 600;
  height: 38px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.b365-more-btn:hover, .b365-more-btn.active {
  background-color: #303030;
  color: #ffffff;
  border-color: #444444;
}

/* ==========================================================================
   COLUNA 3: CUPOM DE APOSTAS (BETSLIP / CADERNETA)
   ========================================================================== */
.b365-betslip-col {
  position: sticky;
  top: 70px;
}

.b365-betslip-box {
  background-color: var(--b365-bg-card);
  border: 1px solid var(--b365-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.b365-betslip-header {
  background-color: var(--b365-spruce);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.b365-betslip-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.b365-betslip-badge {
  background-color: var(--b365-yellow);
  color: #111111;
  font-size: 11px;
  font-weight: 800;
  border-radius: 12px;
  padding: 2px 8px;
}

.b365-betslip-body {
  padding: 14px;
}

/* Cupom Vazio */
.b365-betslip-empty {
  text-align: center;
  padding: 30px 10px;
  color: #777777;
}

.b365-betslip-empty i {
  font-size: 32px;
  color: #444444;
  margin-bottom: 10px;
  display: block;
}

.b365-betslip-empty .title {
  font-size: 13.5px;
  font-weight: 600;
  color: #999999;
}

.b365-betslip-empty .subtitle {
  font-size: 12px;
  color: #666666;
  margin-top: 4px;
}

/* Item de Seleção */
.b365-selection-card {
  background-color: #242424;
  border: 1px solid #333333;
  border-radius: 5px;
  padding: 10px 12px;
  margin-bottom: 10px;
  position: relative;
}

.b365-sel-del {
  position: absolute;
  top: 8px;
  right: 10px;
  color: #888888;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.15s;
}

.b365-sel-del:hover {
  color: #ff5555;
}

.b365-sel-teams {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  padding-right: 20px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.b365-sel-market {
  font-size: 11.5px;
  color: #999999;
  margin-bottom: 6px;
}

.b365-sel-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #2e2e2e;
  padding-top: 6px;
}

.b365-sel-pick .label {
  font-size: 12px;
  color: #cccccc;
  font-weight: 600;
}

.b365-sel-pick .rate {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--b365-yellow);
}

/* Inputs do Cupom */
.b365-stake-box {
  margin: 14px 0 10px;
}

.b365-stake-box label {
  font-size: 11px;
  font-weight: 700;
  color: #888888;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.b365-input-group {
  display: flex;
  background-color: #242424;
  border: 1px solid #363636;
  border-radius: 4px;
  overflow: hidden;
}

.b365-input-group .prefix {
  padding: 8px 12px;
  background-color: #1a1a1a;
  color: var(--b365-yellow);
  font-size: 13px;
  font-weight: 700;
}

.b365-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  outline: none;
}

/* Resumo de Retorno */
.b365-summary-box {
  background-color: #181818;
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid #282828;
}

.b365-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #aaaaaa;
  margin-bottom: 4px;
}

.b365-sum-row.total-return {
  border-top: 1px solid #2c2c2c;
  padding-top: 6px;
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.b365-sum-row.total-return .val {
  color: var(--b365-teal-accent);
  font-size: 15px;
}

/* Botões do Bilhete */
.b365-btn-bet-action {
  width: 100%;
  height: 42px;
  background-color: var(--b365-yellow-btn);
  color: #111111;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.b365-btn-bet-action:hover:not(:disabled) {
  background-color: var(--b365-yellow-hover);
  transform: translateY(-1px);
}

.b365-btn-bet-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.b365-btn-clear-slip {
  width: 100%;
  background: transparent;
  border: none;
  color: #888888;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 0;
  cursor: pointer;
  margin-top: 6px;
  transition: color 0.15s;
}

.b365-btn-clear-slip:hover {
  color: #ff5555;
}

/* ==========================================================================
   MODAL MAIS COTAÇÕES (TODOS OS MERCADOS)
   ========================================================================== */
.modal-content.b365-modal {
  background-color: var(--b365-bg-card);
  border: 1px solid var(--b365-border);
  color: #ffffff;
  border-radius: 6px;
  overflow-x: hidden !important;
}

.modal-content.b365-modal .modal-body {
  overflow-x: hidden !important;
}

.modal-content.b365-modal .modal-header {
  background-color: var(--b365-spruce);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 12px 18px;
}

.modal-content.b365-modal .modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.b365-modal-tabs {
  background-color: #181818;
  padding: 10px 18px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--b365-border);
}

.b365-modal-tab-btn {
  background-color: #242424;
  border: 1px solid #363636;
  color: #cccccc;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}

.b365-modal-tab-btn.active {
  background-color: var(--b365-spruce-active);
  color: #ffffff;
  border-color: var(--b365-teal-accent);
}

.b365-market-group-title {
  color: var(--b365-teal-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 16px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--b365-border);
}

.b365-modal-odd-item {
  background-color: #242424;
  border: 1px solid #333333;
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

/* ==========================================================================
   FOOTER BET365 / BRASIL365
   ========================================================================== */
.b365-footer {
  background-color: #121212;
  border-top: 1px solid #222222;
  padding: 40px 16px 80px;
  color: #777777;
  font-size: 12px;
  line-height: 1.6;
}

.b365-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.b365-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}

.b365-footer-links a {
  color: #999999;
  font-size: 12.5px;
  font-weight: 500;
}

.b365-footer-links a:hover {
  color: var(--b365-yellow);
}

.b365-footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.b365-footer-badges img {
  height: 24px;
  object-fit: contain;
  opacity: 0.7;
}

.b365-footer-text {
  font-size: 11.5px;
  color: #666666;
  margin-bottom: 12px;
}

.b365-footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  border-top: 1px solid #222222;
  padding-top: 16px;
}

.b365-footer-social img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.b365-footer-social img:hover {
  opacity: 1;
}

/* ==========================================================================
   BARRA DE NAVEGAÇÃO MOBILE (FIXED BOTTOM TAB BAR)
   ========================================================================== */
.b365-bottom-bar {
  display: none;
}

@media (max-width: 991px) {
  .b365-grid {
    grid-template-columns: 1fr;
  }
  
  .b365-filter-pills {
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .b365-filter-pills select {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 6px;
  }
  
  .b365-sidebar,
  .b365-betslip-col,
  .b365-topbar-mini,
  .b365-nav-tabs {
    display: none !important;
  }
  
  .b365-header {
    height: 50px;
    padding: 0 12px;
  }
  
  .b365-header-inner {
    justify-content: space-between;
  }
  
  .b365-logo-img {
    height: 24px;
  }
  
  .b365-btn-rewards {
    padding: 4px 10px;
    font-size: 11px;
  }
  
  .b365-btn-register {
    padding: 4px 12px;
    font-size: 11px;
  }
  
  .b365-btn-login {
    padding: 4px 12px;
    font-size: 11px;
  }
  
  .b365-subnav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  
  .b365-search-pill {
    width: 100%;
  }
  
  .b365-main-container {
    padding: 10px 8px 70px;
  }

  /* Fixed Bottom Bar */
  .b365-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: #1a1a1a;
    border-top: 1px solid #282828;
    z-index: 1050;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
  }
  
  .b365-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    height: 100%;
    transition: all 0.15s;
    position: relative;
  }
  
  .b365-tab-item i {
    font-size: 18px;
    margin-bottom: 2px;
  }
  
  .b365-tab-item.active {
    color: var(--b365-teal-accent);
  }
  
  .b365-tab-item:hover {
    color: #ffffff;
  }

  /* Floating Betslip Trigger on Mobile */
  .b365-mobile-slip-trigger {
    position: fixed;
    bottom: 64px;
    left: 12px;
    right: 12px;
    background: linear-gradient(90deg, var(--b365-spruce) 0%, var(--b365-spruce-active) 100%);
    border: 1px solid var(--b365-teal-accent);
    border-radius: 8px;
    padding: 10px 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1040;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    cursor: pointer;
  }
  
  .b365-mobile-slip-trigger .badge-count {
    background-color: var(--b365-yellow);
    color: #111111;
    font-weight: 800;
    font-size: 11px;
    border-radius: 10px;
    padding: 2px 7px;
    margin-right: 6px;
  }
}
