/* Footer nav bar - design16 (golden-orange theme) */
.footer-nav-bar.design16 {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #000000;
  border-top: 3px solid #e8a735;
  box-shadow: 0 -2px 12px rgba(232, 167, 53, 0.25);
  height: 60px;
}

.footer-nav-bar.design16 .footer-nav-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.footer-nav-bar.design16 .footer-nav-inner ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.footer-nav-bar.design16 .footer-nav-inner li {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.footer-nav-bar.design16 .footer-nav-inner li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-decoration: none;
  color: #ffffff;
  background-color: #000000;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  min-height: 60px;
  text-align: center;
}

.footer-nav-bar.design16 .footer-nav-inner li a .footer-icon {
  display: block;
  width: .35rem;
  height: .35rem;
  margin: 0 auto 4px;
  object-fit: contain;
}

.footer-nav-bar.design16 .footer-nav-inner li a span {
  display: block;
  margin-top: -0.05rem;
}

/* Active item (HOME) - golden-orange background, rounded left corners */
.footer-nav-bar.design16 .footer-nav-inner li.active a {
  color: #000 !important;
  border-radius: 0 0 14px 14px;
  background: #fabb2e;
}

.footer-nav-bar.design16 .footer-nav-inner li.active a span {
  color: #000 !important;
}

.footer-nav-bar.design16 .footer-nav-inner li.active a img {
  filter: brightness(0);
  transition: 0.3s;
}

.footer-nav-bar.design16 .footer-nav-inner li a .footer-icon-active {
  display: none;
}

.footer-nav-bar.design16 .footer-nav-inner li.active a .footer-icon-active {
  display: block;
}

/* Notification badges */
.footer-nav-bar.design16 .footer-badge {
  position: absolute;
  top: 6px;
  right: 50%;
  transform: translate(calc(50% + 14px), 0);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background-color: #e8a735;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer-nav-bar.design16 {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

.subject .header-bar-jp668 {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}

.subject .header-bar-jp668 .header-bar-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  padding: 0 60px 0 12px;
  box-sizing: border-box;
  background-color: #000000;
  background-image: url('https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/header.gif');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
}

/* Logo inside jp668 header */
.subject .header-bar-jp668 .header-bar-banner #logointro {
  display: block;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.subject .header-bar-jp668 .header-bar-banner .logo {
  display: block;
  margin: 0;
  padding: 0;
  width: auto;
  max-width: 180px;
  height: 40px;
  line-height: 0;
  text-align: center;
}

.subject .header-bar-jp668 .header-bar-banner .logo img {
  display: block;
  max-height: 40px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}

/* Language selector inside jp668 header */
.subject .header-bar-jp668 .header-bar-banner .lang {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

.subject .header-bar-jp668 .header-bar-banner .lang>a {
  display: block;
  margin: 0;
  padding: 0;
  height: 36px;
  line-height: 36px;
}

.subject .header-bar-jp668 .header-bar-banner .lang i {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.subject .header-bar-jp668 .header-bar-banner .lang hop-cont a {
  padding: 0 12px;
  min-height: 36px;
}

.subject .header-bar-jp668 .header-bar-banner .lang hop-cont a i {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

/* Bulletin notice below banner */
.subject .header-bar-jp668 notice {
  margin: 0;
  height: 25px;
}

notice .ico {
  display: none;
}

/* Base classify: do not force display — uigg_* responsive grids must win where used */
.classify {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--content-light-2);
  align-items: center;
}

/* jp668 lobby icon strip: horizontal scroll, never shrink tiles */
.classify.game-menu-scroll {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
}

.classify.game-menu-scroll > li {
  flex: 0 0 auto;
}

/* Lobby game category bar: stay under header while scrolling */
.contant.home-index > tab {
  display: block;
}

.contant.home-index #game-section.classify {
  position: sticky;
  z-index: 150;
  top: 0;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.contant.home-index #game-section.classify > li {
  flex: 0 0 auto;
}

/* jp668: offset by sticky header (54px banner + 25px notice) */
.subject .header-bar-jp668 ~ .clause .contant.home-index #game-section.classify {
  background: var(--bg);
  top: 79px;
}

