/* 自定义字体 */
@font-face {
    font-weight: normal;
    font-style: normal;
    font-family: "Arabica";
    src: url("./font/Arabica.ttf") format("truetype");
}

@font-face {
    font-weight: normal;
    font-style: italic;
    font-family: "Arabica";
    src: url("./font/Arabica-Italic.ttf") format("truetype");
}

html {
    font-size: 50px;
    font-size: 13.33333333vw;

    scroll-behavior: smooth;
}

@media only screen and (min-width: 751px) {
    html {
        font-size: 65px;
    }
}

.page {
    position: relative;
    overflow: hidden;
    width: 19.200rem;
    height: 100vh;
}

.outer1 {
    width: 19.200rem;
    height: 100%;
    background: url(./img/bg1.png) no-repeat;
    background-position: bottom;
    background-size: cover;
}
.bd1 {
    display: block;
    margin: 7.4rem auto 0;
    width: 3.98rem;
    height: 1.21rem;
    background: url(./img/btn.png) no-repeat;
    background-size: contain;
}
.logo {
    position: absolute;
    left: 0.1rem;
    width: 6.19rem;
    height: 1.17rem;
    background: url(./img/logo.png) no-repeat;
    background-position: bottom;
    background-size: cover;
}

/* 版權*/

.footer-pc {
    position: relative;
    z-index: 99;
    float: left;
    overflow: hidden;
    padding-bottom: 20px;
    width: 100%;
    background: #383838;
    color: #fff;
}

.foot {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 1500px;
    font-size: 14px;
}

.foot-logo {
    display: inline;
    float: left;
    margin-top: 35px;
    margin-left: 6px;
    padding-right: 25px;
    width: 275px;
    height: 72px;
    border-right: 1px solid #545454;
}

.foot-info {
    display: inline;
    float: left;
    margin-top: 25px;
    margin-left: 30px;
    padding-bottom: 5px;
    /* width: 400px; */
    width: 493px;
    text-align: center;
}

.foot-nav a {
    padding-right: 10px;
    padding-left: 10px;
    color: #fff;
}

.foot-nav a:hover {
    color: #f7b232;
}

.foot-info p {
    clear: both;
    color: #a9a9a9;
    font-size: 12px;
}

.foot-service {
    display: inline;
    float: left;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 38px;
    width: 390px;
    border: 2px solid #707070;
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 30px;
}

.foot-service img {
    margin-top: -2px;
    margin-right: 5px;
    vertical-align: middle;
}

.lower {
    position: relative;
    display: inline;
    float: left;
    margin-top: 35px;
    margin-left: 20px;
    padding-left: 20px;
    width: 630px;
    height: 72px;
    border-left: 1px solid #545454;
    color: #fff;
    font-size: 12px;
}

.rig-cr p {
    line-height: 20px;
}

.rig-class {
    float: left;
}

.rig-class img {
    margin-right: 5px;
}

.class {
    width: 62px;
}

.footer-mb {
    display: none;
}

.footer-mb {
    float: left;
    overflow: hidden;
    padding: 20px 0 20px 0;
    width: 100%;
    background: #383838;
    color: #676768;
    text-align: center;
}

.footer-mb p {
    font-size: 12px;
}

.foot-service-mb {
    overflow: hidden;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 390px;
    border: 2px solid #707070;
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 30px;
}

.foot-service-mb img {
    margin-top: -2px;
    margin-right: 5px;
    width: 20px;
    vertical-align: middle;
}

.foot-service-mb .img {
    display: block;
    width: 100%;
}

.footer-mb .mover-logo {
    float: none;
    padding-right: 20px;
    height: 50px;
    border-right: 1px solid #545454;
}

.footer-mb .class {
    padding-left: 20px;
    width: 50px;
}

.foot-service-rule {
    overflow: hidden;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 400px;
    color: #fff;
    text-align: left;
    font-size: 14px;
}

@media (max-width:1400px) {
    .footer-pc {
        display: none;
    }
    .footer-mb {
        display: block;
    }
}





.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-align: center;
    font-size: 18px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
}

body {
    overflow-x: hidden;
    background: #000;
    color: #000;
}

