/* 简洁的统计信息样式 */
.stats-info {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.5;
}

/* 滚动数字样式 */
.counter-number {
    display: inline-block;
    font-weight: 700;
    color: #10a37f;
    font-size: 1.2em;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(16, 163, 127, 0.2);
}

.counter-number.counter-animating {
    color: #059669;
    transform: scale(1.05);
}

.counter-number.counter-completed {
    color: #10a37f;
    transform: scale(1);
}

/* 数字滚动动画效果 */
@keyframes countUp {
    0% {
        opacity: 0.7;
        transform: translateY(10px) scale(0.95);
    }
    50% {
        opacity: 1;
        transform: translateY(0) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.counter-number.counter-animating {
    animation: countUp 0.6s ease-out;
}

/* 数字高亮效果 */
.counter-number:hover {
    color: #059669;
    transform: scale(1.02);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .stats-info {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }
    
    .counter-number {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .stats-info {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }
    
    .counter-number {
        font-size: 1.05em;
    }
}

/* 加载状态 */
.counter-number.loading {
    opacity: 0.6;
    color: #9ca3af;
}

.counter-number.loading::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    border-top-color: #10a37f;
    animation: spin 1s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 错误状态 */
.counter-number.error {
    color: #ef4444;
}

/* 入场动画 */
.stats-info {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}