* {
  box-sizing: border-box;
  outline: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: inherit;
}

a button {
  cursor: pointer;
}

body {
  background-color: #0b0b0b;
  background-image: url(../img/bg-1440.png);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

header {
  padding: 48px 85px 0;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-bar__logo {
  width: 177px;
  height: auto;
}

main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero {
  width: 100%;
  padding: 31px 85px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__label-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 617px;
  height: 111px;
  padding: 0 48px;
  margin-left: -156px;
  border-radius: 272.809px;
  border: 1.102px solid #ffe190;
  background: #67244e;
  box-shadow:
    0 2.756px 26.454px 0 rgba(255, 242, 215, 0.25),
    0 5.511px 32.792px 0 rgba(255, 251, 217, 0.25);
  backdrop-filter: blur(6.321px);
  -webkit-backdrop-filter: blur(6.321px);
}

.hero__label {
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-family: Teko, sans-serif;
  font-size: 95.885px;
  font-weight: 700;
  line-height: 59.447px;
  cursor: default;
  padding-top: 14px;
}

.hero__offer {
  position: relative;
  margin-top: 31px;
  margin-left: 0;
  min-height: 168px;
}

.hero__percent {
  font-family: Teko, sans-serif;
  font-weight: 700;
  font-size: 125.711px;
  line-height: 0.9;
  max-width: 574px;
}

.hero__percent-value {
  background: linear-gradient(
    154.64deg,
    #fecb3f 27.6%,
    #ffe7a4 48.55%,
    #fecb3f 75.08%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__percent-suffix {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.hero__amount {
  margin-top: 3px;
  color: #fff;
  font-family: Teko, sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  cursor: default;
}

.hero__fs {
  position: absolute;
  left: 216px;
  top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 246px;
  height: 74px;
  padding: 0 24px;
  padding-top: 6px;
  color: #fff;
  text-align: center;
  font-family: Teko, sans-serif;
  font-size: 52.43px;
  font-weight: 700;
  line-height: 54.682px;
  border-radius: 250.938px;
  border: 1.014px solid rgba(201, 255, 215, 0.1);
  background: rgba(129, 51, 232, 0.6);
  box-shadow:
    0 2.535px 24.333px 0 rgba(255, 242, 215, 0.25),
    0 5.069px 30.163px 0 rgba(255, 251, 217, 0.25);
  backdrop-filter: blur(5.814px);
  -webkit-backdrop-filter: blur(5.814px);
  transform: rotate(-2.61deg);
  cursor: default;
}

.hero__steps {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: -176px;
  padding: 26px 90px 26px 175px;
  width: min(670px, calc(100% + 85px));
  min-height: 70px;
  border-radius: 0 100px 100px 0;
  background: #67244e;
  list-style: none;
}

.hero__step {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.hero__step-num {
  color: #fecb3f;
  font-family: Teko, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 18px;
}

.hero__step-text {
  color: #fff;
  font-family: Teko, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 18px;
}

.btn {
  margin-top: 41px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.btn button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 328px;
  height: 60px;
  padding: 12px 45px;
  color: #121018;
  text-align: center;
  font-family: Onest, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 35.148px;
  text-transform: uppercase;
  border-radius: 10.893px;
  border: 1.683px solid #fecb3f;
  background-color: #fecb3f;
  cursor: pointer;
}

.btn:hover button {
  filter: brightness(1.08);
  transition: filter 0.3s ease;
}

.mobile-steps-toggle {
  display: none;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader img {
  width: 120px;
  height: auto;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

@media screen and (max-width: 735px) {
  body {
    background-image: url(../img/bg-mobile.png);
    background-position: center bottom;
    background-size: cover;
    min-height: 100vh;
  }

  header {
    padding: 30px 16px 0;
  }

  .nav-bar__logo {
    width: 78px;
  }

  .hero {
    padding: 20px 16px 24px;
  }

  .hero__label-wrap {
    min-width: 0;
    width: 100%;
    max-width: 256px;
    height: 60px;
    margin-left: -46px;
    padding: 0 20px;
    border-radius: 140px;
  }

  .hero__label {
    font-size: 49px;
    padding-top: 6px;
    line-height: 30.379px;
  }

  .hero__offer {
    margin-top: 20px;
    min-height: 100px;
  }

  .hero__percent {
    font-size: 52px;
    line-height: 1;
    max-width: 100%;
  }

  .hero__amount {
    font-size: 44px;
  }

  .hero__fs {
    position: relative;
    left: 124px;
    top: -67px;
    margin-top: 12px;
    min-width: 0;
    width: fit-content;
    height: 41px;
    padding: 0 16px;
    font-size: 25.348px;
    line-height: 30.379px;
    transform: rotate(-2.613deg);
  }

  .hero__steps {
    position: fixed;
    left: 50%;
    bottom: 118px;
    z-index: 80;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;

    width: min(86vw, 330px);
    min-height: auto;

    margin: 0;
    padding: 22px 24px;

    border-radius: 18px;
    background: rgba(103, 36, 78, 0.96);
    box-shadow:
      0 18px 42px rgba(0, 0, 0, 0.45),
      0 4px 28px rgba(255, 242, 215, 0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(-50%) translateY(18px);
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  .hero__steps.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .hero__step {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    white-space: normal;
  }

  .hero__step-num {
    flex: 0 0 auto;
    color: #fecb3f;
    font-family: Teko, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
  }

  .hero__step-text {
    display: block;
    color: #fff;
    font-family: Teko, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
  }

  .btn {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 90px;
    z-index: 85;
    width: auto;
    margin: 0;
    padding-top: 0;
  }

  .btn button {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 11px 16px;
    font-size: 20px;
  }

  .mobile-steps-toggle {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 22px;
    z-index: 90;

    display: block;
    width: 100%;
    padding: 0 16px;

    border: 0;
    background: transparent;
    color: #fff;

    font-family: Teko, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;

    cursor: pointer;
    user-select: none;
  }
}

@media screen and (max-width: 735px) and (max-height: 720px) {
  .hero__steps {
    bottom: 104px;
    padding: 18px 20px;
    gap: 10px;
  }

  .hero__step-num {
    font-size: 26px;
  }

  .hero__step-text {
    font-size: 16px;
  }

  .btn {
    bottom: 54px;
  }

  .btn button {
    height: 48px;
    font-size: 18px;
  }

  .mobile-steps-toggle {
    bottom: 16px;
    font-size: 24px;
  }
}

@media screen and (min-width: 1500px) {
  body {
    background-image: url(../img/bg-main.png);
  }
}