:root {
  --bg-dark: #0e111d;
  --bg-header: #0b0d17;
  --bg-nav: #111426;
  --bg-banner-overlay: rgba(0, 0, 0, 0.5);
  --bg-card: #161927;
  --bg-input: #1c1f30;
  --bg-primary: #ff3c7e;
  --bg-secondary: #e6326e;

  --primary-pink: #ff3c7e;
  --primary-pink-hover: #e6326e;
  --primary-blue: #007bff;
  --accent-yellow: #ffc107;

  --text-light: #fff;
  --text-muted: #bbb;
  --text-dark: #000;
  --border-dark: #222;
  
  --transition-default: all 0.3s ease;
  --border-radius: 8px;
  --shadow-default: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 6px 20px rgba(255, 60, 126, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background-color: var(--bg-nav);
  box-shadow: var(--shadow-default);
}


/* No arquivo web/style.css */
.logo img {
  height: 80px;
  margin-right: 10px;
  transition: var(--transition-default);
  margin-left: -20px; /* Adiciona uma margem negativa para puxar a logo para a esquerda */
}

.logo img {
  height: 110px; /* Aumenta a altura da imagem da logo */
  margin-right: 10px;
  transition: var(--transition-default);
}

.logo:hover img {
  transform: scale(1.05);
}

.barra-pesquisa {
  position: relative;
  flex: 1 1 auto; /* Permite que a barra cresça e encolha */
  max-width: 600px; /* Define uma largura máxima em vez de fixa */
  min-width: 200px; /* Evita que a barra fique pequena demais */
  margin: 0 20px;
}

.barra-pesquisa input {
  width: 100%;
  padding: 20px;
  font-size: 14px;
  border-radius: var(--border-radius);
  border: none;
  outline: none;
  background-color: var(--bg-input);
  color: var(--text-light);
  transition: var(--transition-default);
}

.barra-pesquisa input:focus {
  box-shadow: 0 0 0 2px var(--primary-pink);
}

.barra-pesquisa::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: var(--primary-pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-default);
}

.barra-pesquisa:hover::after {
  transform: scaleX(1);
}

.barra-pesquisa:hover {
  transform: translateY(-2px);
}

/* ===== AVATAR E DROPDOWN ===== */
.avatar-wrapper {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-dark);
  cursor: pointer;
  position: relative;
  transition: var(--transition-default);
}

.avatar-wrapper:hover {
  border-color: var(--primary-pink);
  transform: scale(1.1);
}

.avatar-perfil {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 55px;
  right: 30px;
  width: 260px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-hover);
  border-radius: 10px;
  padding: 16px;
  z-index: 1000;
  font-size: 14px;
  color: var(--text-light);
}

.dropdown-menu.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.dropdown-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  object-fit: cover;
}

.user-info strong {
  color: var(--primary-pink);
  font-size: 15px;
}

.dropdown-menu hr {
  border: none;
  border-top: 1px solid var(--border-dark);
  margin: 10px 0;
}

.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition-default);
}

.dropdown-menu a:hover {
  background-color: var(--bg-input);
  transform: translateX(5px);
}

.dropdown-menu .logout {
  color: #ff5f5f;
  font-weight: bold;
}

.dropdown-menu .logout:hover {
  background-color: rgba(255, 95, 95, 0.1);
}

/* ===== NAVEGAÇÃO ===== */

nav {
  background-color: var(--bg-nav);
  display: flex;
  align-items: center; /* Garante alinhamento vertical */
  justify-content: center;
  flex-wrap: nowrap; /* Impede a quebra de linha dos itens */
  gap: 16px;
}

.nav-button {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  transition: var(--transition-default);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 20px; /* Adicionado para a transição suave */
  position: relative;
}

/* NOVO ESTILO DE HOVER (fundo rosa para qualquer botão) */
.nav-button:hover {
color: var(--primary-pink);
  font-weight: bold;
  background: none; /* Remove o fundo rosa */
  box-shadow: none;
  transform: none;    
}

/* NOVO ESTILO ATIVO (apenas o texto fica rosa) */
.nav-button.active {
  color: var(--primary-pink);
  font-weight: bold;
  background: none; /* Remove o fundo rosa */
  box-shadow: none;
  transform: none;
}

/* ===== DROPDOWN DE NAVEGAÇÃO ===== */
.dropdown {
  position: relative;
}

/* Encontre este seletor no seu style.css */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-card);
  padding: 10px 0;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-default);
  z-index: 999;
  min-width: 220px; /* Aumentei um pouco para caber os nomes */
  max-height: 450px;  /* Define a altura máxima */
  overflow-y: auto;   /* Adiciona a rolagem vertical */
  overflow-x: hidden; /* Remove a rolagem horizontal */
}

