/* Normalize */
a{
    text-decoration: none !important;
    color: inherit;
}

/* MAIN TORNEOS */
.headerTorneos {
  margin: 30px 0 0 0;
}

.titleHeader {
  font-size: 40px;
  font-weight: 600;
  margin-top: 20px;
  font-family: "Teko";
}

.torneos-container {
  margin-top: 20px;
  min-height: 70vh;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}


/* Loading Spinner Styles start*/
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 40px 20px;
  width: 100%;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #020140;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-text {
  font-family: "poppins";
  font-size: 16px;
  font-weight: 500;
  color: #666;
  text-align: center;
}

/* Loading Spinner Styles end*/

.torneo-card {
  width: 100%;
  max-width: 360px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.torneo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.titleTorneo {
  font-family: "Teko";
}
.fecha-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  font-family: "poppins";
}
.contenido {
  padding: 16px;
}
.torneo-card h3 {
  margin: 0;
  font-size: 20px;
  border-radius: 6px;
  font-weight: bold;
}
.cupos {
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
  font-family: "poppins";
  font-weight: 700;
}
.dato {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
  font-family: "poppins";
  font-weight: 500;
}
.dato i {
  margin-right: 8px;
  color: #0073aa;
}
.buttonShowMore {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  background: #020140;
  color: #fff;
  font-weight: bold;
  border-top: 1px solid #ccc;
  transition: background 0.3s;
}
.buttonShowMore:hover {
  background: #020076;
  color: #fff;
}
@media (max-width: 768px) {
  .torneos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* Torneo details */

.torneo-banner {
  position: relative;
  width: 100%;
  max-width: 1200px; 
  height: 400px; 
  overflow: hidden;
  margin: 0 auto;
  border-radius: 12px 12px 0 0;
  margin-top: 20px;
}

.torneo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.torneo-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

.torneo-details-title-container{
  margin-top: 40px;
  margin-bottom: 40px;
  font-weight: 600;
  font-family: "Teko";
  font-size: 35px !important;
}

.torneo-details-title{
  font-size: 3.5rem;
  color: #020140;
}

.torneo-details-main-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Cuadro azul con fecha de cierre y botón reservasr */
.date-reserve-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0F0B20, #02015f);
  color: white;
  padding: 20px 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(2, 1, 64, 0.3);
}

.date-info {
  display: flex;
  flex-direction: column;
}

.date-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 5px;
  font-family: "poppins";
}

.date-value {
  font-size: 24px;
  font-weight: 700;
  font-family: "Teko";
}

.reserve-button {
  background: #fff;
  color: #020140;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "poppins";
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reserve-button:hover {
  background: #f0f0f0;
  color: #030178;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sección de descripción */
.description-section {
  margin-bottom: 40px;
}

.description-section h3 {
  font-size: 28px;
  font-weight: 600;
  color: #020140;
  margin-bottom: 15px;
  font-family: "Teko";
}

.description-section p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  font-family: "poppins";
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #020140;
}

/* Sección de información con iconos */
.info-section {
  margin-bottom: 40px;
}

.info-section h3 {
  font-size: 28px;
  font-weight: 600;
  color: #020140;
  margin-bottom: 20px;
  font-family: "Teko";
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: #020140;
}

.info-icon {
  font-size: 24px;
  margin-right: 15px;
  min-width: 30px;
  text-align: center;
}

.info-content {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin-bottom: 5px;
  font-family: "poppins";
}

.info-value {
  font-size: 18px;
  color: #020140;
  font-weight: 700;
  font-family: "Teko";
}

/* Sección Qué jugará */
.game-section {
  margin-bottom: 30px;
}

.game-section h3 {
  font-size: 28px;
  font-weight: 600;
  color: #020140;
  margin-bottom: 15px;
  font-family: "Teko";
}

.game-info {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

.game-info p {
  font-size: 16px;
  color: #555;
  margin: 0;
  font-family: "poppins";
  text-align: center;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .torneo-details-main-container {
    padding: 15px;
  }
  
  .date-reserve-box {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .reserve-button {
    width: 100%;
    max-width: 200px;
  }
  
  .info-list {
    grid-template-columns: 1fr;
  }
  
  .info-item {
    padding: 15px;
  }
  
  .description-section h3,
  .info-section h3,
  .game-section h3 {
    font-size: 24px;
  }
}