.carousel-container {
    margin:150px 30px 30px;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.carousel {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    height: 570px;
}

.slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    color: white;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide p {
    font-size: 1.3rem;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 75, 43, 0.4);
    border: none;
    cursor: pointer;
    max-width:200px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 75, 43, 0.6);
}

.controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.autoplay-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 3;
    display: none;
    gap: 15px;
}

.autoplay-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.autoplay-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slide-number {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 3;
    color: white;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .slide h2 {
        font-size: 3rem;
    }
    
    .slide p {
        font-size: 1.1rem;
    }
    
    .carousel {
        height: 450px;
    }
}

@media (max-width: 768px) {
	.carousel-container{margin:100px 15px 30px;}
    .slide-content {
        padding: 30px;
    }
    
    .slide h2 {
        font-size: 2.5rem;
    }
    
    .carousel {
        height: 400px;
    }
    
    .prev, .next {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 2.2rem;
    }
    
    .slide h2 {
        font-size: 2rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .carousel {
        height: 350px;
    }
    
    .prev, .next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .autoplay-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .autoplay-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}