/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 9;
  background: linear-gradient(90deg, #2723f4 0%, #2f01d8 100%);
}

.navigation {
  display: none;
}

.open-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.close-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.svg {
  stroke: #fff;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 187%;
  color: #fff;
  transition: color 0.3s ease;
}

.navigation-item:hover {
  color: #ff00c9;
}

.modal {
  position: fixed;
  top: 0;
  left: 50%;
  padding: 64px;
  padding-right: 20px;
  padding-top: 120px;
  background: linear-gradient(180deg, #050015 0%, #3001dc 100%);
  transform: translateY(-150%) translateX(-50%);
  transition: transform 1.5s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: flex-start;
}

.modal-click {
  transform: translateY(0) translateX(-50%);
}

@media screen and (min-width: 1432px) {
  .header {
    padding: 28px 0;
  }

  .navigation {
    display: block;
  }

  .navigation-list {
    gap: 24px;
    justify-content: space-between;
  }

  .navigation-item {
    font-size: 15px;
    font-weight: 400;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 164px;
  padding-bottom: 0;
  background-image: url(../images/home.jpg);
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: #fff;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.9);
  margin-bottom: 22px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 22px;
  line-height: 118%;
  text-align: center;
  color: #fff;
  margin-bottom: 22px;
}

.home-link {
  display: block;
  width: 260px;
  max-width: 100%;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.home-link:hover {
  transform: scale(0.96);
}

.home-img {
  max-width: max-content;
  width: 600px;
  transform: translateX(-54px);
}

@media screen and (min-width: 768px) {
  .home-img {
    transform: translateX(0);
  }
}

@media screen and (min-width: 1432px) {
  #home {
    padding-top: 269px;
    padding-bottom: 165px;
  }

  .home-container {
    padding-left: 117px;
    padding-right: 0;
    margin: 0;
  }

  .home-wrapper {
    max-width: 692px;
    position: relative;
    z-index: 1;
  }

  .home-title {
    font-size: 66px;
  }

  .home-text {
    font-size: 22px;
    margin-bottom: 40px;
  }

  .home-img {
    width: auto;
    position: absolute;
    top: 30px;
    left: 45%;
  }
}

/* begin */

.begin-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  margin-bottom: 22px;
}

.begin-img {
  margin: 0 auto;
  margin-bottom: 40px;
}

.begin-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    color: #fff;
    margin-bottom: 8px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 167%;
    color: #fff;
  }
}

@media screen and (min-width: 1432px) {
  .begin-text {
    margin-bottom: 41px;
  }

  .begin-img {
    margin-bottom: 68px;
  }
}

/* gameplay */

.gameplay-list {
  display: flex;
  flex-direction: column;
  gap: 37px;

  li {
    border: 2px solid #3700ff;
    border-radius: 22px;
    padding: 18px 12px;
    box-shadow: 0 0 32px 4px #fff;

    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1432px) {
  .gameplay-list {
    gap: 25px;
    flex-direction: row;
    align-items: normal;

    li {
      width: calc((100% - 50px) / 3);
    }
  }
}

/* iuncluded */

#iuncluded {
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.iuncluded-list {
  display: flex;
  flex-direction: column;
  gap: 40px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    color: #fff;
    margin-bottom: 12px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #fff;
  }
}
.fox {
  max-width: max-content;
  width: 700px;
  transform: translateX(-97px);
}

@media screen and (min-width: 768px) {
  .fox {
    transform: translateX(0);
  }
}

@media screen and (min-width: 1432px) {
  .iuncluded-container {
    display: flex;
    align-items: center;
    padding-right: 0;
  }

  .fox {
    width: auto;
  }

  .iuncluded-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px 25px;

    li {
      width: calc((100% - 25px) / 2);
    }
  }
}

/* heroes */

.heroes-swiper {
  margin-bottom: 42px;
}

.heroes-item {
  width: 335px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1432px) {
  .heroes-item {
    width: 400px;
  }
}

/* features */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 42px;

  li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    border: 2px solid #3700ff;
    border-radius: 22px;
    padding: 18px 12px;
    box-shadow: 0 0 12px 4px #fff;

    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1432px) {
  .features-list {
    flex-direction: row;

    li {
      width: calc((100% - 40px) / 3);
    }
  }
}

/* players */

#players {
  background: url(../images/fon.png),
    linear-gradient(180deg, #050015 0%, #3001dc 100%);
  background-size: cover;
}

.players-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 20px;
  list-style: disc;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  color: #fff;
}

.players-img {
  margin: 0 auto;
  margin-top: 50px;
}

@media screen and (min-width: 1432px) {
  .players-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }

  .players-img {
    margin: 0;
    flex-shrink: 0;
  }
}

/* whisperps */

.whisperps-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.whisperps-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;

  li {
    display: flex;
    align-items: center;
    gap: 18px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: #fff;
  }
}

@media screen and (min-width: 1432px) {
  .whisperps-text {
    margin-bottom: 50px;
  }

  .whisperps-list {
    width: 883px;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 117px;

    li {
      width: calc((100% - 40px) / 2);
    }
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faq-item {
  width: 100%;
  border: 2px solid #3700ff;
  border-radius: 22px;
  padding: 18px 12px;
  cursor: pointer;
}

.faq-btn {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  padding-top: 12px;
}

.hidden {
  display: none;
}

.click {
  transform: rotate(180deg);
}

/* story */

.story-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  margin-bottom: 32px;
}

.story-title {
  border: 2px solid #3700ff;
  border-radius: 22px;
  padding: 18px 12px;
  box-shadow: 0 0 12px 4px #fff;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1432px) {
  .story-text {
    margin-bottom: 60px;
  }
}

/* footer */

.footer {
  padding: 38px 0;
  background: #050015;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  text-transform: lowercase;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff00c9;
}

@media screen and (min-width: 1432px) {
  .footer {
    padding: 50px 0;
  }
  .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-list {
    gap: 18px;
    flex-direction: row;
  }

  .footer-description {
    margin: 0;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 37px;
  padding-top: 47px;
  border: 1px solid #fff;
  border-radius: 20px;

  box-shadow: 0 14px 42px 0 rgba(8, 15, 52, 0.06);
  background: linear-gradient(180deg, #1a0d81 0%, #2825f9 100%);

  transition: transform 0.5s ease;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.popup-svg {
  stroke: #fff;
  transition: stroke 0.3s ease;
}
.popup-svg:hover {
  stroke: #ff00c9;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 187%;
  color: #fff;
  margin-bottom: 37px;
}

.popup-btn {
  border: 1px solid #fff;
  border-radius: 56px;
  padding: 18px 28px;
  box-shadow: 0 4px 8px rgba(74, 58, 255, 0.08);
  background: #3000ff;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 112%;
  color: #fff;

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  box-shadow: 0 3px 12px 0 rgba(74, 58, 255, 0.18);
  background: #fff;
  color: #1a0d81;
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}

@media screen and (min-width: 1439px) {
  .popup {
    padding: 52px 138px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 97px;
  }

  .popup-text {
    font-size: 18px;
    margin: 0;
    text-align: start;
  }

  .popup-wrap {
    flex-direction: row;
    gap: 24px;
  }

  .popup-close {
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
  }
}
