@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2.ttf");
}

@font-face {
  font-family: "SVN Avo";
  src: url("../fonts/SVN-Avo.ttf");
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lightSweep {
  0% {
    -webkit-mask-position: 150% 0;
    mask-position: 150% 0;
  }

  100% {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

@keyframes zoomBtn {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.11);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lixiSwing {
  0% {
    transform: rotate(0deg) translateY(0);
  }

  10% {
    transform: rotate(5deg) translateY(-1px);
  }

  20% {
    transform: rotate(-5deg) translateY(0);
  }

  30% {
    transform: rotate(4deg) translateY(-1px);
  }

  40% {
    transform: rotate(-4deg) translateY(0);
  }

  50% {
    transform: rotate(3deg) translateY(-1px);
  }

  60% {
    transform: rotate(-3deg) translateY(0);
  }

  70% {
    transform: rotate(2deg) translateY(-1px);
  }

  80% {
    transform: rotate(-2deg) translateY(0);
  }

  90% {
    transform: rotate(1deg);
  }

  100% {
    transform: rotate(0deg) translateY(0);
  }
}

@keyframes rotateLight {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.lixi-item.swing {
  animation: lixiSwing 1.6s cubic-bezier(0.36, 0.07, 0.19, 0.97);
  transform-origin: 50% 90%;
}

.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: "Exo2", sans-serif;
}

body,
ul,
li,
p {
  margin: 0;
}

li {
  list-style: none;
}

::-webkit-scrollbar {
  display: none;
}

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,
  .desk {
    display: none;
  }

  img.mobi {
    display: block;
  }
}

.btn-brightness {
  cursor: pointer;
}

.btn-brightness img {
  width: 100%;
  transition: 0.3s;
}

.btn-brightness:hover img {
  filter: brightness(125%);
}

.btn {
  cursor: pointer;
  width: 100%;
}

.btn img {
  width: 100%;
}

.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%);
}

.hidden {
  display: none !important;
}

.w-full {
  width: 100%;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-start {
  justify-content: flex-start;
}

.invisible {
  visibility: hidden;
  font-size: 1vw;
}

.gz-text-main {
  color: #416a6d;
}

.gz-AndroidOS {
  width: 76% !important;
}

.gz-brightness-125 {
  filter: brightness(125%);
}

/* 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 */
header .main-header {
  position: absolute;
  top: unset;
  width: 100%;
  z-index: 5;
}

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: 0.3s ease-out;
  cursor: pointer;
}

header .desk a:hover img {
  transform: scale(1.1);
}

header .mobi {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5vw;
  padding-inline: 2vw;
  padding-block: 0.7vw;
  background-color: #020202;
}

@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: 3vw;
  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: 2vw;
  width: 40%;
}

header #menu_mobile {
  opacity: 0;
  transition: 0.5s ease-in-out;
  transform: translateX(26vw);
  background-color: #020202;
  padding-block: 1.6vw;
  padding-inline: 3vw;
  position: fixed;
  right: 0.5vw;
  margin-top: 0.5vw;
  border-radius: 2vw;
  color: #0aaf8e;
  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: #d9d9d9;
  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;
}

.waring {
  position: fixed;
  top: 24%;
  left: 0;
  width: 10.6%;
  z-index: 5;
}

@media (max-width: 767px) {
  .waring {
    width: 13%;
    top: 22%;
  }
}

.tab1,
.tab2,
.tab3,
.tab4 {
  position: relative;
  overflow: hidden;
}

.tab1 {
  display: flex;
  justify-content: center;
}

.tab1 .background,
.tab2 .background,
.tab3 .background {
  width: 100%;
}

/* TAB 1 HEADER */
.tab1 .main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7%;
  background: rgba(0, 0, 0, 0.72);
  z-index: 10;
}

