.main-section {
  position: fixed;
  z-index: 9;
  width: 100%;
  padding: 12px 20px;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heder-logo {
  width: 88px;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #484848;
  border-radius: 93px;
  padding: 12px 20px;
  transition: background-color 0.3s ease;
}

.page-nav-link:hover {
  box-shadow: 0 18px 41px 0 rgba(0, 0, 0, 0.25);
  background: #e2f53a;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu-open-svg {
  stroke: #484848;
}

.menu-close-svg {
  stroke: #484848;
}

@media screen and (min-width: 1438px) {
  .main-section {
    padding: 20px 80px;
  }

  .heder-logo {
    width: 120px;
  }

  .page-nav {
    display: block;
    border: 1px solid #d8d8d8;
    border-radius: 84px;
    padding: 12px 32px;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  overflow: hidden;
  top: 96px;
  right: 0;
  z-index: 8;
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 20px;
  padding: 48px 40px;
  transform: translateX(100%);
  transition: transform 1s ease;
  background: #fff;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  width: 96%;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.4s ease;
  padding: 32px;
  border: 1px solid #d9dbe9;
  border-radius: 20px;
  box-shadow: 0 14px 42px 0 rgba(8, 15, 52, 0.06);
  background: #0f0e0e;
}

.popup-img {
  margin: 0 auto;
  margin-bottom: 11px;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;

  a {
    color: #4a3aff;
  }
}

.popup-btn {
  border: 1px solid #e2f53a;
  border-radius: 56px;
  padding: 18px 28px;
  box-shadow: 0 4px 8px 0 rgba(74, 58, 255, 0.08);
  background: #0f0e0e;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  box-shadow: 0 3px 12px rgba(74, 58, 255, 0.18);
  background: #e2f53a;
  color: #484848;
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

@media screen and (min-width: 1438px) {
  .page-popup {
    padding: 40px;
    display: flex;
    align-items: center;
  }

  .popup-img {
    margin: 0;
    flex-shrink: 0;
    margin-right: 25px;
  }

  .popup-text {
    font-size: 18px;
    margin: 0;
    text-align: start;
  }

  .popup-wrap {
    flex-direction: row;
    flex-shrink: 0;
    margin-left: 120px;
  }
}

/* hero  */

.dashboard {
  padding-top: 76px;
}

.hero-wrapper {
  border-radius: 24px;
  padding: 36px 20px;
  background: #0f0e0e;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 60px;
  line-height: 113%;
  color: #fff;
  margin-bottom: 40px;
}

.page-hero-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 20px;
  line-height: 140%;
  color: #fff;
  margin-bottom: 32px;
}

.hero-link {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  color: #000;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 30px;
  padding: 6px;

  margin: 0 auto;
  width: 335px;
  max-width: 100%;

  background: #e2f53a;
  transition: background-color 0.3s ease;

  img {
    border-radius: 30px;
    padding: 14px;
    background: #0f0e0e;
  }
}

.hero-link:hover {
  background: #a6b428;
}

.home-video {
  width: 335px;
  margin: 0 auto;
  margin-top: 32px;
}

.home-img {
  width: 335px;
  margin: 0 auto;
  margin-top: 24px;
}

@media screen and (min-width: 1438px) {
  .dashboard {
    padding: 0 24px;
    padding-top: 118px;
  }

  .hero-wrapper {
    display: flex;
    gap: 47px;
    border-radius: 24px;
    padding: 60px 56px;
  }

  .home-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .hero-title {
    font-size: 100px;
    margin-bottom: 190px;
  }

  .hero-cover {
    display: flex;
    flex-direction: row-reverse;
    gap: 32px;
  }

  .home-video {
    width: 323px;
    margin: 0;
    flex-shrink: 0;
  }

  .page-hero-text {
    font-size: 20px;
    margin-bottom: 78px;
  }

  .hero-link {
    width: 344px;
  }
}

/* about */

.about-img {
  margin: 0 auto;
}

/* games */

#games {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.black {
  border-radius: 24px;
  padding: 28px 16px;
  background: #0f0e0e;

  .title,
  .text {
    color: #fff;
    text-align: start;
  }
}

.yellow {
  border-radius: 24px;
  padding: 28px 16px;
  background: #e2f53a;
}

.games-list {
  list-style: disc;
  padding-left: 20px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  color: #0f0e0e;
  margin-bottom: 40px;
}

.games-link {
  display: block;
  border: 1px solid #000;
  border-radius: 30px;
  padding: 20px;
  width: 303px;
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #000;
  transition: background-color 0.3s ease;
}

.games-link:hover {
  background: #a6b428;
}

@media screen and (min-width: 1438px) {
  #games {
    flex-direction: row;

    .text {
      font-size: 28px;
    }
  }

  .yellow {
    width: 38%;
    flex-shrink: 0;
  }

  .games-list {
    font-size: 24px;
    margin-bottom: 118px;
  }

  .games-link {
    width: 395px;
  }
}

/* lore */

.lore-img {
  margin: 0 auto;
}