.dropdown-content.show {
  display: block;
  animation: slideDown 0.3s ease;
}

.lista-times,
.lista-tabelas {
  list-style: none; /* Mantém a remoção dos marcadores da lista */
  margin: 0;
  padding: 0;
  /* A linha "display: grid;" foi removida daqui */
}

.lista-times li,
.lista-tabelas li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition-default);
}

.lista-times li:hover,
.lista-tabelas li:hover {
  background-color: var(--primary-pink);
  transform: translateX(5px);
}

.lista-times img,
.lista-tabelas img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.lista-times span,
.lista-tabelas span {
  font-size: 14px;
  line-height: 1;
}

.lista-times a,
.lista-tabelas a {
  display: flex;
  align-items: center;
  padding: 2px 6px;
  text-decoration: none;
  color: white;
  gap: 10px;
  width: 100%;
}

/* ===== BANNER ===== */
.banner {
  background-image: linear-gradient(var(--bg-banner-overlay), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1506012787146-f92b2d7d6d98?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.banner h1 {
  font-size: 36px;
  line-height: 1.3;
  max-width: 800px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== SEÇÕES GERAIS ===== */
.section {
  padding: 40px 80px;
} 

.section h2 {
  font-size: 24px;
  border-left: 4px solid var(--accent-yellow);
  padding-left: 12px;
  margin-bottom: 24px;
  color: var(--primary-pink);
  margin-left: -16px; /* Adiciona margem negativa para alinhar com a logo */
}

/* ===== CARROSSEL ===== */
.swiper {
  height: 400px;
  border-radius: 12px;
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-default);
}

.swiper-slide {
  text-align: center;
  background: var(--bg-header);
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: var(--bg-card) 35px solid;
}

.swiper-slide img {
  border-radius: 15px 15px 0 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet {
  background-color: var(--primary-pink) !important;
  width: 10px !important;
  height: 10px !important;
}

/* ===== CARROSSEL COM LEGENDA (NOVO ESTILO) ===== */

/* Garante que o slide seja o container de referência para a legenda */
.swiper-slide {
  position: relative; 
}

.carousel-caption-custom {
  /* Posiciona a legenda sobre a imagem, no canto inferior esquerdo */
  position: absolute;
  bottom: 0;
  left: 0;
  
  /* Faz a legenda ocupar 100% da altura e 65% da largura à esquerda */
  top: 0;
  width: 65%; 
  
  /* Alinhamento do texto e cores */
  color: #fff;
  text-align: left;
  padding: 30px 60px; /* Espaçamento interno generoso */
  
  /* EFEITO DE GRADIENTE: A MÁGICA ACONTECE AQUI! */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%);
  
  /* Alinha o texto verticalmente ao centro */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-caption-custom h3 {
  font-size: 2.8rem; /* Tamanho grande para a manchete */
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Sombra para melhorar a leitura */
  margin: 0;
}

.carousel-caption-custom p {
  font-size: 1.3rem; /* Tamanho da descrição */
  margin-top: 10px;
  max-width: 90%; /* Evita que o texto encoste na área de transição */
}

/* ===== AJUSTES PARA TELAS MENORES (CELULARES) ===== */
@media (max-width: 768px) {
  .carousel-caption-custom {
    width: 100%; /* Em telas pequenas, a legenda ocupa toda a largura */
    justify-content: flex-end; /* Alinha o texto na parte de baixo */
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 80%); /* Gradiente de baixo pra cima */
  }

  .carousel-caption-custom h3 {
    font-size: 1.6rem;
  }

  .carousel-caption-custom p {
    font-size: 1rem;
  }
}

/* ===== JOGOS DA RODADA (VERSÃO DEFINITIVA)===== */
.rodada-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.rodada-header h3 {
  background-color: var(--bg-card);
  padding: 8px 24px;
  border-radius: var(--border-radius);
  font-size: 18px;
  color: var(--primary-pink);
  box-shadow: var(--shadow-default);
}

.rodada-carousel {
  position: relative;
  /* A margem foi removida daqui para alinhar com o resto da página */
}

.jogos-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.jogos-wrapper::-webkit-scrollbar {
  display: none;
}

.jogos-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 350px;
  gap: 24px;
  padding-bottom: 15px;
}

.jogo-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-default);
  transition: var(--transition-default);
  border-left: 3px solid transparent;
  width: 350px;
}

