@charset "utf-8";

@import url('https://fonts.font.im/css2?family=Noto+Sans+HK:wght@100..900&family=Noto+Serif+HK:wght@200..900&display=swap');

html {
    font-size: calc(100 * 100vw / 1920);
}
body {
    font-size: .14rem;
}
.text-hide {
    font-size: 0;
    line-height: 0;
}
.text-line {
    position: relative;
}
.text-line::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: .5px;
    background-color: #fff;
}
.flex-layout {
    display: flex;
    align-items: center;
    justify-content: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .2rem max(.4rem, calc(50vw - 820px));
    background-color: rgba(255, 255, 255, .25);
    box-sizing: border-box;
}
.ig-hk-logo {
    width: 1.76rem;
    height: .4rem;
    background: url(https://pic.igamebuy.com/activity/events/public/images/ig-hk.svg) no-repeat center;
    background-size: contain;
}
.nav {
    display: flex;
    align-items: center;
}
.nav li {
    margin-left: .1rem;
    font-size: clamp(14px, .18rem, 20px);
    font-weight: 380;
    color: #fff;
    border-radius: 50px;
    background-color: #e06344;
    box-sizing: border-box;
}
.nav li:nth-child(-n+2) {
    background-color: #000;
}
.nav li a {
    position: relative;
    display: block;
    width: 1.48rem;
    height: .48rem;
    line-height: .48rem;
    text-align: center;
    color: #fff;
    background-size: contain;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
}
.nav li a:not(.google-pay, .app-store) {
    background-color: #998849;
}
.nav li a::after {
    content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    transition: all 0.5s;
	opacity: 1;
    transform: translate(-105%,0);
	background-color: rgba(255,255,255,.3);
}
.nav li a:hover::after {
	opacity: 0;
	-webkit-transform: translate(0,0);
	transform: translate(0,0);
}
.google-pay {
    background: url(https://pic.igamebuy.com/activity/events/public/images/google.png) no-repeat center #000;
}
.app-store {
    background: url(https://pic.igamebuy.com/activity/events/public/images/appstore.png) no-repeat center #000;
}
.drop-down-box {
    position: absolute;
    right: max(.4rem, calc(50vw - 820px));
    z-index: 10;
    padding-top: .1rem;
}
.drop-down .top-up-list {
    padding: .04rem 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, .19);
}
.drop-down .top-up-list a {
    width: auto;
    color: #333;
    background: #fff !important;
    padding: 0 .16rem;
    border-radius: 0;
    transition: all .4s;
}
.drop-down .top-up-list a::after {
    display: none;
}
.drop-down .top-up-list a:hover {
    background: rgba(255, 212, 184, 0.25) !important;
}
.nav li a.top-up {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav li a.top-up::before {
    content: '';
    order: 1;
    display: block;
    margin-left: .04rem;
    width: .12rem;
    height: .12rem;
    background: url(https://pic.igamebuy.com/activity/events/public/images/arrow-down.svg) no-repeat center;
    background-size: contain;
}
.nav li .user-info {
    column-gap: .3rem;
    padding: 0 .2rem;
    width: auto;
    min-width: 1.48rem;
    height: .48rem;
    line-height: .48rem;
    box-sizing: border-box;
}
.nav li .user-info span {
    position: relative;
}
.nav li .user-info span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -.15rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: .12rem;
    background-color: #fff;
}
.nav li .user-info .sign-out {
    cursor: pointer;
}
.nav li .user-info .sign-out:hover {
    text-decoration: underline;
}

.sidebar {
    position: fixed;
    top: calc(50% + .41rem);
    transform: translateY(-50%);
    z-index: 60;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
}

.banner {
    position: relative;
    width: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.chat-icon .icon-cs-solid {
    position: relative;
    z-index: 2;
    display: block;
    width: 3em;
    height: 3em;
    background: linear-gradient(#fa9938, #ff5858);
    border-radius: 100%;
    box-shadow: 0 0 10px rgba(255, 255, 255, .5);
    box-sizing: border-box;
}
.chat-icon .icon-cs-solid::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 56%;
    height: 56%;
    background: url(https://pic.igamebuy.com/activity/events/public/images/cs-icon.svg) no-repeat center;
    background-size: contain;
}
.chat-layer .bg {
    background-color: #ffaf65 !important;
    opacity: .5 !important;
}

footer {
    padding: .3rem .3rem 0;
    background-color: #4c2010;
    color: #fff;
    font-size: clamp(12px, .13rem, 13px);
}
footer a {
    color: #fff;
}
footer a:hover {
    text-decoration: underline;
}
.footer-items {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    gap: .32rem;
}
.copyright {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    gap: .32rem;
    padding: .16rem 0 .3rem;
}
footer .email {
    display: flex;
    align-items: center;
}
footer .icon-email-line {
    margin: .03rem .06rem 0 0;
    width: .16rem;
    height: .16rem;
    background: url(https://pic.igamebuy.com/activity/events/public/images/email.svg) no-repeat center;
    background-size: contain;
}
footer .joint-logo img {
    width: auto;
    height: .46rem;
    object-fit: contain;
}

/* S pop */
.active-pop {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
}
.active-pop-main {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
}
.close-btn {
    position: absolute;
    z-index: 10;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}
/* E pop */

/* @media (max-width: 1440px) {
    html {
        font-size: calc(100 * 100vw / 1440);
    }
}
@media (max-width: 1024px) and (min-width: 750px) {
    html {
        font-size: calc(100 * 100vw / 1024);
    }
} */
@media (max-width: 750px) {
    body {
        font-size: .26rem;
    }
    html {
        font-size: calc(100 * 100vw / 750);
    }

    header {
        padding: .2rem .32rem;
    }
    .nav li {
        margin-left: .12rem;
        padding: 0;
    }
    .nav li a {
        width: 1.88rem;
        height: .5rem;
        line-height: .5rem;
        font-size: .24rem;
    }
    .nav li a.top-up::before {
        margin-top: 0.02rem;
        width: .2rem;
        height: .2rem;
    }
    .drop-down-box {
        right: .32rem;
    }
    .top-up-list {
        padding: .08rem 0;
    }
    .top-up-list a {
        padding: 0 0.32rem;
        height: 0.64rem !important;
        line-height: .64rem !important;
    }
    .chat-icon .icon {
        font-size: .36rem !important;
    }
}