/* ============================================
   PÁGINA DE JOGOS - ESTILOS ESPECÍFICOS
   ============================================ */

/* HEADER DA PÁGINA */
.jogos-main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #fff, var(--vermelho));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.page-header p {
  opacity: 0.8;
}

/* FILTROS */
.filtros {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filtro-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--borda);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 500;
}

.filtro-btn:hover {
  background: rgba(227,6,19,0.3);
  transform: translateY(-2px);
}

.filtro-btn.active {
  background: linear-gradient(135deg, var(--vermelho), #ff4d5a);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(227,6,19,0.4);
}

/* CALENDÁRIO */
.calendario-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* MÊS */
.mes-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  border: 1px solid var(--borda);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.mes-header {
  background: rgba(227,6,19,0.3);
  padding: 15px 20px;
  border-bottom: 1px solid var(--borda);
}

.mes-header h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

/* LISTA DE JOGOS */
.jogos-lista {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* CARD DO JOGO */
.jogo-card {
  background: rgba(0,0,0,0.4);
  border-radius: 15px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  cursor: pointer;
  transition: 0.3s ease;
  border-left: 4px solid transparent;
}

.jogo-card:hover {
  background: rgba(227,6,19,0.2);
  border-left-color: var(--vermelho);
  transform: translateX(5px);
}

/* DATA */
.jogo-data {
  min-width: 100px;
  text-align: center;
}

.jogo-dia {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: "Bebas Neue", sans-serif;
  line-height: 1;
}

.jogo-mes {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ADVERSÁRIO */
.jogo-adversario-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 2;
  min-width: 200px;
}

.jogo-escudo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 5px;
}

.jogo-nome {
  font-weight: bold;
  font-size: 1.1rem;
}

/* LOCAL E COMPETIÇÃO */
.jogo-local-info {
  display: flex;
  gap: 20px;
  min-width: 180px;
}

.jogo-casa, .jogo-fora {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.jogo-casa {
  background: rgba(0,128,0,0.3);
  color: #4caf50;
}

.jogo-fora {
  background: rgba(255,165,0,0.3);
  color: #ffa500;
}

.jogo-competicao {
  background: rgba(255,255,255,0.1);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* HORÁRIO */
.jogo-horario {
  min-width: 80px;
  font-weight: bold;
  color: var(--vermelho);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a24, #0f0f15);
  border-radius: 25px;
  max-width: 500px;
  width: 90%;
  border: 1px solid var(--borda);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  animation: modalFadeIn 0.3s ease;
}

.modal-fechar {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  padding: 15px 20px;
  transition: 0.3s;
}

.modal-fechar:hover {
  color: var(--vermelho);
}

#modalConteudo {
  padding: 20px 30px 30px;
  clear: both;
}

/* MODAL - DETALHES DO JOGO */
.modal-jogo {
  text-align: center;
}

.modal-jogo h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--vermelho);
}

.modal-escudos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 20px 0;
}

.modal-escudo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 10px;
}

.modal-vs {
  font-size: 1.5rem;
  font-weight: bold;
}

.modal-info {
  margin: 20px 0;
  padding: 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
}

.modal-info p {
  margin: 8px 0;
}

.modal-local-detalhe {
  font-size: 1.1rem;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--borda);
}

/* ANIMAÇÃO MODAL */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .jogo-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .jogo-adversario-info {
    width: 100%;
  }
  
  .jogo-local-info {
    flex-wrap: wrap;
  }
  
  .filtros {
    gap: 10px;
  }
  
  .filtro-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .modal-escudos {
    gap: 15px;
  }
  
  .modal-escudo {
    width: 60px;
    height: 60px;
  }
}