.jogo-card:hover {
  transform: translateY(-5px);
  /* A linha da borda foi removida e o box-shadow foi ajustado para brilhar por igual */
  box-shadow: 0 0 15px rgba(255, 60, 126, 0.4);
  border-left-color: transparent; /* Garante que nenhuma borda apareça */
}

.jogo-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.jogo-placar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  gap: 10px;
}

.time-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.time-info.visitante {
  /* Mantido para consistência caso precise no futuro */
}

.time-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.time-nome {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placar {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-pink);
  background-color: var(--bg-input);
  padding: 6px 16px;
  border-radius: var(--border-radius);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-detalhes {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--bg-input);
  color: var(--text-light);
  padding: 10px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition-default);
  font-weight: 600;
  font-size: 14px;
}

.btn-detalhes:hover {
  background-color: var(--primary-pink);
  color: var(--text-light);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(14, 17, 29, 0.8);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-default);
}

.nav-arrow:hover {
  background-color: var(--primary-pink);
  border-color: var(--primary-pink);
}

#scroll-left {
  left: -25px;
}

#scroll-right {
  right: -25px;
}

@media (max-width: 480px) {
  .jogos-grid {
    grid-auto-columns: 300px;
    gap: 16px;
  }
  .jogo-card {
    width: 300px;
  }
  .time-nome {
    font-size: 13px;
    min-height: 38px;
  }
  .placar {
    font-size: 20px;
  }
  .rodada-carousel {
    /* A margem foi removida daqui também */
  }
  .nav-arrow {
    width: 35px;
    height: 35px;
    font-size: 22px;
  }
  #scroll-left { left: -18px; }
  #scroll-right { right: -18px; }
}
/* ===== MODAL DE DETALHES DO JOGO ===== */
.modal-jogo {
  display: none; /* Inicia escondido */
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-jogo-content {
  background-color: var(--bg-card);
  margin: 10% auto;
  padding: 30px;
  border: 1px solid var(--border-dark);
  width: 90%;
  max-width: 700px;
  border-radius: var(--border-radius);
  position: relative;
  box-shadow: var(--shadow-hover);
  animation: slideDownModal 0.4s ease-out;
}

@keyframes slideDownModal {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-jogo-close {
  color: var(--text-muted);
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  transition: var(--transition-default);
}

.modal-jogo-close:hover,
.modal-jogo-close:focus {
  color: var(--primary-pink);
  text-decoration: none;
  cursor: pointer;
}

.modal-jogo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.modal-header-time {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  font-weight: bold;
}

.modal-header-time img {
  width: 50px;
  height: 50px;
}

.modal-header-time:last-child {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.modal-header-placar {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-pink);
  margin: 0 20px;
}

.modal-jogo-body .info-section {
  margin-bottom: 25px;
}

.modal-jogo-body h3 {
  color: var(--primary-pink);
  border-bottom: 2px solid var(--primary-pink);
  padding-bottom: 5px;
  margin-bottom: 15px;
  display: inline-block;
}

.modal-jogo-body p {
  margin: 8px 0;
  font-size: 16px;
  color: var(--text-muted);
}

.modal-jogo-body p strong {
  color: var(--text-light);
}

.escalacao-container {
  display: flex;
  gap: 30px;
}

.escalacao-time {
  flex: 1;
}

.escalacao-time h4 {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.escalacao-time ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}

.escalacao-time ul li {
  padding: 5px 0;
  font-size: 14px;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 32px;
}

.card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  transition: var(--transition-default);
  box-shadow: var(--shadow-default);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card h3 {
  margin-top: 0;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.foto-card1 {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 12px;
  display: block;
  transition: var(--transition-default);
}

.foto-card1:hover {
  transform: scale(1.05);
}



/* ===== BOTÕES PADRÃO ===== */
.btn {
  background-color: var(--primary-pink);
  color: var(--text-light);
  border: none;
  padding: 12px 18px;
  border-radius: var(--border-radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-default);
  box-shadow: var(--shadow-default);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-pink-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.login-btn {
  background-color: var(--primary-pink);
  color: var(--text-light);
  border: none;
  padding: 12px 18px;
  border-radius: var(--border-radius);
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-default);
  box-shadow: var(--shadow-default);
  margin-top: 10px;
  width: 100%;
}

.login-btn:hover {
  background-color: var(--primary-pink-hover);
  transform: translateY(-1px);
}

/* ===== FORMULÁRIOS ===== */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.login-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  width: 100%;
  max-width: 400px;
}

.login-card h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-pink);
  font-size: 28px;
}

.login-card form {
  display: flex;
  flex-direction: column;
}

.login-card label {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-light);
  font-size: 14px;
}

