@keyframes rotation-loader {
  0% {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

@-webkit-keyframes spinTo1 {
  0% {
    -webkit-transform: rotate(-44deg);
    transform: rotate(-44deg)
  }

  to {
    transform: rotate(1080deg)
  }
}

@-webkit-keyframes spinTo2 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1396deg)
  }
}

@-webkit-keyframes spinTo3 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1351deg)
  }
}

@-webkit-keyframes spinTo4 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1305deg)
  }
}

@-webkit-keyframes spinTo5 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1261deg)
  }
}

@-webkit-keyframes spinTo6 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1217deg)
  }
}

@-webkit-keyframes spinTo7 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1531deg)
  }
}

@-webkit-keyframes spinTo8 {
  0% {
    transform: rotate(-4deg)
  }

  to {
    transform: rotate(1485deg)
  }
}

@-webkit-keyframes spinner-win {

  0%,
  to {
    transform: rotate(1080deg)
  }

  50% {
    transform: rotate(1085deg)
  }
}

@keyframes showWind {

  0%,
  80% {
    opacity: 1;
    transform: scale(3) translateY(100vh)
  }

  to {
    opacity: 0;
    transform: scale(3) translateY(-100vh)
  }
}

@keyframes rotateModal {

  0%,
  10%,
  90%,
  to {
    transform: rotate(7deg)
  }

  40%,
  60% {
    transform: rotate(-7deg)
  }
}

@keyframes scaleBalloon {

  0%,
  15% {
    transform: scale(1) translateY(0)
  }

  to {
    transform: scale(.5) translateY(20em)
  }
}

@keyframes moveBalloon {

  0%,
  to {
    transform: scale(.5) rotate(0deg) translateY(20em)
  }

  50% {
    transform: scale(.5) rotate(-2deg) translateY(20em)
  }
}

@keyframes scaleCap {
  0% {
    transform: scale(.8)
  }

  to {
    transform: scale(1)
  }
}

@keyframes scaleRope1 {
  0% {
    transform: rotate(3deg) scale(1) translateX(0)
  }

  to {
    transform: rotate(-5deg) scale(1.06) translateX(-5em)
  }
}

@keyframes scaleRope2 {
  0% {
    transform: rotate(-3deg) scaleX(-1) scale(1) translateX(0)
  }

  to {
    transform: rotate(4deg) scaleX(-1) scale(1.06) translateX(-5em)
  }
}

@keyframes moveUp {
  0% {
    transform: translateY(0) translateX(-50%)
  }

  to {
    transform: translateY(-25em) translateX(-50%)
  }
}

@keyframes fallDown {
  0% {
    transform: translateY(0)
  }

  to {
    transform: translateY(200vh)
  }
}

@keyframes hideBang {
  0% {
    opacity: 1
  }

  to {
    opacity: 0
  }
}

* {
  margin: 0;
  padding: 0
}

*,
::after,
::before {
  box-sizing: border-box
}

ol[role=list],
ul[role=list] {
  list-style: none
}

html:focus-within {
  scroll-behavior: smooth
}

a {
  text-decoration: none !important
}

a:not([class]) {
  text-decoration-skip-ink: auto
}

canvas,
img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover
}

button,
input,
select,
textarea {
  font: inherit
}

@media (prefers-reduced-motion:reduce) {
  html:focus-within {
    scroll-behavior: auto
  }

  *,
  ::after,
  ::before {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition: none
  }
}

body,
html {
  height: 100%;
  scroll-behavior: smooth
}

.hidden {
  display: none !important
}

.visible {
  display: flex !important
}

body {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: min(4.5px + 5.5*(100vw - 375px)/1545, 10px);
  font-style: normal;
  font-size: 80%
}

.bottom__section-button {
  min-width: 50px;
  align-items: center
}

.bottom__section-button span {
  height: auto
}

.bottom__section-button .button-loader {
  display: none
}

.bottom__section-button.is--link {
  display: flex;
  align-items: center;
  justify-content: center
}

