/* ============================== */
/* ONGLETS PROFIL (Carriere / Saison) */
/* ============================== */
.profil-tabs {
  display: flex;
  gap: 6px;
  margin: 12px 0 14px;
  border-bottom: 2px solid #34495e;
  padding-bottom: 0;
}
.profil-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: #95a5a6;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 10px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.profil-tab:hover { color: #ecf0f1; }
.profil-tab.active {
  color: #f39c12;
  border-bottom-color: #f39c12;
}
.profil-tab-content { display: none; }
.profil-tab-content.profil-tab-content-active { display: block; }

/* Stats saison (au-dessus du passe) */
.saison-stats {
  background: rgba(26,26,46,0.6);
  border: 1.5px solid #34495e;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}
.saison-stats .profil-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 500px) {
  .saison-stats .profil-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================== */
/* PASSE DE COMBAT                */
/* ============================== */
.passe-header {
  background: linear-gradient(180deg, rgba(231,76,60,0.15), rgba(26,26,46,0.8));
  border: 2px solid #e74c3c;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}
.passe-titre {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 20px;
  letter-spacing: 3px;
  text-shadow: 0 0 12px currentColor;
  margin-bottom: 4px;
}
.passe-dates {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #bdc3c7;
  margin-bottom: 10px;
}
.passe-niveau-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}
.passe-niveau-label {
  background: #f39c12;
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
}
.passe-xp-bar {
  flex: 1;
  height: 14px;
  min-width: 120px;
  background: rgba(0,0,0,0.4);
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid #566573;
}
.passe-xp-fill {
  height: 100%;
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 7px;
}
.passe-xp-text {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #ecf0f1;
}
.passe-btn-premium {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(180deg, #f39c12, #d35400);
  color: white;
  border: 2px solid #f1c40f;
  border-radius: 10px;
  padding: 10px;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.passe-btn-premium:hover { filter: brightness(1.1); transform: translateY(-1px); }
.passe-premium-active {
  text-align: center;
  margin-top: 10px;
  padding: 8px;
  background: rgba(241,196,15,0.2);
  border: 1.5px solid #f1c40f;
  border-radius: 8px;
  color: #f1c40f;
  font-family: 'Impact', 'Arial Black', sans-serif;
  letter-spacing: 2px;
}

/* Section par role */
.passe-section {
  border: 2px solid #34495e;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 14px;
  background: rgba(0,0,0,0.25);
  overflow: hidden;
}
.passe-section-titre {
  color: white;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  padding: 8px 14px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Grille paliers */
.passe-paliers {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 4px 14px;
  -webkit-overflow-scrolling: touch;
}
.passe-palier {
  flex: 0 0 110px;
  background: rgba(44,62,80,0.6);
  border: 1.5px solid #34495e;
  border-radius: 10px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.passe-palier.palier-unlocked {
  background: rgba(44,62,80,0.85);
  border-color: #27ae60;
  box-shadow: 0 0 8px rgba(39,174,96,0.3);
}
.passe-palier.palier-locked { opacity: 0.75; }
.palier-num {
  background: #f39c12;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 13px;
}
.palier-reward {
  width: 100%;
  min-height: 110px;
  background: rgba(0,0,0,0.35);
  border-radius: 8px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px dashed rgba(255,255,255,0.08);
}
.palier-premium { border: 1px solid rgba(241,196,15,0.4); }
.palier-premium::before {
  content: '\1F451';
  font-size: 10px;
  opacity: 0.7;
}
.reward-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1c40f;
  font-family: 'Impact', 'Arial Black', sans-serif;
}
.reward-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.reward-placeholder {
  width: 38px;
  height: 38px;
  background: rgba(149,165,166,0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #bdc3c7;
}
.reward-label {
  font-family: Arial, sans-serif;
  font-size: 9px;
  color: #ecf0f1;
  text-align: center;
  line-height: 1.2;
}
.palier-btn {
  width: 100%;
  padding: 4px 6px;
  border: none;
  border-radius: 5px;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 9px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: auto;
}
.palier-btn.palier-reclamer {
  background: linear-gradient(180deg, #27ae60, #229954);
  color: white;
}
.palier-btn.palier-reclamer:hover { filter: brightness(1.1); }
.palier-btn.palier-claimed {
  background: #566573;
  color: #bdc3c7;
  cursor: not-allowed;
}
.palier-btn.palier-bloque {
  background: rgba(0,0,0,0.4);
  color: #95a5a6;
  cursor: not-allowed;
}
.palier-vide {
  color: #566573;
  font-size: 18px;
  align-self: center;
  margin: auto;
}

/* Mobile */
@media (max-width: 700px) {
  .passe-palier { flex: 0 0 90px; padding: 6px 4px; }
  .palier-num { width: 24px; height: 24px; font-size: 11px; }
  .reward-icon, .reward-icon-img, .reward-placeholder { width: 32px; height: 32px; }
  .reward-label { font-size: 8px; }
  .palier-btn { font-size: 8px; padding: 3px 4px; }
  .passe-titre { font-size: 17px; }
}
