

body {
  margin: 0;
  padding: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.leaderboard {
  width: 100vw;
  min-height: 100vh;
  padding: 40px 5vw;
  background: linear-gradient(to bottom, #ffe600, #ffd400);
  background-position: bottom !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  box-sizing: border-box;
  text-align: center;
}

.title {
  font-size: 3vw;
  font-weight: bold;
  color: #a60000;
  margin-bottom: 30px;
  position: relative;
  text-align: center;
  display: inline-block;
}

.title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #a60000;
  margin-top: 8px;
}

.header-row, .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.header {
  flex: 1;
  margin: 0 5px 20px 5px;
  background: linear-gradient(to right, #a40000, #f22e2e);
  padding: 20px 10px;
  text-align: center;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
  font-weight: bold;
  font-size: 2.2vw;
  color: white;
}

.player-details .row:nth-child(1) {
  background: linear-gradient(to right, #a40000, #f22e2e);
}
.player-details .row:nth-child(2) {
  background: linear-gradient(to right, #b72822, #e33d2e);
}
.player-details .row:nth-child(3) {
  background: linear-gradient(to right, #b54424, #e25a30);
}
.player-details .row:nth-child(4) {
  background: linear-gradient(to right, #b85a22, #ec7133);
}
.player-details .row:nth-child(5) {
  background: linear-gradient(to right, #b85a22a6, #ec7133ad);
}

.row {
  clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
  margin-bottom: 12px;
  color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.cell {
  flex: 1;
  text-align: center;
  padding: 15px 5px;
  font-size: 2vw;
  word-break: break-word;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .title {
    font-size: 6vw;
  }
  .header {
    font-size: 4.5vw;
    padding: 15px 8px;
  }
  .cell {
    font-size: 4.2vw;
  }
}
