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

:root {
  --page-side: 90px;

  --dark: #170f3d;
  --purple: #28145f;
  --purple-soft: rgba(57, 34, 119, 0.88);
  --cyan: #25d8e8;
  --cyan-dark: #14b5cd;
  --green: #00ff95;
  --white: #ffffff;
  --black: #061013;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

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

button {
  font: inherit;
}

a button {
  cursor: pointer;
}

.site-header {
  position: relative;
  z-index: 5;
  padding: 54px var(--page-side) 0;
}

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

.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-bar__logo {
  display: block;
  width: 168px;
  max-width: 100%;
  height: auto;
}

.page-main {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: calc(100vh - 96px);
  padding: 42px var(--page-side) 80px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

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

/* FREEBET cyan banner */
.hero__label-wrap {
  position: relative;
  z-index: 2;

  height: 76px;

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

  margin-left: calc(var(--page-side) * -1);
  margin-bottom: 22px;

  padding-left: calc(var(--page-side) + 72px);
  padding-right: 38px;

  background: linear-gradient(90deg, var(--cyan) 0%, #2ee7f2 100%);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);

  box-shadow:
    0 0 28px rgba(37, 216, 232, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero__label {
  color: var(--purple);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 58px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero__offer {
  position: relative;
  z-index: 2;
  margin-left: 72px;
  margin-bottom: 16px;
}

.hero__percent {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 76px;
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -2px;
}

.hero__percent-value {
  color: var(--green);
  text-shadow: 0 0 22px rgba(0, 255, 149, 0.22);
}

.hero__amount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 0;

  font-family: "Montserrat", Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -1px;
}

.hero__amount-prefix {
  color: var(--white);
  font-size: 36px;
}

.hero__amount-value {
  color: var(--green);
  font-size: 56px;
  text-shadow: 0 0 22px rgba(0, 255, 149, 0.2);
}

.hero__fs {
  display: none;
}

.hero__steps {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 34px;

  width: fit-content;
  min-height: 50px;

  margin-top: 10px;
  margin-left: calc(var(--page-side) * -1);

  padding: 13px 32px 13px calc(var(--page-side) + 72px);

  border-radius: 0;
  background: rgba(70, 35, 156, 0.84);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

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

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

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

.btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  margin-top: 24px;
  margin-left: 72px;
}

.btn button {
  display: flex;
    align-items: center;
    justify-content: center;
    min-width: 330px;
    height: 60px;
    padding: 12px 34px;
    color: var(--purple);
    text-align: center;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 17px;
    /* font-style: italic; */
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    background: linear-gradient(90deg, var(--green) 0%, #00f2d0 100%);
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
    cursor: pointer;
    box-shadow: 0 0 26px rgba(0, 255, 149, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover button {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 0 34px rgba(0, 255, 149, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

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

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

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

  background: #09051f;
  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.08);
    opacity: 1;
  }

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

/* Tablet */
@media screen and (max-width: 1180px) {
  :root {
    --page-side: 48px;
  }

  .site-header {
    padding-top: 38px;
  }

  .nav-bar__logo {
    width: 150px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero__content {
    max-width: 580px;
  }

  .hero__label-wrap {
    width: 390px;
    height: 68px;
    padding-left: calc(var(--page-side) + 58px);
  }

  .hero__label {
    font-size: 50px;
  }

  .hero__offer {
    margin-left: 58px;
  }

  .hero__percent {
    font-size: 64px;
  }

  .hero__amount-prefix {
    font-size: 30px;
  }

  .hero__amount-value {
    font-size: 48px;
  }

  .hero__steps {
    gap: 24px;
    padding-left: calc(var(--page-side) + 58px);
  }

  .btn {
    margin-left: 58px;
  }

  .btn button {
    min-width: 300px;
    height: 56px;
    font-size: 15px;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  :root {
    --page-side: 16px;
  }

  body {
    background-image: url("../img/bg-mobile.png");
    background-position: center center;
    background-size: cover;
  }

  .site-header {
    padding: 34px 24px 0;
  }

  .nav-bar__logo {
    width: 126px;
  }

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

  .hero__content {
    max-width: 100%;
  }

  .hero__label-wrap {
    width: 310px;
    height: 58px;

    margin-left: -16px;
    margin-bottom: 16px;

    padding-left: 52px;
    padding-right: 20px;
  }

  .hero__label {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .hero__offer {
    margin-left: 28px;
    margin-bottom: 14px;
  }

  .hero__percent {
    font-size: 46px;
  }

  .hero__amount {
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero__amount-prefix {
    font-size: 23px;
  }

  .hero__amount-value {
    font-size: 36px;
  }

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

    flex-direction: column;
    align-items: flex-start;
    gap: 14px;

    width: calc(100vw - 32px);
    min-height: auto;

    margin-left: 0;
    padding: 20px 18px;

    border-radius: 18px;
    background: rgba(70, 35, 156, 0.96);

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

    transform: translateX(-50%) translateY(20px);
    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 {
    white-space: normal;
  }

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

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

  .btn {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 56px;
    z-index: 85;

    width: auto;
    margin: 0;
    display: block;
  }

  .btn button {
    margin: 0 auto;
        min-width: 0;
        height: 54px;
        font-size: 14px;
  }

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

    display: block;
    padding: 0;
    border: none;
    background: transparent;

    color: var(--white);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;

    cursor: pointer;
  }
}

