/* =============== MATCHES INDEX PAGE =============== */
.matches_section {
  display: flex;
  flex-direction: column;
}

.match_date_header {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.match_tiles_row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.match_tile {
  flex: 1 1 calc(25% - 12px);
  background-color: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  text-align: center;
  padding: 15px 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.match_tile:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* TEAMS & SCORE */
.teams_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
}

.team_side {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.team_badge {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--dark-secondary);
  padding: 10px;
}

.team_name {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1;
}

.score_center {
  font-size: 16px;
  color: #fff;
  min-width: 40px;
  text-align: center;
  letter-spacing: 2px;
}

/* STATUS */
.match_status {
  margin-top: 5px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Date headings */
.match_date_header {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 20px 0 10px 0;
}

/* Responsive grid */
@media screen and (max-width: 992px) {
  .match_tile {
    flex: 1 1 calc(50% - 10px);
  }
}

@media screen and (max-width: 768px) {
  .match_tile {
    flex: 1 1 calc(50% - 10px);
  }
}

@media screen and (max-width: 480px) {
  .match_tile {
    flex: 1 1 100%;
  }

  .team_badge {
    width: 40px;
    height: 40px;
  }

  .team_name {
    font-size: 14px;
  }

  .team_side {
    display: flex;
    align-items: center;
    column-gap: 5px;
  }

  .score_center {
    font-size: 14px;
  }
}
