.section-leaderboard {
  padding: 80px 0;
  background: #0a005e;
  position: relative;
  overflow: hidden;
}

.section-leaderboard .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-leaderboard .section-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-leaderboard .section-header p {
  font-size: 16px;
}

.leaderboard-wrapper {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: flex-end;
  z-index: 5;
  position: relative;
}

.leaderboard-left {
  background: #9eee0d;
  border-radius: 16px;
  padding: 24px;
  width: 420px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 20px;
}

.podium-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.podium-item .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-card);
  margin-bottom: 8px;
  overflow: hidden;
}

.podium-item .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-item .username {
  font-size: 12px;
  color: #0a005e;
  margin-bottom: 12px;
}

.podium-bar {
  width: 123px;
  border-radius: 8px 8px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 16px;
  background: linear-gradient(180deg, #fffdfd 0%, rgba(255, 255, 255, 0) 100%);
}

.podium-item:nth-child(1) .podium-bar {
  height: 149px;
}

.podium-item:nth-child(2) .podium-bar {
  height: 185px;
}

.podium-item:nth-child(3) .podium-bar {
  height: 126px;
}

.podium-bar .place {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.podium-bar .score {
  font-size: 24px;
  font-weight: 600;
  color: #000;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #0a005e;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px;
  background: linear-gradient(
    270deg,
    #fffdfd -3.27%,
    rgba(255, 255, 255, 0) 97.23%
  );

  border-radius: 8px;
}

.leaderboard-item .avatar-small {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-bg-card);
  overflow: hidden;
}

.leaderboard-item .avatar-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leaderboard-item .user-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.leaderboard-item .username {
  font-size: 14px;
}

.leaderboard-item .score {
  font-size: 14px;
  font-weight: 600;
}

.reviews-right {
  width: 404px;
}

.reviews-right h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-card {
  background: #9eee0d;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-header .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-card);
  overflow: hidden;
}

.review-header .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-header .info .username {
  font-size: 14px;
  font-weight: 600;
  color: #0a005e;
}

.review-header .info .title {
  font-size: 13px;
  color: #0a005e;
}

.review-card .review-text {
  font-size: 13px;
  color: #0a005e;
  line-height: 1.5;
}

.leaderboard-deco-left,
.leaderboard-deco-right {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.leaderboard-deco-left {
  left: -60px;
  bottom: 0;
  width: 500px;
}

.leaderboard-deco-right {
  right: -60px;
  top: -80px;
  width: 400px;
}

@media (max-width: 1024px) {
  .leaderboard-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .leaderboard-left,
  .reviews-right {
    width: 100%;
    max-width: 500px;
  }

  .leaderboard-deco-left,
  .leaderboard-deco-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-leaderboard .section-header h2 {
    font-size: 28px;
  }

  .podium-bar {
    width: 90px;
  }
}

@media (max-width: 480px) {
  .podium {
    gap: 4px;
  }

  .podium-bar {
    width: 70px;
  }
}
