.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.header-desc {
  padding: 10px 0;
  backdrop-filter: blur(4px);
  background: #00215e;

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 10px;
    line-height: 120%;
    text-align: center;
    color: #fff;
  }
}

.header-nav {
  padding: 20px 0;
  backdrop-filter: blur(12px);
  background: #046153;
}

.page-nav {
  display: none;
}

.menu-btn {
  display: block;
  margin-left: auto;

  svg {
    stroke: #fff;
    transition: stroke 0.3s ease;
  }
}

.menu-btn:hover,
.menu-btn:focus {
  svg {
    stroke: #1eff5d;
  }
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: #1eff5d;
}

@media screen and (min-width: 1440px) {
  .menu-btn {
    display: none;
  }

  .page-nav {
    display: block;
  }

  .header-desc {
    p {
      font-size: 12px;
    }
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 200px;
  padding-bottom: 100px;
  z-index: 8;
  transform: translateY(-100%);
  transition: transform 1s ease;
  background: #455f80;
}

.menu-nav-list {
  flex-direction: column;
  gap: 40px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 50%;
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 21px;
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.02),
    0 3px 3px 0 rgba(0, 0, 0, 0.02),
    0 7px 4px 0 rgba(0, 0, 0, 0.01);
  background: #fff;
  transform: translateX(-50%);

  transition: transform 0.4s ease;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 167%;
  color: #0d1b03;
  margin-bottom: 20px;
}

.popup-btn {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #2032a8;

  display: block;
  width: fit-content;
  border-radius: 6px;
  padding: 10px 16px;
  background: #1eff5d;
  text-align: center;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.popup-btn:hover {
  color: #ffbf00;
  box-shadow: 0 0 20px #ffbf00;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 17px;
}

@media screen and (min-width: 1440px) {
  .page-popup {
    border-radius: 12px;
    padding: 21px 38px;
    width: 916px;
  }

  .popup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 140px;
  }

  .popup-text {
    font-size: 12px;
    margin: 0;
  }

  .popup-btn {
    font-size: 16px;
    margin: 0;
    flex-shrink: 0;
  }
}

/* hero  */

.dashboard {
  padding-top: 180px;
  padding-bottom: 90px;
  background-image: url(../img/hero.webp);
  background-position: right center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero-game {
  display: none;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 48px;
  line-height: 108%;
  text-transform: uppercase;
  text-align: center;
  color: #1eff5d;
  margin-bottom: 38px;

  span {
    color: #000;
  }
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product {
  border: 1px solid #00371d;
  border-radius: 12px;
  padding: 30px;
  background: linear-gradient(180deg, #000 0%, #3374f2 100%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition:
    background-image 0.4s ease,
    box-shadow 0.4s ease;
}

.product:hover {
  border-color: orange;
  box-shadow: -13px 2px 66px -8px rgba(255, 202, 79, 0.5);

  .product-link {
    color: orange;
    box-shadow: 0 0 20px orange;
  }
}

.product-logo {
  border-radius: 12px;
  width: 128px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 55, 47, 0.5);

  position: relative;
}

.number {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  background: rgba(232, 186, 48, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  color: #e8ba30;
}

.product-bonus {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;

  img {
    width: 24px;
  }

  h2 {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 24px;
    line-height: 133%;
    color: #fff;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #e8ba30;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
  }
}

.product-link {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  text-align: center;
  color: #0752c1;

  display: block;
  width: fit-content;
  border-radius: 10px;
  padding: 12px 56px;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
  box-shadow: 0 0 40px 0 rgba(140, 204, 51, 0.15);
  background: #1eff5d;
}

@media screen and (min-width: 768px) {
  .product {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1440px) {
  .dashboard {
    padding-top: 183px;
    padding-bottom: 115px;
  }

  .hero-game {
    display: block;
    position: absolute;
    top: 30px;
    right: 0;
    width: 280px;
    animation: pulseScale 1.8s ease-in-out infinite;
    transform-origin: center;
  }

  .hero-title {
    font-size: 52px;
    margin-bottom: 42px;
  }

  .product {
    border-radius: 12px;
    padding: 50px 100px;
    gap: 36px;
  }

  .product-logo {
    flex-shrink: 0;
  }

  .product-bonus {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }

  .product-link {
    flex-shrink: 0;
  }
}

/* best  */

#best {
  background-image:
    linear-gradient(270deg, rgba(69, 95, 128, 0) 0%, #1d00ad 100%),
    url(../img/best.webp);
  background-position: right center;
  background-size: cover;
  padding-bottom: 338px;
  position: relative;
  overflow: hidden;
}

.best-game {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  animation: pulseScale 1.8s ease-in-out infinite;
  transform-origin: center;
}

.best-game2 {
  display: none;
}

@keyframes pulseScale {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.best-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 44px;
  line-height: 105%;
  text-align: center;
  color: #1eff5d;
  margin-bottom: 28px;
}

.best-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 122%;
  text-align: justify;
  color: #fff;
}

@media screen and (min-width: 1440px) {
  #best {
    padding: 138px 0;

    padding-bottom: 180px;
    background-size: cover, contain;
  }

  .best-game {
    left: auto;
    bottom: -50px;
    right: -50px;
    max-width: none;
    width: 500px;
  }

  .best-game2 {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 180px;
    animation: pulseScale 2.8s ease-in-out infinite;
    transform-origin: center;
  }

  .best-content {
    width: 989px;
  }

  .best-title {
    font-size: 60px;
    text-align: start;
    margin-bottom: 60px;
  }

  .best-text {
    font-size: 20px;
  }
}

/* faq  */

#faq {
  position: relative;
  overflow: hidden;
  padding-bottom: 100px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #1d03a7 100%);
}

.faq-game2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  animation: pulseScale 2s ease-in-out infinite;
  transform-origin: center;
}

