#hero img.profile-pic {
    max-width: 280px;
    border-radius: 50%;
    border: 6px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(111,196,31,0.35);
}

.hero-content-container .container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.stat-item {
    background: var(--card-bg-color);
    padding: 14px 16px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.14);
    color: var(--text-color);
}

.stat-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-color-muted);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
}

.profile-stats-grid { align-items:stretch; }

/* Stats header with action button */
.stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.stats-header h2 {
    margin: 0;
    flex: 1;
}

.btn-leaderboard {
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: opacity 0.2s;
}

.btn-leaderboard:hover {
    opacity: 0.9;
}

@media (max-width: 600px) {
    .stats-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-leaderboard {
        text-align: center;
    }
}
