html {
  scroll-behavior: smooth;
}
body {
  background: #13121f;
}
body.hidden {
  overflow: hidden;
}
.page {
  overflow: hidden;
  position: relative;
}
.title {
  font-family: "Red Hat Display", sans-serif;
  font-size: 18px;
  line-height: 130%;
  color: #fff;
  font-weight: 700;
}
.title.medium {
  font-size: 40px;
}
.title.big {
  font-size: 64px;
}
.desc {
  font-family: "Red Hat Display", sans-serif;
  font-size: 14px;
  line-height: 140%;
  color: #fff;
}
.desc .blue {
  color: #7295ff;
}
.desc b {
  font-weight: 700;
}
.mob {
  display: none;
}
button,
a,
.hover-link {
  border: 0;
  outline: 0;
  cursor: pointer;
  transition: 0.3s;
}
a:hover,
.hover-link:hover,
.button:hover {
  opacity: 0.7;
}
.button {
  font-family: "Red Hat Display", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #dde6ff;
  transition: 0.3s;
  background: transparent;
  border-radius: 0;
  position: relative;
  padding: 10px;
  min-width: 182px;
  border: 2px solid #4640ff;
  text-transform: uppercase;
  display: table;
  text-align: center;
}
.button:hover {
  opacity: 1;
  background: #4640ff;
}
.button.filled {
  background: #4640ff;
}
.button.filled:hover,
.modal .button:hover {
  background: #3530cf;
}

.button.yellow {
  background: #ffdd55;
  border-color: #ffdd55;
  color: #13121f;
}

.btn-color {
  min-width: 200px;
  color: #030a49;
  padding: 14px;
  background: transparent;
}
.btn-color::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: radial-gradient(
    47.37% 225% at 50% 50%,
    #4640ff 0%,
    #7b30e5 25.5%,
    #f92782 58%,
    #ffa221 100%
  );
  z-index: 1;
  border-radius: 24px;
  background-size: contain;
  opacity: 1;
}
.btn-color::after {
  content: "";
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  position: absolute;
  left: 2px;
  top: 2px;
  background: #fcfcfc;
  z-index: 2;
  border-radius: 24px;
  opacity: 1;
}
.btn-color:hover {
  color: #fff;
  opacity: 1;
}
.btn-color:hover::before {
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  left: -4px;
  top: -4px;
  background-image: url("../img/border-color.svg");
}
.btn-color:hover::after {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: radial-gradient(
    47.37% 225% at 50% 50%,
    #4640ff 0%,
    #7b30e5 25.5%,
    #f92782 58%,
    #ffa221 100%
  );
}

.section {
  padding: 0 16px;
}
.premium-request-button {
  display: flex;
  align-items: center;
  column-gap: 16.37px;
  min-width: 224px;
  background-color: #ffffff;
  padding: 6px 0;
  border-radius: 8px;
  border: 1px solid #c1c1c1;
}

.premium-request-button img {
  width: 18.67px;
  height: 18px;
  margin-left: 18.96px;
}

.premium-request-button .premium-request-button__text {
  font-family: "Red Hat Display", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 32px;
  letter-spacing: 0em;
  text-align: center;
}
.premium-request-button .premium-request-button__text .premium-text {
  color: #ffc733;
}
.button:disabled {
  cursor: auto;
  opacity: 0.5;
}

.button.white {
  background: transparent;
  color: #4640ff;
  padding: 0;
  min-width: 0;
}
.button.white::before {
  display: none;
}
.button.white::after {
  display: none;
}
.wrapper {
  max-width: 1352px;
  margin: 0 auto;
}