.login-card label[for="funcao"]::before {
  content: "👤";
  margin-right: 8px;
  font-size: 16px;
}

.login-card input,
.login-card select {
  padding: 12px;
  margin-bottom: 20px;
  border: 2px solid var(--border-dark);
  border-radius: var(--border-radius);
  background-color: var(--bg-input);
  color: var(--text-light);
  font-size: 14px;
  transition: var(--transition-default);
}

.login-card input:focus,
.login-card select:focus {
  outline: none;
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(255, 60, 126, 0.2);
}

.login-card input::placeholder {
  color: var(--text-muted);
}

.login-card select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bbb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.login-card select:hover {
  background-color: var(--bg-card);
  transform: translateY(-1px);
  box-shadow: var(--shadow-default);
}

.login-card select option {
  background-color: var(--bg-input);
  color: var(--text-light);
  padding: 8px;
}

.login-card select option[value="administrador"] {
  background-color: var(--primary-pink);
  color: white;
  font-weight: bold;
}

.login-card select.admin-selected {
  border-color: var(--primary-pink);
  background-color: rgba(255, 60, 126, 0.1);
}

.login-card select.user-selected {
  border-color: var(--primary-blue);
  background-color: rgba(0, 123, 255, 0.1);
}

.criar-conta {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.criar-conta a {
  color: var(--primary-pink);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-default);
}

.criar-conta a:hover {
  color: var(--primary-pink-hover);
  text-decoration: underline;
}

/* ===== CLASSIFICAÇÃO ===== */
.classificacao-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

.classificacao-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.classificacao-header h1 {
  color: var(--primary-pink);
  font-size: 32px;
  margin: 0;
}

.filtros {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.filtros label {
  color: var(--text-light);
  font-weight: 600;
  margin-right: 8px;
}

.filtros select {
  background-color: var(--bg-input);
  color: var(--text-light);
  border: 2px solid var(--border-dark);
  padding: 8px 12px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-default);
}

.filtros select:focus {
  outline: none;
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(255, 60, 126, 0.2);
}

/* ===== TABELAS ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-default);
}

th, td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition-default);
}

th {
  background-color: var(--bg-header);
  color: var(--text-light);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

tr:nth-child(even) {
  background-color: var(--bg-card);
}

tr:nth-child(odd) {
  background-color: var(--bg-nav);
}

tr:hover {
  background-color: var(--bg-input);
  transform: translateX(5px);
}

td {
  color: var(--text-light);
  font-size: 14px;
}

/* ===== TRANSFERÊNCIAS ===== */
.transferencias-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.transferencias-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border-dark);
}

.tab-button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 600;
  padding: 15px 20px;
  cursor: pointer;
  transition: var(--transition-default);
  border-bottom: 3px solid transparent;
  border-radius: 0;
}

.tab-button:hover {
  color: var(--text-light);
  transform: translateY(-2px);
}

.tab-button.active {
  color: var(--primary-pink);
  border-bottom-color: var(--primary-pink);
}

