
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.match-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  min-width: 400px;
}

/* ---------------------------------------------------- */
/* --- AJUSTES MÓVILES (@media max-width: 768px) --- */
/* ---------------------------------------------------- */
@media (max-width: 768px) {
    /* Asegurar que el carrusel es visible y los botones se ajustan */
    .match-card {
        min-width: 300px;
        width: 100%
    }
}
.match-card:hover {
  transform: translateY(-3px);
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.match-date {
  font-weight: 600;
  color: var(--text-dark);
}

.match-time {
  color: var(--primary-color);
  font-weight: 600;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.team-logo {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.team-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.875rem;
}

.vs {
  font-weight: 700;
  color: var(--text-light);
  font-size: 1.125rem;
}

.match-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.venue {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.venue i {
  color: var(--primary-color);
}
