:root {
  --primary-color: #5E009E;
  --secondary-color: #9267F3;
  --accent-color: #FF7765;
  --dark-color: #5E009E;
  --gray-color: #9267F3;
  --success-color: #9267F3;
  --button-color: #FF7765;
}

body {
  background-color: var(--light-color);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-primary);
  font-weight: 700;
}

.hero-carousel .carousel-item {
  height: 31vw;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  text-align: left;
  left: 10%;
  right: auto;
  max-width: 500px;
  background-color: var(--dark-color);
  padding: 30px;
  border-radius: 5px;
}

.carousel-caption h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1200px) {
  .hero-carousel .carousel-item {
    height: 40vw;
  }
}

@media (max-width: 768px) {

  .sponsor-banners .carousel-item {
    height: 200px;
    margin-top: -6rem;
  }

  .carousel-caption {
    bottom: 20%;
    left: 5%;
    right: 5%;
    max-width: 100%;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .carousel-caption {
    bottom: 15%;
    padding: 15px;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }

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

.btn-primary {
  background-color: var(--button-color);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--accent-color);
}

/* Sports Section */
.sports-section {
  padding: 2rem 0;
}

.section-title {
  margin: 0;
  font-size: 2.2rem;
  text-align: center;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 3px;
  background-color: var(--button-color);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-color);
  margin-bottom: 3rem;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .sports-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .section-title::after {
    bottom: -40px;
    width: 250px
  }

  .section-subtitle {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .sports-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.sport-card {
  background-color: white;
  border-radius: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  height: 100%;
}

.sport-image {
  height: 30rem;
  overflow: hidden;
  position: relative;
}

@media (max-width: 768px) {
  .sport-image {
    height: 72vh;
  }

  .sport-image.second {
    height: 90vh;
  }
}

@media (max-width: 480px) {
  .sport-image {
    height: 44vh;
  }

  .sport-image.second {
    height: 55vh;
  }
}

@media (max-width: 380px) {
  .sport-image {
    height: 46vh;
  }

  .sport-image.second {
    height: 57vh;
  }
}

.sport-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sport-info {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.sport-info h3 {
  color: var(--dark-color);
  font-size: 1.4rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .sport-info h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .sport-info h3 {
    font-size: 1.1rem;
  }
}

.sport-info h6 {
  margin: 0 0 15px 0;
}

@media (max-width: 768px) {
  .sport-info h6 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sport-info h6 {
    font-size: 0.9rem;
  }
}

.sport-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.sport-info li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .sport-info li {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .sport-info li {
    font-size: 0.85rem;
  }
}

.sport-info li strong {
  min-width: 90px;
  display: inline-block;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .sport-info li strong {
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  .sport-info li strong {
    min-width: 70px;
  }
}

.vagas-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.vagas-badge {
  background-color: var(--accent-color);
  color: white;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
}

.vagas-badge span:first-child {
  font-weight: bold;
  margin-right: 5px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--button-color);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--button-color);
  text-align: center;
  margin-top: auto;
}

.btn-outline:hover {
  background-color: transparent;
  color: var(--button-color);
}

.btn-outline svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-outline:hover svg {
  transform: translateX(3px);
}


















/* Seção de Banners de Patrocinadores */

/* Estilos do Placeholder */
.banner-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f5f5f5 25%, #e0e0e0 25%, #e0e0e0 50%, #f5f5f5 50%, #f5f5f5 75%, #e0e0e0 75%);
  background-size: 40px 40px;
  border: 2px dashed #ccc;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: bold;
  text-align: center;
  animation: stripeAnimation 2s linear infinite;
}

@keyframes stripeAnimation {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 40px 40px;
  }
}

/* Manter os outros estilos anteriores */
.banner-carousel {
  max-width: 1200px;
  max-height: 300px;
  margin: 0 auto;
}

.sponsor-banners, .events-section, .tournament-info, .news-section {
  padding: 2rem 0;
}

.carousel-control-next,
.carousel-control-prev {
  display: none;
}

.banner-carousel img {
  border-radius: 1rem;
}

/* Configuração do tempo de transição */
.carousel-item {
  transition: transform 1s ease-in-out;
}