.filtros-transferencias {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.filtro-grupo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filtro-grupo label {
  color: var(--text-light);
  font-weight: 600;
  font-size: 14px;
}

.filtros-transferencias select {
  background-color: var(--bg-input);
  color: var(--text-light);
  border: 2px solid var(--border-dark);
  padding: 10px 15px;
  border-radius: var(--border-radius);
  font-size: 14px;
  min-width: 140px;
  cursor: pointer;
  transition: var(--transition-default);
}

.filtros-transferencias select:focus {
  outline: none;
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(255, 60, 126, 0.2);
}

.transferencias-section {
  display: none;
}

.transferencias-section.active {
  display: block;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-header h2 {
  color: var(--text-light);
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.section-info {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
}

.transferencias-table {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.table-header {
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  display: grid;
  grid-template-columns: 100px 1fr 2fr 1fr 120px 120px;
  gap: 15px;
  padding: 15px 20px;
  font-weight: 700;
  color: var(--text-light);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-header .col-probabilidade {
  grid-column: 5;
}

.table-header .col-fonte {
  grid-column: 6;
}

.transferencia-item {
  display: grid;
  grid-template-columns: 100px 1fr 2fr 1fr 120px 120px;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition-default);
  align-items: center;
}

.transferencia-item:nth-child(1) { animation-delay: 0.1s; }
.transferencia-item:nth-child(2) { animation-delay: 0.2s; }
.transferencia-item:nth-child(3) { animation-delay: 0.3s; }
.transferencia-item:nth-child(4) { animation-delay: 0.4s; }
.transferencia-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.transferencia-item:hover {
  background: var(--bg-input);
  transform: translateX(5px);
}

.transferencia-item:last-child {
  border-bottom: none;
}

.data-transferencia {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.clube-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clube-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-dark);
}

.clube-nome {
  color: var(--text-light);
  font-weight: 600;
  font-size: 14px;
}

.jogador-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.jogador-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-dark);
}

.jogador-details {
  flex: 1;
}

.jogador-nome {
  color: var(--text-light);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 2px;
}

.jogador-posicao {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.jogador-idade {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: 10px;
}

.posicao-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 5px;
}

.posicao-gk { background: #4CAF50; color: white; }
.posicao-def { background: #2196F3; color: white; }
.posicao-mid { background: #FF9800; color: white; }
.posicao-att { background: #F44336; color: white; }

.valor-transferencia {
  color: var(--primary-pink);
  font-weight: 700;
  font-size: 16px;
}

.valor-gratis {
  color: var(--text-muted);
  font-style: italic;
}

.detalhes-transferencia {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.probabilidade-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.prob-alta { background: #4CAF50; color: white; }
.prob-media { background: #FF9800; color: white; }
.prob-baixa { background: #F44336; color: white; }

.fonte-rumor {
  color: var(--text-muted);
  font-size: 12px;
  font-style: italic;
}

.transferencia-destaque {
  background: linear-gradient(135deg, rgba(255, 60, 126, 0.1), rgba(255, 60, 126, 0.05));
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 60, 126, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 60, 126, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 60, 126, 0);
  }
}

.transferencia-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
  color: var(--text-muted);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-dark);
  border-top: 4px solid var(--primary-pink);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== MEDIA QUERIES - RESPONSIVIDADE ===== */

/* Tablets e dispositivos médios */
@media (max-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  header {
    padding: 15px 40px;
  }
  
  .barra-pesquisa {
    width: 500px;
  }
  
  .section {
    padding: 30px 40px;
  }
}

/* Tablets pequenos */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }
  
  .barra-pesquisa {
    width: 100%;
    margin: 0;
  }
  
  nav {
    flex-direction: column;
    gap: 10px;
  }
  
  .banner h1 {
    font-size: 24px;
  }
  
  .section {
    padding: 20px 15px;
  }
  
  .classificacao-container {
    padding: 15px;
  }
  
  .classificacao-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .filtros {
    flex-direction: column;
    gap: 10px;
  }
  
  .login-card {
    padding: 30px 20px;
  }
  
  .login-card select {
    font-size: 16px;
    padding: 12px;
  }
  
  /* Transferências responsivas */
  .transferencias-nav {
    flex-direction: column;
    gap: 10px;
  }
  
  .tab-button {
    padding: 12px 16px;
    font-size: 16px;
  }
  
  .filtros-transferencias {
    flex-direction: column;
    gap: 15px;
  }
  
  .filtro-grupo {
    width: 100%;
  }
  
  .filtros-transferencias select {
    width: 100%;
  }
  
  .table-header {
    grid-template-columns: 80px 1fr 2fr 1fr 100px 80px;
    gap: 10px;
    padding: 12px 15px;
    font-size: 12px;
  }
  
  .transferencia-item {
    grid-template-columns: 80px 1fr 2fr 1fr 100px 80px;
    gap: 10px;
    padding: 15px;
  }
  
  .jogador-avatar {
    width: 40px;
    height: 40px;
  }
  
  .jogador-nome {
    font-size: 14px;
  }
  
  .clube-logo {
    width: 25px;
    height: 25px;
  }
  
  .clube-nome {
    font-size: 12px;
  }
  
  .valor-transferencia {
    font-size: 14px;
  }
  
  .dropdown-menu {
    width: 220px;
    right: 10px;
  }
  
  .user-info {
    flex-direction: column;
    text-align: center;
  }
  
  .dropdown-avatar {
    width: 45px;
    height: 45px;
  }
}

/* Smartphones */
@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  header {
    padding: 10px 15px;
  }
  
  .logo img {
    height: 60px;
  }
  
  .barra-pesquisa input {
    padding: 15px;
    font-size: 16px;
  }
  
  .nav-button {
    padding: 10px 15px;
    font-size: 16px;
  }
  
  .banner {
    height: 200px;
  }
  
  .banner h1 {
    font-size: 20px;
  }
  
  .section {
    padding: 15px 10px;
  }
  
  .section h2 {
    font-size: 20px;
  }
  
  .swiper {
    height: 300px;
  }
  
  .login-card {
    padding: 20px 15px;
  }
  
  .login-card h2 {
    font-size: 24px;
  }
  
  .btn, .login-btn {
    padding: 15px;
    font-size: 16px;
  }
  
  .transferencias-container {
    padding: 10px;
  }
  
  .section-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .table-header {
    grid-template-columns: 70px 1fr 1.5fr 1fr 90px 70px;
    gap: 5px;
    padding: 10px;
    font-size: 11px;
  }
  
  .transferencia-item {
    grid-template-columns: 70px 1fr 1.5fr 1fr 90px 70px;
    gap: 5px;
    padding: 12px;
  }
  
  .jogador-avatar {
    width: 35px;
    height: 35px;
  }
  
  .jogador-nome {
    font-size: 13px;
  }
  
  .clube-logo {
    width: 20px;
    height: 20px;
  }
  
  .clube-nome {
    font-size: 11px;
  }
  
  .valor-transferencia {
    font-size: 12px;
  }
  
  .dropdown-menu {
    width: 200px;
    right: 5px;
  }
  
  .lista-times li,
  .lista-tabelas li {
    padding: 6px 12px;
  }
  
  .lista-times img,
  .lista-tabelas img {
    width: 20px;
    height: 20px;
  }
  
  .lista-times span,
  .lista-tabelas span {
    font-size: 12px;
  }
}

/* Smartphones muito pequenos */
@media (max-width: 320px) {
  .transferencias-container {
    padding: 5px;
  }
  
  .table-header {
    grid-template-columns: 60px 1fr 1.2fr 1fr 80px 60px;
    gap: 3px;
    padding: 8px;
    font-size: 10px;
  }
  
  .transferencia-item {
    grid-template-columns: 60px 1fr 1.2fr 1fr 80px 60px;
    gap: 3px;
    padding: 10px;
  }
  
  .jogador-avatar {
    width: 30px;
    height: 30px;
  }
  
  .clube-logo {
    width: 18px;
    height: 18px;
  }
  
  .jogador-nome {
    font-size: 12px;
  }
  
  .clube-nome {
    font-size: 10px;
  }
  
  .valor-transferencia {
    font-size: 11px;
  }
}

/* ===== ANIMAÇÕES ADICIONAIS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease-out;
}

/* ===== UTILITÁRIOS ===== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.p-10 {
  padding: 10px;
}

.p-20 {
  padding: 20px;
}

/* ===== SCROLLBAR CUSTOMIZADA ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-nav);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-pink);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-pink-hover);
}

/* ===== SELEÇÃO DE TEXTO ===== */
::selection {
  background: var(--primary-pink);
  color: var(--text-light);
}

::-moz-selection {
  background: var(--primary-pink);
  color: var(--text-light);
}

/* ===== PÁGINA DE EQUIPES (NOVO) ===== */
.team-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

/* --- Cabeçalho da Equipe --- */
.team-header {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}

.team-logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.team-logo-main {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.team-name h1 {
  margin: 0;
  font-size: 2.5rem;
  color: var(--text-light);
}

.team-name span {
  font-size: 1rem;
  color: var(--text-muted);
}

.team-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
}

.stat-item strong {
  font-size: 1.5rem;
  color: var(--primary-pink);
}

/* --- Navegação das Abas --- */
.team-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--border-dark);
  margin-bottom: 30px;
}

.team-tab-button {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 15px 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-default);
  border-bottom: 3px solid transparent;
}

