.tcw-container {
    position: relative;
    padding: 40px 0 20px;
}

/* Swiper 卡片区域 */
.tcw-swiper {
    padding: 20px 0 40px;
    overflow: visible !important;
}

.tcw-swiper .swiper-wrapper {
    align-items: flex-end;
}

.tcw-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
}

/* 卡片样式 */
.tcw-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 25px 30px;
    text-align: center;
    width: 100%;
    max-width: 280px;
    opacity: 0.9;
    transform: scale(0.85);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper-slide-active .tcw-card {
    background: #2cb5c9;
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(44, 181, 201, 0.3);
}

.tcw-card-year {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.swiper-slide-active .tcw-card-year {
    color: #fff;
}

.tcw-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.swiper-slide-active .tcw-card-desc {
    color: #fff;
}

/* 时间轴区域 */
.tcw-timeline {
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin-top: 30px;
}

.tcw-timeline-track {
    flex: 1;
    position: relative;
}

/* 连接线 - 与圆点中心对齐 */
.tcw-timeline-line {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

/* 虚线效果 */
.tcw-timeline-line.dashed {
    background: transparent;
    border-top: 2px dashed rgba(255, 255, 255, 0.5);
    height: 0;
}

.tcw-dots {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.tcw-dot-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s ease;
}

.tcw-dot-group:hover .tcw-dot {
    transform: scale(1.2);
}

/* 圆点样式 */
.tcw-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.tcw-dot.active {
    background: #2cb5c9;
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(44, 181, 201, 0.5);
}

/* 时间轴年份 */
.tcw-year {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tcw-year.active {
    color: #2cb5c9;
    font-size: 24px;
    font-weight: 700;
}

/* 箭头按钮 */
.tcw-arrow {
    background: transparent;
    border-style: solid;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tcw-prev {
    margin-right: 20px;
}

.tcw-next {
    margin-left: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
    .tcw-card {
        padding: 20px;
        max-width: 220px;
    }
    
    .tcw-card-year {
        font-size: 28px;
    }
    
    .tcw-card-desc {
        font-size: 12px;
    }
    
    .tcw-year {
        font-size: 16px;
    }
    
    .tcw-year.active {
        font-size: 18px;
    }
    
    .tcw-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tcw-card {
        padding: 15px;
        max-width: 180px;
    }
    
    .tcw-card-year {
        font-size: 22px;
    }
    
    .tcw-year {
        font-size: 14px;
    }
    
    .tcw-year.active {
        font-size: 16px;
    }
}