.swiper {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    height: 300px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.mySwiper2 {
    width: 100%;
    height: 80%;
}

.mySwiper {
    box-sizing: border-box;
    padding: 10px 0;
    height: 20%;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.role-part {
    position: relative;
    width: 19.2rem;
    height: 9.78rem;
    background-image: url("./img/bg2.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.banner-box {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* role-change 角色切换容器（左侧弧形布局） */
.role-change {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 10;
    overflow: visible;
    width: 4.15rem;
    height: 100%;
    background: url(./img/names-bg.png) no-repeat center;
    background-size: contain;
    transform: translateY(-50%);
}

.role-change .swiper-container {
    overflow: hidden;
    margin-top: 5%;
    height: 91%;
}

.role-change .swiper-wrapper {
    /* display: flex;
    flex-direction: column;
    padding-top: 0.35rem; */
}

/* 默认状态的角色名称 */
.role-change .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* width: 2.35rem !important;
    height: 1.35rem !important; */
    background: transparent;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

/* 弧形布局偏移 - 使用位置类实现弧形效果（支持 loop 模式） */
/* 位置1：顶部，靠左 */
.role-change .swiper-slide.arc-pos-1 {
    transform: translate(0.5rem,0.2rem);
}
/* 位置2：上中，稍微靠右 */
.role-change .swiper-slide.arc-pos-2 {
    transform: translate(1.7rem,-0.15rem);
}
/* 位置3：中间（高亮位置），最靠右，到达圆心 */
.role-change .swiper-slide.arc-pos-3 {
    transform: translate(1.9rem,-0.21rem);
}
/* 位置4：下中，稍微靠右 */
.role-change .swiper-slide.arc-pos-4 {
    transform: translate(1.7rem,-0.15rem);
}
/* 位置5：底部，靠左 */
.role-change .swiper-slide.arc-pos-5 {
    transform: translate(0.3rem,-0.4rem);
}

.role-change .swiper-slide .role {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: url(./img/name-bg.png) no-repeat;
    background-size: contain;
    color: #325597;
    text-align: center;
    font-size: 0.3rem;
    font-family: "Arabica", fangsong, sans-serif;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 激活状态的角色名称 - 高亮样式（位置由arc-pos-3控制） */
.role-change .swiper-slide-active {
    z-index: 10;
}

.role-change .swiper-slide-active .role {
    width: 1.6rem;
    height: 1.6rem;
    background: url(./img/name-active-bg.png) no-repeat center;
    background-size: contain;
    box-shadow: 0 0 25px rgba(100, 180, 220, 0.7), 0 0 50px rgba(100, 180, 220, 0.4);
    color: #4065a3;
    font-weight: bold;
    font-size: 0.4rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 25px rgba(100, 180, 220, 0.7), 0 0 50px rgba(100, 180, 220, 0.4);
    }
    50% {
        box-shadow: 0 0 35px rgba(100, 180, 220, 0.9), 0 0 70px rgba(100, 180, 220, 0.6);
    }
}

/* 激活状态的箭头指示线 */
/* .role-change .swiper-slide-active .role::after {
    position: absolute;
    top: 50%;
    right: -0.45rem;
    width: 0.35rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(100, 170, 210, 0.8), rgba(100, 170, 210, 0.3));
    content: "";
    transform: translateY(-50%);
} */

/* 激活状态的箭头头部 */
/* .role-change .swiper-slide-active .role::before {
    position: absolute;
    top: 50%;
    right: -0.55rem;
    border-width: 6px 0 6px 10px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(100, 170, 210, 0.7);
    content: "";
    transform: translateY(-50%);
} */

/* role-info-content 主图容器 - 右侧角色立绘 */
.role-info-content {
    position: absolute;
    top: 50%;
    left: 4.9rem;
    width: 14.5rem;
    height: 9rem;
    transform: translateY(-50%);
}

.role-info-content .swiper-container {
    width: 100%;
    height: 100%;
}

.role-info-content .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
}

/* role-image 角色图片容器 */
.role-image {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.role-image.dao {
    margin-right: 0.3rem;
}
.role-image.qiang {
    margin-right: 0rem;
}
.role-image.gong {
    margin-right: 0.3rem;
}
.role-image.yishi {
    margin-right: 0.35rem;
}
.role-image.jian {
    margin-right: 0.4rem;
}

.role-image img {
    max-width: 100%;
    max-height: 100%;
    /* transition: all 0.5s ease; */

    object-fit: contain;
}

/* 图片显示/隐藏状态 - 两张图片同时显示 */
.role-image .pic-1, .role-image .pic-2 {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    /* max-height: 8.5rem; */
}


/* 背面角色（男性）在后，靠左 */
.role-image .pic-2 {
    display: none;
}

.role-image .active {
    opacity: 1;
}

.role-image .disactive {
    opacity: 1;
}


/* Simple Footer */
.simple-footer {
    padding: 0.3rem 0.2rem;
    background-color: #000;
    text-align: center;
}

.simple-footer .footer-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

    gap: 0.15rem;
}

.simple-footer .footer-logo {
    height: 0.3rem;
}

.simple-footer p {
    margin: 0;
    color: #fff;
    font-size: 0.14rem;
}

.simple-footer .copyright-secondary {
    margin: 0.1rem 0 0 0;
}
