/* ============================================================
   CHAMP DE BATAILLE — styles (scopé .bf-page)
   Cohérent avec le thème Resurgence : nuit bleue + or.
   Déposer dans /var/www/html/assets/css/battlefield.css
   ============================================================ */

.bf-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  color: #dbe4f3;
}

/* ---------- Hero ---------- */
.bf-hero { text-align: center; padding: 2.5rem 0 1.5rem; }
.bf-kicker {
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #7fb2ff;
  margin-bottom: .6rem;
}
.bf-title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 .6rem;
  background: linear-gradient(90deg, #7fb2ff 0%, #f0c75e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bf-sub { color: #9db1cf; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.bf-section { margin-top: 3.2rem; }
.bf-h2 { font-size: 1.5rem; margin-bottom: .25rem; color: #fff; }
.bf-section-sub { color: #8fa3c2; margin-bottom: 1.2rem; font-size: .95rem; }

/* ---------- Tables ---------- */
.bf-table-wrap { overflow-x: auto; border-radius: 14px; }
.bf-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(13, 22, 40, .75);
  border: 1px solid rgba(127, 178, 255, .12);
  border-radius: 14px;
  overflow: hidden;
  font-size: .95rem;
}
.bf-table th, .bf-table td {
  padding: .7rem .8rem;
  text-align: center;
  white-space: nowrap;
}
.bf-table thead th {
  background: rgba(127, 178, 255, .08);
  color: #9db9e8;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.bf-table tbody tr { border-top: 1px solid rgba(127, 178, 255, .07); }
.bf-table tbody tr:hover { background: rgba(127, 178, 255, .05); }
.bf-left  { text-align: left !important; }
.bf-rank  { font-weight: 700; width: 3.2rem; }
.bf-name  { font-weight: 600; color: #fff; }
.bf-win   { color: #7fe3a1; font-weight: 700; }
.bf-mvp   { color: #f0c75e; font-weight: 700; }

/* Podium : lignes or / argent / bronze (fonds UNIS, pas de dégradé) */
.bf-gold   td { background: rgba(240, 199, 94, .12); }
.bf-silver td { background: rgba(190, 205, 224, .10); }
.bf-bronze td { background: rgba(205, 137, 84, .10); }
.bf-gold .bf-name { color: #f0c75e; }

/* ---------- CTA ---------- */
.bf-cta {
  margin-top: 1rem;
  text-align: center;
  color: #9db1cf;
  font-size: .95rem;
}
.bf-empty {
  text-align: center;
  padding: 2rem;
  background: rgba(13, 22, 40, .6);
  border: 1px dashed rgba(127, 178, 255, .25);
  border-radius: 14px;
  color: #9db1cf;
}

/* ---------- Records ---------- */
.bf-records {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .bf-records { grid-template-columns: repeat(3, 1fr); }
  .bf-records .bf-record-card:nth-last-child(2):nth-child(3n+1) { grid-column: 2; }
}

@media (max-width: 560px) {
  .bf-records { grid-template-columns: repeat(2, 1fr); }
  .bf-records .bf-record-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }
}
.bf-record-card {
  background: rgba(13, 22, 40, .75);
  border: 1px solid rgba(240, 199, 94, .18);
  border-radius: 14px;
  padding: 1.2rem 1rem;
  text-align: center;
  transition: transform .15s ease, border-color .15s ease;
}
.bf-record-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 199, 94, .45);
}
.bf-record-icon  { font-size: 1.8rem; }
.bf-record-value {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: .35rem;
  background: linear-gradient(90deg, #f0c75e, #ffe9b0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bf-record-label  { color: #8fa3c2; font-size: .82rem; margin-top: .3rem; }
.bf-record-holder { color: #fff; font-weight: 600; margin-top: .45rem; font-size: .95rem; }

/* ---------- Mobile ---------- */
@media (max-width: 560px) {
  .bf-table { font-size: .84rem; }
  .bf-table th, .bf-table td { padding: .55rem .45rem; }
  .bf-records { grid-template-columns: repeat(2, 1fr); }
}
