/* ===============================
   PÁGINA ESPORTES - MOBILE
   =============================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', 'Montserrat', sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

/* Header Mobile - Usando includes/header.php */
/* O header mobile já está sendo renderizado pelo includes/header.php */

.esportes-header .logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.esportes-header .logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #16C72E;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.esportes-header .gift-icon {
  width: 24px;
  height: 24px;
}

.esportes-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.esportes-header .btn-entrar {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.esportes-header .btn-cadastrar {
  background: #16C72E;
  color: #000;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.esportes-header .btn-plus {
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Garantir que o header não tenha margin-bottom */
.hdr-main-content-bc {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  display: block;
  line-height: 0;
}

/* Tabs de Navegação Esportes (abaixo do header mobile) */
.hdr-navigation-scrollable-bc {
  position: sticky;
  top: 44px; /* Altura do hdr-main-content-bc */
  background: #18201d !important;
  z-index: 999;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-x;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none !important;
  height: 40px;
  display: block;
  line-height: 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  box-sizing: border-box;
  will-change: scroll-position;
}

/* Remover espaçamento entre header e menu de navegação */
.hdr-main-content-bc + .hdr-navigation-scrollable-bc {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  margin-bottom: 0 !important;
  position: relative;
  top: 0;
}

/* Remover qualquer espaço causado por quebras de linha ou espaços em branco */
.hdr-main-content-bc ~ .hdr-navigation-scrollable-bc {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* Garantir que não haja espaço visual entre elementos */
.hdr-main-content-bc {
  background: #2a004a !important;
}

.hdr-navigation-scrollable-bc {
  background: #18201d !important;
}

/* Forçar remoção de qualquer espaço entre header e navegação */
body > .hdr-main-content-bc,
.hdr-main-content-bc:last-of-type,
.hdr-main-content-bc {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body > .hdr-navigation-scrollable-bc,
.hdr-navigation-scrollable-bc:first-of-type,
.hdr-navigation-scrollable-bc {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Garantir que não haja espaço mesmo com regras do mobile.css */
@media (max-width: 768px) {
  .hdr-main-content-bc {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .hdr-navigation-scrollable-bc {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Remover qualquer espaçamento de linha */
.hdr-main-content-bc,
.hdr-navigation-scrollable-bc {
  font-size: 0;
  line-height: 0;
}

.hdr-main-content-bc > *,
.hdr-navigation-scrollable-bc > * {
  font-size: initial;
  line-height: initial;
}

@media (min-width: 769px) {
  .hdr-navigation-scrollable-bc {
    display: none;
  }
}

.hdr-navigation-scrollable-bc::-webkit-scrollbar {
  display: none;
}

.hdr-navigation-scrollable-content {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 0 8px;
  margin: 0 !important;
  list-style: none;
  width: max-content;
  box-sizing: border-box;
  height: 40px;
  line-height: 0;
  flex-shrink: 0;
}

.hdr-navigation-link-bc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  height: 32px;
  min-width: 90px;
  line-height: 1;
  letter-spacing: 0.3px;
}

.hdr-navigation-link-bc:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.hdr-navigation-link-bc.active {
  color: #000;
  background: #16C72E;
  font-weight: 600;
  border-color: #16C72E;
}

.hdr-navigation-link-bc .nav-menu-icon {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.95);
}

.hdr-navigation-link-bc.active .nav-menu-icon {
  color: #000;
}

.hdr-navigation-link-bc img.nav-menu-icon {
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
  max-width: 17px;
  max-height: 17px;
  width: auto;
  height: auto;
  margin-right: 0;
}

/* Estilos para ícones bc-i-* */
.hdr-navigation-link-bc i.nav-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1;
}

.hdr-navigation-link-bc.active i.nav-menu-icon {
  color: #000;
}

/* Classes específicas para os ícones bc-i-* */
.hdr-navigation-link-bc .bc-i-prematch-1,
.hdr-navigation-link-bc .bc-i-live,
.hdr-navigation-link-bc .bc-i-tournament,
.hdr-navigation-link-bc .bc-i-results,
.hdr-navigation-link-bc .bc-i-topgames {
  display: inline-block;
  width: 17px;
  height: 17px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-style: normal;
}

/* Fallback para ícones usando Font Awesome se as classes bc-i-* não estiverem definidas */
.hdr-navigation-link-bc .bc-i-prematch-1::before {
  content: "\f1e3"; /* Ícone de relógio/clock */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.hdr-navigation-link-bc .bc-i-live::before {
  content: "\f111"; /* Círculo */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.hdr-navigation-link-bc .bc-i-tournament::before {
  content: "\f091"; /* Troféu */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.hdr-navigation-link-bc .bc-i-results::before {
  content: "\f15c"; /* Documento */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.hdr-navigation-link-bc .bc-i-topgames::before {
  content: "\f005"; /* Estrela */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

@media (min-width: 769px) {
  .hdr-navigation-scrollable-bc {
    display: none;
  }
}

/* Filtros - Special Games Button */
.special-games-button {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 10px 15px;
  background: #18201d !important;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.special-games-button::-webkit-scrollbar {
  display: none;
}

.special-games-button .btn.s-small {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: inherit;
  line-height: 1;
  height: auto;
  min-height: 28px;
}

.special-games-button .btn.s-small:hover {
  background: rgba(22, 199, 46, 0.2);
  border-color: #16C72E;
  color: #16C72E;
  transform: translateY(-1px);
}

.special-games-button .btn.s-small.active {
  background: #16C72E;
  border-color: #16C72E;
  color: #000;
  font-weight: 600;
}

.special-games-button .btn.s-small i {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.special-games-button .btn.s-small span {
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

/* Ícones bc-i-* com cores específicas */
.special-games-button .btn.s-small.popular-matches i {
  color: #9d4edd;
}

.special-games-button .btn.s-small.popular-matches i.bc-i-tournament {
  color: #9d4edd;
}

.special-games-button .btn.s-small.boosted-bets i {
  color: #16C72E;
}

.special-games-button .btn.s-small.boosted-bets i.bc-i-boost {
  color: #16C72E;
}

.special-games-button .btn.s-small.multiple-of-the-day i.bc-i-FlashGames {
  color: #16C72E;
}

.special-games-button .btn.s-small.upcoming-matches i {
  color: #fff;
}

.special-games-button .btn.s-small.active i {
  color: #000;
}

/* Filtro de Tempo e Busca */
.time-filter-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  background: #18201d !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.time-filter-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-filter-dropdown {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  padding: 6px 30px 6px 35px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  min-width: 90px;
  height: 28px;
}

.time-filter-dropdown option {
  background: #18201d;
  color: #fff;
}

.time-filter-icon {
  position: absolute;
  left: 12px;
  color: #16C72E;
  font-size: 14px;
  pointer-events: none;
}

.time-filter-wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #16C72E;
  pointer-events: none;
}

.search-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-icon {
  color: #fff;
  font-size: 16px;
}

.search-icon-wrapper:hover .search-icon {
  color: #16C72E;
}

/* Categorias de Esportes - Horizontal Slider */
.horizontal-sl-list-container {
  padding: 10px 15px;
  background: #18201d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-x;
}

.horizontal-sl-list-container::-webkit-scrollbar {
  display: none;
}

.horizontal-sl-list {
  display: flex;
  gap: 8px;
  padding-bottom: 5px;
  width: max-content;
  min-width: 100%;
}

.pp-sport-type-holder-bc {
  display: flex;
  gap: 10px;
}

.horizontal-sl-item-bc {
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  min-width: 70px;
  max-width: 80px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}

.horizontal-sl-item-bc:hover {
  background: #333;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.horizontal-sl-item-bc.active {
  background: #16C72E;
  border-color: #16C72E;
  box-shadow: 0 2px 8px rgba(22, 199, 46, 0.3);
}

.horizontal-title-new {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 2px;
}

.horizontal-sl-item-bc.active .horizontal-title-new {
  color: #ffffff;
}

.horizontal-sl-icon-bc {
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 2px 0;
}

/* Cores dos ícones por esporte (conforme imagem) */
.horizontal-sl-item-bc.Soccer .horizontal-sl-icon-bc {
  color: #16C72E;
}

.horizontal-sl-item-bc.Soccer.active .horizontal-sl-icon-bc {
  color: #ffffff;
}

.horizontal-sl-item-bc.Tennis .horizontal-sl-icon-bc {
  color: #ffd700;
}

.horizontal-sl-item-bc.Basketball .horizontal-sl-icon-bc {
  color: #ffd700;
}

.horizontal-sl-item-bc.Volleyball .horizontal-sl-icon-bc {
  color: #ffd700;
}

.horizontal-sl-item-bc.TableTennis .horizontal-sl-icon-bc {
  color: #16C72E;
}

.horizontal-sl-item-bc.Futsal .horizontal-sl-icon-bc {
  color: #4a90e2;
}

.horizontal-sl-item-bc.Baseball .horizontal-sl-icon-bc {
  color: #ffd700;
}

.horizontal-sl-item-bc.AmericanFootball .horizontal-sl-icon-bc {
  color: #ffffff;
}

.horizontal-sl-item-bc.Mma .horizontal-sl-icon-bc {
  color: #ffffff;
}

.horizontal-sl-item-bc.Boxing .horizontal-sl-icon-bc {
  color: #ffffff;
}

.horizontal-sl-item-bc.Handball .horizontal-sl-icon-bc {
  color: #ffffff;
}

.horizontal-sl-item-bc.Badminton .horizontal-sl-icon-bc {
  color: #ffffff;
}

.horizontal-sl-item-bc.Formula1 .horizontal-sl-icon-bc {
  color: #ffffff;
}

.horizontal-sl-item-bc.IceHockey .horizontal-sl-icon-bc {
  color: #4a90e2;
}

.horizontal-sl-item-bc.active .horizontal-sl-icon-bc {
  color: #ffffff !important;
}

.horizontal-sl-title-bc {
  font-size: 10px;
  color: #fff;
  font-weight: 500;
  margin-top: 0;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  text-align: center;
  white-space: nowrap;
}

.horizontal-sl-item-bc.active .horizontal-sl-title-bc {
  color: #ffffff;
  font-weight: 600;
}

/* Lista de Países/Regiões */
.countries-list {
  background: #18201d;
  padding: 0;
}

.country-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  background: #18201d;
}

.country-item:hover {
  background: rgba(22, 199, 46, 0.1);
}

.country-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.country-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.country-flag.fas {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.country-name {
  font-size: 13px;
  font-weight: 400;
  color: #fff;
}

.country-count {
  font-size: 13px;
  color: #fff;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-weight: 500;
}

.country-arrow {
  font-size: 12px;
  color: #16C72E;
  transition: transform 0.3s ease;
}

.country-item.expanded .country-arrow {
  transform: rotate(180deg);
}

/* Lista de Campeonatos (expandida) */
.championships-list {
  background: #1a1f1c;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.championship-item-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.championship-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px 10px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.3s ease;
  background: #1a1f1c;
}

.championship-item:hover {
  background: rgba(22, 199, 46, 0.08);
}

.championship-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.championship-icon {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.championship-name {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.championship-count {
  font-size: 12px;
  color: #fff;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-weight: 500;
}

.championship-arrow {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.championship-loading,
.championship-empty,
.championship-error {
  padding: 15px 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  background: #1a1f1c;
}

/* Barra de Navegação Inferior */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #18201d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  height: 60px;
}

@media (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  flex: 1;
}

.bottom-nav-item.active {
  color: #16C72E;
}

.bottom-nav-icon {
  font-size: 20px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav-badge {
  background: #ff3449;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.bottom-nav-label {
  font-size: 10px;
  font-weight: 500;
}

/* Conteúdo Principal */
.main-content {
  padding-top: 0 !important;
  padding-bottom: 60px;
  min-height: 100vh;
  background: #000000;
  margin-top: 0 !important;
}

@media (min-width: 769px) {
  .main-content {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Responsive */
@media (min-width: 769px) {
  .main-content {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: #18201d;
}

::-webkit-scrollbar-thumb {
  background: #16C72E;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #119923;
}

/* Ocultar elementos do React/SPA no mobile */
/* Mobile - Garantir que todos os elementos fiquem colados */
@media (max-width: 768px) {
  /* Remover todos os espaçamentos entre elementos */
  .hdr-main-content-bc,
  .hdr-navigation-scrollable-bc,
  .main-content,
  .special-games-button,
  .time-filter-search,
  .horizontal-sl-list-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Garantir que o header não tenha espaçamento */
  .hdr-main-content-bc {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Navegação principal colada ao header */
  .hdr-navigation-scrollable-bc {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top: none !important;
    background: #18201d !important;
  }

  /* Garantir que header e menu estejam colados */
  .hdr-main-content-bc + .hdr-navigation-scrollable-bc,
  .hdr-main-content-bc ~ .hdr-navigation-scrollable-bc {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    position: relative;
    top: 0;
  }
  
  /* Remover qualquer espaço visual entre header e navegação */
  .hdr-main-content-bc {
    border-bottom: none !important;
  }
  
  .hdr-navigation-scrollable-bc {
    border-top: none !important;
  }

  /* Filtros colados à navegação */
  .special-games-button {
    margin-top: 0 !important;
    padding-top: 12px;
    padding-bottom: 12px;
    border-top: none !important;
  }

  /* Filtro de tempo colado aos filtros */
  .time-filter-search {
    margin-top: 0 !important;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: none !important;
  }

  /* Categorias coladas ao filtro de tempo */
  .horizontal-sl-list-container {
    margin-top: 0 !important;
    padding-top: 12px;
    border-top: none !important;
  }

  /* Conteúdo principal sem padding-top */
  .main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Ocultar elementos do layout padrão */
  #root,
  .layout-bc,
  .layout-header-holder-bc,
  .layout-content-holder-bc,
  .layout-footer-holder-bc,
  .layout-betslip-holder-bc,
  .layout-navigation-holder-bc {
    display: none !important;
  }
  
  body {
    background: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Garantir que não haja espaços visíveis */
  .hdr-navigation-scrollable-content {
    margin: 0 !important;
    padding: 0 8px;
    width: max-content !important;
    min-width: max-content !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
  }
  
  /* Garantir que o carrossel funcione no mobile */
  .hdr-navigation-scrollable-bc {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    touch-action: pan-x !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
    overscroll-behavior-x: contain !important;
    overscroll-behavior-y: none !important;
    will-change: scroll-position !important;
  }
  
  /* Prevenir scroll da página quando interagindo com o menu */
  .hdr-navigation-scrollable-bc,
  .hdr-navigation-scrollable-content {
    touch-action: pan-x !important;
  }
  
  .hdr-navigation-scrollable-bc::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  
  /* Garantir que os links não quebrem linha */
  .hdr-navigation-link-bc {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    min-width: 90px !important;
  }

  /* Remover qualquer espaçamento de linha entre elementos */
  .hdr-main-content-bc + .hdr-navigation-scrollable-bc,
  .hdr-navigation-scrollable-bc + .main-content,
  .special-games-button + .time-filter-search,
  .time-filter-search + .horizontal-sl-list-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Garantir backgrounds consistentes */
  .hdr-navigation-scrollable-bc,
  .special-games-button,
  .time-filter-search {
    background: #18201d !important;
  }

  .horizontal-sl-list-container {
    background: #18201d !important;
  }
  
  .countries-list {
    background: #18201d !important;
  }
}

/* Garantir que elementos customizados apareçam */
.esportes-header,
.esportes-tabs,
.main-content,
.bottom-nav {
  display: block;
}

@media (min-width: 769px) {
  .esportes-header,
  .esportes-tabs,
  .bottom-nav {
    display: none !important;
  }
}

/* Navegação Inferior - Tab Navigation */
.tab-navigation-w-bc {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #18201d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 8px 4px;
  height: auto;
  min-height: 60px;
}

@media (min-width: 769px) {
  .tab-navigation-w-bc {
    display: none;
  }
}

.tab-nav-item-bc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  flex: 1;
  padding: 4px 8px;
  border-radius: 4px;
  position: relative;
}

.tab-nav-item-bc:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

.tab-nav-item-bc.active {
  color: #16C72E;
}

.tab-nav-item-bc.active .tab-nav-icon-bc {
  color: #16C72E;
}

.tab-nav-icon-bc {
  font-size: 20px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.tab-nav-item-bc.active .tab-nav-icon-bc {
  color: #16C72E;
}

.tab-nav-title-bc {
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  color: inherit;
}

.tab-nav-title-bc.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* Badge para boletim de apostas */
.tab-nav-item-bc.badge- {
  position: relative;
}

.tab-nav-item-bc.badge-::after {
  content: attr(data-badge);
  position: absolute;
  top: 2px;
  right: 8px;
  background: #ff3449;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 8px;
  min-width: 16px;
  text-align: center;
  line-height: 1.2;
}

.tab-nav-item-bc.badge-[data-badge="0"]::after {
  display: none;
}

.tab-nav-item-bc.count-blink-even::after {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Ícones específicos bc-i-* */
.bc-i-slots::before {
  content: "\f1b3"; /* Ícone de dados */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.bc-i-livecasino::before {
  content: "\f1e0"; /* Ícone de vídeo */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.bc-i-sport::before {
  content: "\f1e3"; /* Ícone de relógio */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.bc-i-betslip::before {
  content: "\f0cb"; /* Ícone de lista */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.bc-i-live::before {
  content: "\f111"; /* Círculo */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.bc-i-live-chat::before {
  content: "\f075"; /* Ícone de chat */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.bc-i-burger::before {
  content: "\f0c9"; /* Ícone de menu hambúrguer */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* ============================================
   NOVO FOOTER - BOTTOM NAVIGATION
   ============================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #18201d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
}

.bottom-nav > div[style*="background: red"] {
  display: none; /* Ocultar div de debug */
}

.nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 8px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-container::-webkit-scrollbar {
  display: none;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  flex: 1;
  min-width: 0;
  padding: 4px 8px;
  position: relative;
  height: 100%;
}

.nav-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-item-active {
  color: #16C72E;
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.nav-item:hover .nav-icon {
  opacity: 0.8;
}

.nav-item-active .nav-icon,
.nav-item-active .active-icon {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(64%) sepia(95%) saturate(1234%) hue-rotate(81deg) brightness(97%) contrast(89%) !important;
}

.nav-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Badge do boletim */
.betslip-icon-wrapper {
  position: relative;
}

.betslip-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #16C72E;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 10;
  line-height: 1;
}

/* Ajustes para mobile */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 4px;
  }
  
  .nav-item {
    padding: 4px 4px;
  }
  
  .nav-icon {
    width: 22px;
    height: 22px;
  }
  
  .betslip-badge {
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    top: -5px;
    right: -5px;
  }
}
