/* ===================================================
   PHL STATS & CLASSEMENT
   Design uniforme avec le thème principal PHL 2025
   =================================================== */

body {
  background: linear-gradient(180deg, #0D0B16 0%, #160B2E 100%);
  color: var(--phl-light);
  font-family: "Poppins", sans-serif;
}

/* === CONTAINER GLOBAL === */
.container {
  text-align: center;
  background-color: rgba(21, 18, 40, 0.8);
  padding: clamp(1.5rem, 3vw, 3rem);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 0, 184, 0.15);
}

/* === TITRES === */
h1, h2 {
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 15px var(--phl-accent);
  margin-bottom: 1.8rem;
}

h1 {
  color: var(--phl-primary);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

h2 {
  color: var(--phl-blue);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin-top: 3rem;
  border-bottom: 2px solid var(--phl-secondary);
  display: inline-block;
  padding-bottom: 5px;
}

/* === TABLES GÉNÉRALES === */
.table {
  border-collapse: collapse;
  background-color: #151228 !important;
  border: 1px solid var(--phl-secondary);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
  color: var(--phl-light);
}

.table th {
  background-color: #1E1834;
  color: var(--phl-blue);
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 2px solid var(--phl-secondary);
  letter-spacing: 0.5px;
}

.table td {
  vertical-align: middle;
  color: var(--phl-light);
  border-color: #292343 !important;
  font-weight: 500;
}

.table-hover tbody tr:hover {
  background-color: rgba(255, 0, 184, 0.08);
  transition: background-color 0.25s ease-in-out;
}

/* === COLONNES SPÉCIALES === */
.points {
  color: var(--phl-primary);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 0, 184, 0.6);
}

.rank {
  color: var(--phl-blue);
  font-weight: 700;
}

.plus {
  color: #40ff90;
}

.minus {
  color: #ff6262;
}

/* === LOGOS D'ÉQUIPE === */
.team-logo {
  height: 60px;
  width: 60px;
  border-radius: 5px;
  background-color: #fff;
  padding: 5px;
  box-shadow: 0 0 10px rgba(255, 0, 184, 0.25);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.team-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--phl-accent);
}

/* === TABLES STATISTIQUES (JOUEURS) === */
.section {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section h2 {
  text-align: left;
  color: var(--phl-primary);
  border-left: 4px solid var(--phl-accent);
  padding-left: 10px;
  text-shadow: 0 0 10px var(--phl-accent);
}

/* === HIGHLIGHT NEON (Hover Points/Stats) === */
.table td.points:hover,
.table td:hover:nth-child(5),
.table td:hover:nth-child(9) {
  background: radial-gradient(circle, rgba(255,0,184,0.25) 0%, rgba(0,0,0,0) 70%);
  transition: background 0.3s ease;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .container {
    padding: 1.5rem;
  }
  h1, h2 {
    text-align: center;
  }
  .team-logo {
    height: 35px;
  }
  .table td, .table th {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}

@media (max-width: 768px) {
  .team-logo {
    height: 30px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .table td, .table th {
    font-size: 0.85rem;
  }
}
