* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

@font-face {
  font-family: "exo";
  src: url("../fonts/Exo2-Regular.ttf");
}

@keyframes wave {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.13);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lenxuong {
  0% {
    transform: translateX(0px);
  }

  25% {
    transform: translateY(10px);
  }

  50% {
    transform: translateY(15px);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes hihi {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scaleZ(1);
  }

  10%,
  20% {
    -webkit-transform: rotate3d(0, 0, 1, -30deg);
    -ms-transform: rotate3d(0, 0, 1, -30deg);
    transform: rotate3d(0, 0, 1, -30deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: rotate3d(0, 0, 1, 20deg);
    -ms-transform: rotate3d(0, 0, 1, 20deg);
    transform: rotate3d(0, 0, 1, 20deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    -ms-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scaleZ(1);
  }
}

@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.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  100% {
    transform: scaleZ(1);
  }
}

@keyframes shake {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scaleZ(1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scaleZ(1);
  }
}

@keyframes rotateAnimation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-shake {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-7deg);
  }

  50% {
    transform: rotate(7deg);
  }

  75% {
    transform: rotate(-4deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes flip {
  0% {
    transform: rotateX(0);
  }

  50% {
    transform: rotateX(90deg);
    opacity: 0.5;
  }

  100% {
    transform: rotateX(0);
    opacity: 1;
  }
}

@keyframes strong-sway {
  0% {
    transform: rotate(-4deg);
  }
  100% {
    transform: rotate(4deg);
  }
}

/* HEADER START */
.header {
  z-index: 3;
  position: absolute;
  top: unset;
  left: 0;
  right: 0;
}

.header .header_desk {
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgb(0 0 0 / 65%);
}

.header .header_desk ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.header .header_desk ul li {
  list-style: none;
  padding: 20px 0px 15px 0px;
}

.header .header_desk ul li a {
  margin-top: -8px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #fff;
  font-size: 20px;
}

.header .header_desk ul li a:hover {
  text-decoration: none;
}

.header .header_desk ul li a svg {
  /* margin: 0px 10px; */
  margin-right: 10px;
  width: 1.5vw;
  color: #fff;
}

.header .header_mobile {
  display: none;
}

@media (max-width: 767px) {
  .header .header_mobile {
    display: block;
    z-index: 3;
  }

  .header .header_desk {
    display: none;
  }

  .header .header_mobile .menu_set {
    background-color: #27282a;
    padding: 10px 0px;
  }

  .header_mobile .menu_set .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px !important;
  }

  .header .header_mobile .container .link_download {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header .header_mobile .container .link_download a img {
    width: 28vw;
    margin: 0 5px;
  }

  .header .header_mobile .container .link_download a img.android {
    width: 25vw;
    margin: 0 5px;
  }

  .header_mobile .container .logo {
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header .header_mobile .logo .img_logo img {
    width: 11vw;
    border-radius: 13px;
  }

  .header .header_mobile .logo .name_game p {
    font-weight: 700;
    color: #ffc971;
    font-family: "exo";
    font-size: 3.5vw;
    margin-left: 7px;
    margin-bottom: 0;
  }

  .header .header_mobile .btn_menu_mobile .item_menu {
    background-color: white;
    width: 35px;
    height: 5px;
    margin: 5px 0px;
    border-radius: 15px;
  }

  .header .header_mobile .btn_menu_mobile {
    margin-right: 10px;
  }

  .header .header_mobile .btn_menu_mobile.active {
    position: relative;
    top: 10px;
    width: 35px;
    height: 35px;
  }

  .header .header_mobile .btn_menu_mobile.active .top {
    position: absolute;
    transform: rotate(45deg);
    transition: 0.5s ease-in-out;
  }

  .header .header_mobile .btn_menu_mobile.active .center {
    display: none;
  }

  .header .header_mobile .btn_menu_mobile.active .bottom {
    position: absolute;
    transform: rotate(134deg);
    transition: 0.5s ease-in-out;
  }

  .header .header_mobile .menu_move {
    background-color: black;
    padding: 10px;
    width: 140px;
    height: 120px;
    position: fixed;
    right: 0;
    z-index: 999;
    opacity: 0;
    border: 1px solid white;
    transform: translateX(130px);
    transition: 0.5s ease-in-out;
    border-radius: 10px;
  }

  .header .header_mobile .menu_move.active {
    transform: translateX(0);
    opacity: 1;
    transition: 0.5s ease-in-out;
  }

  .header .header_mobile .menu_move ul li {
    list-style: none;
  }

  .header .header_mobile .menu_move ul li a {
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    color: white;
  }

  .header .header_mobile .menu_move ul li a svg {
    margin: 0px 5px;
    width: 15px;
  }

  .header .header_mobile .menu_move hr {
    background-color: white;
    margin: 1vw 0px;
  }
}

/* HEADER END */

/* Footer start */

.footer {
  position: relative;
  text-align: center;
  background-color: #000;
  color: white;
  /* padding: 15px 0px; */
  height: 23vh;
}

.footer p,
.footer a {
  font-family: "exo";
  margin: 0;
  font-size: 0.8vw;
}

.footer a:hover {
  color: white;
  text-decoration: none;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0px;
  flex-wrap: wrap;
}

.footer .logo {
  width: 10vw;
}

.footer a {
  text-decoration: none;
  color: white;
}

.footer .warring_desk {
  width: 3.5vw;
}

.footer .warring_mobile {
  display: none;
}

@media (max-width: 767px) {
  .footer{
    height: 38vh;
  }
  .footer p,
  .footer a {
    font-size: 2.5vw;
  }

  .footer .container {
    padding: 5px 0;
  }

  .footer .warring_mobile {
    display: block;
    margin-left: 10px;
  }

  .footer .logo {
    margin: 5px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer .logo {
    width: 100%;
  }

  .footer .warring_desk {
    display: none;
  }
}

/* FOOTER END */

/* LOADING  */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #d21e21;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loading .spinner {
  position: relative;
  border: 8px solid rgba(0, 0, 0, 0.1);
  border-top: 8px solid #fff;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  animation: spin 1s linear infinite;
}

.loading .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#content {
  visibility: hidden;
}

/* LOADING END  */

/* GENERAL SETTINGS */
/* ẩn pagination mặc định  */
#pp-nav {
  display: none !important;
}
.section {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

@-webkit-keyframes scaleA {
    0% {
        opacity: 0;
        -webkit-transform: scale(1.4);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}

.section{position: relative;overflow: hidden;}
.section.active{-webkit-animation: scaleA 1s ease both;}

.section-footer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #111;
  height: auto !important; /* cho footer cao theo nội dung */
  min-height: 100vh; /* vẫn chiếm 1 màn hình để plugin không lỗi */
}

.main-swiper {
  width: 100%;
  height: 100%;
}
html,
body {
  margin: 0;
  height: 100%;
  height: auto; /* cho phép body cao hơn viewport */
  overflow: auto; /* cho phép cuộn tiếp sau pagepiling */
}
body.active {
  overflow: hidden !important;
}

::-webkit-scrollbar {
  display: none;
}

video.desk {
  display: block;
}

video.mob {
  display: none;
}

@media (max-width: 767px) {
  video.desk {
    display: none;
  }

  video.mob {
    display: block;
  }
}

img.desk {
  display: block;
}

img.mob {
  display: none;
}

@media (max-width: 767px) {
  img.desk {
    display: none;
  }

  img.mob {
    display: block;
  }
}

.desk {
  display: block;
}

.mob {
  display: none;
}

@media (max-width: 767px) {
  .desk {
    display: none;
  }

  .mob {
    display: block;
  }
}

.title {
  margin: auto;
}

/* END GENERAL SETTINGS */

/* TAB 1  */
.tab1 {
  position: relative;
  /* margin-bottom: -1vw; */

  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  width: 100%;
}

.tab1 .background {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.3s;
  width: 100%;
}
.tab1 .background video{
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.tab1 .slogan {
  width: 28%;
  position: absolute;
  top: 7%;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 2;
}

.tab1 .desc {
  width: 24%;
  margin: 0 auto;
  position: absolute;
  top: 24%;
  left: 0;
  right: 0;
  z-index: 2;
}

.tab1 .warning-tab1 {
  width: 10%;
  position: fixed;
  top: 5%;
  left: 0;
  z-index: 2;
}

.tab1 .btn-play {
  width: 4.5%;
  margin: 0 auto;
  position: absolute;
  top: 33%;
  left: 0;
  right: 0;
  animation: zoom 1s infinite linear;
  cursor: pointer;
  z-index: 2;
}

.tab1 .list-gift {
  position: absolute;
  top: 39%;
  left: 0;
  right: 0;
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-top: 2vw;
  gap: 15px;
  z-index: 2;
}

.tab1 .title {
  width: 33%;
  position: absolute;
  top: 74%;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 2;
}

.tab1 .list-btn {
  position: absolute;
  top: 85%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  gap: 15px;
  z-index: 2;
}

.tab1 .list-btn .item-btn {
  cursor: pointer;
  transition: 0.35s ease-in-out;
}

.tab1 .list-btn .item-btn:hover {
  transform: scale(1.1);
}

.tab1 .overlay {
  background-color: #000;
  height: 100%;
  left: 0;
  opacity: 0.5;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

@media (max-width: 767px) {
  .tab1 {
    overflow: hidden;
    margin-top: 0vw;
    background-image: url(../images/bg-tab1-mobi.webp);
  }

  .tab1 .warning-tab1 {
    width: 15%;
    position: absolute;
    top: 33%;
    left: 0;
    z-index: 99;
  }

  .tab1 .desc {
    width: 67%;
    top: 23%;
  }

  .tab1 .btn-play {
    width: 22%;
    top: 30%;
  }

  .tab1 .list-gift {
    width: 34%;
    top: 45%;
    gap: 0px;
  }

  .tab1 .title {
    width: 92%;
    top: 65%;
  }

  .tab1 .slogan {
    width: 90%;
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .tab1 .list-btn {
    top: 72%;
  }
}

/* TAB 1 END  */

/* TAB 2  */
.tab2 {
  position: relative;
  background-image: url(../images/bg-tab2-desk.webp);
  background-size: 100%;
  /* background-repeat: no-repeat; */

  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  width: 100%;
}

.tab2 .title{
  width: 18%;
}

.tab2 .content-tab2 {
  width: 60%;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
  margin-top: 0.6vw;
}

.tab2 .content-tab2 .item-gift {
  position: relative;
}

.tab2 .content-tab2 .item-gift .title {
  width: 77%;
  position: absolute;
  top: 13%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.tab2 .content-tab2 .item-gift .gift {
  width: 100%;
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.tab2 .content-tab2 .item-gift .btn-nhan-thuong {
  width: 70%;
  position: absolute;
  top: 75%;
  left: 0;
  right: 0;
  margin: 0 auto;
  cursor: pointer;
  transition: 0.35s ease-in-out;
  filter: grayscale(1);
}

.tab2 .content-tab2 .item-gift .btn-nhan-thuong.active {
  filter: grayscale(0);
}
.tab2 .content-tab2 .item-gift .btn-nhan-thuong:hover {
  transform: scale(1.05);
}

.tab2 .sach-dang-ky {
  width: 12%;
  margin: 0 auto;
  cursor: pointer;
  transition: 0.35s ease-in-out;
}

.tab2 .sach-dang-ky:hover {
  transform: scale(1.05);
}

.tab2 .text-count-register {
  font-size: 1.2vw;
  text-align: center;
  color: #fff;
}

@media (max-width: 767px) {
  .tab2 {
    overflow: hidden;
    padding-top: 1vw;
    background-image: url(../images/bg-tab2-mobi.webp);
  }

  .tab2 .title{
    width: 45%;
  }
  

  .tab2 .content-tab2 {
    width: 60%;
    flex-wrap: wrap;
  }

  .tab2 .content-tab2 .item-gift {
    width: 49%;
  }
  .tab2 .sach-dang-ky {
    width: 30%;
  }
  .tab2 .text-count-register {
    font-size: 3.5vw;
  }
}

/* TAB 2 END  */

/* TAB 3  */
.tab3 {
  position: relative;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  width: 100%;
}
.tab3 .background img{
  height: 100vh;
}
.tab3 .item-gift {
  position: absolute;
  width: 8%;
}

.tab3 .gift-1 {
  top: 12%;
  left: 36%;
}

.tab3 .gift-2 {
  top: 12%;
  left: 55%;
}
.tab3 .gift-3 {
  top: 26%;
  left: 27%;
}
.tab3 .gift-4 {
  top: 29%;
  left: 38%;
}
.tab3 .gift-5 {
  top: 29%;
  left: 54%;
}
.tab3 .gift-6 {
  top: 26%;
  left: 64%;
}

.tab3 .item-gift .bg {
  animation: rotateAnimation 4s infinite linear;
}

.tab3 .item-gift .sach {
  width: 57%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tab3 .btn-trieu-hoi {
  width: 15%;
  margin: 0 auto;
  position: absolute;
  top: 65%;
  left: 0;
  right: 0;
  cursor: pointer;
  transition: 0.35s ease-in-out;
}

.tab3 .btn-trieu-hoi:hover {
  transform: scale(1.05);
}

.tab3 .count-luot {
  position: absolute;
  top: 77%;
  left: 0;
  right: 0;
  margin: 0 auto;
  /* color: red; */
  text-align: center;
  /* -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #fff; */
  font-size: 1.3vw;
  font-weight: 700;
  line-height: 150%; /* 36px */
  letter-spacing: -0.456px;
  text-transform: capitalize;


  font-family: 'Cinzel', serif; /* font fantasy/trang trọng */
  font-weight: bold;
  color: #fff;                  /* chữ trắng dễ nhìn hơn */
  text-align: center;
  text-transform: uppercase;    /* in hoa toàn bộ */
  letter-spacing: 1.5px;

  text-shadow: 0 0 6px #6a00ff, 
               0 0 12px #ff00ff,
               0 0 20px rgba(0,0,0,0.6);
  padding: 6px 15px;
  border-radius: 8px;
  display: inline-block;
}

.tab3 .list-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.tab3 .list-btn .item-btn {
  cursor: pointer;
  transition: 0.35s ease-in;
}

.tab3 .list-btn .item-btn:hover {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .tab3 .title {
    width: 100%;
  }
  .tab3 .background img{
    height: 100vh;
  }
  .tab3 .item-gift {
    width: 23%;
  }
  .tab3 .gift-1 {
    top: 8%;
    left: 22%;
  }
  .tab3 .gift-2 {
    top: 8%;
    left: 55%;
  }
  .tab3 .gift-3 {
    top: 38%;
    left: 0%;
  }
  .tab3 .gift-4 {
    top: 28%;
    left: 16%;
  }
  .tab3 .gift-5 {
    top: 28%;
    left: 60%;
  }
  .tab3 .gift-6 {
    top: 38%;
    left: 79%;
  }
  .tab3 .btn-trieu-hoi {
    width: 45%;
    top: 50%;
  }
  .tab3 .count-luot {
    font-size: 3.5vw;
    top: 64%;
  }
  .tab3 .list-btn {
    flex-wrap: wrap;
    gap: 5px;
    bottom: 17%;
  }
  .tab3 .list-btn .item-btn {
    width: 32%;
  }
  .tab3 .list-btn .item-btn:nth-child(4),
  .tab3 .list-btn .item-btn:nth-child(5) {
    margin-top: 15px;
  }
}

/* TAB 3 END  */

/* TAB 4  */
.parent-tab4 {
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  width: 100%;
}
.tab4 {
  position: relative;
  background-image: url(../images/bg-tab4-desk.webp);
  background-size: cover;
  background-repeat: no-repeat;
  /* padding: 5vw 0; */
  height: 77vh;
}

.tab4 .content-tab4 {
  width: 60%;
  position: relative;
  margin: 0 auto;
  z-index: 1;
}

.tab4 .content-tab4 .tinh-nang {
  width: 25%;
  position: absolute;
  top: 5%;
  left: 0;
  z-index: 2;
}

.tab4 .content-tab4 .swiperTab4 {
  width: 86%;
  position: absolute !important;
  top: 13%;
  left: 6%;
}

.tab4 .content-tab4 .swiper-pagination {
  top: 103% !important;
  width: 100%;
}

.tab4 .content-tab4 .swiper-pagination-bullet {
  background: url(../images/pagi-def.webp);
  width: 1.75vw;
  height: 1.75vw;
  background-size: cover;
  opacity: 1;
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 10px) !important;
}

.tab4 .content-tab4 .swiper-pagination-bullet-active {
  background: url(../images/pagi-act.webp);
  width: 1.75vw;
  height: 1.75vw;
  background-size: cover;
}

@media (max-width: 767px) {
  .tab4 {
    overflow: hidden;
    padding: 10vw 0;
    height: 62vh;
  }

  .tab4 .content-tab4 {
    width: 100%;
    margin-top: 10vw;
  }
  .tab4 .content-tab4 .swiper-pagination-bullet {
    width: 5vw;
    height: 5vw;
  }
}

/* TAB 4 END  */

/* NAV RIGHT  */
.nav-right {
  position: fixed;
  top: 15%;
  right: 0%;
  width: 9%;
  transition: 0.35s ease-in-out;
  z-index: 99999;
}

.nav-right .list-item {
  width: 100%;
  position: absolute;
  top: 41%;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
}

.nav-right .btn-nap {
  width: 90%;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 5%;
  transition: 0.35s ease-in-out;
}

.nav-right .list-item a {
  display: block;
  color: #0457c3;
  font-size: 0.9vw;
  font-weight: 700;
  margin-bottom: 0.75vw;
  transition: 0.35s ease-in-out;
}

.nav-right.active {
  transform: translateX(170px);
  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: 35%;
  position: absolute;
  top: 25%;
  left: -25%;
  cursor: pointer;
  transition: 0.35s ease-in-out;
}

/* NAV RIGHT END  */

/* POPUP  */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -9995;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: 0.5s ease-in-out;
}

.popup .background-pop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -9996;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(3px);
}

.content-popup {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  margin: auto;
  /* height: 90%; */
}

.item-popup {
  position: absolute;
  z-index: 9997;
  opacity: 0;
  transform: scale(0);
  transition: 0.45s ease-in-out;
}

.popup .item-popup .content {
  position: absolute;
  top: 20%;
  max-height: 70%;
  bottom: 10%;
  left: 5%;
  right: 5%;
  color: #353252;
  text-align: left;
  overflow: auto;
  font-size: 15px;
}

/* close  */
.popup .item-popup .img-close {
  position: absolute;
  top: 0.5%;
  right: 0.5%;
  cursor: pointer;
  width: 8%;
}

/* active  */
.popup .item-popup.active {
  opacity: 1.2;
  transform: scale(1.05);
  transition: 0.5s ease-in-out;
}

.popup .item-popup.cap-nhat.active {
  opacity: 1.2;
  transform: scale(1);
  transition: 0.5s ease-in-out;
}

.popup.active {
  z-index: 9995;
  opacity: 1.2;
  transition: 0.5s ease-in-out;
}

.popup.active .background {
  z-index: 9996;
}

/* thong-bao  */
.popup .item-popup .thongbao-popup {
  font-size: 1vw;
  text-align: center;
  width: 85%;
  position: absolute;
  top: 15%;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  color: #000;
  max-height: 80%;
}

.popup .item-popup .thongbao-popup .message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.popup .item-popup .thongbao-popup p {
  font-family: "exo";
}

.popup .item-popup .thongbao-popup img {
  width: 20%;
}

/* dang-ky  */
.popup .item-popup .dangky-popup .btn-dang-ky-truoc-pu {
  width: 25%;
  position: absolute;
  top: 45%;
  left: 35%;
  cursor: pointer;
  transition: 0.35s ease-in-out;
}

.popup .item-popup .dangky-popup .btn-dang-ky-truoc-pu:hover {
  transform: scale(1.1);
}

/* the le  */
.popup .item-popup .thele-popup {
  font-size: 1vw;
  width: 85%;
  position: absolute;
  top: 15%;
  left: 0;
  right: 0;
  margin: 0 auto;
  color: #000;
  max-height: 75%;
}

.thele-popup p {
  font-family: "exo";
  text-align: left;
  font-size: 0.9vw;
  margin-bottom: 0.5rem;
}

.thele-popup p.bold {
  font-weight: bold;
}

.thele-popup p span {
  color: #000;
  font-weight: bold;
}

.thele-popup ul li {
  font-size: 0.9vw;
  font-family: "exo";
}

/* nhan luot  */
.popup .item-popup .nhanluot-popup {
  font-size: 1vw;
  margin: 1.5vw 0;
  text-align: center;
  width: 80%;
  height: 65%;
  position: absolute;
  top: 27%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.popup .item-popup .nhanluot-popup .item-nhan-luot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5vw;
}

.popup .item-popup .nhanluot-popup .item-nhan-luot .cot-1,
.popup .item-popup .nhanluot-popup .item-nhan-luot .cot-2 {
  font-family: "duality";
  font-size: 1vw;
  text-align: left;
  color: #3c4663;
}

.popup .item-popup .nhanluot-popup .item-nhan-luot .cot-1 {
  width: 40%;
}

.popup .item-popup .nhanluot-popup .item-nhan-luot .cot-2 {
  width: 20%;
}

.popup .item-popup .nhanluot-popup .item-nhan-luot .cot-3 {
  width: 28%;
  cursor: pointer;
}

/* lich su  */
.popup .item-popup .lichsu-popup {
  position: absolute;
  top: 28%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 80%;
  max-height: 65%;
  text-align: center;
}

.popup .item-popup .lichsu-popup .title-lichsu {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  color: black;
  font-weight: 700;
}

.popup .item-popup .lichsu-popup .title-lichsu .title-history {
  border: 1px solid #000;
  border-bottom: none;
  width: 50%;
}

.popup .item-popup .lichsu-popup .title-lichsu .title-history button {
  padding: 5px 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: 0.7vw;
}

.popup .item-popup .lichsu-popup table {
  width: 100%;
  text-align: center !important;
}

.popup .item-popup .lichsu-popup table th.out-game {
  color: white;
  background-color: transparent;
}

.popup .item-popup .lichsu-popup table th {
  color: #000;
  font-family: "exo";
  background-color: transparent;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  border-top: 1px solid #000;
  font-size: 0.9vw;
}

.popup .item-popup .lichsu-popup table td {
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  color: #000;
  background-color: transparent;
  padding: 5px 1.7vw !important;
  font-size: 0.8vw;
  font-family: "exo";
}

/* doi-thuong  */
.popup .item-popup .doiqua-popup {
  position: absolute;
  top: 15%;
  left: 0;
  right: 0;
  margin: 15px auto;
  width: 90%;
  height: 80%;
  text-align: center;
  color: #fff;
}

.popup .item-popup .doiqua-popup .item-doi-qua {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5vw;
  margin: 0 auto;
  margin-bottom: 1vw;
  border: 1px solid #cd7b23;
  border-radius: 15px;
  padding: 10px;
  width: 90%;
}

.popup .item-popup .doiqua-popup .item-doi-qua .btn-doi-qua {
  cursor: pointer;
  transition: 0.35s ease-in-out;
  width: 40%;
}

.popup .item-popup .doiqua-popup .item-doi-qua .sach {
  width: 60%;
}

.popup .item-popup .doiqua-popup .item-doi-qua .btn-doi-qua:hover {
  transform: scale(1.05);
}

/* nhap ma  */
.popup .item-popup .nhapma-popup {
  position: absolute;
  top: 35%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 70%;
  height: 70%;
  text-align: center;
  color: #000;
}

.popup .item-popup .nhapma-popup p {
  font-size: 0.9vw;
  font-family: "exo";
}

.popup .item-popup .nhapma-popup input[type="text"] {
  width: 65%;
  height: 35px;
  border-radius: 5px;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 0.85vw;
  background-color: #3c4663;
  color: #fff;
  font-family: "exo";
}

.popup .item-popup .nhapma-popup .btn-nhap-ma {
  width: 35%;
  margin: 20px auto;
  cursor: pointer;
}

/* xac nhan  */
.popup .item-popup .xac-nhan-popup {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 70%;
  height: 70%;
  text-align: center;
  color: #000;
}

.popup .item-popup .xac-nhan-popup p {
  font-family: "exo";
  font-size: 1vw;
  margin-bottom: 15px;
}

.popup .item-popup .xac-nhan-popup #img_xac_nhan {
  width: 20%;
  margin-bottom: 15px;
}

.popup .item-popup .xac-nhan-popup .list-btn {
  width: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

.popup .item-popup .xac-nhan-popup .list-btn .item-btn {
  width: 47%;
  cursor: pointer;
  transition: 0.35s ease-out;
}

.popup .item-popup .xac-nhan-popup .list-btn .item-btn:hover {
  transform: scale(1.1);
}

/* share qua  */

.popup .item-popup .share-nhan-popup {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 70%;
  height: 70%;
  text-align: center;
  color: #000;
}

.popup .item-popup .share-nhan-popup p {
  font-family: "exo";
  font-size: 1vw;
  margin-bottom: 15px;
}

.popup .item-popup .share-nhan-popup .list-btn {
  width: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

.popup .item-popup .share-nhan-popup .list-btn .item-btn {
  width: 47%;
  cursor: pointer;
  transition: 0.35s ease-out;
}

.popup .item-popup .share-nhan-popup .list-btn .item-btn:hover {
  transform: scale(1.1);
}

/* share qua  */
.popup .item-popup .share-popup {
  font-size: 1vw;
  margin: 1.5vw 0;
  width: 85%;
  height: 60%;
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.popup .item-popup .share-popup .item-manh {
  position: relative;
  width: 13%;
  margin: 0 0.5vw;
}

.popup .item-popup .share-popup .item-manh .item {
  width: 100%;
  cursor: pointer;
}

.popup .item-popup .share-popup .item-manh .count {
  position: absolute;
  width: 15%;
  top: 0%;
  right: 10%;
  color: #fff;
  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;
  font-size: 1.3vw;
}

/* dang nhap  */
.popup .item-popup .dangnhap-popup {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 70%;
  max-height: max-content;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.popup .item-popup .dangnhap-popup .content-input {
  margin-bottom: 20px;
}

.popup .item-popup .dangnhap-popup .content-input .name {
  font-size: 1vw;
  font-weight: 100;
}

.popup .item-popup .dangnhap-popup .content-input input[type="text"] {
  width: 70%;
  height: 40px;
  border-radius: 5px;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 1vw;
  background-color: #3c4663;
  color: #fff;
  text-align: center;
}

.popup .item-popup .dangnhap-popup .btn-dang-nhap {
  width: 38%;
  cursor: pointer;
  margin: 1vw auto;
  transition: 0.35s ease-in-out;
}

.popup .item-popup .dangnhap-popup .btn-dang-nhap:hover {
  transform: scale(1.1);
}

.popup .item-popup .dangnhap-popup .confirm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 65%;
  margin: 0 auto;
}

.popup .item-popup .dangnhap-popup .confirm input[type="checkbox"] {
  -ms-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -o-transform: scale(1.5);
  transform: scale(1.5);
}

.popup .item-popup .dangnhap-popup .confirm .des {
  color: #000;
  text-align: left;
  line-height: 1;
}

.popup .item-popup .dangnhap-popup .list-store {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 65%;
  margin: 1vw auto;
}

.popup .item-popup .dangnhap-popup .list-store a {
  transition: 0.35s ease-in-out;
}

.popup .item-popup .dangnhap-popup .list-store a:hover {
  transform: scale(1.1);
}

.popup .item-popup .dangnhap-popup p{
  color: #000;
}

@media (max-width: 767px) {
  /* active  */
  .popup .item-popup.active {
    transform: scale(1.3);
  }

  .popup .item-popup .img-close {
    top: 0%;
    right: 1%;
    width: 12%;
  }

  /* dang-ky-truoc  */
  .popup .item-popup .dangky-popup .btn-dang-ky-truoc-pu {
    top: 65%;
  }

  /* thong-bao  */
  .popup .item-popup .thongbao-popup {
    font-size: 2.75vw;
    width: 70%;
  }

  .popup .item-popup .thongbao2-popup {
    top: 55%;
  }

  .popup .item-popup .thongbao2-popup p {
    font-size: 2.75vw;
  }

  .popup .item-popup .thongbao-nhancode-popup {
    font-size: 2.75vw;
  }

  .popup .item-popup .thongbao-daily-popup {
    font-size: 2vw;
    margin: 1.5vw 0;
    width: 55%;
    position: absolute;
    top: 43%;
    left: 10%;
    color: #fff;
  }

  /* the le  */
  .popup .item-popup .thele-popup {
    width: 85%;
    max-height: 70%;
  }

  .thele-popup p {
    font-family: "exo";
    text-align: left;
    font-size: 2.7vw;
    margin-bottom: 0.3rem;
  }

  .thele-popup ul li {
    font-size: 2.5vw;
  }

  /* lich su  */
  .popup .item-popup .lichsu-popup {
    width: 90%;
    max-height: 65%;
  }

  .popup .item-popup .lichsu-popup table th {
    font-size: 2.3vw;
  }

  .popup .item-popup .lichsu-popup table td {
    font-size: 2vw;
  }

  .popup .item-popup .lichsu-popup .title-lichsu .title-history button {
    font-size: 2vw;
  }

  /* nhan luot  */
  .popup .item-popup .nhanluot-popup {
    top: 28%;
    width: 80%;
    max-height: 60%;
  }

  .popup .item-popup .nhanluot-popup .item-nhan-luot {
    margin-bottom: 1.9vw;
  }

  .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-1,
  .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-2 {
    font-size: 2.5vw;
  }

  .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-1 svg {
    width: 7px;
  }

  .popup .item-popup .nhanluot-popup .line {
    margin: 1vw 0;
  }

  .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-1 {
    font-weight: bold;
    width: 35%;
  }

  .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-2 {
    width: 35%;
  }

  .popup .item-popup .nhanluot-popup .item-nhan-luot .cot-2 {
    width: 25%;
  }

  /* doi-thuong  */
  .popup .item-popup .doithuong-popup {
    top: 20%;
    width: 70%;
  }

  .popup .item-popup .doithuong-popup .item-doithuong .name {
    font-size: 2.75vw;
  }

  .popup .item-popup .doithuong-popup .item-doithuong .item-btn {
    width: 30%;
  }

  /* nhap ma  */
  .popup .item-popup .nhapma-popup p {
    font-size: 2.5vw;
    margin-bottom: 10px;
  }

  .popup .item-popup .nhapma-popup input[type="text"] {
    width: 85%;
    height: 27px;
    font-size: 2.75vw;
  }

  .popup .item-popup .nhapma-popup .btn-nhap-ma {
    width: 45%;
    margin: 15px auto;
  }

  /* share  */
  .popup .item-popup .share-popup {
    width: 75%;
    left: 2%;
    top: 28%;
  }

  .popup .item-popup .share-popup .item-manh .count {
    font-size: 2.5vw;
  }

  .popup .item-popup .share-popup .item-manh {
    margin: 0 1vw;
  }

  /* xac nhan  */
  .popup .item-popup .xacnhan-popup {
    width: 70%;
  }

  .popup .item-popup .xacnhan-popup .list-btn {
    width: 80%;
  }

  .popup .item-popup .xacnhan-popup .list-btn .item-btn {
    width: 45%;
  }

  .popup .item-popup .xac-nhan-popup p {
    font-size: 2.5vw;
    margin-bottom: 20px;
  }

  .popup .item-popup .xac-nhan-popup .list-btn {
    width: 80%;
    gap: 15px;
  }

  /* dang nhap  */
  .popup .item-popup .dangnhap-popup {
    position: absolute;
    top: 13%;
    width: 90%;
  }

  .popup .item-popup .dangnhap-popup .content-input {
    margin-bottom: 7px;
  }

  .popup .item-popup .dangnhap-popup .content-input .name {
    font-size: 2.5vw;
  }

  .popup .item-popup .dangnhap-popup .content-input input[type="text"] {
    width: 75%;
    height: 22px;
    font-size: 2.3vw;
  }

  .popup .item-popup .dangnhap-popup .confirm .des {
    font-size: 1.75vw;
  }

  .popup .item-popup .dangnhap-popup .confirm input[type="checkbox"] {
    transform: scale(1);
  }

  .popup .item-popup .dangnhap-popup .confirm {
    width: 75%;
  }

  .popup .item-popup .dangnhap-popup .btn-dang-nhap {
    width: 40%;
    margin: 1.5vw auto;
  }

  .popup .item-popup .dangnhap-popup p{
    font-size: 1.75vw;
  }

  /* share  */
  .popup .item-popup .share-nhan-popup p {
    font-size: 2.5vw;
    margin-bottom: 10px;
  }
  .popup .item-popup .share-nhan-popup .list-btn {
    width: 85%;
  }
}
