.email-input-wrap,
.phone-input-wrap,
.input__code-verify-wrap,
.phone-input-error-wrap {
  position: relative;
}

.form__wrap {
  border: 1px solid #fe4fef;
}

.email-input-wrap input {
  padding-left: 40px;
}

.error-email-message,
.error-phone-message,
.error-code-message {
  position: absolute;
  z-index: 10;
  top: 0;
  transform: translateY(-46%);
  left: 10px;
  font-size: 12px;
  padding: 2px 6px;
  border-left: 1px solid #393630;
  border-right: 1px solid #393630;
  background-color: #020202;
  border-radius: 10px;
  color: red;

  opacity: 0;
  pointer-events: none;
}

.mobile-code-error {
  margin-top: 10px;
  font-size: 12px;
  color: red;
  text-align: center;
}

.check-bocks-error {
  position: absolute;
  z-index: 10;
  top: 0;
  transform: translateY(-60%);
  right: 10px;
  font-size: 12px;
  padding: 1px 6px;
  background-color: #020202;
  border-bottom: 1px solid #393630;
  border-radius: 10px;
  color: red;

  opacity: 0;
  pointer-events: none;
}

.input-wrap {
  position: relative;
}

#promocode-input {
  padding-left: 40px;
}

.input-icon,
.dropdown-icon {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  width: auto;
}

.dropdown__head {
  position: relative;
  padding-left: 40px;
}

.register-country {
  margin-bottom: 0;
}

.dropdown__list li span {
  font-size: 20px;
  color: rgba(242, 243, 245, 0.5);
}

.dropdown__list .dropdown-icon {
  height: 46%;
}

.code-verify-icon.input-icon {
  height: 40%;
}

.register-country .dropdown__head {
  padding: 14px 28px 14px 17px;
}

.register-drop-currency li {
  padding-left: 12px !important;
}

.register-drop-currency .dropdown__head {
  cursor: pointer;
}

.register-drop-currency img:last-child,
.dropdown__head img:last-child {
  width: 10px;
  height: 10px;
}

.dropdown-icon {
  pointer-events: none;
}

