@font-face {
    font-family: "Philosopher";
    src: url("../fonts/Philosopher.ttf");
}

@font-face {
    font-family: "Exo2";
    src: url("../fonts/Exo2.ttf");
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes upDown {

    0%,
    100% {
        transform: translateY(2%);
    }

    50% {
        transform: translateY(-6%);
    }
}

@keyframes tada {
    0% {
        transform: scaleZ(1);
    }

    10%,
    20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }

    20%,
    50%,
    70%,
    90% {
        transform: scale3d(1.06, 1.06, 1.06) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        transform: scale3d(1.06, 1.06, 1.06) rotate3d(0, 0, 1, -3deg);
    }

    100% {
        transform: scaleZ(1);
    }
}

@keyframes shakefix {
    0% {
        transform: translate(1px, 1px);
    }

    10% {
        transform: translate(-1px, -2px);
    }

    20% {
        transform: translate(-3px, 0px);
    }

    30% {
        transform: translate(3px, 2px);
    }

    40% {
        transform: translate(1px, -1px);
    }

    50% {
        transform: translate(-1px, 2px);
    }

    60% {
        transform: translate(-3px, 1px);
    }

    70% {
        transform: translate(3px, 1px);
    }

    80% {
        transform: translate(-1px, -1px);
    }

    90% {
        transform: translate(1px, 2px);
    }

    100% {
        transform: translate(1px, -2px);
    }
}

@keyframes slideDownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lightSweep {
    0% {
        -webkit-mask-position: 150% 0;
        mask-position: 150% 0;
    }

    100% {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

@keyframes lightBlink {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }

    100% {
        filter: brightness(1);
    }
}

@keyframes zoomBtn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.11);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes dotPulseRed {
    0% {
        box-shadow: 0 0 0 0 #fb2424;
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 158, 66, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 158, 66, 0);
    }
}

@keyframes dotPulseYellow {
    0% {
        box-shadow: 0 0 0 0 #FFAE00;
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 158, 66, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 158, 66, 0);
    }
}

@keyframes letterBounce {

    0%,
    16%,
    100% {
        transform: translateY(0);
    }

    8% {
        transform: translateY(-15px);
    }
}

@keyframes textScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes giftAppear {
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Hiệu ứng đánh boss */
@keyframes bossShake {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    10% {
        transform: translateX(-10px) translateY(-5px);
    }

    20% {
        transform: translateX(10px) translateY(5px);
    }

    30% {
        transform: translateX(-10px) translateY(5px);
    }

    40% {
        transform: translateX(10px) translateY(-5px);
    }

    50% {
        transform: translateX(-5px) translateY(3px);
    }

    60% {
        transform: translateX(5px) translateY(-3px);
    }

    70% {
        transform: translateX(-5px) translateY(-3px);
    }

    80% {
        transform: translateX(5px) translateY(3px);
    }

    90% {
        transform: translateX(-2px) translateY(-1px);
    }
}

@keyframes bossFlash {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(2) saturate(1.5);
    }
}

@keyframes damageFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1.5);
    }
}

@keyframes hitEffect {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.boss-shake {
    animation: bossShake 0.5s ease-in-out;
}

.boss-flash {
    animation: bossFlash 0.3s ease-in-out;
}

.damage-number {
    position: absolute;
    font-size: 2rem;
    font-weight: bold;
    color: #ff4444;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px #ff0000;
    pointer-events: none;
    z-index: 1000;
    animation: damageFloat 1s ease-out forwards;
}

.damage-critical {
    color: #ffaa00;
    font-size: 3rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 0 0 20px #ff6600;
}

.hit-effect {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 200, 0, 0.4) 50%, transparent 70%);
    pointer-events: none;
    z-index: 999;
    animation: hitEffect 0.5s ease-out forwards;
}

@media (max-width: 767px) {
    .damage-number {
        font-size: 1.5rem;
    }

    .damage-critical {
        font-size: 2rem;
    }

    .hit-effect {
        width: 60px;
        height: 60px;
    }
}

.btn-zoom {
    animation: zoomBtn .6s ease-in-out infinite;
}

