.swiper-content {
    width: 100%;
    max-width: 1000px;
    height: 750px;
    perspective: 1500px;
    margin: 0 auto 40px;
    position: relative;
    overflow: hidden;
}

.swiper-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(0.17, 0.67, 0.1, 0.97);
}

.swiper-carousel-item {
    position: absolute;
    width: 45%;
    height: 600px;
    left: 50%;
    top: 50%;
    margin-left: -25%;
    margin-top: -240px;
    border-radius: 25px;
    overflow: hidden;
    /* box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); */
    transition: all 0.7s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    transform-origin: center;
    transform-style: preserve-3d;
    border: 4px solid rgba(255, 255, 255, 0.12);
    z-index: 1;
    will-change: transform;
}
.item-contain {
    transition: all 1s ease;
    transform-style: preserve-3d;
}
.item-front {
    position: absolute;
    z-index: 2;
    backface-visibility: hidden;
}
.item-back {
    position: absolute;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    font-size: 16px;
    overflow: hidden auto;
    background: #93D68B;
    padding: 0 20px;
    color: #fff;
   
}
.active-swiper .item-back, .active-swiper .item-front {
    overflow: hidden;
    border-radius: 25px;
}
.back-name {
    font-size: 24px;
    padding-top: 10%;
}
.back-desc {
    font-size: 16px;
}
.active-swiper:hover .item-contain { 
    transform: rotateY(180deg); 
}
.swiper-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 增加间距的关键设置 */
/* .swiper-carousel-item::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
} */

/* .swiper-carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 40%, transparent 70%);
    z-index: 1;
} */

.swiper-carousel-item-content {
    padding: 35px 30px;
    position: relative;
    z-index: 2;
    transform: translateY(25px);
    transition: transform 0.6s ease;
}

.controls {
    display: flex;
    align-items: center;
}
.controls img {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .swiper-content {
        height: 500px;
    }
    
    .swiper-carousel-item {
        width: 300px;
        height: 420px;
        margin-left: -150px;
        margin-top: -210px;
    }
    
}

@media (max-width: 768px) {
    .swiper-content {
        height: 300px;
        perspective: 1300px;
        margin: 0;
        margin-top: -30px;
    }
    
    .swiper-carousel-item {
        width: 150px;
        height: 200px;
        margin-left: -74px;
        margin-top: -80px;
    }
    

    .features {
        grid-template-columns: 1fr;
    }
}