/* ==============================================================
------------------------INDEX AND HOME--------------------------
==============================================================*/

section {
  margin-bottom: 150px;
}

.carousel {
  height: calc(100vw * 0.297);
}

.game-company-box {
  margin-top: 10px;
  position: relative;
  cursor: pointer;
}

.game-company {
  padding: 0 5px;
}

.game-company .swiper-slide img {
  transition: transform 0.2s;
  /* Animation */
}

.game-company .swiper-slide:hover img {
  transform: scale(1.08);
}

.game-company .swiper-slide:hover {
  transition: linear 0.2s;
  background-color: rgba(var(--text-dark), 0.1);
  filter: contrast(100%);
  border-radius: 10px;
  margin-right: 21px !important;
  margin-left: 15px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  border-radius: 50%;
  font-size: 15px;
  background-color: transparent;
  /* font-weight: 900; */
  color: rgb(var(--primary)) !important;
  position: absolute;
  transition: ease 200ms;
}

.game-category {
  padding-left: 25px;
  padding-right: 25px;
}

.game-category-box {
  margin-top: 20px;
}

.game-category .swiper-slide {
  cursor: pointer;
}

.game-category .swiper-slide img {
  transition: transform 0.2s;
  /* Animation */
}

.game-category .swiper-slide:hover img {
  transform: scale(1.1);
}

.game-category .swiper-slide:hover .circle {
  transition: ease-in-out 0.4s;
  background-color: rgba(var(--white), 0.7);
}

.game-company:hover .swiper-button-next:after,
.game-company:hover .swiper-button-prev:after {
  color: rgb(var(--text-lightgray));
  /* font-size: 15px; */
  background-color: rgb(var(--white));
  /* padding: 0.5rem 0 0.3rem 0.75rem; */
  margin: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
  line-height: 32px;
}

