/* ===== LEADERBOARD PAGE ===== */
.leaderboard-page {
    padding: 40px;
    background: #0a0a0f;
}

/* PODIUM */
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 40px 20px;
    background: radial-gradient(ellipse at center, #0d0d2e 0%, #0a0a0f 70%);
    border-bottom: 1px solid #1a1a2e;
    margin-bottom: 40px;
}

.podium-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.podium-first {
    order: 2;
    transform: translateY(-20px);
}

.podium-second { order: 1; }
.podium-third { order: 3; }

.podium-crown {
    font-size: 32px;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.podium-avatar {
    font-size: 52px;
    background: #0d0d1a;
    border: 2px solid #1a1a2e;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.podium-first .podium-avatar {
    width: 96px;
    height: 96px;
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.podium-second .podium-avatar {
    border-color: #c0c0c0;
}

.podium-third .podium-avatar {
    border-color: #cd7f32;
}

.podium-name {
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
}

.podium-first .podium-name {
    font-size: 20px;
    color: #ffd700;
}

.podium-region {
    font-size: 12px;
    color: #aaaaaa;
}

.podium-earnings {
    font-size: 18px;
    font-weight: 900;
    color: #00f5ff;
}

.podium-place {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
}

.podium-place.first {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
}

.podium-place.second {
    background: linear-gradient(135deg, #c0c0c0, #999999);
    color: #000;
}

.podium-place.third {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    color: #fff;
}

/* TABLE */
.lb-table-container {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
}

.lb-table {
    width: 100%;
    border-collapse: collapse;
}

.lb-table thead tr {
    background: #0d0d1a;
    border-bottom: 1px solid #1a1a2e;
}

.lb-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lb-row {
    border-bottom: 1px solid #1a1a2e;
    transition: background 0.2s;
}

.lb-row:hover {
    background: rgba(0, 245, 255, 0.03);
}

.tenzo-row {
    background: rgba(0, 245, 255, 0.05);
}

.lb-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: #ffffff;
}

.lb-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
    background: #1a1a2e;
    color: #aaaaaa;
}

.lb-rank.gold {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
}

.lb-rank.silver {
    background: linear-gradient(135deg, #c0c0c0, #999999);
    color: #000;
}

.lb-rank.bronze {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    color: #fff;
}

.lb-player {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lb-avatar {
    font-size: 28px;
    width: 44px;
    height: 44px;
    background: #0d0d1a;
    border: 1px solid #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lb-player div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lb-name {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.lb-tag {
    font-size: 11px;
    color: #555555;
}

.lb-game {
    font-size: 12px;
    font-weight: 700;
    color: #00f5ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lb-wr {
    font-weight: 700;
    font-size: 14px;
}

.lb-wr.high { color: #00ff64; }
.lb-wr.mid { color: #ffa500; }

.lb-earn {
    font-size: 15px;
    font-weight: 900;
    color: #00f5ff;
}

.btn-small-outline {
    background: transparent;
    border: 1px solid #1a1a2e;
    border-radius: 6px;
    padding: 6px 14px;
    color: #aaaaaa;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Segoe UI', sans-serif;
}

.btn-small-outline:hover {
    border-color: #00f5ff;
    color: #00f5ff;
}

.lb-join-cta {
    text-align: center;
    padding: 30px;
    font-size: 15px;
    color: #aaaaaa;
}

.lb-join-cta a {
    color: #00f5ff;
    font-weight: 700;
    text-decoration: none;
}

.lb-join-cta a:hover {
    text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
    .leaderboard-page { padding: 20px; }
    .podium { gap: 10px; padding: 30px 10px; }
    .podium-avatar { width: 60px; height: 60px; font-size: 36px; }
    .podium-first .podium-avatar { width: 72px; height: 72px; }
    .lb-table th:nth-child(3),
    .lb-table td:nth-child(3),
    .lb-table th:nth-child(5),
    .lb-table td:nth-child(5) { display: none; }
}
/* ===== EMPTY STATES ===== */
.podium-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 20px;
    background: radial-gradient(ellipse at center, #0d0d2e 0%, #0a0a0f 70%);
    border-bottom: 1px solid #1a1a2e;
    text-align: center;
    margin-bottom: 40px;
}

.podium-empty-slots {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 16px;
}

.podium-empty-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.podium-empty-slot.first {
    transform: translateY(-20px);
}

.empty-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0d0d1a;
    border: 2px dashed #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #333;
    font-weight: 900;
}

.empty-avatar.first {
    width: 96px;
    height: 96px;
    border-color: rgba(255, 215, 0, 0.2);
}

.podium-empty h3 {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
}

.podium-empty p {
    font-size: 15px;
    color: #aaaaaa;
    margin-bottom: 8px;
}

.lb-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 20px;
    text-align: center;
}

.lb-empty-state span {
    font-size: 48px;
}

.lb-empty-state p {
    font-size: 15px;
    color: #aaaaaa;
}