.mobile-modal-sms {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.modal-active {
  display: flex;
}

.mobile-modal-sms .inner-modal {
  margin-top: 80px;
  margin-inline: 16px;
  padding: 50px 16px 35px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background-color: #000000;
  border-radius: 16px;
  text-transform: uppercase;
  position: relative;
}

.close-mobile-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.inner-modal {
  border: 1px solid #fe4fef;
}

.mobile-modal-sms .inner-modal h3 {
  color: #e1e1e1;
  font-size: 20px;
  font-weight: 500;
  max-width: 350px;
  text-align: center;
}

.mobile-modal-sms .inner-modal p {
  color: #e1e1e1;
  text-align: center;
  margin-bottom: 12px;
}

.mobile-modal-sms .inner-modal .resend-button {
  margin-bottom: 0;
  font-size: 14px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 500;
}

.mobile-modal-sms .inner-modal .form__button-submit {
  color: #000;
  font-weight: 600;
}

.input-wrapper {
  display: flex;
  gap: 8px;
  max-width: 100%;
}

.code-input {
  width: 40px;
  height: 50px;
  background-color: #1a1a1a;
  border-radius: 8px;
  text-align: center;
  outline: none;
  caret-color: transparent;
  font-size: 20px;
}

.code-input.error-state {
  border: 1px solid #d21502;
  color: #d21502;
}

.container-inputs {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.mobile-sms-error {
  margin-top: 40px;
}

.resend-button {
  text-transform: uppercase;
  text-decoration: underline;
  color: #000000;
  font-size: 14px;
}

.desktop-timer {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #3fd62b;
  border-radius: 0 8px 8px 0;
  align-items: center;
  justify-content: center;
  width: 120px;
}

.desktop-timer p {
  color: #000000;
}

.rules {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  margin-top: 16px;
}

.accent {
  color: #3fd62b !important;
}

.rules h4 {
  font-size: 18px;
  font-weight: 700;
  position: relative;
  margin-top: 0;
}

.mb-40 {
  margin-bottom: 40px;
}

.popup-wrapper {
  position: fixed;
  z-index: 1000000000;
  top: -100vh;
  height: 100vh;
  width: 100vw;
  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;
  -webkit-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.popup {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: center;
  flex-direction: column;
  position: relative;
  height: 100%;
  max-height: 660px;
  max-width: 930px;
  width: 100%;
  border-radius: 25px;
  padding: 60px 29px 32px 24px;
  top: 0;
  background-color: #000;
  z-index: 100;
}

.show-modal {
  height: 100vh;
  overflow: hidden;
}

.list-alphabet li {
  list-style-type: lower-alpha !important;
}

.popup-text * {
  font-family: "TT Octosquares Trial Variable", sans-serif !important;
  font-size: 20px !important;
}

.popup-text {
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 0 20px 20px;
  width: 100%;
  max-height: 570px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.popup ol,
.popup ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popup-text h2 {
  text-align: left;
  font-size: 22px !important;
}

.popup-headline {
  color: #3fd62b;
  text-transform: uppercase;
  font-size: 4vh;
  text-align: center;
  padding: 10px 0;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 10px;
  padding: 10px;

  background-color: transparent;
  border: none;
  outline: none;
}

.popup-close-img {
  cursor: pointer;
  width: 24px;
  height: 24px;
}

.close-popup {
  display: none;
  position: fixed;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 5000;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.popup-btn__wrap {
  position: static;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0 0 25px 25px;
  height: 30%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-text-title {
  padding-top: 8px;
  color: #3fd62b;
}

.popup__title {
  font-size: 20px !important;
  line-height: normal !important;
  color: #3fd62b !important;
  margin-bottom: 32px !important;
  text-align: center !important;
}

.popup-text p,
.green-span {
  line-height: 163.636%;
  color: #e6e6e6;
}

.green-span {
  color: #3fd62b;
}

.popup-text ol,
.popup-text ul {
  padding-left: 30px;
}

.popup-text ul li {
  list-style: disc;
}

.popup-text ol li,
.popup-text ol li span,
.popup-text ol li a,
.popup-text ul li,
.popup-text ul li span,
.popup-text ul li a {
  color: #e6e6e6;
}

.popup-text ol li a,
.popup-text ul li a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.accent-color {
  color: #3fd62b !important;
}

.mb-20 {
  margin-bottom: 20px;
}

@media (max-height: 750px) and (min-width: 769px) {
  .animate-text-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .animate-text-wrap svg text {
    font-size: 36px;
  }

  .text1 img {
    width: 73%;
    margin: 0 auto;
  }

  .text1 .title-text.ru {
    font-size: 22px;
  }
}

@media (max-height: 630px) and (min-width: 769px) {
  .form__wrap {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 1024px) {
  .form__wrap {
    border: none;
  }
  .error-email-message {
    font-size: 10px;
  }

  .dropdown__list li span {
    font-size: 22px;
  }
}

@media screen and (max-width: 768px) {
  .send-sms-wrap {
    margin-bottom: 16px;
  }

  .popup-text * {
    font-size: 14px !important;
    line-height: 2;
  }

  .popup-text h2 {
    font-size: 18px !important;
  }

  .popup-text p {
    font-size: 14px !important;
    line-height: 20px;
  }

  .popup-text-title {
    font-size: 16px !important;
  }

  .popup-text .popup__title {
    font-size: 18px;
  }

  .popup-text {
    padding-inline: 0 6px;
  }

  .popup-text p {
    font-size: 14px;
    line-height: 2;
  }

  .popup-text ol li,
  .popup-text ol li span,
  .popup-text ol li a {
    font-size: 14px;
    line-height: 30px;
  }
}

@media screen and (max-width: 530px) {
  .form__wrap {
    padding-block: 16px;
  }
  .form__block {
    position: static;
    margin-top: -10px;
  }

  .form__title {
    margin-bottom: 12px;
  }

  .container-inputs {
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  .send-sms-wrap,
  .phone__input-wrap {
    margin-bottom: 0;
  }

  .input-wrap .input,
  .dropdown__head {
    border-radius: 8px;
    width: 100%;
    align-items: center;
  }

  .dropdown__head {
    min-width: 160px;
  }

  .input-wrap,
  .register-drop-bonus {
    margin-top: 10px;
    width: 50%;
  }

  .email-input-wrap {
    width: 100%;
  }

  .register-drop-currency {
    margin-top: -8px;
  }

  .dropdown__list li {
    height: var(--mobile-height);
  }

  .dropdown__list li span {
    font-size: 12px;
  }

  .register-drop-currency img:last-child,
  .dropdown__head img:last-child {
    width: 24px;
  }

  .rules h4 {
    font-size: 10px;
  }

  .popup-text {
    padding-bottom: 26%;
  }

  .popup-text ol,
  .popup-text ul {
    padding-left: 30px;
  }
}
