* {
  box-sizing: border-box;
}

html,
body {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 150%;
  color: #FFFFFF;
  font-weight: 500;
  background: #370729;
}

.container {
  max-width: 1120px;
  padding: 0px 20px;
  margin: 0 auto;
}
.container--features {
  max-width: 800px;
}
.container--reviews {
  max-width: 960px;
  padding: 0px;
}
.container--faq {
  max-width: 768px;
}
.container--rule {
  max-width: 520px;
}

h1,
h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 40px;
  line-height: 150%;
  font-weight: 800;
  text-align: center;
  text-shadow: -2px -2px #370729, -2px 2px #370729, 2px -2px #370729, 2px 2px #370729;
  -webkit-text-stroke: 2px #370729;
  margin: 0px 0px 30px;
}

a {
  color: #FFFFFF;
  text-decoration: underline;
  transition: all 0.3s ease-in-out 0s;
}
a:hover {
  text-decoration: none;
}

P {
  margin: 0px 0px 15px;
}

ul, ol {
  margin: 0px;
  padding: 0px;
}

.ul--decor li {
  list-style-type: none;
  margin: 0px 0px 20px;
}
.ul--decor li:nth-child(2n) {
  text-align: center;
}
.ul--decor li:nth-child(3n) {
  text-align: right;
}

img {
  vertical-align: top;
  max-width: 100%;
}

.align--left {
  text-align: left;
}

.btn {
  display: inline-block;
  cursor: pointer;
  border: 0px;
}
.btn--primary {
  display: block;
  max-width: 270px;
  width: 100%;
}
.btn--primary:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 26px #FBBF24;
}

.show-mobile {
  display: none;
}

/*header*/
.header {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  background: #370729;
  z-index: 1000;
}
.header__wrap {
  padding: 25px 0px;
}

.nav__list {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.nav__item {
  list-style-type: none;
}
.nav__href {
  font-size: 18px;
  line-height: 150%;
  font-weight: 400;
  text-decoration: none;
}
.nav__href:hover {
  font-weight: 500;
}

/*main*/
.main {
  padding: 80px 0px 0px;
}

section {
  padding: 50px 0px;
}

.hero {
  padding: 0px 0px 50px;
}
.hero__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero__content {
  width: 44%;
}
.hero__img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54%;
  height: 100%;
  background: url(../files/img/bg_decor.png) no-repeat;
  background-size: 100% 100%;
}

.description {
  position: relative;
}
.description:before {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: -1;
  max-width: 647px;
  width: 50%;
  height: 100%;
  background: url(../files/img/web/web_description.png) no-repeat;
  background-size: contain;
  background-position: 100% 0%;
  content: "";
}
.description__wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.description__content {
  width: calc(100% - 387px);
}
.description__img {
  position: relative;
  z-index: -2;
  width: 367px;
  text-align: center;
}

.gallery {
  position: relative;
}
.gallery:before {
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: -1;
  max-width: 564px;
  width: 50%;
  height: 50%;
  background: url(../files/img/web/web_gallery.png) no-repeat;
  background-size: contain;
  background-position: 0% 100%;
  content: "";
}
.gallery__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.gallery__item {
  transition: all 0.3s ease-in-out 0s;
  transform: scale(0.85);
}
.gallery__item:hover {
  transform: scale(0.9);
  box-shadow: 0px 0px 20px #FBBF24;
}

.htp__list {
  display: flex;
  justify-content: space-between;
}
.htp__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 31%;
  padding: 65px 50px;
  background: url(../files/img/bg_play.png) no-repeat;
  background-size: 100% 100%;
  text-align: center;
  text-shadow: -1px -1px #370729, -1px 1px #370729, 1px -1px #370729, 1px 1px #370729;
}
.htp__num {
  font-family: "Open Sans", sans-serif;
  font-size: 40px;
  line-height: 150%;
  font-weight: 800;
  text-shadow: -2px -2px #370729, -2px 2px #370729, 2px -2px #370729, 2px 2px #370729;
  margin: 0px 0px 10px;
}
.htp__title {
  font-weight: 700;
  margin: 0px 0px 5px;
}

