.nav {
  display: none;
}

.header {
  position: fixed;
  z-index: 9;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  background: #2b00a0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
}

.nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 156%;
  text-transform: capitalize;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
  text-decoration: underline;
}

.header-logo {
  width: 68px;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin-left: auto;
}

.menu-svg {
  stroke-width: 3px;
  stroke: #002d68;
  fill: #002d68;
}

@media screen and (min-width: 1424px) {
  .header {
    padding: 40px;
    background-color: #fff;
    justify-content: center;
  }

  .nav {
    display: block;
  }

  .nav-link {
    color: #000;
  }

  .menu-open {
    display: none;
  }
}

/* modal  */

.modal {
  position: fixed;
  top: 60px;
  left: 0;
  z-index: 8;
  width: 100%;
  padding: 70px 10px;
  padding-left: 40px;
  background: #2b00a0;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 50%;
  width: 95%;
  padding: 40px 6px;
  background: #fff;
  box-shadow: 0 14px 42px 0 rgba(8, 15, 52, 0.06);

  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.4s ease;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #000;
}

.popup-btn {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #ea54d1;
  text-decoration: underline;
  border-radius: 12px;
  padding: 10px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.popup-btn:hover {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #2b00a0;
  color: #fff;
  text-decoration: none;
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media screen and (min-width: 1424px) {
  .popup {
    gap: 24px;
  }

  .popup-wrap {
    gap: 60px;
  }
}

/* hero  */

.hero {
  padding-top: 416px;
  position: relative;
  overflow: hidden;
}

.hero-logo {
  width: 630px;
  max-width: max-content;
  position: absolute;
  top: 95px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 24px;
  line-height: 117%;
  text-transform: capitalize;
  text-align: center;
  color: #000;
  opacity: 0.5;
  margin-bottom: 20px;
}

.hero-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  transition: transform 0.3s ease;
}

.hero-link:hover {
  transform: scale(1.04);
}

@media screen and (min-width: 1424px) {
  .hero {
    padding-top: 504px;
  }

  .hero-logo {
    width: auto;
  }

  .hero-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .hero-btn-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

/* about */

.about-sub-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 24px;
  line-height: 83%;
  text-align: center;
  color: #ff00d4;
  margin-bottom: 24px;
}

.about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #000;
}

@media screen and (min-width: 1424px) {
  .about-text {
    max-width: 710px;
    margin: 0 auto;
  }
}

/* how */

.how-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #000;
  margin-bottom: 60px;
}

.how-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  li {
    border-radius: 50px;
    width: 287px;
    max-width: 100%;
    min-height: 376px;
    padding: 34px;
    background: #2b00a0;
  }

  img {
    margin: 0 auto;
    margin-bottom: 26px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 24px;
    line-height: 108%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin-bottom: 22px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1424px) {
  .how-list {
    flex-direction: row;
    justify-content: center;
  }
}

/* features */

.features-text {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #2b00a0;
  margin-bottom: 40px;
}

.features-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  li {
    width: 351px;
    max-width: 100%;
    border-radius: 50px;
    padding: 20px;
    background: #ff00d4;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1424px) {
  .features-list {
    flex-direction: row;
    flex-wrap: wrap;
    width: 908px;
    margin: 0 auto;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

/* visuals */

#visuals {
  display: flex;
  flex-direction: column;
  gap: 52px;

  div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

.visuals-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  color: #000;
}

@media screen and (min-width: 1424px) {
  #visuals {
    flex-direction: row;
    gap: 150px;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* reviews */

#reviews {
  padding-left: 0;
  padding-right: 0;
}

.reviews-text {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #2b00a0;
  margin-bottom: 40px;
}

.reviews-item {
  border-radius: 50px;
  padding: 30px;
  width: 249px;
  max-width: 100%;
  min-height: 376px;
  background: #00a043;

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
  }
  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    color: #fff;
  }
}

.iframe-wrap {
  position: relative;
  width: 350px;
  max-width: 100%;
  height: 203px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 auto;
  margin-top: 60px;
}

.close-button-frame {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-40px) translateX(10px);
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  padding: 0;
  background-color: transparent;
  z-index: 20;
  .menu-svg {
    fill: #5820a4;
    stroke: #5820a4;
  }
}

.close-button-frame:hover {
  .menu-svg {
    fill: #ff3131;
    stroke: #ff3131;
  }
}

#gameIframe {
  width: 100%;
  height: 100%;
  border: none;
}

.demo-open {
  margin: 0;
}

@media screen and (min-width: 768px) {
  .iframe-wrap {
    width: 500px;
    height: 290px;
  }
}
@media screen and (min-width: 1200px) {
  .iframe-wrap {
    min-width: 700px;
    height: 407px;
  }
}

/* community */

.community-sub-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #2b00a0;
  margin-bottom: 32px;
}

.community-text {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 125%;
  text-transform: uppercase;
  text-align: center;
  color: #00a043;
  margin-bottom: 64px;
}

.community-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;

  li {
    width: 120px;
  }
}

@media screen and (min-width: 1424px) {
  .community-sub-title {
    max-width: 716px;
    margin: 0 auto;
    margin-bottom: 32px;
  }

  .community-text {
    max-width: 716px;
    margin: 0 auto;
    margin-bottom: 64px;
  }

  .community-list {
    flex-direction: row;
    gap: 92px;
    align-items: center;
    justify-content: center;
  }
}

/* disclaimer */

.disclaimer-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 40px;
  line-height: 50%;
  color: #ff00d4;
  text-align: center;
  margin-bottom: 32px;
}

.disclaimer-text {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 16px;
  line-height: 125%;
  text-decoration-skip-ink: none;
  text-align: justify;
  color: #000;
  text-transform: uppercase;
}

/* contact */

#contact {
  padding-bottom: 190px;
  position: relative;
  overflow: hidden;
}

.contact-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #000;
  margin-bottom: 56px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 30px;

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 16px;
    line-height: 125%;
    text-transform: uppercase;
    color: #00a043;
    margin-bottom: 14px;
  }

  a {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    color: #000;
  }

  a:hover {
    text-decoration: underline;
  }
}

.contact-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #000;
  margin-top: 56px;
}
.square {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: max-content;
}

@media screen and (min-width: 1424px) {
  .contact-list {
    width: 911px;
    margin: 0 auto;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 64px;

    li {
      width: calc((100% - 128px) / 3);
    }
  }

  .square {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    width: 100%;
  }
}

/* footer */

.footer {
  padding: 42px 10px;
  padding-top: 88px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 108%;
  text-transform: uppercase;
  text-align: center;
  color: #2b00a0;
}

.link:hover {
  text-decoration: underline;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 162%;
  text-transform: capitalize;
  text-align: center;
  color: #000;
  margin-top: 16px;
}

@media screen and (min-width: 1424px) {
  .footer-wrap {
    flex-direction: row;
    justify-content: center;
    gap: 187px;
    padding-bottom: 16px;
  }

  .footer-text {
    margin-top: 45px;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.click {
  transform: rotate(90deg);
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}