.lightSweep {
    position: absolute;
    animation: lightSweep 3s linear 1s infinite;
    inset: 0;
    filter: brightness(2);
    margin: auto;
    -webkit-mask-image: -webkit-linear-gradient(-45deg, #fff0 40%, #fff 50%, #fff0 60%);
    mask-image: -webkit-linear-gradient(-45deg, #fff0 40%, #fff 50%, #fff0 60%);
    -webkit-mask-size: 300% 200%;
    mask-size: 300% 200%;
    z-index: 1;
    overflow: hidden;
}

.animation-tada {
    animation: tada 1.5s infinite linear;
}

.animation-textScroll {
    animation: textScroll 12s linear infinite;
}

.animation-upDown {
    animation: 4s ease-in-out infinite upDown;
}

.animation-dotPulseRed {
    animation: dotPulseRed 0.75s infinite;
}

.animation-dotPulseYellow {
    animation: dotPulseYellow 0.75s infinite;
}

.bg-yellow {
    background-color: #FFAE00;
}

.animation-shake {
    animation-name: shakefix;
    -webkit-animation-name: shakefix;
    -moz-animation-name: shakefix;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
}

* {
    box-sizing: border-box;
    font-family: "Philosopher";
}

.gz-font-exo2 {
    font-family: "Exo2"
}

body,
ul,
li,
p {
    margin: 0;
}

li {
    list-style: none;
}

::-webkit-scrollbar {
    display: none;
}

.gz-justify-between {
    justify-content: space-between;
}

img {
    vertical-align: middle;
    border-style: none;
    height: 100%;
}

img.desk,
img.default {
    display: block;
    width: 100%;
}

img.mobi,
img.active {
    display: none;
    width: 100%;
}

@media (max-width: 767px) {
    img.desk {
        display: none;
    }

    img.mobi {
        display: block;
    }
}

.btn {
    cursor: pointer;
}

.btn-brightness {
    cursor: pointer;
}

.btn-brightness img {
    width: 100%;
    transition: .3s;
}

.btn-brightness:hover img {
    filter: brightness(125%);
}

.btn:hover img.default,
.btn.active img.default {
    display: none;
}

.btn:hover img.active,
.btn.active img.active {
    display: block;
}

.transform-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

.invisible {
    visibility: hidden;
    font-size: 1vw;
}

.d-none {
    display: none;
}

.w-full {
    width: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

.gz-AndroidOS {
    width: 76% !important;
}

.brightness-125 {
    filter: brightness(125%);
}

.direction-none {
    flex-direction: unset !important;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

/* LOADING */

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d21e21;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

#loading.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#loading {
    opacity: 1;
    transition: opacity 0.5s ease;
}

#loading .spinner {
    animation: spin 1s linear infinite;
    position: relative;
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-top-color: #fff;
    border-radius: 50%;
    width: 180px;
    height: 180px;
}

#loading img.logo {
    height: 30px !important;
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* LOADER */

.load-api {
    display: none;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    align-content: center;
    justify-content: center;
    z-index: 1000000;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.load-api .element {
    border-radius: 100%;
    border: 5px solid #FFF;
    margin: 10px;
}

.load-api .element:nth-child(1) {
    animation: preloader 0.6s ease-in-out alternate infinite;
}

.load-api .element:nth-child(2) {
    animation: preloader 0.6s ease-in-out alternate 0.2s infinite;
}

.load-api .element:nth-child(3) {
    animation: preloader 0.6s ease-in-out alternate 0.4s infinite;
}

@keyframes preloader {
    100% {
        transform: scale(2);
    }
}

header .main-header {
    position: absolute;
    top: unset;
    width: 100%;
    z-index: 3;
}

header .desk {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44%;
    margin: auto;
    gap: 4vw;
    margin-top: 1vw;
}

header .desk img {
    width: 100%;
    transition: .3s ease-out;
    cursor: pointer;
}

header .desk a:hover img {
    transform: scale(1.10);
}

header .mobi {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1.5vw;
    padding-inline: 2vw;
    padding-block: 0.6vw;
    background-color: #000;
}

@media (max-width: 767px) {
    header .main-header {
        position: fixed;
    }

    header .desk {
        display: none;
    }

    header .mobi {
        display: flex;
    }
}

header .mobi .logo {
    display: flex;
    align-items: center;
    gap: 2vw;
    line-height: 4vw;
}

header .mobi .logo img {
    height: 13.4vw !important
}

header .mobi .logo p {
    color: #FFC971;
    font-size: 2.6vw;
    white-space: nowrap;
    font-weight: 600;
}

header .mobi .main-content {
    display: flex;
    align-items: center;
    gap: 3vw;
    justify-content: flex-end;
}

header .mobi .main-content .link_dowload {
    display: flex;
    align-items: center;
    gap: 3vw;
    width: 40%;
}

header #menu_mobile {
    opacity: 0;
    transition: 0.5s ease-in-out;
    transform: translateX(26vw);
    background-color: #000;
    padding-block: 1.6vw;
    padding-inline: 3vw;
    position: fixed;
    right: 0.5vw;
    margin-top: 0.5vw;
    z-index: 4;
    border-radius: 2vw;
    color: #fff;
    display: none;
}

header #menu_mobile.active {
    transform: translateX(0);
    opacity: 1;
    transition: 0.5s ease-in-out;
}

header #menu_mobile a img {
    width: 100%;
}

header #menu_mobile a {
    font-weight: 700;
    text-decoration: none;
    font-size: 3.6vw;
    color: white;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    white-space: nowrap;
    gap: 1.4vw;
    border-bottom: 1px solid #fff;
    padding-block: 1.8vw;
}

header #menu_mobile a:last-child {
    border-bottom: none !important;
}

header #menu_mobile a span {
    width: 14%;
    margin-left: 1vw;
}

@media (max-width: 767px) {
    header #menu_mobile {
        display: block;
    }
}