.features {
  position: relative;
}
.features:before {
  position: absolute;
  bottom: 0px;
  right: 0px;
  z-index: -1;
  max-width: 645px;
  width: 50%;
  height: 50%;
  background: url(../files/img/web/web_features.png) no-repeat;
  background-size: contain;
  background-position: 100% 100%;
  content: "";
}
.features__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}
.features__item {
  width: 30%;
  margin: 0px 1.5% 35px;
  text-align: center;
}
.features__img {
  width: 100%;
  height: 135px;
  margin: 0px 0px 20px;
}
.features__img img {
  object-fit: contain;
}

.reviews-slider__list {
  margin: 0px 0px 30px;
}
.reviews-slider__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 80px;
  height: 480px;
}
.reviews-slider__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 0px;
  height: 0px;
  background: url(../files/img/bg_reviews.png) no-repeat;
  background-size: 100%;
  text-align: center;
  text-shadow: -1px -1px #370729, -1px 1px #370729, 1px -1px #370729, 1px 1px #370729;
  overflow: hidden;
  transition: all 0.3s ease-in-out 0s;
}
.reviews-slider__text {
  font-size: 16px;
  margin: 0px 0px 5px;
}
.reviews-slider__name {
  font-size: 18px;
}
.reviews-slider__img {
  margin: -40px 0px 0px;
}
.reviews-slider__item--left {
  align-items: flex-end;
}
.reviews-slider__item--left .reviews-slider__content {
  background: url(../files/img/bg_reviews_left.png) no-repeat;
}
.reviews-slider__item--left .reviews-slider__img {
  text-align: right;
}
.reviews-slider__arrows {
  display: flex;
  justify-content: center;
}
.reviews-slider__arrow {
  display: block;
  width: 17px;
  height: 12px;
  margin: 0px 15px;
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
}
.reviews-slider__arrow.arrow-swiper-prev {
  background: url(../files/img/arrow_prev.png) no-repeat;
  background-size: 100%;
}
.reviews-slider__arrow.arrow-swiper-next {
  background: url(../files/img/arrow_next.png) no-repeat;
  background-size: 100%;
}
.reviews-slider__arrow:hover {
  transform: scale(1.2);
}

.swiper-slide-active {
  width: 338px;
}
.swiper-slide-active .reviews-slider__content {
  max-width: 330px;
  height: 301px;
  padding: 35px;
}

.faq {
  position: relative;
}
.faq:before {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: -1;
  max-width: 574px;
  width: 50%;
  height: 100%;
  background: url(../files/img/web/web_faq.png) no-repeat;
  background-size: contain;
  background-position: 0% 0%;
  content: "";
}
.faq__item {
  background: url(../files/img/bg_faq.png) no-repeat;
  background-size: 100% 100%;
  padding: 25px 30px;
  margin: 0px 0px 20px;
  color: #000000;
}
.faq__question {
  position: relative;
  display: block;
  width: 100%;
  padding: 0px 35px 0px 0px;
  font-weight: 600;
  cursor: pointer;
}
.faq__plus {
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
}
.faq__plus:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0px;
  width: 100%;
  height: 2px;
  background: #000000;
  content: "";
}
.faq__plus:after {
  position: absolute;
  top: 0px;
  left: calc(50% - 1px);
  width: 2px;
  height: 100%;
  background: #000000;
  transition: all 0.3s ease-in-out 0s;
  content: "";
}
.faq__answer {
  max-height: 0px;
  overflow: hidden;
  transition: all 0.3s ease-in-out 0s;
}
.faq__item--opened .faq__answer {
  margin: 15px 0px 0px;
}
.faq__item--opened .faq__plus:after {
  /*transform: rotate(90deg);*/
  height: 2px;
  top: calc(50% - 1px);
}

.rule .btn--primary {
  margin: 0 auto;
}