.tab1 .header-inner {
  width: 50%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* Logo */
.tab1 .header-logo {
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tab1 .header-logo a {
  display: block;
  width: 100%;
  position: relative;
}

.tab1 .header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Menu tự chiếm phần còn lại */
.tab1 .header-menu {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* Item */
.tab1 .menu-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab1 .menu-item a {
  color: #fff;
  text-decoration: none;
  font-family: "SVN Avo", sans-serif;
  font-size: 1.1vw;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
}

.tab1 .menu-item a:hover {
  color: #ffd36a;
  text-shadow:
    0 0 5px rgba(255, 211, 106, 0.5),
    0 0 12px rgba(255, 211, 106, 0.35),
    0 0 20px rgba(255, 211, 106, 0.2);
  transform: scale(1.05);
}

.tab1 .menu-divider {
  width: 0.1%;
  height: 70%;
  background: linear-gradient(to bottom,
      transparent 0%,
      #6f5527 15%,
      #d8b76a 45%,
      #e6c879 50%,
      #d8b76a 55%,
      #6f5527 85%,
      transparent 100%);
}

.tab1 .slogan {
  position: absolute;
  width: 53%;
  top: 9%;
}

.tab1 .btn-dangnhap {
  position: absolute;
  width: 15%;
  top: 60%;
  animation: zoomBtn 1s ease-in-out infinite;
}

.tab1 .btn-dangnhap span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-size: 1.2vw;
  font-weight: bold;
  font-family: "SVN Avo", fantasy;
  color: #ffd08b;
  pointer-events: none;
  white-space: nowrap;
}

.tab1 .btn-dangnhap:hover {
  filter: brightness(1.3) drop-shadow(0 0 0.5vw rgba(255, 220, 120, 0.9));
}

.tab1 .btn-nhanluot {
  position: absolute;
  width: 10%;
  top: 70%;
}

@media (max-width: 767px) {
  .tab1 .slogan {
    width: 100%;
    top: 12%;
  }

  .tab1 .btn-dangnhap {
    width: 40%;
    top: 60%;
  }

  .tab1 .btn-dangnhap span {
    font-size: 3.5vw;
  }
}

/* LANDING */
.landing {
  width: 100%;
  position: relative;

  background-image: url("../images/bg-desk.webp");
  background-position: top center;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .landing {
    background-image: url("../images/bg-mobi.webp");
    background-size: 100% auto;
  }
}

/* TAB 2 */
.tab2 {
  width: 100%;
  position: relative;
  padding-top: 8vw;
}

.tab2-space {
  width: 100%;
  height: 48vw;
}

.tab2-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.tab2 .slogan {
  position: absolute;
  width: 30%;
  top: 3%;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 2;
}

.tab2 .btn-diemdanh {
  position: absolute;
  width: 17%;
  top: 64%;
  left: 20%;
  z-index: 2;
  animation: zoomBtn 1s ease-in-out infinite;
}

.tab2 .btn-diemdanh:hover {
  filter: brightness(1.3) drop-shadow(0 0 0.5vw rgba(255, 220, 120, 0.9));
}

.tab2 .luot {
  position: absolute;
  width: 20%;
  top: 67%;
  right: 26%;
  z-index: 2;
}

.tab2 .luot p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: #fff;
  font-size: 1vw;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}

.tab2 .luot p span {
  color: #ffd08b;
  margin: 0 0.3vw;
}

.tab2 .list-btn {
  position: absolute;
  width: 40%;
  top: 82%;
  left: 44%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
  z-index: 3;
}

.tab2 .btn-lichsu {
  transform: scale(0.75);
}

.tab2 .btn-lichsu:hover {
  transform: scale(0.85);
  filter: brightness(1.3) drop-shadow(0 0 0.5vw rgba(255, 220, 120, 0.9));
}

.tab2 .btn-lixi {
  transform: scale(1.2);
  animation: zoomBtn 1s ease-in-out infinite;
}

.tab2 .btn-lixi:hover {
  filter: brightness(1.4) drop-shadow(0 0 0.5vw rgba(255, 220, 120, 0.9));
}

.tab2 .btn-thele {
  transform: scale(0.75);
}

.tab2 .btn-thele:hover {
  transform: scale(0.85);
  filter: brightness(1.3) drop-shadow(0 0 0.5vw rgba(255, 220, 120, 0.9));
}

.tab2 .lixi-item {
  position: absolute;
  width: 8%;
  top: 30%;
  left: 44%;
  z-index: 4;
}

.tab2 .lixi-item .light {
  position: absolute;
  width: 250%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  animation: rotateLight 4s linear infinite;
}

.tab2 .lixi-item .lixi {
  position: relative;
  width: 68%;
  margin: 0 auto;
  z-index: 2;
}

.tab2 .lixi-item .lixi img {
  display: block;
  width: 100%;
}

.tab2 .lixi-item .lixi-name {
  display: block;
  margin-top: -2.5vw;
  color: #ffd08b;
  font-size: 0.8vw;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  position: relative;
  z-index: 3;
}

.tab2 .lixi-item.lixi-2 {
  width: 6%;
  top: 25%;
  left: 56%;
}

.tab2 .lixi-item.lixi-2 .lixi-name {
  font-size: 0.7vw;
  margin-top: -2.2vw;
}

.tab2 .lixi-item.lixi-3 {
  width: 8%;
  top: 45%;
  left: 51%;
}

.tab2 .lixi-item.lixi-4 {
  width: 8%;
  top: 20%;
  left: 65%;
}

.tab2 .lixi-item.lixi-5 {
  width: 6%;
  top: 40%;
  left: 63%;
}

.tab2 .lixi-item.lixi-6 {
  width: 8%;
  top: 25%;
  left: 75%;
}

.tab2 .lixi-item.lixi-7 {
  width: 8%;
  top: 45%;
  left: 72%;
}

@media (max-width: 767px) {
  .tab2 {
    padding-top: 12vw;
    margin-bottom: 0vw;
  }

  .tab2-space {
    height: 281vw;
  }

  .tab2 .slogan {
    width: 70%;
    top: 3%;
  }

  .tab2 .btn-diemdanh {
    width: 45%;
    top: 37%;
    left: 27%;
  }

  .tab2 .luot {
    width: 70%;
    top: 85%;
    right: 14%;
  }

  .tab2 .luot p {
    font-size: 3.5vw;
  }

  .tab2 .list-btn {
    width: 100%;
    top: 94%;
    left: 0%;
    gap: 1%;
  }

  .tab2 .btn-lichsu,
  .tab2 .btn-thele {
    transform: scale(0.8);
  }

  .tab2 .btn-lixi {
    animation: zoomBtnMobi 1s ease-in-out infinite;
  }

  .tab2 .lixi-item {
    width: 23%;
    top: 58%;
    left: 0%;
  }

  .tab2 .lixi-item .light {
    width: 250%;
  }

  .tab2 .lixi-item .lixi {
    width: 68%;
  }

  .tab2 .lixi-item .lixi-name {
    margin-top: -7vw;
    font-size: 2.5vw;
  }

  .tab2 .lixi-item.lixi-2 {
    width: 18%;
    top: 53%;
    left: 26%;
  }

  .tab2 .lixi-item.lixi-2 .lixi-name {
    font-size: 2vw;
    margin-top: -6vw;
  }

  .tab2 .lixi-item.lixi-3 {
    width: 23%;
    top: 66%;
    left: 17%;
  }

  .tab2 .lixi-item.lixi-4 {
    width: 23%;
    top: 49%;
    left: 49%;
  }

  .tab2 .lixi-item.lixi-5 {
    width: 18%;
    top: 60%;
    left: 46%;
  }

  .tab2 .lixi-item.lixi-6 {
    width: 23%;
    top: 68%;
    left: 62%;
  }

  .tab2 .lixi-item.lixi-7 {
    width: 23%;
    top: 56%;
    left: 76%;
  }
}

@keyframes zoomBtnMobi {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/* TAB 3 */
.tab3 {
  width: 100%;
  position: relative;
  padding-top: 8vw;
}

.tab3 .tab3-space {
  width: 100%;
  height: 48vw;
}

.tab3 .tab3-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tab3 .slogan {
  position: absolute;
  width: 35%;
  top: 5%;
}

.tab3 .luot {
  position: absolute;
  width: 20%;
  top: 75%;
}

.tab3 .luot p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: #fff;
  font-size: 1vw;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}

.tab3 .luot p span {
  color: #ffd08b;
  margin: 0 0.3vw;
}

.tab3 .list-btn {
  position: absolute;
  width: 50%;
  top: 87%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
  z-index: 3;
}

.tab3 .btn-lichsu {
  transform: scale(0.75);
}

.tab3 .btn-lichsu:hover {
  transform: scale(0.85);
  filter: brightness(1.3) drop-shadow(0 0 0.5vw rgba(255, 220, 120, 0.9));
}

.tab3 .btn-dotphao {
  transform: scale(1.2);
  animation: zoomBtn 1s ease-in-out infinite;
}

.tab3 .btn-dotphao:hover {
  filter: brightness(1.4) drop-shadow(0 0 0.5vw rgba(255, 220, 120, 0.9));
}

.tab3 .btn-thele {
  transform: scale(0.75);
}

.tab3 .btn-thele:hover {
  transform: scale(0.85);
  filter: brightness(1.3) drop-shadow(0 0 0.5vw rgba(255, 220, 120, 0.9));
}

@media (max-width: 767px) {
  .tab3 {
    padding-top: 12vw;
    margin-bottom: 0vw;
  }

  .tab3 .tab3-space {
    height: 157vw;
  }

  .tab3 .slogan {
    width: 70%;
    top: 3%;
  }

  .tab3 .slogan {
    width: 75%;
    top: 5%;
  }

  .tab3 .luot {
    width: 70%;
    top: 75%;
  }

  .tab3 .luot p {
    font-size: 3.5vw;
  }

  .tab3 .list-btn {
    width: 100%;
    top: 88%;
    gap: 1%;
  }

  .tab3 .btn-lichsu,
  .tab3 .btn-thele {
    transform: scale(0.8);
  }

  .tab3 .btn-dotphao {
    animation: zoomBtnMobi 1s ease-in-out infinite;
  }
}

/* NAV RIGHT  */
.nav-right {
  position: fixed;
  top: 18%;
  right: 0%;
  width: 10%;
  transition: 0.35s ease-in-out;
  z-index: 5;
}

.nav-right .list-item {
  width: 75%;
  position: absolute;
  top: 28%;
  left: 10%;
  right: 0;
  margin: 0 auto;
  text-align: center;
}

.nav-right .btn-nap {
  width: 82%;
  position: absolute;
  left: 9%;
  right: 0;
  margin: 0 auto;
  bottom: 4%;
  transition: 0.35s ease-in-out;
}

.nav-right .list-item a {
  display: block;
  color: #0457c3;
  font-size: 0.9vw;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5vw;
  transition: 0.35s ease-in-out;
}

.nav-right.active {
  transform: translateX(89%);
  transition: 0.35s ease-in-out;
}

.nav-right.active .btn-nav img {
  transition: 0.35s ease-in-out;
}

.nav-right .content-nav-right .list-item a:hover,
.nav-right .content-nav-right .btn-nap:hover {
  filter: brightness(110%);
  transform: scale(1.05);
}

.nav-right .content-nav-right .btn-nav {
  width: 25%;
  position: absolute;
  top: 22%;
  left: -10%;
  cursor: pointer;
  transition: 0.35s ease-in-out;
  z-index: 9;
}

/* FOOTER */
footer {
  position: relative;
  overflow-x: hidden;
}

footer .content {
  background-color: #000;
  gap: 2vw;
  padding-block: 1.4vw;
  display: flex;
}

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;
}