#btn-menu_mobile {
    cursor: pointer;
    z-index: 1;
}

#btn-menu_mobile.active {
    position: relative;
    top: 0vw;
    width: 8vw;
    height: 8vw;
}

#btn-menu_mobile .item_menu {
    background-color: white;
    width: 8vw;
    height: 1.2vw;
    margin: 1vw 0vw;
    border-radius: 15px;
}

#btn-menu_mobile.active .top {
    position: absolute;
    top: 26%;
    transform: rotate(45deg);
    transition: 0.5s ease-in-out;
}

#btn-menu_mobile.active .center {
    display: none;
}

#btn-menu_mobile.active .bottom {
    position: absolute;
    top: 26%;
    transform: rotate(134deg);
    transition: 0.5s ease-in-out;
}

#content {
    position: relative;
}

/* TAB 1 */

.tab1,
.tab2,
.tab3,
.tab4,
.tab5 {
    position: relative;
    overflow: hidden;
}

.tab1 {
    display: flex;
    justify-content: center;
}

.tab1 .background {
    width: 100%;
}

.tab1 .logo-text {
    position: absolute;
    top: 1%;
    left: 1.3%;
    width: 9.8%;
}

.tab1 .warning {
    position: fixed;
    top: 22%;
    left: 0;
    width: 11%;
    z-index: 3;
}

.tab1 .text-award {
    position: absolute;
    left: 12.6%;
    width: 36%;
    top: 3%;
}

.tab1 .text-slogan {
    position: absolute;
    left: 50%;
    bottom: 59%;
    transform: translate(-50%, -50%);
    width: 30%;
    z-index: 1;
}

.tab1 .text-zoneplay {
    position: absolute;
    left: 50%;
    bottom: 59.8%;
    transform: translate(-50%, -50%);
    text-shadow:
        0 0 5px #ffae00,
        0 0 10px #ffae00,
        0 0 20px #ffae00,
        0 0 40px #ffae00;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.6vw;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
}

.tab1 .text-zoneplay .letter {
    display: inline-block;
    animation: letterBounce 4s ease-in-out infinite;
}

.tab1 .text-zoneplay .letter.highlight {
    color: #FFAE00;
    font-weight: bold;
}

.tab1 .text-time {
    position: absolute;
    left: 50%;
    bottom: 55.6%;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 5px #ffae00, 0 0 10px #ffae00, 0 0 20px #ffae00, 0 0 40px #ffae00, 0 0 80px #ffae00;
    color: #fff;
    text-transform: capitalize;
    font-size: 1.16vw;
}


.tab1 #countdown-text {
    font-weight: bold;
}

.tab1 #btn-action-tab1 {
    position: absolute;
    left: 40%;
    bottom: 24%;
    transform: translate(-50%, -50%);
    width: 28%;
    display: flex;
    align-items: center;
    gap: 0.6vw;
}

.tab1 #btn-action-tab1 .btn img {
    width: 100%;
}

.tab1 #btn-action-tab1 .btn-dang-nhap:hover {
    animation: dotPulseRed 0.75s infinite;
    /* filter: brightness(125%); */
}

.tab1 .frame-login {
    position: absolute;
    bottom: 17%;
    width: 17%;
    cursor: pointer;
    left: 32%;
}

.tab1 .frame-login p {
    position: absolute;
    left: 80%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 1vw;
    color: #fff;
    text-transform: capitalize;
    line-height: 1.2vw;
}

.tab1 .list-btn-redirect {
    position: fixed;
    top: 6%;
    right: 2%;
    z-index: 3;
}

.tab1 .list-btn-redirect .layout-redirect {
    color: #fff;
    border-radius: 2vw;
    padding-inline: 0.2vw;
    display: flex;
    align-items: center;
    margin-left: auto;
    justify-content: end;
    background-color: #000;
    border-radius: 2vw;
    overflow: hidden;
}

.tab1 .list-btn-redirect .layout-redirect a img {
    width: 100%;
    transition: .3s ease-out;
}

.tab1 .list-btn-redirect .layout-redirect a {
    padding: 0.6vw 0.6vw;
    cursor: pointer;
    transition: .3s ease-out;
    opacity: 1;
    max-width: 5vw;
    overflow: hidden;
    transition: max-width 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

.tab1 .list-btn-redirect .layout-redirect a:hover img {
    opacity: .6;
}

.tab1 #btn-toggle-redirect img.hide {
    transform: scaleX(-1);
}

.tab1 .list-btn-redirect .layout-redirect a.item.item.hide-item {
    max-width: 0;
    opacity: 0;
    padding-inline: 0;
}

.list-item_daily {
    position: absolute;
    top: 36vw;
    right: 25.6%;
    width: 18%;
    display: flex;
    justify-content: center;
}

.list-item_daily p.title {
    text-transform: uppercase;
    color: #FFAE00;
    font-size: 0.8vw;
    position: absolute;
    top: 7%;
    width: 100%;
    margin-inline: auto;
    text-align: center;
}

