/* header */

.nav-msw {
  display: none;
}

.header-msw {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  width: 100%;
  padding: 16px 20px 0;
}

.header-container-msw {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  width: 100%;
  background-color: #fff;
  position: relative;
}

.nav-list-msw {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 0 163px;
}

.nav-item-msw {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.nav-link-msw {
  position: relative;
  padding: 8px 12px;
  height: 40px;
  font-weight: 500;
  line-height: 150%;
  color: #1e1e1e;
}

.nav-item-msw::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background-color: #1e1e1e;
  transition: width 0.3s ease-in-out;
}

.nav-item-msw:hover::after {
  width: 100%;
}

.nav-link-msw:active + .nav-item-msw,
.nav-item-msw:has(.nav-link-msw:active) {
  border: 2px solid #1e1e1e;
}

.menu-svg-msw {
  width: 24px;
  height: 16px;
}

.menu-btn-msw {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-favicon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

@media screen and (min-width: 1440px) {
  .header-msw {
    width: 100%;
    padding: 24px 72px 0;
  }

  .header-container-msw {
    margin: 0 auto;
    width: 1440px;
    padding: 16px 24px;
  }

  .nav-msw {
    display: block;
  }

  .menu-open-msw {
    display: none;
  }

  .header-favicon {
    width: 48px;
    height: 48px;
  }
}

/* modal  */

.modal-msw {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  border-radius: 30px 0 0 30px;
  padding: 116px 20px 36px;
  width: 264px;
  height: 528px;
  box-shadow: -6px 8px 4px 0 rgba(16, 0, 78, 0.25);
  background: #f3f3f3;
}

.modal-btn-msw {
  position: absolute;
  top: 36px;
  right: 20px;
  width: 40px;
  height: 40px;
}

.modal-btn-msw {
  position: absolute;
  top: 36px;
  right: 20px;
  width: 19px;
  height: 19px;
}

.menu-nav-list-msw {
  flex-direction: column;
  align-items: start;
  padding: 0;
  gap: 16px;
}

/* popup */

.popup-msw {
  position: fixed;
  z-index: 11;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 114px 20px 36px;
  background: #a425fe;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.popup-text-msw {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: #f3f3f3;
}

.popup-btn-wrap-msw {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  width: 100%;
  gap: 8px;
}

.popup-btn-msw {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 40px;
  font-size: 12px;
  line-height: 150%;
  text-align: center;
  text-transform: uppercase;
}

.popup-btn-accept-msw {
  background: #f3f3f3;
  color: #1e1e1e;
  transition: all 0.3s ease;
}

.popup-btn-decline-msw {
  border: 3px solid #f3f3f3;
  color: #f3f3f3;
  transition: all 0.3s ease;
}

.popup-btn-accept-msw:hover {
  border: 3px solid #f3f3f3;
  color: #f3f3f3;
  background: transparent;
}

.popup-btn-decline-msw:hover {
  background: #f3f3f3;
  color: #1e1e1e;
}

.popup-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 36px;
  right: 20px;
}

.popup-close-icon {
  width: 22px;
  height: 22px;
  fill: #f3f3f3;
}

@media screen and (min-width: 1440px) {
  .popup-msw {
    left: 50%;
    transform: translate(-50%);
    padding: 190px 72px 90px;
    gap: 64px;
    width: 902px;
  }

  .popup-text-msw {
    font-size: 36px;
  }

  .popup-btn-wrap-msw {
    justify-content: end;
    gap: 48px;
  }

  .popup-btn-msw {
    width: 227px;
    height: 62px;
    font-weight: 500;
    font-size: 20px;
  }

  .popup-btn-accept-msw {
    background: #f3f3f3;
    color: #1e1e1e;
    transition: all 0.3s ease;
  }

  .popup-btn-decline-msw {
    border: 3px solid #f3f3f3;
    color: #f3f3f3;
    transition: all 0.3s ease;
  }

  .popup-btn-accept-msw:hover {
    border: 3px solid #f3f3f3;
    color: #f3f3f3;
    background: transparent;
  }

  .popup-btn-decline-msw:hover {
    background: #f3f3f3;
    color: #1e1e1e;
  }

  .popup-close-btn {
    top: 90px;
    right: 72px;
  }
}

/* hero  */

