.leaderboard-container {
    padding: 20px;
    background: var(--bg-color);
    min-height: calc(100vh - 80px);
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #1a1f2d;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.leaderboard-header h2 {
    color: #63E6BE;
    font-size: 24px;
    margin: 0;
}

.leaderboard-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: #2a2f3d;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #363b4a;
}

.filter-btn.active {
    background: #63E6BE;
    color: #1a1f2d;
}

.top-performers {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
    background: #1a1f2d;
    border-radius: 10px;
}

.winner, .runner-up {
    text-align: center;
    position: relative;
    padding: 20px;
    background: #2a2f3d;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.winner {
    padding-top: 40px;
    margin-bottom: 20px;
}

.winner img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #FFD700;
}

.runner-up img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #C0C0C0;
}

.runner-up.right img {
    border-color: #CD7F32;
}

.position {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #63E6BE;
    color: #1a1f2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.medal {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
}

.medal.gold { color: #FFD700; }
.medal.silver { color: #C0C0C0; }
.medal.bronze { color: #CD7F32; }

.winner h3, .runner-up h3 {
    color: #fff;
    margin: 10px 0 5px;
}

.winner p, .runner-up p {
    color: #63E6BE;
    margin: 0;
}

.leaderboard-table {
    background: #1a1f2d;
    border-radius: 10px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 80px;
    padding: 15px 20px;
    background: #2a2f3d;
    color: #63E6BE;
    font-weight: 500;
}

.table-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 80px;
    padding: 12px 20px;
    align-items: center;
    border-bottom: 1px solid #2a2f3d;
    color: #fff;
    transition: all 0.3s ease;
}

.table-row:hover {
    background: #2a2f3d;
}

.table-row.highlight {
    background: #2a2f3d;
    border-left: 3px solid #63E6BE;
}

.player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.points {
    color: #63E6BE;
    font-weight: 500;
}

.trend-up { color: #63E6BE; }
.trend-down { color: #ff4757; }
.trend-same { color: #8c8c8c; }

/* Custom Scrollbar */
.table-body::-webkit-scrollbar {
    width: 5px;
}

.table-body::-webkit-scrollbar-track {
    background: #1a1f2d;
}

.table-body::-webkit-scrollbar-thumb {
    background: #2a2f3d;
    border-radius: 5px;
}

.table-body::-webkit-scrollbar-thumb:hover {
    background: #63E6BE;
} 