@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.custom-select {
  position: relative;
  width: 140px;
  font-size: 14px;
  color: #9f9cbe;
  cursor: pointer;
  user-select: none;
  fill: linear-gradient(
    180deg,
    rgba(54, 35, 41, 0.01) 0%,
    rgba(206, 9, 255, 0.01) 100%
  );
  stroke-width: 1px;
  filter: drop-shadow(3.604px -2.253px 40.776px rgba(0, 0, 0, 0.34));
  backdrop-filter: blur(5px);
  border-radius: 20px;
  width: fit-content;
}

.custom-select:has(.lang__list:not([hidden])) .lang__arrow {
  transform: rotate(180deg);
}

.lang__arrow {
  transition: transform 0.2s ease;
}

.lang__current {
  display: flex;
  align-items: center;
  border: 2px solid #20222e00;
  border-radius: 10px;
  padding: 8px 12px;
  gap: 6px;
}

.lang__current > .lang__flag {
  width: 20px;
  height: 20px;
}

.lang__arrow {
  margin-left: auto;
  width: 12px;
  height: 7px;
}

.wheel-modal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  z-index: 999;
  display: none;
}

.wheel-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 100%;
  max-width: 358px;
  padding: 20px;
  flex-direction: column;
  border-radius: 16px;
  background: #20222e;
  box-shadow: 0 16px 64px 0 rgba(0, 0, 0, 0.32);
  margin: 0 auto 24px;

  @media (min-width: 768px) {
    margin: 0 0 auto 0;
    max-width: 400px;
  }
}

.wheel-modal__overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);
}

.wheel-modal__content--title {
  color: #f9fff9;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: -1.28px;
}

.wheel-modal__content--title > .wheel-modal__content--title__subtitle {
  color: #78cfff;
}

.wheel-modal__content--bonus {
  margin-bottom: 20px;
}

.wheel-modal__content--bonus__item {
  border-radius: 16px;
  border: 6px solid #eb96fb;
  background: #5eb3e2;
  box-shadow: 0 12px 0 0 #000 inset, 0 6px 0 0 #000;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 16px 16px;
  margin: 20px 0;
}

.wheel-modal__content--bonus__item--text {
  color: #000;
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.96px;
  max-width: 156px;
  width: 100%;
}

