.nav {
  display: none;
}

.header {
  position: fixed;
  z-index: 9;
  width: 100%;
  padding: 16px 20px;
  background: #fff;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  border-radius: 360px;
  padding: 8px 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
  color: #fff;
  background: #2a12b2;
}

.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: 1427px) {
  .header {
    padding: 20px;
  }

  .nav {
    display: block;
  }

  .nav-link {
    color: #002d68;
  }

  .menu-open {
    display: none;
  }
}

/* modal  */

.modal {
  position: fixed;
  top: 76px;
  left: 0;
  z-index: 8;
  width: 100%;
  padding: 24px;
  padding-bottom: 60px;
  background: linear-gradient(90deg, #6725d7 0%, #361371 100%);
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 50%;
  width: 95%;
  border: 1px solid #0e044c;
  padding: 37px 15px;
  border-radius: 20px;

  box-shadow: 0 14px 42px 0 rgba(8, 15, 52, 0.06);
  background: #fff;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transition: transform 0.4s ease;
}

.popup-text {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 187%;
  color: #0e044c;
}

.popup-btn {
  padding: 7px 15px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 112%;
  color: #0e044c;
  border: 1px solid #0e044c;
  border-radius: 56px;
  padding: 18px 26px;
  box-shadow: 0 4px 8px 0 rgba(74, 58, 255, 0.08);
  background: #fff;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.popup-btn:hover {
  background: #0e044c;
  color: #fff;
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media screen and (min-width: 1427px) {
  .popup {
    padding: 52px;
    padding-left: 138px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .popup-text {
    font-size: 18px;
    max-width: 700px;
  }

  .popup-btn {
    font-size: 18px;
  }
}

/* hero  */

.hero {
  background-image: url(./images/bg.jpg);
  background-size: cover;
  background-position: center;
  padding-top: 100px;
  padding-bottom: 0;
}

.hero-logo {
  width: 180px;
  margin: 0 auto;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 26px;
  line-height: 131%;
  text-transform: uppercase;
  text-align: center;
  color: #fef444;
  margin-bottom: 13px;
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 12px;
}

.hero-link {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 233px;
  transition: transform 0.3s ease;
}

.hero-link:hover {
  transform: scale(1.04);
}

.hero-budda {
  width: 335px;
  margin: 0 auto;
  /* transform: translateX(50px); */
}

@media screen and (min-width: 1427px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;

    div {
      max-width: 60%;
    }
  }

  .hero-logo {
    width: 308px;
  }
  .hero-title {
    font-size: 38px;
  }

  .hero-text {
    font-size: 18px;
    margin-bottom: 48px;
  }

  .hero-budda {
    width: auto;
    position: absolute;
    bottom: 0;
    left: 45%;
  }
}

/* path */

#path {
  background-image: url(./images/path.png);
  background-position: bottom right;
  padding-bottom: 318px;
  background-repeat: no-repeat;
}

.path-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #001437;
  margin-bottom: 22px;
}

@media screen and (min-width: 1427px) {
  #path {
    padding-bottom: 60px;
  }

  .path-text {
    max-width: 783px;
  }
}

/* features */

#features {
  background-image: url(./images/violet.jpg);
  background-size: cover;
  background-position: center;
}

.features-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
  margin-bottom: 38px;
}

.features-sub-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.features-item {
  border-radius: 32px;
  padding: 18px;
  box-shadow: 0 0 22px 0 #e500ff;
  background: linear-gradient(180deg, #180e55 0%, #8007bc 100%);

  img {
    margin: 0 auto;
    margin-bottom: 10px;
  }

  h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin-bottom: 6px;
  }
  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 162%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1427px) {
  #features {
    padding-bottom: 117px;
  }

  .features-text {
    text-align: center;
  }

  .features-list {
    flex-direction: row;
    gap: 26px;
  }

  .features-item {
    width: calc((100% - 78px) / 4);
  }
}

/* about */

.about-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 144%;
  color: #001437;
  margin-bottom: 20px;
}

/* demo */

#demo {
  background-image: url(./images/demo-bg.jpg);
  background-size: cover;
  background-position: center;
}

.demo-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
  margin-bottom: 32px;
}

.demo-img {
  width: 335px;
  margin: 0 auto;
}

.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;
  }
}

@media screen and (min-width: 1427px) {
  #demo {
    padding-bottom: 40px;
  }

  .demo-wrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 26px;
  }

  .demo-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* spin */

#spin {
  background-image: url(./images/spin.jpg);
  background-size: cover;
}

.spin-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 144%;
  text-align: center;
  color: #fff;
  margin-bottom: 22px;
}

.spin-wrap {
  border-radius: 55px;
  padding: 18px;
  box-shadow: 0 0 22px 0 #fff;
  background: #e7cdff;
}

.spin-wrap-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  color: #001437;
}

.spin-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 12px 0;

  li {
    border-radius: 32px;
    padding: 18px 36px;
    box-shadow: 0 0 22px 0 #e500ff;
    background: linear-gradient(180deg, #180e55 0%, #8007bc 100%);
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 162%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1427px) {
  .spin-wrap {
    padding: 18px 90px;
  }

  .spin-list {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 20px 0;

    li {
      width: calc((100% - 20px) / 2);
    }
  }
}

/* format */

.format-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
  margin-bottom: 16px;
}

.format-sub-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.format-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
  list-style: disc;
  padding-left: 20px;
}

.format-img {
  width: 335px;
  margin: 0 auto;
}

@media screen and (min-width: 1427px) {
  #format {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 0;
  }

  .format-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* alone */

#alone {
  background-repeat: no-repeat;
  background-image: url(./images/alone.png);
  background-position: bottom -200px right -220px;
  padding-bottom: 228px;
}

.alone-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 144%;
  color: #001437;
}

@media screen and (min-width: 1427px) {
  #alone {
    padding-bottom: 68px;
    padding-right: 260px;
  }
}

/* disclaimer */

#disclaimer {
  background: linear-gradient(180deg, #2109b1 0%, #0e044b 100%);
}

.disclaimer-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}

.disclaimer-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  color: #fff;
}

@media screen and (min-width: 1427px) {
  .disclaimer-title {
    font-size: 32px;
  }
  .disclaimer-text {
    font-size: 22px;
  }
}

/* footer */

.footer {
  padding: 49px 10px;
  background: url(./images/violet.jpg);
  background-size: cover;
  background-position: center;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  text-transform: capitalize;
  color: #001437;
}

.link:hover {
  text-decoration: underline;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #001437;
  text-align: center;
  margin-bottom: 32px;
}

@media screen and (min-width: 1427px) {
  .footer {
    padding: 42px;
  }
  .footer-wrap {
    flex-direction: row;
  }
  .footer-link {
    font-size: 18px;
  }
  .footer-text {
    font-size: 16px;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.click {
  transform: rotate(90deg);
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}