.team-tab-button:hover {
  color: var(--text-light);
}

.team-tab-button.active {
  color: var(--primary-pink);
  border-bottom-color: var(--primary-pink);
}

/* --- Conteúdo das Abas --- */
.team-content-section {
  display: none; /* Esconde todas as seções por padrão */
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: var(--border-radius);
  animation: fadeIn 0.5s ease;
}

.team-content-section.active {
  display: block; /* Mostra apenas a seção ativa */
}

.team-content-section h2 {
  color: var(--primary-pink);
  margin-top: 0;
  border-left: none;
  padding-left: 0;
}

.team-content-section h3 {
  color: var(--text-light);
  margin-top: 25px;
}

.team-content-section ul {
  list-style: none;
  padding-left: 0;
}

.team-content-section ul li {
  padding: 5px 0;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-muted);
}

/* --- Grid de Títulos --- */
.titles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.title-card {
  background-color: var(--bg-nav);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition-default);
}

.title-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.title-card img {
  height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
}

.title-card h4 {
  margin: 0 0 5px 0;
  color: var(--text-light);
}

.title-card span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Grid do Elenco --- */
.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.player-card {
  background-color: var(--bg-input);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  transition: var(--transition-default);
}

.player-card:hover {
  background-color: var(--primary-pink);
  color: var(--text-light);
  transform: scale(1.05);
}

