@charset "utf-8";

:root {
  --yellow: #FED402;
  --dark: #06081b;
  --panel: rgba(22, 23, 50, 0.9);
  --panel-border: rgba(255, 255, 255, 0.14);
  --input: #00000057;
  --input-border: #FFFFFF29;
  --gray: #737373;
  --red: #ff5a4e;
  --font: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-accent: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--dark);
  font-family: var(--font);
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}

img {
  display: block;
  max-width: none;
  max-height: none;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

a {
  color: inherit;
  transition: color .2s, opacity .2s;
}

.accent {
  color: var(--yellow);
}





/* ---------- BACKGROUND ---------- */
.background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.background__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- PRELOADER ---------- */

#preloader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(
        50% 50% at 50% 50%,
        rgba(46, 46, 46, 0.9) 0%,
        rgba(0, 0, 0, 0.9) 100%
    );
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
    -webkit-backdrop-filter: blur(7.5px);
    backdrop-filter: blur(7.5px);
    z-index: 1000;
}

#preloader.fade-out {
  opacity: 0;
}

#preloader img {
  width: 20vh;
  display: block;
  object-position: center;
  object-fit: contain;
}

/* ---------- PAGE ---------- */
.page {
  position: relative;
  z-index: 1;
  height: 100vh;
}

.header {
  display: flex;
  position: absolute;
  align-items: center;
  gap: 1.86vh;
  top: 6.3vh;
  left: 17.2vh;
  z-index: 2;
}

.logo,
.logo img {
  display: block;
  width: 16vh;
  height: 4.3vh;
}
.logo-partner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5vh;
  border-radius: 0.7vh;
  background: #FFF;
  padding: 0.9vh;
}

.logo-partner img {
  height: 3.7vh
}

.main {
  position: relative;
  height: calc(100vh - 4.6vh);
}



/* ---------- OFFER (left) ---------- */
.offer {
  position: absolute;
  left: 17.2vh;
  top: 35.4vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.offer__pill {
  display: inline-flex;
  align-items: center;
  height: 5.9vh;
  margin-left: -2.8vh;
  padding: 0 3vh 0 2.8vh;
  border-radius: 3vh;
  background: #FCC211;
  font-size: 3.2vh;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--dark);
}

.offer__upto {
  margin-top: 0.5vh;
  font-size: 3.3vh;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

.offer__amount {
  margin-top: 1.3vh;
  font-family: var(--font-accent);
  font-size: 7.6vh;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yellow);
  text-shadow: 0px 0px 34px #CF00A173;
  white-space: nowrap;
}

.offer__fs {
  margin-top: 0;
  font-family: var(--font-accent);
  font-size: 4.9vh;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
}

.offer__fs > span:first-child {
  color: var(--yellow);
}

.offer__badge {
  display: inline-flex;
  align-items: center;
  gap: 1.3vh;
  height: 4.6vh;
  margin-top: 4.5vh;
  padding: 0 2vh 0 2.2vh;
  border: 1px solid rgba(252, 194, 17, 0.6);
  border-radius: 0.7vh;
  background: rgba(252, 194, 17, 0.1);
  font-size: 2.2vh;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--yellow);
}

.offer__badge-icon {
  flex: 0 0 auto;
  width: 1.8vh;
  height: 1.8vh;
}



.offer__pill   { max-width: 51.3vh; }
.offer__upto   { max-width: 40.7vh; }
.offer__amount { max-width: 40.7vh; }
.offer__fs     { max-width: 40.7vh; }
.offer__badge  { max-width: 45.7vh; }



/* ---------- DEPOSITS ---------- */
.deposits {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1vh;
  width: 37vh;
  margin-top: 2.2vh;
}

.deposit {
  display: flex;
  flex: 0 0 calc(50% - 0.6vh);
  flex-direction: column;
  gap: 0.5vh;
  padding: 1.1vh 1.2vh;
  border: 1px solid var(--panel-border);
  border-radius: 0.9vh;
  background: var(--panel);
}

