/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid #fff;
  background: #0d1b2a;
  z-index: 9;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1em;
  background: linear-gradient(180deg, #fff 0%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navigation {
  display: none;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg {
  stroke: #fff;
  transition: stroke 0.25s ease;
}

.modal-button:hover,
.modal-button:focus {
  .svg {
    stroke: #f4d35e;
  }
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.navigation-item {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  transition: color 0.3s ease;
}

.navigation-item:hover,
.navigation-item:focus {
  text-decoration: underline;
}

.modal {
  background: #fff;
  z-index: 8;
  position: fixed;
  top: 0;
  right: 0;
  background: #0d1b2a;
  transform: translateX(100%);
  height: 100%;
  padding: 32px;
  padding-top: 100px;
  /* border: 1px solid #3e3e3e; */
  transition: transform 1s ease;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: normal;
  gap: 23px;

  .navigation-item {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #0d1b2a;
    display: block;
    padding: 9px;
    text-align: center;
    border-radius: 12px;
    background: #f8f8f8;
  }
}

.modal-click {
  transform: translateX(0);
}

@media screen and (min-width: 1437px) {
  .modal {
    display: none;
  }

  .navigation-item {
  }

  .modal-button {
    display: none;
  }

  .navigation {
    display: block;
  }

  .modal {
    width: 280px;
    top: 62px;
    right: 47px;
    transform: translateX(435px);
    padding: 29px 20px;
    padding-top: 82px;
  }
}

/* home */

#home {
  padding-top: 176px;
  padding-bottom: 192px;
  background-image: url(../img/home.png);
  background-position: center;
  background-size: cover;
}

.home-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 32px;
  color: #0d1b2a;
  text-align: center;
  text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff, 1px 1px #fff,
    -1px -1px #fff, -1px 1px #fff, 1px -1px #fff;
}

.home-sub-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 32px;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #fff;
  border: 1px solid #fff;
  padding: 10px;
  background: rgba(13, 27, 42, 0.9);
  margin-bottom: 16px;

  span {
    font-weight: 500;
  }
}

.home-sub-text {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 28px;
  text-align: center;
  color: #fff;
  text-shadow: 2px 4px 8px #cecece;
  margin-bottom: 16px;
}

.home-link {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 24px;
  line-height: 150%;
  color: #0d1b2a;
  text-align: center;
  padding: 12px;
  display: block;
  margin: 0 auto;
  width: 230px;
  max-width: 100%;
  background: rgba(244, 211, 94, 0.7);
  transition: background-color 0.3s ease;
}

.home-link:hover,
.home-link:focus {
  background: rgba(244, 211, 94, 0.9);
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 156px;
    padding-bottom: 180px;
  }

  .home-title {
    font-size: 56px;
  }

  .home-sub-title {
    font-size: 56px;
    margin-bottom: 50px;
  }

  .home-text {
    font-size: 24px;
    max-width: 1014px;
    margin: 0 auto;
    margin-bottom: 50px;
  }

  .home-sub-text {
    font-size: 48px;
    margin-bottom: 40px;
  }
}

/* who */

/* we */

.we-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;

  li {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #fff;
  }

  img {
    width: 48px;
    margin-bottom: 24px;
  }
}

.we-desc {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
  color: #f4d35e;
}

@media screen and (min-width: 1437px) {
  .we-list {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 56px;

    li {
      width: calc((100% - 96px) / 3);
      font-size: 24px;
    }
  }

  .we-desc {
    font-size: 24px;
    max-width: 768px;
    margin: 0 auto;
  }
}

/* games */

.games {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.game-item {
  h5 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    color: #f4d35e;
    margin-bottom: 8px;
  }
}

.game-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    margin-bottom: 16px;
  }

  h6 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
  }
  ul {
    padding-left: 20px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
  }
}

@media screen and (min-width: 1437px) {
  .games {
    gap: 40px;
  }

  .game-item {
    h5 {
      font-size: 32px;
      margin-bottom: 24px;
    }
  }

  .game-wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;

    img {
      width: auto;
      flex-shrink: 0;
      margin: 0;
    }

    p {
      font-size: 20px;
    }

    ul,
    h6 {
      font-size: 20px;
    }
  }

  .game-wrap1 {
    flex-direction: row-reverse;
  }
}

/* section-cover */

.section-cover {
  background-image: url(../img/cover.png);
  background-size: cover;
}

/* features-list */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 32px;

  p {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #f4d35e;
    margin-bottom: 8px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1437px) {
  .features-list {
    p,
    span {
      font-size: 24px;
    }
  }
}

/* how-list */

