@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@600;700&family=Poppins:wght@300;400;600&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0b0b22;
    color: #fff;
}

/* Section de base */
.section {
    padding: 70px 20px;
    background: #12122b;
    text-align: center;
}

.section h2 {
    color: #fff;
    font-family: 'Antonio', sans-serif;
    font-size: 28px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    color: #ccc;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Bannière Live */
.live-banner {
    background: #141429;
    padding: 15px;
    text-align: center;
}

.live-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.live-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #9146ff;
}

.live-icon {
    color: red;
    font-size: 1.3em;
}

.live-button {
    background-color: #9146ff;
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

.live-button:hover {
    background-color: #772ce8;
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
  .live-banner-content {
    flex-direction: column;
    gap: 15px; 
  }

  .live-banner-content > * {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .live-avatar {
    width: 40px;
    height: 40px;
  }
}


/* Nouvelle Collection */
.cards-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px auto;
}

.card img {
    width: 160px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.07);
}

/* Boutons */
.button {
    display: inline-block;
    background: #9146ff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: 15px;
}

.button:hover {
    background: #772ce8;
}

.button-cta {
    font-size: 16px;
}

/* Classements */
.classements-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.leaderboard {
    background-color: #1c1c3c;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 280px;
}

.leaderboard h3 {
    margin-bottom: 15px;
    color: #ffffff;
    font-family: 'Antonio', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}

.rank-card {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    background: #29294a;
    padding: 10px;
    border-radius: 6px;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
}

/* Rang 1 */
.rank-card.first {
    background: linear-gradient(135deg, #fdd835, #ffe082);
    color: #111;
}
.rank-card.first .position::before {
    content: "🥇";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('/uploads/top1.png');
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 10px;
}

/* Rang 2 */
.rank-card.second {
    background: linear-gradient(135deg, #b0bec5, #cfd8dc);
    color: #111;
}
.rank-card.second .position::before {
    content: "🥈";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 10px;
}

/* Rang 3 */
.rank-card.third {
    background: linear-gradient(135deg, #ffb74d, #ffe0b2);
    color: #111;
}
.rank-card.third .position::before {
    content: "🥉";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 10px;
}




.divider {
    width: 2px;
    background: #333;
}



/* SECTION RÉCOMPENSES */
/* ====== Carte Top 5 du mois ====== */
.monthly-rewards { text-align: left; }

/* liste verticale propre */
.monthly-rewards .top5{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* chaque rang = grille badge + contenu */
.monthly-rewards .rank-row{
  display: grid;
  grid-template-columns: 104px 1fr;   /* colonne gauche fixe pour le badge */
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

/* badge "Top X" (gauche) */
.monthly-rewards .rank-badge{
  align-self: start;
  justify-self: start;
  font-weight: 800;
  font-family: 'Antonio', sans-serif;
  letter-spacing: .4px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
}

/* contenu perks (droite) */
.monthly-rewards .perks ul{
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

/* aligne mieux les lignes avec emoji/ico */
.monthly-rewards .perks ul li{
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

/* chip points en fin de bloc */
.monthly-rewards .points-chip{
  display: inline-block;
  font-weight: 700;
  font-size: .95rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(145,70,255,.18);
  border: 1px solid rgba(145,70,255,.35);
}

/* mettre le Top 1 en valeur sans casser la grille */
.monthly-rewards .rank-row.rank-1{
  background: linear-gradient(180deg,rgba(255,215,0,.14),rgba(255,215,0,.05));
  border-color: rgba(255,215,0,.35);
}
.monthly-rewards .rank-row.rank-1 .rank-badge{
  background: linear-gradient(180deg,rgba(255,215,0,.28),rgba(255,215,0,.12));
  border-color: rgba(255,215,0,.5);
}

/* responsive */
@media (max-width: 640px){
  .monthly-rewards .rank-row{
    grid-template-columns: 92px 1fr;
    padding: 14px 16px;
    gap: 14px;
  }
  .monthly-rewards .rank-badge{
    font-size: .95rem;
    padding: 6px 10px;
  }
  .monthly-rewards .points-chip{
    font-size: .9rem;
  }
}



.reglement-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

/* Zone de l'illustration */
.reglement-illustration {
  text-align: center;
}

/* Contenu textuel */
.reglement-content {
  flex: 1 1 300px;
  text-align: left;
  max-width: 500px;
}

.reglement-content h2 {
  font-family: 'Antonio', sans-serif;
  font-size: 28px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
}

.reglement-content .section-subtitle {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 15px;
  font-weight: 400;
}

.reglement-content .reglement-text {
  font-size: 16px;
  color: #eee;
  line-height: 1.5;
  margin-bottom: 20px;
}


.button.button-cta {
  margin-top: 10px;
}

.reglement-illustration img {
    height: 300px;
}

.player-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.player-link:hover {
  text-decoration: underline;
}
.ranking-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
  object-fit: cover;
}


.rewards-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.reward-card {
  background: #1c1c3c;
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  border: 1px solid #333;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.reward-card h3 {
  font-family: 'Antonio', sans-serif;
  font-size: 1.2rem;
  color: #f2c744;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-align: center;
}

.reward-card ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
  color: #eee;
  line-height: 1.6;
}

.reward-card ul li {
  margin-bottom: 6px;
}

/* Fade-up animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}
.delay-3 {
  animation-delay: 0.9s;
}

/* Responsive */
@media (max-width: 768px) {
  .reward-card {
    padding: 20px;
  }
}


#hall-of-fame .halloffame-banner {
  text-align: center;
  margin-top: 1rem;
}

#hall-of-fame .halloffame-banner .button-cta {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  transition: var(--transition);
      background: #772ce8;
      border-radius:30px;
}

#hall-of-fame .halloffame-banner .button-cta:hover {
  transform: scale(1.05);
}


