html, body {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    height: 3316px;
    min-width: 1400px;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    background-image: url("../imgs/index-bg.jpg?v=9");
    background-size: 1920px 3316px;

}


.top {
    width: 100%;
    height: 112px;
    min-width: 1400px;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    position: fixed;
    background-image: url("../imgs/top-bg.png");
    background-size: 1920px 112px;
    z-index: 999;
}

.top-list {
    width: 42%;
    height: 78px;
    margin-left: 58%;
    display: flex;
}

.top-img {
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.side {
    width: 108px;
    height: 440px;
    position: fixed;
    right: 0;
    top: 55%;
    background-image: url("../imgs/side-bg.png");
    background-size: 108px 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;

    transform: translateY(-50%) translateX(0);
    opacity: 1;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;

}

.side a {
    flex: 1;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    aspect-ratio: 1/1;
}

.side.hide {
    transform: translateY(-50%) translateX(140px);
    opacity: 0;
    pointer-events: none;
}

.side-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;

}

.side-toggle.show {
    opacity: 1;
    visibility: visible;
}


.side-img {
    width: 80%;
    height: 70%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.side a:hover .side-img {
    transform: scale(1.1); /* 鼠标悬停时放大效果 */
}
.play-btn{
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    width: 50%;
}
.button-box {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    width: 50%;
}
.play-img{
    animation: breathing 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}
.play-img:hover {
    animation: breathing 1.5s ease-in-out infinite;
}
.button-box-start-img {
    width: 100%;
    height: auto;
    cursor: pointer;
    animation: breathing 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.button-box-start-img:hover {
    animation: breathing 1.5s ease-in-out infinite;
}

@keyframes breathing {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.swiper {

    width: 64%;
    height: 800px;
    margin-top: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.swiper-slide {

    width: 40px;
    height: 400px;
    top: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.1);
    transition: all 0.3s ease;
    opacity: 0;
}

.swiper-slide-active {
    transform: scale(0.9);
    opacity: 1;
    z-index: 5;
}

.swiper-slide-prev, .swiper-slide-next {
    transform: scale(0.75);
    opacity: 1;
    z-index: 2;
}

/* 左右两边增加黑色半透明幕布 */
.swiper-slide-prev::after,
.swiper-slide-next::after {
    content: "";
    position: absolute;
    top: -40%;
    left: 16.5%;
    width: 410px;
    height: 727px;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑幕 */
    pointer-events: none;
    border-radius: 40px;
}

/* 左右箭头 */
.swiper-prev, .swiper-next {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}

.swiper-prev {
    left: 260px;

}

.swiper-next {
    right: 260px;
}

.swiper-pagination {
    position: absolute;
    height: 20px;
    top: 1950px;
}

.swiper-pagination-bullet {

    width: auto;
    height: auto;
    opacity: 1;
}

/* 默认态 */
.swiper-pagination-bullet .dot-active {
    display: none;
}

/* 选中态 */
.swiper-pagination-bullet-active .dot-normal {
    display: none;
}

.swiper-pagination-bullet-active .dot-active {
    display: inline-block;
}

:root {
    --swiper-theme-color: transparent; /* 把默认主题色改成透明 */
}

.news {
    width: 47%;
    height: 550px;
    margin-top: 250px;
    margin-left: 620px;
    overflow: hidden;
}

.news-list {
    gap: 1%;
    display: flex;
    flex-direction: column;
    width: 99%;
    height: 100%;
    overflow-x: auto;
}

.news-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 19%;
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.news-item-li {
    gap: 30px;
    display: flex;
    align-items: center;
}

.news-title {
    font-size: 26px;
    color: #6A5AE1;
    font-weight: bold;
}

.news-line {
    width: 90%;
    height: 2px;
    background-color: #6A5AE1;
    margin-top: 10px;
}

/* 滚动条整体 */
.news-list::-webkit-scrollbar {
    width: 12px; /* 滑轴宽度 */
}

/* 滚动条轨道 */
.news-list::-webkit-scrollbar-track {
    background: url("../imgs/roller.png") no-repeat center;
    background-size: 100% 100%;
}

/* 滚动条滑块 */
.news-list::-webkit-scrollbar-thumb {
    background: url("../imgs/roller-inside.png") no-repeat center;
    background-size: 100% 100%;
    border-radius: 6px;
}

/* 滑块 hover 效果 */
.news-list::-webkit-scrollbar-thumb:hover {
    background-image: url("../imgs/roller-inside.png");
}

.footer {
    gap: 20px;
    width: 54%;
    height: 250px;
    margin-top: 190px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-top, .footer-buttom {
    gap: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
}

.footer-buttom {
    gap: 80px;
    margin-left: -60px;
    height: 50px;

}
