.bgConstant {
    background-color: #000;
    padding: 0;
    background-image: url("../images/indexbg.png");
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.centerbody {
    /* background-color: rgba(255, 255, 255, 0.1); */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* min-height: 800px !important; */
}

.nrs-logo {
    width: 119.18px;
    height: 115.69px;
    margin-bottom: 30px;
}

.crcy-logo {
    width: 625.13px;
    height: 116.89px;
    margin-bottom: 20px;
}

/* 卡片轮播图样式 */
.card-carousel-container {
    width: 100%;
    /* max-width: 800px; */
    margin: 0 auto;
    position: relative;
}

.card-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.card {
    width: 386px;
    height: 332px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient( 143deg, rgba(26,20,5,0.38) 20%, rgba(27,22,5,0.4) 60%, #E35953 100%); !important;
    border: 1px solid rgba(235,100,100,0.6);
    border-radius: 20px !important;
}

.img-box {
    /* width: 100%;
height: 100%; */
    border-radius: 20px !important;
    /* background-color: pink; */
    /* padding: 25px; */
}

.word {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 74px;
    font-weight: 400;
    font-size: 20px;
    color: #FFFFFF;
    background: linear-gradient(180deg, rgba(35, 39, 47, 0) 0%, rgba(35, 39, 47, 0.37) 38%, rgba(35, 39, 47, 0.68) 66%, #23272F 100%);
    opacity: 0.7;
    border-radius: 20px;
    text-align: center;
    line-height: 74px;
}

.shadow {
    position: absolute;
    bottom: -21px;
    left: 0;
    right: 0;
    height: 21px;
    /* width: 365px; */
}

.card:nth-child(1) {
    transform: translateX(-406px) scale(0.8);
    z-index: 1;
}

.card:nth-child(2) {
    transform: translateX(0) scale(1);
    z-index: 3;
    width: 386px;
    height: 392px;
    border-radius: 20px !important;
    border: 2px solid #FF5050;
    background: none;
}

.card:nth-child(3) {
    transform: translateX(406px) scale(0.8);
    z-index: 1;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* 为卡片添加鼠标悬停效果 */
.card {
    cursor: pointer;
    transition: all 0.5s ease, transform 0.5s ease;
}

/* 左侧卡片悬停效果 */
.card-left:hover {
    transform: translateX(-386px) scale(0.85) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
}

/* 右侧卡片悬停效果 */
.card-right:hover {
    transform: translateX(386px) scale(0.85) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
}

/* 中间卡片悬停效果 */
.card-center:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
}

/* 卡片图片样式 */
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 使图片铺满父级元素 */
    border-radius: inherit;
    display: block;
    box-sizing: border-box;
    transition: padding 0.5s ease;
}

/* 左右两侧卡片的图片添加内边距 */
.card-left .img-box,
.card-right .img-box {
    padding: 25px;
}

.card-left .card-image,
.card-right .card-image {
    border-radius: 0px;
}

.card-left .word,
.card-right .word {
    left: 25px;
    right: 25px;
    bottom: 25px;
    border-radius: 0px;
}

.card-left .shadow,
.card-right .shadow {
    left: 25px;
    width: 336px;
    border-radius: 0px;
    height: 16px;
    bottom: 8px;
}

/* 中间卡片的图片无内边距 */
.card-center .img-box {
    padding: 0;
    width: 100%;
    height: 100%;
}

/* 中间卡片的图片样式 */
.card-center .img-box {
    padding: 0;
    /* 移除内边距，使图片完全铺满 */
}

.enter-home-box {
    width: 200px;
    height: 60px;
    position: relative;
}

.enter-home {
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 90deg, #FFA949 0%, #F93631 100%);
    border-radius: 30px 30px 30px 30px;
    font-weight: 400;
    font-size: 20px;
    color: #FFFFFF;
    cursor: pointer;
    position: absolute;
    top: 0px;
    margin-top: 30px;
}

.enter-home:hover {
    position: absolute;
    top: -5px;
}

.jt-logo {
    width: 18px;
    height: 18px;
    margin-left: 5px;
}


@media (max-width:1800px) {
    .bgConstant {
        padding: 0;
        /* padding-top: calc(60px * 0.8);
        padding-bottom: calc(60px * 0.8); */
    }

    .centerbody {
        transform: scale(0.8);
    }

    .nrs-logo {
        width: calc(119.18px * 0.8);
        height: calc(115.69px * 0.8);
        margin-bottom: calc(30px * 0.8);
        /* transform: scale(0.8);
        margin-bottom: 0; */
    }

    .crcy-logo {
        width: calc(625.13px * 0.8);
        height: calc(116.89px * 0.8);
        margin-bottom: calc(20px* 0.8);
        /* transform: scale(0.8); */
    }

    .card-carousel-container {
        /* height: calc(450px * 0.8); */
        /* transform: scale(0.8); */
        /* margin-top: -50px; */
    }


    .card-carousel {
        /* height: calc(450px * 0.8); */
        /* transform: scale(0.8); */
        margin-bottom: 10px;
    }

    /* .card {
        width: calc(386px * 0.8) !important;
        height: calc(332px * 0.8) !important;
    }

    .card:nth-child(1) {
        transform: translateX(-406px) scale(0.8);
        z-index: 1;
    }

    .card:nth-child(2) {
        width: calc(386px * 0.8) !important;
        height: calc(392px * 0.8) !important;
    }

    .card:nth-child(3) {
        transform: translateX(406px) scale(0.8);
        z-index: 1;
    } */

    .enter-home {
        /* background: pink !important; */
        /* margin-top: 10px; */
        margin-top: 0;
    }

}

@media (min-width:1620px) {
    /* .enter-home {
        background: yellow !important;
    } */

}

@media (min-width:1720px) {
    /* .enter-home {
        background: red !important;
    } */
}