@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 giftAppear {
    to {
        opacity: 1;
        transform: scale(1) 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 letterBounce {

    0%,
    16%,
    100% {
        transform: translateY(0);
    }

    8% {
        transform: translateY(-15px);
    }
}

.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;
}

* {
    box-sizing: border-box;
    font-family: "Philosopher";
}

.gz-font-exo2 {
    font-family: "Exo2"
}

img,
video {
    max-width: unset;
    display: unset;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center
}

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: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;
}

.gz-text-main {
    color: #416A6D;
}

.gz-text-white {
    color: #fff;
}

.gz-w-full {
    width: 100%;
}

.gz-pointer {
    cursor: pointer;
}

.gz-AndroidOS {
    width: 76% !important;
}

.gz-brightness-125 {
    filter: brightness(125%);
}

.gz-direction-none {
    flex-direction: unset !important;
}

/* 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;
}

/* TAB 1 */

.tab1,
.tab2,
.tab3,
.tab4,
.tab5 {
    position: relative;
    overflow: hidden;
}

.tab1,
.tab2,
.tab3,
.tab4,
.tab5 {
    margin-bottom: -0.4vw;
}

.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: 17%;
    transform: translate(-50%, -50%);
    width: 53%;
}

.tab1 .text-zoneplay {
    position: absolute;
    left: 50%;
    bottom: 22%;
    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: 2.2vw;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.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: 18.8%;
    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.4vw;
}


.tab1 #countdown-text {
    font-weight: bold;
}

.tab1 #btn-action-tab1 {
    position: absolute;
    left: 50%;
    bottom: 11.6%;
    transform: translate(-50%, -50%);
    width: 20%;
    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;
}

.tab1 .frame-login {
    position: absolute;
    bottom: 6%;
    width: 17%;
    cursor: pointer;
}

.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;
}

@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: 100%;
        bottom: 20%;
    }

    .tab1 .text-zoneplay {
        bottom: 22.6%;
        font-size: 4.4vw;
    }

    .tab1 .text-time {
        bottom: 18.2%;
        font-size: 4.4vw;
        white-space: nowrap;
    }

    .tab1 #btn-action-tab1 {
        width: 68%;
        gap: 1.8vw;
    }

    .tab1 .frame-login {
        bottom: 4.6%;
        width: 58%;
    }

    .tab1 .frame-login p {
        font-size: 3.4vw;
        line-height: 4.2vw;
    }
}

/* TAB 2 */
.tab2 .title {
    position: absolute;
    left: 50%;
    top: 5.8%;
    transform: translate(-50%, -50%);
    width: 18.4%;
    z-index: 1;
}

.tab2 .img-nv {
    position: absolute;
    left: -18%;
    top: -6.8%;
    width: 60%;
}

.tab2 .line-top {
    position: absolute;
    top: 0;
    width: 100%;
}

.tab2 .line-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.tab2 .list-action {
    position: absolute;
    left: 50%;
    top: 13%;
    transform: translate(-50%, -50%);
    width: 53%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab2 .list-action .btn-nap {
    width: 26%;
    cursor: pointer;
}

.tab2 .list-action .btn-nap:hover img {
    transform: scale(1.1);
    filter: brightness(120%);
}

.tab2 .list-action .btn-nap img {
    transition: .3s;
}

.tab2 .list-action p {
    font-size: 1.5vw;
    color: #FFAE00;
    text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

.tab2 .list-item {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 54.6%;
}

.tab2 .list-item .list-item_center {
    position: absolute;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
    width: 82%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    place-items: center;
    column-gap: 1vw;
    row-gap: 0.4vw;
}

.tab2 .list-item .list-item_center img {
    width: 100%;
}

.tab2 .list-item .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    filter: grayscale(1);
    position: relative;
}

.tab2 .list-item .item.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    filter: grayscale(0);
}

.tab2 .list-item .item .frame-point {
    position: absolute;
    top: 4%;
    left: 0;
    width: 45%;
    display: flex;
    align-items: center;
}

