/* 进行中项目卡片样式 */
.year-card.ongoing {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 3px solid #38bdf8;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
    animation: pulse 2s infinite;
}

.year-card.ongoing::before {
    content: '进行中';
    position: absolute;
    top: 15px;
    right: -35px;
    background: #3b82f6;
    color: white;
    padding: 6px 45px;
    transform: rotate(45deg);
    font-size: 0.9em;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.year-card.ongoing:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.3);
}

.year-card.ongoing h3 {
    color: #1e40af;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(30, 64, 175, 0.1);
}

.year-card.ongoing .btn {
    background: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.year-card.ongoing .btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* 已完成项目卡片样式 */
.year-card.completed {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 3px solid #86efac;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.15);
    transition: all 0.3s ease;
}

.year-card.completed:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}

.year-card.completed h3 {
    color: #15803d;
    font-weight: 600;
}

.year-card.completed .btn {
    background: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.year-card.completed .btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.4);
}

/* 卡片图标 */
.year-card .card-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.year-card.ongoing .card-icon {
    color: #3b82f6;
}

.year-card.completed .card-icon {
    color: #22c55e;
}

.year-card:hover .card-icon {
    transform: scale(1.1);
}

/* 卡片描述增强 */
.year-card .card-description {
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1.05em;
}

/* 项目状态标签 */
.year-card .status-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 0.9em;
    font-weight: 700;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.year-card.ongoing .status-tag {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.year-card.completed .status-tag {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* 动画效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 12px 28px rgba(59, 130, 246, 0.3);
    }
    100% {
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
    }
}

/* 卡片内部间距调整 */
.year-card {
    padding: 25px;
    width: 260px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .year-card {
        padding: 20px;
        width: 240px;
        min-height: 300px;
    }
    
    .year-card .card-icon {
        font-size: 2em;
    }
}

/* 卡片内容容器 */
.year-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 确保两个卡片高度一致 */
.year-cards {
    align-items: stretch;
}

/* 卡片图标调整 */
.year-card .card-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

/* 卡片描述调整 */
.year-card .card-description {
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95em;
}

/* 状态标签调整 */
.year-card .status-tag {
    padding: 5px 12px;
    margin-bottom: 12px;
    font-size: 0.8em;
}
