body {
  background-color: var(--footer-bg);
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  text-align: center;
  word-break: break-word;
}

body,
img {
  display: block;
  position: relative;
}

img {
  max-height: 100%;
  max-width: 100%;
}

@media screen and (min-width: 501px) {
  #root {
    background: url(../images/main-bg.jpg) no-repeat 50%;
    background-size: cover;
  }
  .wheel {
    background: url(../images/main-bg.jpg) no-repeat 50%;
  }
}

.header {
  background-color: var(--header-bg);
  display: block;
  left: 0;
  padding: var(--header-vertical-padding-desktop);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9999;
}

.header .title {
  padding: 1.5vh 0 0;
  line-height: 1.1;
}

.header__logo {
  display: block;
  margin: 0 auto;
  position: relative;
  width: auto;
}

.header__logo > img {
  display: block;
  margin: auto;
  width: auto;
  height: var(--logo-size-desktop);
  margin-top: var(--logo-position-desktop);
}

.wheel {
  background-size: cover;
  display: block;
  height: 100%;
  overflow: hidden;
  padding: var(--wheel-pos-vert-dsk) 6vw var(--wheel-bottom-space-dsk);
  position: relative;
  width: 100%;
}

#wheel-img {
  width: var(--wheel-size);
}

.wheel:after,
.wheel:before {
  bottom: 0;
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  pointer-events: none;
}

.wheel:before {
  display: var(--left-image-display);
  -webkit-animation: gg 5.1s ease-in-out infinite;
  animation: gg 5.1s ease-in-out infinite;
  background: url(../images/floating-image-left.png) no-repeat bottom;
  background-size: contain;
  right: var(--left-image-horizontal-position-desktop);
  bottom: var(--left-image-vertical-position-desktop);
  max-width: var(--left-image-size-desktop);
  z-index: var(--left-image-above-wheel);
}

.wheel:after {
  display: var(--right-image-display);
  -webkit-animation: gg2 3.9s ease-in-out infinite;
  animation: gg2 3.9s ease-in-out infinite;
  background: url(../images/floating-image-right.png) no-repeat bottom;
  background-size: contain;
  left: var(--right-image-horizontal-position-desktop);
  bottom: var(--right-image-vertical-position-desktop);
  max-width: var(--right-image-size-desktop);
  z-index: var(--right-image-above-wheel);
}

.wheel__content {
  display: inline-block;
  position: relative;
  width: auto;
  right: var(--wheel-pos-hor);
  z-index: 10;
}

.wheel__arrow-bg,
.wheel__arrow-fg {
  position: absolute;
  height: auto;
  left: 0;
  right: 0;
  top: var(--stopper-pos);
  width: var(--stopper-size);
  margin: 0 auto;
}

.wheel__wrap {
  -webkit-animation: wheel-idle 90s linear infinite forwards;
  animation: wheel-idle 90s linear infinite forwards;
  margin: 0 auto;
}

.first-spin {
  -webkit-animation: wheel-spin 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
  animation: wheel-spin 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
}

.last-spin {
  -webkit-animation: wheel-spin2 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
  animation: wheel-spin2 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
}

/* .wheel__wrap {
    background: url(../../static/media/wheel-bg.png) no-repeat 50%;
    background-size: 100% 100%;
    position: relative
} */

