/* Фон страницы */
body {
  background-image: url("../img/ban_bg.png");
  background-repeat: no-repeat;
  background-position: top center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main_ban {
  flex-grow: 3;
}

/* Заголовок страницы */
.page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 46px;
  font-style: normal;
  font-weight: 900;
  line-height: 100%;
  color: #fff;
  text-transform: uppercase;
  overflow: visible;
  margin-top: 60px;
  animation: title-animation 10s infinite ease-in-out;
}

.page-title::before {
  content: "SOUL CRAFT";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: absolute;
  top: -80%;
  font-size: 72px;
  font-style: normal;
  font-weight: 900;
  line-height: 100%;
  color: rgba(255, 255, 255, 0.2);
  animation: title-animation-before 10s infinite ease-in-out;
}

/* Подзаголовок */
.page-subtitle {
  color: rgba(233, 170, 255, 0.1);
  text-align: center;
  font-family: Graphik LCG;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
  width: 100%;
  max-width: 850px;
  margin: 75px auto 0;
}

.ban-block-wrapper {
  margin-top: -20px;
  position: relative;
}

/* Основной блок */
.ban-block {
  position: relative;
  padding: 40px 90px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(39, 40, 56, 0.5);
  box-shadow: 20px 20px 30px 0px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: visible;
}

.ban-block.ban-block_fade-out {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: block-fade-out 0.5s ease-in;
}

.image_parallax {
  background-image: url("../img/ban_key.png");
  background-repeat: no-repeat;
  width: 515px;
  aspect-ratio: 515/391;
  position: absolute;
  bottom: 0;
  left: 470px;
  z-index: -1;
}

/* Заголовок бан блока */
.ban-block-title {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-main);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  text-transform: uppercase;
}

.ban-block-title i {
  font-size: 40px;
}

.ban-block-title b {
  color: #ed97ff;
  font-weight: 900;
}

/* Форма */
.ban-block-form {
  width: 100%;
  max-width: 440px;
  margin-top: 35px;
}

/* Подсказка для поля ввода */
.ban-block-form .input-prepend-annotation {
  color: #7b7d95;
  font-family: Graphik LCG;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 6px;
}

/* Поле ввода ника */
.ban-block .ban-block-form .input-prepend {
  flex-grow: 3;
}

.ban-block .ban-block-form .input-prepend input::placeholder {
  color: var(--text-regular);
}

/* Блок формы */
.ban-block-data {
  width: 100%;
  display: flex;
}

.btn-ban {
  padding: 7px 0 7px 10px;
  font-size: 40px;
  margin-left: 10px;
  cursor: pointer;
}

/* Блок подтверждения */
.ban-block.ban-block_confirm {
  display: none;
  padding: 0;
  overflow: hidden;
}

.ban-block.ban-block_confirm.ban-block_confirm_fade-in {
  display: flex;
  animation: confirm-block-fade-in 0.5s ease-in-out;
}

.ban-block_confirm-data {
  width: 425px;
  height: 382px;
  background: rgba(26, 27, 38, 0.5);
  padding: 40px;
}

.ban-block_confirm-data-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  margin-bottom: 28px;
}

.ban-block_confirm-data-title i {
  font-size: 46px;
}

.ban-block_confirm-data-title-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 18px;

  line-height: 100%;
}

.ban-block_confirm-data-title-text p {
  text-transform: uppercase;
  font-weight: 600;
}

.ban-block_confirm-data-title-text p span {
  color: #ed97ff;
}

.ban-block_confirm-data-title-text > span {
  color: var(--text-regular);
}

.ban-block_confirm-data-field {
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  background: #272838;
  padding: 14px 17px;
  margin-bottom: 14px;
}

.ban-block_confirm-data-field b {
  color: var(--text-main);
  font-size: 16px;
  line-height: 100%;
}

.ban-block_confirm-data-field-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
}

.ban-block_confirm-data-field-tag i {
  font-size: 30px;
}

.ban-block_confirm-data-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 3;
  padding: 65px 0;
}

.ban-block_confirm-data-action-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
}

.ban-block_confirm-data-action-amount {
  width: 100%;
  text-align: center;
  color: #ed97ff;
  font-size: 72px;
  font-weight: 700;
  line-height: 100%;
  margin-top: 29px;
  padding-bottom: 24px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
}

.btn-confirm-buy {
  font-size: 18px;
  padding: 15px 40px;
  cursor: pointer;
  margin-top: 49px;
}



@keyframes title-animation {
  from,
  to {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-30px);
  }
}

@keyframes title-animation-before {
  from,
  to {
    transform: translateX(0);
  }
  50% {
    transform: translateX(60px);
  }
}

@keyframes title-animation-mobile {
  from,
  to {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-20px);
  }
}

@keyframes title-animation-before-mobile {
  from,
  to {
    transform: translateX(0);
  }
  50% {
    transform: translateX(40px);
  }
}

@keyframes confirm-block-fade-in {
  from {
    transform: translateX(-200%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes block-fade-out {
  from {
    display: block;
    transform: translateX(-50%);
  }
  to {
    display: block;
    transform: translateX(200%);
  }
}
