/* 轮播图文字动画样式 */
.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-text.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) translateX(0) !important;
    transition-property: opacity, transform;
}

.main-title {
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

.sub-title {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    padding: 12px 24px;
    border-radius: 40px;
    display: inline-block;
    margin-bottom: 30px;
}

.keywords {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.keyword {
    background: linear-gradient(135deg, #4a90e2 0%, #2457a3 100%);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }
    
    .sub-title {
        font-size: 18px;
        padding: 8px 16px;
    }
    
    .keyword {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 12px;
    }
}