.bottom__section-button.is--disabled {
  pointer-events: none
}

.bottom__section-button.is--disabled span {
  opacity: .2
}

.bottom__section-button.is--disabled .button-loader {
  display: flex
}

.button-loader {
  position: absolute;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%
}

.button-loader span {
  width: 30px !important;
  height: 30px !important;
  border: 4px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation-loader 1s linear infinite;
  opacity: 1 !important;
  margin-left: 0 !important;
  margin-right: 0 !important
}

.wheel__spinner_win_1 {
  animation: 3s spinTo1 ease-in-out forwards !important
}

.wheel__spinner_win_2 {
  animation: 3s spinTo2 ease-in-out forwards
}

.wheel__spinner_win_3 {
  animation: 3s spinTo3 ease-in-out forwards
}

.wheel__spinner_win_4 {
  animation: 3s spinTo4 ease-in-out forwards
}

.wheel__spinner_win_5 {
  animation: 3s spinTo5 ease-in-out forwards
}

.wheel__spinner_win_6 {
  animation: 3s spinTo6 ease-in-out forwards
}

.wheel__spinner_win_7 {
  animation: 3s spinTo7 ease-in-out forwards
}

.wheel__spinner_win_8 {
  animation: 3s spinTo8 ease-in-out forwards
}

.wheel__texts-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 1em !important;
  padding-left: 2em !important
}

.wheel__texts-block p {
  transform: rotate(-7deg)
}

.wheel__texts-block p:only-child {
  transform: rotate(0deg)
}

.wheel__texts-block p+p {
  margin-top: 10px;
  transform: rotate(7deg)
}

.effects,
.effects__block {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%
}

.effects {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center
}

.effects__block {
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  position: fixed
}

.wheel__texts-1,
.wheel__texts-2 {
  transform: rotate(-137deg);
  position: absolute;
  left: 11%;
  top: 23%
}

.wheel__texts-2 {
  transform: rotate(-93deg);
  left: 32%;
  top: 14%
}

.wheel__texts-3,
.wheel__texts-4 {
  transform: rotate(-45deg);
  position: absolute;
  left: 54%;
  top: 23%
}

.wheel__texts-4 {
  transform: rotate(-2deg);
  left: 63%;
  top: 44%
}

.wheel__texts-5,
.wheel__texts-6 {
  transform: rotate(43deg);
  position: absolute;
  left: 54%;
  top: 65%
}

.wheel__texts-6 {
  transform: rotate(87deg);
  left: 33%;
  top: 74%
}

.wheel__texts-7,
.wheel__texts-8 {
  transform: rotate(133deg);
  position: absolute;
  left: 11%;
  top: 66%
}

.wheel__texts-8 {
  transform: rotate(177deg);
  left: 2%;
  top: 45%
}

.win-animation-svg {
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(45deg);
  opacity: 0;
  width: 100%
}

.win-animation-svg.is--active {
  opacity: 1
}

.is--win-spinner {
  animation: 2s spinner-win ease-in-out infinite !important
}

body.is--winner .bottom__section {
  opacity: 0
}

html {
  background: #db85b3;
  font-size: min(4.5px + 5.5*(100vw - 375px)/1545, 10px)
}

@media (max-width:1440px) {
  body {
    font-size: 80%
  }
}

@media (max-width:1024px) {
  body {
    font-size: 100%
  }
}

img {
  width: 100%
}

.body-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden
}

.game-bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 550em;
  background: linear-gradient(180deg, #201988 0, #e09cff 100%)
}

.game-bg__glade {
  position: absolute;
  left: -1%;
  bottom: -5em;
  width: 102%;
  height: 100vh;
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-image: url(../img/glade.webp)
}

@media (max-width:767px) {
  .game-bg__glade {
    width: 288em;
    height: 136em;
    bottom: 0;
    left: calc(50% - 144em)
  }
}

