.nav {
  display: none;
}

.header {
  position: fixed;
  z-index: 9;
  width: 100%;
  padding: 16px;
  backdrop-filter: blur(12px);
  background: rgba(255, 2, 0, 0.5);
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 66px;
}

.nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover {
  color: #ffa800;
  text-shadow: 0 0 10px #ff0200;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu-svg {
  stroke: white;
  fill: white;
}

@media screen and (min-width: 1432px) {
  .header {
    padding: 22px;
  }

  .nav {
    display: block;
  }

  .menu-open {
    display: none;
  }
}

/* modal  */

.modal {
  position: fixed;
  top: 66px;
  left: 0;
  z-index: 8;
  width: 100%;
  padding: 40px 32px;
  background: linear-gradient(360deg, #a40a00 0%, #140000 100%);
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

/* popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 10px;
  left: 50%;
  width: 95%;
  transform: translateX(-50%);
  padding: 20px;
  border: 1px solid #230103;
  border-radius: 20px;

  box-shadow: 0 14px 42px 0 rgba(8, 15, 52, 0.06);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 37px;
  transition: transform 0.4s ease;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 187%;
  color: #230103;
}

.popup-btn {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 187%;
  color: #230103;
  box-shadow: 0 4px 8px rgba(74, 58, 255, 0.08);

  border: 2px solid #230103;
  border-radius: 56px;
  padding: 12px 36px;

  transition: color 0.3s ease, background-color 0.3s ease;
}

.popup-btn:hover {
  color: #fff;
  background: #230103;
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

@media screen and (min-width: 1432px) {
  .popup {
    display: flex;
    padding: 42px;
    padding-left: 130px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .popup-text {
    font-size: 18px;
    max-width: 65%;
  }

  .popup-btn {
    font-size: 18px;
  }
  .popup-wrap {
    gap: 20px;
  }
}

/* home  */

.hero {
  background-image: url(./images/home-bg.jpg);
  background-size: cover;
  background-position: center;
  padding-top: 102px;
  padding-bottom: 0;
}

.hero-logo {
  width: 335px;
  margin: 0 auto;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 28px;
  text-align: center;
  color: #000;
  margin-bottom: 16px;
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  color: #000;
  margin-bottom: 44px;
}

.hero-link {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.hero-link:hover {
  transform: scale(1.04);
}

.hero-img {
  width: 335px;
  margin: 0 auto;
}

@media screen and (min-width: 1432px) {
  .hero {
    padding-top: 123px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .hero-logo {
    width: auto;
  }

  .hero-title {
    font-size: 35px;
  }

  .hero-text {
    font-size: 20px;
  }
}

/* reborn */

#reborn {
  position: relative;
  overflow: hidden;
  padding-bottom: 290px;
}

.about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
}

.reborn-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-52%);
  width: 476px;
  max-width: max-content;
}

@media screen and (min-width: 1432px) {
  #reborn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    padding-top: 0;
  }

  .reborn-img {
    width: auto;
    position: static;
    flex-shrink: 0;
    transform: translateX(0);
  }
}

/* features */

.features-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;

  li {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    color: #fff;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1432px) {
  .features-list {
    width: 667px;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 46px 26px;

    li {
      width: calc((100% - 46px) / 2);
    }
  }

  .features-desc {
    font-size: 36px;
  }
}

/* fruits */

.fruits-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;

  li {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    margin-bottom: 6px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #fff;
  }
}

@media screen and (min-width: 1432px) {
  .fruits-list {
    width: 766px;
    margin: 0 auto;
    margin-bottom: 60px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 46px;

    li {
      width: calc((100% - 46px) / 2);
    }
  }
}

/* spin */

.spin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  li {
    display: flex;
    align-items: center;

    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1432px) {
  #spin {
    padding-bottom: 178px;
  }
  .spin-list {
    width: 1004px;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 22px;

    li {
      width: calc((100% - 44px) / 3);
    }
  }
}

/* scatter */

#scatter {
  position: relative;
  overflow: hidden;
  padding-bottom: 290px;
  background: linear-gradient(360deg, #a40a00 0%, #140000 100%);
}

.scatter-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
}

.scatter-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-52%);
  width: 476px;
  max-width: max-content;
}

@media screen and (min-width: 1432px) {
  #scatter {
    padding-bottom: 0;

    .section-title {
      margin: 0;
    }

    div {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .scatter-img {
    width: auto;
    position: static;
    flex-shrink: 0;
    transform: translateX(0);
  }
}

/* demo */

.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: red;
    stroke: red;
  }
}

#gameIframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* mobile */

#go {
  padding-bottom: 70px;
  background: linear-gradient(360deg, #a40a00 0%, #140000 100%);
}

.go-text {
  width: 972px;
  margin: 0 auto;
  max-width: 100%;
}

/* faq */

#faq {
  padding-left: 0;
  padding-right: 0;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: scale(1.1);
}

.btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.faq-wrapper {
  padding: 22px 0;
}

.faq-item {
  border-radius: 32px;
  padding: 26px 18px;
  width: 335px;
  max-width: 100%;
  min-height: 200px;

  box-shadow: 0 0 22px #fe0;
  background: linear-gradient(180deg, #ff4800 0%, #a40a00 100%);

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
  }

  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: 1432px) {
  .faq-item {
    border-radius: 32px;
    padding: 26px 18px;
    width: 630px;
    min-height: 170px;
  }
}

/* contact */

#contact {
  position: relative;
  overflow: hidden;
  padding-bottom: 176px;
  background: linear-gradient(360deg, #a40a00 0%, #140000 100%);
}

.star1 {
  width: 370px;
  position: absolute;
  bottom: -150px;
  left: -100px;
}

.star2 {
  width: 370px;
  position: absolute;
  top: -100px;
  right: -150px;
}

.contact-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 27px;
  margin-bottom: 22px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  color: #fff;
}

.social-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 22px;
}

@media screen and (min-width: 1432px) {
  #contact {
    padding-bottom: 50px;
  }

  .star1 {
    width: auto;
    bottom: -150px;
    left: -100px;
  }

  .star2 {
    width: auto;
    top: -100px;
    right: -150px;
  }
}

/* disclaimer */

.disclaimer-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1432px) {
  .disclaimer-text {
    font-size: 22px;
  }
}

/* footer */

.footer {
  padding: 28px 15px;
  background: #230103;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  text-transform: lowercase;
  color: #fff;
  margin-bottom: 32px;
  text-align: center;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-transform: capitalize;
  color: #fff;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.link:hover {
  color: #ffa800;
  text-shadow: 0 0 10px #ff0200;
}

@media screen and (min-width: 1432px) {
  .footer {
    padding: 40px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 118px;
  }

  .footer-link {
    font-size: 18px;
  }

  .footer-text {
    font-size: 14px;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}
