body {
  width: 100%;
  height: auto;
  min-height: 100%;
  background-color: #050814;
  position: relative;
  margin: 0;
  scroll-behavior: smooth;
}

img {
  width: 100%;
  display: block;
}

.bg__wrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  min-height: 100%;
  pointer-events: none;
  background: url("./assets/images/bg_gradient.webp") top left no-repeat,
    url("./assets/images/bgElement_header.webp") top left no-repeat,
    url("./assets/images/bgElement_footer.webp") bottom left no-repeat,
    url("./assets/images/gradient_footer.webp") bottom left no-repeat,
    url("./assets/images/bg.webp") top left / cover no-repeat;
  background-size: 100% 20%, /* bg_gradient */ 92% auto,
    /* header element */ 85% auto, /* footer element */ 100% 100%,
    /* footer gradient */ contain; /* base background */
}

.content {
  position: relative;
  z-index: 10;
}

/* Header */

.header {
  width: 100%;
  height: 82px;
  background-color: rgb(17, 18, 28);
  opacity: 0.659;
  padding: 10px;
}

.header__wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.nav__wrapper {
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 auto;
  position: relative;
}

.nav__list {
  width: 610px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 50px;
}

.nav__link {
  text-decoration: none;
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: #fff;
}

.registration__btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: #c5ed63;
}

.nav__hover_bar {
  position: absolute;
  bottom: -10px;
  height: 1px;
  width: 0;
  background: linear-gradient(
    to right,
    transparent,
    #d7ff42,
    #c5ed63,
    #d7ff42,
    transparent
  );
  box-shadow: 0 0 6px #c5ed63, 0 0 12px #c5ed63, 0 0 18px #a0ff00,
    0 0 28px #a0ff00;
  border-radius: 100px;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

/* Main */

.main {
  padding: 0 100px;
}

.main__wrapper {
  max-width: 1880px;
  margin: 0 auto;
}

.logo__container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 175px 0 145px;
}

.currency__wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.logo {
  max-width: 190px;
}

.logo__text {
  font-size: 5.5rem;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: #9ad33f;
  line-height: 1.2;
  text-align: left;
}

.currency__title {
  max-width: 840px;
  font-size: 7rem;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  line-height: 0.917;
  color: #6e49bb;
}

.currency__title span {
  color: #fff;
}

.currency__text {
  max-width: 495px;
  font-family: "Roboto", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #9e91b9;
  line-height: 1.2;
}

.currency__btn {
  border-radius: 8px;
  background-color: #b02afd;
  font-family: "Roboto", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  padding: 30px;
  border: none;
  width: max-content;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  text-decoration: none;
  user-select: text;
}

.currency__btn::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 0;
  height: 0;
  background: radial-gradient(circle, #954253 0%, #cc0028 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.currency__btn:hover::before {
  width: var(--d, 0);
  height: var(--d, 0);
  opacity: 0.7;
}

.currency__btn:hover span {
  color: rgb(255, 255, 255);
}

.currency__btn span {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.currency__content {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.advantages {
  background: #fff;
  margin-top: 145px;
  clip-path: polygon(
    3% 0%,
    /* верхний левый */ 97% 0%,
    /* верхний правый */ 100% 3%,
    /* срез сверху-справа */ 100% 97%,
    /* срез снизу-справа */ 97% 100%,
    3% 100%,
    0% 97%,
    0% 3%
  );
  -webkit-clip-path: polygon(
    3% 0%,
    97% 0%,
    100% 3%,
    100% 97%,
    97% 100%,
    3% 100%,
    0% 97%,
    0% 3%
  );
}

.advantages__wrapper {
  padding: 125px 125px;
}

.advantages__title {
  font-family: "Roboto", sans-serif;
  font-size: 7.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 130px;
}

.advantages__title span {
  color: #514c5b;
}

.stat__num {
  font-family: "Roboto", sans-serif;
  font-size: 6.7rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
}

.stat__text {
  font-family: "Roboto", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: rgb(81, 76, 91);
  line-height: 1.2;
}

.advantages__stat_container {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 90px;
}

.stat__item {
  text-align: center;
}

.advantages__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 85px;
}

.options__icon {
  min-width: 100px;
}

.options__subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 33px;
  padding-top: 33px;
}

.options__text {
  font-family: "Roboto", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #696475;
  line-height: 1.2;
}

.options__item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.partners {
  background: #fff;
  margin-top: 45px;
  clip-path: polygon(
    3% -1%,
    96.5% -2%,
    100% 10.5%,
    100% 88.5%,
    96.5% 100%,
    3% 100%,
    0% 88.5%,
    0% 10.5%
  );
  -webkit-clip-path: polygon(
    3% -1%,
    96.5% -2%,
    100% 10.5%,
    100% 88.5%,
    96.5% 100%,
    3% 100%,
    0% 88.5%,
    0% 10.5%
  );
}

.partners__wrapper {
  padding: 50px 125px;
}

.partners__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 145px;
}

.partners__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 200px;
}

/* Footer */

.footer {
  width: 100%;
  background-color: rgb(17, 18, 28);
  opacity: 0.659;
  margin-top: 45px;
  padding: 0 100px;
}

