@charset "utf-8";

body {
    position: relative;
    font-family: "Noto Sans HK", 'Microsoft YaHei', sans-serif;
}
body::after {
    content: '';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: .5rem;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/logo-f.webp) no-repeat center;
    background-size: contain;
}

.banner {
    position: relative;
    height: 100vh;
    min-height: 10.8rem;
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/banner-bg-pc.webp);
    background-position: center;
}
.banner::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/slogan-pc.webp) no-repeat center bottom;
    background-size: contain;
}

.sidebar {
    right: .6rem;
    padding: .1rem 0;
    width: 1.4rem;
    height: 2.72rem;
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/sidebar-bg.webp);
}
.sidebar nav {
    display: grid;
}
.sidebar nav a {
    position: relative;
    display: block;
    margin: 0 -.11rem;
    width: 1.64rem;
    height: .54rem;
    line-height: .56rem;
    font-family: "Noto Serif HK",  serif;
    font-weight: 700;
    font-size: clamp(14px, .18rem, 20px);
    color: #401205;
}
.sidebar nav a.act {
    height: .54rem;
    line-height: .56rem;
    color: #FFF08B;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/sidebar-nav-sle.webp) no-repeat center;
    background-size: contain;
}
.sidebar nav a:not(.act)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: .04rem;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #401205;
    transition: all 0.5s;
}
.sidebar nav a:not(.act):hover {
    color: #401205;
}
.sidebar nav a:not(.act):hover::after {
    width: .4rem;
}
.go-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .1rem;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s;
}
.go-top::after {
    content: "";
    display: block;
    margin: .04rem 0 0 .04rem;
    width: .14rem;
    height: .14rem;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/arrow-top.svg) no-repeat center;
    background-size: contain;
}
.go-top:hover {
    transform: translateY(-.02rem);
}

.box {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}
.box-1 {
    position: relative;
    z-index: 1;
    margin-top: -1.7rem;
    padding: 1.45rem 0 4.47rem;
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/bg1.webp);
    background-size: 100% 100%;
}
.box-2 {
    margin-top: -3.5rem;
    padding: 0 0 1.76rem;
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/bg2.webp);
}
.box-3 {
    position: relative;
    margin-top: -2.5rem;
    padding: 2.49rem 0 2.88rem;
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/bg3.webp);
}
.section {
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
}
.title {
    margin: 0 auto .36rem;
    width: 7.9rem;
    height: .8rem;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.color-yellow {
    color: #FFF08B !important;
    box-sizing: border-box;
}
.color-yellow a {
    text-decoration: underline;
    color: #FFF08B !important;
}
.section-5 p.color-yellow {
    color: #fff !important;
}

.section-1 {
    margin: 0 auto;
    padding: 2.9rem 1.1rem 0;
    width: 11rem;
    height: 11.6rem;
    text-align: center;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/con-bg1.webp) no-repeat center;
    background-size: contain;
}
.table-title, .table-con li {
    display: grid;
    grid-template-columns: 18% 25% 32% 25%;
    align-items: center;
    font-size: .26rem;
}
.table-title {
    margin-bottom: .34rem;
    font-family: "Noto Serif HK",  serif;
    font-weight: 500;
    color: #D7A36A;
}
.table-con {
    margin: 0 -.1rem;
    padding: 0 .1rem;
    max-height: 6.9rem;
    overflow: auto;
}
.table-con li {
    width: 100%;
    height: .93rem;
    line-height: .93rem;
    font-weight: 600;
    color: #694126;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/list-bg2.webp);
}
.table-con li:not(:last-child) {
    margin-bottom: .12rem;
}
.table-con li:nth-child(-n+5) {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/list-bg1.webp);
}
.table-con li:nth-child(-n+5) .rank-num {
    display: block;
    margin: 0 auto;
    width: .79rem;
    height: .79rem;
    font-size: 0;
    line-height: 0;
    text-indent: -1000px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.table-con li:nth-child(1) .rank-num {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/num-1.webp);
}
.table-con li:nth-child(2) .rank-num {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/num-2.webp);
}
.table-con li:nth-child(3) .rank-num {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/num-3.webp);
}
.table-con li:nth-child(4) .rank-num {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/num-4.webp);
}
.table-con li:nth-child(5) .rank-num {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/num-5.webp);
}
.not-started {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 6.9rem;
    font-size: .36rem;
    font-weight: 600;
    text-align: center;
    color: #694126;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/con-bg1-1.webp) no-repeat center;
    background-size: contain;
}
.not-started::after {
    content: "";
    display: block;
    margin-top: .28rem;
    width: 3.5rem;
    height: 2.68rem;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/retouch-pic1.webp) no-repeat center;
    background-size: contain;
}
.section-1 .tips {
    position: absolute;
    left: 0;
    bottom: .26rem;
    width: 100%;
    font-family: "Noto Serif HK",  serif;
    font-size: .18rem;
    font-weight: 500;
    color: #D7A36A;
}