.classify li.active {
  animation: unset !important
}

.classify li.active a {
  border-bottom: 2px solid #e8a735;
}

.classify li a {
  padding: 5px 0;
  width: 120px;
}

.game-active {
  display: none;
}

.classify li.active {
  .game-active {
    display: block;
  }

  .game-default {
    display: none;
  }
}

.list .tab-content span {
  display: none;
}

.list li em {
  margin-bottom: 0 !important;
}

.sider.step1,
.sider.suggest,
.sider.recommend,
.sider.refer,
.sider.transaction {
  display: none;
}

@media (max-width: 768px) {
  [data-pages="lobby-casino"] ,
  [data-pages="lobby-slots"] ,
  [data-pages="free-event"] ,
  [data-pages="lobby-sport"] ,
  [data-pages="lobby-cock"] ,
  [data-pages="lobby-crash"] ,
  [data-pages="lobby-lottery"] ,
  [data-pages="lobby-poker"] ,
  [data-pages="auto_slots"] {
    .clause .sider {
      display: none !important;
    }
    .clause{
      margin-bottom: 0 !important;
    }
  }

  .subject .header-bar-jp668 .header-bar-banner .logo img {
    padding: 0 !important;
  }

  .sider.step1 {
    display: none;
  }

  .sider.balance-wrapper,
  .sider.balance-wrapper {
    position: relative !important;
    top: 0 !important;
  }

  .application-1-wrapper {
    top: 0 !important
  }

  /* Lobby game bar: compact taps, keep horizontal scroll */
  .classify.game-menu-scroll li a,
  .contant.home-index #game-section.classify li a {
    width: 88px;
    min-width: 72px;
    max-width: none;
    padding: 6px 4px;
    box-sizing: border-box;
  }

  /* Fixed lobby strip (class + id): full box so it matches viewport, not a half-applied fixed */
  .contant.home-index .classify.game-menu-scroll,
  .contant.home-index #game-section.classify {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    top: 0;
    z-index: 150;
    padding-top: 6px;
    padding-bottom: 6px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  [data-pages=""]{
    .contant.home-index .classify.game-menu-scroll,
    .contant.home-index #game-section.classify {
      position:relative !important;
      top: 0 !important;
    }
    .contant.home-index > tab{
      padding-top: 0;
    }
    .subject .header-bar-jp668 ~ .clause .contant.home-index .classify.game-menu-scroll, .subject .header-bar-jp668 ~ .clause .contant.home-index #game-section.classif{
      top: 0;
    }
  }

  .subject .header-bar-jp668 ~ .clause .contant.home-index .classify.game-menu-scroll,
  .subject .header-bar-jp668 ~ .clause .contant.home-index #game-section.classify {
    top: 79px;
  }

  /* Menu is out of flow — reserve its row so tab-cont does not sit underneath */
  .contant.home-index > tab {
    padding-top: 76px;
  }

  .list {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .leaderboard-banner {
    display: block;
    position: relative;
    top: 0 !important;
  }

  .refer-wrapper {
    display: block;
  }

  .lucky-wrapper {
    display: block;
  }

  .sider.light {
    display: block !important;
  }

  .livetx-wrapper {
    display: block;
  }

  .game-banners {
    display: block;
  }

  .movie-wrapper {
    display: block;
  }

  .A .soccer {
    display: block;
    padding-top: 0;
  }

  .sider.suggest,
  .sider.recommend,
  .sider.refer,
  .sider.transaction {
    display: none;
  }

  .ahw-before-login .pbalance .note {
    margin-bottom: .5rem;
  }

  .ahw-before-login .sider.balance-wrapper {
    margin-top: .25rem;
  }
  pop-title .ico{
    line-height: 0.6rem !important;
  }
}

.application-1-wrapper {
  right: 0;
  top: 10px;
}

.sider {
  backdrop-filter: unset !important;
}

.leaderboard-banner {
  right: 0;
  top: 7.5rem;
}

.ahw-after-login .leaderboard-banner {
  top: 9.3rem;
}

.lucky-wrapper {
  left: 0;
  top: 6.23rem;
}

.game-banners {
  left: 0;
  top: 10.5rem;
}

