/* Leaderboard Styles */

/* Force display block and full opacity on desktop/tablet to bypass Bootstrap tab-pane hiding */
@media (min-width: 768px) {
    #leaderboardTabContent .tab-pane {
        display: block !important;
        opacity: 1 !important;
    }
}

/* Responsive Title Sizing */
@media (max-width: 767.98px) {
    .leaderboard-main-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .top-10-card .card-title {
        font-size: 1rem !important;
        white-space: nowrap;
    }
}

/* Custom Rank Buttons for Mobile on Blue BG */
.mobile-rank-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.mobile-rank-btn.active {
    background: #fff !important;
    color: #2563eb !important;
    border-color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.leaderboard-section {
    min-height: 100vh;
    padding-top: 25px; /* Reduced from 50px */
    padding-bottom: 50px;
    background: #2563eb; /* Theme primary blue */
}

.champion-card {
    border-radius: 20px;
    border: none;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.champion-card:hover {
    transform: translateY(-10px);
}

.champion-card .card-body {
    padding: 30px 20px;
}

.champion-title {
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 15px;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    background-position: center;
    background-size: cover;
    border: 4px solid #f8fafc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.user-name {
    font-weight: 700;
    color: #1e293b;
}

.total-spent {
    font-size: 1.25rem;
    color: #2563eb;
}

.top-10-card {
    border-radius: 20px;
    border: none;
}

.top-10-card .list-group-item {
    border-color: #f1f5f9;
}

.top-10-card .list-group-item:last-child {
    border-bottom: none;
}