/* header */
.header {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  padding: 22px 16px 0;
}
.header .logo {
  text-align: center;
}
.header .logo .img {
  width: 34px;
}
.header .logo .desc {
  margin-top: 6px;
  text-transform: uppercase;
}
.header .guest {
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .left {
  flex: 1;
}
.header .right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}
.header .right .desc {
  text-transform: uppercase;
  font-weight: 800;
}
.header .right .name {
  font-weight: 700;
  text-transform: unset;
}
.header .right .icon {
  width: 20px;
}
.header .right .icon .img {
  width: 100%;
  filter: brightness(0) invert(1);
}
.header .profile-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 32px;
}
.header .profile-link + .button {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header .profile-link + .button .img {
  width: 18px;
  z-index: 3;
  position: relative;
}

/* hero section */
.home-page .hero-section {
  padding: 235px 16px 230px;
  position: relative;
  background-image: url("../img/hero-bg.jpg");
  background-position: center;
  background-size: cover;
}
.home-page .hero-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 154px;
  background: linear-gradient(#13121f00, #13121f);
  z-index: 2;
}

.home-page .hero-section .wrapper {
  position: relative;
  max-width: 1172px;
  font-size: 0;
}
.home-page .hero-section .title-container .title {
  max-width: 504px;
  text-align: right;
}
.home-page .hero-section .title {
  text-transform: uppercase;
}
.home-page .hero-section .img {
  width: 452px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.home-page .hero-section .title-container {
  width: 50%;
  display: inline-block;
  vertical-align: top;
}
.home-page .hero-section .title-container + .title-container {
  padding-top: 85px;
}
.home-page .hero-section .title-container + .title-container .title {
  text-align: left;
  margin: 0 0 0 auto;
}
.home-page .hero-section .title-container + .title-container .title + .title {
  padding-left: 48px;
}
.home-page .hero-section .flex {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-page .hero-section .hero-text {
  max-width: 354px;
}

/* section 2 */
.home-page .section-2 {
  position: relative;
  padding: 94px 16px 0;
}
.home-page .section-2 .wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 86px;
}
.home-page .section-2 .img {
  width: 396px;
}
.home-page .section-2 .text {
  max-width: 510px;
}
.home-page .section-2 .title {
  text-transform: uppercase;
}
.home-page .section-2 .desc {
  margin-top: 32px;
}

.home-page .section-3 {
  padding: 170px 16px 70px;
  position: relative;
  z-index: 2;
}
.home-page .section-3::before {
  content: "";
  width: 586px;
  height: 586px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #4640ff;
  border-radius: 100%;
  filter: blur(150px);
  opacity: 0.5;
}
.home-page .section-3 .wrapper {
  position: relative;
  font-size: 0;
}
.home-page .section-3 .title.big {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  margin: 82px auto;
}
.home-page .section-3 .item {
  display: inline-block;
  vertical-align: top;
  width: 50%;
}
.home-page .section-3 .item.even .item-wrapper {
  margin: 0 0 0 auto;
}
.home-page .section-3 .item-wrapper {
  max-width: 590px;
  position: relative;
  background: #13121f75;
  border: 1px solid #4640ff;
  box-shadow: 0 -12px 24px 0 rgba(70, 64, 255, 0.23);
  padding: 22px;
}
.home-page .section-3 .item .img {
  position: absolute;
  width: auto;
  height: 100px;
  left: 22px;
  bottom: -65px;
}
.home-page .section-3 .item.even .img {
  left: auto;
  right: 22px;
}
.home-page .section-3 .item .title {
  font-size: 18px;
  display: inline-block;
  vertical-align: top;
  width: 45%;
}
.home-page .section-3 .item .desc {
  padding-left: 10px;
  display: inline-block;
  vertical-align: top;
  width: 55%;
}

.home-page .section-4 {
  padding: 224px 16px 130px;
  height: 944px;
  text-align: center;
  overflow: hidden;
  background-image: url("../img/section4.webp");
  background-position: center;
  background-size: cover;
  position: relative;
}
.home-page .section-4::before {
  content: "";
  width: 100%;
  height: 374px;
  background: linear-gradient(#13121f, #13121f00);
  position: absolute;
  left: 0;
  top: 0;
}
.home-page .section-4::after {
  content: "";
  width: 100%;
  height: 374px;
  background: linear-gradient(#13121f, #13121f00);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.home-page .section-4 .img {
  width: 1232px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.home-page .section-4 .wrapper {
  position: relative;
  z-index: 2;
}

.home-page .section-4 .title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.home-page .section-4 .title {
  text-transform: uppercase;
  font-size: 94px;
}
.home-page .section-4 .desc {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}
.home-page .section-4 .desc:first-child {
  position: absolute;
  top: 184px;
  left: calc(50% - 430px);
  transform: translateX(-50%);
}
.home-page .section-4 .desc:nth-child(2) {
  position: absolute;
  top: 184px;
  left: calc(50% + 430px);
  transform: translateX(-50%);
}
.home-page .section-4 .desc:nth-child(3) {
  position: absolute;
  top: 401px;
  left: calc(50% - 384px);
  transform: translateX(-50%);
}
.home-page .section-4 .desc:nth-child(4) {
  position: absolute;
  top: 403px;
  left: calc(50% + 382px);
  transform: translateX(-50%);
}
.home-page .section-4 .shadow1 {
  width: 100%;
  height: 236px;
  background: linear-gradient(#13121f00, #13121f);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
}
.home-page .section-4 .shadow2 {
  width: 100%;
  height: 236px;
  background: linear-gradient(#13121f00, #13121f);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
}

.home-page .section-5 {
  position: relative;
  padding: 110px 16px 115px;
  text-align: center;
}
.home-page .section-5 .flex {
  display: flex;
  gap: 60px;
}
.home-page .section-5 .left {
  flex: 1;
  text-align: right;
}
.home-page .section-5 .center {
  width: 632px;
}
.home-page .section-5 .right {
  flex: 1;
  text-align: left;
}
.home-page .section-5 .title.big {
  text-transform: uppercase;
  opacity: 0.1;
}
.home-page .section-5 .flex button {
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  font-size: 0;
}
.home-page .section-5 .flex button.active {
  border: 2px solid #4640ff;
}
.home-page .section-5 .flex button .img {
  width: 180px;
}
.home-page .section-5 .flex button + button {
  margin-top: 60px;
}
.home-page .section-5 .left button:nth-child(2) {
  margin-right: 90px;
}
.home-page .section-5 .right button:nth-child(2) {
  margin-left: 90px;
}
.home-page .section-5 .center .img {
  margin-top: -28px;
  position: relative;
  width: 100%;
  border-radius: 4px;
}
.home-page .section-5 .bottom {
  margin-top: 52px;
}
.home-page .section-5 .bottom .desc {
  font-size: 18px;
  font-weight: 700;
  max-width: 860px;
  margin: 0 auto;
}
.home-page .section-5 .bottom .button {
  margin: 40px auto 0;
}

/* footer */
.footer {
  padding: 44px 16px 20px;
  background: #0d0d17;
}
.footer .wrapper {
  display: flex;
  justify-content: space-between;
}
.footer .social-list .img {
  width: 32px;
}
.footer .social-list .item {
  margin-left: 30px;
}
.footer .block-1 {
  flex: 1;
  padding-right: 16px;
  max-width: 365px;
}
.footer .block-1 .desc {
  white-space: pre-line;
}
.footer .block-1 .logo + .desc {
  margin-top: 30px;
}
.footer .block-1 .desc + .desc {
  margin-top: 30px;
  font-size: 12px;
}

.footer .logo {
  text-align: left;
  gap: 14px;
  display: flex;
  align-items: center;
}
.footer .logo .img {
  width: 34px;
}
.footer .logo .desc {
  text-transform: uppercase;
  white-space: nowrap;
}
.footer .block-3 {
  padding-left: 16px;
  max-width: 430px;
  flex: 1;
  text-align: right;
}
.footer .block-3 .nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 52px;
}
.footer .block-3 .social-list {
  margin-left: 42px;
  font-size: 0;
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.footer .block-3 .social-container {
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer .block-3 .desc-2 {
  color: #4640ff;
  font-weight: 700;
  margin-left: 8px;
  width: 100%;
}
.footer .block-3 .desc-3 {
  margin-top: 50px;
  font-size: 12px;
  line-height: 18px;
  color: #868686;
}

.footer .payment-method-list {
  margin-top: 42px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 30px;
}
.footer .payment-method-list .img {
  width: auto;
  height: 18px;
}

.footer .payment-method-list + .desc {
  margin-top: 24px;
}

/* modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 5;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.modal.active {
  visibility: visible;
  opacity: 1;
}
.modal .close {
  width: 28px;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  z-index: 2;
  filter: brightness(0) invert(1);
}
.overlay {
  background: rgba(21, 22, 86, 0.21);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.modal .wrapper {
  position: relative;
  max-width: 470px;
  margin: 0 auto;
  width: 100%;
  background: #13121f;
  display: flex;
  text-align: center;
  max-height: calc(100vh - 48px);
  overflow: auto;
}
.modal .button {
  background: #4640ff;
}
.login-modal .wrapper {
  flex-direction: column;
}
.reg-modal .wrapper {
  flex-direction: column-reverse;
}
.request-password-restore-modal .wrapper {
  flex-direction: column;
}

.modal.top-up-modal .wrapper .payment-methods {
    /*display: flex;*/
    /*flex-direction: row;*/
    /*justify-content: center;*/
    column-gap: 16px;
    margin-bottom: 12px;
    margin-top: 32px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Два столбца */
    gap: 10px; /* Расстояние между кнопками */
    justify-items: center; /* Выравнивание всех кнопок по центру */
}

.payment-methods button:nth-child(odd):last-child {
    grid-column: 1 / -1; /* Если кнопка последняя, она занимает оба столбца */
}

.modal.top-up-modal .wrapper .payment-methods .button.multibanco {
  padding-top: 0;
  padding-bottom: 0;
}

.modal.top-up-modal .wrapper .payment-methods .button.multibanco > img {
  /*background-image: url('../img/multibanco.svg');*/
  /*background-position: center;*/
  /*background-size: 29px;*/
  /*background-repeat: no-repeat;*/
  height: 58px;
  padding-top: 4px;
  position: relative;
  z-index: 3;
}

.modal .form-container {
  width: 100%;
  padding: 52px;
  position: relative;
  z-index: 1;
  background: #13121f;
}
.modal .form-container .title {
  text-transform: uppercase;
}
.modal .form-container .right .title {
  font-size: 18px;
}
.modal.amount-modal .form-container,
.modal.top-up-modal .form-container {
  width: 100%;
}

.modal.amount-modal .form-container {
  padding: 0;
  margin: 0;
}
.modal.amount-modal .form-container .left {
  flex: 1;
  padding: 40px;
}
.modal.amount-modal .form-container .right {
  flex: 1;
  padding: 42px 52px;
}
.modal.amount-modal .wrapper {
  max-width: 470px;
}
.modal.amount-modal .form-container .coin-exchange-rate {
  margin-top: 24px;
  justify-content: center;
}
.modal.amount-modal .form-container .amount-input {
  margin-top: 42px;
  position: relative;
}
.modal.amount-modal .form-container .amount-input input {
  font-weight: 400;
}

.modal.top-up-modal .form-container .top-up-amount,
.modal.amount-modal .form-container .top-up-amount {
  font-family: "Red Hat Display", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  font-weight: bold;
  font-size: 32px;
  line-height: 36px;
  text-align: center;
  color: #fff;
}

.modal.amount-modal .form-container .top-up-amount.min-top-up-amount {
  font-size: 20px;
  line-height: 30px;
}

.modal .side {
  width: 100%;
  border-top: 1px solid #1f1e2a;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal form {
  margin-top: 40px;
  font-size: 0;
}
.modal.top-up-modal label + label {
  margin-top: 14px;
}

label {
  position: relative;
  display: block;
}
label + label {
  margin-top: 14px;
}

input, textarea /*, select.input*/ {
  outline: 0;
  background: #ffffff0d;
  border: 1px solid #9494a8;
  font-family: "Red Hat Display", sans-serif;
  font-size: 14px;
  line-height: 28px;
  color: #fff;
  padding: 7px 16px;
  width: 100%;
}

textarea {
  resize: none;
}

/*select.input {*/
/*    padding: 14.5px 16px;*/
/*}*/

input.input-error,
textarea.input-error {
  border: 1px solid #ea0f0f;
}

form label input ~ .error-message,
form label textarea ~ .error-message,
form label .amount-input ~ .error-message {
  padding: 8px 0 0 0;
  display: flex;
  color: #d01313;
  font-size: 13px;
  font-family: "Red Hat Display", sans-serif;
  justify-content: left;
}

form label .error-message ~ .eye {
  top: 35%;
}

::placeholder {
  color: #aaaab3;
}
label .desc.small {
  padding: 0 5px;
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  left: 16px;
  top: -14px;
  position: absolute;
  z-index: 1;
  display: none;
}
.link {
  color: #4640ff;
  text-decoration: none;
  font-size: 14px;
  line-height: 28px;
  cursor: pointer;
  background: transparent;
}
.link:hover {
  text-decoration: underline;
}
.login-modal .link,
.request-password-restore-modal .link {
  margin-top: 14px;
  margin-bottom: 30px;
  font-weight: 700;
  background: transparent;
}
.login-modal .side .link,
.request-password-restore-modal .side .link {
  margin: 0;
}

.modal.login-modal.reg-disabled .wrapper,
.modal.request-password-restore-modal.reg-disabled .wrapper {
  max-width: 462.6px;
}

/*.modal.login-modal.reg-disabled .wrapper {*/
/*    max-width: 551px;*/
/*}*/

.modal.login-modal.reg-disabled .close,
.modal.request-password-restore-modal.reg-disabled .close {
  filter: invert(95%) sepia(14%) saturate(162%) hue-rotate(334deg)
    brightness(89%) contrast(93%);
}

.modal.login-modal.reg-disabled .wrapper .form-container,
.modal.request-password-restore-modal.reg-disabled .wrapper .form-container {
  width: 100%;
}

.modal .checkbox-container {
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  width: 100%;
}

.modal.top-up-modal .checkbox-container {
  display: block;
  width: 100%;
  margin-top: 25px;
}

.modal .checkbox-container input {
  display: none;
}
.modal .checkbox {
  position: relative;
  width: 24px;
  min-width: 24px;
  height: 24px;
  border: 1px solid #9494a8;
  background: #1f1e2a;
}
.modal .checkbox::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-image: url("../img/check.svg");
  background-position: center;
  background-size: 12px;
  background-repeat: no-repeat;
  opacity: 0;
  transition: 0.3s;
}
.modal input:checked + .checkbox::before {
  opacity: 1;
}
.modal .checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.modal .checkbox-label .desc {
  position: static;
  margin-left: 12px;
  color: #fff;
  font-weight: 400;
  line-height: 21px;
  padding: 0;
  text-align: left;
  width: calc(100% - 36px);
  display: block;
}
.modal .checkbox-label .desc .link {
  line-height: 21px;
}

.request-password-restore-modal .send-button {
  margin: 36px auto 0;
}

.reg-modal form .button {
  margin: 32px auto 0;
}

.amount-modal .button {
  margin: 32px auto 0;
}

.top-up-modal .button {
  /*margin-top: 32px;*/
}

.checkbox-container {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
}

.checkbox-label input {
  margin-right: 0.5rem;
}

/*.checkbox {*/
/*    width: 1rem;*/
/*    height: 1rem;*/
/*    border: 1px solid #d6d6d6;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    position: relative;*/
/*    border-radius: 2px;*/
/*}*/

/*.checkbox:before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: 0.6rem;*/
/*    height: 0.3rem;*/
/*    border-bottom: 2px solid #fff;*/
/*    border-right: 2px solid #fff;*/
/*    transform: rotate(45deg);*/
/*    opacity: 0;*/
/*}*/

.checkbox-label input:checked + .checkbox:before {
  opacity: 1;
}

.reg-modal.modal .checkbox-container {
  margin-top: 36px;
}

/*.reg-modal.modal .chekbox-container {*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/

.reg-modal.modal .checkbox-label {
  display: flex;
  align-items: center;
}

.modal .chekbox-container input {
  display: none;
}

.modal .chekbox-container {
  display: inline-block;
  vertical-align: top;
  font-size: 0;
  width: 100%;
  margin-top: 32px;
}

.modal.amount-modal .form-container .input-field {
  padding-right: 40px; /* space for the euro sign */
}

.modal.amount-modal .form-container .currency {
  font-family: "Red Hat Display", sans-serif;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 14px;
  color: #fff;
}
.modal.amount-modal .form-container .get {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}
.modal.amount-modal .form-container .get img {
  width: 18px;
}
.modal.amount-modal .form-container .get .amount {
  gap: 4px;
  display: flex;
  align-items: center;
}
.modal.amount-modal .form-container .get .desc {
  font-size: 12px;
  font-weight: 700;
}
.modal.amount-modal .form-container .get .amount .desc {
  font-size: 14px;
  font-weight: 700;
}

.modal.amount-modal .form-container .input-error ~ .currency {
  top: 37%;
}

.modal.amount-modal .form-container input::-webkit-outer-spin-button,
.modal.amount-modal .form-container input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Firefox */
.modal.amount-modal .form-container input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/**/

/*.top-up-modal .select-container {*/
/*    position: relative;*/
/*}*/

/*.top-up-modal .select {*/
/*    -webkit-appearance: none;*/
/*    -moz-appearance: none;*/
/*    appearance: none;*/
/*    background-color: #fff;*/
/*    border: 1px solid #c4c4c4;*/
/*    border-radius: 3px;*/
/*    color: #222;*/
/*    font-size: 14px;*/
/*    height: 40px;*/
/*    padding: 0 12px;*/
/*    width: 100%;*/
/*}*/

/*.top-up-modal .select:focus {*/
/*    border: 1px solid #0081ff;*/
/*    outline: none;*/
/*}*/

/*.top-up-modal .select-arrow {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    right: 8px;*/
/*    transform: translateY(-50%);*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-top: 6px solid #555;*/
/*    border-right: 6px solid transparent;*/
/*    border-left: 6px solid transparent;*/
/*}*/

/*.top-up-modal .select.open + .select-arrow {*/
/*    border-top: 0;*/
/*    border-bottom: 6px solid #555;*/
/*}*/

/*.error-message {*/
/*    color: #e74c3c;*/
/*    font-size: 12px;*/
/*    margin-top: 5px;*/
/*}*/

/**/

/*.reg-modal.modal .checkbox {*/
/*    margin-right: 10px;*/
/*    width: 18px;*/
/*    height: 18px;*/
/*    border: 2px solid #A0A0A0;*/
/*    border-radius: 2px;*/
/*    cursor: pointer;*/
/*}*/

.modal .checkbox-container + .button {
  margin: 24px auto 0;
}
label .eye {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  width: 28px;
  height: 28px;
  background-image: url("../img/eye.svg");
  background-position: center;
  background-size: cover;
  cursor: pointer;
  transition: 0.3s;
}
label .eye.active {
  background-image: url("../img/eye-closed.svg");
}
.cabinet-page .wrapper {
  position: relative;
  z-index: unset;
}
.cabinet-page .header {
  z-index: unset;
}
.cabinet-page .shapes4 {
  position: absolute;
  width: 520px;
  right: -240px;
  top: 26px;
}
.cabinet-page .top {
  padding: 12px;
  margin-top: 22px;
  margin-bottom: 12px;
  padding-left: 346px;
  padding-right: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 80px;
}
.cabinet-page .top .nav {
  white-space: nowrap;
  overflow: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
  max-width: 100%;
  padding: 10px;
  background: #0d0d17;
}
.cabinet-page .top .link {
  font-weight: 700;
  color: #9494a8;
  white-space: nowrap;
}
.cabinet-page .top .nav .link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px 14px;
}
.cabinet-page .top .nav .link.active {
  background: #333240;
  color: #fff;
}
.cabinet-page .top .nav .link img {
  width: 20px;
}
.cabinet-page .top .breadcrumbs {
  display: flex;
}
.cabinet-page .top .breadcrumbs .link {
  display: flex;
}
.cabinet-page .top .right {
  z-index: 1;
}
.cabinet-page .top .link .img {
  width: 28px;
}
.cabinet-content-container {
  margin-bottom: 70px;
}
.cabinet-content {
  position: relative;
  display: flex;
  align-items: flex-start;
}
.cabinet-content .center {
  width: 100%;
}

.cabinet-content .user-info .icon {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background: #4640ff;
}
.cabinet-content .user-info .img {
  width: 26px;
}
.cabinet-content .user-info .title {
  font-size: 20px;
  font-weight: 400;
  font-family: "Red Hat Display", sans-serif;
}
.cabinet-content .user-info .email {
  font-size: 14px;
  line-height: 16px;
  color: #4640ff;
  font-weight: 700;
  margin-top: 6px;
}
.cabinet-content .user-info .nav {
  display: table;
  margin: 65px auto 35px;
}
.cabinet-content .user-info .link {
  display: table;
  text-decoration: none;
  font-weight: 700;
  color: #9494a8;
  position: relative;
}

.profile-container {
  width: 100%;
}
.right .profile-container {
  margin-top: 38px;
}
.right .profile-container form {
  align-items: flex-start !important;
}

.profile-container form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 32px;
}

.profile-container form .form-row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-width: 376px;
  width: 100%;
  gap: 14px;
}

.profile-container form .form-row:not(:last-child) {
  margin-bottom: 14px;
}

.profile-container form .form-row .form-column {
  display: flex;
  flex-direction: column;
  flex-basis: calc(50% - 5px);
}
.profile-container form .form-row input {
  background: transparent;
}

.carousel-container {
  width: 100%;
}
.cabinet-content .right .title {
  text-transform: uppercase;
  text-align: left;
}
.cabinet-content .user-info {
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.cabinet-content .user-info .user-info-left {
  text-align: left;
  gap: 20px;
  display: flex;
  flex-direction: column;
}
.cabinet-content .user-info .button {
  background: transparent;
  border: 1px solid #030a49;
  color: #030a49;
}
.cabinet-content .user-info .button::after,
.cabinet-content .user-info .button::before {
  display: none;
}

.cabinet-content .balance-premium-wrapper .title:first-child {
  text-transform: uppercase;
  text-align: left;
}
.cabinet-content .balance-premium-wrapper .coin {
  font-size: 32px;
  font-weight: 700;
  justify-content: flex-start;
  margin-top: 30px;
}
.cabinet-content .balance-premium-wrapper .button {
  min-width: 0;
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}
.cabinet-content .balance-premium-wrapper + .balance-premium-wrapper {
  margin-top: 34px;
}

.cabinet-content .user-info .user-info-left .link-logout {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cabinet-content .profile-container {
  max-width: 486px;
}
.cabinet-content .profile-container + .profile-container {
  margin-top: 32px;
}
.cabinet-content .profile-container form {
  margin-top: 32px;
}
.cabinet-content .carousel-container .title {
  text-transform: uppercase;
}
.cabinet-content .carousel-container .nocarousel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cabinet-content .carousel-container .nocarousel .item {
  width: calc((100% - 24px) / 4);
  background: #13121f;
  overflow: hidden;
  height: 0;
  padding-top: calc((100% - 24px) / 4);
  position: relative;
}
.cabinet-content .carousel-container .nocarousel .item .img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cabinet-content .carousel-container .nocarousel .button {
  background: #f5f6f8;
  color: #4640ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  width: calc((100% - 80px) / 5);
  min-width: 0;
  text-align: center;
}
.cabinet-content .carousel-container .nocarousel .button::after,
.cabinet-content .carousel-container .nocarousel .button::before {
  display: none;
}
.cabinet-content .carousel-container .nocarousel .button .img {
  width: 18px;
}

.cabinet-content .carousel .item {
  padding: 0 8px;
}
.cabinet-content .carousel {
  margin-top: 24px;
}
.cabinet-content .balance {
  text-align: center;
}
.cabinet-content .balance-premium-wrapper .desc {
  font-size: 14px;
  line-height: 21px;
  color: #9494a8;
}
.cabinet-content .balance .title {
  line-height: 40px;
  font-size: 36px;
}

.cabinet-content .slick-arrow {
  width: 50px;
  height: 50px;
  background-image: url("../img/arrow-yellow-big.svg");
  background-size: 18px;
  left: -42px;
}
.cabinet-content .slick-next {
  left: auto;
  right: -42px;
}
.cabinet-content .request-left label .desc {
  background: #f0f4f8;
}
.cabinet-content .request-left form {
  text-align: center;
}
.cabinet-content .request-left .button {
  width: 100%;
  max-width: 200px;
  text-align: center;
  display: inline-block;
}
.cabinet-content .request-left .more .desc {
  color: #aaaab3;
  flex: 1;
  max-width: 190px;
}
.request-wrapper .info-wrapper {
  position: relative;
  margin-top: 6px;
  margin-bottom: 42px;
}
.request-wrapper .info-wrapper .info {
  display: flex;
  column-gap: 35.47px;
  margin-left: 38.5px;
  max-width: 802.49px;
  margin-right: 16px;
}
.request-wrapper .info-wrapper .info .desc {
  margin-top: 0;
}
.cabinet-content .request-left .info .img,
.request-wrapper .info .img {
  width: 16px;
}
.cabinet-content .request-left .info .desc,
.request-wrapper .info .desc {
  color: #9494a8;
  font-size: 14px;
  line-height: 18px;
}
.cabinet-content .request-left .request-price {
  font-family: "Red Hat Display", sans-serif;
  font-size: 16px;
  line-height: 24px;
  margin-top: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cabinet-content .request-left .request-price span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cabinet-content .request-left .request-price.premium-request-price {
  font-family: "Red Hat Display", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0em;
  text-align: left;
  margin-left: 0;
  margin-top: 0;
  margin-top: 24px;
}
.cabinet-content .request-left .request-price .old-price {
  text-decoration: line-through;
  text-decoration-color: #fff;
}
.cabinet-content .request-left .request-price .new-price {
  font-size: 14px;
  margin-left: 2px;
}
.cabinet-content .books {
  width: 60%;
}
.cabinet-content .ai {
  width: 100%;
  display: flex;
  margin-top: 40px;
  justify-content: flex-end;
}
.cabinet-content .ai .desc {
  display: none;
}
.cabinet-content .ai .button {
  width: 206px;
  align-self: center;
}
.cabinet-content td {
  padding: 10px 30px;
  font-size: 14px;
  vertical-align: middle;
}
.cabinet-content thead td {
  font-size: 12px;
  padding: 8px 20px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  background: #0d0d17;
}
.cabinet-content td:first-child {
  padding-left: 20px;
  width: 20%;
}
.cabinet-content td:nth-child(2) {
  width: 20%;
}
.cabinet-content td:last-child {
  padding-right: 74px;
  text-align: right;
}
.cabinet-content tbody td:last-child {
  padding-right: 46px;
}
.cabinet-content td.td-download {
  padding-right: 30px;
  text-align: center;
}
.cabinet-content tbody td.td-download {
  padding-right: 30px;
  text-align: center;
}

.cabinet-content.cabinet-payment-history tbody td:last-child {
  padding-right: 74px;
}

.cabinet-content td .img {
  width: 62px;
  border-radius: 12px;
}
.cabinet-content-history {
  padding: 0;
  display: block;
  padding-bottom: 42px;
  margin-top: 16px;
}
.cabinet-content-history table {
  width: 100%;
}
.cabinet-content-history table td:nth-child(3) b {
  vertical-align: middle;
}
.cabinet-content-history table td:nth-child(3) .coin {
  vertical-align: middle;
  width: 16px;
  margin-left: 4px;
}
.cabinet-content-history .table-container {
  overflow: auto;
}
.cabinet-content .pagination {
  margin-top: 42px;
  display: flex;
  justify-content: center;
}
.cabinet-content .pagination .item {
  font-size: 14px;
  line-height: 44px;
  width: 44px;
  border-radius: 100%;
  text-align: center;
  margin: 0 1px;
}
.cabinet-content .pagination .item.active {
  font-weight: 700;
  background: #ffffff;
}
.cabinet-content .pagination .arrow {
  background: #030a49;
  background-image: url("../img/pagArrow.svg");
  background-position: center;
  background-size: 14px;
  background-repeat: no-repeat;
  width: 44px;
  height: 44px;
  border-radius: 100%;
}
.cabinet-content .pagination .arrow.next {
  transform: scale(-1);
  margin-left: 6px;
}
.cabinet-page .main {
  padding: 0 16px;
}
.wrapper .payment-result.desc {
  font-size: 20px;
}
.wrapper .payment-result.desc a {
  /*font-size: 14px;*/
  /*line-height: 28px;*/
  font-size: 20px;
  color: #18aeff;
}
.wrapper .payment-result {
  text-align: center;
  padding: 60px 16px;
}
.text {
  font-family: "Red Hat Display", sans-serif;
  padding-bottom: 40px;
}
.text span,
.text p {
  font-size: 14px !important;
  line-height: 20px;
  color: #000000;
}

strong {
  font-weight: bold;
}

.text .desc {
  margin-top: 36px;
  width: 100%;
}
.text .desc + .desc {
  margin-top: 48px;
}
.text .desc.short {
  margin-top: 48px;
  width: 50%;
}
.text .desc.short {
  padding-right: 18px;
}
.text .desc.short + .desc.short {
  padding-left: 18px;
  padding-right: 0;
}
.text .desc b {
  line-height: 200%;
}

.password-restore-modal .button {
  margin-top: 36px;
}

.request-password-restore-modal .restore-password-finish {
  display: none;
  /*height: 100%;*/
}

.request-password-restore-modal .restore-password-finish .title {
  margin-top: 116px;
}

.download-img-wrapper .input-container {
  margin-bottom: 4px;
}

.download-img-wrapper .input-container:nth-child(2) {
  margin-bottom: 10px;
}

.download-img-wrapper .input-container .select2.select2-container {
  height: auto;
  padding: 2px 0px;
}

.download-img-wrapper
  .input-container
  .select2-container--default
  .select2-selection--single {
  height: auto;
}

.download-img-wrapper
  .input-container
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding: 3px 16px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #fff !important;
  line-height: 25px !important;
  height: 100%;
}

.request-table-container .button {
  min-width: 140px;
  padding: 5px 12px;
  font-size: 18px;
}

.request-form .request-left .form-wrapper {
  display: flex;
  flex-direction: column;
}
.request-form .request-left .info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}

.amount-modal .modal-packs-list {
  margin-top: 40px;
}
.amount-modal .modal-packs-list.vertical-packs-list .modal-pack-item.pack-item {
  color: #fff;
  font-size: 14px;
  border-radius: 38px;
}
.amount-modal
  .modal-packs-list.vertical-packs-list
  .modal-pack-item.pack-item:not(:last-child) {
  margin-bottom: 32px;
}
.amount-modal
  .modal-packs-list.vertical-packs-list
  .modal-pack-item.pack-item
  .desc {
  font-weight: 700;
}
.amount-modal .modal-packs-list.vertical-packs-list .modal-pack-item.pack-item {
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.amount-modal
  .modal-packs-list.vertical-packs-list
  .modal-pack-item.pack-item
  .button {
  min-width: 124px;
  width: 124px;
  margin: 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.amount-modal
  .modal-packs-list.vertical-packs-list
  .modal-pack-item.pack-item
  .button::after {
  background: #ffffff;
  opacity: 1;
  visibility: visible;
}
.amount-modal
  .modal-packs-list.vertical-packs-list
  .modal-pack-item.pack-item
  .button::before {
  opacity: 1;
  visibility: visible;
  background: linear-gradient(
    #4640ff,
    #7b30e5,
    #f92782,
    #ffa221,
    #ffa221,
    #f92782,
    #7b30e5,
    #4640ff
  );
}
.amount-modal
  .modal-packs-list.vertical-packs-list
  .modal-pack-item.pack-item
  .button
  .img {
  position: relative;
  z-index: 3;
  width: 16px;
}
.button-wrapper {
  text-align: center;
}
.download-btn {
  background: transparent;
}
.download-btn img {
  filter: brightness(0) invert(1);
}

.cabinet-page .header .left {
  display: none;
}
.cabinet-page .header .logo {
  display: flex;
  gap: 14px;
  align-items: center;
  z-index: 2;
}
.cabinet-page .header .logo .desc {
  margin-top: 0;
}
.cabinet-page .header .wrapper {
  background-color: #1f1e2a;
  padding: 28px 46px;
}
.cabinet-page .header .right {
  display: none;
}
.show-header .header .right {
  display: flex;
}

.cab-flex {
  flex-wrap: wrap;
  display: flex;
  font-size: 0;
}
.cab-left {
  width: 346px;
  padding: 50px 24px 50px 46px;
}
.cab-right {
  width: calc(100% - 346px);
  padding: 38px 32px;
  background: #1f1e2a;
}
.cab-left-my-proj .button {
  margin-top: 30px;
  width: 100%;
}
.cab-left-my-proj .button + .desc {
  margin-top: 42px;
}
.cab-left-my-proj .title {
  text-transform: uppercase;
  font-size: 18px;
}

.request-left .title {
  margin-bottom: 28px;
  font-size: 18px;
  text-transform: uppercase;
}

.request-left .more {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.premium-div {
  margin-bottom: 14px;
}

.top + .text {
  margin-top: 100px;
}
.top + .text p {
  font-family: "Red Hat Display", sans-serif !important;
  color: #fff !important;
}
.top + .text span {
  font-family: "Red Hat Display", sans-serif !important;
  color: #fff !important;
}
.top + .text .title {
  margin-bottom: 24px;
}

/* media */
@media screen and (max-width: 1200px) {
  .title.big {
    font-size: 56px;
    line-height: 76px;
  }
  .home-page .hero-section {
    padding: 164px 16px 215px;
  }
  .home-page .hero-section .right {
    padding: 26px 52px;
  }
  .home-page .section-2 {
    padding: 48px 16px;
  }
  .home-page .section-2 .block-2 {
    margin-top: 48px;
  }
  .home-page .hero-section .img {
    display: none;
  }
  .home-page .hero-section {
    padding: 180px 16px 95px;
  }
  .home-page .hero-section .title-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .home-page .hero-section .title-container .title {
    text-align: center;
    max-width: 100%;
  }
  .home-page .hero-section .title-container + .title-container {
    padding-top: 0;
    text-align: center;
    display: block;
  }
  .home-page .hero-section .title-container + .title-container .title {
    text-align: center;
    margin: 0;
  }
  .home-page .hero-section .title-container + .title-container .title + .title {
    padding-left: 0;
    text-align: center;
    margin: 0;
  }
  .home-page .hero-section .title-container .title:first-child {
    display: inline;
  }
  .home-page .hero-section .title-container + .title-container .title + .title {
    display: inline;
  }
  .home-page .hero-section .flex {
    margin-top: 32px;
    display: block;
    text-align: center;
  }
  .home-page .hero-section .hero-text {
    margin: 0 auto;
  }
  .home-page .hero-section .button {
    margin-top: 16px;
  }
}
@media screen and (max-width: 1100px) {
  .footer .block-4 .button {
    width: 100%;
    max-width: 273px;
  }
  .home-page .section-3 .block-3 {
    margin-top: 77px;
  }
  .home-page .section-3 {
    padding-bottom: 48px;
  }
  .home-page .section-3 .icon {
    width: 160px;
    height: 160px;
  }
  .home-page .section-3 .icon .img {
    width: 80px;
  }
  .home-page .section-3 .path {
    display: none;
  }
  .home-page .section-3 .row:nth-child(3) .block-1 {
    padding-left: 100px;
  }
  .home-page .section-3 .block-1 {
    width: 40%;
  }
  .home-page .section-3 .row:nth-child(2) .block-1 {
    padding-left: 100px;
  }
  .home-page .section-3 .wrapper .row + .row {
    margin-top: 64px;
  }
  .footer .social-list .item {
    margin-bottom: 16px;
    display: inline-block;
  }
  .footer .block-1 .desc {
    margin-top: 40px;
  }
  .footer .block-2 {
    width: 20%;
  }
  .cabinet-content .balance-premium-wrapper {
    padding-left: 0;
  }
  .cabinet-content .request-left {
    padding-top: 0;
  }
  .cabinet-content .request-left .info,
  .request-wrapper .info {
    margin-top: 24px;
  }
  .cabinet-content td:nth-child(2) {
    width: 10%;
  }
}

@media screen and (max-width: 768px) {
  .title.big {
    font-size: 42px;
    line-height: 56px;
    text-align: center;
  }
  .header {
    padding-top: 32px;
  }
  .header .button {
    min-width: 0;
  }
  .header .wrapper {
    flex-direction: column;
    align-items: center;
  }
  .header .right {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 16px;
  }
  .home-page .hero-section .wrapper {
    flex-direction: column;
  }
  .home-page .hero-section .cube {
    display: none;
  }
  .home-page .hero-section .left {
    width: 100%;
    text-align: center;
  }
  .home-page .hero-section .right {
    width: 100%;
    margin-top: 24px;
  }
  .home-page .hero-section .right {
    padding: 26px 32px;
  }
  .home-page .hero-section .button {
    margin-top: 24px;
  }
  .home-page .hero-section {
    padding-bottom: 40px;
  }
  .home-page .section-2 .shapes {
    display: none;
  }
  .home-page .section-2 .block-1 {
    width: 100%;
  }
  .home-page .section-2 .block-2 .divider {
    max-height: 120%;
  }
  .home-page .section-2 .block-num .desc,
  .home-page .section-2 .block-4 .desc {
    margin-top: 0;
  }
  .home-page .section-3 .block-1,
  .home-page .section-3 .row:nth-child(2) .block-1,
  .home-page .section-3 .row:nth-child(3) .block-1 {
    width: 100%;
    padding-left: 0;
  }
  .home-page .section-3 .icon {
    margin: 0 auto;
  }
  .home-page .section-3 .shapes2,
  .home-page .section-3 .shapes3 {
    display: none;
  }
  .home-page .section-3 .block-2 {
    width: 100%;
    text-align: center;
    padding-left: 0;
    margin-top: 24px;
  }

  .home-page .section-3 .desc.small {
    margin: 24px auto 0;
  }
  .home-page .section-4 {
    padding: 32px 16px;
    height: auto;
  }
  .home-page .section-4 .desc {
    position: static !important;
    transform: none !important;
    text-align: center;
    margin-top: 24px;
  }
  .home-page .section-4 .img {
    display: none;
  }
  .home-page .section-4 .logo {
    margin-top: 32px;
  }
  .slick-arrow {
    width: 50px;
    height: 50px;
    left: -50px;
    background-size: 18px 40px;
  }
  .slick-next {
    left: auto;
    right: -50px;
  }
  .footer {
    padding: 32px 16px;
  }
  .footer .wrapper {
    flex-direction: column;
    text-align: center;
  }
  .footer .block-1 {
    width: 100%;
    padding-right: 0;
  }
  .footer .social-list .item {
    margin: 0 8px 16px;
  }
  .footer .block-1 .desc {
    margin-top: 16px;
  }
  .footer .logo .desc {
    margin-top: 0;
  }
  .footer .block-2 {
    width: 100%;
    margin-top: 32px;
    padding: 0;
  }
  .footer .block-2 .item,
  .footer .block-2 .item:last-child {
    margin: 0 auto 16px;
  }
  .footer .block-3 {
    width: 100%;
    margin-top: 32px;
    padding: 0;
  }
  .footer .block-3 .desc-3 {
    margin-top: 16px;
  }
  .footer .block-4 {
    width: 100%;
    padding: 0;
    margin-top: 32px;
    text-align: center;
  }
  .cabinet-page .main {
    padding-bottom: 32px;
  }
  .request-form .request-left .form-wrapper label .select2-container {
    max-width: unset;
  }
  .request-form
    .request-left
    .form-wrapper
    label
    .select2-container--open
    .select2-dropdown--below {
    max-width: unset;
  }
  .cabinet-content {
    flex-direction: column;
  }
  .cabinet-content .user-info .nav {
    margin: 24px auto 0;
  }
  .cabinet-content .right {
    width: 100%;
    padding: 24px;
  }
  .cabinet-content .balance-container {
    flex-direction: column;
  }
  .cabinet-content .user-info .link {
    padding-left: 0;
  }
  .coin-exchange-rate {
    position: relative;
  }
  .cabinet-content .request-left {
    padding: 0;
    max-width: 100%;
  }
  .cabinet-page .shapes4 {
    display: none;
  }
  .cabinet-content .request-right {
    padding-top: 32px;
    margin-top: 32px;
    flex-direction: column;
  }
  .cabinet-content .request-left form {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .cabinet-content .books {
    width: 100%;
  }
  .cabinet-content .ai {
    width: 100%;
    padding-left: 0;
    text-align: center;
    margin-top: 24px;
  }
  .cabinet-content .pagination {
    flex-wrap: wrap;
  }
  .cabinet-content-history .table-container {
    overflow: auto;
  }
  .cabinet-content thead td {
    padding: 12px;
  }
  .cabinet-content td:first-child {
    width: auto;
    padding-left: 16px;
  }
  .cabinet-content td:last-child {
    width: auto;
    padding-right: 16px;
  }

  .cabinet-content tbody td:last-child {
    width: auto;
    padding-right: 16px;
  }
  .cabinet-content-history table {
    min-width: 600px;
  }
  .text .desc.short {
    width: 100%;
    padding-right: 0;
  }
  .text .desc.short + .desc.short {
    padding-left: 0;
  }
  .text {
    padding-bottom: 0;
  }
  .modal .wrapper {
    display: flex;
    flex-wrap: wrap;
  }
  .modal .form-container {
    width: 100%;
    padding: 24px;
  }
  .modal form {
    margin-top: 32px;
  }
  label + label {
    margin-top: 14px;
  }
  .login-modal .link,
  .request-password-restore-modal .link {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .modal .checkbox-container {
    width: 100%;
  }
  .modal .checkbox-label .desc {
    width: auto;
  }
  .modal .checkbox-label {
    justify-content: center;
  }
  .modal .checkbox-container + .button {
    margin-top: 24px;
  }
  .modal .form-container {
    min-height: 0;
  }
  .modal .side {
    width: 100%;
    min-height: 0;
    padding: 110px 16px 30px;
  }
  .modal .close {
    top: 12px;
    right: 12px;
    filter: brightness(0);
  }
  .request-wrapper .info-wrapper .info {
    margin-left: 16px;
  }
  .home-page .hero-section .title-container {
    transform: none;
  }
  .home-page .hero-section .title-container .title:first-child {
    max-width: 100%;
    text-align: center;
  }
  .home-page .hero-section .title-container .title:last-child {
    max-width: 100%;
    margin: 0 auto;
  }
  .home-page .hero-section .hero-text {
    border-radius: 0 16px 0 16px;
    padding: 16px;
    max-width: 100%;
  }
  .home-page .hero-section .obj1 {
    display: none;
  }
  .home-page .hero-section .flex {
    flex-direction: column-reverse;
    margin: 16px auto 0;
    align-items: center;
    gap: 24px;
  }
  .home-page .hero-section .flex .button {
    margin: 16px auto 0;
  }
  .home-page .hero-section .hero-text .arrow {
    display: none;
  }
  .home-page .section-2 .obj2 {
    display: none;
  }
  .home-page .section-2 .block-3 {
    margin: 60px auto 0 0;
  }
  .title.medium,
  .title.big {
    font-size: 30px;
    line-height: 38px;
  }
  .home-page .section-2 .block {
    width: 100%;
  }
  .home-page .section-3 {
    padding: 40px 16px;
  }
  .home-page .section-3 .wrapper {
    padding: 16px;
  }
  .home-page .section-3 .wrapper .title.big {
    text-align: center;
    margin: 24px 0;
  }
  .home-page .section-4 .button {
    margin-top: 40px;
  }
  .footer .block-1,
  .footer .block-3 {
    max-width: 100%;
  }
  .footer .payment-method-list {
    justify-content: center;
  }
  .cabinet-page .top {
    padding-top: 120px;
    padding-left: 0;
    padding-right: 0;
  }
  .cab-left {
    width: 100%;
  }
  .cab-right {
    width: 100%;
    padding: 16px;
  }
  .cabinet-content .carousel-container .nocarousel .button {
    width: calc(50% - 4px);
  }
  .cabinet-content .carousel-container .nocarousel .item {
    width: calc(50% - 4px);
    padding-top: calc(50% - 4px);
  }
  .modal.amount-modal .form-container {
    flex-direction: column;
  }
  .modal.amount-modal .form-container .right {
    max-width: 100%;
    padding: 16px;
  }
  .home-page .section-2 .wrapper {
    flex-direction: column;
  }
  .home-page .section-2 .text {
    text-align: center;
    margin: 0 auto;
  }
  .home-page .section-3 .item {
    width: 100%;
  }
  .home-page .section-3 .item + .item {
    margin-top: 16px;
  }
  .home-page .section-3 .item .img {
    display: none;
  }
  .home-page .section-4 .title {
    font-size: 30px;
  }
  .home-page .section-4 .title-container {
    gap: 0;
  }
  .home-page .section-4 .wrapper {
    z-index: 4;
  }
  .home-page .section-5 .flex {
    flex-direction: column;
    gap: 0;
  }
  .home-page .section-5 .center {
    max-width: 100%;
    order: 1;
    margin: 0 auto;
  }
  .home-page .section-5 .left {
    order: 2;
    text-align: center;
    margin-top: 24px;
  }
  .home-page .section-5 .right {
    text-align: center;
    order: 3;
  }
  .home-page .section-5 .left button:nth-child(2) {
    margin-right: 0;
  }
  .home-page .section-5 .right button:nth-child(2) {
    margin-left: 0;
  }
  .home-page .section-5 .flex button + button {
    margin-top: 0;
  }
  .footer .logo {
    justify-content: center;
  }
  .footer .block-3 .nav {
    justify-content: center;
    gap: 16px;
  }
  .footer .block-3 .social-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer .block-3 .social-list {
    margin-left: 0;
    margin-top: 16px;
  }
  .home-page .hero-section .wrapper {
    z-index: 2;
  }
  .top + .text {
    margin-top: 180px;
    padding-bottom: 40px;
  }
  .footer .block-3 .desc-2 {
    text-align: center;
  }
}

@media screen and (max-width: 500px) {
  .cabinet-page .top {
    flex-direction: column;
    row-gap: 22px;
  }

  .cabinet-page .top .right {
    display: flex;
    justify-content: center;
  }

  .modal.top-up-modal .wrapper .payment-methods {
    flex-direction: column;
    align-items: center;
  }

  .modal.top-up-modal .wrapper .payment-methods .button {
    max-width: 250px;
    width: 100%;
  }

  .modal.top-up-modal .wrapper .payment-methods .button.multibanco {
    flex-direction: column;
    align-items: center;
    margin-top: 26px;
  }
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 14px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  background: #ffffff0d;
  border: 1px solid #9494a8;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  line-height: 44px;
  padding: 9px 16px;
}
body .select2-container--default .select2-selection--single {
  background: transparent;
  border: 0;
  height: 44px;
  width: 100%;
}
.select2-search--dropdown {
  display: none;
}
.select2-container {
  width: 100% !important;
  /*max-width: 80vw;*/
}
select.input
  + .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 11px;
  right: 12px;
  background: url("../img/arrow-down.svg");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.select2-container--open .select2-selection--single .select2-selection__arrow {
  transform: rotate(180deg);
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  opacity: 0;
}
.select2-container--open .select2-dropdown--below {
  border-radius: 6px;
  margin-top: 0px;
  overflow: hidden;
  box-shadow: none;
  transform: translateY(1px);
  border-top: 1px solid #aaabb6;
  /*max-width: 80vw;*/
}
.select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: #aaabb6;
}
body .select2-container--default .select2-results__option--selected,
body .select2-results__option,
body
  .select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable,
body
  .select2-container--default
  .select2-results__option--highlighted[aria-selected],
body
  .select2-container--default
  .select2-results__option[aria-selected="true"] {
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 400;
  line-height: 16px;
  display: flex;
  align-items: center;
  padding: 0 0 0 15px;
}
.select2-results__option {
  margin-top: 12px;
}
.select2-dropdown {
  background: #f0f2f3;
  border: 1px solid #aaabb6;
}
.select2-container--default .select2-results > .select2-results__options {
  padding-bottom: 12px;
  background: #1f1e2a;
}

.select-container {
  text-align: left;
  display: flex;
  align-items: center;
}
.select-container {
  margin-right: 26px;
}
.select-container-reset {
  margin-right: 0;
}
.select-container .desc + .select2 {
  margin-left: 16px;
}
.error-message {
  font-family: "Red Hat Display", sans-serif;
  font-size: 14px;
  color: #d01313;
}
.title.coin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.title.coin img {
  width: 28px;
}
.coin-exchange-rate {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  font-family: "Red Hat Display", sans-serif;
  color: #fff;
}
.coin-exchange-rate div {
  display: flex;
  align-items: center;
  gap: 4px;
}
.coin-exchange-rate img {
  width: 16px;
}
td.coin b {
  display: flex;
  gap: 5px;
}
td.coin img {
  width: 16px;
}
.button.coin {
  display: flex;
  align-items: center;
  text-wrap: balance;
}
.button.coin img {
  width: 16px;
  vertical-align: text-top;
}
.request-price.coin img {
  width: 20px;
  position: relative;
}
.select-menu {
    font-family: "Red Hat Display", sans-serif;
    max-width: 330px;
    margin-right: 40px;
}
.select-menu .select-btn {
    display: flex;
    height: auto;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    color: #dde6ff;
    min-width: 70px;
    background: transparent;
    backdrop-filter: blur(24px);
    border: 2px solid #4640ff;
}
.select-menu .options {
    position: absolute;
    max-width: 70px;
    overflow-y: auto;
    max-height: 295px;
    padding: 10px;
    padding-top: 0;
    animation-name: fadeInDown;
    -webkit-animation-name: fadeInDown;
    animation-duration: 0.35s;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.35s;
    -webkit-animation-fill-mode: both;
    color: #ffffff;
}
.select-menu .options:not(.active) {
    display: none;
}
.select-menu .options .option {
    display: flex;
    height: 38px;
    cursor: pointer;
    padding: 0 16px;
    border-radius: 8px;
    align-items: center;
    padding-left: 10px;
    color: #ffffff;
}
.select-menu .options .option i {
    font-size: 25px;
    margin-right: 12px;
}
.select-menu .options .option .option-text {
    color: #ffffff;
}
.select-btn i {
    font-size: 25px;
    transition: 0.3s;
}
.select-menu.active .select-btn i {
    transform: rotate(-180deg);
}
.select-menu.active .options {
    display: block;
    z-index: 10;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
    animation-duration: 0.4s;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-fill-mode: both;
    background: #000;
}
.footer .apple-pay {
    filter: brightness(0) invert(1);
    height: 22px;
}
.footer .google-pay {
    height: 50px !important;
}
.button.applepay img {
    height: 20px;
    position: relative;
    top: 4px;
    filter: brightness(0) invert(1);
}
.button.googlepay img {
    height: 20px;
    position: relative;
    top: 4px;
}
.select-menu.currency .options {
    height: 125px;
    max-width: 85px;
}
.top .select-menu {
	margin-right: 0px;
}