.list-item_daily .item_daily-reward {
    position: absolute;
    width: 100%;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 16%;
}

.list-item_daily .item_daily-reward .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4vw;
}

.list-item_daily .item_daily-reward p {
    font-size: 0.8vw;
    text-align: center;
    color: #fff;
}

.list-item_daily .item_daily-reward .btn {
    width: 50%;
    font-size: 0;
}

.list-item_daily .item_daily-reward img {
    width: 100%;
}

.list-item_daily .item_daily-img {
    position: absolute;
    width: 88%;
    bottom: 6%;
}

@media (max-width: 767px) {
    .tab1 .list-btn-redirect {
        display: none;
    }

    .tab1 .logo-text {
        display: none;
    }

    .tab1 .warning {
        top: 20%;
        width: 13%;
    }

    .tab1 .text-award {
        display: none;
    }

    .tab1 .text-slogan {
        width: 81%;
        bottom: 60.4%;
    }

    .tab1 .text-zoneplay {
        bottom: 58.8%;
        font-size: 4.8vw;
        line-height: 1.5;
    }

    .tab1 .text-time {
        bottom: 55.6%;
        font-size: 3.4vw;
        white-space: nowrap;
        line-height: 1.5
    }

    .tab1 #btn-action-tab1 {
        width: 86%;
        gap: 1.8vw;
        left: unset;
        transform: none;
        bottom: 36.4%;
    }

    .tab1 .frame-login {
        bottom: 28%;
        width: 52%;
        left: unset;
    }

    .tab1 .frame-login p {
        font-size: 3.2vw;
        line-height: 4.2vw;
    }

    .list-item_daily {
        top: 146vw;
        right: unset;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 54%;
    }

    .list-item_daily p.title {
        font-size: 2.4vw;
    }

    .list-item_daily .item_daily-reward {
        top: 15%;
    }

    .list-item_daily .item_daily-reward .item {
        gap: 1.4vw;
    }

    .list-item_daily .item_daily-reward div {
        width: 52%;
    }

    .list-item_daily .item_daily-reward p {
        font-size: 2.6vw;
    }
}

/* LANDING */
.landing {
    background-image: url(../images/bg-desk.webp);
    background-position: top;
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
    /* height: 186vw; */
}

@media (max-width: 767px) {
    .landing {
        background-image: url(../images/bg-mobi.webp);
    }
}

/* TAB 2 */

.tab2 {
    height: 56.6vw
}

