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

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

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

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

.header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  padding: 48px clamp(16px, 4.7vw, 84px) 0;
}

.header__logo {
  width: 204px;
  max-width: 52vw;
  height: auto;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 900px;
  margin: 0;
  padding: 29px clamp(16px, 4.7vw, 84px) 48px;
}

.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  width: 100%;
}

.hero__freebet-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90px;
  padding: 8px 140px 8px 4px;
  overflow: visible;
}

.hero__freebet-ribbon {
  position: absolute;
  left: -162px;
  top: 50%;
  width: min(520px, calc(100% + 96px));
  height: 106px;
  transform: translateY(-50%);
  border: 1px solid #ffdb0d;
  border-radius: 966px;
  background: linear-gradient(90deg, #fb0 0%, #fcc901 100%);
  box-shadow: 0 2px 7px rgba(255, 216, 108, 0.25);
}

.hero__freebet-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
}

.hero__freebet {
  position: relative;
  color: #65271c;
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 700;
  line-height: 0.7;
  text-transform: capitalize;
}

.hero__freebet-decor {
  position: absolute;
  left: calc(100% - 81px);
  top: 53%;
  width: 209.187px;
  height: 135.832px;
  transform: translateY(-60%);

  mix-blend-mode: screen;
  filter: drop-shadow(0 0 6px rgba(255, 140, 0, 0.95))
    drop-shadow(0 0 18px rgba(255, 80, 0, 0.75))
    drop-shadow(0 0 36px rgba(230, 42, 2, 0.45));
  animation: freebet-decor-neon 2.4s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
  will-change: filter;
}

@keyframes freebet-decor-neon {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 140, 0, 0.95))
      drop-shadow(0 0 18px rgba(255, 80, 0, 0.75))
      drop-shadow(0 0 36px rgba(230, 42, 2, 0.45));
  }

  50% {
    filter: drop-shadow(0 0 12px rgba(255, 200, 0, 1))
      drop-shadow(0 0 28px rgba(255, 120, 0, 0.95))
      drop-shadow(0 0 48px rgba(255, 69, 0, 0.75))
      drop-shadow(0 0 68px rgba(230, 42, 2, 0.5));
  }
}

.hero__offer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
  width: 100%;
  max-width: 640px;
}

.hero__amount-line {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__upto {
  color: #fff;
  font-size: clamp(36px, 4.7vw, 84px);
  font-weight: 700;
  line-height: 0.9;
}

.hero__amount {
  color: #fffd0a;
  font-size: clamp(44px, 5.6vw, 100px);
  font-weight: 700;
  line-height: 0.9;
  white-space: nowrap;
}

.hero__fs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 74px;
  padding: 8px 20px;
  border: 1.6px solid #fee20a;
  border-radius: 48px;
  background: rgba(45, 37, 96, 0.221);
  box-shadow:
    0 30px 36px rgba(8, 9, 79, 0.13),
    0 13px 15px rgba(8, 9, 79, 0.09);
  backdrop-filter: blur(4.5px);
  -webkit-backdrop-filter: blur(4.5px);
  transform: rotate(-2.6deg) translate(-157px, -71px);
}

.hero__fs-text {
  color: #fff;
  font-size: clamp(28px, 2.9vw, 51px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.hero__widget-slot {
  display: none;
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 46px;
  width: 100%;
}

.hero__steps {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform: translate(-28%, 0px);

  flex-wrap: wrap;
  gap: 20px 40px;
  width: min(844px, 100%);
  min-height: 70px;
  padding: 28px 35px;
  border: 1.6px solid #fee20a;
  border-radius: 48.328px;
  border: 1.611px solid #fee20a;
  background: rgba(45, 37, 96, 0.221);
  box-shadow:
    0 30.247px 36.116px 0 rgba(8, 9, 79, 0.13),
    0 12.637px 15.088px 0 rgba(8, 9, 79, 0.09),
    0 6.756px 8.067px 0 rgba(8, 9, 79, 0.08),
    0 3.787px 4.522px 0 rgba(8, 9, 79, 0.06),
    0 2.011px 2.402px 0 rgba(8, 9, 79, 0.05),
    0 0.837px 0.999px 0 rgba(8, 9, 79, 0.04);
  backdrop-filter: blur(4.514519214630127px);

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

.hero__step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
}

.hero__step-num {
  flex-shrink: 0;
  color: #fffd0a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.hero__step-text {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
}

.hero__howto {
  display: none;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 328px;
  min-width: 0;
  height: 60px;
  padding: 8px 20px;
  border-radius: 10px;
  background: linear-gradient(175deg, #fcea06 13%, #ffad12 82%);
  color: #070707;
  font-size: 24px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  transition:
    filter 0.3s ease,
    transform 0.2s ease;
}

.hero__cta:hover {
  filter: brightness(1.08);

  transition: 0.9s;
}

#preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e1c1e;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader img {
  width: 204px;
  max-width: 52vw;
  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;
  }
}
@media screen and (min-width: 1592px) {
  .hero__fs-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 74px;
    padding: 8px 20px;
    border: 1.6px solid #fee20a;
    border-radius: 48px;
    background: rgba(45, 37, 96, 0.221);
    box-shadow:
      0 30px 36px rgba(8, 9, 79, 0.13),
      0 13px 15px rgba(8, 9, 79, 0.09);
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(4.5px);
    transform: rotate(-2.6deg) translate(159%, -206%);
  }
}

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