.section-2 {
    padding-top: .96rem;
    text-align: center;
    font-size: .2rem;
}
.section-2 .title {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/title-1.webp);
}
.section-2 .tips {
    margin: 0 auto .16rem;
    width: 6.54rem;
    height: .46rem;
    line-height: .44rem;
    color: #FFF08B;
    font-size: clamp(14px, .18rem, 20px);
    font-family: "Noto Serif HK",  serif;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/tips-bg.webp) no-repeat center;
    background-size: contain;
}
.section-2 .illustrate {
    color: #fff;
}

.section-2 ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: .36rem;
    padding: 0 max(1rem, calc(50vw - 700px));
}
.section-2 ul::after {
    content: '';
    position: absolute;
    right: 2.94rem;
    bottom: -1.16rem;
    width: 3.86rem;
    height: 5.69rem;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/retouch-pic-2.webp) no-repeat center;
    background-size: contain;
}
.section-2 ul li {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    width: 4.57rem;
    height: 6.22rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.section-2 ul li:nth-child(1) {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/rr-1.webp);
}
.section-2 ul li:nth-child(2) {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/rr-2.webp);
}
.section-2 ul li:nth-child(3) {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/rr-3.webp);
}
.section-2 ul li:nth-child(4) {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/rr-4.webp);
}
.section-2 ul li:nth-child(5) {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/rr-5.webp);
}
.section-2 ul li p {
    padding: 0 .6rem 1.46rem;
    width: 100%;
    text-align: center;
    font-size: clamp(12px, .18rem, 20px);
    color: #fff;
    box-sizing: border-box;
}

.section-3 {
    padding-top: 1.17rem;
    text-align: center;
    color: #fff;
    font-size: .2rem;
}
.section-3::after {
    content: '';
    position: absolute;
    left: .06rem;
    top: -.2rem;
    width: 9.54rem;
    height: 7.54rem;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/retouch-pic-3.webp) no-repeat center;
    background-size: contain;
}
.section-3 .title {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/t2.webp);
}
.section-3 .tips {
    line-height: .36rem;
}
.section-3 ul {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin: .36rem 0 .16rem;
}
.section-3 ul li {
    position: relative;
    width: 5.22rem;
    height: 6rem;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/red-e-bg.webp) no-repeat center;
    background-size: contain;
}
.section-3 ul li p {
    position: absolute;
    left: 1.84rem;
    top: 2.92rem;
    color: #FFF08B;
    font-size: clamp(12px, .18rem, 20px);
}

.section-4 .title {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/title-3.webp);
}
.section-4 {
    padding-top: 1.66rem;
    color: #694126;
    text-align: center;
    font-size: .2rem;
    line-height: .36rem;
}
.section-4 strong {
    color: #FE4200;
}
.s4-con {
    margin: -.2rem auto 0;
    width: 100%;
    height: 6rem;
    max-width: 100%;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/con-bg4.webp) no-repeat center;
    background-size: contain;
}

.section-5 {
    padding-top: 1rem;
    text-align: center;
    font-size: .2rem;
    line-height: .36rem;
    color: #fff;
}
.section-5 .title {
    background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/title-4.webp);
}
.retouch-pic {
    margin: .62rem auto .52rem;
    width: 100%;
    height: 3rem;
    max-width: 100%;
    background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/con-bg5.webp) no-repeat center;
    background-size: contain;
}

.rules-con {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: .62rem auto 0;
    display: inline-block;
    width: auto;
    max-width: 90%;
    font-size: .2rem;
    line-height: .36rem;
    color: #fff;
}