/* --- Info do Estádio --- */
.stadium-info {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.stadium-details {
  flex: 1;
}

.stadium-image {
  flex: 1;
}

.stadium-image img {
  width: 100%;
  border-radius: var(--border-radius);
}

/* --- LAYOUT DE LISTA HORIZONTAL (NOVO) --- */
.horizontal-list-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* <<< Esta linha centraliza a linha incompleta */
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.5rem; /* Espaçamento entre os cards */
}

.horizontal-list-layout::-webkit-scrollbar {
  display: none; /* Esconde a barra de rolagem no Webkit (Chrome/Safari) */
}

.horizontal-list-layout li {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  width: 180px; /* <<< Largura fixa para cada card */
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: var(--bg-nav);
  transition: all 0.2s ease-in-out;
  border: 1px solid var(--border-dark);
}

.horizontal-list-layout li:hover {
  transform: translateY(-5px);
  border-color: var(--primary-pink);
  box-shadow: var(--shadow-hover);
}

/* Revertendo a imagem para o tamanho original e garantindo o alinhamento */
.horizontal-list-layout img {
  height: 200px; /* Tamanho original da imagem, como solicitado */
  width: auto;
  margin-bottom: 0.5rem;
  object-fit: contain;
}

.horizontal-list-layout .list-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.horizontal-list-layout h4 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: var(--text-light);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.horizontal-list-layout span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Grid do Elenco (Ajustes de Organização) --- */
.posicao-titulo {
  color: var(--text-light);
  margin-top: 30px; /* Adiciona espaço acima de cada título de posição */
  margin-bottom: 15px; /* Adiciona espaço abaixo do título, antes da grade de jogadores */
  padding-bottom: 8px; /* Adiciona um pequeno preenchimento abaixo do texto */
  border-bottom: 1px solid var(--border-dark); /* Linha sutil para separar as seções */
  font-size: 1.2rem; /* Tamanho da fonte para o título da posição */
}

/* Garante que o primeiro título não tenha margem extra no topo */
.team-content-section .posicao-titulo:first-of-type {
  margin-top: 20px;
}

/* ===== PÁGINA DE ESCALAÇÃO ===== */
.escalacao-container {
    display: flex;
    gap: 30px;
    padding: 30px;
    max-width: 1400px;
    margin: 20px auto;
}

.jogadores-disponiveis-container {
    flex: 1;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
    max-width: 350px;
}

.jogadores-disponiveis-container h3 {
    color: var(--primary-pink);
    margin-top: 0;
}

.jogadores-lista {
    height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.jogador-selecionavel {
    background-color: var(--bg-input);
    padding: 12px;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-default);
    border-left: 3px solid transparent;
}

.jogador-selecionavel:hover {
    border-left-color: var(--primary-pink);
    transform: translateX(5px);
}

.jogador-selecionavel.selecionado {
    background-color: var(--primary-pink);
    color: white;
    opacity: 0.6;
    cursor: not-allowed;
}

.jogador-selecionavel.ativo {
    box-shadow: 0 0 10px var(--accent-yellow);
    border-left-color: var(--accent-yellow);
}

.jogador-selecionavel p {
    margin: 0;
    font-weight: 600;
}

.jogador-selecionavel span {
    font-size: 12px;
    color: var(--text-muted);
}

.jogador-selecionavel.selecionado span {
    color: white;
}

.campo-container {
    flex: 2.5;
}

.campo {
    background-image: url('https://user-images.githubusercontent.com/1012155/55106291-7392b800-50ad-11e9-8669-3549141e5e01.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    padding-top: 65%; /* Proporção do campo */
    position: relative;
}

.player-slot {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px dashed var(--text-muted);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition-default);
    transform: translate(-50%, -50%); /* Centraliza o slot */
}

.player-slot:hover {
    background-color: rgba(255, 60, 126, 0.3);
    border-style: solid;
}

.player-slot span {
    font-size: 24px;
    line-height: 1;
}

.player-slot p {
    margin: 0;
    font-size: 12px;
    font-weight: bold;
}

.player-slot.filled {
    background-color: var(--primary-pink);
    border: 2px solid var(--primary-pink-hover);
    color: white;
}

.player-slot.filled span {
    font-size: 14px;
    font-weight: bold;
}

.player-slot.filled p {
    font-size: 12px;
}

/* ===== BOTÕES DE FORMAÇÃO TÁTICA ===== */
.formacoes-botoes-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}