.how-list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  span {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 24px;
    color: #f4d35e;
    display: block;
    margin-bottom: 12px;
  }

  h5 {
    font-family: var(--third-family);
    font-weight: 600;
    font-size: 24px;
    color: #f4d35e;
    margin-bottom: 12px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .how-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .how-list {
    gap: 50px;

    span {
      font-size: 64px;
    }

    h5 {
      font-size: 32px;
    }

    p {
      font-size: 20px;
    }

    li {
      width: calc((100% - 100px) / 3);
    }
  }
}

/* faq */

#faq {
  background-image: url(../img/faq.png);
  background-size: cover;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  padding-bottom: 20px;
  border-bottom: 1px solid #fff;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.faq-item:hover,
.faq-item:focus {
  border-color: #f4d35e;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  color: #f4d35e;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(180deg);
  transition: transform 0.4s ease;
  width: 32px;
  height: 32px;
  flex-shrink: 0;

  svg {
    stroke: #f4d35e;
  }
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #fff;
  margin-top: 20px;
}

@media screen and (min-width: 1437px) {
  .faq-list {
    gap: 24px;
  }

  .faq-item {
    padding-bottom: 24px;
  }

  .faq-title,
  .faq-text {
    font-size: 24px;
  }

  .faq-text {
    margin-top: 20px;
  }
}

.hidden {
  display: none;
}

.click {
  transform: rotate(360deg);
}

/* what */

#what {
  background-image: url(../img/faq-wrap.png);
  background-size: cover;
}

.what-container {
  position: relative;
}

.what-swiper .what-wrapper .what-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 245px;
  justify-content: space-between;
  gap: 25px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #fff;
  }

  img {
    margin: 0 auto;
    width: 56px;
    margin-bottom: 16px;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #fff;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #fff;
  }
}

.swiper-btn {
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  position: absolute;
  z-index: 2;
  top: 60%;
  transition: opacity 0.3s ease;
}

.swiper-btn:hover,
.swiper-btn:focus {
  opacity: 1;
}

.what-left {
  left: 0;
}

.what-right {
  right: 0;
}

.what-pagination {
  text-align: center;
  margin-top: 40px;

  .swiper-pagination-bullet {
    background-color: #fff;
  }
}

.swiper-pagination-bullet {
  color: #fff;
}

@media screen and (min-width: 1437px) {
  .what-swiper {
    width: 800px;
  }

  .what-swiper .what-wrapper .what-item {
    gap: 40px;

    p {
      font-size: 24px;
    }
  }

  .swiper-btn {
    width: 44px;
  }

  .what-left {
    left: 200px;
  }

  .what-right {
    right: 200px;
  }
}

/* contact */

#get {
  background-color: #080c14;
  background-image: url(../img/star.png);
  background-size: cover;
}

.contact-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #fff;
}

.form {
  margin: 0 auto;
}

/* footer */

.footer {
  padding: 40px 0;
}

.footer-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1em;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #fff;
  margin-bottom: 32px;

  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  text-decoration-skip-ink: none;
  color: #fff;

  a:hover {
    text-decoration: underline;
  }
}

.footer-mail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  div {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  img {
    width: 24px;
  }

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    text-decoration-skip-ink: none;
    color: #fff;
  }

  a:hover {
    text-decoration: underline;
  }
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #fff;
  margin-top: 24px;
  text-align: center;
}

@media screen and (min-width: 1437px) {
  .footer {
    padding: 80px 0;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .footer-list {
    flex-direction: row;
    justify-content: center;
    font-size: 24px;
    gap: 32px;
    padding-bottom: 80px;
  }

  .footer-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
  }

  .footer-description {
    font-size: 16px;
    margin: 0;
  }

  .footer-mail {
    align-items: flex-end;
    gap: 24px;

    a {
      font-size: 20px;
    }
  }
}

/* cookie popup */

#popup-template {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popup {
  position: fixed;
  z-index: 10;
  top: 50%;
  left: 50%;
  background: #fff;
  padding: 20px;
  transform: translateX(-50%) translateY(-50%);
}

.popup-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 200%;
  text-align: center;
  color: #0d1b2a;
  margin-bottom: 10px;
}

.popup-text {
  font-family: var(--third-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 200%;
  text-align: center;
  color: #0d1b2a;
  margin-bottom: 10px;
}

.popup-btn {
  border: 1.41px solid #f4d35e;
  border-radius: 13px;
  padding: 8px 12px;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0);

  font-family: var(--third-family);
  font-weight: 600;
  font-size: 16px;
  color: #0d1b2a;
  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #f4d35e;
}

.popup-wrap {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media screen and (min-width: 1437px) {
  .popup {
    width: 1250px;
    padding: 20px 40px;
  }

  .popup-title {
    font-size: 36px;
    margin-bottom: 37px;
  }

  .popup-text {
    font-size: 20px;
    margin-bottom: 37px;
    text-align: start;
  }

  .popup-btn {
    font-size: 20px;
    padding: 13px 25px;
  }

  .popup-wrap {
    justify-content: flex-start;
  }
}