.livetx-wrapper {
  left: 0;
  top: 2.37rem;
}

.movie-wrapper {
  left: 0;
  top: 7.55rem;
}

.A .soccer {
  right: 0;
  top: 5.18rem;
}

.A.ahw-after-login .soccer {
  top: 6.95rem;
}

.refer-wrapper {
  left: 0;
  top: 3.95rem;
}

#home-refer .wrapper.bg p {
  line-height: unset !important;
}

/* Daily check-in card (jp668) */
.subject .header-bar-jp668 .application-1-wrapper {
  position: relative;
  margin-top: 10px;
  z-index: 5;
}

#home-dailyCheckIn {
  background: #050505;
  border: 1px solid #f3b23b;
  border-radius: 10px;
  padding: 10px 12px 12px;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(243, 178, 59, 0.25);
}

/* Top balance + redeem */
#home-dailyCheckIn .point-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

#home-dailyCheckIn .point {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin: 0;
}

#home-dailyCheckIn .point b var {
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
}

#home-dailyCheckIn .button.redeem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3b23b;
  color: #000000;
  font-weight: 700;
}

#home-dailyCheckIn .point-note {
  margin: 0 .5rem 0 0;
  color: #bbbbbb;
}

/* Header: title + check-in button */
#home-dailyCheckIn .checkin-wrapper {
  background: #313131;
  border-radius: .05rem;
}

#home-dailyCheckIn .checkin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 .1rem;
  height: 50px;
}

#home-dailyCheckIn .checkin-header .title {
  font-weight: 600;
  color: #ffffff;
}

#home-dailyCheckIn .button.checkin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: #f79300;
  color: #fff;
  font-weight: 700;
}

/* Day grid */
#home-dailyCheckIn .days {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin: .15rem 0 0 0;
  padding: 0 0.1rem .1rem .1rem;
}

#home-dailyCheckIn .day {
  position: relative;
  flex: 1;
  text-align: center;
  overflow: hidden;
}

#home-dailyCheckIn .day .amount {
  font-size: 10px;
  font-weight: 600;
  color: #f3b23b;
  margin-bottom: 2px;
  display: none;
}

#home-dailyCheckIn .day img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#home-dailyCheckIn .day .day-label {
  font-size: 9px;
  text-transform: capitalize;
  color: #ffffff;
}

#home-dailyCheckIn .day .format-day-label {
  font-size: 9px;
  color: #bbbbbb;
}

/* Tick icon overlay */
#home-dailyCheckIn .day .fa-check {
  display: none !important;
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f3b23b;
  color: #000000;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Share row */
#home-dailyCheckIn .custom-share-wrapper.copy {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  display: none;
}

#home-dailyCheckIn .custom-share-wrapper.copy a {
  color: #f3b23b;
  text-decoration: none;
  font-weight: 600;
}

.sider-suggest {
  display: none;
}

.sider.info {
  top: 24%;
}

/* Balance card / wallet panel */
.sider.balance-wrapper {
  right: 0;
  top: 2.88rem;
}

#home-balance .vip-card {
  color: #ffffff;
  width: 100%;
  max-width: 100%;
}

#home-balance .vip-card .A {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Login / Register buttons */
.ahw-after-login #home-balance .pinfo {
  padding: .1rem .1rem 0;
}

.ahw-after-login .vc-wallet-name,
.ahw-after-login #home-balance .pinfo span {
  color: var(--primary-color);
}

#home-balance .pinfo .links {
  display: flex;
  justify-content: space-between;
  gap: 1px;
  margin-bottom: 4px;
}

#home-balance .pinfo .links a {
  flex: 1;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
  overflow: hidden;
  background: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/login.gif);
  background-size: 100%;
  background-repeat: no-repeat;
  color: transparent;
  text-shadow: none;
  width: 50%;
  height: 38px;
  margin: 8px 0px;
  padding: 6.7%;
  box-shadow: none;
}

#home-balance>.A .btns .btn.vc-refresh {
  background-image: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/refresh.gif);
}

#home-balance>.A .btns .btn.vc-withdraw {
  background-image: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/withdraw.gif);
}