footer .content .main-content p {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  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 {
  opacity: 0;
  display: flex;
  transform: scale(0);
  transition: 0.45s ease-in-out;
  position: absolute;
  width: 34%;
  justify-content: center;
}

#popup .item-popup.active {
  opacity: 1;
  transition: 0.5s ease-in-out;
  transform: scale(1.05);
}

#popup .bg-popup {
  width: 100%;
}

#popup .btn-close {
  position: absolute;
  top: -6%;
  right: -5%;
  z-index: 2;
  cursor: pointer;
  width: 8%;
}

#popup .btn-close img {
  transition: 0.2s ease-out;
  width: 100%;
}

#popup .btn-close:hover img {
  transform: scale(1.1);
}

#popup .main-content {
  position: absolute;
  top: 5%;
  bottom: 8%;
  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: #000;
  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: 86%;
  }

  #popup .main-content {
    top: 4%;
  }

  #popup .btn-close {
    top: -5%;
    right: -4%;
    width: 7%;
  }

  #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 THÔNG BÁO */
#popup-thong-bao .title {
  width: 100%;
  text-align: center;
  margin-top: 1vw;
}

#popup-thong-bao .title span {
  display: block;
  color: #8e2f15;
  font-size: 1.5vw;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 767px) {
  #popup-thong-bao .title {
    width: 100%;
    margin-top: 3vw;
  }

  #popup-thong-bao .title span {
    font-size: 5vw;
    line-height: 1.3;
  }

  #popup-thong-bao .content-popup p {
    font-size: 3.5vw;
    line-height: 1.6;
    margin: 5vw 0 0;
  }
}

