.horarios-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.horarios-title {
  text-align: center;
  font-family: 'Anton', sans-serif;
  color: var(--gold);
  font-size: 2.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.horarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* 🎯 TARJETAS DE PARTIDO */
.partido-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.2rem 1rem 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
  color: white;
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.partido-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 18px rgba(191, 154, 51, 0.4);
}

/* 🕒 BURBUJA DE CUENTA ATRÁS */
.contador-burbuja {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #444;
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(100, 100, 100, 0.5);
  z-index: 5;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.contador-en-curso {
  background: #009900 !important;
  box-shadow: 0 4px 12px rgba(0, 128, 0, 0.5);
}

.contador-finalizado {
  background: #a00000 !important;
  box-shadow: 0 4px 12px rgba(160, 0, 0, 0.5);
}

/* 📅 INFO DEL PARTIDO */
.partido-equipos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.partido-equipos .equipo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partido-equipos img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 0.3rem;
}

.partido-equipos span {
  font-weight: 600;
  font-size: 0.95rem;
}

.partido-equipos .vs {
  font-size: 1.3rem;
  font-weight: bold;
  color: #aaa;
}

.partido-info {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #ccc;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.partido-info img {
  width: 16px;
  vertical-align: middle;
  margin-right: 0.4rem;
  filter: brightness(1.5);
}

/* 🧱 GRID DE PARTIDOS */
#horarios-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem; 
  justify-content: center;
  max-width: 1000px;
  margin: auto;
}


.descanso-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #001c1c1c;
  border-radius: 10px;
  padding: 25px 15px;
  height: 100%;
  color: white;
}

.descanso-card img {
  width: 60px;
  margin-bottom: 10px;
}

.descanso-texto {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.estado-descanso {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 5px;
  color: #fff;
}

