.rof-leaderboard {
  position: relative;
  padding: 40px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.rof-leaderboard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 22, 0.7), rgba(10, 18, 22, 0.92));
  pointer-events: none;
}

.rof-leaderboard__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rof-leaderboard__title {
  text-align: center;
}

.rof-leaderboard__card {
  width: 100%;
  max-width: 520px;
  background: rgba(11, 18, 23, 0.78);
  border: 1px solid rgba(255, 122, 0, 0.35);
  border-radius: 18px;
  padding: 24px 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.rof-leaderboard__top3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
  align-items: end;
}

.rof-leader-podium {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.rof-leader-podium.is-first {
  transform: translateY(-8px);
}

.rof-leader-podium__avatar {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--rof-orange);
  background: #1a2229;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rof-leader-podium.is-first .rof-leader-podium__avatar {
  width: 68px;
  height: 68px;
  border-width: 3px;
}

.rof-leader-podium__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rof-leader-podium__initials {
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

.rof-leader-podium__rank {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rof-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.rof-leader-podium__label {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  margin-top: 6px;
}

.rof-leader-podium__score {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

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

.rof-leaderboard__row {
  display: grid;
  grid-template-columns: 32px 32px 1fr auto;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
}

.rof-leaderboard__rank {
  font-weight: 800;
  color: var(--rof-orange);
  font-size: 13px;
}

.rof-leaderboard__avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #ffb067);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rof-leaderboard__name {
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rof-leaderboard__score {
  font-weight: 800;
  color: #fff;
}

.rof-leaderboard__actions {
  margin-top: 28px;
}

@media (max-width: 520px) {
  .rof-leaderboard__card {
    padding: 18px 14px;
  }
  .rof-leader-podium__avatar {
    width: 50px;
    height: 50px;
  }
  .rof-leader-podium.is-first .rof-leader-podium__avatar {
    width: 60px;
    height: 60px;
  }
}
