/* Header Section */
.header {
  margin-bottom: 20px;
  text-align: center;
}

.title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 10px;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.filter-dropdown {
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;
  outline: none;
}

.filter-dropdown:hover {
  border-color: #888;
}

/* Tournament List */
.tournament-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  position: relative;
  top: -47px;
  width: 100%;
  margin: 0 auto;
}

.tournament-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.tournament-card a {
  text-decoration: none;
}

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

.tournament-icon {
  font-size: 3rem;
  color: #89c63d;
  margin-bottom: 15px;
}

.tournament-name {
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
}

.tournament-date {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.tournament-date span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f9f9f9;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  flex: 1 1 calc(50% - 12px);
  color: #564744;
  font-size: 14px;
  font-weight: 500;
}

.tournament-date span:last-child {
  flex: 1 1 100%;
}

.tournament-date span i {
  width: 20px;
  text-align: center;
  color: #89c63d;
}

@media (max-width: 500px) {
  .tournament-date {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: left;
  }

  .tournament-date span::after {
    content: none !important;
  }

  .tournament-date span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f9f9f9;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }

  .tournament-date span i {
    width: 20px;
    text-align: center;
  }
}