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

:root {
  --green: #0afe87;
  --purple: #2b1676;
  --purple-dark: #191046;
  --yellow: #ffd016;
  --white: #ffffff;
  --dark: #08061f;
}

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background-color: var(--purple-dark);
  background-image: url("../img/bg-1440.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
}

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

ol {
  margin: 0;
  padding: 0;
}

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

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

a:hover {
  color: inherit;
}

button {
  font: inherit;
}

a button {
  cursor: pointer;
}

.site-header {
  position: relative;
  z-index: 5;
  padding: 48px 85px 0px 125px;
}

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

.logo-box {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.nav-bar__logo {
  display: block;
  width: 132px;
  height: auto;
}

.page-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero {
  width: 100%;
  min-height: calc(100vh - 90px);
  padding: 88px 85px 64px;
  display: flex;
  align-items: flex-start;
}

.hero__content {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__label-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 80px;
  margin-left: -125px;
  padding: 0 70px 0 166px;
  border: 2px solid var(--green);
  border-left: 0;
  border-radius: 0 100px 100px 0;
  background: #C4FFF21A;
  box-shadow: 6.29px 3.15px 31.47px 0px #14F7CA57;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero__label {
  color: var(--white);
  text-transform: uppercase;
  text-align: left;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  cursor: default;
}

.hero__offer {
  position: relative;
  margin-top: 10px;
  min-height: 184px;
  padding-left: 35px;
}

.hero__percent {
  display: flex;
  align-items: baseline;
  gap: 14px;
  max-width: 780px;

  font-family: "Poppins", Arial, sans-serif;
  font-weight: 800;
  line-height: 1;
}

.hero__percent-suffix {
  color: var(--white);
  font-size: 64px;
  font-weight: 800;
}

.hero__percent-value {
  color: var(--green);
  font-size: 100px;
  font-weight: 800;
  text-shadow: 0 0 22px rgba(10, 254, 135, 0.25);
}

.hero__amount {
  display: none;
}

.hero__fs {
  position: absolute;
  left: 300px;
  top: -24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  height: 64px;
  padding: 0 28px;
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  border: 2px solid var(--green);
  border-radius: 50px;
  background: #C4FFF21A;
  box-shadow: 6.29px 3.15px 31.47px 0px #14F7CA57;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.69px solid;
  transform: rotate(-5deg);
}

.hero__maxbet {
  margin-top: 5px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 800;
  line-height: 1;
}

.hero__maxbet-title {
  color: var(--green);
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__maxbet-text {
  color: var(--white);
  font-size: 48px;
  font-weight: 800;
}

.hero__maxbet-value {
  color: var(--green);
  font-size: 48px;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(10, 254, 135, 0.22);
}

.hero__steps {
  display: flex;
  align-items: center;
  gap: 50px;
  min-height: 70px;
  margin-top: 26px;
  margin-left: -125px;
  padding: 18px 60px 18px 166px;

  border-radius: 0 100px 100px 0;

  background:
  radial-gradient(
    120% 260% at 12% 50%,
    rgba(10, 254, 135, 0.28) 0%,
    rgba(10, 254, 135, 0.12) 22%,
    rgba(10, 254, 135, 0) 58%
  ),
  linear-gradient(
    90deg,
    #4c95dd 0%,
    #3d6fcc 24%,
    #2b1676 64%,
    #241160 100%
  );

  box-shadow:
  0 12px 36px rgba(0, 0, 0, 0.28),
  inset 0 1px 0 rgba(255, 255, 255, 0.08);

  list-style: none;
}

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

.hero__step-num {
  color: var(--green);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.hero__step-text {
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  margin-top: 58px;
  margin-left: 40px;
  cursor: pointer;
}

.btn button {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 347px;
  height: 60px;
  padding: 12px 42px;

  color: #090a0b;
  text-align: center;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;

  border-radius: 8px;
  border: 1px solid var(--yellow);
  background: var(--yellow);
  cursor: pointer;
  text-transform: none;

  box-shadow:
  0 14px 30px rgba(255, 208, 22, 0.18),
  inset 0 1px 0 rgba(255, 255, 255, 0.25);

  transition:
  transform 0.25s ease,
  filter 0.25s ease,
  box-shadow 0.25s ease;
}

.btn:hover button {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow:
  0 18px 38px rgba(255, 208, 22, 0.26),
  inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

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

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  background: var(--dark);
  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: 1200px) {
  .site-header {
    position: relative;
    z-index: 5;
    padding: 48px 85px 0px 80px;
}
  .hero__label-wrap {
    padding-left: 120px;
  }

  .hero__offer {
    padding-left: 0px;
  }

  .hero__percent-suffix,
  .hero__percent-value {
    font-size: 62px;
  }

  .hero__fs {
    left: 300px;
    top: -16px;
    min-width: 168px;
    height: 54px;
    font-size: 28px;
  }

  .hero__maxbet-title,
  .hero__maxbet-text,
  .hero__maxbet-value {
    font-size: 40px;
  }

  .hero__steps {
    padding-left: 120px;
    gap: 34px;
  }

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

  .btn {
    margin-left: 40px;
  }
}

@media screen and (max-width: 1024px) {

  .site-header {
    padding: 36px 48px 0;
  }

  .hero {
    padding: 70px 48px 64px;
  }

  .hero__label-wrap {
    height: 66px;
    margin-left: -48px;
    padding-left: 50px;
  }

  .hero__offer {
    padding-left: 0;
  }

  .hero__percent-suffix,
  .hero__percent-value {
    font-size: 54px;
  }

  .hero__fs {
    left: 150px;
    top: -17px;
    height: 48px;
  }

  .hero__maxbet-title,
  .hero__maxbet-text,
  .hero__maxbet-value {
    font-size: 34px;
  }

  .hero__steps {
    margin-left: -48px;
    padding-left: 60px;
    gap: 24px;
  }

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

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

  .btn {
    margin-left: 0;
  }
}

@media screen and (max-width: 735px) {
  .btn button {
    text-transform: uppercase;
    font-size: 20px;
  }
  .hero__label {
        font-size: 50px;
    }
  body {
    min-height: 100vh;
    background-image: url("../img/bg-mobile.png");
    background-position: center bottom;
    background-size: cover;
  }

  .site-header {
    padding: 28px 16px 0;
  }

  .nav-bar__logo {
    width: 102px;
  }

  .hero {
    min-height: calc(100vh - 64px);
    padding: 58px 16px 150px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__label-wrap {
    margin-left: -16px;
    padding-left: 20px;
    padding-right: 18px;
    border-radius: 0 100px 100px 0;
  }


  .hero__offer {
    margin-top: 20px;
    min-height: 122px;
    padding-left: 0;
  }

  .hero__percent {
    gap: 8px;
  }

  .hero__percent-suffix,
  .hero__percent-value {
    letter-spacing: -1px;
  }

  .hero__fs {
    left: 140px;
    top: -18px;
    height: 36px;
    padding: 0 13px;
  }

  .hero__maxbet {
    margin-top: 12px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .hero__maxbet-title,
  .hero__maxbet-text,
  .hero__maxbet-value {
    font-size: 24px;
  }

  .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:
    linear-gradient(0deg, var(--purple), var(--purple)),
    radial-gradient(
      129.93% 404.04% at -9.3% 159.98%,
      rgba(10, 254, 135, 0.3) 24.52%,
      rgba(193, 0, 141, 0) 86.25%
    );

    box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.45),
    0 4px 28px rgba(10, 254, 135, 0.16);

    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: var(--green);
    font-size: 28px;
    line-height: 1;
  }

  .hero__step-text {
    display: block;
    color: var(--white);
    font-size: 16px;
    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 {
   max-width: 100%;
   min-width: 0;
   height: 52px;
   margin: 0 auto;
 }

 .mobile-steps-toggle {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 90;
  display: block;
  width: 100%;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  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 {
    padding-top: 40px;
    padding-bottom: 120px;
  }

  .hero__steps {
    bottom: 104px;
    padding: 18px 20px;
    gap: 10px;
  }

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

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

  .btn {
    bottom: 54px;
  }

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

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

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

  .site-header {
    padding-left: 150px;
  }

  .hero {
    padding-left: 110px;
  }
}
