ers -->
                        <div class="hidden sm:flex space-x-2">
                            {% for num in leaderboard.paginator.page_range %}
                                {% if leaderboard.number == num %}
                                    <span class="px-4 py-2 text-sm font-medium text-white bg-[#e74c3c] rounded-lg">{{ num }}</span>
                                {% elif num > leaderboard.number|add:'-3' and num < leaderboard.number|add:'3' %}
                                    <a href="?page