/**
 * Stats Bar - Compact visitor counters below footer
 * Small, inline format: "Label: Number"
 */

.stats-bar {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(30, 30, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    position: relative;
    z-index: 5;
    font-size: 13px;
    line-height: 1;
}

body[data-theme*="light"] .stats-bar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 244, 246, 0.95) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

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

body[data-theme*="light"] .stat-label {
    color: rgba(0, 0, 0, 0.6);
}

.stat-value {
    font-size: 13px;
    font-weight: 600;
    color: #ff6b35;
    font-variant-numeric: tabular-nums;
    margin-left: 4px;
}

body[data-theme*="light"] .stat-value {
    color: #dc2626;
}

body[data-theme*="light"] .stat-label {
    color: rgba(0, 0, 0, 0.6);
}

/* Loading state */
.stat-value.loading {
    opacity: 0.5;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Loading state */
.stat-value.loading {
    opacity: 0.5;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .stats-bar {
        gap: 24px;
        padding: 12px 24px;
        font-size: 12px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .stat-value {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .stats-bar {
        gap: 20px;
        padding: 10px 16px;
        font-size: 11px;
    }
    
    .stat-label {
        font-size: 11px;
        letter-spacing: 0.3px;
    }
    
    .stat-value {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        gap: 16px;
        padding: 10px 12px;
        font-size: 10px;
    }
    
    .stat-label {
        font-size: 10px;
        letter-spacing: 0.2px;
    }
    
    .stat-value {
        font-size: 10px;
    }
}
