.nav {
  display: none;
}

.header {
  position: fixed;
  z-index: 9;
  width: 100%;
  background: #0d588f;
  padding: 12px 20px;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-link {
  display: block;
  border: 1px solid #11c4ff;
  border-radius: 12px;
  padding: 9px 26px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
  color: #fff;
  background: #0095ff;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid #11c4ff;
  border-radius: 24px;
  padding: 9px 14px;
}

.menu-svg {
  stroke: #fffbd7;
  fill: #fffbd7;
}

@media screen and (min-width: 1427px) {
  .header {
    padding: 20px;
    background-position: bottom left -100px;
  }

  .nav {
    display: block;
  }

  .menu-open {
    display: none;
  }
}

/* modal  */

.modal {
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 8;
  width: 100%;
  padding: 40px 32px;
  background: #0d588f;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
}

/* popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 10px;
  left: 50%;
  width: 95%;
  transform: translateX(-50%);
  padding: 30px 20px;
  box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.18);
  background: #0e0000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.4s ease;
}

.popup-text {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
}

.popup-btn {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
  color: #0095ff;
  border: 2px solid #0095ff;
  border-radius: 6px;
  padding: 12px 36px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.popup-btn:hover {
  color: #10182f;
  background: #0095ff;
}

.popup-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

@media screen and (min-width: 1427px) {
  .popup {
    display: flex;
    padding: 22px 42px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .popup-text {
    max-width: 65%;
  }
  .popup-wrap {
    width: auto;
    gap: 20px;
  }
}

/* home  */

.hero {
  background-color: #000d35;
  /* background-image: url(./images/hero-bg.png); */
  background-position: bottom center;
  background-image: linear-gradient(
      to right,
      rgba(0, 13, 53, 0.7),
      rgba(0, 13, 53, 0.8)
    ),
    url(./images/hero-bg.png);

  background-size: cover;
  padding-top: 100px;
  padding-bottom: 564px;
  position: relative;
  overflow: hidden;
}

.hero-logo {
  width: 335px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 24px;
  line-height: 133%;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 18px;
  line-height: 156%;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.hero-link {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 332px;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.hero-link:hover {
  transform: scale(1.03);
}

.cock1 {
  width: 264px;
  position: absolute;
  bottom: 11px;
  left: 50%;
  transform: translateX(-95%);
}
.cock2 {
  width: 364px;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-40px);
}

@media screen and (min-width: 1427px) {
  .hero {
    padding-top: 154px;
    padding-bottom: 186px;
  }

  .hero-logo {
    width: auto;
    margin-bottom: 23px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 24px;
  }

  .hero-text {
    font-size: 18px;
    max-width: 606px;
    margin: 0 auto;
    margin-bottom: 36px;
  }

  .cock1 {
    width: auto;
    bottom: -43pxpx;
    left: 50%;
    transform: translateX(-700px);
  }
  .cock2 {
    width: auto;
    left: 50%;
    transform: translateX(300px);
  }
}

/* about */

.about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
}

.about-img {
  width: 335px;
  margin: 0 auto;
  margin-top: 32px;
}

@media screen and (min-width: 1427px) {
  .about-wrap {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 68px;

    .section-title,
    .section-sub-title {
      text-align: start;
    }
  }

  .about-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .about-text {
    font-size: 20px;
  }
}

/* features */

#features {
  background-image: url(./images/frame.png);
  background-position: center;
  background-size: cover;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 20px;
    line-height: 140%;
    color: #fff;
    margin-bottom: 24px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 18px;
    line-height: 156%;
    color: #fff;
  }

  img {
    width: 70px;
  }
}

.features-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 28px;
  line-height: 114%;
  text-align: center;
  color: #fff;
  margin-top: 28px;
}

@media screen and (min-width: 1427px) {
  .features-list {
    flex-direction: row;
    flex-wrap: wrap;
    width: 1140px;
    margin: 0 auto;
    gap: 48px 80px;

    li {
      width: calc((100% - 80px) / 2);
      transform: translateX(-43px);

      img {
        width: auto;
      }

      p {
        font-size: 24px;
        margin-bottom: 32px;
      }

      span {
        font-size: 20px;
      }
    }

    .item2 {
      transform: translateX(86px);
    }
  }

  .features-text {
    font-size: 36px;
    margin-top: 48px;
  }
}

