.main-section {
  position: fixed;
  top: 12px;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 18px 0;
  border-radius: 40px;
  background: #0a0e1a;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  color: var(--accent-green);
  transition: color 0.3s ease;
}

.header-title:hover {
  color: var(--accent-cyan);
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #fff;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: var(--accent-cyan);
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.google-link {
  display: none;
}

@media screen and (min-width: 1440px) {
  .main-section {
    top: 24px;
    padding: 16px 0;
  }

  .header-title {
    font-size: 24px;
  }

  .page-nav {
    display: block;
  }

  .google-link {
    display: block;
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 16px;
    line-height: 143%;
    text-align: center;
    color: #0a0e1a;

    border: 1px solid transparent;
    border-radius: 24px;
    padding: 8px 16px;
    background-color: #0a0e1a;
    background: linear-gradient(
      180deg,
      var(--accent-green) 0%,
      var(--accent-cyan) 100%
    );
    transition:
      color 0.3s ease,
      border-color 0.3s ease,
      background-image 0.3s ease;
  }

  .google-link:hover,
  .google-link:focus {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background-image: none;
  }

  .menu-btn {
    display: none;
  }
}

.dashboard {
  padding-top: 113px;

  background-image:
    linear-gradient(
      180deg,
      rgba(47, 90, 0, 0.5) 0%,
      rgba(1, 82, 112, 0.5) 100%
    ),
    url('/assets/images/hero-bg.webp');
  background-position: center;
  background-size: cover;
}

.page-hero-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 44px;
  line-height: 118%;
  color: #fff;
  margin-bottom: 36px;

  span {
    background: linear-gradient(
      180deg,
      var(--accent-green) 0%,
      var(--accent-cyan) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.page-hero-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  color: #fff;
  margin-bottom: 44px;
}

.page-hero-link {
  display: block;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 18px;
  line-height: 156%;
  text-align: center;
  color: #110e0e;

  border-radius: 24px;
  padding: 16px 32px;
  border: 1px solid transparent;
  background-color: #b1b2b3;
  background-image: linear-gradient(
    180deg,
    var(--accent-green) 0%,
    var(--accent-cyan) 100%
  );
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-image 0.3s ease;
}

.page-hero-link:hover,
.page-hero-link:focus {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background-color: transparent;
  background-image: none;
}

.hero-link-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: fit-content;
}

@media screen and (min-width: 1440px) {
  .dashboard {
    padding-top: 160px;
    padding-bottom: 111px;
  }

  .hero-main-content {
    max-width: 800px;
  }

  .page-hero-title {
    font-size: 52px;
    margin-bottom: 36px;
  }

  .page-hero-text {
    font-size: 24px;
  }

  .hero-link-wrapper {
    flex-direction: row;
    gap: 16px;
  }
}

/* what  */

.what-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media screen and (min-width: 1440px) {
  .what-container {
    flex-direction: row;
    align-items: center;
    gap: 58px;
  }
}

/* advantages  */

.advantages-title {
  font-family: var(--third-family);
  font-weight: 900;
  font-size: 40px;
  line-height: 120%;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.advantages-item {
  border: 1px solid #2fe7e198;
  border-radius: 12px;
  padding: 32px;
  cursor: pointer;
  background: #193633;
  transition: border-color 0.3s ease;

  div {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
      180deg,
      rgba(253, 140, 41, 0.5) 0%,
      rgba(236, 78, 167, 0.5) 100%
    );
    border-radius: 50%;
    padding: 8px;
    margin-bottom: 48px;
  }

  p {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #fff;
    margin-bottom: 16px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
  }
}

.advantages-item:hover,
.advantages-item:focus {
  border-color: var(--accent-cyan);
}

.pagination {
  margin-top: 28px;
  text-align: center;

  .swiper-pagination-bullet {
    background-color: rgba(236, 78, 167, 0.4);
    opacity: 1;
    transition: background-color 0.3s ease;
  }

  .swiper-pagination-bullet-active {
    background-color: var(--accent-cyan);
  }
}

@media screen and (min-width: 1440px) {
  .advantages-title {
    font-size: 44px;
    width: 877px;
    margin: 0 auto;
    margin-bottom: 76px;
  }
}

/* gameplay  */

.gameplay-container {
  display: flex;
  flex-direction: column;
  gap: 42px;

  .title {
    font-size: 34px;
  }
}

.gameplay-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
  list-style: disc;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
}

