#slider {
    position: relative;
    overflow: hidden;
    max-width: 1000px; /* 稍大的宽度 */
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 
                0 0 0 1px rgba(255, 215, 0, 0.2); /* 金色边框效果 */
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d); /* 黑色渐变背景 */
}

.slider-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 更平滑的缓动 */
    width: 400%;
}

.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 5px; /* 为内发光留空间 */
}

.slider-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.1), /* 内发光 */
                0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.slider-item:hover img {
    transform: scale(1.01);
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.2),
                0 15px 40px rgba(0, 0, 0, 0.6);
}

/* 导航按钮 */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #FFD700; /* 金色 */
    border: none;
    padding: 15px 18px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 24px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(5px); /* 毛玻璃效果 */
}

.slider-button:hover {
    background: rgba(255, 215, 0, 0.2);
    color: white;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 25px;
}

.next {
    right: 25px;
}

/* 指示器 */
.slide-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot.active {
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    transform: scale(1.2);
}

.indicator-dot:hover {
    background: rgba(255, 215, 0, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
    #slider {
        border-radius: 0;
        margin: 15px auto;
    }
    
    .slider-button {
        padding: 12px 15px;
        font-size: 20px;
    }
    
    .slide-indicator {
        bottom: 10px;
    }
}