/* designed */

.designed-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;

  span {
    font-weight: 800;
  }
}

.designed-img {
  width: 335px;
  margin: 0 auto;
  margin-top: 22px;
}

@media screen and (min-width: 1427px) {
  #designed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 68px;
    padding-right: 0;

    .section-title,
    .section-sub-title {
      text-align: start;
    }
  }

  .designed-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .designed-text {
    font-size: 20px;
  }
}

/* demo */

.demo-img {
  width: 335px;
  margin: 0 auto;
  margin-top: 32px;
}

.demo-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
  margin-bottom: 40px;
}

.iframe-wrap {
  position: relative;
  width: 335px;
  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;
}

@media screen and (min-width: 768px) {
  .iframe-wrap {
    width: 500px;
    height: 290px;
  }
}

@media screen and (min-width: 1200px) {
  .iframe-wrap {
    min-width: 837px;
    height: 490px;
  }
}

.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: #fff;
    stroke: #fff;
  }
}

.close-button-frame:hover {
  .menu-svg {
    fill: #ff5e21;
    stroke: #ff5e21;
  }
}

#gameIframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media screen and (min-width: 1382px) {
  #demo {
    padding-left: 0;

    .section-title,
    .section-sub-title {
      text-align: start;
    }
  }
  .demo-weapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 92px;
  }

  .demo-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .demo-open {
    margin: 0;
    flex-shrink: 0;
  }

  .demo-text {
    font-size: 24px;
  }
}

/* tips */

.tips-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 133%;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;

  li {
    width: 326px;
    max-width: 100%;
    position: relative;
    padding: 32px 20px;
  }

  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
  }
}

@media screen and (min-width: 1382px) {
  .tips-text {
    font-size: 36px;
  }

  .tips-list {
    width: 1098px;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;

    li {
      width: calc((100% - 120px) / 3);
    }

    p {
      font-size: 20px;
    }
  }
}

/* play */

.play-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
}

.play-list {
  padding-left: 20px;
  list-style: disc;
  color: #fff;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
}

.play-img {
  width: 335px;
  margin: 0 auto;
  margin-top: 28px;
}

@media screen and (min-width: 1382px) {
  .play-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 208x;

    .section-title,
    .section-sub-title {
      text-align: start;
    }
  }

  .play-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .play-text,
  .play-list {
    font-size: 20px;
  }
}

/* global */

#global {
  background: linear-gradient(360deg, #011046 0%, #0227ac 100%);
  position: relative;
  overflow: hidden;
}

.global-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  text-align: center;
  color: #fff;
}

.cock3 {
  position: absolute;
  width: 378px;
  top: 0;
  left: 50%;
  transform: translateX(-85%);
}

.cock4 {
  position: absolute;
  width: 248px;
  bottom: 0;
  left: 50%;
  transform: translateX(50px);
}

@media screen and (min-width: 1382px) {
  #global {
    padding-top: 149px;
    padding-bottom: 133px;
  }
  .global-text {
    font-size: 20px;
    max-width: 640px;
    margin: 0 auto;
  }

  .cock3 {
    width: auto;
    top: 28px;
    left: 50%;
    transform: translateX(-700px);
  }

  .cock4 {
    width: auto;
    bottom: auto;
    top: 39px;
    left: 50%;
    transform: translateX(300px);
  }
}

/* disclaimer */

#disclaimer {
  div {
    position: relative;
    padding: 40px 20px;
  }

  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.disclaimer-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 20px;
  line-height: 140%;
  color: #0043fb;
}

.disclaimer-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  color: #fff;
}

@media screen and (min-width: 1410px) {
  #disclaimer {
    div {
      padding: 80px;
    }
  }

  .disclaimer-title {
    font-size: 28px;
  }

  .disclaimer-text {
    font-size: 20px;
  }
}

/* footer */

.footer {
  padding: 40px 20px;
  background: #000;
}

.footer-logo {
  display: block;
  width: 145px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  color: #fff;
  text-align: center;
  margin-top: 24px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
}

.link:hover {
  text-decoration: underline;
}

@media screen and (min-width: 1427px) {
  .footer {
    padding: 36px 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-logo {
    margin: 0;
  }

  .footer-link {
    font-size: 16px;
  }

  .footer-text {
    font-size: 14px;
    margin: 0;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}