@media screen and (max-width: 735px) {
  html {
    height: 100%;
    overflow: hidden;
  }

  body {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    padding-bottom: 0;
    background-image: none;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background-color: #1e1c1e;
    background-image: url(../img/bg-mobile.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .header {
    justify-content: start;
    flex-shrink: 0;
    padding: 24px 0px 0;
  }

  .header__logo {
    width: 145px;
  }

  .hero {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 0;
    align-items: center;
    max-width: none;
    padding: 0 12px;
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    gap: 0;
    overflow: hidden;
    padding-top: 20px;
  }

  .hero__headline {
    flex-shrink: 0;
    align-items: start;
    gap: 40px;
    width: min(336px, 100%);
    padding-top: 12px;
  }

  .hero__freebet-wrap {
    min-height: 52px;
    justify-content: flex-start;
    width: 100%;
    padding: 6px 0;
  }

  .hero__freebet-ribbon {
    left: 12%;
    width: min(300px, calc(100vw - 48px));
    height: 64px;
    transform: translate(-50%, -50%);
  }

  .hero__freebet {
    font-size: 42px;
    text-align: center;
  }

  .hero__freebet-decor {
    left: calc(100% - 53px);
    top: 81%;
    width: 132.187px;
    height: 102.832px;
    mix-blend-mode: none;
    filter: none;
    animation: none;
  }

  .hero__offer {
    justify-content: center;
    max-width: 288px;
    gap: 8px;
  }

  .hero__amount-line {
    justify-content: center;
    gap: 5px;
  }

  .hero__upto {
    font-size: 18px;
    line-height: 1;
  }

  .hero__amount {
    font-size: 36px;
    line-height: 1;
  }

  .hero__fs-badge {
    min-width: 0;
    min-height: 0;
    padding: 6px 14px;
    transform: rotate(-2.6deg) translate(-58px, -36px);
  }

  .hero__fs-text {
    font-size: 22px;
  }

  .hero__widget-slot {
    display: block;
    flex: 1 1 auto;
    width: min(312px, calc(100% - 24px));
    min-height: 0;
    margin: 12px auto 0;
  }

  .hero__bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: none;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(
      180deg,
      rgba(56, 4, 4, 0) 0%,
      rgba(56, 4, 4, 0.92) 35%,
      #380404 100%
    );
  }

  .hero__steps {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 253px;
    min-height: 0;
    padding: 20px 19px;
    border-radius: 24px;
  }

  .hero__steps.is-open {
    display: flex;
    -webkit-overflow-scrolling: touch;
  }

  .hero__step {
    gap: 8px;
  }
  .hero__steps {
    transform: translate(0%, 0px);
  }

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

  .hero__step-text {
    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
  }

  .hero__cta {
    max-width: none;
    width: 100%;
    height: 52px;
    font-size: 18px;
  }

  .hero__howto {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    opacity: 1;
    text-shadow:
      0 0 12px rgba(30, 28, 30, 0.9),
      0 2px 4px rgba(0, 0, 0, 0.5);
  }

  .hero__howto[aria-expanded="true"] {
    color: #fffd0a;
    text-shadow:
      0 0 14px rgba(255, 253, 10, 0.45),
      0 2px 4px rgba(0, 0, 0, 0.5);
  }
}

@media screen and (min-width: 736px) {
  .hero {
    gap: 46px;
  }

  .hero__headline {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 1441px) {
  body {
    background-color: #1a0a04;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__freebet-decor {
    animation: none;
  }
}