.wheel-modal__content--bonus__text {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.form {
  display: flex;
  flex-direction: column;
}

.form > label {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 8px;
}

.form > input,
.form__password-field {
  display: flex;
  height: 40px;
  padding: 10px 12px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: #2e3141;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  outline: none;
  margin-bottom: 16px;
  cursor: pointer;
}

.form__password-field > input {
  outline: none;
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.form > input::placeholder,
.form__password-field > input::placeholder {
  color: #9f9cbe;
}

.form__checkbox {
  display: block;
  margin-top: 20px;
}

.form__checkbox input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.form__checkbox label {
  position: relative;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
}

.form__checkbox label > a {
  color: #09b0fd;
}

.form__checkbox label:before {
  content: '';
  -webkit-appearance: none;
  background-color: #2a2d3c;
  border: 2px solid #454859;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
    inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 10px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 6px;
}

.form__checkbox input:checked + label:before {
  border-color: #cf359c;
  background-color: #cf359c;
  background-image: url('/uploads/checkbox-icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.form__button {
  margin-top: 20px;
  border-radius: 12px;
  border: 2px solid #d69fff;
  background: linear-gradient(180deg, #932eff -21.88%, #cf359c 100%);
  display: flex;
  height: 48px;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
}

.form__button:disabled {
  opacity: 0.2;
  pointer-events: none;
}

.form__password-field {
  position: relative;
  margin-bottom: 0;
}

.form__password-field .form__toggle-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.form__password-field .form__toggle-btn .form__icon-hide {
  display: none;
}

.form__password-field.show .form__toggle-btn .form__icon-show {
  display: none;
}
.form__password-field.show .form__toggle-btn .form__icon-hide {
  display: inline;
}

.form__error {
  display: none;
  font-size: 12px;
  color: #e5004d;
  margin: 5px 0;
}

.is-invalid {
  border: 1px solid #e5004d !important;
  margin-bottom: 0 !important;
}

* {
  padding: 0px;
  margin: 0px;
  border: none;
  font-family: 'Inter', sans-serif;
}

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

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type='submit'] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

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

label {
  cursor: pointer;
}

legend {
  display: block;
}

body {
  background-color: black;
  background-image: url('/uploads/background.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
}

.action-btn:disabled {
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    linear-gradient(91deg, #db35bd 0.53%, #8c54fd 88.31%);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;

  fill: linear-gradient(
    180deg,
    rgba(54, 35, 41, 0.01) 0%,
    rgba(206, 9, 255, 0.01) 100%
  );
  stroke-width: 1px;
  filter: drop-shadow(3px -2px 40px rgba(0, 0, 0, 0.34));
  backdrop-filter: blur(5px);
  width: 100%;
  padding: 25px 40px;
  border-radius: 0 0 30px 30px;
  background: rgba(255, 255, 255, 0.03);
}

.logo {
  max-width: clamp(150px, 5vh, 220px);
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, #db35bd88, #42424296);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1280px;
}

.game-preview {
  position: relative;
  padding: 25px;
  padding-bottom: 65px;
  max-width: fit-content;
  background: radial-gradient(
      circle at top right,
      #db35bdc8 0%,
      transparent 30%
    ),
    radial-gradient(circle at bottom left, #db35bdc8 0%, transparent 30%);
  border-radius: 60px;
  filter: drop-shadow(3.6px -2.25px 40px rgba(0, 0, 0, 0.34));
  backdrop-filter: blur(3px);
  overflow: hidden;
}

.game-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(125deg, #db35bd 0%, #8c54fd 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  z-index: -1;
}

.modal-window {
  position: relative;
  display: inline-block;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-image {
  width: 100%;
  height: auto;
  display: block;
}

.modal-action {
  position: absolute;
  bottom: 90px;
  left: 30%;
  transform: translateX(-30%);
}

.main-logo {
  position: absolute;
  top: 10px;
  left: 10px;
}

.container {
  margin: 0 auto;
  max-width: 1400px;
}

.title-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #fcf8ff;
  font-size: 54px;
  font-style: normal;
  font-weight: 200;
  line-height: normal;
  letter-spacing: -0.54px;
  margin-bottom: 35px;
}

.title-bold {
  font-weight: 700;
}

.main-block {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.action-btn {
  background: linear-gradient(91deg, #db35bd 0.53%, #8c54fd 88%);
  box-shadow: 0 0 40px 0 rgba(235, 150, 251, 0.6);
  font-weight: 500;
  border-radius: 20px;
  line-height: 112%;
  color: rgb(255, 255, 255);
  text-align: center;
  display: inline-block;
  cursor: pointer;
  letter-spacing: 0;
  transition: background-color 0.6s ease;
}

.spin-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px 80px;
}

.action-btn:hover {
  background: linear-gradient(0deg, #bf54fd 0%, #bf54fd 100%),
    linear-gradient(91deg, #db35bd 0.53%, #8c54fd 88%);
}

.video-frame {
  position: absolute;
  cursor: pointer;
}

.video-player {
  border-radius: 20px;
  cursor: pointer;
  max-width: 530px;
  width: 100%;
}

.video-logo {
  position: absolute;
  bottom: 280px;
}

.girl-logo {
  position: absolute;
  bottom: 0;
  right: 0;
  max-height: 800px;
  pointer-events: none;
}

.bottom-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, #e90b12 0%, #e90b1200 100%);
}

.sound-btn {
  position: absolute;
  bottom: 3%;
}

.mute {
  display: none;
}

.unmute {
  display: block;
}

.bonus-title {
  text-align: center;
  font-size: 50px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
  margin-bottom: 30px;
}
.bonus-subtitle {
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 90%;
}

.bonus-block {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
  flex-wrap: nowrap;
}

.bonus-count {
  text-align: right;
  font-size: 50px;
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(90deg, #ff37ff, #9b5bff);
  -webkit-background-clip: text;
  color: transparent;
}

.bonus-spins {
  color: #db35bd;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
}

.lang__list {
  color: white;
  position: absolute;
  max-width: fit-content;
  border-radius: 10px;
  background: linear-gradient(91deg, #8c54fd 0.53%, #db35bd 88.31%);

  overflow: hidden;
  top: 65px;
  left: 10px;
  padding: 15px;
}

.lang__list::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  z-index: -1;
}

.lang__list li {
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  font-size: 14px;
  width: max-content;
  white-space: nowrap;
}

.lang__list li > img,
svg {
  width: 24px;
  height: 24px;
}

.lang__list li:hover {
  color: #474747;
}

@media screen and (max-width: 1366px) {
  body {
    background-image: url('/uploads/background-md.png');
  }
  h1 {
    font-size: 35px;
  }

  h2 {
    font-size: 50px;
  }

  .subtitle-info {
    font-size: 50px;
  }

  .girl-logo {
    max-height: 600px;
  }

  .video-player {
    border-radius: 10px;
    max-width: 550px;
  }

  .video-frame {
    position: absolute;
    border-radius: 0;
  }

  .video-logo {
    max-width: 90%;
    height: auto;
  }

  .container {
    padding: 0px 30px;
  }
  .main-block {
    margin-top: 30px;
  }
}

@media screen and (max-width: 1024px) {
  .container {
    padding: 0px 30px;
  }
  .main-block {
    margin-top: 15px;
  }
  .video-player {
    max-width: 425px;
  }

  .title-container {
    font-size: 30px;
  }
}

@media screen and (max-width: 820px) {
  body {
    background-image: url('/uploads/background-sm.png');
    background-position: center;
  }
  .main-block {
    padding: 0 5px;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 50px;
  }
  .description {
    margin-top: 30px;
    padding: 0;
    padding-left: 10px;
  }

  .bonus-title {
    font-size: 32px;
  }

  .bonus-count {
    font-size: 40px;
    width: fit-content;
  }

  .bonus-spins {
    font-size: 26px;
  }
  .action-btn {
    bottom: 25px;
  }

  .container {
    padding: 0;
  }

  .video-player {
    border-radius: 10px;
    max-width: 385px;
  }
  .game-preview {
    margin-bottom: 140px;
    border-radius: 30px;
    padding: 15px;
    padding-bottom: 65px;
    min-height: fit-content;
  }

  .modal-action {
    bottom: 30px;
  }

  .modal-overlay {
    padding: 40px 50px;
  }
}

.preloader {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    77% 122% at 50% -17%,
    #302f3b 8%,
    #17161c 32%,
    #0a0a12 70%,
    #05050af0 100%
  );
}

.preloader:before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    77% 122% at 50% -17%,
    #302f3b 8%,
    #17161c 32%,
    #0a0a12 70%,
    #05050af0 100%
  );
}

.preloader svg {
  position: relative;
  z-index: 2;
  width: 200px;
  height: 200px;
  color: var(--icon-default);
  animation: rotate3D 1.5s linear infinite;

  @media (min-width: 1024px) {
    width: 400px;
    height: 400px;
  }
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  transition: all 0.2s ease-in;
  display: none;
}

@keyframes rotate3D {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