.game-bg__shadow {
  position: absolute;
  left: calc(50% - 70em);
  bottom: 18em;
  width: 140em;
  height: 22em;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../img/shadow.webp)
}

@media (max-width:767px) {
  .game-bg__shadow {
    left: calc(50% - 60em);
    bottom: 27em;
    width: 120em;
    height: 18em
  }
}

.game-bg__birds,
.game-bg__cloud {
  position: absolute;
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat
}

.game-bg__cloud.is--1 {
  left: -1%;
  bottom: 20em;
  width: 102%;
  height: 100vh;
  background-image: url(../img/cloud-1.webp)
}

@media (max-width:767px) {
  .game-bg__cloud.is--1 {
    width: 288em;
    height: 136em;
    bottom: 40em;
    left: calc(50% - 144em)
  }
}

.game-bg__cloud.is--2 {
  width: 148em;
  height: 46em;
  left: calc(50% - 150em);
  bottom: 180em;
  background-image: url(../img/cloud-2.webp)
}

@media (max-width:767px) {
  .game-bg__cloud.is--2 {
    left: calc(50% - 120em)
  }
}

.game-bg__cloud.is--3 {
  width: 98em;
  height: 32em;
  right: calc(50% - 150em);
  bottom: 240em;
  background-image: url(../img/cloud-3.webp)
}

@media (max-width:767px) {
  .game-bg__cloud.is--3 {
    right: calc(50% - 120em)
  }
}

.game-bg__cloud.is--4 {
  width: 118em;
  height: 18em;
  left: calc(50% - 150em);
  bottom: 350em;
  background-image: url(../img/cloud-4.webp)
}

@media (max-width:767px) {
  .game-bg__cloud.is--4 {
    left: calc(50% - 100em)
  }
}

.game-bg__cloud.is--5 {
  width: 40em;
  height: 12em;
  right: calc(50% - 100em);
  bottom: 410em;
  background-image: url(../img/cloud-5.webp)
}

@media (max-width:767px) {
  .game-bg__cloud.is--5 {
    right: calc(50% - 60em)
  }
}

.game-bg__birds {
  width: 34em;
  height: 34em;
  background-position: center
}

.game-bg__birds.is--1 {
  bottom: 150em;
  right: calc(50% - 111em);
  background-image: url(../img/birds.webp);
  transform: scaleX(-1)
}

@media (max-width:767px) {
  .game-bg__birds.is--1 {
    right: calc(50% - 60em)
  }
}

.game-bg__birds.is--2 {
  bottom: 220em;
  left: calc(50% - 105em);
  background-image: url(../img/birds.webp)
}

@media (max-width:767px) {
  .game-bg__birds.is--2 {
    left: calc(50% - 65em)
  }
}

.game-bg__birds.is--3 {
  width: 30em;
  height: 30em;
  bottom: 270em;
  left: calc(50% - 105em);
  background-image: url(../img/chaika.webp)
}

@media (max-width:767px) {
  .game-bg__birds.is--3 {
    display: none
  }
}

.game-header {
  position: absolute;
  z-index: 2;
  left: 4em;
  top: 2.6em;
  gap: 2em;
  width: calc(100% - 8em);
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo stats empty"
}

@media (max-width:767px) {
  .game-header {
    top: 4em;
    font-size: 110%;
    grid-template-columns: auto 1fr;
    grid-template-areas: "logo empty" "stats stats"
  }
}

.game-header__logo {
  grid-area: logo;
  width: 14.1em;
  height: 3.4em
}

.game-header__stats,
.game-header__stats-item {
  display: flex;
  align-items: center;
  justify-content: center
}

.game-header__stats {
  grid-area: stats;
  justify-self: center;
  gap: 1em;
  width: min-content;
  padding: .6em 1em;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, .2)
}

.game-header__stats-item {
  width: 12.3em;
  height: 4em;
  border-radius: 4px;
  background: #102a80;
  border: 1px solid rgba(255, 255, 255, .05)
}