.tab2 .title {
    margin-top: 0.6%;
    width: 22.8%;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.tab2 .frame-hp img {
    width: 100%;
}

.tab2 .frame-hp {
    width: 39.2%;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.tab2 .frame-hp .bg {
    position: relative;
    z-index: 1;
}

.tab2 .frame-hp .item-hp {
    position: absolute;
    left: 3%;
    bottom: 16%;
    width: 7%;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.tab2 .frame-hp .item-hp .gift-all {
    position: absolute;
    bottom: -292%;
    width: 480%;
    z-index: 1;
    display: none;
}

.tab2 .frame-hp .item-hp:hover .gift-all {
    display: block;
}

.tab2 .frame-hp .frame-hp_nav {
    position: absolute;
    width: 75%;
    left: 8.6%;
    bottom: 32%;
    display: flex;
    align-items: center;
}

.tab2 .frame-hp .frame-hp_nav .bg-nav {
    font-size: 0;
}

.tab2 .frame-hp .frame-hp_nav #hp_nav {
    position: absolute;
    width: 57%;
    left: 0%;
    height: 100%;
    bottom: 0%;
    background-color: #C22510;
    border-radius: 1.4vw;
}

.tab2 .frame-hp p#hp_number {
    position: absolute;
    font-size: 1.7vw;
    color: #fff;
    text-shadow: 1px 1px #7B0000, -1px -1px #7B0000, 1px -1px #7B0000, -1px 1px #7B0000;
    right: 0%;
    bottom: 25%;
}

.tab2 .bg-boss {
    width: 72%;
    margin-inline: auto;
    position: absolute;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
}

.tab2 .list-action {
    position: absolute;
    right: 21%;
    bottom: 50%;
    width: 19.2%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2vw;
}

.tab2 .list-action .top {
    display: flex;
    align-items: center;
    width: 90%;
    gap: 1vw;
}

.tab2 .list-action .bot {
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.tab2 .list-btn_attack {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    bottom: 32%;
    width: 25%;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.4vw;
}

.tab2 .frame-reward img {
    width: 100%;
}

.tab2 .frame-reward {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    bottom: 1%;
    width: 42%;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab2 .frame-reward .frame-reward_list-item {
    position: absolute;
    display: flex;
    width: 90%;
    gap: 1.4vw;
    top: 16%;
}

.tab2 .frame-reward .frame-reward_list-item .left {
    width: 30%
}

.tab2 .frame-reward .frame-reward_list-item .left p.title-win {
    font-size: 0.84vw;
    color: #fff;
    margin-block: 0.4vw 0.6vw;
}

.tab2 .frame-reward .frame-reward_list-item .left p.content-win {
    font-size: 0.75vw;
    color: #fff;
    text-transform: capitalize;
}

.tab2 .frame-reward .frame-reward_list-item .right {
    width: 64%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab2 .frame-reward .frame-reward_list-item .right .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.8vw
}

.tab2 .frame-reward .frame-reward_list-item .right .item p {
    font-size: 0.88vw;
    color: #FFAE00;
}

.tab2 .frame-reward .frame-reward_list-item .right .item div {
    width: 72%;
    margin-inline: auto;
}

.tab2 .frame-win {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    bottom: -1%;
    width: 44%;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab2 .frame-win .frame-win_text {
    width: 80%;
    margin-inline: auto;
    position: absolute;
    text-align: center;
    overflow-x: hidden;
}

.tab2 .frame-win p {
    font-size: 0.94vw;
    color: #FFAE00;
    text-align: center;
    white-space: nowrap;
}

@media(max-width: 767px) {
    .tab2 {
        height: 180vw
    }

    .tab2 .title {
        margin-top: 2%;
        width: 68.8%;
    }

    .tab2 .frame-hp {
        width: 98.2%;
    }

    .tab2 .frame-hp .frame-hp_nav {
        bottom: 35%;
    }

    .tab2 .frame-hp p#hp_number {
        font-size: 4.3vw;
        bottom: 29%;
    }

    .tab2 .bg-boss {
        width: 215%;
        top: 42%;
    }

    .tab2 .list-action {
        right: unset;
        left: 50%;
        bottom: 26%;
        width: 59.2%;
        gap: 3.2vw;
        transform: translate(-50%, -50%);
    }

    .tab2 .list-btn_attack {
        bottom: 44%;
        width: 80%;
        gap: 4vw;
    }

    .tab2 .frame-reward {
        bottom: 5%;
        width: 100%;
    }

    .tab2 .frame-reward .frame-reward_list-item {
        gap: 3vw;
        width: 88%;
        top: 19%;
    }

    .tab2 .frame-reward .frame-reward_list-item .left p.title-win {
        font-size: 1.84vw;
        margin-block: 0 2vw;
    }

    .tab2 .frame-reward .frame-reward_list-item .left p.content-win {
        font-size: 1.84vw;
        width: 84%;
        line-height: 2.6vw;
    }

    .tab2 .frame-reward .frame-reward_list-item .right .item {
        gap: 7vw;
    }

    .tab2 .frame-reward .frame-reward_list-item .right .item p {
        font-size: 2vw;
    }

    .tab2 .frame-reward .frame-reward_list-item .right .item div {
        width: 70%;
    }

    .tab2 .frame-reward .frame-reward_list-item .right {
        margin-top: -5vw;
    }

    .tab2 .frame-win {
        bottom: 2%;
        width: 100%;
    }

    .tab2 .frame-win .frame-win_text {
        width: 74%;
    }

    .tab2 .frame-win p {
        font-size: 3.2vw;
    }
}

/* TAB 3 */

.tab3 .title {
    margin-top: 3.4%;
    width: 22.8%;
    margin-inline: auto;
}

.tab3 .text-infor {
    margin-top: 1%;
    text-align: center;
    font-size: 1.26vw;
    width: 70%;
    margin-inline: auto;
    color: #FFAE00;
    text-shadow:
        1px 1px #000,
        -1px -1px #000,
        1px -1px #000,
        -1px 1px #000;
    text-transform: capitalize;
}

.tab3 .btn-thele {
    width: 8.4%;
    margin-inline: auto;
    margin-top: 0.8%;
}

.tab3 .content {
    position: relative;
    width: 51.2%;
    margin-inline: auto;
    margin-top: 1.2%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab3 #list_item_reward {
    position: absolute;
    width: 92%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    place-items: center;
    column-gap: 3vw;
    row-gap: 0.4vw;
    margin-inline: auto;
}

.tab3 #list_item_reward img {
    width: 100%;
}

.tab3 #list_item_reward .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* filter: grayscale(1); */
    position: relative;
}

.tab3 #list_item_reward .item.active {
    filter: grayscale(0);
}

.tab3 #list_item_reward .item .frame-point {
    position: absolute;
    top: 4%;
    left: 0;
    width: 45%;
    display: flex;
    align-items: center;
}

.tab3 #list_item_reward .item p.frame-point {
    color: #fff;
    font-size: 0.54vw;
    position: absolute;
    left: 14%;
    text-align: center;
    top: 10.8%;
}

.tab3 #list_item_reward .item .text-gift {
    position: absolute;
    left: 50%;
    bottom: 44%;
    transform: translate(-50%, -50%);
    width: 64%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab3 #list_item_reward .item .text-gift p {
    font-size: 0.8vw;
    color: #fff;
    text-align: center;
    position: absolute;
    text-transform: capitalize;
}

.tab3 #list_item_reward .item .btn-reward {
    cursor: pointer;
    width: 90%;
    display: flex;
    align-items: center;
    margin-top: -4%;
}