/* THỂ LỆ */
#popup-the-le1 .title,
#popup-the-le2 .title {
  width: 100%;
  text-align: center;
  margin-top: 1vw;
}

#popup-the-le1 .title span,
#popup-the-le2 .title span {
  display: block;
  color: #8e2f15;
  font-size: 1.5vw;
  font-weight: bold;
  text-align: center;
}

#popup-the-le1 .content-popup,
#popup-the-le2 .content-popup {
  overflow-y: scroll;
  width: 80% !important;
  margin-top: 1vw;
}

#popup-the-le1 .content-popup::-webkit-scrollbar,
#popup-the-le2 .content-popup::-webkit-scrollbar {
  display: block !important;
  width: 4px !important;
  cursor: pointer;
}

#popup-the-le1 .content-popup::-webkit-scrollbar-thumb,
#popup-the-le2 .content-popup::-webkit-scrollbar-thumb {
  background: #8e2f15;
  border-radius: 4px !important;
  cursor: pointer;
}

#popup-the-le1 .content-popup::-webkit-scrollbar-track,
#popup-the-le2 .content-popup::-webkit-scrollbar-track {
  background: #888;
}

#popup-the-le1 .content-popup p,
#popup-the-le2 .content-popup p {
  color: #000;
  font-size: 1.2vw;
  text-align: left;
  padding-right: 0.4vw;
}