.wheel__wrap:before {
  content: "";
  background: url(../images/wheel-border.png)
    no-repeat 50%;
  background-size: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.wheel__wrap:after {
  -webkit-animation: light-bulb 2s step-end 1s infinite;
  animation: light-bulb 2s step-end 1s infinite;
  background: url(../images/wheel-bg-light.png)
    no-repeat 50%;
  background-size: 100%;
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.wheel__button {
  -webkit-animation: button-glow 2s ease-in-out infinite forwards;
  animation: button-glow 2s ease-in-out infinite forwards;
  background: url(../images/spin-button.png) no-repeat 50%;
  background-size: 120%;
  border-radius: 60%;
  bottom: 38%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 24px 0 #fa0032;
  color: #fff;
  display: block;
  font-size: 22px;
  font-weight: 700;
  height: 24%;
  left: 38%;
  line-height: 25px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 38%;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  top: 38%;
  -webkit-transform: scale(1);
  transform: scale(1);
  transition: all 0.6s;
  width: 24%;
  z-index: 100;
}

.wheel__button:hover {
  box-shadow: 0 10px 30px #000, 0 0 25px 0 #fa0032;
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.wheel-dynamic {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 100%;
  transform: rotate(-20deg);
  overflow: hidden;
  border: var(--wheel-border-size) solid var(--wheel-border-color);
}

.wheel-dynamic div {
  height: 50%;
  width: 42%;
  position: absolute;
  clip-path: polygon(100% 0, 50% 100%, 0 0);
  transform-origin: bottom;
  text-align: center;
  display: flex;
  padding-top: var(--wheel-text-position);
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  font-family: sans-serif;
  color: #fff;
  left: 29%;
}

.wheel-dynamic .slice1 {
  transform: rotate(0deg);
}
.wheel-dynamic .slice2 {
  transform: rotate(45deg);
}
.wheel-dynamic .slice3 {
  transform: rotate(90deg);
}
.wheel-dynamic .slice4 {
  transform: rotate(135deg);
}
.wheel-dynamic .slice5 {
  transform: rotate(180deg);
}
.wheel-dynamic .slice6 {
  transform: rotate(225deg);
}
.wheel-dynamic .slice7 {
  transform: rotate(270deg);
}
.wheel-dynamic .slice8 {
  transform: rotate(315deg);
}

.popup {
  -webkit-animation: popup-bg-birth 0.75s ease-in-out;
  animation: popup-bg-birth 0.75s ease-in-out;
  background-color: rgba(41, 37, 37, 0.5);
  bottom: 0;
  color: #fff;
  display: none;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  left: 0;
  line-height: 25px;
  overflow: hidden;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  word-break: break-word;
  z-index: 99999;
}

.popup.active {
  display: block;
}

.popup__content {
  -webkit-animation: popup-birth 0.5s ease-in-out;
  animation: popup-birth 0.5s ease-in-out;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  color: var(--popup-default-text-color);
  display: inline-block;
  height: auto;
  margin: auto;
  max-width: 500px;
  overflow: visible;
  padding: 60px;
  position: relative;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  z-index: 1;
}

.popup__content,
.popup__content:before {
  background-repeat: no-repeat;
  background-position: 50%;
  background-image: var(--popup-background-image);
  background-color: var(--popup-background-color);
  background-size: cover;
  border-radius: 20px;
}

.popup__content:before {
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.popup__image-bg {
  -webkit-animation: popup-sparks-birth 1s ease-in-out;
  animation: popup-sparks-birth 1s ease-in-out;
  bottom: -9999px;
  display: block;
  height: 200%;
  left: -9999px;
  margin: auto;
  max-height: 724px;
  max-width: none;
  position: absolute;
  right: -9999px;
  top: -9999px;
  width: auto;
  z-index: -1;
}

.popup__inner-bg {
  background-color: var(--popup-inner-bg-color);
  border-radius: 10px;
  bottom: 30px;
  display: block;
  left: 30px;
  position: absolute;
  right: 30px;
  top: 30px;
}

.popup.first-spin > .popup__content {
  top: 24vh;
}

.popup.last-spin > .popup__content {
  top: 23vh;
}

.popup__image {
  bottom: 0;
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: var(--top-image-decoration-horizontal-position-desktop);
  width: var(--top-image-decoration-size-desktop);
  margin: 0 auto;
}

.popup__text {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  padding: 20px 0;
  display: block;
  position: relative;
}

.popup__button {
  background-color: var(--popup-button-background);
  border-radius: 10px;
  color: #292525;
  display: inline-block;
  font-weight: 700;
  line-height: 1;
  margin: 0 auto;
  padding: 4% 10%;
  position: relative;
  transition: all 0.5s;
  width: auto;
  font-size: 3vh;
  font-family: Roboto, sans-serif;
  cursor: pointer;
}

.popup__button:hover {
  background-color: #fff;
}

.popup__content a.tos-link {
  display: inline-block;
  color: #ccc;
  position: relative;
  min-width: 70%;
  margin-top: 5%;
}

/* .popup__text.big-bonus-text {
    color: #ffc882;
    font-size: 40px;
    line-height: 50px;
    padding: 0
} */

.footer {
  padding: 40px 0;
  background-color: var(--footer-bg);
}

.footer__partners {
  border-bottom: 1px solid var(--footer-border);
  display: block;
  position: relative;
}

.footer__partners > li {
  display: inline-block;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  height: 25px;
  margin: 0 10px 20px;
  opacity: 0.5;
  position: relative;
  transition: all 0.25s;
  width: auto;
}

.footer__partners > li:hover {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
  opacity: 1;
}

.copyright__text {
  border-bottom: 1px solid var(--footer-border);
  color: hsla(0, 0%, 100%, 0.5);
  display: block;
  font-size: 13px;
  line-height: 20px;
  margin: 0 auto;
  max-width: 1920px;
  padding: 20px 0;
  position: relative;
  text-transform: none;
  width: 100%;
}

.copyright__logo {
  display: inline-block;
  margin: 20px 15px 0;
  max-height: 50px;
  padding: 0;
  position: relative;
}

@-webkit-keyframes light-bulb {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes light-bulb {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@-webkit-keyframes wheel-idle {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}

@keyframes wheel-idle {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}

@-webkit-keyframes wheel-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1102deg);
    transform: rotate(1102deg);
  }
}

@keyframes wheel-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1102deg);
    transform: rotate(1102deg);
  }
}

