/* Deposit progress and eligible-game components for the bonus wheel. */
.gold_span {
  color: #f9cd83;
}

.wheel_overlay_popup .gold_span {
  color: #f9cd83;
}

.key__action {
  display: none;
  width: 560px;
  margin: 20px auto 0;
  padding: 8px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
}

.key__action.active {
  display: flex;
}

.key__deposit-item {
  width: 452px;
  height: 56px;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  border: 1px solid rgba(242, 199, 102, 0.5);
  background: #0c0507;
}

.key__deposit-item > span {
  color: #fff;
  font: 14px AdjaraRegular;
  font-feature-settings: "case" on;
}

.key__deposit-box {
  position: relative;
  width: 124px;
  height: 40px;
  padding: 4px 4px 4px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 12px;
  border: 1px solid rgba(242, 199, 102, 0.5);
  background: #14070a;
}

.key__deposit-box::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 100px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(36, 36, 36, 0) 15.43%,
    #f2c96d 50%,
    rgba(36, 36, 36, 0) 90.18%
  );
  pointer-events: none;
}

.key__deposit-box > * {
  position: relative;
  z-index: 1;
}

.key__deposit-box .max_wager_count_span {
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
  overflow: hidden;
  color: #f9cd83;
  font: 16px AdjaraSemiBold;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.key__deposit-box .max_wager_count_span.is-long {
  font-size: 14px;
}

.key__deposit-box .max_wager_count_span.is-very-long {
  font-size: 12px;
}

.key__deposit-check {
  display: none;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: url("../img/button.svg") center / contain no-repeat;
}

.key__deposit-check.active {
  display: block;
}
.key__wager {
  margin-top: 12px;
}
@media screen and (max-width: 940px) and (min-width: 320px) {
  .key__wager {
    margin-top: 3.2vw;
  }
}
.key__wager,
.wager__tabContent {
  width: 100%;
}

.wager__tabContent {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.wager__tabContent.active {
  display: flex;
}

.wager__tabContent-item {
  width: 102px;
  height: 72px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(242, 199, 102, 0.5);
  border-radius: 12px;
  background: linear-gradient(180deg, #562631 0%, #0c0507 100%);
  color: #d9d9d9;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.wager__tabContent-item:hover,
.wager__tabContent-item:active {
  transform: scale(1.025);
}

.wager__tabContent-item--goatroad {
  position: relative;
  padding: var(--spacing-02, 8px) 6px;
}

.wager__tabContent-item--goatroad::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -13px;
  z-index: 5;
  width: 34px;
  height: 34px;
  background: url("../img/newBadge_sprite.webp") 0 0 / 100% auto no-repeat;
  animation: goatRoadNewBadge 1.8s steps(33) infinite;
  pointer-events: none;
}

.wager__goatroad-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wager__goatroad-copy,
.wager__goatroad-play {
  display: none;
}

.wager__tabContent-icon {
  display: block;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.wager__tabContent-icon.slots {
  width: 32px;
  height: 32px;
  background-image: url("../img/slot.svg");
}

.wager__tabContent-icon.spinGames {
  background-image: url("../img/poker.svg");
  width: 32px;
  height: 27px;
}

.wager__tabContent-icon.poker {
  width: 32px;
  height: 32px;
  background-image: url("../img/spin-games.svg");
}

.wager__tabContent-icon.crashgame {
  width: 46px;
  height: 30px;
  background-image: url("../img/crash-icon.svg");
}

.wager__tabContent-name {
  margin-top: 0;
  color: #d9d9d9;
  font: 11px AdjaraSemiBold;
  line-height: 1.1;
  text-align: center;
}

.wheel_deposit_button {
  display: none;
  width: 100% !important;
  height: 40px;
  padding: 15px 20px;
  margin: 0;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border: 0;
  border-radius: 12px;
  background: #039855;
  cursor: pointer;
}

.wheel_deposit_button > span {
  color: #fff;
  font: 16px AdjaraSemiBold;
  font-feature-settings: "case" on;
}

.wager_overlay--wheel.is-deposit-state .wheel_deposit_button {
  display: flex;
}

.wheel_overlay_popup--wager {
  display: none;
  width: 446px;
  height: auto;
  min-height: 0;
  padding: 12px;
  border-radius: 16px;
  box-shadow: none;
  backdrop-filter: blur(4px);
}

.wager_overlay--wheel.is-wager-state
  > .wheel_overlay_popup:not(.wheel_overlay_popup--wager) {
  display: none;
}

.wager_overlay--wheel.is-wager-state > .wheel_overlay_popup--wager {
  display: flex;
}

.wheel_overlay_popup .wheel_overlay_popup_wager_title {
  max-width: 600px;
  margin-bottom: 20px;
  color: #fff;
  font: 20px AdjaraSemiBold;
  line-height: 1.45;
  text-align: center;
}

.wager {
  display: block;
  width: 100%;
}

.wager__wrapper,
.wager__content {
  width: 100%;
}

.wager__content {
  display: flex;
  justify-content: center;
}

.wager__container {
  width: 100%;
  min-height: 90px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border: 1px solid #634c36;
  border-radius: 18px;
  background: rgba(15, 14, 11, 0.7);
}

.wager__progress-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wager__progress-head > span {
  color: #fff;
  font: 16px AdjaraSemiBold;
}

#progressBar {
  position: relative;
  width: 100%;
  height: 16px;
  border: 1px solid #634c36;
  border-radius: 50px;
  background: linear-gradient(180deg, #282016 0%, #000 100%);
  box-shadow: 0 4px 4px #000 inset;
}

#progressBarValue {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    #f8d79c -17.5%,
    #fbf9c9 13.77%,
    #d8ba87 51.04%,
    #ffcf54 100%
  );
  transition: width 0.5s ease-in-out;
}

#progressBarPercentage {
  position: absolute;
  top: 50%;
  left: 0;
  min-width: 48px;
  height: 28px;
  padding: 4px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-50%);
  border: 1px solid #f9cd83;
  border-radius: 50px;
  background: #8b641b;
  color: #fff;
  font: 14px AdjaraBold;
  white-space: nowrap;
}