@media screen and (min-width: 1440px) {
  .gameplay-container {
    flex-direction: row;
    align-items: center;
    gap: 52px;

    .title {
      text-align: start;
      font-size: 52px;
    }
  }

  .gameplay-img {
    flex-shrink: 0;
  }

  .gameplay-list {
    font-size: 18px;
  }
}

/* specifications  */

.table {
  width: 100%;
  border: 1px solid rgba(194, 28, 122, 0.2);
  border-radius: 8px;
  background: var(--bg-main);
  overflow: hidden;
}

.row {
  display: flex;
}

.cell {
  width: calc(100% / 3);
  padding: 8px 12px;
  border: 1px solid rgba(236, 78, 167, 0.2);

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
}

.header {
  background: #ff7a8a;

  .cell {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 143%;
    color: #fff;
    padding: 12px;
  }
}

@media screen and (min-width: 1440px) {
  .table {
    width: 956px;
    margin: 0 auto;
  }

  .cell {
    padding: 16px;
    font-size: 18px;
  }

  .header {
    .cell {
      padding: 16px;
      font-size: 18px;
    }
  }
}

#ready {
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 60, 90, 0.663) 0%,
      rgba(1, 82, 112, 0.662) 100%
    ),
    url('/assets/images/contact-bg.webp');
  background-position: center;
  background-size: cover;
}

.ready-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 40px;
  line-height: 120%;
  text-align: center;
  background: linear-gradient(
    180deg,
    var(--accent-green) 0%,
    var(--accent-cyan) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
}

@media screen and (min-width: 1440px) {
  .ready-content {
    width: 627px;
    margin: 0 auto;
  }
}

.footer {
  padding: 40px 0;
  background: var(--bg-main);
  border-top: 1px solid #d3e0f3;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid #fff;
}

.footer-title {
  a {
    display: block;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 133%;
    color: var(--accent-green);
    margin-bottom: 8px;
    text-align: center;
    transition: color 0.3s ease;
  }

  a:hover {
    color: var(--accent-cyan);
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #fff;
  }
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;

  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #fff;

  a {
    transition: color 0.3s ease;
  }

  a:hover,
  a:focus {
    color: var(--accent-cyan);
  }
}

.footer-flex2 {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  text-align: center;
  color: #fff;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;

  font-family: var(--font-family);
  font-weight: 600;
  font-size: 12px;
  line-height: 133%;
  text-align: center;
  color: #fff;

  a {
    transition: color 0.3s ease;
  }

  a:hover,
  a:focus {
    color: var(--accent-cyan);
  }
}

@media screen and (min-width: 1440px) {
  .footer-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-title {
    a,
    p {
      text-align: start;
    }
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-flex2 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-text {
    font-size: 14px;
  }
  .footer-list {
    font-size: 16px;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 120px;
  left: 0;
  width: 100%;
  padding: 48px;
  z-index: 8;
  background: var(--bg-main);
  transform: translateY(-140%);
  transition: transform 1s ease;
}

.modal-title {
  display: block;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 28px;
  line-height: 129%;
  background: linear-gradient(90deg, #fff 0%, #ff7a8a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 62px;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px 0;
  transition: transform 0.4s ease;
  background: var(--bg-main);
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  margin-bottom: 32px;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 18px;
}

@media screen and (min-width: 1440px) {
  .popup-text {
    font-size: 22px;
    margin: 0;
  }

  .popup-container {
    display: flex;
    align-items: center;
    gap: 170px;
  }

  .popup-wrap {
    flex-shrink: 0;
  }
}

/* geo popup  */

.geo-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 33, 47, 0.95);
  z-index: 999;
}

.geo-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-content {
  width: 800px;
  max-width: 100%;
  border-radius: 60px;
  padding: 74px 10px;
  background: linear-gradient(
    180deg,
    var(--accent-cyan) 0%,
    #0a0e1a 54.57%,
    #0a0e1a 100%
  );

  h2 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 32px;
    text-align: center;
    color: #fff;
    margin-bottom: 44px;
  }

  .geo-btn {
    padding: 17px 52px;
  }
}

@media screen and (min-width: 1440px) {
  .geo-content {
    h2 {
      font-size: 52px;
    }
  }
}

/* scroll */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  z-index: 7;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    border-color 0.4s ease;
}

#scrollTopBtn:hover,
#scrollTopBtn:focus {
  border-color: var(--accent-cyan);

  svg {
    stroke: var(--accent-cyan);
  }
}

#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.popup-click {
  transform: translateY(100%);
}

.overflow {
  overflow: hidden;
}
