.player-scores {
  padding: 64px 0;
}

.player-scores-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.player-scores-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.player-scores-left h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 64px;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 16px;
}

.player-scores-left h2 span {
  color: #8746eb;
}

.player-scores-left p {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #ffffff;
  margin: 0;
  line-height: normal;
}

.player-scores-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 16px 32px;
  border-radius: 16px;
  position: relative;
}

.score-gold {
  background: linear-gradient(
    to right,
    rgba(240, 217, 149, 0.3),
    rgba(240, 217, 149, 0)
  );
}

.score-gold .score-accent {
  background: #f0d995;
}

.score-silver {
  background: linear-gradient(
    to right,
    rgba(206, 207, 208, 0.3),
    rgba(206, 207, 208, 0)
  );
}

.score-silver .score-accent {
  background: #cecfd0;
}

.score-bronze {
  background: linear-gradient(
    to right,
    rgba(209, 172, 149, 0.3),
    rgba(209, 172, 149, 0)
  );
}

.score-bronze .score-accent {
  background: #d1ac95;
}

.score-accent {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 57px;
  border-radius: 0 100px 100px 0;
}

.score-badge {
  position: relative;
  width: 70px;
  height: 53px;
  flex-shrink: 0;
}

.badge-left,
.badge-right {
  position: absolute;
  top: 0;
  height: 100%;
}

.badge-left {
  left: 0;
  width: 50%;
}

.badge-right {
  right: 0;
  width: 50%;
}

.badge-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  z-index: 2;
}

.score-player {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 181px;
  flex-shrink: 0;
}

.player-avatar {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  object-fit: cover;
}

.player-name {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #ffffff;
}

.player-score {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #ffffff;
  margin-left: auto;
}

@media (max-width: 991px) {
  .player-scores-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .player-scores-left {
    align-items: center;
    text-align: center;
  }

  .player-scores-left h2 {
    font-size: 36px;
  }

  .player-scores-left p {
    font-size: 16px;
  }

  .score-row {
    gap: 24px;
  }

  .score-player {
    width: auto;
  }
}

@media (max-width: 480px) {
  .player-scores-left h2 {
    font-size: 28px;
  }

  .score-row {
    gap: 16px;
    padding: 12px 16px;
  }

  .score-badge {
    width: 50px;
    height: 38px;
  }

  .badge-number {
    font-size: 18px;
  }

  .player-avatar {
    width: 40px;
    height: 40px;
  }

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