/* Basics */

*,
*::before,
*::after {
  --stb-transition-time: 200ms;

  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

html {
  font-size: 16px;
  font-family: "Cinzel", serif;
  color: #fff;
  background-color: rgb(14 14 17);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  line-height: 1.5;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

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

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

blockquote,
q {
  quotes: none;
}
blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

:root {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Container */

.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1296px;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 48px;
    max-width: 1376px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-inline: 16px;
    max-width: 1362px;
  }
}

/* Buttons */

.button {
  --stb-button-loading-dimension: 20px;

  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  justify-items: center;
  align-items: center;
  justify-content: center;
  grid-column-gap: 8px;
  font-family: var(--stb-font-accent);
  text-align: center;
  font-weight: 900;
  line-height: var(--stb-button-line-height);
  text-transform: var(--stb-text-transform-style);
  text-shadow: 0 0.8px 1px #000;
  cursor: pointer;
  z-index: 0;
  padding: var(--stb-button-top-padding, 0)
    var(--stb-button-horizontal-padding, 0) var(--stb-button-bottom-padding, 0);
  font-size: var(--stb-button-font-size, 0);
  min-height: var(--stb-button-min-height, 35px);
  transition:
    background var(--stb-transition-time),
    box-shadow var(--stb-transition-time),
    opacity var(--stb-transition-time),
    color var(--stb-transition-time);
}

.button::before,
.button::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition:
    opacity var(--stb-transition-time),
    color var(--stb-transition-time);
}

.button::before {
  opacity: var(--stb-button-hover-opacity);
}

.button::after {
  opacity: var(--stb-button-active-opacity);
}

.button--primary {
  --stb-btn-text-color: rgb(31, 34, 46);
  --stb-button-active-opacity: 0;
  --stb-button-hover-opacity: 0;

  position: relative;
  color: rgb(255, 255, 255);
  background:
    url(./assets/images/buttons/default/primary/button-left-primary.png),
    url(./assets/images/buttons/default/primary/button-middle-primary.png),
    url(./assets/images/buttons/default/primary/button-right-primary.png);
  background-repeat: no-repeat;
  background-size:
    36.4px 100%,
    calc(100% - 72px) 100%,
    36.4px 100%;
  background-position:
    left center,
    center,
    right center;
  transition:
    background var(--stb-transition-time),
    opacity var(--stb-transition-time),
    color var(--stb-transition-time);
}

.button--primary::before {
  background:
    url(./assets/images/buttons/hover/primary/button-left-primary.png),
    url(./assets/images/buttons/hover/primary/button-middle-primary.png),
    url(./assets/images/buttons/hover/primary/button-right-primary.png);
  background-repeat: no-repeat;
  background-size:
    36.4px 100%,
    calc(100% - 72px) 100%,
    36.4px 100%;
  background-position:
    left center,
    center,
    right center;
  z-index: -1;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: var(--stb-button-hover-opacity);
}

.button--primary::after {
  background:
    url(./assets/images/buttons/active/primary/button-left-primary.png),
    url(./assets/images/buttons/active/primary/button-middle-primary.png),
    url(./assets/images/buttons/active/primary/button-right-primary.png);
  background-repeat: no-repeat;
  background-size:
    36.4px 100%,
    calc(100% - 72px) 100%,
    36.4px 100%;
  background-position:
    left center,
    center,
    right center;
  z-index: -1;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: var(--stb-button-active-opacity);
}