@media (max-width:767px) {
  .game-header__stats-item:nth-child(n+6) {
    display: none
  }
}

.game-header__stats-item span {
  color: inherit;
  text-align: center;
  font-size: 2em
}

.game-header__stats-item.is--red {
  color: #ef3034
}

.game-header__stats-item.is--purple {
  color: #c464f5
}

.game-header__stats-item.is--orange {
  color: #fd8b2a
}

.game-header__empty {
  grid-area: empty;
  width: 14.1em;
  height: 3.4em
}

.game-ballon {
  position: absolute;
  left: calc(50% - 39em);
  bottom: 22em;
  width: 78em;
  height: 119em;
  font-size: 120%
}

@media (max-width:1023px) {
  .game-ballon {
    font-size: 130%;
    bottom: 25em
  }
}

.game-ballon__wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%
}

.game-ballon__ballon,
.game-ballon__bucket {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom
}

.game-ballon__bucket {
  left: 17.5%;
  top: 0;
  width: 65%;
  height: 100%;
  background-image: url(../img/bucket-2.webp)
}

.game-ballon__ballon {
  left: calc(50% - 70em);
  bottom: 63em;
  width: 140em;
  height: 140em;
  background-image: url(../img/balloon-1.webp)
}

.game-ballon__rope {
  background-position: center;
  background-image: url(../img/bucket-row.webp)
}

.game-ballon__rope.is--1 {
  left: -5em;
  width: 35em;
  bottom: 42em;
  height: 93em;
  transform: rotate(3deg)
}

.game-ballon__rope.is--2 {
  right: -4em;
  width: 35em;
  bottom: 42em;
  height: 93em;
  transform: rotate(-3deg) scaleX(-1)
}

.game-ballon__cap,
.game-ballon__chicken,
.game-ballon__fire,
.game-ballon__rope {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat
}

.game-ballon__cap {
  left: calc(50% - 70em);
  bottom: 58em;
  width: 140em;
  height: 140em;
  background-position: center top;
  background-image: url(../img/balloon-cap.webp);
  transform: scale(.75)
}

.game-ballon__chicken,
.game-ballon__fire {
  background-position: center bottom
}

.game-ballon__fire.is--1 {
  width: 30em;
  height: 20em;
  bottom: 40em;
  left: calc(50% - 15em);
  background-image: url(../img/fire-1.webp)
}

.game-ballon__fire.is--2 {
  display: none;
  width: 16em;
  height: 20em;
  bottom: 45em;
  left: calc(50% - 7em);
  background-image: url(../img/fire-2.webp)
}

.game-ballon__chicken {
  left: calc(50% - 11.5em);
  bottom: 13.5em;
  width: 25em;
  height: 28em;
  background-image: url(../img/chicken-1.webp)
}

.game-ballon__win {
  position: absolute;
  bottom: 75em;
  left: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translateX(-50%)
}

@media (max-width:767px) {
  .game-ballon__win {
    bottom: 85em
  }
}

@media (max-width:767px) and (max-height:741px) {
  .game-ballon__win {
    bottom: 75em
  }
}

.game-ballon__win-value {
  color: #fff;
  text-align: center;
  font-size: 9.2em;
  white-space: nowrap
}

.game-ballon__win-multiplier {
  color: #fff;
  text-align: center;
  font-size: 5em
}

.game-ballon__wind,
.game-controls {
  position: absolute;
  left: 0;
  width: 100%;
  align-items: center;
  justify-content: center
}

.game-ballon__wind {
  display: none;
  opacity: 0;
  bottom: 0;
  height: 100vh;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../img/wind.webp);
  animation: showWind 4.75s ease-in-out infinite;
  animation-delay: 1.5s
}

.game-controls {
  z-index: 2;
  bottom: 5em;
  display: flex
}

@media (max-width:1023px) {
  .game-controls {
    bottom: 60px
  }
}

