/* Bonus game wheel and percentage ladder. */
.gameBonus {
  position: relative;
  width: 902px;
  height: auto;
  margin: 24px auto 0 auto;
  border-radius: 20px;
  background: none;
}

.gameBonus__stage {
  position: relative;
  width: 100%;
  height: 570px;
}

.gameBonus__tryBox {
  position: absolute;
  top: 36px;
  left: 90px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid #f9cd83;
  border-radius: 8px;
  background: linear-gradient(180deg, #1d1710 0%, #000 100%);
  box-shadow: 0 4px 4px 0 #000 inset;
  color: #f9cd83;
  font:
    16px/1 AdjaraSemiBold,
    sans-serif;
  white-space: nowrap;
  pointer-events: none;
}

@media screen and (min-width: 941px) {
  .gameBonus__stage {
    background: url("../img/bonusframe-new.webp") no-repeat center;
    background-size: 100% 100%;
  }
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus {
    width: 93vw;
    height: auto;
    margin: 0 auto 0 auto;
    border-radius: 5.3333vw;
    background: linear-gradient(180deg, #33131a 0%, #14070a 100%);
  }

  .gameBonus__stage {
    height: 86.1333333333vw;
  }

  .gameBonus__tryBox {
    top: 3.4vw;
    left: 4vw;
    gap: 1.0666666667vw;
    padding: 1.0666666667vw 2.1333333333vw;
    border-width: 0.2666666667vw;
    border-radius: 2.1333333333vw;
    box-shadow: 0 1.0666666667vw 1.0666666667vw 0 #000 inset;
    font-size: 2.6666666667vw;
  }
}

.gameBonus__container {
  padding: 18px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__container {
    padding: 3.2vw;
  }
}

.gameBonus__infoBox {
  position: absolute;
  top: 60px;
  right: 38px;
  background: url("../img/infobox-bg.png") no-repeat;
  background-position: center;
  background-size: contain;
  width: 180px;
  height: 106px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  padding: 10px 14px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__infoBox {
    width: 18.6666666667vw;
    height: 11.2vw;
    border-radius: 1.0666666667vw;
    padding: 1.0666666667vw 1.0666666667vw;
    top: 5.3333333333vw;
    right: 4.666667vw;
    background: none;
  }
}

.gameBonus__tips {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gameBonus__tips > span {
  margin: 0 0 0 10px;
  font: 15px AdjaraRegular;
  color: #d2b8ad;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__tips > span {
    font-size: 2.6666666667vw;
    margin: 0 0 0 2.6666666667vw;
  }
}

.gameBonus__circle {
  width: 10px;
  height: 10px;
  border-radius: 100px;
  background-color: #fff;
}

.gameBonus__circle--green {
  background: linear-gradient(
    188.63deg,
    #24413c 11.13%,
    #1a775b 53.24%,
    #095238 99.99%
  );
  border: 1px solid #3bb275;
}

.gameBonus__circle--red {
  background: linear-gradient(
    172.57deg,
    #6d1936 5.77%,
    #cd3160 49.63%,
    #921e47 99.33%
  );
  border: 1px solid #db316e;
}

.gameBonus__circle--gray {
  background: linear-gradient(
    130.23deg,
    #3d3638 18.96%,
    #54454a 56.47%,
    #17070c 97.25%
  );
  border: 1px solid #727272;
}

.gameBonus__higherLower {
  padding: 42px 0 45px 0;
  width: 626px;
  height: 510px;
  background: url("../img/higher-or-lower.png") no-repeat;
  background-position: center;
  background-size: contain;
  margin-left: 66px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__higherLower {
    padding: 5.0666666667vw 0 5.3333333333vw 0;
    width: 90.6666666667vw;
    height: 76.8vw;
    background: url("../img/higher-or-lower-mob.png") no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: -4vw;
  }
}

.gameBonus__wheel {
  width: 372px;
  height: 372px;
  position: absolute;
  top: 98px;
  left: 332px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__wheel {
    width: 58.4vw;
    height: 58.4vw;
    top: 16vw;
    right: auto;
    left: 32.466667vw;
  }
}

.gameBonus__wheel-slices {
  width: 362px;
  height: 362px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__wheel-slices {
    width: 55.7333333333vw;
    height: 55.7333333333vw;
  }
}

.gameBonus__wheel-ring {
  width: 372px;
  height: 372px;
  background: url("../img/wheel-ring-bg.png") no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__wheel-ring {
    width: 58.4vw;
    height: 58.4vw;
  }
}

.gameBonus__wheel-dimond {
  width: 104px;
  height: 104px;
  background: url("../img/wheel-dimond.png") no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__wheel-dimond {
    width: 16.2666666667vw;
    height: 16.2666666667vw;
  }
}

.gameBonus__wheel-arrow {
  width: 35px;
  height: 60px;
  background: url("../img/wheel-arrow.png") no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 3;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__wheel-arrow {
    width: 7.2vw;
    height: 12vw;
  }
}

.gameBonus__wheel-lighting {
  width: 372px;
  height: 372px;
  background: url("../img/wheel-lighting.png") no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 0;
  left: -3px;
  animation: flicker 2s linear infinite;
  z-index: 3;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__wheel-lighting {
    width: 58.4vw;
    height: 58.4vw;
  }
}

@keyframes flicker {
  0% {
    opacity: 0.99;
  }
  1% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.4;
    text-shadow: none;
  }
  51% {
    opacity: 0.99;
  }
}

.gameBonus__item {
  position: relative;
  box-shadow: inset 1px 1px 8px 0 black;
  padding: 6px 26px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 6px;
  width: 295px;
  height: 36px;
  border: double 2px transparent;
  border-radius: 40px;
  background-image:
    linear-gradient(90.19deg, #744d24 40%, rgba(127, 87, 38, 0) 92.96%),
    radial-gradient(circle at top left, #998d62, transparent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item {
    padding: 1.6vw 3.7333333333vw;
    margin-top: 0.9333333333vw;
    width: 45.3333333333vw;
    height: 5.8666666667vw;
    border-radius: 10.6666666667vw;
    margin-left: 5.3333333333vw;
    box-shadow: none;
  }
}

.gameBonus__item > span {
  opacity: 0.2;
  font: 18px AdjaraSemiBold;
  color: #fff;
  padding-top: 2px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item > span {
    padding-top: 0.5333333333vw;
    font-size: 3.4666666667vw;
    font-family: "AdjaraRegular";
  }
}

.gameBonus__item:nth-child(1) {
  margin-top: 0;
  margin-left: 148px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item:nth-child(1) {
    margin-left: 21.8666666667vw;
  }
}

.gameBonus__item:nth-child(2) {
  margin-left: 128px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item:nth-child(2) {
    margin-left: 19.7333333333vw;
  }
}

.gameBonus__item:nth-child(3) {
  margin-left: 114px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item:nth-child(3) {
    margin-left: 17.6vw;
  }
}

.gameBonus__item:nth-child(4) {
  margin-left: 102px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item:nth-child(4) {
    margin-left: 15.4666666667vw;
  }
}

.gameBonus__item:nth-child(5) {
  margin-left: 94px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item:nth-child(5) {
    margin-left: 15.4666666667vw;
  }
}

.gameBonus__item:nth-child(6) {
  margin-left: 94px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item:nth-child(6) {
    margin-left: 15.4666666667vw;
  }
}

.gameBonus__item:nth-child(7) {
  margin-left: 94px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item:nth-child(7) {
    margin-left: 15.4666666667vw;
  }
}

.gameBonus__item:nth-child(8) {
  margin-left: 108px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item:nth-child(8) {
    margin-left: 17.6vw;
  }
}

.gameBonus__item:nth-child(9) {
  margin-left: 128px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item:nth-child(9) {
    margin-left: 19.7333333333vw;
  }
}

.gameBonus__item:nth-child(10) {
  margin-left: 148px;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item:nth-child(10) {
    margin-left: 21.8666666667vw;
  }
}

.gameBonus__item-up {
  height: 36px;
  transform: scaleY(1.06);
  border: double 3px transparent;
  background-image:
    linear-gradient(90.19deg, #094a40 0.69%, rgba(127, 87, 38, 0) 92.96%),
    radial-gradient(circle at top left, #998d62, transparent);
  /*  opacity: 0.8 !important;*/
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item-up {
    height: 5.8666666667vw;
    border: double 0.8vw transparent;
  }
}

.gameBonus__item-up > span {
  font-size: 22px;
  opacity: 1;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item-up > span {
    font-size: 4vw;
  }
}

.gameBonus__item-start {
  height: 36px;
  transform: scale(1.06, 1.14);
  border: double 4px transparent;
  background-image:
    linear-gradient(90.19deg, #d78725 0.69%, rgba(127, 87, 38, 0) 92.96%),
    radial-gradient(circle at top left, #ffe27c, transparent);
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item-start {
    height: 6.4vw;
    border: double 1.0666666667vw transparent;
  }
}

.gameBonus__item-start > span {
  font-size: 22px;
  opacity: 1;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item-start > span {
    font-size: 4vw;
  }
}

.gameBonus__item-down {
  height: 36px;
  transform: scaleY(1.06);
  border: double 3px transparent;
  background-image:
    linear-gradient(90.19deg, #8e2853 0.69%, rgba(127, 87, 38, 0) 92.96%),
    radial-gradient(circle at top left, #998d62, transparent);
  /*  opacity: 0.8 !important;*/
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item-down {
    height: 5.8666666667vw;
    border: double 0.8vw transparent;
  }
}

.gameBonus__item-down > span {
  font-size: 22px;
  opacity: 1;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus__item-down > span {
    font-size: 4vw;
  }
}

.gameBonus .wager_overlay {
  position: absolute;
  top: 50%;
  left: 50.5%;
  z-index: 20;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.36);
  border-top-left-radius: 4px;
}

.gameBonus .wager_overlay--wheel {
  display: none;
}

.gameBonus .wager_overlay--wheel.active {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 40px 40px 0 0;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
@media screen and (max-width: 940px) and (min-width: 320px) {
  .gameBonus .wager_overlay--wheel.active {
    border-radius: 5vw 5vw 0 0;
  }
}

.wheel_overlay_popup {
  position: relative;
  width: 446px;
  height: auto;
  padding: 12px;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid rgba(242, 199, 102, 0.5);
  background: rgba(26, 6, 10, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: none;
  font-feature-settings: "case" on;
}

.wheel_overlay_popup span {
  color: #fff;
  /* font: 16px AdjaraRegular; */
  text-align: center;
}

.popup_win_or_lose_spins_count,
.popup_last_try_text,
.popup_last_try_text_result,
.popup__close-win-or-loose,
.wheel_continue_button,
.wheel_overlay_popup_span2 {
  display: none;
}

.popup_win_or_lose_spins_count,
.popup_last_try_text,
.popup_last_try_text_result {
  color: #fff;
  font: 16px AdjaraRegular;
  margin: 0 auto;
}

.popup_win_or_lose_spins_count.active,
.popup_last_try_text.active,
.popup_last_try_text_result.active,
.popup__close-win-or-loose.active,
.wheel_continue_button.active,
.wheel_overlay_popup_span2.active {
  display: flex;
}

.wheel_overlay_popup_span2 {
  margin-top: 20px;
}

.gameBonus .dark,
.gameBonusOption .dark {
  opacity: 0.5;
}

.gameBonus .opacity7 {
  opacity: 0.2;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .wheel_overlay_popup {
    width: 82.4vw;
    height: auto;
    padding: 3.2vw;
    gap: 3.2vw;
    border-radius: 4.2667vw;
  }

  .wheel_overlay_popup span {
    /* font-size: 3.4vw; */
    /* padding: 0 1.344vw; */
  }

  .popup_win_or_lose_spins_count,
  .popup_last_try_text,
  .popup_last_try_text_result {
    font-size: 3.8vw;
  }
}
.popup_win_or_lose_spins_count.active {
  display: block;
  text-align: center;
}