@media screen and (max-width: 940px) and (min-width: 320px) {
  .key__action {
    width: 94%;
    margin-top: 5.3333vw;
    padding: 2.1333vw;
    gap: 2.1333vw;
    border-radius: 3.2vw;
  }

  .key__deposit-item {
    width: 100%;
    height: 14.9333vw;
    padding: 2.1333vw 4.2667vw;
    border-radius: 4.2667vw;
  }

  .key__deposit-item > span,
  .key__deposit-box .max_wager_count_span {
    font-size: 3.7333vw;
  }

  .key__deposit-box {
    width: 33.0667vw;
    height: 10.6667vw;
    padding: 1.0667vw 1.0667vw 1.0667vw 2.1333vw;
    gap: 1.6vw;
    border-radius: 3.2vw;
  }

  .key__deposit-box::after {
    bottom: 0.2667vw;
    width: 26.6667vw;
    height: 0.2667vw;
  }

  .key__deposit-box .max_wager_count_span.is-long {
    font-size: 3.2vw;
  }

  .key__deposit-box .max_wager_count_span.is-very-long {
    font-size: 2.6667vw;
  }

  .key__deposit-check {
    width: 4.8vw;
    height: 4.8vw;
  }

  .wager__tabContent {
    gap: 1.2vw;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wager__tabContent.active {
    display: grid;
  }

  .wager__tabContent-item {
    width: 100%;
    min-width: 0;
    height: 18.6667vw;
    padding: 0.8vw 4.2667vw;
    gap: 2.1333vw;
    border: 1px solid rgba(242, 199, 102, 0.5);
    border-radius: 3.2vw;
    background: linear-gradient(180deg, #562631 0%, #0c0507 100%);
    color: #d9d9d9;
  }

  .wager__tabContent-icon.slots {
    width: 8.5333vw;
    height: 8.5333vw;
  }

  .wager__tabContent-icon.spinGames {
    width: 9vw;
    height: 5.3333vw;
  }

  .wager__tabContent-icon.poker {
    width: 7.3vw;
    height: 5.3333vw;
  }

  .wager__tabContent-icon.crashgame {
    width: 12vw;
    height: 5.3333vw;
  }

  .wager__tabContent-name {
    width: 100%;
    height: 5.8667vw;
    margin-top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #d9d9d9;
    font-size: 2.9333vw;
    line-height: 1;
  }

  .wager__tabContent-item:first-child .wager__tabContent-name {
    align-items: center;
  }

  .wager__tabContent-item--goatroad {
    grid-column: 1 / -1;
    height: auto;
    min-height: 16vw;
    padding: 2.1333vw 1.6vw;
    flex-direction: row;
    justify-content: space-between;
    gap: 2.1333vw;
  }

  .wager__tabContent-item--goatroad::before {
    width: 11vw;
    height: 11vw;
    top: -1vw;
    left: -5.3vw;
  }

  .wager__goatroad-logo {
    width: 24vw;
    height: 12.8vw;
    flex: 0 0 auto;
  }

  .wager__goatroad-copy {
    display: block;
    flex: 1;
    min-width: 0;
    color: #fff;
    font: 3.7333vw/1.2 AdjaraRegular;
    text-align: center;
  }

  .wager__goatroad-play {
    width: 22.6667vw;
    height: 8.5333vw;
    padding: 2.6667vw 5.3333vw;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.1333vw;
    border-radius: 2.6667vw;
    background: linear-gradient(90deg, #e9c674 0%, #c2932a 100%);
    color: #492c00;
    font: 3.7333vw/1 AdjaraSemiBold;
    white-space: nowrap;
  }

  .wheel_overlay_popup--wager {
    width: 91.4vw;
    min-height: 0;
    padding: 3.2vw;
    border-radius: 4.2667vw;
  }

  .wheel_overlay_popup .wheel_overlay_popup_wager_title {
    margin-bottom: 4.2667vw;
    font-size: 4vw;
    line-height: 1.45;
  }

  .wager__container {
    min-height: 24vw;
    padding: 5.3333vw;
    gap: 4vw;
    border-radius: 5.3333vw;
  }

  .wager__progress-head > span {
    font-size: 4vw;
  }

  #progressBar {
    height: 4.2667vw;
  }

  #progressBarPercentage {
    min-width: 12.8vw;
    height: 7.4667vw;
    padding: 1.0667vw 2.6667vw;
    font-size: 3.4667vw;
  }

  .wheel_deposit_button > span {
    font-size: 4vw;
  }
}