#home {
  background: url(/images/hero-bg.png);
  background-position: center;
  background-size: cover;
}

.hero-container-msw {
  padding-bottom: 132px;
  padding-top: 132px;
}

.hero-wrap-msw {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;

  h2 {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 24px;
    line-height: 150%;
    text-align: center;
  }

  p {
    font-family: var(--second-family);
    font-weight: 700;
    line-height: 150%;
    text-align: center;
  }
}

.hero-logo-msw {
  width: 335px;
  height: 154px;
}

.hero-link-msw {
  width: 212px;
  height: 62px;
  display: flex;
  align-items: center;
  padding: 16px 28px;
  font-family: var(--font3);
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  text-align: center;
  background: #fff;
  color: #1e1e1e;
  transition: all 0.3s ease;
}

.hero-link-msw:hover {
  background: linear-gradient(90deg, #ffd920 0%, #4347ae 35%, #0c0e4d 80%);
  color: #fff;
}

.hero-link-msw:active {
  background: var(--yellow);
  color: black;
}

.img-googleplay-logo-msw {
  width: 24px;
  height: 27px;
  margin-right: 12px;
}

@media screen and (min-width: 1440px) {
  .hero-container-msw {
    padding-bottom: 220px;
    padding-top: 220px;
  }

  .hero-wrap-msw {
    h2 {
      font-size: 36px;
    }

    p {
      font-size: 20px;
      width: 994px;
    }
  }

  .hero-logo-msw {
    width: 420px;
    height: 193px;
  }
}

/* description */

.descr-container-msw {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.descr-pic-msw {
  width: 358px;
  height: 422px;
}

.descr-text-wrap-msw {
  display: flex;
  flex-direction: column;
}

.description-text-msw {
  font-weight: 500;
  line-height: 150%;
  text-align: center;
  margin-bottom: 16px;
}

.zero-margin-msw {
  margin-bottom: 0;
}

@media screen and (min-width: 1440px) {
  .descr-container-msw {
    flex-direction: row;
    gap: 106px;
  }

  .descr-title-msw {
    text-align: left;
  }

  .descr-pic-msw {
    width: 553px;
    height: 651px;
  }

  .description-text-msw {
    font-size: 20px;
    text-align: left;
  }
}

/* features */

.features-list-msw {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.features-item-msw {
  border-radius: 7px;
  padding: 16px 25px;
  background-color: #fff;
  width: 335px;
  height: 80px;
  position: relative;

  div {
    position: absolute;
    z-index: 2;
    width: 86px;
    height: 86px;
    bottom: -51px;
    background-size: cover;
  }

  p {
    font-weight: 500;
    line-height: 150%;
    text-align: center;
    color: #1e1e1e;
  }
}

.features-item-msw:nth-child(odd) {
  div {
    right: 249px;
    background: url(/images/arrow-up.png);
  }
}

.features-item-msw:nth-child(even) {
  div {
    right: 0;
    background: url(/images/arrow-down.png);
    transform: rotate(180deg);
  }
}

@media screen and (min-width: 1440px) {
  .features-list-msw {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 48px;
  }

  .features-item-msw {
    border-radius: 7px;
    padding: 16px 25px;
    width: 400px;
    height: 130px;

    p {
      font-size: 20px;
    }
  }

  .features-item-msw:nth-child(1),
  .features-item-msw:nth-child(4) {
    div {
      bottom: 22px;
      right: -55px;
      background: url(/images/arrow-up.png);
      transform: rotate(0deg);
    }
  }

  .features-item-msw:nth-child(2),
  .features-item-msw:nth-child(5) {
    div {
      bottom: 22px;
      right: -55px;
      background: url(/images/arrow-down.png);
      transform: rotate(0deg);
    }
  }

  .features-item-msw:nth-child(3) {
    div {
      bottom: -58px;
      right: 0;
      background: url(/images/arrow-down.png);
      transform: rotate(180deg);
    }
  }
}

/* why */

.why-container-msw {
  padding-bottom: 672px;
}

.why-pic-msw {
  position: absolute;
  bottom: -8px;
  left: 20px;
  width: 322px;
  height: 648px;
}

.why-list-msw {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item-msw {
  border-radius: 10px;
  width: 335px;
  height: 96px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;

  svg {
    width: 40px;
    height: 40px;
  }

  p {
    font-weight: 500;
    line-height: 150%;
    color: #1e1e1e;
  }
}

@media screen and (min-width: 1440px) {
  .why-container-msw {
    padding-bottom: 90px;
  }

  .why-title-msw {
    text-align: left;
  }

  .why-pic-msw {
    bottom: -177px;
    left: 840px;
    width: 379px;
    height: 765px;
  }

  .why-list-msw {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .why-item-msw {
    width: 638px;
    height: 96px;

    svg {
      width: 48px;
      height: 48px;
    }

    p {
      font-size: 20px;
    }
  }
}

/* how to play */

.polygon-top-how-msw {
  top: -188px;
}

.polygon-bottom-how-msw {
  bottom: -159px;
}

.how-list-msw {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.how-item-msw {
  border-radius: 10px;
  padding: 24px;
  width: 335px;
  height: 120px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 16px;

  span {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 36px;
    line-height: 150%;
    color: #ff823b;
  }

  p {
    font-weight: 500;
    line-height: 150%;
    color: #1e1e1e;
  }
}

@media screen and (min-width: 1440px) {
  .polygon-top-how-msw {
    top: -214px;
  }

  .polygon-bottom-how-msw {
    bottom: -281px;
  }

  .how-list-msw {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 55px 52px;
  }

  .how-item-msw {
    width: 397px;
    height: 129px;
    gap: 16px;

    span {
      font-size: 64px;
    }

    p {
      font-size: 20px;
    }
  }
}

/* gallery */

.gallery-swiper-msw {
  overflow: hidden;
}

.gallery-item-msw {
  border-radius: 5px;
  width: 89px;
  height: 158px;

  img {
    width: 100%;
    height: 100%;
  }
}

@media screen and (min-width: 1440px) {
  .gallery-item-msw {
    border-radius: 15px;
    width: 328px;
    height: 583px;
  }
}

/* call */

.call-title-msw {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 32px;
  line-height: 150%;
  display: flex;
  align-items: center;
  gap: 10px;

  img {
    width: 56px;
    height: 56px;
  }
}

.call-container-msw {
  display: flex;
  flex-direction: column;
  gap: 24px;

  h4 {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
  }

  div {
    display: flex;
    align-items: center;
    gap: 8px;

    p {
      font-family: var(--second-family);
      font-weight: 500;
      font-size: 14px;
      line-height: 150%;
    }

    .call-link-msw {
      width: 156px;
      height: 50px;
      font-size: 14px;
      gap: 8px;
      padding: 11px;
      flex-shrink: 0;
    }
  }
}

@media screen and (min-width: 1440px) {
  .call-title-msw {
    font-size: 64px;

    img {
      width: 96px;
      height: 96px;
    }
  }

  .call-container-msw {
    gap: 34px;
    justify-content: center;
    align-items: center;

    h4 {
      font-size: 36px;

      span {
        display: none;
      }
    }

    div {
      width: 808px;
      gap: 48px;

      p {
        font-size: 24px;
        text-align: center;
      }

      .call-link-msw {
        width: 212px;
        height: 62px;
        font-size: 18px;
        gap: 8px;
        padding: 16px 32px 16px 28px;
      }
    }
  }
}

/* footer */

.polygon-top-footer-msw {
  top: -135px;
  z-index: -1;
}

.footer-container-msw {
  width: 375px;
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-links-list-msw {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links-item-msw {
  padding: 8px 12px;
}

.footer-link-msw {
  font-weight: 500;
  line-height: 150%;
  text-align: center;
  color: #f3f3f3;
}

.footer-text-msw {
  font-weight: 500;
  line-height: 150%;
  text-align: center;
  color: #f3f3f3;
}

.slash-item-msw {
  display: none;
}

@media screen and (min-width: 1440px) {
  .polygon-top-footer-msw {
    top: -244px;
  }

  .footer-container-msw {
    width: 1440px;
    padding: 48px 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .footer-links-list-msw {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
  }

  .footer-link-msw {
    color: #fff;
  }

  .footer-text-msw {
    color: #fff;

    span {
      text-transform: capitalize;
    }
  }

  .slash-item-msw {
    display: block;
  }
}

/* ********************* */

.hidden-msw {
  display: none;
}

.click-msw {
  transform: rotate(180deg);
}