/*footer*/
.footer {
  background: #FFFFFF;
  padding: 25px 0px;
  color: #000000;
  line-height: 150%;
}
.footer__copyright {
  font-weight: 700;
  text-align: center;
}

.nav-policy {
  margin: 0px 0px 24px;
}
.nav-policy__list {
  display: flex;
  justify-content: center;
}
.nav-policy__item {
  list-style-type: none;
  margin: 0px 10px;
}
.nav-policy__href {
  color: #000000;
  font-weight: 400;
}

@media (max-width: 992px) {
  .hero__content {
    width: 49%;
  }
  .hero__img {
    width: 49%;
  }
  .gallery__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  html {
    min-width: 350px;
  }
  body {
    font-size: 16px;
  }
  h1, h2 {
    font-size: 24px;
    margin: 0px 0px 25px;
  }
  .show-mobile {
    display: block;
  }
  .show-desktop {
    display: none;
  }
  /*header*/
  .header {
    background: transparent;
  }
  .header--open {
    min-height: 100%;
    background: #370729;
  }
  .header__wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 15px 0px;
  }
  .nav {
    display: none;
  }
  .nav--open {
    display: block;
    width: 100%;
    padding: 50px 0px;
    background: url(../files/img/bg_decor.png) no-repeat;
    background-size: 100% 100%;
  }
  .nav__list {
    flex-direction: column;
    align-items: center;
  }
  .nav__item {
    margin: 0px 0px 20px;
  }
  .nav__href {
    font-size: 16px;
    font-weight: 500;
  }
  .nav__href:hover {
    font-size: 20px;
    font-weight: 600;
  }
  .btn-burger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    position: relative;
    cursor: pointer;
    z-index: 2;
    border: none;
    padding: 0px;
  }
  .btn-burger__line {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    background: #000000;
  }
  .btn-burger__line:before, .btn-burger__line:after {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000;
    content: "";
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0;
  }
  .btn-burger__line:before {
    top: -5px;
  }
  .btn-burger__line:after {
    bottom: -5px;
  }
  .btn-burger--active .btn-burger__line {
    background-color: rgba(0, 0, 0, 0);
  }
  .btn-burger--active .btn-burger__line:before {
    transform: translateY(5px) rotate(45deg);
  }
  .btn-burger--active .btn-burger__line:after {
    transform: translateY(-5px) rotate(-45deg);
  }
  /*main*/
  .main {
    padding: 0px;
  }
  .hero__wrap {
    flex-direction: column-reverse;
  }
  .hero__content {
    width: 100%;
  }
  .hero__img {
    width: 100%;
    padding: 80px 0px 0px;
  }
  .hero .btn--primary {
    margin: 0 auto;
  }
  .description__wrap {
    flex-direction: column;
  }
  .description__content {
    width: 100%;
  }
  .description__img {
    width: 100%;
  }
  .gallery__list {
    display: flex;
    gap: 0px;
  }
  .gallery__item.swiper-slide {
    transform: scale(0.8);
  }
  .gallery__item.swiper-slide-active {
    transform: scale(1);
  }
  .gallery__item:hover {
    transform: scale(1);
    box-shadow: none;
  }
  .htp__list {
    flex-direction: column;
    align-items: center;
  }
  .htp__item {
    max-width: 336px;
    width: 100%;
    margin: 0px 0px 30px;
  }
  .htp__item:last-child {
    margin: 0px;
  }
  .features__list {
    flex-direction: column;
  }
  .features__item {
    width: 100%;
    margin: 0px 0px 30px;
  }
  .features__item:last-child {
    margin: 0px;
  }
  .features__img {
    height: auto;
    margin: 0px 0px 10px;
  }
  /*footer*/
  .footer__copyright {
    font-size: 14px;
  }
  .nav-policy__list {
    flex-direction: column;
    align-items: center;
  }
  .nav-policy__item {
    margin: 0px 0px 10px;
  }
  .nav-policy__item:last-child {
    margin: 0px;
  }
}