.game-controls__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5em;
  width: 100%;
  max-width: 156em;
  min-height: 15.6em;
  padding: 1.3em 1.3em 1.3em 2em;
  border-radius: 2.5em;
  background-color: #16171b
}

@media (max-width:1023px) {
  .game-controls__container {
    width: auto;
    max-width: unset;
    gap: 0;
    padding: 1.3em 0 1.3em 1em
  }
}

.game-controls__left {
  display: flex;
  align-items: center;
  gap: 1.5em
}

.game-controls__params {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 13em;
  width: 35em;
  padding: 1.6em 2.5em;
  gap: 1.5em;
  border-radius: .9em;
  background: rgba(255, 255, 255, .05)
}

@media (max-width:1023px) {
  .game-controls__params {
    gap: 0;
    display: none
  }
}

.game-controls__params-label {
  color: #fff;
  font-size: 2.3em;
  opacity: .7
}

.game-controls__params-value {
  color: #fff;
  font-size: 3em;
  display: flex;
  align-items: center;
  gap: 10px
}

.game-controls__params-value-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: .7em;
  line-height: 1;
  width: 1.5em;
  height: 1.5em;
  border-radius: 100%;
  background-color: #fff
}

@media (max-width:1023px) {
  .game-controls__params.is--balance {
    position: absolute;
    top: -7em;
    left: calc(50% - 41.5em);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #16171b;
    border-radius: 1.2em;
    height: 28px;
    padding: 0 3em
  }

  .game-controls__params.is--balance .game-controls__params-value {
    flex-direction: row-reverse;
    gap: 4px
  }
}

.game-controls__right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 68.5em
}

@media (max-width:1023px) {
  .game-controls__right {
    width: 82.5em
  }
}

.game-controls__btn {
  position: absolute;
  top: calc(50% - 9.25em);
  right: 17.5em;
  border-radius: 100%;
  transition: all .1s ease-in-out
}

@media (max-width:1023px) {
  .game-controls__btn {
    right: 31.5em
  }
}

.game-controls__btn:hover {
  box-shadow: 0 0 9px 0 #fa0
}

.game-controls__btn .bottom__section-button,
.game-controls__btn-cash,
.game-controls__panel {
  justify-content: center;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat
}

.game-controls__btn-cash {
  display: none;
  align-items: center;
  width: 18.5em;
  height: 18.5em;
  border: 0;
  background-color: transparent;
  background-image: url(../img/btn-cashout.webp);
  cursor: pointer;
  text-decoration: none;
  border-radius: 100%;
  overflow: hidden
}

.game-controls__btn .bottom__section-button span,
.game-controls__btn-cash span {
  color: #fff;
  text-align: center;
  text-shadow: 0 .1em .2em rgba(0, 0, 0, .5);
  font-size: 2.4em;
  margin-bottom: .1em
}

.game-controls__btn .bottom__section-button,
.game-controls__panel {
  display: flex
}

.game-controls__btn .bottom__section-button {
  align-items: center;
  width: 18.5em;
  height: 18.5em;
  border: 0;
  background-color: transparent;
  background-image: url(../img/btn-start.webp);
  cursor: pointer;
  text-decoration: none;
  border-radius: 100%;
  overflow: hidden
}

.game-controls__btn .bottom__section-button-next {
  display: none
}

.game-controls__panel {
  position: relative;
  flex-direction: column;
  height: 13em;
  gap: 1.5em;
  padding: 1.6em 4.5em
}

.game-controls__panel-label {
  color: #fff;
  font-size: 2.3em;
  opacity: .7
}

.game-controls__panel-value {
  color: #fff;
  font-size: 3em;
  display: flex;
  align-items: center;
  gap: 10px
}

.game-controls__panel-value-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: .7em;
  line-height: 1;
  width: 1.5em;
  height: 1.5em;
  border-radius: 100%;
  background-color: #fff
}

.game-controls__panel.is--right {
  height: 14em;
  width: 19.5em;
  align-items: center;
  justify-content: center;
  background-image: url(../img/control-panel-right.webp)
}

