.top-players-section {
  padding: 80px 0;
  position: relative;
  background-size: cover;
  background-position: center;
}

.top-players-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.top-players-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-players-content > .section-title {
  margin-bottom: 12px;
}

.top-players-content > .section-subtitle {
  margin-bottom: 40px;
}

.leaderboard-table {
  max-width: 1024px;
  margin: 0 auto;
  background-color: #121a2b;
  border: 1px solid #1da1ff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.leaderboard-header {
  background-color: #0b0c12;
  display: grid;
  grid-template-columns: 24% 24% 24% 28%;
  padding: 24px;
}

.leaderboard-header span {
  color: #00d3f2;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.49px;
}

.leaderboard-header span:first-child {
  text-align: center;
}

.leaderboard-header span:last-child {
  text-align: right;
  padding-right: 8px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 24% 24% 24% 28%;
  padding: 24px;
  border-bottom: 1px solid #333;
  align-items: center;
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.rank-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto;
}

.rank-1 {
  background-color: #00d3f2;
  color: #0b0c12;
  box-shadow: 0 0 15px #ccff00;
}

.rank-2 {
  background-color: #d1d5dc;
  color: #0b0c12;
}

.rank-3 {
  background-color: #ca3500;
  color: #ffffff;
}

.rank-4,
.rank-5 {
  background-color: #333;
  color: #6a7282;
}

.player-name {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}

.game-name {
  font-family: "Syne", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #6a7282;
}

.player-score {
  font-family: "Syne", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #00d3f2;
  text-align: right;
  padding-right: 8px;
}

@media (max-width: 1023px) {
  .top-players-section {
    padding: 60px 0;
  }

  .leaderboard-header,
  .leaderboard-row {
    padding: 16px;
  }

  .leaderboard-header span {
    font-size: 13px;
  }

  .player-name {
    font-size: 15px;
  }

  .game-name {
    font-size: 14px;
  }

  .player-score {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .top-players-section {
    padding: 40px 0;
  }

  .leaderboard-table {
    border-radius: 16px;
    margin: 0 16px;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 20% 26% 26% 28%;
    padding: 12px;
    gap: 4px;
  }

  .leaderboard-header span {
    font-size: 11px;
    letter-spacing: 0;
  }

  .rank-badge {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
  }

  .player-name {
    font-size: 13px;
  }

  .game-name {
    font-size: 12px;
  }

  .player-score {
    font-size: 14px;
  }
}

@media (max-width: 500px) {
  .leaderboard-header span:nth-child(3),
  .leaderboard-row .game-name {
    display: none;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 25% 40% 35%;
  }
}
