/******************************Events********************/
.event-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr; /* по умолчанию (мобильный) */
  margin-bottom: 32px;
  align-items: stretch;
}

.event-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
  color: black;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.event-card h3 {
  color:#000;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}
.event-card .tournament {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}
.event-card .teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0;
}
.event-card .team-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.event-card .date {
  margin: 10px 0;
  font-size: 14px;
  color: #444;
}
.event-card .bet-btn {
  display: inline-block;
  background: #d3e512;
  color: #000000;
  border: 2px solid #d3e512;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
  cursor: pointer;
}
.event-card .bet-btn:hover {
  background: transparent;
}

/**media**/

@media (min-width: 640px) {
  .event-cards {
    grid-template-columns: repeat(2, 1fr); /* планшет */
  }
}

@media (min-width: 1024px) {
  .event-cards {
    grid-template-columns: repeat(3, 1fr); /* десктоп */
  }
}