.bonton-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  transform-origin: center center;
  will-change: transform;
}
.bonton-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  will-change: transform;
  z-index: 0;
}

.bonton-hero-bg:before,
.bonton-hero-bg:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  pointer-events: none;
}
/* first gradient */
.bonton-hero-bg:before {
  background: linear-gradient(
    90deg,
    rgba(1, 7, 13, 0.95) 0%,
    rgba(2, 20, 35, 0.9) 30%,
    rgba(5, 50, 90, 0.75) 60%,
    rgba(13, 94, 163, 0.6) 100%
  );
}

/* last gradient */
.bonton-hero-bg:after {
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(0, 18, 26, 0.7) 0%, rgba(0, 18, 26, 0) 98.17%),
    linear-gradient(
      0deg,
      rgba(237, 28, 36, 0.6) 0%,
      rgba(237, 28, 36, 0.6) 100%
    );
  transition: opacity 2s ease;
}

.bonton-hero-bg.finish-gradient:after {
  opacity: 0.8;
}

.bonton-hero-box {
  position: relative;
  z-index: 2;
}

.bonton-hero .bredcrump-wrapper {
  position: absolute;
  top: 134px;
  left: 50%;
  transform: translateX(-50%);
}
.bonton-hero__content {
  max-width: 826px;
  margin-left: auto;
  margin-right: auto;
  height: 100vh;
}
.h1__page__bonton {
  font-size: clamp(42px, 4.947916666666667vw, 95px);
  line-height: 1;
}
.bonton-hero__btn {
  font-size: clamp(16px, 0.9375vw, 18px);
  font-family: "DIN Pro Cond";
  background-color: transparent;
}
.bonton-hero__btn.outlined__button,
.bonton-hero__btn.outlined__button svg path {
  transition: 0.3s;
}
.bonton-hero__btn.outlined__button:hover {
  background-color: #fff;
  color: var(--main-red);
}

.bonton-hero__btn.outlined__button:hover svg path {
  fill: var(--main-red);
}

.bonton-game {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform: translateY(100%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding-top: 170px;
}
.bonton-game-top {
  max-width: 857px;
}

.bonton-item {
  width: calc(20% - 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  border: 2px dashed #ed1c24;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  transition: 1s;
  cursor: pointer;
}
.bonton-item-inner {
  position: relative;
  height: 212px;
  padding: 70px;
}

.bonton-item__icon,
.bonton-item__desc {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bonton-item__desc {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateY(118%);
  padding-left: 16px;
  padding-right: 16px;
}

.bonton-item__desc h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  text-transform: uppercase;
}

.bonton-item__desc p {
  font-family: "DIN Pro";
  font-size: 14px;
  line-height: 18px;
  margin-top: 20px;
  margin-bottom: 60px;
}
.bonton-item--active {
  background-color: #ed1c24;
}
.bonton-progress {
  border-radius: 100px;
  border: 1px solid rgba(248, 240, 218, 0.4);
  background: rgba(4, 2, 18, 0.2);
  padding: 6px 15px;
  gap: 12px;
  display: flex;
  align-items: center;
}
.bonton-bar {
  display: flex;
  gap: 5px;
}

.bonton-bar__item {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.bonton-bar__item.active {
  background: #ed1c24;
}
.bonton-finish-box {
  transform: translateY(80px);
  opacity: 0;
}
.finish__title {
  font-size: clamp(32px, 1.979166666666667vw, 38px);
  font-weight: 700;
  line-height: 42.083px;
  text-transform: uppercase;
}
.finish__desc {
  font-size: clamp(16px, 1.041666666666667vw, 20px);
  font-family: "DIN Pro";
  line-height: 28px; 
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width: 1920px) {
  .bonton-item-inner {
    height: 190px;
    padding: 55px;
  }
  .bonton-item__desc {
    transform: translateY(123%);
  }
}
@media only screen and (max-width: 1280px) {
  .bonton-item__desc {
    width: 100%;
    max-width: 210px;
    margin-left: auto;
    margin-right: auto;
  }
  .bonton-item__desc p {
    margin-top: 10px;
    margin-bottom: 0px;
  }
  .bonton-game {
    padding-top: 140px;
  }
}
@media only screen and (max-width: 1199px) {
  .bonton-game {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 15px;
  }
  .bonton-item {
    width: calc(33.33333% - 20px);
  }

  .bonton-hero .container {
    width: calc(100% - 15px);
    max-width: 100%;
    margin-right: 15px;
    margin-left: 15px;
  }

  .bonton-finish-box {
    position: absolute;
    z-index: -1;
  }
  .bonton-box {
    padding-bottom: 80px;
  }
}
@media only screen and (max-width: 767px) {
  .bonton-game-header {
    flex-direction: column;
    padding-bottom: 40px;
  }

  .bonton-item {
    width: calc(50% - 15px);
  }

  body.hero-started .site-header a {
    color: #2d2d2d;
    transition: 0.3s;
  }
  body.hero-started .site-header {
    background: white;
    transition: 0.3s;
  }
  body.hero-started .site-header .header-button__right {
    border-color: var(--main-red);
    transition: 0.3s;
  }
  body.hero-started .site-header .header-button__right svg path {
    fill: var(--main-red);
    transition: 0.3s;
  }
  body.hero-started .site-header .classic__button path {
    fill: var(--main-red);
    transition: 0.3;
  }

  body.hero-started .site-header svg path {
    fill: var(--main-red);
    transition: 0.3s;
  }
  body.hero-started .site-header .header-button__right:hover {
    background: var(--main-red);
    color: white;
  }
  body.hero-started .site-header .header-button__right:hover path {
    fill: white;
  }
}
@media only screen and (max-width: 576px) {
  .bonton-box.gap-30 {
    gap: 15px;
  }
  .bonton-item {
    width: calc(50% - 7.5px);
  }
}

@media only screen and (max-width: 400px) {
  .bonton-item__desc {
    max-width: 185px;
  }
  .bonton-item__desc h3 {
    font-size: 20px;
  }
  .bonton-item__desc {
    top: -12px;
  }
  .bonton-item {
    border-radius: 13px;
  }
  .bonton-item span {
    position: relative;
    bottom: -17px;
  }
  .bonton-item__desc p {
    margin-top: 4px;
  }
}
