.contenedor-jugadores {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: 100%;
  padding: 2rem 1rem;
  gap: 1.5rem;
}

.contenedor-jugadores .form-selector {
  width: 100%;
  display: flex;
  justify-content: center;
}

.contenedor-jugadores .temporada-selector {
  margin: 0 auto;
}

.contenedor-jugadores .tabla-resultados {
  width: min(95vw, 1100px);
  margin: 0 auto;
}

.contenedor-jugadores .tabla-resultados h1 {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--naranja);
  margin-bottom: 0.25rem;
}

.contenedor-jugadores .tabla-resultados h2 {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}

.contenedor-jugadores .no-jugadores {
  color: rgba(255, 255, 255, 0.82);
  padding: 0.75rem 0;
}

.contenedor-jugadores .jugadores-grid {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

.contenedor-jugadores .jugador-card-cuadrada {
  width: clamp(170px, 24vw, 230px);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contenedor-jugadores .jugador-card-cuadrada:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 175, 39, 0.48);
  background: rgba(248, 175, 39, 0.14);
}

.contenedor-jugadores .jugador-media {
  display: flex;
  justify-content: center;
}

.contenedor-jugadores .jugador-foto {
  width: clamp(66px, 7vw, 94px);
  height: clamp(66px, 7vw, 94px);
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.16);
}

.contenedor-jugadores .jugador-foto-placeholder {
  object-fit: contain;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
}

.contenedor-jugadores .jugador-info {
  text-align: center;
}

.contenedor-jugadores .jugador-nombre {
  margin: 0.2rem 0 0;
  color: var(--blanco);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.86rem, 1.15vw, 1rem);
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}

.contenedor-jugadores .jugador-apellido {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.73rem, 0.95vw, 0.88rem);
  line-height: 1.2;
  word-break: break-word;
}

.contenedor-jugadores .jugador-posicion {
  margin: 0.45rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--naranja);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (max-width: 720px) {
  .contenedor-jugadores .tabla-resultados {
    width: min(95vw, 95vw);
  }

  .contenedor-jugadores .jugadores-grid {
    gap: 0.8rem;
  }

  .contenedor-jugadores .jugador-card-cuadrada {
    width: clamp(145px, 52vw, 210px);
    padding: 0.65rem;
  }
}
