.tournaments-hero {
  position: relative;
  min-height: 20vh; /* keeps hero tall enough */
  background: #000 url("../images/3rd-bharat-cash-prize-large.jpg") center center no-repeat;
  background-size: contain; /* ✅ show full image */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}

.tournaments-hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.tournaments-hero p {
  font-size: 18px;
  opacity: 0.9;
}

.tournaments-list {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.tournaments-list .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.tournament-card {
  background: orange;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-align: center;
}

.tournament-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.tournament-card h3 {
  margin: 10px 0;
  font-size: 20px;
  color: #1b263b;
}

.tournament-card p {
  font-size: 15px;
  color: #555;
  margin: 6px 0;
}

.tournament-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.status {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
}

.status.upcoming {
  background: #ffeeba;
  color: #856404;
}

.status.ongoing {
  background: #c3e6cb;
  color: #155724;
}

.status.completed {
  background: #f5c6cb;
  color: #721c24;
}

.no-data {
  text-align: center;
  font-size: 18px;
  color: #777;
}
