.leaderboard {
  padding: 20px 0 96px;
  position: relative;
}

.leaderboard__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-bg-3);
  overflow: hidden;
}

.leaderboard__intro {
  color: #fff;
}

.leaderboard__title {
  font-family: var(--font-display);
  font-size: 56px;
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1;
}

.leaderboard__description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.leaderboard__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.leaderboard__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.leaderboard__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.leaderboard__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leaderboard__info {
  min-width: 0;
}

.leaderboard__name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.85);
}

.leaderboard__score {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
}

.leaderboard__medal {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leaderboard__medal img {
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 900px) {
  .leaderboard__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }
  .leaderboard__title {
    font-size: 40px;
  }
  .leaderboard__row {
    padding: 14px 16px;
    gap: 14px;
  }
  .leaderboard__avatar {
    width: 52px;
    height: 52px;
  }
  .leaderboard__medal {
    width: 48px;
    height: 48px;
  }
  .leaderboard__score {
    font-size: 22px;
  }
}
