.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    padding-bottom: 4rem;
}

.stat-card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.stat-card-link:hover {
    transform: translateY(-5px);
}

.stat-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid var(--primary);
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.activity-count {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin: 1.5rem 0;
    background: linear-gradient(to bottom, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.profile-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.profile-section h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem !important;
    }

    .activity-count {
        font-size: 3rem;
        margin: 1rem 0;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .glass-card {
        padding: 1.25rem !important;
    }

    .dashboard-grid aside {
        margin-bottom: 0rem;
    }

    .dashboard-grid main>.glass-card>div:first-child {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .dashboard-grid main>.glass-card>div:first-child .btn {
        width: 100%;
    }

    #stravaButtonsContainer {
        width: 100%;
        flex-direction: column;
    }

    #stravaToggleButton {
        width: 100%;
    }
}
