/* ========================================
   重新设计的荣誉墙统计卡片
   美观、精致、专业的设计
======================================== */

/* 荣誉统计区域容器 */
.honors-stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    margin-top: 40px;
}

.honors-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

/* 统计容器 - 全新设计 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 统计卡片 - 全新设计 */
.stat-item-honor {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item-honor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2E7BFF 0%, #1d4ed8 100%);
}

.stat-item-honor::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 123, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-item-honor:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-item-honor:hover::after {
    opacity: 1;
}

/* 统计图标 - 全新设计 */
.stat-item-honor .stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-item-honor .stat-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), transparent);
    border-radius: 50%;
    z-index: 1;
}

.stat-item-honor:hover .stat-icon {
    transform: scale(1.1);
}

/* 图标颜色方案 - 专业配色 */
.stat-item-honor:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-item-honor:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.stat-item-honor:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #ffd89b 0%, #f093fb 100%);
}

.stat-item-honor:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

/* 图标符号 */
.stat-item-honor .stat-icon i {
    font-size: 2rem;
    color: white;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* 统计内容区域 */
.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 统计数字 - 蓝色主题 */
.stat-item-honor .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2E7BFF;
    margin-bottom: 10px;
    line-height: 1;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #2E7BFF 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 统计标签 */
.stat-item-honor .stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    line-height: 1.2;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .stats-container {
        gap: 25px;
        padding: 0 15px;
    }
    
    .stat-item-honor {
        padding: 35px 25px;
        min-height: 180px;
    }
    
    .stat-item-honor .stat-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .stat-item-honor .stat-icon i {
        font-size: 1.8rem;
    }
    
    .stat-item-honor .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .honors-stats {
        padding: 40px 0;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }
    
    .stat-item-honor {
        padding: 30px 20px;
        min-height: 160px;
    }
    
    .stat-item-honor .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .stat-item-honor .stat-icon i {
        font-size: 1.5rem;
    }
    
    .stat-item-honor .stat-number {
        font-size: 2rem;
    }
    
    .stat-item-honor .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item-honor {
        padding: 25px 15px;
        min-height: 140px;
    }
    
    .stat-item-honor .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .stat-item-honor .stat-icon i {
        font-size: 1.2rem;
    }
    
    .stat-item-honor .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-item-honor .stat-label {
        font-size: 0.9rem;
    }
}

/* 动画效果 */
.stat-item-honor[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.stat-item-honor[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 降级处理 */
.fallback-display .stat-item-honor,
body:not(.js-initialized) .stat-item-honor {
    opacity: 1 !important;
    transform: none !important;
}
