/* 数字滚动效果样式 */

.number-scroll-wrapper {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    gap: 0;
    line-height: 1;
}

.number-scroll-column {
    display: inline-block;
    overflow: hidden;
    height: 1em;
    line-height: 1;
    vertical-align: baseline;
    position: relative;
    min-width: 0.6em;
    text-align: center;
}

.number-scroll-inner {
    transition: transform 0.1s ease-out;
    will-change: transform;
    display: block;
}

.number-scroll-item {
    height: 1em;
    line-height: 1;
    text-align: center;
    display: block;
    width: 100%;
}

.number-scroll-comma,
.number-scroll-dot,
.number-scroll-decimal {
    display: inline-block;
    line-height: 1;
    vertical-align: baseline;
}

.number-scroll-comma {
    margin: 0 2px;
}

.number-scroll-dot {
    margin: 0 1px;
}

.number-scroll-decimal {
    margin-left: 1px;
}

/* 统计数据卡片样式（可选） */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    font-family: 'Arial', sans-serif;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* 不同颜色主题 */
.stat-item.theme-blue .stat-number {
    color: #4a90e2;
}

.stat-item.theme-green .stat-number {
    color: #52c41a;
}

.stat-item.theme-orange .stat-number {
    color: #fa8c16;
}

.stat-item.theme-purple .stat-number {
    color: #722ed1;
}

/* 带图标的统计 */
.stat-item .stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

/* 响应式 */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}