@media (max-width: 750px) {
    body::after {
        bottom: 2.2rem;
    }

    .section-2 ul::after, .section-3::after, .go-top, .banner::after {
        display: none;
    }

    .sidebar {
        right: -1.4rem;
        width: auto;
        height: auto;
        transition: all .3s;
        background: none;
    }
    .sidebar.hidden {
        right: -1.4rem;
    }
    .sidebar.visible {
        right: .1rem;
    }
    .sidebar nav {
        opacity: 0;
        display: flex;
        flex-direction: column;
        padding: .32rem .32rem .32rem .5rem;
        height: 100%;
        background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/sidebar-bg.webp) no-repeat center;
        background-size: 100% 100%;
    }
    .sidebar.visible nav {
        opacity: 1;
    }
    .sidebar nav a {
        flex: 1;
        margin: 0;
        width: 100%;
        font-size: .24rem;
    }
    .sidebar nav a.act {
        color: #C7554B;
        background: none;
    }
    .sidebar nav a:not(.act)::after {
        display: none;
    }
    .sidebar-tab-btn {
        position: absolute;
        left: -.42rem;
        top: 50%;
        transform: translateY(-50%);
        width: .92rem;
        height: 1.8rem;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/sidebar-tab-u.webp);
    }
    .sidebar.visible .sidebar-tab-btn {
        background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/sidebar-tab-d.webp);
    }

    .banner {
        height: 9.27rem;
        min-height: auto;
        background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/banner-m.webp);
        background-position: center top;
    }

    .box-1 {
        margin-top: -.9rem;
        padding: .58rem 0 2.64rem;
        background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/bg1-m.webp);
        background-size: cover;
    }
    .box-2 {
        margin-top: -1.6rem;
        padding: 0 0 .94rem;
        background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/bg2-m.webp);
    }
    .box-3 {
        margin-top: -1.44rem;
        padding: 0;
        background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/bg3-m.webp);
    }
    .box-3::after {
        content: "";
        display: block;
        width: 100%;
        height: 2rem;
        background: url(https://pic.igamebuy.com/activity/events/xxm/1/images/rules-bg.webp) no-repeat center top;
        background-size: cover;
    }
    .title {
        width: 6rem;
        height: .61rem;
    }
    .color-yellow {
        /* padding: 0 .8rem; */
        color: #FFF08B !important;
        box-sizing: border-box;
    }
    .section-5 p.color-yellow {
        color: #fff !important;
    }
    .section-5 p .color-yellow {
        color: #fff !important;
    }
    .tips .color-yellow {
        padding: 0;
    }

    .section-1 {
        padding: 1.86rem .66rem 0;
        width: 7.20rem;
        height: 7.59rem;
        background-position: center top;
    }
    .section-1 .tips {
        position: absolute;
        bottom: -.8rem;
        padding: 0 .72rem;
        font-size: .22rem;
        line-height: 1.5;
        color: #fff;
        box-sizing: border-box;
    }
    .table-title, .table-con li {
        grid-template-columns: 14% 25% 36% 25%;
    }
    .table-title {
        font-size: .2rem;
        font-weight: 600;
        margin-bottom: .18rem;
    }
    .table-con {
        margin: 0;
        padding: 0;
        max-height: 4.58rem;
    }
    .table-con li {
        font-size: .22rem;
    }
    .table-con li {
        height: .62rem;
        line-height: .62rem;
        background-size: 100% 100%;
    }
    .table-con li:not(:last-child) {
        margin-bottom: .08rem;
    }
    .table-con li:nth-child(-n+5) .rank-num {
        width: .44rem;
        height: .44rem;
    }
    .illustrate {
        padding: 0 .8rem;
        font-size: .22rem;
    }
    .not-started {
        height: 4.54rem;
        font-size: .28rem;
    }
    .not-started::after {
        width: 2.4rem;
        height: 1.9rem;
    }

    .section-2 {
        margin-top: .72rem;
        font-size: .22rem;
    }
    .section-2 .tips {
        width: 7rem;
        height: .5rem;
        line-height: .54rem;
        font-size: .2rem;
    }
    .section-2 .illustrate {
        line-height: 1.8;
    }
    .section-2 ul {
        padding: 0 .16rem;
    }
    .section-2 ul li {
        width: 3.58rem;
        height: 4.88rem;
    }
    .section-2 ul li:nth-child(1) {
        width: 4.57rem;
        height: 6.22rem;
    }
    .section-2 ul li:nth-child(1) p {
        padding: 0 .6rem 1.46rem;
    }
    .section-2 ul li p {
        padding: 0 .44rem 1.1rem;
        font-size: .2rem;
    }

    .section-3 {
        padding-top: .92rem;
        font-size: .22rem;
        line-height: 1.5;
    }
    .section-3 .tips {
        padding: 0 .8rem;
        font-size: .22rem;
        line-height: 1.5;
    }
    .section-3 ul {
        margin-top: .4rem;
    }
    .section-3 ul li {
        width: 3.74rem;
        height: 4.7rem;
        background-image: url(https://pic.igamebuy.com/activity/events/xxm/1/images/red-e-bg-m.webp);
    }
    .section-3 ul li:nth-child(2) {
        margin-left: -.36rem;
    }
    .section-3 ul li p {
        left: 1rem;
        top: 2.2rem;
        color: #FFF08B;
        font-size: .22rem;
    }

    .section-4 {
        padding-top: 1.46rem;
    }
    .s4-con {
        margin-top: -.1rem;
        height: 5rem;
    }

    .section-5 {
        padding-top: 1.8rem;
        font-size: .22rem;
        line-height: 1.5;
    }
    .retouch-pic {
        height: 3rem;
    }
    .rules-con {
        margin: .3rem 0 0 0;
        padding: .9rem .8rem .6rem;
        max-width: 100%;
        font-size: .2rem;
        line-height: 1.8;
        box-sizing: border-box;
    }
    .rules-con li:not(:last-child) {
        margin-bottom: .04rem;
    }
    .rules-con * {
        font-size: .24rem !important;
    }

    footer {
        font-size: .2rem;
    }
    .copyright {
        gap: .16rem;
        grid-auto-flow: inherit;
        padding: .16rem 0 .3rem;
        text-align: center;
    }
    footer .icon-email-line {
        margin: .06rem .06rem 0 0;
        width: .22rem;
        height: .22rem;
    }
    footer .email {
        justify-content: center;
    }
}