﻿/* Tab Switcher */
.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.75rem 2rem;
    border: 2px solid #667eea;
    border-radius: 9999px;
    background: white;
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    .tab-button:hover {
        background: #f3f4f6;
    }

    .tab-button.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-color: #667eea;
    }

    .tab-button i {
        margin-right: 0.5rem;
    }

/* Search Bar */
.leaderboard-search {
    max-width: 500px;
    margin: 0 auto 2rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-input {
    flex: 9;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 1.5rem;
    transition: border-color 0.3s;
}

    .search-input:focus {
        outline: none;
        border-color: #667eea;
    }

.search-button {
    flex: 1;
    padding: 0.75rem 1rem;
    background: #667eea;
    color: white;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1.5rem;
}

    .search-button:hover {
        background: #5568d3;
    }

/* Load More Button styles */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.load-more-btn {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 1.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

    .load-more-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
        background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    }

    .load-more-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    }

    .load-more-btn i {
        font-size: 1.25rem;
        animation: bounce 2s infinite;
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .leaderboard-tabs {
        flex-direction: row;
        padding: 0 1rem;
    }

    .tab-button {
        width: 100%;
    }

    .leaderboard-search {
        padding: 0 1rem;
    }

    .load-more-btn {
        font-size: 1.5rem;
    }
}