#home-balance .pinfo .links a span {
  font-size: .2rem;
  display: none;
}

#home-balance .pinfo .links a.registers {
  color: #000000;
  background-image: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/register.gif);
}

.vip-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 70px;
  border-radius: 12px;
}

.vip-container .vip-label {
  position: absolute;
  top: 0;
  left: 0;
  /* background: #654828; */
  background: linear-gradient(to bottom, #e3af12, #cf9f0e);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  overflow: hidden;
  width: 100%;
  height: 70px;
  cursor: pointer;
  z-index: 10;
  border-radius: 12px 12px 0 0;
}

.vip-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.vip-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 2;
  position: relative;
  height: 100%;
  aspect-ratio: 1 / 1;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */
  border-radius: 8px;
  background-color: rgba(256, 256, 256, 0.05);
}

.vip-icon {
  width: 65px;
  height: 65px;
  vertical-align: middle;
}

.progressbar-container {
  position: relative;
  width: 100%;
  z-index: 2;
  padding: 0px 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.level-info {
  display: flex;
  align-items: baseline;
  gap: 2px;
  z-index: 2;
  position: relative;
}

.vip-label1 {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
}

.level-badge {
  padding: 0px 4px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: #eee;
}

.maintain-level-text {
  color: white;
  font-size: 10px;
  font-weight: 500;
  text-align: left;
  position: relative;
  opacity: 0.9;
  margin: -6px 1px -4px;
  display: none;
}

.progressbar-track {
  height: 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(100, 100, 100, 0.2);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.progressbar {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--percentage, 38.88%);
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.3) 100%);
  border-radius: 18px;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.progressbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: progressShine 2.5s infinite;
}

.progressbar-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 800;
  color: white;
  z-index: 10;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

@keyframes progressShine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}


#home-balance.vip-card.vip-regular {
  border-radius: 12px;
}

.ahw-after-login #home-balance.vip-card.vip-regular {
  color: #5c5c5c;
  background-image: linear-gradient(120deg, #ffffff, #e7e7e7 80%) !important;
  border-radius: 12px;
}

/* Balance + notes + right side buttons */
#home-balance .pbalance {
  position: relative;
  padding-right: 90px;
}

.ahw-after-login #home-balance .pbalance {
  margin: .15rem;
}

#home-balance .pbalance .t1 {
  color: #fff;
  margin: 0;
}

#home-balance .pbalance .vc-balance {
  margin: 2px 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #f3b23b;
}

#home-balance .pbalance .vc-note {
  color: var(--primary-color);
}

#home-balance .pbalance .vc-note p {
  margin: 0;
  line-height: 1.5;
  color: #fff;
}

.ahw-after-login #home-balance .pbalance .vc-note p {
  color: var(--primary-color);
}

/* Right column buttons: Deposit / Withdraw / Refresh */
#home-balance .pbalance .btns {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 160px;
  gap: .025rem;
}

.ahw-after-login #home-balance .pbalance .btns {
  width: 140px;
}

.btn:hover {
  transform: unset !important;
}

#home-balance .pbalance .btns .btn {
  min-width: 80px;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  background: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/deposit.gif);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: transparent;
  text-shadow: none;
  padding: 20px 0;
  height: auto;
  width: 100%;
  border: none !important;
  box-shadow: none !important;
}

#home-balance .vc-note .info {
  margin-top: 3px;
}

#home-balance .vc-note .info p {
  font-size: .9em;
  text-transform: none;
  padding-left: 6px;
}

#home-balance>.A .vc-clear,
#home-balance>.B .vc-clear {
  text-decoration-line: underline;
  font-size: 11px;
  padding-top: 5px;
  cursor: pointer;
}

#home-balance>.A .t1 {
  margin-top: 10px;
}

#home-balance>.A {
  line-height: 1.5;
}

.ahw-after-login #home-balance>.A {
  overflow: hidden;
}

#home-balance>.A .vc-balance {
  font-size: 1.5em;
  margin: 5px 0;
  color: #FFC107;
  font-weight: 700;
}

#home-balance .pbalance .btns .btn i {
  margin-right: 4px;
  display: none;
}

