/* ===================================================
   MAMANGGS - CLEAN 3D ESPORTS LEADERBOARD
   =================================================== */

.leaderboard-app-frame {
  max-width: 520px;
  margin: 15px auto 70px;
  padding: 0 16px;
}

/* HEADER TITLE */
.leaderboard-top-header {
  text-align: center;
  margin-bottom: 25px;
}

.glow-season-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.modern-title-text {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 0 0 4px;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modern-subtitle-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

/* ===================================================
   PODIUM PILLARS STAGE (TOP 3)
   =================================================== */
.podium-stage-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-top: 10px;
}

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

.podium-pillar {
  width: 100%;
  border-radius: 20px 20px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px 14px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.podium-pillar:hover {
  transform: translateY(-4px);
}

/* Pillar 1 (Tengah - Sultan Gold) */
.podium-column.rank-1 {
  order: 2;
  z-index: 2;
}

.pillar-1 {
  height: 230px;
  background: linear-gradient(180deg, #3d2407 0%, #b47816 50%, #eab308 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.7);
  box-shadow: 0 0 35px rgba(234, 179, 8, 0.25);
}

/* Pillar 2 (Kiri - Silver Blue) */
.podium-column.rank-2 {
  order: 1;
}
.pillar-2 {
  height: 190px;
  background: linear-gradient(180deg, #091a38 0%, #1e3a8a 60%, #3b82f6 100%);
  border: 1.5px solid rgba(147, 197, 253, 0.4);
}

/* Pillar 3 (Kanan - Bronze Purple) */
.podium-column.rank-3 {
  order: 3;
}
.pillar-3 {
  height: 170px;
  background: linear-gradient(180deg, #2b0e24 0%, #701a75 60%, #c026d3 100%);
  border: 1.5px solid rgba(244, 114, 182, 0.4);
}

/* RANK BADGES DI ATAS PILAR */
.pillar-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 1.15rem;
}

.badge-gold-glow {
  color: #fef08a;
  text-shadow: 0 0 12px rgba(234, 179, 8, 0.8);
}
.crown-animated {
  color: #fbbf24;
  animation: crownHover 2s infinite ease-in-out;
}
@keyframes crownHover {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.1); }
}

.badge-silver {
  color: #e2e8f0;
  text-shadow: 0 0 8px rgba(226, 232, 240, 0.5);
}

.badge-bronze {
  color: #fbcfe8;
  text-shadow: 0 0 8px rgba(244, 114, 182, 0.5);
}

/* AVATAR 3D WRAPPER */
.avatar-3d-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background: #1e293b;
}

.gold-ring {
  border-color: #fef08a;
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.6);
  width: 74px;
  height: 74px;
}

.avatar-3d-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DETAIL NAMA & SKOR */
.pillar-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95px;
}

.pillar-score {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #34d399;
}

.gem-icon {
  font-size: 0.72rem;
  color: #10b981;
}

/* PITA HADIAH VOUCHER SULTAN */
.winner-prize-tag {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
  letter-spacing: 0.3px;
}

/* ===================================================
   BOTTOM RANKINGS SHEET (PERINGKAT 4-10)
   =================================================== */
.rankings-sheet-card {
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

.sheet-drag-notch {
  width: 36px;
  height: 4px;
  background: #10b981;
  border-radius: 4px;
  margin: 0 auto 16px;
  box-shadow: 0 0 10px #10b981;
}

.rankings-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 28, 48, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.rank-row-item:hover {
  background: rgba(30, 41, 59, 0.9);
}

.rank-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-avatar-sm {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #1e293b;
}

.rank-user-text {
  display: flex;
  flex-direction: column;
}

.rank-user-text .player-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.rank-user-text .player-score {
  font-size: 0.78rem;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 5px;
}

.trophy-badge-sm {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 4px;
}