.tab3 #list_item_reward .item .btn-reward p {
    position: absolute;
    left: 12%;
    font-size: 1vw;
    color: #fff;
    width: 54%;
    text-align: center;
}

.tab3 .list-item_foot {
    position: absolute;
    left: 50%;
    bottom: 4%;
    transform: translate(-50%, -50%);
    width: 88%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.6vw;
}

.tab3 .list-item_foot .btn {
    width: 13%;
}

.tab3 .list-item_foot p {
    font-size: 1.24vw;
    color: #fff;
    text-transform: capitalize;
}

.tab3 .list-item_foot p span {
    font-size: 1.6vw;
    color: #FFAE00 !important;
}

@media(max-width: 767px) {
    .tab3 {
        padding-bottom: 6%;
    }

    .tab3 .title {
        margin-top: 0%;
        width: 68.8%;
    }

    .tab3 .text-infor {
        margin-top: 3.4%;
        font-size: 3.2vw;
        width: 94%;
    }

    .tab3 .btn-thele {
        width: 26%;
        margin-top: 1.6%;
    }

    .tab3 .content {
        width: 100%;
        margin-top: 3%;
    }

    .tab3 #list_item_reward {
        width: 92%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 3vw;
        row-gap: 1vw;
    }

    .tab3 #list_item_reward .item .text-gift {
        bottom: 42%;
    }

    .tab3 #list_item_reward .item .text-gift p {
        font-size: 2.3vw;
        text-transform: capitalize;
    }

    .tab3 #list_item_reward .item .btn-reward p {
        font-size: 2.9vw;
    }

    .tab3 #list_item_reward .item p.frame-point {
        font-size: 1.8vw;
        top: 10%;
    }
}

/* TAB 4 */
.tab4 {
    padding-bottom: 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab4 .title {
    margin-top: 4.8%;
    width: 22.8%;
    margin-inline: auto;
}

.tab4 .text-infor {
    text-align: center;
    font-size: 1.22vw;
    width: 70%;
    margin-inline: auto;
    color: #fff;
    text-shadow: 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

.tab4 .frame-count_huyetan {
    margin-top: 1%;
    text-align: center;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
}

.tab4 .frame-count_huyetan p {
    position: absolute;
    font-size: 1.3vw;
    color: white;
    white-space: nowrap;
}

.tab4 .list-gift {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3%;
    gap: 5vw;
    width: 54%;
    margin-inline: auto;
}

.tab4 .list-gift .gift {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.tab4 .list-gift .gift .bg {
    width: 100%;
}

.tab4 .list-gift .gift.active {
    filter: grayscale(0)
}

.tab4 .list-gift.animate-in .gift {
    opacity: 0;
    transform: scale(0.5) translateY(30px);
    animation: giftAppear 0.6s ease-out forwards;
}

.tab4 .list-gift .gift img {
    width: 100%;
}

.tab4 .text-gift {
    position: absolute;
    top: 12%;
    width: 78%;
    left: 10%;
    font-size: 1vw;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

.tab4 .list-gift .gift .btn {
    position: absolute;
    bottom: 18%;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 10%;
}

.tab4 .list-gift .gift .btn p {
    font-size: 1.1vw;
    color: white;
    position: absolute;
}

@media(max-width: 767px) {
    .tab4 {
        padding-bottom: 6%;
    }

    .tab4 .title {
        margin-top: 2%;
        width: 68.6%;
    }

    .tab4 .text-infor {
        margin-top: 0.4%;
        font-size: 3.4vw;
        width: 86%;
    }

    .tab4 .frame-count_huyetan {
        margin-top: 4%;
        width: 44%;
    }

    .tab4 .frame-count_huyetan p {
        font-size: 3.5vw;
    }

    .tab4 .list-gift {
        gap: 5vw;
        width: 43%;
        flex-direction: column;
        margin-top: 7%;
    }

    .tab4 .list-gift .gift .btn p {
        font-size: 3vw;
    }

    .tab4 .text-gift {
        font-size: 3.4vw;
    }
}

/* FOOTER */

footer {
    position: relative;
    overflow-x: hidden;
}

footer .content {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    padding-block: 2.4vw;
}

footer .content .logo {
    align-items: center;
    justify-content: center;
    gap: 8vw;
    width: 100%;
    text-align: right;
}

footer .content .logo img.logo-gzone {
    width: 20% !important;
}

footer .content .logo img.footer-warning {
    display: none;
}

footer .content .logo a {
    width: 30% !important;
    display: none;
}

footer .content .main-content {
    font-size: 0.8vw;
    text-align: center;
    width: 100%;
}

footer .content .main-content a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    outline: none;
    font-family: "Exo2"
}

footer .content .main-content p {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-family: "Exo2";
    line-height: 1.2vw;
}

footer .content .warning {
    display: flex;
    align-items: center;
    width: 100%;
}

footer .content .warning img.img-warning {
    width: 8%;
}

footer .content .warning a {
    width: 18%;
}

@media (max-width: 767px) {

    footer .content {
        display: block;
        padding-inline: 2vw;
        padding-top: 6vw;
        padding-bottom: 6vw;
    }

    footer .content .logo {
        display: flex;
        margin-bottom: 4vw !important;
        margin-left: 4vw;
    }

    footer .content .logo img.footer-warning {
        display: block;
        width: 10%;
    }

    footer .content .logo a {
        display: block;
    }

    footer .content .main-content {
        width: 100%
    }

    footer .content .main-content a,
    footer .content .main-content p {
        font-size: 3vw;
        line-height: 4.6vw;
    }

    footer .content .warning {
        display: none;
    }
}

/* POPUP */

#backdrop {
    background-color: rgb(0 0 0 / 72%);
    backdrop-filter: blur(3px);
    position: fixed;
    inset: 0;
    z-index: 13;
}

#popup {
    transition: 0.3s ease-in-out;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: -9;
    width: 100%;
}

#popup.active {
    opacity: 1 !important;
    z-index: 15 !important;
}