.footer__wrapper {
  max-width: 1880px;
  margin: 0 auto;
  padding: 20px 0;
}

.footer__logo {
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer__logo_img {
  max-width: 190px;
}

.footer__logo_text {
  font-family: "Roboto", sans-serif;
  font-size: 5.5rem;
  font-weight: 500;
  color: #9ad33f;
  line-height: 1.2;
}

.form__btn {
  width: 355px;
  border: 2px solid #5d5665;
  border-radius: 8px;
  background-color: #86a53c00;
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff66;
  line-height: 1.2;
  text-align: center;
  padding: 30px;
  transition: 0.2s ease;
  display: block;
  text-decoration: none;
  user-select: text;
}

.form__btn:hover {
  background-color: #86a53c;
  color: #fff;
  border: 2px solid #86a53c;
}

.form__btn.active {
  background-color: #86a53c;
  color: #fff;
  border: 2px solid #86a53c;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer__form_container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logo__nav_container {
  display: flex;
  align-items: center;
  gap: 85px;
}

.nav__link_footer {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-family: "Roboto", sans-serif;
  transition: color 0.3s ease;
}

.nav__link_footer::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #d7ff42,
    #c5ed63,
    #d7ff42,
    transparent
  );
  box-shadow: 0 0 4px #c5ed63, 0 0 8px #c5ed63, 0 0 12px #a0ff00;
  border-radius: 100px;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav__link_footer:hover::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.nav__link_footer:hover {
  color: #c5ed63;
}

@media (max-width: 2000px) {
  .main__wrapper {
    max-width: 1700px;
  }

  .logo {
    max-width: 165px;
  }

  .logo__text {
    font-size: 5rem;
  }

  .currency__title {
    max-width: 755px;
    font-size: 6.5rem;
  }

  .advantages__wrapper {
    padding: 125px 100px;
  }

  .partners__wrapper {
    padding: 50px 90px;
  }

  .footer__logo_img {
    max-width: 165px;
  }

  .footer__logo_text {
    font-size: 5rem;
  }
}

@media (max-width: 1920px) {
  .logo {
    max-width: 150px;
  }

  .logo__text {
    font-size: 4.5rem;
  }

  .currency__title {
    max-width: 670px;
    font-size: 6rem;
  }

  .advantages__title {
    font-size: 6.8rem;
  }

  .stat__num {
    font-size: 6rem;
  }

  .logo__container {
    margin: 110px 0 110px;
  }

  .currency__content {
    gap: 70px;
  }

  .currency__btn {
    font-size: 2.3rem;
  }

  .footer__logo_img {
    max-width: 150px;
  }

  .footer__logo_text {
    font-size: 4.5rem;
  }
}

@media (max-width: 1850px) {
  .logo__nav_container {
    flex-direction: column;
  }
}

@media (max-width: 1600px) {
  .main__wrapper {
    max-width: 1340px;
  }

  .logo {
    max-width: 115px;
  }

  .logo__container {
    margin: 90px 0 80px;
  }

  .logo__text {
    font-size: 3.7rem;
  }

  .currency__title {
    max-width: 545px;
    font-size: 5.5rem;
  }

  .currency__content {
    gap: 50px;
  }

  .advantages__wrapper {
    padding: 70px 50px;
  }

  .advantages__title {
    font-size: 5rem;
  }

  .stat__num {
    font-size: 4.5rem;
  }

  .options__text {
    font-size: 1.5rem;
  }

  .footer__logo_img {
    max-width: 115px;
  }

  .footer__logo_text {
    font-size: 3.7rem;
  }

  .partners__wrapper {
    padding: 50px 50px;
  }
}

@media (max-width: 1500px) {
  .nav__wrapper {
    max-width: 1000px;
  }

  .header {
    height: 60px;
  }

  .logo__container {
    margin: 60px 0 60px;
  }

  .currency__title {
    font-size: 4.5rem;
  }

  .currency__text {
    font-size: 1.4rem;
  }

  .currency__btn {
    font-size: 1.9rem;
  }

  .currency__content {
    gap: 40px;
  }

  .advantages__title {
    font-size: 4.5rem;
  }

  .stat__text {
    font-size: 1.5rem;
  }

  .options__subtitle {
    font-size: 1.6rem;
  }

  .options__text {
    font-size: 1.4rem;
  }

  .partners__icon {
    max-width: 160px;
  }

  .partners__content {
    row-gap: 20px;
  }

  .form__btn {
    width: 300px;
    font-size: 1.3rem;
    padding: 15px;
  }

  .options__icon {
    min-width: 90px;
  }
}

