.nav {
  display: none;
}

.header {
  position: fixed;
  z-index: 9;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(180deg, #510100 0%, #b70200 100%);
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
}

.nav-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
}

.nav-link:hover {
  font-weight: 700;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu-svg {
  stroke: #fff;
  fill: #fff;
}

@media screen and (min-width: 1429px) {
  .header {
    padding: 22px;
  }

  .nav {
    display: block;
  }

  .menu-open {
    display: none;
  }
}

/* modal  */

.modal {
  position: fixed;
  top: 76px;
  left: 0;
  z-index: 8;
  width: 100%;
  padding: 40px 32px;
  background: linear-gradient(180deg, #510100 0%, #b70200 100%);
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

/* 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: #4d0101;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.4s ease;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  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: #e3e1eb;

  border: 2px solid #e3e1eb;
  border-radius: 6px;
  padding: 12px 36px;

  transition: color 0.3s ease, background-color 0.3s ease;
}

.popup-btn:hover {
  color: #10182f;
  background: #e3e1eb;
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

@media screen and (min-width: 1429px) {
  .popup {
    display: flex;
    padding: 22px 42px;
    padding-left: 130px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .popup-text {
    max-width: 65%;
  }
  .popup-wrap {
    gap: 20px;
  }
}

/* home  */

.hero {
  background-image: url(./images/home.jpg);
  background-size: cover;
  background-position: center;
  padding-top: 108px;
}

.hero-logo {
  width: 232px;
  margin: 0 auto;
  margin-bottom: 8px;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 48px;
  line-height: 117%;
  text-align: center;
  color: #fff;
  margin-bottom: 24px;
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 156%;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.hero-link {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 335px;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.hero-link:hover {
  transform: scale(1.04);
}

@media screen and (min-width: 1429px) {
  .hero {
    padding-top: 124px;
    padding-bottom: 105px;
  }

  .title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 78px;
    margin-bottom: 36px;
  }

  .hero-logo {
    width: auto;
    margin: 0;
  }

  .hero-title {
    font-size: 60px;
    max-width: 583px;
    margin: 0;
  }

  .hero-text {
    font-size: 24px;
    max-width: 1014px;
    margin: 0 auto;
    margin-bottom: 32px;
  }
  .hero-link {
    width: 379px;
  }
}

/* about */

#about {
  background-image: url(./images/fire.png);
  background-position: bottom center;
  background-repeat: no-repeat;
  /* background-size: contain; */
}

.about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
}

.phone {
  width: 266px;
  margin: 0 auto;
  margin-top: 28px;
}

@media screen and (min-width: 1429px) {
  #about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 88px;
    background-position: bottom right;

    .section-title,
    .section-sub-title {
      text-align: start;
    }
  }

  .phone {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .about-text {
    font-size: 20px;
    text-align: start;
  }
}

/* features */

#features {
  background-image: url(./images/fire.png);
  background-position: bottom center;
  /* background-size: contain; */
  background-repeat: no-repeat;
}

.features-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
  margin-bottom: 60px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 56px;

  li {
    border-radius: 20px;
    padding: 44px 20px;
    padding-top: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    color: #fff;
    background: radial-gradient(
      111.02% 49.88% at 49.86% 49.88%,
      rgb(255, 39, 12) 0%,
      rgb(65, 1, 1) 100%
    );
  }
  img {
    margin: 0 auto;
    transform: translateY(-30px);
  }
}

.features-desc {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 133%;
  text-align: center;
  color: #fff;
  margin-top: 36px;
}

@media screen and (min-width: 1429px) {
  #features {
    background-position: bottom left;
  }

  .features-text {
    font-size: 20px;
    margin-bottom: 105px;
  }

  .features-list {
    gap: 32px;
    flex-direction: row;

    li {
      width: calc((100% - 96px) / 4);
    }
  }

  .features-desc {
    font-size: 36px;
  }
}

/* designed */

.designed-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
}

.designed-img {
  width: 335px;
  margin: 0 auto;
  margin-top: 32px;
}

@media screen and (min-width: 1429px) {
  #designed {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 68px;

    .section-title,
    .section-sub-title {
      text-align: start;
    }
  }

  .designed-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .designed-text {
    font-size: 20px;
    text-align: start;
  }
}

/* demo */

.demo-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
  margin-bottom: 40px;

  span {
    color: #ffd400;
    font-weight: 700;
  }
}

.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;
}

@media screen and (min-width: 1382px) {
  .demo-weapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
  }

  .demo-open {
    margin: 0;
    flex-shrink: 0;
  }

  .demo-text {
    font-size: 20px;
    margin: 0;
  }
}

/* tips */

#tips {
  padding-bottom: 0;
  background-image: url(./images/fire.png);
  background-position: bottom center;
  background-repeat: no-repeat;
}

.tips-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
}

.tips-list {
  padding-left: 20px;
  list-style: disc;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
}

.tips-desc {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 156%;
  font-weight: 700;
  color: #fe0;
}

.automat {
  width: 335px;
  margin: 0 auto;
  margin-top: 32px;
}

@media screen and (min-width: 1429px) {
  #tips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 142px;

    .section-title,
    .section-sub-title {
      text-align: start;
    }
  }

  .automat {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .tips-text,
  .tips-list,
  .tips-desc {
    font-size: 20px;
  }
}

/* burn */

.burn-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
}

.hotmania {
  margin: 32px auto;
}

.burn-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;

  li {
    width: 335px;
    max-width: 100%;
    border: 4px dashed #d22730;
    border-radius: 60px;
    padding: 20px;
    background: #440100;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1429px) {
  .burn-text {
    font-size: 20px;
  }

  .burn-list {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;

    li {
      font-size: 20px;
    }
  }
}

/* wins  */

@media screen and (min-width: 1429px) {
  #wins {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;

    .section-title,
    .section-sub-title {
      text-align: start;
    }
  }
}

/* desclimer */

.desclimer-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 28px;
  line-height: 114%;
  color: #fff;
  margin-bottom: 28px;
}

.desclimer-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
}

@media screen and (min-width: 1429px) {
  .desclimer-title {
    font-size: 36px;
  }

  .desclimer-text {
    font-size: 24px;
  }
}

/* footer */

.footer {
  padding: 40px 20px;
  background: #2b0000;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  color: #fff;
  text-align: center;
  margin-top: 32px;
}

.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: 1429px) {
  .footer {
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 216px;
  }

  .footer-link {
    font-size: 16px;
  }

  .footer-text {
    font-size: 14px;
    margin: 0;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}
