


.slide-img {
    position: fixed;
    z-index: 9;
    left: 50%;
    top: 93.5%;
    transform: translate(-50%, -50%);
}

.slide-img a {
    display: inline-block;
    width: 0.65rem;
    height: 0.79rem;
    background: url(../../../../images/pc/main/slide-img.png) no-repeat;
    background-size: cover;
    animation: qa 4s linear .6s infinite;
    -webkit-animation: qa 4s linear .6s infinite
}

@keyframes qa {
    0% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0)
    }

    50% {
        -webkit-transform: translate(0, 0.3rem);
        transform: translate(0, 0.3rem)
    }

    100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0)
    }
}

/* 导航 :end */
#fullpage {
    position: relative;
    z-index: 0;
}


.section {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.home {
    background: url(../../../../images/pc/main/home-bg.jpg) center no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
}

.home .container {
    width: 10rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 88.5%;
    transform: translate(-50%, -50%);
}

.home .container img {
    width: 0.72rem;
    height: 0.93rem;
    object-fit: cover;
    margin-left: 0.4rem;
}

.home .container a {
    display: inline-block;
    width: 3.08rem;
    height: 0.72rem;
    background: url(../../../../images/pc/main/home-btn.png) no-repeat;
    background-size: cover;
}

.home .container a:last-child {
    background-position-y: -0.72rem;
    margin-right: 1.7rem;
}

.news {
    background: url(../../../../images/pc/main/index-bg.jpg) center no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
}

.news .container {
    width: 14.26rem;
    height: 100%;
    margin: 0 auto;
    padding-top: 4%;
    transform: scale(0.9);
}



.news .container .content {
    width: 14.26rem;
    height: 5.18rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.news-right {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-right>a {
    display: inline-block;
    background: url(../../../../images/pc/main/news-banner1.png);
    background-size: cover;
    width: 3.58rem;
    height: 1.63rem;
    padding: .18rem 0 0 .18rem;
    color: #484848;
    font-size: .23rem;
    font-weight: 700;
}

.news-right>a:nth-child(2) {
    background: url(../../../../images/pc/main/news-banner2.png);
    background-size: cover;
}

.news-right>a:nth-child(3) {
    background: url(../../../../images/pc/main/news-banner3.png);
    background-size: cover;
}

.news-swiper {
    width: 10.51rem;
    height: 5.18rem;
    overflow: hidden;
    background-color: #063d67;
    position: relative;
}

.news-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-swiper img {
    width: 10.51rem;
    height: 5.18rem;
    object-fit: cover;
}

.news-swiper .swiper-pagination {
    position: absolute;
    bottom: 0.15rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.12rem;
}

.news-swiper .swiper-pagination-bullet {
    width: 0.17rem;
    height: 0.17rem;
    background: #8ccdf1;
    border-radius: 0.18rem;
    opacity: 1;
}

.news-swiper .swiper-pagination-bullet-active {
    width: 0.17rem;
    height: 0.17rem;
    background: none;
    border: 0.03rem solid #8ccdf1;
    border-radius: 0.15rem;
    background-size: cover;
}

.news-tab {
    width: 14.26rem;
    height: 3.32rem;
    background: url(../../../../images/pc/main/news-white-bg.png);
    position: relative;
}

.tab-buttons {
    display: flex;
    align-items: center;
    border-bottom: 0.02rem solid #3d79bf;
    width: 13.70rem;
    margin: 0.2rem auto 0;
}

.news-tab-more {
    color: #3d79bf;
    font-size: .24rem;
    font-weight: 700;
    position: absolute;
    right: .4rem;
    top: .2rem;
}

.tab-btn {
    padding: 0 0.3rem;
    line-height: 0.65rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.24rem;
    color: #204066;
    transition: all 0.3s ease;
    font-weight: bold;
    font-family: sans-serif;
    margin-right: .6rem;
}

.tab-btn.active {
    color: #3d79bf;
}




.tab-content {
    width: 13.70rem;
    margin: 0 auto;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane.active {
    display: block;
}

.news-title {
    background: #3d79bf;
    width: 100%;
    height: 0.74rem;
    margin: 0.34rem auto 0.25rem;
}

.news-title p {
    text-align: center;
    line-height: 0.74rem;
    color: #ffffff;
    font-size: 0.21rem;
    letter-spacing: 0.02rem;
    font-weight: bold;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 3.2rem;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
    padding-right: .2rem;
    padding-top: .15rem;
}


.news-list li {
    width: 6.28rem;
    height: .46rem;
}


.news-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #393939;
}

.news-list li a p {
    font-size: 0.18rem;

    line-height: 0.46rem;
}

.news-list li a p:first-child {
    width: 3.2rem;
    overflow: hidden;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list li a:hover {
    color: #074d9f;
}

/* 最新资讯end */







/* 角色展示页面样式 */
.role {
    background: url(../../../../images/pc/main/role-bg.jpg) center no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.role .container {
    width: 100%;
    height: 100%;
    position: relative;
    transform: scale(0.8);
}

/* 左侧大图展示区 */
.role-display {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.role-display .tan,
.role-display .mo {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.role-display .tan img,
.role-display .mo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
}

/* 默认隐藏所有背景图，通过JS控制显示 */
.role-display .tan img:not(:first-child),
.role-display .mo img {
    display: none;
}


/* 右侧头像列表区 */
.role-avatars {
    position: absolute;
    right: 0.8rem;
    top: 54%;
    z-index: 10;
}

.avatar-group {
    display: none;
    width: 10rem;
}

.role-avatars .avatar-group:nth-child(2) {
    width: 8.5rem !important;
}

.avatar-group.active {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 10rem;

}

.avatar-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 伪元素：active/hover时的装饰背景圈 */
.avatar-item::after {
    content: "";
    position: absolute;
    left: 53%;
    top: 65.5%;
    transform: translate(-50%, -50%);
    width: 2.12rem;
    height: 2.06rem;
    background: url(../../../../images/pc/main/avatar-active-bg.png) no-repeat center/contain;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.avatar-item:hover::after,
.avatar-item.active::after {
    opacity: 1;
}

.avatar-item img {
    width: 1.41rem;
    height: 1.41rem;
    object-fit: cover;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.avatar-item span {
    font-size: 0.25rem;
    color: #073f59;
    line-height: 0.65rem;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-weight: bold;
}


/* 种族切换按钮 */
.race-switcher {
    position: absolute;
    top: 78%;
    left: 73%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.3rem;
    z-index: 10;
}

.race-btn {
    display: inline-block;
    width: 3.08rem;
    height: 0.71rem;
    background: url(../../../../images/pc/main/tanpu-btn.png) no-repeat;
    background-size: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.race-btn:nth-child(2) {
    background-position-y: -0.71rem;
}

.race-btn:hover,
.race-btn.active {
    display: inline-block;
    width: 3.08rem;
    height: 0.71rem;
    background: url(../../../../images/pc/main/moling-btn.png) no-repeat;
    background-size: cover;
}

.race-btn:nth-child(2):hover,
.race-btn:nth-child(2).active {
    background-position-y: -0.71rem;
}



.data {
    background: url(../../../../images/pc/main/index-bg.jpg) center no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
}

.data .container {
    width: 14.65rem;
    height: 8.27rem;
    margin: 0 auto;
    margin-top: .4rem;
    display: flex;
    justify-content: space-between;
    transform: scale(0.9);
}

.data-block {
    display: flex;
    height: 8.27rem;
}

.data-left {
    width: 4.68rem;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
}

.data-left>a {
    display: inline-block;
    background: url(../../../../images/pc/main/data-bg1.png);
    background-size: cover;
    width: 2.31rem;
    height: 2.01rem;
    padding: .12rem 0 0 .12rem;
    color: #2a4e78;
    font-size: .23rem;
    font-weight: 700;
}

.data-left>a:nth-child(2) {
    background: url(../../../../images/pc/main/data-bg2.png);
    background-size: cover;
}

.data-left>a:nth-child(3) {
    background: url(../../../../images/pc/main/data-bg3.png);
    background-size: cover;
}

.data-left>a:nth-child(4) {
    background: url(../../../../images/pc/main/data-bg4.png);
    background-size: cover;
}

.data-left>a:nth-child(5) {
    background: url(../../../../images/pc/main/data-bg5.png);
    background-size: cover;
}

.data-left>a:nth-child(6) {
    background: url(../../../../images/pc/main/data-bg6.png);
    background-size: cover;
}

.data-left>a:nth-child(7) {
    background: url(../../../../images/pc/main/data-bg7.png);
    background-size: cover;
}

.data-left>a:nth-child(8) {
    background: url(../../../../images/pc/main/data-bg8.png);
    background-size: cover;
}

.data-center {
    background: url(../../../../images/pc/main/index-data-bg.png);
    background-size: cover;
    width: 6.06rem;
    height: 8.27rem;
    padding: .5rem .48rem 0 .55rem;
}

.data-title {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    color: #2a4e78;
    font-size: .36rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.data-title>a {
    display: inline-block;
    color: #3d79bf;
    font-size: .24rem;
    font-weight: 700;
}

.data-block2 {
    height: 2.2rem;
}

.data-block-p1 {
    border-bottom: 1px solid #676767;
    color: #676767;
    font-size: .2rem;
}

.data-block-top {
    display: flex;
    margin: .12rem 0;
}

.data-block-top>a {
    display: inline-block;
    width: .97rem;
    height: .26rem;
    line-height: .26rem;
    background: #3d79bf;
    text-align: center;
    border-radius: .05rem;
    color: #fff;
    font-size: .18rem;
    font-weight: 700;
    margin-right: .1rem;
}

.data-block-top>p {
    flex: 1;
    color: #4c4b4b;
    font-size: .2rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.data-block-p2 {
    color: #4c4b4b;
    font-size: .18rem;
    width: 100%;
    padding-right: .1rem;
    text-align: justify;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}



.data-right {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.data-right>img {
    width: 3.71rem;
    height: 2.54rem;
    text-decoration: none;
    cursor: pointer;
}