.carousel {
  overflow: hidden;
}




.winner-team .team-name {
    font-weight: bold;
    color: #198754;
}

.final-winner {
    margin-top: 8px;
    font-weight: bold;
    color: #d4af37;
    text-align: center;
}

.round-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.8;
}








/* Next Games Section */
.next-games {
  padding: 2rem 0;
}

.games-list {
  display: grid;
  gap: 15px;
  max-width: 650px;
  margin: 0 auto;
}

.game-card {
  display: flex;
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px var(--dark-color);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.game-date {
  background-color: var(--primary-color);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  min-width: 80px;
}

.game-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.game-date .month {
  font-size: 1rem;
  text-transform: uppercase;
}

.game-info {
  flex: 1;
  margin: 1rem;
  flex-direction: column;
}

.teams {
  display: flex;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.team {
  flex: 1;
}

.game-details {
  gap: 1.2rem;
  display: flex;
  font-size: 0.9rem;
  justify-content: center;
  color: var(--gray-color);
}

.vs {
  color: var(--secondary-color);
}


.game-details i {
  color: var(--secondary-color);
}

.game-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  transition: var(--transition);
  text-decoration: none;
}

.game-link:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.calendar-match {
  background-color: #f8f9fa;
  transition: background 0.3s ease;
}

.calendar-match:hover {
  background-color: #e9ecef;
}

.calendar-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.calendar-card:hover {
  transform: scale(1.01);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.team-names {
  font-size: 1rem;
}

.score-display {
  display: flex;
  align-items: center;
}

.score {
  min-width: 20px;
  text-align: center;
}


















/* Notícias Destaque */

.featured-news {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 40px;
}

.featured-news-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.featured-news-card:hover {
  transform: translateY(-5px);
}

.featured-news-card .news-image {
  height: 250px;
  overflow: hidden;
}

.featured-news-card .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-news-card:hover .news-image img {
  transform: scale(1.05);
}

.featured-news-card .news-content {
  padding: 20px;
  flex-grow: 1;
}

.featured-news-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

/* Notícias Secundárias */
.secondary-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.secondary-news-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.news-image {
  position: relative;
  /* Isso cria o contexto para o posicionamento absoluto */
  overflow: hidden;
  height: 250px;
  /* Para featured news */
}

.secondary-news-card .news-image {
  height: 150px;
  /* Para notícias secundárias */
}

.secondary-news-card .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.secondary-news-card .news-content {
  padding: 15px;
}

.secondary-news-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.secondary-news-card p {
  font-size: 14px;
}

/* Elementos comuns */
.news-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;
  /* Garante que fique acima da imagem */
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #666;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}









/* Estilos para a tabela de classificação */
.current-date-info {
  text-align: center;
}

.groups-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.group-container {
  flex: 1;
  min-width: calc(50% - 20px);
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

@media (max-width: 768px) {
  .group-container {
    min-width: 100%;
  }
}

.standings-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.row-live {
  background-color: #fff8e1;
  font-weight: bold;
  border-left: 4px solid #f1c40f;
}

.group-title {
  text-transform: capitalize;
}

.standings-table tbody tr:first-child {
  background-color: #f3e9ff;
  font-weight: 700;
}

.standings-table tbody tr:nth-child(2) {
  background-color: #f8f1ff;
}

.standings-table tbody tr:nth-child(3) {
  background-color: #fcf8ff;
}

.standings-table tbody tr {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.standings-table tbody tr:hover {
  background-color: #f3e9ff;
  transform: scale(1.01);
}

.standings-table th {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
}

.standings-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.standings-table tr:last-child td {
  border-bottom: none;
}

.standings-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.standings-table td,
.standings-table th {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

@media (max-width: 768px) {

  .standings-table td,
  .standings-table th {
    font-size: 1rem;
    padding: 12px 10px;
    padding: 8px 6px;
  }
}

.group-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-top: 20px;
}

.group-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.no-standings-message {
  text-align: center;
  padding: 40px;
  background-color: var(--light-color);
  border-radius: 8px;
  margin-top: 20px;
}

.no-standings-message i {
  font-size: 3rem;
  color: #6c757d;
  margin-bottom: 15px;
}

.no-standings-message p {
  margin: 10px 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .tournament-tabs {
    gap: 5px;
  }

  .tab-button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .groups-container {
    grid-template-columns: 1fr;
  }
}
















/* Estilos para resultados recentes */
.recent-results .container {
  padding: 0 20px;
}

/* Grid de resultados */
.results-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 25px;
  width: 100%;
  margin: 0 auto;
}

/* Cards individuais */
.result-card {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
}

.vs {
  font-weight: bold;
  color: #5B5B5B;
}

.match-score {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0;
}

.match-details {
  display: flex;
  justify-content: space-between;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.error-message {
  color: #e74c3c;
  text-align: center;
  padding: 20px;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
  .results-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .result-card {
    max-width: 100%;
  }
}

.no-results-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f0f8ff;
  border: 1px solid #cce5ff;
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.no-results-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.no-results-text h4 {
  margin: 0;
  font-weight: 600;
  color: #0056b3;
}

.no-results-text p {
  margin-top: 8px;
  color: #444;
  font-size: 15px;
}











/* Responsivo */
@media (max-width: 1200px) {
  .featured-news {
    grid-template-columns: 1fr;
  }

  .secondary-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-card {
    flex-direction: column;
  }

  .game-date {
    flex-direction: row;
    justify-content: space-around;
    padding: 10px;
  }

  .teams {
    font-size: 1.2rem;
  }

  .game-details {
    font-size: 1.1rem;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}



















/* Responsividade para o Main */
@media (max-width: 768px) {
  .carousel-caption {
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: none;
  }

  .carousel-indicators {
    display: none;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }


  .game-date .day {
    font-size: 1.5rem;
  }

  .game-info {
    padding: 0;
    margin: 0.8rem 0.3rem;
  }

  .teams {
    font-size: 1.2rem;
  }

  .game-details span {
    font-size: 1.1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .teams {
    font-size: 1rem;
  }

  .game-details span {
    font-size: 0.9rem;
  }

  .secondary-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .teams {
    font-size: 0.9rem;
  }

  .game-details span {
    font-size: 0.8rem;
  }

  .secondary-news-grid {
    grid-template-columns: 1fr;
  }
}

/* Estilos para o modal de notícias */
.modal-xl {
  max-width: 90%;
  margin: 1.75rem auto;
}

.news-content-container {
  padding: 2rem;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.news-content-container::-webkit-scrollbar {
  width: 8px;
}

.news-content-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.news-content-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.news-content-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.news-image-container {
  margin-bottom: 2rem;
}

.news-image-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.news-image-container img:hover {
  transform: scale(1.02);
}

.news-text-content {
  padding: 0;
}

.news-text-content h4 {
  font-size: 1.75rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.news-meta {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.news-meta span {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
}

.news-content-text {
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 1rem;
  color: #666;
}

.news-content-text p {
  margin-bottom: 1.5rem;
}

.news-content-text ul,
.news-content-text ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.news-content-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.news-content-text a:hover {
  text-decoration: underline;
}

.modal-header {
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.btn-close-white {
  filter: brightness(0) invert(1);
}

.footer-logo {
  max-width: 15rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
}























#events-container {
    display: flex;
    justify-content: center;
}

.event-card-modern {
    background: #2b2b2b;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    height: 100%;
}

.event-image-container {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.event-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.event-status.active {
    background: #28a745;
}

.event-status.soon {
    background: #ffc107;
}

.event-status.draft,
.event-status.inactive {
    background: #6c757d;
}

.event-content {
    padding: 18px;
    flex-grow: 1;
}

.event-location {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.event-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-modalities {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 20px;
}

.event-actions {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.btn-info-event {
    display: block;
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.2s;
    text-decoration: none;
    color: #fff;
  }
  
  .btn-info-event:hover {
    background: #444;
  }
  
  .btn-inscrever {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    background: var(--accent-color);
    border-radius: 8px;
    font-weight: 600;
    transition: 0.2s;
    text-decoration: none;
    color: #fff;
}

.btn-inscrever:hover {
  background: #e96555;
}

.event-date-bar {
  background: var(--accent-color);
    text-align: center;
    padding: 12px;
    font-weight: 700;
    font-size: 15px;
}