@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --background-gradient: #fff;
  --main-background: url("../images/background.jpg") no-repeat center top / cover;
  --animated-background: url("../images/animated-background.png") no-repeat center / 121px 131px;
  --animated-background-second: url("../images/animated-background-second.png") no-repeat center / 90px 100px;
  --modal-background: url("../images/modal-background.png") no-repeat center / cover;
  --modal-get-prize-button: url("../images/modal-get-prize-button.svg") no-repeat center / contain;
  --slot-background: url("../images/slot-background.svg") no-repeat center / contain;
  --slot-button-background: url("../images/slot-button.svg") no-repeat center / contain;
  --slot-body-grid-1-image: url("../images/slot-body-grid-1.svg") no-repeat center / contain;
  --slot-body-grid-2-image: url("../images/slot-body-grid-2.svg") no-repeat center / contain;
  --slot-body-grid-3-image: url("../images/slot-body-grid-3.svg") no-repeat center / contain;
  --slot-body-grid-4-image: url("../images/slot-body-grid-4.svg") no-repeat center / contain;
  --slot-body-grid-5-image: url("../images/slot-body-grid-5.svg") no-repeat center / contain;
  --slot-body-grid-6-image: url("../images/slot-body-grid-6.svg") no-repeat center / contain;
}

@media screen and (max-width: 920px) {
  :root {
    --main-background: url("../images/background-mobile.jpg") no-repeat center / cover;
  }
}
@media screen and (max-width: 991px) {
  :root {
    --slot-button-background: url("../images/slot-button-mobile.svg") no-repeat center / contain;
  }
}
:root {
  --slot-icon-width: 120px;
  --slot-icon-height: 120px;
  --slot-icon-padding: 10px;
  --slot-cols-count: 5;
  --slot-cols-gap: 15px;
  --slot-button-width: 200px;
  --slot-button-font-size: 24px;
  --animated-bg-width: 131px;
}

@media screen and (max-width: 1400px) and (max-height: 760px) {
  :root {
    --slot-icon-width: 100px;
    --slot-icon-height: 100px;
    --slot-icon-padding: 10px;
    --slot-cols-gap: 15px;
    --slot-button-width: 170px;
    --slot-button-font-size: 18px;
  }
}
@media screen and (max-width: 920px) {
  :root {
    --slot-icon-width: 70px;
    --slot-icon-height: 70px;
    --slot-icon-padding: 10px;
    --slot-cols-gap: 10px;
    --slot-button-width: 140px;
    --slot-button-font-size: 14px;
  }
}
@media screen and (max-width: 590px) {
  :root {
    --slot-icon-width: 50px;
    --slot-icon-height: 50px;
    --slot-icon-padding: 10px;
    --slot-cols-gap: 6px;
    --slot-button-width: 110px;
    --slot-button-font-size: 12px;
  }
}
/*
Resset sass
--------------------------------------------
*/
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  vertical-align: baseline;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0 !important;
  font: inherit;
}

* {
  -webkit-text-size-adjust: auto !important;
}

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

a {
  border: 0;
}

html {
  overflow-x: hidden;
}

body {
  line-height: 1;
  word-wrap: break-word;
}

ol,
ul {
  padding: 0;
  margin: 0;
  background-image: none;
  list-style: none inside none;
}

blockquote,
q {
  quotes: none;
}

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

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

/* Remove controls from Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0; /* Removes leftover margin */
}

input,
textarea {
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
  -moz-appearance: none;
}

:focus {
  outline-style: none;
  outline-color: transparent;
}

button::-moz-focus-inner {
  border: 0;
}

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

.cgs-clear {
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  clear: both !important;
}

button {
  outline: none !important;
}

a, label, button {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px white inset;
          box-shadow: 0 0 0 30px white inset;
}

html, body, #root, .main {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--background-gradient);
}

.main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
}
.main .background-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: var(--main-background), no-repeat left bottom/cover;
}
.main .animated-background {
  position: absolute;
  top: 30%;
  left: 12vw;
  z-index: 0;
  width: var(--animated-bg-width);
  height: calc(var(--animated-bg-width) + 10px);
  background: var(--animated-background);
}
.main .animated-background.second {
  width: calc(var(--animated-bg-width) - 31px);
  height: var(--animated-bg-width);
  top: 59%;
  margin-left: 16px;
  background: var(--animated-background-second);
}

@media (max-width: 1400px) {
  .main .animated-background {
    left: 5vw;
  }
}
@media (max-width: 767px) {
  .main .animated-background {
    display: none;
  }
}
.modal {
  width: 100%;
  height: 100%;
  max-width: 462px;
  max-height: 280px;
  padding: 0;
  border: none;
  border-radius: 16px;
  background: none;
  background: var(--modal-background);
}
.modal::-ms-backdrop {
  background: rgba(0, 0, 0, 0.7);
}
.modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
}
.modal .close-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 12px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.modal .close-icon img {
  display: block;
  width: 100%;
}