@media (max-width:1023px) {
  .game-controls__panel.is--right {
    width: 34.3em;
    background-image: url(../img/control-panel-right-mob.webp)
  }
}

.game-controls__panel.is--right svg {
  width: 6.4em;
  height: 6.4em;
  margin-left: 1em
}

.game-controls__panel.is--left {
  width: 34.3em;
  background-image: url(../img/control-panel-left.webp)
}

.game-controls__panel.is--left svg {
  font-size: 95%;
  position: absolute;
  right: 3em;
  width: 7.1em;
  height: 5.7em
}

.game-controls__panel.is--left svg.is--1 {
  top: 1em
}

.game-controls__panel.is--left svg.is--2 {
  bottom: 1em;
  right: 2.75em
}

.game-win {
    text-transform: uppercase;
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 43px;
  background-color: #222327;
  color: #fff;
  font-size: 18px
}

@media (max-width:1023px) {
  .game-win {
    display: flex
  }
}

.modal,
.modal::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%
}

.modal {
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  visibility: hidden
}

@media (max-width:1023px) {
  .modal {
    font-size: 80%
  }
}

.modal::before {
  content: "";
  display: block;
  background: rgba(217, 217, 217, .05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px)
}

.modal__content {
  position: absolute;
  z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  /*top: calc(50% - 29em);*/
  /*left: calc(50% - 50em);*/
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100em;
    width: max-content;
    max-width: 90%;
  height: 50em;
    background-color: #367348;
    border-radius: 26px;
    border: 3px solid #3DC45C;

  /*background-size: contain;*/
  /*background-position: center;*/
  /*background-repeat: no-repeat;*/
  /*background-image: url(../img/modal-frame.webp);*/
  /* animation: rotateModal 2s ease-in-out infinite */
}

.modal__win,
.modal__win-btn .bottom__section-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 12.6em;
  border-radius: 6em
}

.modal__win {
    height: max-content;
    word-break: break-word;
    position: absolute;
    padding: 6px 6px;
  left: 50%;
  min-width: 39em;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90%;
    bottom: calc(100% - 24px);
  background: #ffcb29
}

.modal__win span {
  color: #331b00;
  font-size: 7.2em;
  text-align: center
}

.modal__balance-value {
  color: #fff;
  font-size: 15em;
  display: flex;
  align-items: center;
  gap: .2em;
  text-shadow: 0 .1em 0 #014715
}

.modal__balance-value-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #014715;
  font-size: .6em;
  line-height: 1;
  width: 1.5em;
  height: 1.5em;
  border-radius: 100%;
  background-color: #fff;
  text-shadow: none;
  box-shadow: 0 .13em 0 0 #014715
}

.modal__win-btn {
  position: absolute;
  z-index: 5;
  left: 50%;
    top: calc(100% - 24px);
  transform: translateX(-50%);
    max-width: 90%;

}

.modal__win-btn .bottom__section-button {
    height: max-content;
    min-width: 39em;
  background: #fff;
    width: max-content;
    max-width: 100%;
    padding: 6px 12px;
}

.modal__win-btn .bottom__section-button span {
  color: #3dc55b;
  text-align: center;
  font-size: 7em;
    word-break: break-word;
}

.modal__win-btn .button-loader span {
  border: 4px solid #3dc55b;
  border-bottom-color: transparent
}

.modal__coins {
  position: absolute;
  width: 110em;
  height: 110em;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../img/coins.webp);
  mix-blend-mode: screen
}

.modal__coins.is--1 {
  z-index: 2;
  left: calc(50% - 120em);
  top: calc(50% - 50em)
}

@media (max-width:1023px) {
  .modal__coins.is--1 {
    top: calc(50% - 90em);
    left: calc(50% - 40em);
    transform: scaleX(-1)
  }
}

.modal__coins.is--2 {
  z-index: 2;
  right: calc(50% - 120em);
  top: calc(50% - 80em);
  transform: scaleX(-1)
}

