/* navbar start */
.gr-navbar {
    width: 50.875rem;
    height: 4.4375rem;
    background-image: url(../images/pc/navbar.png?v=20230831);
    background-repeat: no-repeat;
    background-size: 100%;
}

.gr-navBox .gr-gameIcon .gr-icon {
    width: 5.3125rem;
    height: 5.3125rem;
}

.gr-navBox .gr-gameIcon .gr-gameTitle {
    margin-left: .3125rem;
}

.gr-navBox .gr-navbar {
    display: flex;
    text-indent: 0;
    margin-left: 3.625rem;
}

.gr-navbar .gr-navItem {
    display: inline-block;
}

.gr-navbar .gr-navItem:nth-child(1) {
    margin-left: 3.75rem;
}

.gr-navbar .gr-navItem:nth-child(2) {
    margin-left: 4.0625rem;
}

.gr-navbar .gr-navItem:nth-child(3) {
    margin-left: 4rem;
}

.gr-navbar .gr-navItem:nth-child(4) {
    margin-left: 4rem;
}

.gr-navbar .gr-navItem:nth-child(5) {
    margin-left: 3.5rem;
}

.gr-navbar .gr-navItem:last-child {
    margin-right: 0;
}

/* navbar end */
/* banner start */
.gr-videoBanner {
    min-width: 85.6875rem;
    position: relative;
}

.gr-videoBanner .gr-navBox {
    position: absolute;
    top: .375rem;
}

/* banner end */
/* popup start */
.gr-popup {
    padding: .875rem 1.0625rem 0 1.0625rem;
    box-sizing: border-box;
    min-width: 19.1875rem;
    min-height: 25.75rem;
    background-image: url(../images/pc/popup-bg.png?v=20231215);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    transition: right .4s ease-in;
}

.gr-popup .gr-close {
    position: absolute;
    right: 1.0625rem;
    top: -1.875rem;
    cursor: pointer;
}

.gr-popup .gr-close img {
    width: 1.75rem;
}

.gr-popup .gr-qrcode img {
    width: 16.9375rem;
    height: 16.9375rem;
}

.gr-popup .gr-outerLinks {
    margin-top: .625rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.gr-popup .gr-outerLinks a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-decoration: none;
    color: #1f1f1f;
    font-size: .875rem;
}

.gr-popup .gr-outerLinks a span {
    margin-top: .5rem;
}

/* popup end */
/* container start */
.gr-downloadBtn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5px;
    row-gap: 10px;
}

.gr-downloadBtn a {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

}

.gr-downloadBtn a img {
    width: 12.8125rem;
}

.gr-container {
    min-width: 85.6875rem;
    position: absolute;
    top: calc(100vh - 13.75rem);
    width: 100%;
    background-image: url(../images/pc/background.png?v=20230825);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-bottom: 25rem;
}