.slot {
  min-width: calc(var(--slot-icon-width) + 16px);
  height: calc(var(--slot-icon-height) * 3 + 16px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  z-index: 1;
  border: 8px solid transparent;
  background: -webkit-gradient(linear, left top, left bottom, from(white), to(white)) padding-box, -webkit-gradient(linear, left top, left bottom, from(#E8E740), color-stop(49.52%, #828124), to(#E8E740)) border-box;
  background: linear-gradient(white, white) padding-box, linear-gradient(180deg, #E8E740 0%, #828124 49.52%, #E8E740 100%) border-box;
}
.slot-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.slot-wrapper {
  width: calc(var(--slot-cols-count) * var(--slot-icon-width) + var(--slot-cols-count) * 13px + var(--slot-cols-count) * var(--slot-cols-gap));
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  gap: var(--slot-cols-gap);
}
.slot-wrapper::before {
  content: "";
  position: absolute;
  top: -4%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: var(--slot-background);
}
.slot-wrapper .slot-highlight {
  position: absolute;
  top: calc(var(--slot-icon-height) * 2); /* 3rd row = index 2 */
  left: 0;
  width: 100%;
  height: var(--slot-icon-height);
  pointer-events: none;
  border: 3px solid gold;
  -webkit-box-shadow: 0 0 12px gold;
          box-shadow: 0 0 12px gold;
  z-index: 10;
  display: none; /* Hidden by default */
  opacity: 0;
  -webkit-transform: scaleY(1);
          transform: scaleY(1);
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.slot-wrapper .slot-highlight.visible {
  display: block;
  -webkit-animation: highlight-appear 0.4s ease forwards, highlight-pulse 1.5s ease-in-out 0.4s infinite;
          animation: highlight-appear 0.4s ease forwards, highlight-pulse 1.5s ease-in-out 0.4s infinite;
}
.slot .symbols {
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: top 4s;
  transition: top 4s;
}
.slot .symbol {
  width: var(--slot-icon-width);
  height: var(--slot-icon-height);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.slot .slot-icon {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.slot__button {
  width: var(--slot-button-width);
  height: var(--slot-button-width);
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: -26%;
  font-size: var(--slot-button-font-size);
  cursor: pointer;
  font-weight: 700;
  color: #ffffff;
  background: var(--slot-button-background);
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4509803922);
  border: 0 none;
}
.slot-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.slot-name.second {
  height: 80px;
}
@media (min-width: 768px) {
  .slot__button.mobile, .slot-bottom.mobile, .slot-name.mobile {
    display: none;
  }
}
@media screen and (max-width: 1030px) {
  .slot-wrapper {
    right: 30px;
  }
  .slot__button {
    bottom: -10%;
    right: -33%;
  }
}
@media screen and (max-width: 920px) {
  .slot-wrapper {
    right: unset;
    top: -10%;
  }
}
@media screen and (max-width: 520px) {
  .slot-name {
    width: 100%;
    padding-inline: 10px;
  }
}
@media (max-width: 767px) {
  .slot__button.desktop, .slot-bottom.desktop, .slot-name.desktop {
    display: none;
  }
  .slot__button {
    width: 100%;
    position: relative;
    top: unset;
    right: unset;
    bottom: 0;
    -webkit-transform: unset;
            transform: unset;
  }
  .slot-name.mobile, .slot-bottom.mobile {
    height: 100px;
  }
}
@media (orientation: landscape) and (max-width: 668px) {
  .slot-bottom.mobile, .slot-name {
    display: none;
  }
}
@media (orientation: landscape) {
  .slot-wrapper {
    top: unset;
  }
}

@-webkit-keyframes highlight-appear {
  0% {
    opacity: 0;
    -webkit-transform: scaleY(0.5);
            transform: scaleY(0.5);
  }
  50% {
    -webkit-transform: scaleY(1.1);
            transform: scaleY(1.1);
  }
  100% {
    opacity: 1;
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
  }
}

@keyframes highlight-appear {
  0% {
    opacity: 0;
    -webkit-transform: scaleY(0.5);
            transform: scaleY(0.5);
  }
  50% {
    -webkit-transform: scaleY(1.1);
            transform: scaleY(1.1);
  }
  100% {
    opacity: 1;
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
  }
}
@-webkit-keyframes highlight-pulse {
  0% {
    -webkit-box-shadow: 0 0 10px gold;
            box-shadow: 0 0 10px gold;
  }
  50% {
    -webkit-box-shadow: 0 0 20px 5px gold;
            box-shadow: 0 0 20px 5px gold;
  }
  100% {
    -webkit-box-shadow: 0 0 10px gold;
            box-shadow: 0 0 10px gold;
  }
}
@keyframes highlight-pulse {
  0% {
    -webkit-box-shadow: 0 0 10px gold;
            box-shadow: 0 0 10px gold;
  }
  50% {
    -webkit-box-shadow: 0 0 20px 5px gold;
            box-shadow: 0 0 20px 5px gold;
  }
  100% {
    -webkit-box-shadow: 0 0 10px gold;
            box-shadow: 0 0 10px gold;
  }
}
.won-content {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0;
}
.won-content__prize {
  background: -webkit-gradient(linear, left top, left bottom, from(#F9DE4B), to(#EC5028));
  background: linear-gradient(180deg, #F9DE4B 0%, #EC5028 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.won-content .content-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.won-content .content-wrap h1 {
  color: white;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 39px;
}
.won-content .content-wrap > p {
  color: white;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 15px;
}
.won-content .amount-wrap {
  margin-top: 24px;
}
.won-content .amount-wrap h3 {
  color: white;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
}
.won-content .amount-wrap p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 3px;
  color: #E8C657;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 39px;
}
.won-content iframe {
  max-width: 500px;
  min-width: 550px;
  width: 100%;
  height: 550px;
}

.modal.win .won-content {
  padding: 24px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.modal.win .reg {
  width: 165px;
  height: 70px;
  display: block;
  margin-top: 20px;
  background: var(--modal-get-prize-button);
  cursor: pointer;
  color: #020015;
  text-align: center;
  text-decoration: none;
}

@media screen and (max-width: 520px) {
  .modal.win {
    width: 100%;
    scale: 1;
    max-width: 370px;
    max-height: 225px;
  }
  .modal.win .reg {
    width: 108px;
    height: 48px;
  }
  .won-content {
    width: 100%;
  }
  .won-content .content-wrap > p {
    font-size: 28px;
  }
  .won-content iframe {
    min-width: auto;
  }
}