.faq-section-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 46px;
  line-height: 121%;
  text-align: center;
  color: #fff;
  margin-bottom: 64px;

  span {
    color: #1eff5d;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.faq-item {
  width: 100%;
  border-radius: 12px;
  padding: 18px 16px;
  background: linear-gradient(180deg, #88eca4 0%, #1eff5d 100%);
  transition: background-color 0.4s ease;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}

.faq-item-click {
  border-color: #ffbf00;
  box-shadow: -13px 2px 66px -8px rgba(255, 202, 79, 0.5);

  svg {
    stroke: #ffbf00;
  }
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: rotate(180deg);
  transition: transform 0.4s ease;

  svg {
    fill: none;
    stroke: #1d00ad;
    transition: stroke 0.4s ease;
  }
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 111%;
  color: #1d00ad;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #1d00ad;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ffbf00;
}

@media screen and (min-width: 1440px) {
  .faq-section-title {
    font-size: 52px;
  }

  .faq-game2 {
    width: 300px;
  }

  .faq-list {
    width: 1100px;
    margin: 0 auto;
  }

  .faq-item {
    border-radius: 12px;
    padding: 18px 28px;
  }
}

/* disclaimer  */

#disclaimer {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #1e02aa 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 130px;
}
.disc-game {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  animation: pulseScale 2s ease-in-out infinite;
  transform-origin: center;
}

.disclaimer-content {
  border: 1px solid #fff;
  border-radius: 25px;
  padding: 33px 31px;
  background: #0d59e3;

  h2 {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 32px;
    line-height: 125%;
    color: #fff;
    margin-bottom: 20px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 156%;
    color: #fff;
    margin-bottom: 28px;
  }
}

.pay {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

@media screen and (min-width: 768px) {
  #disclaimer {
    padding-bottom: 162px;
  }

  .pay {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (min-width: 1440px) {
  .disc-game {
    width: 320px;
  }

  .disclaimer-content {
    border-radius: 14px;
    padding: 28px 31px;
    width: 1097px;
    margin: 0 auto;

    h2 {
      font-size: 32px;
    }

    p {
      font-size: 18px;
    }
  }
}

/* footer */

.footer {
  padding: 40px 0px;
  background: #00215e;
}

.container-1 {
  padding-bottom: 33px;
  margin-bottom: 33px;
  border-bottom: 1px solid #fff;
}

.footer-desc {
  display: flex;
  flex-direction: column;
  gap: 33px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 167%;
    text-align: center;
    color: #fff;
  }
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 45px;

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    color: #fff;
    transition: color 0.4s ease;
  }

  a:hover {
    color: #1eff5d;
  }
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  text-align: center;
  color: rgba(168, 161, 138, 0.6);
}

.copyright-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 167%;
  text-align: center;
  color: #fff;
  margin-top: 20px;
}

@media screen and (min-width: 1440px) {
  .footer {
    padding: 64px 0;
  }

  .container-1 {
    padding-bottom: 42px;
    margin-bottom: 42px;
  }

  .footer-desc {
    gap: 42px;

    p {
      font-size: 12px;
    }
  }

  .footer-list {
    flex-direction: row;
    justify-content: center;
    gap: 64px;

    a {
      font-size: 14px;
    }
  }
}

.coins-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4; /* поверх контента */
}

/* контейнер монеты — отвечает ТОЛЬКО за падение */
.coin {
  position: absolute;
  top: -120px;
  left: 0;
  width: var(--size, 44px);
  height: var(--size, 44px);

  animation: coin-fall var(--fall, 12s) linear forwards;
}

/* внутренняя часть — отвечает ТОЛЬКО за вращение */
.coin__img {
  width: 100%;
  height: 100%;
  background: url("../img/coin.png") no-repeat center / contain;

  animation: coin-rot var(--rot, 18s) linear infinite;
}

@keyframes coin-fall {
  to {
    transform: translateY(calc(100vh + 220px));
  }
}

@keyframes coin-rot {
  to {
    transform: rotate(180deg); /* лёгкое, не “вертолёт” */
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(0);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
