/* ===== LIVE STATISTICS ===== */
.live-stats-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 28px;
    color: var(--primary-gradient-start, #667eea);
    min-width: 32px;
    text-align: center;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Online pulse animation */
.online-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        color: #10b981;
    }
    50% {
        opacity: 0.6;
        color: #34d399;
    }
}

/* Dark theme support */
body.dark .live-stats-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark .stat-item {
    background: rgba(255, 255, 255, 0.05);
}

body.dark .stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Light theme */
body.light .live-stats-container {
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-color: rgba(103, 126, 234, 0.2);
}

body.light .stat-item {
    background: rgba(255, 255, 255, 0.6);
}

body.light .stat-item:hover {
    background: rgba(255, 255, 255, 0.9);
}

body.light .stat-value {
    color: #2d3748;
}

body.light .stat-label {
    color: #718096;
}

body.light .stat-icon {
    color: var(--primary-gradient-start, #667eea);
}

/* Responsive design */
@media (max-width: 768px) {
    .live-stats-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-item {
        width: 100%;
        justify-content: center;
    }
    
    .stat-icon {
        font-size: 24px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .stat-icon {
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 18px;
    }
}
