@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

html {
  font-size: 1.111vw;
}

body {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  background: #000;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #fff;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  word-wrap: break-word;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  -ms-grid-rows: 1fr;
  grid-template-rows: 1fr;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-tap-highlight-color: rgba(255,255,255,0);
}

body > *:nth-child(1) {
  -ms-grid-row: 1;
  grid-row: 1;
  -ms-grid-column: 1;
  grid-column: 1;
}

img {
  pointer-events: none;
}
.background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.background-mob {
  display: none;
}

/* --- fade переходи між екранами --- */
.fade-out {
  opacity: 0;
  -webkit-transition: opacity 0.6s ease-out;
  -o-transition: opacity 0.6s ease-out;
  transition: opacity 0.6s ease-out;
}

.fade-in {
  opacity: 1;
  -webkit-transition: opacity 0.6s ease-in;
  -o-transition: opacity 0.6s ease-in;
  transition: opacity 0.6s ease-in;
}



.button {
  font-family: "Fredoka", sans-serif;
  -webkit-box-shadow: inset 0 4px 18px 0 rgba(255, 255, 255, 0.25);
          box-shadow: inset 0 4px 18px 0 rgba(255, 255, 255, 0.25);
  background: -o-linear-gradient(top, rgba(187, 30, 24, 0.6) 0%, rgba(255, 119, 0, 0.6) 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(187, 30, 24, 0.6)), to(rgba(255, 119, 0, 0.6)));
  background: linear-gradient(180deg, rgba(187, 30, 24, 0.6) 0%, rgba(255, 119, 0, 0.6) 100%);
  border: 1px solid #eebb2e;
  -webkit-border-radius: 100px;
          border-radius: 100px;
  font-weight: 600;
  line-height: 120%;
  font-size: 2rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  text-shadow:
      -1px -1px 0 #121717,
      1px -1px 0 #121717,
      -1px 1px 0 #121717,
      1px 1px 0 #121717,
      -1px 0px 0 #121717,
      1px 0px 0 #121717,
      0px -1px 0 #121717,
      0px 1px 0 #121717;
  padding: 1.4rem 2rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 20.375rem;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.button:hover {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.begin {
  padding: 2rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-position: center;
  background-size: cover;
  background-position: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.begin__logo {
  margin-bottom: 1.42rem;
  width: 13rem;
}
.begin__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  pointer-events: none;
}
.begin__wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  width: 27em;
  border: 1px solid #121717;
  -webkit-border-radius: 1rem;
          border-radius: 1rem;
  padding: 2rem 1rem;
  -webkit-backdrop-filter: blur(24px);
          backdrop-filter: blur(24px);
  background: -o-linear-gradient(top, rgba(58, 85, 156, 0.6) 0%, rgba(233, 252, 255, 0.6) 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(58, 85, 156, 0.6)), to(rgba(233, 252, 255, 0.6)));
  background: linear-gradient(180deg, rgba(58, 85, 156, 0.6) 0%, rgba(233, 252, 255, 0.6) 100%);
}
.begin__text {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 120%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
  margin: 0 0 0.75rem 0;
  text-shadow:
      -1px -1px 0 #121717,
      1px -1px 0 #121717,
      -1px 1px 0 #121717,
      1px 1px 0 #121717,
      -1px 0px 0 #121717,
      1px 0px 0 #121717,
      0px -1px 0 #121717,
      0px 1px 0 #121717;
}
.begin__list {
  margin-bottom: 2rem;
}
.begin__list li {
  display: block;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: #fff;
  padding-left: 2rem;
  position: relative;
  text-shadow:
    -1px -1px 0 #121717,
    1px -1px 0 #121717,
    -1px 1px 0 #121717,
    1px 1px 0 #121717,
    -1px 0px 0 #121717,
    1px 0px 0 #121717,
    0px -1px 0 #121717,
    0px 1px 0 #121717;
}
.begin__list li + li {
  margin-top: 0.25rem;
}
.begin__list li img {
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
}