@media (max-width: 1300px) {
  .main {
    padding: 0 60px;
  }

  .nav__wrapper {
    max-width: 850px;
  }

  .nav__list {
    width: 475px;
  }

  .logo {
    max-width: 90px;
  }

  .logo__text {
    font-size: 3rem;
  }

  .currency__title {
    max-width: 480px;
  }

  .currency__title {
    font-size: 3.7rem;
  }

  .currency__text {
    font-size: 1.3rem;
  }

  .currency__btn {
    font-size: 1.4rem;
  }

  .advantages__title {
    font-size: 3.7rem;
    margin-bottom: 65px;
  }

  .stat__num {
    font-size: 3.5rem;
  }

  .stat__text {
    font-size: 1.2rem;
  }

  .options__item {
    gap: 25px;
  }

  .options__subtitle {
    padding-top: 25px;
  }

  .options__text {
    font-size: 1.2rem;
  }

  .partners__icon {
    max-width: 125px;
  }

  .partners__content {
    column-gap: 120px;
  }

  .partners__wrapper {
    padding: 40px 40px;
  }

  .footer__logo_img {
    max-width: 90px;
  }

  .footer__logo_text {
    font-size: 3rem;
  }

  .options__icon {
    min-width: 80px;
  }
}

@media (max-width: 1070px) {
  .nav__list {
    width: 400px;
  }

  .nav__wrapper {
    max-width: 720px;
  }

  .main {
    padding: 0 40px;
  }

  .main__wrapper {
    max-width: 890px;
  }

  .logo {
    max-width: 75px;
  }

  .logo__text {
    font-size: 2rem;
  }

  .currency__title {
    max-width: 365px;
    font-size: 3rem;
  }

  .currency__text {
    max-width: 370px;
  }

  .currency__btn {
    font-size: 1.2rem;
    padding: 22px;
  }

  .logo__container {
    margin: 45px 0 45px;
  }

  .advantages__title {
    font-size: 3rem;
    margin-bottom: 45px;
  }

  .stat__num {
    font-size: 2.7rem;
  }

  .stat__text {
    font-size: 1rem;
  }

  .options__subtitle {
    font-size: 1.2rem;
  }

  .options__text {
    font-size: 1rem;
  }

  .advantages__options {
    gap: 55px;
  }

  .partners__icon {
    max-width: 95px;
  }

  .footer__logo_img {
    max-width: 75px;
  }

  .footer__logo_text {
    font-size: 2rem;
  }

  .form__btn {
    width: 200px;
    font-size: 1rem;
    padding: 9px;
  }
}

@media (max-width: 850px) {
  .advantages__title {
    font-size: 2.3rem;
  }

  .stat__num {
    font-size: 2rem;
  }

  .options__subtitle {
    font-size: 1rem;
    padding-top: 15px;
  }

  .options__text {
    font-size: 0.7rem;
  }

  .options__item {
    gap: 10px;
  }

  .partners__icon {
    max-width: 70px;
  }

  .partners__wrapper {
    padding: 30px 30px;
  }

  .options__icon {
    min-width: 60px;
  }
}

@media (max-width: 670px) {
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .logo {
    max-width: 55px;
  }

  .logo__text {
    font-size: 1.5rem;
  }

  .currency__title {
    max-width: 230px;
    font-size: 2rem;
  }

  .currency__text {
    max-width: 260px;
    font-size: 0.8rem;
  }

  .currency__btn {
    font-size: 1rem;
    padding: 13px;
  }

  .currency__content {
    gap: 15px;
  }

  .nav__link {
    font-size: 0.8rem;
  }

  .advantages__title {
    font-size: 2rem;
  }

  .stat__num {
    font-size: 1.5rem;
  }

  .footer__logo_img {
    max-width: 55px;
  }

  .footer__logo_text {
    font-size: 1.5rem;
  }

  .options__icon {
    min-width: 50px;
  }
}

@media (max-width: 550px) {
  .logo {
    max-width: 45px;
  }

  .logo__text {
    font-size: 1.2rem;
  }

  .currency__title {
    max-width: 200px;
    font-size: 1.5rem;
  }

  .currency__text {
    max-width: 200px;
    font-size: 0.8rem;
  }

  .currency__btn {
    font-size: 0.7rem;
  }

  .advantages {
    margin-top: 70px;
  }

  .advantages__title {
    font-size: 1.5rem;
  }

  .stat__text {
    font-size: 0.5rem;
  }

  .advantages__stat_container {
    margin-bottom: 65px;
  }

  .advantages__options {
    grid-template-columns: repeat(1, 1fr);
    gap: 35px;
  }

  .advantages__wrapper {
    padding: 50px 30px;
  }

  .partners__content {
    column-gap: 90px;
  }

  .partners__icon {
    max-width: 60px;
  }

  .partners__wrapper {
    padding: 30px 20px;
  }

  .footer__logo_img {
    max-width: 45px;
  }

  .footer__logo_text {
    font-size: 1.2rem;
  }
}

@media (max-width: 430px) {
  .logo {
    max-width: 38px;
  }

  .logo__text {
    font-size: 1rem;
  }

  .currency__title {
    max-width: 170px;
    font-size: 1.2rem;
  }

  .currency__text {
    max-width: 170px;
    font-size: 0.7rem;
  }

  .nav__link {
    font-size: 0.7rem;
  }

  .advantages__title {
    font-size: 1.2rem;
  }

  .footer__logo_img {
    max-width: 38px;
  }

  .footer__logo_text {
    font-size: 1rem;
  }

  .footer {
    padding: 0 50px;
  }
}