.deposit__title {
  font-size: 1.1vh;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.deposit__text {
  font-size: 1.4vh;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}



/* ---------- REGISTRATION PANEL (right) ---------- */
.registration {
  position: absolute;
  right: 17.2vh;
  top: 19vh;
  width: 44.1vh;
  padding: 2.5vh 2.6vh 5.4vh;
  border: 1px solid var(--panel-border);
  border-radius: 1.9vh;
  background: var(--panel);
  -webkit-backdrop-filter: blur(1.4vh);
  backdrop-filter: blur(1.4px);
  box-shadow: 0 2.8vh 7.4vh rgba(0, 0, 0, 0.45);
}

.registration__head {
  margin-bottom: 4.5vh;
  text-align: center;
  font-size: 1.7vh;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.registration__time {
  margin-top: 1.2vh;
}

.registration__terms {
  margin-top: 0.5vh;
  text-align: center;
  font-size: 1.2vh;
  font-weight: 400;
  line-height: 1.35;
  color: var(--gray);
}

.registration__terms a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 0.2vh;
}

.registration__terms a:hover {
  opacity: .8;
}



/* ---------- FORM ---------- */
.registration .wx-form-wrapper {
  max-width: none;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  margin: 0;
  padding: 0;
}

.registration .wx-form-wrapper:before,
.registration .wx-form-wrapper:after {
  display: none;
}

.registration .wx-form {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  gap: 1.1vh 0.9vh;
  max-height: none;
  overflow: visible;
  padding: 0;
  margin: 0;
  font-family: var(--font);
  font-size: 1.5vh;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}

.registration .wx-form > * {
  flex: 0 0 100%;
  min-width: 0;
}

.registration .wx-form > svg {
  position: absolute;
}

.registration .wx-form .wx-item__country,
.registration .wx-form .wx-item__currency {
  flex: 1 1 0;
  width: auto;
}

.registration .wx-item {
  position: relative;
  width: 100%;
}

.registration .wx-wrapper {
  position: relative;
}

.registration .wx-item input,
.registration .wx-item select {
  display: block;
  width: 100%;
  height: 4.8vh;
  padding: 0 1.5vh;
  border: 1px solid var(--input-border);
  border-radius: 0.7vh;
  background: var(--input);
  box-shadow: none;
  font-family: var(--font);
  font-size: 1.5vh;
  font-weight: 400;
  line-height: normal;
  color: #fff;
  transition: border-color .15s, background-color .15s;
}

.registration .wx-item select {
  padding-right: 4.1vh;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
}

.registration .wx-item select option,
.registration .wx-item select optgroup {
  font-family: var(--font);
  font-size: 1.5vh;
  font-weight: 400;
  background: #1d1c2b;
  color: #fff;
}

.registration .wx-item input::placeholder {
  color: #8d8d95;
  opacity: 1;
}

.registration .wx-item input:focus,
.registration .wx-item select:focus {
  border-color: rgba(252, 194, 17, 0.7);
  background: #15141f;
}

.registration .wx-item.error input,
.registration .wx-item.error select {
  border-color: var(--red);
  background: rgba(255, 90, 78, 0.08);
}

.registration .wx-select-arrow {
  display: block;
  position: absolute;
  top: 50%;
  right: 1.6vh;
  width: 1.2vh;
  height: 1.2vh;
  margin-top: -0.6vh;
  transform: rotate(180deg);
  pointer-events: none;
}

.registration .wx-select-arrow use {
  fill: #c9c9cf;
}

/* phone: prefix + number */
.registration .wx-item.wx-item__phone {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.9vh;
}

.registration .wx-item.wx-item__phone .wx-wrapper {
  flex: 0 0 8.9vh;
  width: 8.9vh;
}

.registration .wx-item.wx-item__phone .wx-wrapper + .wx-wrapper {
  flex: 1 1 auto;
  width: auto;
}

.registration .wx-item.wx-item__phone select {
  padding-right: 3.3vh;
}

.registration .wx-item.wx-item__phone .wx-select-arrow {
  right: 1.3vh;
}

.registration .wx-item.wx-item__phone .wx-error-hint {
  position: absolute;
  top: 100%;
  left: 9.8vh;
}

/* password */
.registration .wx-item__password input {
  padding-right: 4.6vh;
}

.registration .wx-password-toggle,
.registration .wx-item.error .wx-password-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  width: 4.6vh;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 1;
}

.registration .wx-password-toggle svg {
  display: block;
  width: 1.7vh;
  height: 1.7vh;
}

.registration .wx-password-toggle svg ~ svg,
.registration .wx-password-shown .wx-password-toggle svg {
  display: none;
}

.registration .wx-password-shown .wx-password-toggle svg ~ svg {
  display: block;
}

.registration .wx-password-toggle use {
  fill: #8d8d95;
  transition: fill .2s;
}

.registration .wx-password-toggle:hover use {
  fill: var(--yellow);
}

/* promotion checkbox */
.registration .wx-item.wx-item__promotion {
  margin-top: 0.1vh;
}

.registration .wx-item__promotion .wx-wrapper {
  display: flex;
  justify-content: center;
}

.registration .wx-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 1vh;
}