.game__countdown {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}
.game__countdown p{
  font-weight: 700;
  font-size: 1.8rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px 0;
  text-shadow:
  -2px -2px 0 #121717,
  2px -2px 0 #121717,
  -2px 2px 0 #121717,
  2px 2px 0 #121717,
  -2px 0px 0 #121717,
  2px 0px 0 #121717,
  0px -2px 0 #121717,
  0px 2px 0 #121717;
}
.game__countdown span {
  font-size: 9rem;
  font-weight: 700;
  line-height: 0.7;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
  -2px -2px 0 #121717,
  2px -2px 0 #121717,
  -2px 2px 0 #121717,
  2px 2px 0 #121717,
  -2px 0px 0 #121717,
  2px 0px 0 #121717,
  0px -2px 0 #121717,
  0px 2px 0 #121717;
}
.game__timer {
  position: absolute;
  top: -10rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 0;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
  font-weight: 500;
  font-size: 4.5rem;
  line-height: 120%;
  letter-spacing: 0.03em;
  text-align: center;
  color: #fff;
  -webkit-filter: drop-shadow(0 4px 24px #e7000b);
          filter: drop-shadow(0 4px 24px #e7000b);
}
.game.game-go .game__timer {
  top: 3rem;
}
.game__timer span {
  text-shadow:
  -4px -4px 0 #121717,
  4px -4px 0 #121717,
  -4px 4px 0 #121717,
  4px 4px 0 #121717,
  -4px 0px 0 #121717,
  4px 0px 0 #121717,
  0px -4px 0 #121717,
  0px 4px 0 #121717;
}

.step {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.6s ease, visibility 0.6s ease;
  -o-transition: opacity 0.6s ease, visibility 0.6s ease;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.step__title {
  position: absolute;
  left:0;
  z-index: 1;
  top: 0.625rem;
  width: 100%;
  font-weight: 600;
  font-size: 2rem;
  line-height: 120%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
  text-shadow:
    -1px -1px 0 #121717,
    1px -1px 0 #121717,
    -1px 1px 0 #121717,
    1px 1px 0 #121717,
    -1px 0px 0 #121717,
    1px 0px 0 #121717,
    0px -1px 0 #121717,
    0px 1px 0 #121717;
}

.step__coin {
  width: 2.92%;
  height: 4.1%;
  position: absolute;
  -webkit-transition: all .6s;
  -o-transition: all .6s;
  transition: all .6s;
  cursor: pointer;
}
.step__coin img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.step .step__coin.active {
  width: 29rem;
  height: 29rem;
  right: -webkit-calc(50% - 14.5rem);
  right: calc(50% - 14.5rem);
  top: 30%;
}
.step .step__coin.move {
  width: 6.5%;
  height: 9.1%;
  right: 25%;
  top: 70%;
}

/** step 1 **/
.step1 .step__coin {
  right: 92.5%;
  top: 37.3%;
}

/** step 2 **/
.step2 .step__coin {
  top: 36.8%;
  right: 24%;
}

/** step 3 **/
.step3 .step__coin {
  top: 30.9%;
  right: 44.7%;
}

/** step4 **/
.step4 .step__coin {
  right: 56.5%;
  top: 40%;
}
/** step5 **/
.step5 .step__coin {
  right: 24%;
  top: 44%;
}


.step__background {
  top: -9999px;
  bottom: -9999px;
  left: 0;
  right: 0;
  width: auto;
  height: -webkit-calc(100vw / 3);
  height: -webkit-calc(100vw / 1.40625);
  height: calc(100vw / 1.40625);
  margin: auto 0;
}
.step__background .img-mob {
  display: none;
}
.winner {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 2rem 2rem 4rem 2rem;
}
.winner__background .img-mob {
  display: none;
}
.winner__title {
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 120%;
  letter-spacing: 0.03em;
  text-align: center;
  color: #fff;
  -webkit-filter: drop-shadow(0 4px 24px #6fffa5);
          filter: drop-shadow(0 4px 24px #6fffa5);
  text-shadow:
  -4px -4px 0 #121717,
  4px -4px 0 #121717,
  -4px 4px 0 #121717,
  4px 4px 0 #121717,
  -4px 0px 0 #121717,
  4px 0px 0 #121717,
  0px -4px 0 #121717,
  0px 4px 0 #121717;
}
.winner__text {
  max-width: 45rem;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 120%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
  -webkit-filter: drop-shadow(0 4px 32px #8e0cb2);
          filter: drop-shadow(0 4px 32px #8e0cb2);
  text-shadow:
  -3px -3px 0 #121717,
  3px -3px 0 #121717,
  -3px 3px 0 #121717,
  3px 3px 0 #121717,
  -3px 0px 0 #121717,
  3px 0px 0 #121717,
  0px -3px 0 #121717,
  0px 3px 0 #121717;
}

.screen {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: 1 / 1;
  width: 100%;
  min-height: 100vh;
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.6s ease, visibility 0.6s ease;
  -o-transition: opacity 0.6s ease, visibility 0.6s ease;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.popup {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow-y: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 2rem;
}

.popup__content {
  margin: auto;
  display: block;
  text-align: center;
}
.popup__title span {
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 120%;
  letter-spacing: 0.03em;
  text-align: center;
  display: block;
  text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    -2px 0px 0 #fff,
    2px 0px 0 #fff,
    0px -2px 0 #fff,
    0px 2px 0 #fff;
}
.popup_collect .popup__title span{
  color: #ff9500;

}
.popup_toslow .popup__title span{
  color: #e7000b;
}
.popup_toslow .popup__image {
  width: 21rem;
}
.popup__title p {
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 120%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #000;
  margin: 0;
  text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    -2px 0px 0 #fff,
    2px 0px 0 #fff,
    0px -2px 0 #fff,
    0px 2px 0 #fff;
}

.popup__image {
  width: 25rem;
  margin: 2rem auto;
}
.popup__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.popup__button {
  margin: 0 auto 0 auto;
  padding: 1rem;
}

/****/
.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.display-none {
  display: none;
}

.nevydno {
  display: none!important;
}
.vydno {
  opacity: 1!important;
  display: -webkit-box!important;
  display: -webkit-flex!important;
  display: -ms-flexbox!important;
  display: flex!important;
  visibility: visible!important;
}

.license-note {
  opacity: 0.5;
  position: fixed;
  left: 0.5rem;
  bottom: 0.5rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.2rem 0.45rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid rgba(255,255,255,0.2);
  -webkit-border-radius: 999px;
          border-radius: 999px;
  background: rgba(18, 23, 23, 0.65);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  font-size: 0.5rem;
  color: #fff;
  z-index: 120;
  max-width: min(32rem, -webkit-calc(100vw - 2rem));
  max-width: min(32rem, calc(100vw - 2rem));
}
.license-note span {
  line-height: 1.2;
}
.license-note a {
  color: #ffd56f;
  text-decoration: underline;
}