.game-category:hover .swiper-button-next:after,
.game-category:hover .swiper-button-prev:after {
  color: rgb(var(--text-lightgray));
  /* font-size: 15px; */
  background-color: rgb(var(--white));
  /* padding: 0.5rem 0 0.3rem 0.75rem; */
  margin: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
  line-height: 30px;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.swiper-slide p {
  margin-top: 0.2rem;
  margin-bottom: 0;
  color: rgb(var(--white));
}

.circle {
  width: 95%;
  height: 78%;
  border-radius: 100%;
  background-color: rgb(var(--white));
  margin-left: 1px;
  position: absolute;
  top: 0;
  z-index: -1;
  display: none !important;
}

.game-list-box {
  z-index: 1;
  margin-top: 30px;
  position: sticky;
  top: 60px;
  transition: 0.1s;
  background-color: var(--secondary);
}

.game-list {
  color: var(--text-white);
  white-space: nowrap;
  padding: 5px 0 5px;
  height: 100px;
  background-color: rgb(var(--secondary));
}

.banner-minor {
  margin-top: 30px;
}

.banner-minor img {
  border-radius: 10px;
}

.game-box img {
  width: 100%;
}
/* Animation */

.image-container {
  transition: transform 0.2s;
}

.image-container:hover {
  transform: scale(1.1);
}

.game-box {
  margin-top: 30px;
  margin-bottom: 70px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  min-height: 75vh;
  align-content: start;
}

.spinner-loading {
  grid-column: span 6;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

/* .search-game-category .swiper-slide button{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
} */

.main-content {
  /* background-color: var(--primary); */
  margin-top: 60px;
  position: relative;
}

.swiper-slide img {
  width: 100%;
}

.game-company .active {
  /* box-shadow: inset 0 0 0 1px rgb(var(--white)); */
  border-radius: 3px;
  background-color: rgb(var(--white));
  color: var(--text-secondary) !important;
}

.mockup-icon {
  width: 45px;
  height: 45px;
}

.game-list .swiper-slide {
  background-color: rgb(var(--white));
  border-radius: 5px;
}

.game-list .swiper-slide:hover {
  filter: contrast(90%);
  transition: ease-in-out 0.2s;
  cursor: pointer;
}

.game-list .swiper-slide div {
  transition: transform 0.2s;
  /* Animation */
}

.game-list .swiper-slide:hover div {
  transform: scale(1.1);
}

.game-list .swiper-slide .menu-list-name {
  color: rgb(var(--text-dark));
  white-space: break-spaces;
  text-align: center;
  line-height: 0.9;
  font-size: var(--text-body);
  margin-top: 10px;
}

.game-list .swiper-slide.active {
  transition: ease 200ms;
  background-color: rgba(var(--primary), 0.8);
  border: 2px solid rgb(var(--primary));
}

.game-list .swiper-slide.active .menu-list-name {
  color: rgb(var(--text-white));
}

.game-box .see-more-box {
  background-color: rgba(var(--text-dark), 0.2);
  width: 100%;
  height: 100%;
  min-height: 100px;
  /* border: 1px solid rgb(var(--text-white)); */
  font-size: 1rem;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s;
}

.game-box .see-more-box:hover {
  background-color: rgb(var(--primary));
}

/**************************************************** ONLY HOME ZONE **************************************************/
.balance-cash {
  margin-top: -10px;
  position: relative;
  height: 90px;
}

.balance-cash-box {
  background-color: rgb(var(--white));
  position: absolute;
  border-radius: 10px;
  width: calc(100% - 24px);
  height: 90px;
  z-index: 2;
  color: rgb(var(--text-dark));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.balance-cash-box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(/assets/image/background.jpg);
  background-position: left bottom;
  background-size: cover;
  opacity: 0.2;
  z-index: -1;
  border-radius: 10px;
}

.welcome h5 {
  color: rgb(var(--text-secondary));
  margin-bottom: 0;
}

.cash-balance p {
  margin-bottom: 0;
}

.cash-balance {
  text-align: center;
}

.cash-balance h5 {
  color: rgb(var(--text-primary));
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}

.cash-balance h5:hover {
  text-decoration: underline;
}

/* 
.cash-balance h5[title]::after {
    content: "";
    opacity: 0;
    transition: .3s opacity ease-out;
}

.cash-balance h5[title]:hover::after {
    content: attr(title);
    position: absolute;
    top: -100%;
    left: 80%;
    border-radius: 5px;
    padding: .2rem;
    font-size: small;
    white-space: nowrap;
    background-color: rgb(var(--primary));
    color: rgb(var(--text-white));
    font-weight: 100;
    opacity: .8;
} */

.welcome h5::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-image: url(/assets/image/icon/welcome.png);
  background-position: center;
  background-size: contain;
}

.cash-zone {
  display: flex;
  gap: 30px;
}

.contact-point {
  position: absolute;
  top: 0;
  right: 15px;
  color: rgba(var(--text-dark), 0.4);
}

.contact-point a {
  color: rgba(var(--text-dark), 0.4);
  margin-left: 0.1rem;
}

.shortcut-menu-box {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.short-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.short-menu > .square-shortcut {
  background-color: rgb(var(--white));
  width: 100px;
  height: 100px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.1s filter ease-in-out;
  cursor: pointer;
}

.short-menu > .square-shortcut:hover {
  filter: contrast(90%);
}

.short-menu > .square-shortcut:hover div {
  transform: scale(1.1);
}

.short-menu > .square-shortcut div {
  transition: transform 0.2s;
  /* Animation */
}

.short-menu > div > div {
  width: 70px;
  height: 70px;
}

.short-menu .menu-list-name {
  margin-top: 5px;
  white-space: nowrap;
}

/**************************************************** RESPONSIVE ZONE **************************************************/
/* TABLET */
@media (max-width: 1024px) {
  .swiper-button-next:after,
  .swiper-button-prev:after {
    display: none;
  }

  .game-box {
    grid-template-columns: repeat(4, 1fr);
  }

  .game-category {
    padding: 0;
  }

  .balance-cash-box {
    gap: 50px;
  }

  .game-box .see-more-box {
    min-height: 110px;
  }
}

/* LARGE MOBILE */
@media (max-width: 767px) {
  .carousel {
    height: calc(100vw * 0.625);
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    display: none;
  }

  .game-company-box,
  .game-category-box {
    /* margin-top: 10px; */
    padding: 0;
  }

  .game-category-box {
    margin-top: 0;
  }

  .game-category,
  .game-company,
  .search-game-category {
    padding: 10px 12px;
  }

  .game-list-box {
    padding: 0;
  }

  .game-list {
    padding: 5px 12px;
  }

  .game-box {
    margin-top: 10px;
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-minor {
    margin-top: 10px;
  }

  .balance-cash {
    height: 75px;
  }

  .balance-cash-box {
    height: 75px;
    justify-content: space-evenly;
  }

  .welcome {
    display: none;
  }

  .cash-zone {
    gap: 1.4em;
    margin-top: 0.5rem;
  }

  .cash-balance h5,
  .cash-balance p,
  .cash-balance span {
    font-size: small;
    white-space: nowrap;
  }

  .contact-point {
    font-size: x-small;
    top: -7px;
  }

  .shortcut-menu-box {
    gap: 7px;
    margin-top: 15px;
    margin-bottom: 5px;
  }

  .short-menu > .square-shortcut {
    width: 70px;
    height: 70px;
  }

  .short-menu > div > div {
    width: 40px;
    height: 40px;
  }

  .game-list .swiper-slide .menu-list-name {
    margin-top: 5px;
  }

  .swiper-slide {
    justify-content: flex-start;
    padding-top: 0.5rem;
  }

  .image-container:hover {
    transform: scale(1);
  }

  .game-category .swiper-slide:hover img {
    transform: scale(1);
  }

  .game-company .swiper-slide:hover img {
    transform: scale(1);
  }

  .short-menu > .square-shortcut:hover div {
    transform: scale(1);
  }

  .game-list .swiper-slide:hover div {
    transform: scale(1);
  }
}

@media screen and (max-width: 320px) {
  .cash-zone {
    gap: 1em;
  }
}

.pointer {
  cursor: pointer !important;
}

/* table */
.dataTables_scroll {
  overflow: auto;
}

table thead tr,
table tbody tr {
  border-color: inherit;
  border-style: hidden !important;
  border-width: 0;
}

.dataTables_wrapper {
  width: 100% !important;
}

table .vertical-center {
  vertical-align: middle !important;
}

.point-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-image: linear-gradient(
    150deg,
    #a6c0fe95 0%,
    rgba(var(--primary), 0.2) 100%
  );
  margin-bottom: 1rem;
  border-radius: 10px;
  min-width: 400px;
}

@media (max-width: 767px) {
  .point-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-image: linear-gradient(
      150deg,
      #a6c0fe95 0%,
      rgba(var(--primary), 0.2) 100%
    );
    margin-bottom: 1rem;
    border-radius: 10px;
    min-width: 200px;
    width: 100% !important;
  }
}

.text-highlight td {
  color: rgb(var(--text-white)) !important;
}