#home-balance .pbalance .btns b {
  display: none;
}

#home-refer .wrapper.bg {
  background-size: 100%;
  background-color: transparent;
  padding: 12px 7px 12px 12px;
  background-repeat: no-repeat;
}

#home-refer .wrapper {
  overflow: hidden;
  background: #FFECB3;
  padding: 10px 5px 10px 10px;
  color: #000;
  border-radius: 8px;
}

#home-refer .btn {
  background: none;
  background-size: cover;
  border: 0;
  color: transparent;
  text-shadow: none;
  padding: 5% 0;
  line-height: 0;
  border-radius: 0;
  box-shadow: none;
}

#home-refer .btn {
  float: left;
  width: calc(50% - 5px);
  margin-top: 8px;
  margin-right: 5px;
  position: relative;
  display: block;
}

#home-refer .refers {
  background-image: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/share.gif);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom;
}

#home-refer .btn.downline {
  background-image: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/download.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom;
}

#home-refer .copy {
  background-image: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/refferal.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
}

#home-refer .btn.more {
  background-image: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/free-game.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
}

var {
  font-style: normal;
}

#home-refer p {
  color: #000;
}

#home-lucky .wrapper {
  background: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/lucky-game.gif) !important;
  background-size: contain !important;
  padding: 22% 8% 2% 2%;
  border: 0;
  background-repeat: no-repeat !important;
}

#home-lucky .wrapper {
  overflow: hidden;
  background: #FFECB3;
  color: #000;
  border-radius: 8px;
}

#home-lucky p.t1 {
  color: #000;
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

#home-lucky p {
  display: none;
}

#home-lucky .myluckynumber {
  background: url(https://855tech-desktop.s3.ap-east-1.amazonaws.com/content/design16/images/gaming/new/lucky-number.gif);
}

#home-lucky .btn {
  background-size: 100% 100% !important;
  font-size: 0;
  border: 0;
  border-radius: 0;
  padding: 5%;
  line-height: 2;
  margin: 0%;
  width: 51%;
  height: auto !important;
}

#home-lucky .btn {
  float: left;
  width: calc(50% - 5px);
  margin-top: 8px;
  margin-right: 5px;
  position: relative;
}

#home-movie .movie {
  margin: 10px 0 0;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  cursor: pointer;
}

#home-livetx {
  text-transform: uppercase;
  border: 0px solid #fabb2e;
  border-radius: 8px;
  background: transparent;
}

#home-livetx table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #fabb2e;
  font-size: 12px;
}

#home-livetx table td.green {
  background: #fabb2e;
}

#home-livetx table td.red {
  background: #ffe156;
}

#home-livetx table td.title {
  color: #ffffff;
  display: table-cell;
}

#home-livetx table td {
  position: relative;
  padding: 4px;
  border: 1px solid #fabb2e;
  line-height: 1;
  color: #fff;
  font-weight: 600;
}

#home-livetx table td.amount {
  color: #fabb2e;
}

#home-livetx table td.title {
  color: #ffffff;
}

#home-livetx table td .live {
  position: absolute;
  top: 3px;
  right: 3px;
  background: red;
  padding: 1px 3px;
  border-radius: 2px;
  color: #fff;
  font-weight: 400;
}

.main-blink-me {
  animation: blinkme 1.5s linear infinite;
}

#home-livetx table td .live span {
  display: block;
  width: 8px;
  height: 8px;
  background: #fff;
  float: right;
  border-radius: 10px;
  margin: 1px 1px 0 3px;
}

#home-livetx .list-type {
  color: #fff;
  font-weight: 600;
}

@keyframes blinkme {
  0% {
    opacity: 1;
  }

  38% {
    opacity: 0;
  }

  39% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

#home .game-banners {
  width: 100%;
}

#home .swiper-game-banners {
  width: 100%;
}

#home .swiper-game-banners .swiper-slide {
  display: flex;
  justify-content: center;
}

#home .game-banner {
  margin: 2%;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  height: auto;
}

.soccer .swiper-slide img {
  box-shadow: unset !important;
  background: unset !important;
}

.soccer .swiper-wrapper {
  /* margin-top: -0.3rem; */
}

