.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(246, 248, 250, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(225, 228, 232, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
    border-color: rgba(66, 133, 244, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.stat-card h4 {
    margin: 0 0 1rem 0;
    color: #24292e;
    font-size: 1.1rem;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.green {
    background-color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6), inset 0 1px 3px rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.3);
}

.status-indicator.yellow {
    background-color: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6), inset 0 1px 3px rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.3);
}

.status-indicator.red {
    background-color: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6), inset 0 1px 3px rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.3);
}

.status-indicator.gray {
    background-color: #6b7280;
    box-shadow: 0 0 12px rgba(107, 114, 128, 0.6), inset 0 1px 3px rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.3);
}

.status-text {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: #586069;
}

.last-updated {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: #959da5;
}

.loading, .stat-loading, .error {
    text-align: center;
    padding: 2rem;
    color: #586069;
}

.error {
    color: #dc3545;
}

/* Live badges */
.live-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    justify-content: center;
}

.live-badges img {
    transition: transform 0.2s;
}

.live-badges img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
