/* 全屏轮播 Banner */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1f 0%, #1a1a3a 50%, #0f0f2a 100%);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* 隐藏超出部分 */
    position: relative;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 图片覆盖容器，保持比例，多余部分裁剪 */
    object-position: center;
    /* 居中显示 */
    display: block;
    /* 去除图片默认间隙 */
}
.carousel-controls {
    position: absolute;
    bottom: 32px;
    left: 32px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ctrl-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s, opacity 0.2s;
    padding: 0;
    opacity: 0.7;
}

.ctrl-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.ctrl-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.slide-counter {
    min-width: 55px;
    text-align: center;
    font-size: 1.4rem;
    background: transparent;
    padding: 0;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6)
}

@media (max-width: 700px) {
    .carousel-controls {
        bottom: 20px;
        left: 20px;
        gap: 8px;
    }

    .ctrl-btn {
        width: 32px;
        height: 32px;
    }

    .ctrl-btn svg {
        width: 20px;
        height: 20px;
    }
}