body {
  background: #0F0D10;
  font-family: sans-serif;
}

.app-wrapper {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin: auto;
  padding: 0 5px;
  overflow: hidden;
  box-sizing: border-box;
}
.reg-btn {
  background: #4b97f1;
  color: #fff;
  text-transform: uppercase;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 30px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1A1A1C;
  padding: 10px;
  border-bottom: 2px solid #27262C;
}

.logo {
  color: #C80E37;
  font-size: 30px;
  font-weight: bold;
}

.right-side {
  display: flex;
  align-items: center;
}

.coins {
  position: relative;
  color: #909092;
  border-radius: 10px;
  padding: 5px 10px;
  height: 30px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #27262C;
}
.coins:before {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: -35px;
  content: "?";
  color: #B75A00;
  width: 25px;
  height: 25px;
  background: #E48B15;
  border-radius: 50%;
}

.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #27262C;
  box-sizing: border-box;
  width: 100%;
  height: 30px;
  padding: 5px 10px;
  border-radius: 10px;
  margin-left: 10px;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #909092;
}
.burger span:nth-child(2) {
  margin: 3px 0;
}

.history-bar {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 10px 5px 10px;
  height: 30px;
  overflow-x: hidden;
}

.history-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 60px;
  height: 30px;
  border-radius: 15px;
  right: 0;
  top: 5px;
  color: #fff;
  background: #000;
  border: 2px solid #787878;
  box-shadow: -11px 0px 11px #000;
}
.history-bar__btn img:last-child {
  width: 20%;
  margin-left: 5px;
}

.history-bar__item {
  padding: 5px 10px;
  border-radius: 10px;
  margin-right: 5px;
  font-size: 12px;
  font-weight: bold;
}
.history-bar__item:last-child {
  margin-right: 0;
}

.small {
  background: #055383;
  color: #80C1E9;
}

.medium {
  background: #430991;
  color: #A275D0;
}

.big {
  background: #5D0553;
  color: #A56EA5;
}

.game-screen {
  position: relative;
  background: url("../img/background.png") no-repeat center/contain;
  height: 270px;
  width: 100%;
}

.control-wrapper {
  position: relative;
  background: #1A1A1C;
  border: 2px solid #27262C;
  border-radius: 15px;
  padding: 10px 20px;
  margin: 10px 0;
}

.del {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 20px;
  height: 20px;
  border: 2px solid #27262C;
  border-radius: 50%;
}
.del:before {
  position: absolute;
  content: "";
  width: 10px;
  height: 2px;
  background: #27262C;
}

.switcher {
  max-width: 250px;
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #27262C;
  background: #0F0D10;
  border-radius: 20px;
}

.switcher__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 125px;
  width: 100%;
  color: #fff;
  padding: 5px 0;
}

.switcher__btn--active {
  background: #27262C;
  border-radius: 20px;
}

.control-block {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.inputs {
  max-width: 200px;
  width: 100%;
}

.input-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0F0D10;
  border: 2px solid #27262C;
  border-radius: 20px;
  padding: 5px;
}
.input-wrapper input {
  box-sizing: border-box;
  width: 100%;
  margin-right: 10px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
}

.input-wrapper-buttons {
  display: flex;
  align-items: center;
}

.plus {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background: #717076;
  border-radius: 50%;
  margin-left: 5px;
  cursor: pointer;
}
.plus:after {
  position: absolute;
  content: "";
  width: 12px;
  height: 2px;
  background: #0F0D10;
}
.plus:before {
  position: absolute;
  content: "";
  width: 2px;
  height: 12px;
  background: #0F0D10;
}

.minus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background: #717076;
  border-radius: 50%;
  cursor: pointer;
}
.minus:after {
  position: absolute;
  content: "";
  width: 12px;
  height: 2px;
  background: #0F0D10;
}

.submit-btn {
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  background: #30C313;
  color: #fff;
  font-size: 22px;
  border-radius: 15px;
  text-transform: uppercase;
  box-shadow: 1px 1px 6px 0 #30C313;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.submit-btn-wait {
  background: #CA6507;
  box-shadow: 1px 1px 6px 0 #CA6507;
  color: #fff;
}

.btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 5px;
  margin-top: 5px;
}

.const-bet {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #27262C;
  color: #717076;
  border-radius: 15px;
  background: #222126;
  padding: 2px 0;
  cursor: pointer;
}

.score-wrapper {
  display: none;
  position: absolute;
  font-size: 80px;
  font-weight: bold;
  max-width: 180px;
  width: 100%;
  height: 110px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  color: #fff;
}

.bot-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../img/bg.jpeg") no-repeat center/cover;
  padding-top: 10px;
}

.ava {
  max-width: 200px;
  width: 100%;
  margin-bottom: -5px;
}
.ava img {
  width: 100%;
}

.message {
  position: relative;
  background: #d60c34;
  text-align: center;
  color: #fff;
  font-size: 32px;
  text-transform: uppercase;
  padding: 20px;
  border-radius: 10px;
}
.message:before {
  border: 15px solid transparent;
  border-bottom-color: #d60c34;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -52px;
  transform: rotate(270deg);
  content: "";
}

.svgarrow {
  position: absolute;
  top: -100px;
  right: 0;
  transform: rotate(180deg);
}

.game-text {
  display: none;
  text-transform: uppercase;
  position: absolute;
  font-size: 30px;
  max-width: 110px;
  width: 100%;
  height: 110px;
  top: -50px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  color: #fff;
}

.links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
}
.links a {
  display: block;
  color: #fff;
}

.final-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9;
  backdrop-filter: blur(5px);
}

.final-popup {
  position: absolute;
  box-sizing: border-box;
  top: 20px;
  left: 20px;
  max-width: 90%;
  width: 440px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  z-index: 10;
}

.h {
  text-transform: uppercase;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

.retry-btn {
  background: #239F0B;
  color: #fff;
  text-transform: uppercase;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  cursor: pointer;
}
.retry-btn2 {
  background: #239F0B;
  color: #fff;
  text-transform: uppercase;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  cursor: pointer;
}

.win-popup {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0F0D10;
  text-align: center;
  font-weight: bold;
  color: #239F0B;
  padding: 10px;
  box-sizing: border-box;
  height: 85px;
  font-size: 60px;
  max-width: 250px;
  width: 100%;
  border-radius: 10px;
  margin: auto;
  box-shadow: 0 0 5px 3px #239F0B;
  z-index: 9;
}

.counter-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  text-transform: uppercase;
}

.counter {
  font-size: 40px;
  color: red;
}
.counter span {
  font-weight: bold;
}

.arrow-up {
  position: absolute;
  top: 20px;
  right: 22%;
}

@media screen and (max-width: 375px) {
  .submit-btn {
    font-size: 20px;
  }
}
@media screen and (max-width: 355px) {
  .submit-btn {
    font-size: 16px;
  }
  .counter {
    font-size: 36px;
  }
}

/*# sourceMappingURL=style.css.map */