#popup .main-popup {
    position: relative;
    z-index: 13;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#popup .item-popup {
    position: relative;
    opacity: 0;
    display: flex;
    transform: scale(0);
    transition: 0.45s ease-in-out;
    position: absolute;
    width: 50%;
}

#popup .item-popup.active {
    opacity: 1;
    justify-content: center;
    transition: 0.5s ease-in-out;
    transform: scale(1.05);
}

#popup .bg-popup {
    width: 100%;
}

#popup .btn-close {
    position: absolute;
    top: 4.8%;
    right: 2.4%;
    z-index: 2;
    cursor: pointer;
    width: 4%;
}

#popup .btn-close img {
    transition: .2s ease-out;
    width: 100%;
}

#popup .btn-close:hover img {
    transform: scale(1.1);
}

#popup .main-content {
    position: absolute;
    top: 3%;
    bottom: 3%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
}

#popup .main-content .title {
    width: 32%;
}

#popup .main-content .title img {
    width: 100%;
}

#popup .main-content .content-popup {
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#popup .main-content .content-popup p#popup_mess-noti {
    color: #fff;
    font-size: 1.2vw;
    text-align: center;
}

#popup .main-content .content-popup p.popup_mess-noti {
    color: #fff;
    font-size: 1.2vw;
    text-align: center;
}

#popup .main-content .content-popup #popup_img-gift {
    width: 52%;
}

@media (max-width: 767px) {

    #popup .main-popup {
        position: relative;
        z-index: 13;
        width: 88%;
    }

    #popup .main-content {
        top: 0%;
    }

    #popup .btn-close {
        top: 4.8%;
        right: 3.6%;
        width: 5.2%;
    }

    #popup .main-content .title {
        width: 42%;
        margin-top: 1vw;
    }

    #popup .main-content .content-popup p#popup_mess-noti,
    .invisible {
        font-size: 2.6vw;
        line-height: 3.4vw;
    }

    #popup .item-popup {
        width: 100%;
    }
}

/* POPUP ĐĂNG NHẬP */

#popup-dang-nhap .list-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
}

#popup-dang-nhap .list-input input {
    background-color: transparent;
    color: #fff;
    outline: none;
    margin: 0;
    width: 100%;
    text-align: center;
    padding-block: 0.36vw;
    height: 2.6vw;
    font-size: 1vw;
    margin-bottom: 1vw;
    border: 1px solid #FFAE00;
}

#popup-dang-nhap .privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#popup-dang-nhap .privacy input {
    height: 1vw;
    width: 2%;
    margin-bottom: 0;
    margin-right: 0.4vw;
    cursor: pointer;
}

#popup-dang-nhap .privacy label {
    font-size: 0.9vw;
    color: #fff;
    cursor: pointer;
}

#popup-dang-nhap .btn-dangnhap {
    width: 16%;
    margin: auto;
    cursor: pointer;
    margin-block: 1.4vw 0.6vw;
}

#popup-dang-nhap .list-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    width: 30%;
}

@media (max-width: 767px) {
    #popup-dang-nhap .content-popup {
        margin-top: 4vw;
    }

    #popup-dang-nhap .list-input input {
        padding-block: 0.36vw;
        height: 6.8vw;
        font-size: 2.6vw;
        margin-bottom: 1.6vw;
    }

    #popup-dang-nhap .privacy input {
        height: 3vw;
        width: 3%;
        margin-right: 1.4vw;
    }

    #popup-dang-nhap .privacy label {
        font-size: 2.6vw;
    }

    #popup-dang-nhap .btn-dangnhap {
        width: 24%;
        margin-block: 2vw 1.6vw;
    }

    #popup-dang-nhap .list-btn {
        gap: 2vw;
        width: 42%;
    }
}

/* LỊCH SỬ */

#popup-lich-su .content-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 94%;
    height: 78%;
    margin-top: 1vw;
    margin-inline: auto;
}

#popup-lich-su .title-lichsu {
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    width: 84%;
}