@media screen and (min-width: 1280px) {
  .button--primary,
  .button--primary::before,
  .button--primary::after {
    background-size:
      52px 100%,
      calc(100% - 102px) 100%,
      52px 100%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .button--primary:hover {
    --stb-button-hover-opacity: 1;
  }
}

.button--primary:active {
  --stb-button-active-opacity: 1;
}

.button--tertiary {
  --stb-button-active-opacity: 0;
  --stb-button-hover-opacity: 0;
  background:
    url(./assets/images/buttons/default/tertiary/button-left-tertiary.png),
    url(./assets/images/buttons/default/tertiary/button-middle-tertiary.png),
    url(./assets/images/buttons/default/tertiary/button-right-tertiary.png);
}

.button--tertiary::before {
  background:
    url(./assets/images/buttons/hover/tertiary/button-left-tertiary.png),
    url(./assets/images/buttons/hover/tertiary/button-middle-tertiary.png),
    url(./assets/images/buttons/hover/tertiary/button-right-tertiary.png);
  z-index: -1;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: var(--stb-button-hover-opacity);
}

.button--tertiary::after {
  background:
    url(./assets/images/buttons/active/tertiary/button-left-tertiary.png),
    url(./assets/images/buttons/active/tertiary/button-middle-tertiary.png),
    url(./assets/images/buttons/active/tertiary/button-right-tertiary.png);
  z-index: -1;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: var(--stb-button-active-opacity);
}

.button--tertiary,
.button--tertiary::before,
.button--tertiary::after {
  background-repeat: no-repeat;
  background-size:
    31px 100%,
    calc(100% - 60px) 100%,
    31px 100%;
  background-position:
    left center,
    center,
    right center;
}

@media (hover: hover) and (pointer: fine) {
  .button--tertiary:hover {
    --stb-button-hover-opacity: 1;
  }
}

.button--tertiary:active {
  --stb-button-active-opacity: 1;
}

.button--l {
  --stb-button-line-height: 1.12;
  --stb-button-loading-dimension: 24px;
  --stb-button-box-shadow-default: 0 2px 0 0;
  --stb-button-box-shadow-active: 0 8px 0 0;
  --stb-button-top-padding: 27px;
  --stb-button-bottom-padding: 25px;
  --stb-button-horizontal-padding: 40px;
  --stb-button-font-size: 40px;
  --stb-button-border-radius: 24px;
  --stb-button-border-width: 2px;
  --stb-button-min-height: 78px;
}

.button--m {
  --stb-button-line-height: 1;
  --stb-button-top-padding: 4px;
  --stb-button-horizontal-padding: 26px;
  --stb-button-font-size: 20px;
  --stb-button-min-height: 56px;
}

.button--s {
  --stb-button-line-height: 1;
  --stb-button-top-padding: 14px;
  --stb-button-bottom-padding: 13px;
  --stb-button-horizontal-padding: 24px;
  --stb-button-font-size: 16px;
  --stb-button-min-height: 48px;
}

/* Focus styles */
.button:focus-visible,
a:focus-visible,
.terms__button:focus-visible {
  outline: 3px solid #65deff;
  outline-offset: 2px;
}

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgb(21, 20, 24);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    border-radius 0.3s ease;
}

.header::after {
  width: 100%;
  height: 1px;
  position: fixed;
  content: "";
  left: 0;
  top: 44px;
  background: linear-gradient(
    90deg,
    rgb(117 97 74 / 0) 0%,
    rgb(117 97 74 / 1) 50%,
    rgb(117 97 74 / 0.1) 100%
  );
}

@media (min-width: 1280px) {
  .header {
    position: absolute;
    background: transparent;
    border-bottom: none;
  }

  .header::after {
    content: none;
    opacity: 0;
  }
}

.header__inner {
  display: flex;
  justify-content: center;
  padding: 8px 16px;
}

@media (min-width: 1280px) {
  .header__inner {
    justify-content: start;
    padding: 45px 65px 44px;
  }
}

@media (min-width: 1920px) {
  .header__inner {
    padding-top: 100px;
  }
}

@media (min-width: 2556px) {
  .header__inner {
    padding-top: 125px;
  }
}

.header__logo-wrap {
  display: flex;
  min-height: 28px;
  justify-content: center;
  align-items: center;
  width: max(618px, 0%);
}

@media (min-width: 1280px) {
  .header__logo-wrap {
    justify-content: start;
  }
}

.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-block: -2px;
}

.header__logo img {
  width: 76px;
  height: 28px;
}

@media (min-width: 1280px) {
  .header__logo img {
    width: 100px;
    height: 36px;
  }
}

.header .button__label {
  display: none;
}

.header .button__icon {
  display: inline-flex;
}

@media (min-width: 768px) {
  .header .button__label {
    display: inline;
  }

  .header .button__icon {
    display: none;
  }
}

/* Hero section */

.main {
  padding-top: 44px;
}

@media (min-width: 1280px) {
  .main {
    padding-top: 0;
  }
}

.hero__wrapper {
  position: relative;
}

.hero {
  padding-block: max(180px, 42%) 1px;
  background-image:
    linear-gradient(
      180deg,
      rgb(13 12 12 / 0) 0%,
      rgba(13 12 12 / 0.8) 85%,
      #0d0c0c 100%
    ),
    image-set(url("./assets/images/main-banner/main_banner_mobile.jpg") 1x);
  background-position:
    bottom center,
    top center;
  background-repeat: no-repeat;
  background-size:
    100% 246px,
    cover;
  position: relative;
}

@media (min-width: 768px) {
  .hero {
    padding-top: max(334px, 43.5%);
    background-size:
      100% max(224px, 38%),
      cover;
  }
}

