.player-modal {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f3d0f, #1f6f2b);
  position: relative;
  box-shadow: 0 25px 70px rgba(0,0,0,0.6);
}

/* Fondo con blur */
.player-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  filter: blur(10px);
  z-index: 0;
}

/* Asegura contenido encima */
.modal-body {
  position: relative;
  z-index: 1;
}

/* Imagen */
.player-img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.player-img:hover {
  transform: scale(1.05);
}

/* Nombre */
.player-name {
  color: #ffd700;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 5px;
}

/* Posición */
.player-position {
  color: #cceccc;
  margin-bottom: 20px;
  font-size: 1rem;
  letter-spacing: 1px;
  padding-top: 10px;
}

/* ===================== */
/* STATS MEJORADOS */
/* ===================== */

.player-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
  padding-top: 10px;
}

.stat-box {
  background: rgba(255,255,255,0.08);
  padding: 18px;
  border-radius: 14px;
  text-align: center;
  transition: all 0.25s ease;
}

.stat-box:hover {
  background: rgba(255,215,0,0.18);
  transform: translateY(-3px);
}

.stat-box span {
  display: block;
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.stat-box strong {
  font-size: 22px;
  color: #fff;
  font-weight: 700;
}

/* Info extra */
.player-extra {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 10px;
}

.player-extra p {
  margin: 6px 0;
  font-size: 14px;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

/* 📱 Móvil */
@media (max-width: 576px) {
  .player-stats {
    grid-template-columns: 1fr; /* 1 por fila */
    gap: 12px;
  }

  .stat-box {
    padding: 20px;
  }

  .stat-box strong {
    font-size: 24px;
  }

  .stat-box span {
    font-size: 14px;
  }

  .player-name {
    font-size: 1.5rem;
  }
}

/* 📲 Tablet */
@media (min-width: 577px) and (max-width: 992px) {
  .stat-box {
    padding: 20px;
  }

  .stat-box strong {
    font-size: 24px;
  }
}

/* 🖥️ Desktop grande */
@media (min-width: 1200px) {
  .stat-box {
    padding: 22px;
  }

  .stat-box strong {
    font-size: 26px;
  }
}

/* Animación modal */
.modal.fade .modal-dialog {
  transform: translateY(20px) scale(0.95);
  transition: all 0.25s ease;
}

.modal.show .modal-dialog {
  transform: translateY(0) scale(1);
}