@media (max-width: 767px) {

  #popup-the-le1 .title,
  #popup-the-le2 .title {
    width: 100%;
    margin-top: 3vw;
  }

  #popup-the-le1 .title span,
  #popup-the-le2 .title span {
    font-size: 5vw;
    line-height: 1.3;
  }

  #popup-the-le1 .content-popup p,
  #popup-the-le2 .content-popup p {
    color: #000;
    font-size: 2.5vw !important;
    line-height: 3.6vw;
    padding-right: 1.6vw;
  }
}

/* POPUP ĐĂNG NHẬP */
#popup-dang-nhap .logo-game {
  width: 20%;
  margin-inline: auto;
  position: relative;
  margin-top: 3%;
}

#popup-dang-nhap p.title {
  width: 100%;
  margin: 0.5vw 0;
  color: #0e0101;
  font-size: 1.2vw;
  font-weight: 700;
  text-align: center;
  font-family: "SVN Avo", sans-serif;
}

#popup-dang-nhap p.warning {
  color: #cc1d20;
  font-size: 0.8vw;
  margin: 0.5vw 0;
  width: 100%;
  text-align: center;
}

#popup-dang-nhap p.sign-in {
  color: #7c7c7c;
  font-size: 0.8vw;
  margin: 0.5vw 0;
  width: 100%;
  text-align: center;
}

#popup-dang-nhap .list-btn_sign-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 30%;
  margin-inline: auto;
}

#popup-dang-nhap .list-btn_sign-in .btn-brightness {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4vw;
}

#popup-dang-nhap .list-btn_sign-in .btn-brightness img {
  border-radius: 50%;
  width: 38%;
}

#popup-dang-nhap .list-btn_sign-in .btn-brightness p {
  color: #cc1d20;
  font-size: 0.8vw;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 767px) {
  #popup-dang-nhap .logo-game {
    width: 17%;
  }

  #popup-dang-nhap p.title {
    font-size: 4vw;
  }

  #popup-dang-nhap p.title {
    width: 100%;
    font-size: 3vw;
    font-weight: 700;
  }

  #popup-dang-nhap p.warning {
    font-size: 2.5vw;
  }

  #popup-dang-nhap p.sign-in {
    font-size: 3vw;
  }

  #popup-dang-nhap .list-btn_sign-in .btn-brightness p {
    font-size: 3vw;
  }

  #popup-dang-nhap .list-btn_sign-in .btn-brightness {
    gap: 1vw;
  }
}

/* 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 .title span {
  display: block;
  color: #8e2f15;
  font-size: 1.5vw;
  font-weight: bold;
  text-align: center;
}

#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: #000000;
  background-color: #f0dcc4;
  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: #000000;
  border: none;
  background-color: #daa86d;
  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 .title span {
    font-size: 3.5vw;
  }


  #popup-lich-su .title-lichsu .title-history button {
    font-size: 2.2vw;
    padding: 0.8vw 0;
  }

  #popup-lich-su .content-popup .content-lichsu {
    width: 86%;
    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;
  }
}

#giftcode-wrapper {
  text-align: center;
  font-size: 1.2vw
}

#giftcode-wrapper p.ma-code {
  color: #8e2f15;
  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 {
  width: 90%;
}

.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
  }
}