.lore-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;

  li {
    width: 335px;
    max-width: 100%;
    border-radius: 16px;
    padding: 20px 24px;
    background: #e3e3e3;

    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 133%;
    text-align: center;
    color: #0f0e0e;
  }
}

@media screen and (min-width: 1438px) {
  .lore-list {
    flex-direction: row;
    gap: 36px;
    align-items: normal;
    justify-content: center;

    li {
      width: 403px;
    }
  }
}

/* blog */

.blog-logo {
  width: 97px;
  margin-bottom: 20px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;

  li {
    display: flex;
    align-items: center;
    gap: 20px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #fff;
  }

  div {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background-color: #e2f53a;
    flex-shrink: 0;
  }
}

.blog-link {
  font-size: 18px;
  margin-top: 40px;
}

@media screen and (min-width: 1438px) {
  .blog-black {
    border-radius: 24px;
    padding: 44px;
  }

  .blog-text {
    font-size: 28px;
  }

  .blog-list {
    width: 1080px;
    gap: 36px 80px;
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 80px) / 2);
      font-size: 26px;
    }

    .blog-link {
      font-size: 20px;
      margin: 0;
    }
  }
}

/* trailers */

.trailers-list {
  padding-left: 20px;
  list-style: disc;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #0f0e0e;
  margin-bottom: 32px;
}

.trailers-img {
  width: 335px;
  margin: 0 auto;
}

.trailers-banner {
  width: 335px;
  margin: 0 auto;
  margin-top: 8px;
}

@media screen and (min-width: 1438px) {
  .trailers-wrap {
    display: flex;
    flex-direction: row-reverse;
    gap: 36px;

    .title {
      text-align: start;
    }
  }

  .trailers-list {
    font-size: 20px;
  }

  .trailers-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .trailers-banner {
    width: auto;
  }
}

/* beta */

#beta {
  padding-left: 0;
  padding-right: 0;

  .title-wrap {
    padding: 0 20px;
  }
}

.beta-item {
  width: 335px;
  max-width: 100%;

  img {
    height: 346px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.04em;
    color: #0f0e0e;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.04em;
    color: #0f0e0e;
  }
}

.beta-list {
  display: none;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.btn:hover {
  transform: scale(1.1);
}

.btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

@media screen and (min-width: 1438px) {
  #beta {
    padding-left: 80px;
    padding-right: 80px;

    .title-wrap {
      padding: 0;
    }
  }

  .beta-swiper {
    display: none;
  }

  .beta-btn-wrap {
    display: none;
  }

  .beta-list {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
  }

  .beta-item {
    width: auto;

    img {
      width: auto;
      height: auto;
    }

    p,
    span {
      font-size: 20px;
    }
  }

  .item1 {
    width: 324px;
  }

  .item2 {
    width: 548px;
  }

  .item3 {
    width: 359px;
  }
}

/* team */

#team {
  padding-left: 0;
  padding-right: 0;
}

.team-item {
  width: 335px;
  max-width: 100%;
  border: 1px solid rgba(143, 146, 146, 0.24);
  border-radius: 16px;
  padding: 24px;
  background-color: #fff;
  min-height: 394px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0c1213;
  }
}

.avatar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    color: #0c1213;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #5c6061;
  }
}

@media screen and (min-width: 1438px) {
  .team-item {
    width: 410px;
    min-height: 322px;
  }
}

/* contact */

#contact {
  .title,
  .text {
    color: #fff;
  }
}

.contact-img {
  width: 335px;
  margin: 0 auto;
  margin-bottom: 32px;
}

.contact-list {
  list-style: disc;
  padding-left: 20px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 167%;
  color: #fff;

  a {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1438px) {
  .contact-wrap {
    display: flex;
    align-items: center;
    gap: 64px;
  }
  .contact-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* connect */

.connect-list {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #0f0e0e;
  margin-bottom: 40px;

  a {
    text-decoration: underline;
  }
}

.connect-img {
  width: 335px;
  margin: 0 auto;
}

.connect-banner {
  display: none;
}

@media screen and (min-width: 1438px) {
  #connect {
    display: flex;
    gap: 8px;
  }

  .connect-banner {
    display: block;
    flex-shrink: 0;
  }

  .connect-img {
    width: auto;
    margin: 0;
    margin-left: auto;
  }
}

/* subscribe */

#subscribe {
  padding-left: 0;
  padding-right: 0;
}

.subscribe-wrap {
  border-radius: 24px;
  padding: 44px 20px;
  background: #e2f53a;
}

@media screen and (min-width: 1438px) {
  #subscribe {
    padding-left: 80px;
    padding-right: 80px;

    .text {
      font-size: 24px;
    }
  }

  .subscribe-wrap {
    border-radius: 24px;
    padding: 44px;
  }
}

/* footer */

.footer {
  padding: 41px 20px;
  border-top: 1px solid #1d2830;
}

.footer-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 36px;
  margin-bottom: 20px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #05131d;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: #05131d;
  margin-bottom: 20px;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: #05131d;
}

@media screen and (min-width: 1438px) {
  .footer {
    padding: 41px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-list {
    flex-wrap: nowrap;
    gap: 36px;
    margin: 0;
  }

  .footer-description {
    margin: 0;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