@media (max-width:1023px) {
  .modal__coins.is--2 {
    top: 50%;
    right: calc(50% - 42em);
    transform: unset
  }
}

.modal.is--active {
  opacity: 1;
  visibility: visible
}

.is--modal-open .game-controls {
  z-index: 0
}

.is--lose .game-controls .bottom__section-button,
.is--lose .game-controls .game-controls__btn-cash {
  pointer-events: none !important
}

.is--started .game-ballon {
  bottom: 2em;
  transition: all .3s ease-in-out;
  animation: scaleBalloon 2s ease-in-out 1, moveBalloon 5s ease-in-out infinite;
  animation-delay: 0s, 2s
}

@media (max-width:1023px) {
  .is--started .game-ballon {
    bottom: 10em
  }
}

.is--started .game-ballon__cap {
  animation: scaleCap 9.5s ease-in-out forwards
}

.is--started .game-ballon__rope.is--1 {
  animation: scaleRope1 9.5s ease-in-out forwards
}

.is--started .game-ballon__rope.is--2 {
  animation: scaleRope2 9.5s ease-in-out forwards
}

.is--started .game-ballon__win {
  display: flex;
  animation: moveUp 2s ease-in-out forwards
}

.is--started .game-ballon__fire.is--2,
.is--started .game-ballon__wind {
  display: flex
}

.is--started .game-ballon__chicken {
  background-image: url(../img/chicken-2.webp)
}

/*.is--started .game-ballon__ballon {*/
/*  background-image: url(../img/balloon.webp)*/
/*}*/

.is--started .game-ballon.is--end .game-ballon__ballon {
  background-image: url(../img/balloon-3.webp)
}

.is--started .game-ballon.is--end .game-ballon__cap {
  left: calc(50% - 71em);
  bottom: 60em;
  width: 142em;
  height: 142em
}

.is--started .game-ballon.is--lose .game-ballon__wrapper {
  animation: fallDown .5s ease-in-out forwards
}

.is--started .game-ballon.is--lose .game-ballon__ballon {
  background-image: url(../img/bang.webp);
  animation: hideBang .5s ease-in-out forwards
}

.is--started .game-ballon.is--lose .game-ballon__cap,
.is--started .game-controls .bottom__section-button {
  display: none
}

.is--started .game-controls__panel {
  opacity: .8;
  pointer-events: none
}

.is--started .game-controls__btn-cash {
  display: flex
}

.effects {
  z-index: 999;
  mix-blend-mode: unset
}

@media(max-width:374px){
  .game-controls{
zoom: 0.75;
  }
}

.fail {
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.00) 100%);
  backdrop-filter: blur(7.958217144012451px);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 11111;
  transition: opacity .3s ease-in-out;
  opacity: 1;
}

.fail_hide {
  z-index: -1;
  opacity: 0;
}


.fail__content {
  border-radius: 32px;
  border-top: 2px solid rgba(158, 166, 202, 0.30);
  background: rgba(45, 50, 77, 0.80);
  box-shadow: 0 11.937px 0 0 #202334;
  backdrop-filter: blur(7.958217144012451px);
  max-width: 350px;
  width: 100%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 16px;

}

.fail__icon {
  /* width: 100px; */
  /* margin: -110px auto 0; */

}

.fail__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fail__title {
  color: #FFF;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  text-transform: uppercase;
}

.fail__btn {
  border-radius: 12px;
  background: radial-gradient(32.88% 98.09% at 96.77% -33.65%, rgba(214, 255, 216, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), radial-gradient(129.5% 78.18% at 9.01% -26.92%, rgba(214, 255, 216, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), #E40373;
  box-shadow: 0 4px 4px 0 rgba(255, 255, 255, 0.25) inset, 0 7px 0 -3px #EDA4AF;
  color: #FFF;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  padding: 18px 0;
  width: 100%;
}

.modal__win {

}