.gr-container .gr-download {
    margin-top: 1.25rem;
    min-width: 44.5625rem;
    padding: 5px 60px;
    box-sizing: border-box;
    min-height: 11.5rem;
    background-image: url(../images/pc/downloadBg.png?v=20230825);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.gr-download .gr-downloadQR {
    width: 11.875rem;
    height: 8.5rem;
    margin-left: .625rem;
    background-image: url(../images/pc/qrCodeBorder.png?v=202031222);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gr-download .gr-downloadQR>div {
    padding: 4px;
    width: 7rem;
    height: 7rem;
    box-sizing: border-box;
    border: 1px solid #8D8D8D;
    transform: translateX(-1.325rem);
}

.gr-download .gr-downloadQR img {
    width: 100%;
    height: 100%;

}

.gr-item {
    margin-top: 3.4375rem;
}

.gr-item .gr-news {
    width: 85.0625rem;
    height: 29.625rem;
    margin-top: 3.4375rem;
    background-image: url(../images/pc/newsBox.png?v=20230825);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding-left: 6.125rem;
    padding-right: 6.6875rem;
    padding-bottom: 1.9375rem;
    padding-top: 1.75rem;
}

.gr-newsSwiperContainer {
    width: 44.4375rem;
    height: 25.9375rem;
    flex-shrink: 0;
    overflow: hidden;
}

.gr-newsSwiperContainer .swiper-wrapper {
    height: 24.0625rem;
}

.gr-newsSwiperItem {
    cursor: pointer;
    overflow: hidden;
}

.gr-newsSwiperItem img {
    height: 100%;
}

.gr-swiperPagination {
    margin-top: .3125rem;
    height: 1.4375rem;
    background-image: url(../images/pc/pagintion-line.png?v=20230825);
    background-repeat: no-repeat;
    background-position: center;
}

.gr-news .swiper-pagination-bullet,
.gr-featuresplay .swiper-pagination-bullet {
    display: inline-block;
    width: 1.0625rem;
    height: 1rem;
    background-color: transparent;
    border-radius: 0;
    background-image: url(../images/pc/pagintion.png?v=20230825);
    background-size: 100%;
    background-position: center;
    margin-right: 2.25rem !important;
}

.gr-news .swiper-pagination-bullet:last-child,
.gr-featuresplay .swiper-pagination-bullet:last-child {
    margin-right: 0 !important;
}

.gr-news .swiper-pagination-bullet-active,
.gr-featuresplay .swiper-pagination-bullet-active {
    background-image: url(../images/pc/pagintion-a.png?v=20230825);
}

.gr-newsList {
    width: 100%;
    margin-left: 1.75rem;
    margin-top: .9375rem;
}

.gr-newsList .gr-newsListNavItem {
    width: 6.625rem;
    height: 2.0625rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 2.0625rem;
    text-align: center;
    cursor: pointer;
}

.gr-newsList .gr-newsListNavItem.active {
    background-color: #e87275;
    color: #fff;
    position: relative;

}

.gr-newsListNavItem.active::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: .3125rem solid transparent;
    border-right-color: #e87275;
    left: -0.625rem;
    top: 50%;
    transform: translateY(-50%);
}

.gr-newsListNavItem.active::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: .3125rem solid transparent;
    border-left-color: #e87275;
    right: -0.625rem;
    top: 50%;
    transform: translateY(-50%);
}

.gr-newsListContent {
    margin-top: .9375rem;
}

.gr-newsListItem {
    white-space: nowrap;
    height: 3.75rem;
    color: #7C9CE4;
    border-bottom: .0625rem dashed #7C9CE4;
    cursor: pointer;
}

.gr-newsListItem:last-child {
    border: 0;
}

.gr-newsItemTitle {
    max-width: 17rem;
}

.gr-fuliItem {
    margin-top: 11rem;
}

.gr-gamefuli {
    margin-top: 2.8125rem;
}

.gr-showItem {
    max-width: 103.9375rem;
    margin-top: 9.375rem;
}

.gr-showItem .gr-content {
    transform: translateY(-3.4375rem);
}

.gr-showSwiperContainer {
    max-width: 103rem;
    position: relative;
    overflow: hidden;
}

/* 武将轮播图箭头动画 */
@keyframes showSwiperArrowLAni {
    0% {
        transform: translateY(-50%) translateX(.3125rem);
    }

    50% {
        transform: translateY(-50%) translateX(-0.3125rem);
    }

    100% {
        transform: translateY(-50%) translateX(.3125rem);
    }
}

@keyframes showSwiperArrowRAni {
    0% {
        transform: translateY(-50%) translateX(-0.3125rem);
    }

    50% {
        transform: translateY(-50%) translateX(.3125rem);
    }

    100% {
        transform: translateY(-50%) translateX(-0.3125rem);
    }
}

.gr-wrSwiperButtonPrev,
.gr-wrSwiperButtonNext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    cursor: pointer;
}

.gr-wrSwiperButtonPrev {
    left: .3125rem;
    animation: showSwiperArrowLAni 1s ease-in-out infinite;
}

.gr-wrSwiperButtonNext {
    right: .3125rem;
    animation: showSwiperArrowRAni 1s ease-in-out infinite;

}

.gr-wrSwiperButtonPrev:hover,
.gr-wrSwiperButtonNext:hover {
    animation-play-state: paused;
}

.gr-wjAttribute {
    position: absolute;
    right: 8.125rem;
    bottom: .75rem;
    z-index: 9;
}

