/* 轮播控件样式 */
.nav-btns {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.prev-btn, .next-btn {
    cursor: pointer;
    color: white;
    font-size: 60px;
    font-weight: bold;
    padding: 10px 20px;
    user-select: none;
    transition: 0.3s;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0 5px 5px 0;
    position: relative;
    margin: 0 10px;
}

.next-btn {
    border-radius: 5px 0 0 5px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.img-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* 移动端优化 */
@media screen and (max-width: 768px) {
    .prev-btn, .next-btn {
        font-size: 40px;
        padding: 5px 15px;
        margin: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .prev-btn {
        left: 0;
    }
    
    .next-btn {
        right: 0;
    }
    
    .modal-content {
        width: 95%;
        transition: transform 0.3s ease;
    }
    
    /* 滑动反馈效果 */
    .modal-img {
        transition: transform 0.3s ease;
    }
    
    .swipe-left {
        transform: translateX(-20px);
    }
    
    .swipe-right {
        transform: translateX(20px);
    }
}