.tab2 .list-item .item .frame-point p {
    color: #000;
    font-size: 0.54vw;
    position: absolute;
    right: 9%;
    line-height: 0.6vw;
    text-align: center;
    top: 18%;
}

.tab2 .list-item .item .text-gift {
    position: absolute;
    left: 50%;
    bottom: 44%;
    transform: translate(-50%, -50%);
    width: 66%;
    display: flex;
    justify-content: center;
    align-items: center
}

.tab2 .list-item .item .text-gift p {
    font-size: 0.8vw;
    color: #fff;
    text-align: center;
    position: absolute;
    text-transform: capitalize;
    line-height: 1vw;
}

.tab2 .list-item .item .btn-reward {
    cursor: pointer;
    width: 76%;
    display: flex;
    align-items: center;
}

.tab2 .list-item .item .btn-reward p {
    position: absolute;
    left: 16%;
    font-size: 1vw;
    color: #fff;
}

.tab2 .list-item .item.active .btn-reward img {
    animation: lightBlink 1.5s ease-in-out infinite;
}

.tab2 .list-item .list-item_foot {
    position: absolute;
    left: 50%;
    bottom: 2%;
    transform: translate(-50%, -50%);
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.6vw;
}

.tab2 .list-item .list-item_foot .btn {
    width: 16%;
}

.tab2 .list-item .list-item_foot p {
    font-size: 1.2vw;
    color: #fff;
    text-transform: capitalize;
}

.tab2 .list-item .list-item_foot p span {
    font-size: 1.5vw;
    color: #FFAE00 !important;
}

.tab2 .infor {
    position: absolute;
    left: 50%;
    bottom: -4%;
    transform: translate(-50%, -50%);
    width: 52.8%;
}

.tab2 .infor p {
    position: absolute;
    left: 0%;
    top: 0;
    font-size: 0.9vw;
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    margin-inline: 2.6vw;
}

@media (max-width: 767px) {
    .tab2 .title {
        top: 4.7%;
        width: 58%;
    }

    .tab2 .img-nv {
        display: none;
    }

    .tab2 .list-action {
        top: 10.8%;
        width: 100%;
    }

    .tab2 .list-action .btn-nap {
        width: 43%
    }

    .tab2 .list-action p {
        font-size: 4.2vw;
        margin-right: 2vw;
    }

    .tab2 .list-item {
        top: 52.6%;
        width: 100%;
    }

    .tab2 .list-item .list-item_center {
        top: 45%;
        width: 96%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 2vw;
        row-gap: 0.8vw;
    }

    .tab2 .list-item .item .btn-reward p {
        left: 16%;
        font-size: 3vw;
    }

    .tab2 .list-item .list-item_foot {
        bottom: 2%;
        width: 100%;
        gap: 3.6vw;
    }

    .tab2 .list-item .list-item_foot .btn {
        width: 15%;
    }

    .tab2 .list-item .list-item_foot p {
        font-size: 4.4vw;
    }

    .tab2 .list-item .list-item_foot p span {
        font-size: 5.4vw;
    }

    .tab2 .infor {
        bottom: -4.6%;
        width: 100%;
    }

    .tab2 .infor p {
        font-size: 2.8vw;
        margin-inline: 2.6vw;
    }

    .tab2 .list-item .item .frame-point {
        left: -2%;
        width: 48%;
    }

    .tab2 .list-item .item .frame-point p {
        font-size: 1.8vw;
        line-height: 2vw;
        top: 20%;

    }

    .tab2 .list-item .item .text-gift p {
        font-size: 2.2vw;
        line-height: 2.6vw;
    }
}

/* TAB 3 */

.tab3 .title {
    position: absolute;
    left: 50%;
    top: 5.8%;
    transform: translate(-50%, -50%);
    width: 18.4%;
    z-index: 1;
}

.tab3 .text-infor {
    position: absolute;
    left: 50%;
    top: 11%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
    font-size: 1.22vw;
    width: 100%;
}