.gr-attrBtn {
    margin-bottom: 1.25rem;
}

.gr-attrBtnItem {
    cursor: pointer;
}

.gr-showSwiperItem {
    text-align: center;
    transition: opacity 1s;
}

.gr-showSwiperItem.swiper-slide {
    opacity: 0 !important;
}

.gr-showSwiperItem.swiper-slide-active {
    opacity: 1 !important;
}

.gr-showSwiperPagination {
    background-image: url(../images/pc/show-pagintion-bg.png?v=20230825);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center 1.8125rem;
    width: 55.875rem !important;
    margin-left: 50%;
    transform: translateX(-50%);
}

.gr-show-swiper-pagination-item {
    cursor: pointer;
    margin-right: .3125rem;
}

.gr-show-swiper-pagination-item:last-child {
    margin-right: 0;
}

.gr-featuresplay {
    max-width: 88.5625rem;
    margin-top: 22.3125rem;
}

.gr-featuresplay .gr-content {
    width: 78.125rem;
    position: relative;
    overflow: hidden;
    margin-top: 3.5625rem;
}

.gr-featuresplaySwiperContainer {
    width: 50rem;
}

.gr-featuresplaySwipetContent img {
    width: 100%;
}

.gr-featuresplaySwipetContent .gr-imageContent {
    padding-top: 2.125rem;
    padding-left: 4.375rem;
    padding-right: 4.375rem;
    padding-bottom: 1.375rem;
    background-image: url(../images/pc/featuresPlayBox.png?v=20230825);
    background-size: 100% auto;
    background-repeat: no-repeat;
}

/* 特色玩法左右箭头动画 */
@keyframes featuresSwiperArrowLAni {
    0% {
        transform: translateY(-50%) translateX(.3125rem);
    }

    50% {
        transform: translateY(-50%) translateX(-0.3125rem);
    }

    100% {
        transform: translateY(-50%) translateX(.3125rem);
    }
}

@keyframes featuresSwiperArrowRAni {
    0% {
        transform: translateY(-50%) translateX(-0.3125rem);
    }

    50% {
        transform: translateY(-50%) translateX(.3125rem);
    }

    100% {
        transform: translateY(-50%) translateX(-0.3125rem);
    }
}

.gr-featuresSwiperButtonNext,
.gr-featuresSwiperButtonPrev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 9;
}

.gr-featuresSwiperButtonPrev {
    left: 3.75rem;
    animation: featuresSwiperArrowLAni 1.5s ease-in-out infinite;
}

.gr-featuresSwiperButtonNext {
    right: 3.75rem;
    animation: featuresSwiperArrowRAni 1.5s ease-in-out infinite;
}

.gr-featuresSwiperButtonNext:hover,
.gr-featuresSwiperButtonPrev:hover {
    animation-play-state: paused;
}

.gr-featuresPagintion {
    margin-top: .5rem;
}

.gr-featuresplaySwipetContent .swiper-slide .gr-imageContent .imgMask {
    position: relative;
}

.gr-featuresplaySwipetContent .swiper-slide .gr-imageContent .imgMask::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1;
}

.gr-featuresplaySwipetContent .swiper-slide-active .gr-imageContent .imgMask::before {
    background-color: rgba(0, 0, 0, 0);
}

/* container end */

/* 媒体查询 */
/* 针对武将展示兼容 */
@media screen and (max-width: 98.125rem) {
    .gr-showSwiperContainer {
        max-width: 91.9375rem;
    }

    .gr-swiperButtonNext {
        right: 3.125rem;
    }

    .gr-swiperButtonPrev {
        left: 3.125rem;
    }

    .gr-wjAttribute {
        right: 8.125rem;
    }
}

@media screen and (max-width: 91.9375rem) {
    .gr-showSwiperContainer {
        max-width: 82.5rem;
    }
}

@media screen and (max-width: 82.5rem) {
    .gr-showSwiperContainer {
        max-width: 85.6875rem;
    }

    .gr-swiperButtonNext {
        right: 5rem;
    }

    .gr-swiperButtonPrev {
        left: 5rem;
    }

    .gr-wjAttribute {
        right: 9.125rem;
    }
}