.formacao-btn {
    background-color: var(--bg-input);
    color: var(--text-light);
    border: 2px solid var(--border-dark);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-default);
}

.formacao-btn:hover {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink);
}

.formacao-btn.active {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink-hover);
    box-shadow: var(--shadow-hover);
}

.formacao-btn.clear-btn {
    background-color: #6c757d; /* Cinza */
}

.formacao-btn.clear-btn:hover {
    background-color: #5a6268;
}

/* ===== PÁGINA DE SELEÇÃO DE TIME ===== */
.selecao-time-container {
    max-width: 1100px;
    margin: 10px auto; /* Diminui o espaçamento superior/inferior */
    padding: 30px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-default);
    text-align: center;
}

.selecao-time-container h2 {
    color: var(--primary-pink);
    margin-bottom: 30px; /* Diminui a margem */
    font-size: 1.8rem;   /* Diminui um pouco o título */
}

.selecao-time-container .lista-times {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Alterado de 5 para 6 colunas */
    gap: 15px;
    justify-content: center;
}

.time-card {
    background-color: var(--bg-input);
    padding: 15px 10px; /* Padding ajustado para um cartão mais compacto */
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-default);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.time-card:hover {
    border-color: var(--primary-pink);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.time-card img {
    width: 65px;  /* IMAGEM MENOR */
    height: 65px; /* IMAGEM MENOR */
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    padding: 5px;
}

.time-card p {
    font-size: 0.9rem; /* FONTE MENOR */
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

/* ===== ESTILOS PÁGINA DE ESTATÍSTICAS ===== */

.stats-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 30px;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.stats-header h1 {
    font-size: 2.2rem;
    color: var(--text-light);
    border-left: 4px solid var(--primary-pink);
    padding-left: 15px;
}

.stats-tabs {
    display: flex;
    gap: 10px;
    background-color: var(--bg-card);
    padding: 5px;
    border-radius: var(--border-radius);
}

.stats-tab-button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition-default);
}

.stats-tab-button:hover {
    color: var(--text-light);
    background-color: var(--bg-input);
}

.stats-tab-button.active {
    background-color: var(--primary-pink);
    color: var(--text-light);
    box-shadow: var(--shadow-hover);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 25px;
}

.stats-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #2a2f4c;
    transition: var(--transition-default);
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-pink);
}

.stats-card h3 {
    color: var(--primary-pink);
    font-size: 1rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Card: Estatísticas Gerais */
.stats-gerais {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

#lista-stats-gerais {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#lista-stats-gerais li {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 3px solid var(--border-dark);
    padding-left: 15px;
}

#lista-stats-gerais i {
    font-size: 28px;
    color: var(--primary-pink);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info strong {
    color: var(--text-light);
    font-size: 1rem;
}

.stat-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Cards: Artilharia, Assistências, Goleiros */
.artilharia { grid-column: 2 / 3; }
.assistencias { grid-column: 3 / 4; }
.goleiros { grid-column: 2 / 4; }

.artilharia ul, .assistencias ul, .goleiros ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.artilharia li, .assistencias li, .goleiros li {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: var(--bg-input);
    border-radius: var(--border-radius);
}

.artilharia li .posicao, .assistencias li .posicao, .goleiros li .posicao {
    font-weight: bold;
    color: var(--text-muted);
    width: 30px;
}

.artilharia li .time-logo, .assistencias li .time-logo, .goleiros li .time-logo {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.artilharia li .jogador-info, .assistencias li .jogador-info, .goleiros li .jogador-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.jogador-info strong { font-size: 0.95rem; color: var(--text-light); }
.jogador-info span { font-size: 0.8rem; color: var(--text-muted); }

.artilharia li .valor, .assistencias li .valor, .goleiros li .valor {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-pink);
}

/* Card: Equipe da Semana */
.equipe-semana {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    position: relative;
}

.campo-equipe-semana {
    background-image: url('https://user-images.githubusercontent.com/1012155/55106291-7392b800-50ad-11e9-8669-3549141e5e01.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 300px;
    position: relative;
}

.player-dot {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
}

.player-dot::before {
    content: '';
    display: block;
    width: 35px;
    height: 35px;
    background-color: var(--primary-pink);
    border: 2px solid var(--text-light);
    border-radius: 50%;
    margin: 0 auto 5px auto;
}

.player-dot span {
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.formacao-tag {
    position: absolute;
    bottom: 15px;
    left: 25px;
    background-color: rgba(0,0,0,0.7);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: bold;
}

/* Responsividade para a Grid */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-card { grid-column: auto !important; grid-row: auto !important; }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stats-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}