.registration .wx-checkbox-wrapper input {
  position: relative;
  flex: 0 0 1.9vh;
  width: 1.9vh;
  height: 1.9vh;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(252, 194, 17, 0.7);
  border-radius: 0.4vh;
  background: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.registration .wx-checkbox-wrapper input:checked {
  border-color: var(--yellow);
  background: var(--yellow);
}

.registration .wx-checkbox-wrapper input:checked:before {
  content: '';
  display: block;
  position: absolute;
  top: 0.3vh;
  left: 0.6vh;
  width: 0.5vh;
  height: 0.9vh;
  border: solid #121212;
  border-width: 0 0.2vh 0.2vh 0;
  transform: rotate(40deg);
}

.registration .wx-item.error .wx-checkbox-wrapper input {
  border-color: var(--red);
}

.registration .wx-checkbox-wrapper input ~ label,
.registration .wx-item.wx-item__promotion .wx-checkbox-wrapper label {
  padding: 0;
  font-size: 1.3vh;
  font-weight: 400;
  line-height: 1.3;
  color: var(--gray);
  cursor: pointer;
}

/* submit */
.registration button[type='submit'],
.registration .wx-button.wx-form__button {
  display: block;
  position: relative;
  width: 100%;
  max-width: none;
  height: 6.3vh;
  margin: 0;
  padding: 0 2vh;
  border: 0;
  border-radius: 3.1vh;
  background: var(--yellow);
  box-shadow: 0px 10px 26px 0px #244AFA57, 
              0px 4px 0px 0px #B49600;
  font-family: var(--font);
  font-size: 1.8vh;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.02%;
  text-transform: uppercase;
  white-space: nowrap;
  color: #000;
  filter: none;
  opacity: 1;
  cursor: pointer;
  transition: .2s ease;
}

.registration button[type='submit']:hover,
.registration .wx-button.wx-form__button:hover {
  filter: brightness(1.08);
  transform: scale(0.97);
}

.registration button[type='submit']:active {
  transform: translateY(1px);
}

/* errors */
.registration .wx-error-hint {
  margin: 0.5vh 0 0;
  padding: 0;
  text-align: left;
  font-size: 1.2vh;
  font-weight: 400;
  line-height: 1.3;
  color: var(--red);
}

.registration .wx-item__promotion .wx-error-hint {
  text-align: center;
}

.registration .wx-errors-list {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 1.2vh;
  line-height: 1.3;
  color: var(--red);
}

.registration .wx-errors-list:empty {
  display: none;
}

.registration .wx-errors-list > * {
  margin: 0.5vh 0 0;
  padding: 0;
}

/* loader while the form is sending */
.registration .wx-form[disabled='true'] > * {
  pointer-events: none;
  opacity: .5;
}

/* reset of API_DATA/register.css */
.registration .wx-form {
  position: static;
  justify-content: normal;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: none;
}

.registration .wx-item input:not([type='checkbox']),
.registration .wx-item select {
  position: static;
}

.registration .wx-item.wx-item__phone {
  justify-content: normal;
}

.registration .wx-item.wx-item__phone input,
.registration .wx-item.wx-item__phone select {
  line-height: normal !important;
}

.registration .wx-select-arrow {
  z-index: auto;
}

.registration .wx-password-toggle svg {
  position: static;
}

.registration .wx-checkbox-wrapper input ~ label {
  flex-grow: 0;
}

.registration .wx-button {
  pointer-events: auto;
}

.registration .wx-button:before,
.registration .wx-button:hover:before {
  content: none;
}

.registration .wx-errors-list {
  position: static;
}

.registration .wx-errors-list li {
  display: list-item;
  font-size: inherit;
  line-height: inherit;
}



/* ---------- PAYMENTS (footer) ---------- */
.payments {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.8vh;
  height: 4.6vh;
  padding: 0 10vh 0 9.5vh;
  background: #1B1737;
}

.payments__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9vh 1.9vh;
}

.payments__item img {
  width: auto;
  max-height: 1.4vh;
}

.payments__crypto {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2vh;
}

.payments__label {
  display: flex;
  align-items: center;
}

.payments__label img {
  width: 9.5vh;
  height: auto;
  opacity: .6;
}

.payments__list--crypto {
  flex-wrap: nowrap;
  gap: 1.3vh;
}

.payments__item--crypto img {
  max-height: 1.8vh;
}



/* ---------- NARROW DESKTOP SCREENS (16:10, 4:3, 5:4 …) ---------- */
@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 16/10) {
  .header,
  .offer {
    left: 9.3vh;
  }

  .registration {
    right: 9.3vh;
  }

  .payments {
    padding: 0 5.6vh;
  }
}

@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 4/3) {
  .header,
  .offer {
    left: 4.6vh;
  }

  .registration {
    right: 4.6vh;
  }

  .payments {
    padding: 0 3.7vh;
  }
}