.soccer .swiper-slide {
  background: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, .6);
}

.soccer .swiper-slide li a {
  position: relative;
  background: #4cae50 !important;
  /* top: 80px; */
  /* width: 403px !important; */
}

.testimonials-title {
  background: #FFD700;
  border: 0px;
  border-radius: 0px 25px 0px 25px;
  padding: 5px 0px;
  text-align: center;
  color: white;
  font-size: 16px;
  width: 150px;
  margin-bottom: .15rem;
}

.footer-wrapper .swiper1 {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
}

.testimonial-card {
  /* background: linear-gradient(to top, #96b9ff, #022f89); */
  background: #b4becd;
  border: 5px solid #FFD700;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 10px 10px 10px;
  /* border-radius: 0px 0px 10px 10px; */
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  color: #000;
  height: 100%;
  min-height: 200px;
  justify-content: space-between;
}

.testimonial-card p {
  color: black;
  font-size: 14px;
  font-weight: 500;
}

.testimonial-card .stars {
  display: block;
  text-align: center;
}

.rating.star::before {
  content: "★";
  color: yellow;
  padding: 0px 2px;
  font-size: 20px;
}

/* jp668 loading overlay */
.loading-wrapper {
  position: fixed;
  inset: 0;
  z-index: 999999999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 17, 0.95);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loading-wrapper--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-overlay-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-overlay-content-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-overlay-content-icon img {
  max-width: 120px;
  height: auto;
  animation: jp668-loading-pulse 1.2s ease-in-out infinite;
}

@keyframes jp668-loading-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

@media(max-width:1750px) {

  .game-banners,
  .sider.light,
  .livetx-wrapper,
  .refer-wrapper,
  .clause .refer,
  .lucky-wrapper,
  .movie-wrapper {
    display: none;
  }
}

/* snowflake  */
.snowflake:nth-of-type(1) {
  left: 10%;
  -webkit-animation-delay: 1s, 1s;
  animation-delay: 1s, 1s;
}

.snowflake:nth-of-type(2) {
  left: 20%;
  -webkit-animation-delay: 6s, .5s;
  animation-delay: 6s, .5s;
}

.snowflake:nth-of-type(3) {
  left: 30%;
  -webkit-animation-delay: 4s, 2s;
  animation-delay: 4s, 2s;
}

.snowflake:nth-of-type(4) {
  left: 40%;
  -webkit-animation-delay: 2s, 2s;
  animation-delay: 2s, 2s;
}

.snowflake:nth-of-type(5) {
  left: 50%;
  -webkit-animation-delay: 8s, 3s;
  animation-delay: 8s, 3s;
}

.snowflake:nth-of-type(6) {
  left: 60%;
  -webkit-animation-delay: 6s, 2s;
  animation-delay: 6s, 2s;
}

.snowflake:nth-of-type(7) {
  left: 70%;
  -webkit-animation-delay: 2.5s, 1s;
  animation-delay: 2.5s, 1s;
}

.snowflake:nth-of-type(8) {
  left: 80%;
  -webkit-animation-delay: 1s, 0s;
  animation-delay: 1s, 0s;
}

.snowflake:nth-of-type(9) {
  left: 90%;
  -webkit-animation-delay: 3s, 1.5s;
  animation-delay: 3s, 1.5s;
}

.snowflake {
  color: #fff;
  font-size: 1.3em;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 5px #00ffff;
  position: fixed;
  top: -10%;
  z-index: 9999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
  animation-name: snowflakes-fall, snowflakes-shake;
  animation-duration: 10s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-play-state: running, running;
}

@keyframes snowflakes-fall {
  0% {
    top: -10%;
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }

  100% {
    top: 110%;
    opacity: 0.2;
  }
}

@keyframes snowflakes-shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-10px);
  }

  50% {
    transform: translateX(10px);
  }

  75% {
    transform: translateX(-10px);
  }

  100% {
    transform: translateX(0);
  }
}

@media(max-width: 768px) {
  .snowflakes .snowflake img {
    width: 50%;
  }

  .clause {
    margin-bottom: 8rem !important;
  }
}

.clause {
  margin-bottom: 5rem;
}