/* ==========================================================================
   Homepage Statistics Component Stylesheet: sw_asset/css/homestat-style.css
   ========================================================================== */

.sw-stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 15px auto;
    width: 100%;
    max-width: 960px;
    padding: 0 16px;
    flex-wrap: wrap;
}

.sw-stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 6px 16px;
    box-shadow: 0 4px 15px rgba(31, 38, 135, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sw-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.1);
    background: rgba(255, 255, 255, 0.85);
}

.sw-stat-icon {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.items-card .sw-stat-icon { color: #6c5ce7; }
.contribs-card .sw-stat-icon { color: #00b894; }
.subjects-card .sw-stat-icon { color: #fd9644; }

.sw-stat-card:hover .sw-stat-icon {
    transform: scale(1.15);
}

.sw-stat-number {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    font-family: var(--font-family);
}

.sw-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #7f8c8d;
    font-family: var(--font-family);
    text-transform: capitalize;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sw-stats-container {
        gap: 10px;
        margin: 10px auto;
    }
}