#popup-lich-su .content-lichsu {
    overflow-y: scroll;
    height: 100%;
    width: 84%;
}

#popup-lich-su table {
    width: 100%;
    text-align: center !important;
    border-collapse: collapse;
}

#popup-lich-su table th,
#popup-lich-su table td {
    color: #fff;
    background-color: transparent;
    font-size: 1vw;
    font-family: 'SVN-Avo' !important;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

#popup-lich-su table th {
    border-top: 1px solid #fff;
    padding: 0.4vw 0;
}

#popup-lich-su table td {
    padding: 0.4vw 1.7vw !important;
}

#popup-lich-su .title-lichsu .title-history {
    border: 1px solid #fff;
    border-bottom: none;
    width: 100%;
}

#popup-lich-su .title-lichsu .title-history button {
    padding: 0.4vw 0;
    color: #fff;
    border: none;
    background-color: #b30024;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    outline: none;
    display: block;
    font-size: 1vw;
    cursor: pointer;
    font-family: 'SVN-Avo' !important;
}

@media (max-width: 767px) {
    #popup-lich-su .content-popup {
        margin-top: 2vw;
        height: 74%;
    }

    #popup-lich-su .title-lichsu {
        width: 86%;
    }

    #popup-lich-su .content-lichsu {
        width: 86%;
        height: 70%;
    }

    #popup-lich-su .title-lichsu .title-history button {
        font-size: 2.2vw;
        padding: 0.8vw 0;
    }

    #popup-lich-su .content-popup .content-lichsu {
        height: 100%;
    }

    #popup-lich-su table th {
        font-size: 2.2vw;
        padding: 1vw 0;
    }

    #popup-lich-su table td {
        font-size: 2.2vw;
        padding: 0.8vw 2.6vw !important;
    }
}

/* THỂ LỆ */
#popup-the-le .main-content {
    bottom: 6%;
}

#popup-the-le .main-content .content-popup {
    overflow-y: scroll;
    width: 80%;
    margin-top: 1.4vw;
}

#popup-the-le .main-content .content-popup::-webkit-scrollbar {
    display: block !important;
    width: 4px !important;
    cursor: pointer;
}

#popup-the-le .main-content .content-popup::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
    cursor: pointer;
}

#popup-the-le .main-content .content-popup::-webkit-scrollbar-track {
    background: #222;
}

#popup-the-le p.popup_mess-noti {
    text-align: left !important;
    line-height: 1.5;
    padding-right: 0.6vw;
}

#popup-huong-dan .main-content {
    bottom: 6%;
}

#popup-huong-dan .main-content .content-popup {
    overflow-y: scroll;
    width: 80%;
    margin-top: 1vw;
}

#popup-huong-dan p.popup_mess-noti {
    text-align: left !important;
    line-height: 1.5;
}

@media (max-width: 767px) {
    #popup-the-le .main-content {
        bottom: 6%;
    }

    #popup-the-le .main-content .content-popup {
        margin-top: 2.4vw;
    }

    #popup-huong-dan .main-content {
        bottom: 6%;
    }

    #popup-huong-dan .main-content .content-popup {
        margin-top: 2vw;
    }

    #popup-the-le p.popup_mess-noti {
        font-size: 2.5vw !important;
        line-height: 3.6vw;
        padding-right: 1.6vw;
    }
}

#giftcode-wrapper {
    text-align: center;
    font-size: 1.2vw
}

#giftcode-wrapper p.ma-code {
    color: #FFD700;
    font-weight: 700;
    margin-block: 0.4vw 0.8vw;
    font-size: 1.2vw
}

#giftcode-wrapper .layout-copy {
    display: inline-flex;
    align-items: center;
    gap: 1.4vw
}

#giftcode-wrapper .layout-copy span#giftcode-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.2vw;
    font-family: serif !important;
}

#giftcode-wrapper .layout-copy button {
    background-color: #4CAF50;
    border: none;
    outline: none;
    color: #fff;
    padding: 0.3vw 0.6vw;
    border-radius: 0.2vw;
    cursor: pointer;
    outline: none;
    font-size: 1.2vw
}

@media (max-width: 767px) {
    #giftcode-wrapper {
        text-align: center;
        font-size: 1.2vw
    }

    #giftcode-wrapper p.ma-code {
        margin-block: 1vw 1.6vw;
        font-size: 2.6vw;
    }

    #giftcode-wrapper .layout-copy {

        gap: 3.4vw
    }

    #giftcode-wrapper .layout-copy span#giftcode-text {
        font-size: 2.6vw
    }

    #giftcode-wrapper .layout-copy button {
        padding: 1.2vw 1.6vw;
        border-radius: 0.6vw;
        font-size: 2.6vw
    }
}

tbody#lich-su-nhan-code tr td:nth-child(2) {
    font-family: serif !important;
}

#popup-thong-bao p#popup_mess-noti {
    line-height: 1.6vw;
}

@media (max-width: 767px) {

    #popup-thong-bao p#popup_mess-noti {
        line-height: 3.4vw;
    }
}