@media (min-width: 1280px) {
  .hero {
    background-image:
      linear-gradient(270deg, rgba(13 12 12 / 0) 0%, #0d0c0c 100%),
      linear-gradient(90deg, rgba(13 12 12 / 0) 0%, #0d0c0c 100%),
      linear-gradient(180deg, rgba(13 12 12 / 0) 0%, #0d0c0c 100%),
      image-set(url("./assets/images/main-banner/main_banner_desktop.jpg") 1x);
    background-size:
      200px 100%,
      200px 100%,
      100% max(120px, 0%),
      auto 550px;
    background-position:
      left center,
      right center,
      bottom center,
      top center;
    padding-block: 144px 110px;
  }
}

@media (min-width: 1920px) {
  .hero {
    background-image:
      linear-gradient(270deg, rgba(13 12 12 / 0) 0%, #0d0c0c 100%),
      linear-gradient(90deg, rgba(13 12 12 / 0) 0%, #0d0c0c 100%),
      linear-gradient(180deg, rgba(13 12 12 / 0) 0%, #0d0c0c 100%),
      image-set(url("./assets/images/main-banner/main_banner_desktop.jpg") 1x);
    background-size:
      200px 100%,
      200px 100%,
      100% max(120px, 0%),
      auto 590px;
    background-position:
      left center,
      right center,
      bottom center,
      top center;
    padding-block: 186px 140px;
  }
}

@media (min-width: 2560px) {
  .hero {
    padding-block: 216px 170px;
    background-size:
      200px 100%,
      200px 100%,
      100% max(120px, 0%),
      auto 650px;
    background-position:
      left center,
      right center,
      bottom center,
      top center;
  }
}

@media (min-width: 1280px) {
  .hero__content {
    padding-inline: 64px;
  }
}

.hero__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

@media (min-width: 1280px) {
  .hero__inner {
    max-width: 450px;
    align-items: start;
  }
}

.hero__greeting {
  font-family: "Jost", sans-serif;
  min-width: min-content;
  display: inline-block;
  padding: 4px 8px 4px 0;
  border-radius: 10px;
  color: #e9be67;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

@media (min-width: 1280px) {
  .hero__greeting {
    margin-bottom: 12px;
  }
}

.hero__heading {
  text-align: center;
  color: rgb(239, 234, 227);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.33;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

@media (min-width: 1280px) {
  .hero__heading {
    font-size: 48px;
    line-height: 1.25;
    text-align: start;
    margin-bottom: 24px;
  }
}

.hero__get-bonus {
  min-width: 220px;
  text-transform: uppercase;
  margin: 24px 0px;
}

@media (min-width: 1280px) {
  .hero__get-bonus {
    margin: 0;
    min-width: 300px;
    --stb-button-font-size: 28px;
    --stb-button-min-height: 80px;
  }
}

@media (min-width: 768px) {
  .hero__get-bonus {
    --stb-button-border-image-slice: 14 fill;
  }
}

/* Steps section */

.steps {
  padding-block: 32px;
  isolation: isolate;
  background: rgb(9 9 11);
}

@media (min-width: 1280px) {
  .steps {
    padding-block-start: 18px;
    padding-block-end: 40px;
  }
}

.steps__heading {
  margin-bottom: 24px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.28;
  color: rgb(239 234 227);
  text-transform: uppercase;
}

@media (min-width: 1280px) {
  .steps__heading {
    font-size: 32px;
    line-height: 1.25;
  }
}

.steps__content {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .steps__content {
    grid-auto-columns: min(100%, 420px);
    justify-content: center;
  }
}

@media (min-width: 1280px) {
  .steps__content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps__item {
  position: relative;
  min-height: 92px;
  background-image: url(./assets/images/steps/steps-bg-mobile.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: top left;
}

@media screen and (min-width: 1280px) {
  .steps__item {
    background-image: url(./assets/images/steps/steps-bg-desktop.png);
  }
}

.steps__item-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.steps__item img {
  width: 60px;
  height: 60px;
}

.steps__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.steps__text span {
  color: rgb(233 190 103);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
}

.steps__text p {
  color: rgb(239 234 227);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  font-family: "Jost", sans-serif;
}

/* Footer */

.footer {
  position: relative;
  background-color: rgb(14 14 17);
}

@media screen and (min-width: 768px) {
  .footer::before {
    position: absolute;
    content: "";
    top: -7px;
    left: 0;
    width: 100%;
    height: 18px;
    background:
      url(./assets/images/footer/divider/divide-left-1.png),
      url(./assets/images/footer/divider/divide-left-2.png),
      url(./assets/images/footer/divider/divide-center.png),
      url(./assets/images/footer/divider/divide-right-2.png),
      url(./assets/images/footer/divider/divide-right-1.png);

    background-repeat: no-repeat;
    background-size:
      112px 100%,
      calc((100% - 370px) / 2) 100%,
      146px 100%,
      calc((100% - 370px) / 2) 100%,
      112px 100%;
    background-position:
      left 0px,
      112px 0px,
      center center,
      calc(258px + (100% - 370px)) 0px,
      right 0px;
  }
}

.footer__content {
  display: flex;
  padding-block: 32px;
  flex-direction: column;
  align-items: center;
}

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.footer__actions .button {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0.6px 1px #000;
}

.footer__actions svg {
  filter: drop-shadow(0 0.6px 1px #000);
}

.footer__info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.footer__text {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: -0.01em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgb(161 161 155);
  letter-spacing: -0.01em;
  font-family: "Jost", sans-serif;
}
