/* ===== STYLE COMMUN AUX PAGES JOUEURS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --vert:   #00e676;
  --noir:   #0a0a0a;
  --gris:   #111111;
  --texte:  #e8e8e8;
  --accent: #ffcc00;
}

body {
  background: var(--noir);
  color: var(--texte);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-back {
  text-decoration: none;
  color: var(--vert);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.nav-back:hover { gap: 14px; }

.nav-rank {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.25);
}

/* ===== HERO JOUEUR ===== */
.player-hero {
  padding-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  overflow: hidden;
}

.player-hero-left {
  position: relative;
  background: #0d0d0d;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 400px;
}

.player-hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(0,230,118,0.12) 0%, transparent 70%);
}

.player-hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Placeholder si pas d'image */
.img-placeholder-big {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.15);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.img-placeholder-big .icon { font-size: 4rem; opacity: 0.3; }

.player-hero-right {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.player-rank-badge {
  display: inline-block;
  background: var(--vert);
  color: var(--noir);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 3px;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  width: fit-content;
}

.player-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.player-nation {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 28px;
}

.player-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  border-left: 3px solid var(--vert);
  padding-left: 20px;
}

/* ===== STATS BAR ===== */
.stats-section {
  background: #0d0d0d;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent);
  letter-spacing: 2px;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 6px;
}

/* ===== CONTENU PRINCIPAL ===== */
.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px;
}

.content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: white;
}

.content h2 span { color: var(--vert); }

.content p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.62);
  margin-bottom: 30px;
}

.content-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 40px 0;
  background: #1a1a1a;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-img .img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.content-img .img-placeholder .icon { font-size: 2.5rem; opacity: 0.35; }

/* ===== LIENS EXTERNES ===== */
.links-section {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 60px 24px;
  max-width: 820px;
  margin: 0 auto;
}

.links-section h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 3px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.5);
}

.ext-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--texte);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: border-color 0.2s, background 0.2s;
}

.ext-link:hover {
  border-color: var(--vert);
  background: rgba(0,230,118,0.06);
  color: var(--vert);
}

/* ===== FOOTER ===== */
footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 30px 20px;
  text-align: center;
}

.footer-label {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 10px;
}

.footer-names {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  letter-spacing: 6px;
  color: rgba(255,255,255,0.5);
}

.footer-names span { color: var(--vert); }

.footer-copy {
  margin-top: 16px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .player-hero { grid-template-columns: 1fr; }
  .player-hero-left { min-height: 320px; }
  .player-hero-right { padding: 40px 24px; }
}