@-webkit-keyframes wheel-spin2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1057deg);
    transform: rotate(1057deg);
  }
}

@keyframes wheel-spin2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1057deg);
    transform: rotate(1057deg);
  }
}

@-webkit-keyframes button-glow {
  0% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5),
      0 0 25px 0 var(--spin-glow-color);
  }

  50% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5),
      0 0 50px 25px var(--spin-glow-color);
  }

  to {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5),
      0 0 25px 0 var(--spin-glow-color);
  }
}

@keyframes button-glow {
  0% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5),
      0 0 25px 0 var(--spin-glow-color);
  }

  50% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5),
      0 0 50px 25px var(--spin-glow-color);
  }

  to {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5),
      0 0 25px 0 var(--spin-glow-color);
  }
}

@-webkit-keyframes popup-bg-birth {
  0% {
    background-color: transparent;
  }

  to {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@keyframes popup-bg-birth {
  0% {
    background-color: transparent;
  }

  to {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@-webkit-keyframes popup-birth {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  65% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes popup-birth {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  65% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes popup-sparks-birth {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  30% {
    opacity: 0;
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes popup-sparks-birth {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  30% {
    opacity: 0;
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes gg {
  0% {
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
  }

  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  to {
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
  }
}

@keyframes gg {
  0% {
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
  }

  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  to {
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
  }
}

@-webkit-keyframes gg2 {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }

  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes gg2 {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }

  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

abbr,
address,
article,
aside,
audio,
b,
blockquote,
body,
button,
canvas,
caption,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
p,
pre,
q,
samp,
section,
small,
span,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
ul,
var,
video {
  border: 0;
  font-size: 100%;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: "";
  content: none;
}

a {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

a,
ins {
  color: #000;
  text-decoration: none;
}

ins,
mark {
  background-color: #ff9;
}

mark {
  color: #000;
  font-style: italic;
  font-weight: 700;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

button {
  cursor: pointer;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

@media screen and (max-width: 1100px) {
  /* .wheel:before {
        left: -5%;
        right: 60%;
        width: 45%;
        z-index: 1
    }

    .wheel:after {
        left: 60%;
        right: -5%;
        width: 45%
    } */
}

@media screen and (max-width: 900px) {
  /* .wheel:before {
        left: -10%;
        right: auto;
        width: 55%
    }

    .wheel:after {
        left: auto;
        right: -10%;
        width: 55%
    } */
}

@media screen and (max-width: 800px) {
  /* .wheel:after,
    .wheel:before {
        width: 50%
    } */
  .footer__copyright {
    padding: 0 12px;
  }
}

@media screen and (max-width: 500px) {
  .header {
    padding: var(--header-vertical-padding-mobile);
  }

  .header__logo > img {
    display: block;
    margin: auto;
    width: auto;
    height: var(--logo-size-mobile);
    margin-top: var(--logo-position-mobile);
  }

  .wheel,
  #root {
    background: url(../images/mobile-bg.jpg) no-repeat 50%;
    background-size: cover;
  }
  .wheel:before {
    left: var(--left-image-horizontal-position-mobile);
    right: auto;
    bottom: var(--left-image-vertical-position-mobile);
    width: var(--left-image-size-mobile);
  }

  .wheel:after {
    left: auto;
    right: var(--right-image-horizontal-position-mobile);
    bottom: var(--right-image-vertical-position-mobile);
    width: var(--right-image-size-mobile);
  }
  .popup__content {
    border-radius: 0;
  }
  .popup__image {
    top: var(--top-image-decoration-horizontal-position-mobile);
    width: var(--top-image-decoration-size-mobile);
  }

  .wheel__content {
    margin-right: 0;
    z-index: 50;
  }
  .wheel {
    padding: var(--wheel-pos-vert-mob) 2vw var(--wheel-bottom-space-mob);
  }
}

@media screen and (max-width: 450px) {
  .wheel__button {
    font-size: 5vw;
  }

  .popup__content {
    padding: 40px;
  }

  .popup__inner-bg {
    bottom: 20px;
    left: 20px;
    right: 20px;
    top: 20px;
  }

  .popup__title {
    font-size: 5.26316vw;
    line-height: 1.2;
  }

  .popup__text.big-bonus-text {
    font-size: 11.11111vw;
    line-height: 1.3;
  }

  .footer__partners > li {
    height: 15px;
    margin: 0 5px 10px;
  }

  .copyright__logo {
    margin: 20px 10px 0;
    max-height: 30px;
  }
}
