@charset "UTF-8"; /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
:root {
  --body-background: #121317;
  --main-font-family: "komikatitle", sans-serif;
  --animation-duration-wheel-shake-1: 2.4s;
  --animation-duration-wheel-shake-2: 2.4s;
  --animation-duration-spin-to-stage-2: 3.4s;
  --animation-duration-spin-to-stage-3: 3.4s;
  --animation-duration-lang-modal: 2s;
  --wheel-size: 288px;
  --wheel-top-position: max(123px, 22vh);
  --body-background-top-position: calc(
    var(--wheel-top-position) - var(--wheel-size) / 3
  );
}
@supports (min-height: 100dvh) {
  :root {
    --wheel-top-position: max(123px, 22dvh);
  }
}
@media all and (min-width: 768px) {
  :root {
    --wheel-size: 536px;
    --wheel-top-position: max(150px, 22vh);
  }
  @supports (min-height: 100dvh) {
    :root {
      --wheel-top-position: max(150px, 22dvh);
    }
  }
}
@media all and (min-width: 1024px) {
  :root {
    --wheel-top-position: 101px;
  }
}
@font-face {
  font-family: komikatitle;
  src: url(./komikatitle-31a10825.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.title_theme_gradient {
  background-image: linear-gradient(
    180deg,
    #feba12 11.76%,
    #fff617 47.01%,
    #ff9b00 80.88%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title_size_sm {
  font-size: 16px;
  line-height: 2.1;
  text-align: center;
}
@media all and (min-width: 1024px) {
  .title_size_sm {
    font-size: 28px;
  }
}
@media all and (min-width: 1440px) {
  .title_size_sm {
    font-size: 34px;
  }
}
.title_is_uppercase {
  text-transform: uppercase;
}
.doors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  place-items: center;
  gap: 20px 30px;
}
@media all and (min-width: 768px) {
  .doors {
    grid-template-columns: repeat(3, 70px);
    gap: 61px 96px;
  }
}
.doors.block-clicks {
  pointer-events: none;
}
.doors__door {
  width: 114px;
  height: 187px;
  position: relative;
  background-image: url(../img/doors/closed-door.webp);
  background-repeat: no-repeat;
  cursor: pointer;
  transition: transform 1s ease, opacity 1s ease;
  opacity: 1;
  animation: pulse 2s infinite ease-in-out;
}
.doors__door.is_opening {
  animation: doorOpening 1s forwards;
  background-repeat: no-repeat;
}
.doors__door.is_opened {
  cursor: default;
  animation: none;
}
.doors__door.is_disabled {
  cursor: default;
}
.doors__door:nth-child(1) {
  animation-delay: 0s;
}
.doors__door:nth-child(2) {
  animation-delay: 0.3s;
}
.doors__door:nth-child(3) {
  animation-delay: 0.6s;
}
.doors__door:nth-child(4) {
  animation-delay: 0.9s;
}
.doors__door:nth-child(5) {
  animation-delay: 1.2s;
}
.doors__door:nth-child(6) {
  animation-delay: 1.5s;
}
@keyframes doorOpening {
  0% {
    transform: scale(1);
    background-image: url(../img/doors/closed-door.webp);
    opacity: 1;
    filter: blur(0);
  }
  20% {
    transform: scale(1.02);
    background-image: url(../img/doors/opening-door.webp);
    opacity: 0.9;
    filter: blur(1px);
  }
  40% {
    transform: scale(1.04);
    background-image: url(../img/doors/opening-door.webp);
    opacity: 0.8;
    filter: blur(0.5px);
  }
  60% {
    transform: scale(1.06);
    background-image: url(../img/doors/opened-door.webp);
    opacity: 0.9;
    filter: blur(0.5px);
  }
  80% {
    transform: scale(1.08);
    background-image: url(../img/doors/opened-door.webp);
    opacity: 1;
    filter: blur(0.2px);
  }
  to {
    transform: scale(1);
    background-image: url(../img/doors/opened-door.webp);
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes pulse {
  0%,
  to {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}
.text_theme_gradient {
  background-image: linear-gradient(
    180deg,
    #feba12 11.76%,
    #fff617 47.01%,
    #ff9b00 80.88%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text_size_sm {
  font-size: 12px;
  line-height: 2.1;
  text-align: center;
}
@media all and (min-width: 1024px) {
  .text_size_sm {
    font-size: 20px;
  }
}
.text_is_uppercase {
  text-transform: uppercase;
}
.modal {
  overflow: hidden;
  border: none;
  outline: 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px #0003;
  padding: 20px;
  width: 313px;
  height: 360px;
  align-items: center;
  flex-direction: column;
  background-color: unset;
  background-image: url(./modal-bg_320-fca531f2.webp);
  background-size: 100% 100%;
}
@media all and (min-width: 768px) {
  .modal {
    background-image: url(./modal-bg_1440-aca3605a.webp);
    width: 389px;
    height: 448px;
  }
}
.modal_is_bonus {
  height: 114px;
  box-shadow: unset;
}
.modal_is_bonus > .modal__title {
  padding-top: 21px;
  color: #fff;
  background-image: unset;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}
@media all and (min-width: 768px) {
  .modal_is_bonus > .modal__title {
    font-size: 34px;
  }
}
.modal::backdrop {
  background-color: #00000080;
}
.modal[open] {
  display: flex;
}
.modal__title {
  padding-top: 48px;
  margin: 0 0 10px;
  background-image: linear-gradient(173.17deg, #461cbb 6.06%, #220b65 77.93%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
  text-align: center;
}
@media all and (min-width: 768px) {
  .modal__title {
    font-size: 18px;
    margin-bottom: 44px;
    padding-top: 54px;
  }
}
.modal__text {
  font-size: 18px;
  color: #fff;
  margin: 0 0 20px;
  text-align: center;
  padding: 5px;
}
@media all and (min-width: 768px) {
  .modal__text {
    margin-bottom: 44px;
  }
}
.modal__text span {
  font-size: 22px;
  padding-top: 15px;
  display: block;
}
.modal__close-button {
  width: 203px;
  min-height: 27px;
  outline: 0;
  background: none;
  border: none;
  background-image: url(./button-bg-0188cacd.svg);
  background-size: 100% 100%;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  padding: 10px 15px;
  transition: background-color 0.3s;
  font-size: 16px;
}
.modal__close-button:focus {
  outline: 0;
}
@media all and (min-width: 768px) {
  .modal__close-button {
    width: 272px;
    min-height: 42px;
    font-size: 24px;
    padding: 15px;
  }
}
.modal__binom-button {
  width: 203px;
  min-height: 27px;
  outline: 0;
  background: none;
  border: none;
  background-image: url(./button-bg-0188cacd.svg);
  background-size: 100% 100%;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  padding: 10px 15px;
  transition: background-color 0.3s;
  font-size: 16px;
}
.modal__binom-button:focus {
  outline: 0;
}
@media all and (min-width: 768px) {
  .modal__binom-button {
    width: 272px;
    min-height: 42px;
    font-size: 24px;
    padding: 15px;
  }
}
.gift {
  position: absolute;
  display: none;
  width: 100px;
  height: 100px;
  background-size: 100% 100%;
  top: 70%;
  left: 50%;
  translate: -50% -50%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease;
}
.gift.is_visible {
  display: block;
  opacity: 1;
  transform: scale(0.8);
}
.gift.is_animate {
  transform: scale(1.1);
}
.gift.is_win {
  background-image: url(../img/gifts/win-gift.webp);
}
.gift.is_lose {
  background-image: url(../img/gifts/lose-gift.webp);
}
.attempts {
  margin-bottom: 12px;
}
.attempts__text {
  margin: 0;
}
.attempts__balls {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.attempts__ball {
  width: 13px;
  height: 13px;
  background-image: url(../img/balls/active-ball.webp);
  background-size: 100% 100%;
  margin-bottom: 12px;
}
.attempts__ball--inactive {
  background-image: url(../img/balls/inactive-ball.webp);
}
.wheel {
  display: none;
  width: var(--wheel-size);
  height: var(--wheel-size);
  background-image: url(./wheel-background-d39edb2b.svg);
  background-size: 100% 100%;
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translate(-50%);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media all and (min-width: 1024px) {
  .wheel {
    top: 180px;
  }
}
.wheel__button {
  position: absolute;
  bottom: -130px;
  left: 50%;
  width: 176px;
  min-height: 42px;
  background: none;
  outline: 0;
  border: 0;
  background-image: url(../img/modals/modal-bg.svg);
  background-size: 100% 100%;
  cursor: pointer;
  animation: pulsate 2s infinite;
}
.wheel__button-text {
  display: block;
  color: #fff;
  font-size: 22px;
  padding: 20px;
  line-height: 1;
  text-transform: uppercase;
}
.wheel__win {
  position: absolute;
  top: 44px;
  z-index: 1;
  width: 160px;
  height: 88px;
}
@media all and (min-width: 768px) {
  .wheel__win {
    height: 211px;
    top: 50px;
  }
}
.wheel__arrow {
  position: absolute;
  top: -30px;
  width: 80px;
  height: 130px;
  z-index: 1;
}
@media all and (min-width: 768px) {
  .wheel__arrow {
    width: 140px;
    height: 122px;
    top: -6px;
  }
}
.wheel__container {
  top: 8px;
  position: relative;
  overflow: hidden;
  width: 90%;
  height: 90%;
  border-radius: 100%;
}
@media all and (min-width: 768px) {
  .wheel__container {
    top: 15px;
  }
}
.wheel__list {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  list-style: none;
  margin: 0;
  height: 100%;
  width: 100%;
  transform-origin: center;
}
.wheel__list_animation_wheel-shake-1 {
  animation-name: wheel-shake-1;
  animation-duration: var(--animation-duration-wheel-shake-1);
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.wheel__list_animation_wheel-shake-2 {
  animation-name: wheel-shake-2;
  animation-duration: var(--animation-duration-wheel-shake-2);
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.wheel__list_animation_spin-to-stage-2 {
  animation-name: spin-to-stage-two;
  animation-duration: var(--animation-duration-spin-to-stage-2);
  animation-iteration-count: 1;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
}
.wheel__list_animation_spin-to-stage-3 {
  animation-name: spin-to-stage-three;
  animation-duration: var(--animation-duration-spin-to-stage-2);
  animation-iteration-count: 1;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
}
.wheel__item {
  position: absolute;
  top: 23px;
  height: 106px;
  transform-origin: bottom;
}
@media all and (min-width: 768px) {
  .wheel__item {
    height: 202px;
    top: 39px;
  }
}
.wheel__item-img {
  width: 78px;
}
@media all and (min-width: 768px) {
  .wheel__item-img {
    width: 150px;
  }
}
.wheel__item_is_active img {
  color: #1f2228;
}
.wheel__item:nth-child(2) {
  transform: rotate(45deg);
}
.wheel__item:nth-child(3) {
  transform: rotate(90deg);
}
.wheel__item:nth-child(4) {
  transform: rotate(135deg);
}
.wheel__item:nth-child(5) {
  transform: rotate(180deg);
}
.wheel__item:nth-child(6) {
  transform: rotate(225deg);
}
.wheel__item:nth-child(7) {
  transform: rotate(270deg);
}
.wheel__item:nth-child(8) {
  transform: rotate(315deg);
}
.wheel__item-text {
  text-align: center;
  color: #fff;
  position: absolute;
  top: 17px;
  z-index: 1;
  margin: 0;
  left: 50%;
  transform: translate(-50%);
  font-size: 13px;
  line-height: 1.29;
  letter-spacing: 0.2408px;
  text-transform: uppercase;
  opacity: 0.78;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 68px;
}
@media all and (min-width: 768px) {
  .wheel__item-text {
    top: 32px;
    font-size: 22px;
    max-width: 120px;
  }
}
.wheel__circle {
  background-image: url(../img/wheel/wheel-circle-bg.webp);
  background-size: 100% 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background-color: transparent;
  border: none;
  width: 77px;
  height: 77px;
  border-radius: 100%;
  overflow: hidden;
  padding: 0;
}
@media all and (min-width: 768px) {
  .wheel__circle {
    width: 160px;
    height: 160px;
  }
}
.wheel__circle-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.29;
  text-align: center;
  letter-spacing: -0.48px;
  text-transform: uppercase;
  color: #d42e40;
}
@keyframes wheel-shake-1 {
  0%,
  to {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-6deg);
  }
}
@keyframes wheel-shake-2 {
  0%,
  to {
    transform: rotate(1980deg);
  }
  50% {
    transform: rotate(1984deg);
  }
}
@keyframes spin-to-stage-two {
  0% {
    transform: rotate(1988deg);
  }
  70% {
    transform: rotate(3968deg);
  }
  80% {
    transform: rotate(3958deg);
  }
  90% {
    transform: rotate(3964deg);
  }
  to {
    transform: rotate(3960deg);
  }
}
@keyframes spin-to-stage-three {
  70% {
    transform: rotate(1988deg);
  }
  80% {
    transform: rotate(1978deg);
  }
  90% {
    transform: rotate(1984deg);
  }
  to {
    transform: rotate(1980deg);
  }
}
@keyframes pulsate {
  0%,
  to {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}
.body {
  padding: 15px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
  background-color: #000;
  background-image: url(./body-bg.webp);

  background-size: 100% 100%;
}
.body__small-ball {
  display: none;
}
@media all and (min-width: 1024px) {
  .body__small-ball {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    z-index: -1;
    width: 464px;
    height: 356px;
    background-image: image-set(
      url(./small-ball-28d2b110.webp) 1x,
      url(./small-ball@2x-88cb4e35.webp) 2x,
      url(./small-ball@3x-74bb1804.webp) 3x
    );
  }
}
.body__de-flaq {
  position: absolute;
  top: 100px;
  right: 0;
  display: block;
  z-index: -1;
  width: 157px;
  height: 302px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(./flaq.png);
}
@media all and (min-width: 1024px) {
  .body__de-flaq {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    z-index: -1;
    width: 307px;
    height: 302px;
    background-image: url(./flaq.png);
  }
}
@media all and (min-width: 1024px) {
  .body {
    background-image: image-set(
      url(./body-bg_1440-fb6315a5.webp) 1x,
      url(./body-bg_1440@2x-61b57331.webp) 2x,
      url(./body-bg_1440@3x-7f3e584c.webp) 3x
    );
  }
}
@supports (min-height: 100dvh) {
  .body {
    min-height: 100dvh;
  }
}
.body:has(dialog[open]) {
  overflow: hidden;
}
.main {
  position: relative;
}
.main__title {
  margin: 0 0 12px auto;
}
.main__text {
  margin: 0 auto;
}
.main__big-ball {
  display: none;
}
@media all and (min-width: 1024px) {
  .main__big-ball {
    position: absolute;
    top: 50px;
    left: -400px;
    display: block;
    z-index: -1;
    width: 537px;
    height: 513px;
    background-image: image-set(
      url(./big-ball-c87becfa.webp) 1x,
      url(./big-ball@2x-e10f75ad.webp) 2x,
      url(./big-ball@3x-d994098a.webp) 3x
    );
  }
}
.header__logo {
  display: flex;
  justify-content: center;
  margin: 0 0 22px;
}
.footer {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  padding: 0 20px 550px;
  gap: 15px;
}
@media all and (min-width: 1024px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }
}
html {
  scrollbar-gutter: stable;
}
body {
  font-family: komikatitle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