.tab3 .frame-count_huyetan {
    position: absolute;
    left: 50%;
    top: 16%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #000;
    z-index: 1;
    font-size: 1.22vw;
    font-weight: bold;
    background-color: #FFAE00;
    border-radius: 2vw;
    padding-inline: 1vw;
    padding-block: 0.2vw;
}

.tab3 .list-gift {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
    gap: 3vw;
    width: 50%;
}

.tab3 .list-gift .gift {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    cursor: pointer;
    filter: grayscale(0)
}

.tab3 .list-gift .gift.active {
    filter: grayscale(0)
}

.tab3 .list-gift.animate-in .gift {
    opacity: 0;
    transform: scale(0.5) translateY(30px);
    animation: giftAppear 0.6s ease-out forwards;
}

.tab3 p.text-title {
    position: absolute;
    color: #fff;
    font-size: 1vw;
    bottom: 24.6%;
    text-shadow: 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
    text-align: center;
}

.tab3 .list-gift .gift img {
    width: 100%;
}

.tab3 .list-gift .gift .btn {
    position: absolute;
    bottom: 10%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center
}

.tab3 .list-gift .gift .btn img {
    transition: .3s;
}

.tab3 .list-gift .gift .btn:hover img {
    filter: brightness(120%)
}

.tab3 .list-gift .gift .btn p {
    font-size: 1vw;
    color: white;
    position: absolute;
}

@media (max-width: 767px) {

    .tab3 .title {
        top: 4%;
        width: 56%;
    }

    .tab3 .text-infor {
        top: 9%;
        font-size: 3.4vw;
        width: 86%;
    }

    .tab3 .frame-count_huyetan {
        top: 13%;
        font-size: 3.6vw;
        border-radius: 4vw;
        padding-inline: 3vw;
        padding-block: 0.6vw;
    }

    .tab3 .list-gift {
        top: 59%;
        gap: 0vw;
        width: 39%;
        flex-direction: column;
    }

    .tab3 .list-gift .gift .btn p {
        font-size: 2.8vw;
    }

    .tab3 p.text-title {
        font-size: 2.6vw;
    }
}

/* 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;
}

#popup .main-content .content-popup p.popup_mess-noti {
    color: #fff;
    font-size: 1.2vw;
}

#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;
    }

    #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 .btn-dangnhap img,
#popup-dang-nhap .btn-down img {
    width: 100%;
    transition: .3s;
}

#popup-dang-nhap .btn-dangnhap:hover img {
    filter: brightness(120%);
}

#popup-dang-nhap .list-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    width: 30%;
}

#popup-dang-nhap .list-btn .btn-down {
    cursor: pointer;
}

@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;
    }
}

#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;
    }
}

/* THỂ LỆ */
#popup-the-le .main-content {
    bottom: 6%;
}

#popup-the-le .main-content .content-popup {
    overflow-y: scroll;
    width: 80%;
    margin-top: 1vw;
}

@media (max-width: 767px) {
    #popup-the-le .main-content {
        bottom: 6%;
    }

    #popup-the-le .main-content .content-popup {
        margin-top: 2vw;
    }
}

#popup-the-le .main-content {
    bottom: 6%;
}

#popup-the-le .main-content .content-popup {
    overflow-y: scroll;
    width: 80%;
    margin-top: 1vw;
}

#popup-the-le p.popup_mess-noti {
    text-align: left !important;
    line-height: 1.5;
}

#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: 2vw;
    }

    #popup-huong-dan .main-content {
        bottom: 6%;
    }

    #popup-huong-dan .main-content .content-popup {
        margin-top: 2vw;
    }
}

#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;
}

.tab1 .background,
.tab2 .background,
.tab3 .background {
    width: 100%;
}

.action_copy {
    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.1vw
}

@media (max-width: 767px) {
    .action_copy {
        padding: 1vw 1.6vw;
        border-radius: 0.6vw;
        font-size: 2.4vw
    }
}