.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.header-desc {
  padding: 10px 0;
  backdrop-filter: blur(4px);
  background: rgba(84, 0, 201, 0.9);

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 133%;
    color: #fff;
  }
}

.header-nav {
  padding: 20px 0;
  backdrop-filter: blur(12px);
  background: rgba(62, 67, 109, 0.8);
  border-bottom: 1px solid #a80eb9;
}

.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: #ffbf00;
  }
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: #ffbf00;
}

@media screen and (min-width: 1440px) {
  .menu-btn {
    display: none;
  }

  .page-nav {
    display: block;
  }

  .header-desc {
    p {
      font-size: 12px;
      text-align: center;
    }
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 50px;
  z-index: 8;
  transform: translateY(-100%);
  transition: transform 1s ease;
  background: rgba(131, 55, 239, 0.9);
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 50%;
  border: 1px solid #e3e5e8;
  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: #fcfcfd;
  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: #17161a;
  margin-bottom: 22px;
}

.popup-btn {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #fff;

  display: block;
  width: fit-content;
  border-radius: 6px;
  padding: 10px 16px;
  margin: 0 auto;
  background: rgba(84, 0, 201, 0.9);
  text-align: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  color: #ffbf00;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 17px;
}

@media screen and (min-width: 1440px) {
  .page-popup {
    border-radius: 12px;
    padding: 21px;
    width: 1000px;
  }

  .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;
  background-image: url(../img/bg.jpg);
  background-position: center;
  background-size: cover;
  backdrop-filter: opacity(0.3);
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 64px;
}

.product {
  border: 1px solid #00371d;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.4);
  background-image: linear-gradient(
    180deg,
    rgba(84, 0, 201, 0.9) 0%,
    rgba(41, 0, 99, 0.9) 100%
  );

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: background-image 0.4s ease, box-shadow 0.4s ease;
}

.product:hover {
  background: linear-gradient(
    180deg,
    rgba(41, 0, 99, 0.9) 0%,
    rgba(27, 3, 60, 0.9) 100%
  );
  box-shadow: -13px 2px 66px -8px rgba(255, 202, 79, 0.5);
}

.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: 700;
    font-size: 24px;
    line-height: 133%;
    text-align: center;
    color: #fff;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #e8ba30;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #fff;
  }
}

.product-link {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #0f0f0f;

  display: block;
  width: fit-content;
  border-radius: 10px;
  padding: 12px 56px;

  transition: color 0.3s ease;
  box-shadow: 0 0 40px 0 rgba(140, 204, 51, 0.15);
  background: linear-gradient(166deg, #e8ba30 0%, #ff5f00 100%);
}

.product-link:hover {
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .product {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1440px) {
  .product {
    border-radius: 12px;
    padding: 64px;
    gap: 36px;
  }

  .number {
  }

  .product-logo {
    flex-shrink: 0;
  }

  .product-bonus {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

    p {
      font-size: 28px;
    }
  }

  .product-link {
    flex-shrink: 0;
  }
}

/* best  */

#best {
  background-color: rgba(84, 0, 201, 0.9);
  background-image: linear-gradient(
      360deg,
      rgba(34, 18, 57, 0.9) 0%,
      rgba(14, 27, 21, 0) 100%
    ),
    url(../img/top.png);
  background-position: bottom right;
  background-size: cover, auto;
  background-repeat: no-repeat;
  padding-bottom: 400px;
}

@media screen and (min-width: 1440px) {
  #best {
    padding-bottom: 180px;
    background-size: cover, contain;
  }

  .best-content {
    width: 648px;
  }
}

/* faq  */

#faq {
  background: rgba(168, 161, 138, 0.6);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  width: 100%;
  border-radius: 12px;
  padding: 18px 16px;
  background: rgba(84, 0, 201, 0.9);
  transition: background-color 0.4s ease;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.faq-item-click {
  border-color: #a80eb9;
  background-color: rgba(62, 6, 140, 0.9);
}

.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: #fff;
    transition: stroke 0.4s ease;
  }
}

.faq-btn:hover {
  svg {
    stroke: #ffbf00;
  }
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-title {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 156%;
  color: #f1eee4;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fbfbfb;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #a80eb9;
}

@media screen and (min-width: 1440px) {
  .faq-list {
    width: 965px;
    margin: 0 auto;
  }

  .faq-item {
    border-radius: 12px;
    padding: 18px 28px;
  }
}

/* disclaimer  */

#disclaimer {
  background-image: url(../img/pay.png);
  background-position: center;
  background-size: cover;
}

.disclaimer-content {
  border: 1px solid rgba(130, 148, 177, 0.5);
  border-radius: 14px;
  padding: 28px 16px;
  background: rgba(3, 124, 60, 0.02),
    linear-gradient(
      92deg,
      rgba(130, 148, 177, 0) 0%,
      rgba(130, 148, 177, 0.12) 50.52%,
      rgba(130, 148, 177, 0) 100%
    );

  h2 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 125%;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 18px;
    line-height: 156%;
    text-align: center;
    color: #fff;
    margin-bottom: 28px;
  }
}

.pay {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}

@media screen and (min-width: 768px) {
  .pay {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (min-width: 1440px) {
  .disclaimer-content {
    border-radius: 14px;
    padding: 28px 31px;
    width: 1097px;
    margin: 0 auto;

    h2 {
      font-size: 32px;
      text-align: start;
    }

    p {
      font-size: 18px;
      text-align: start;
    }
  }
}

/* footer */

.footer {
  border-top: 1px solid #a80eb9;
  padding: 40px 0px;
  background: #3e436d;
}

.container-1 {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #f1eee4;
}

.footer-desc {
  h3 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 143%;
    text-align: center;
    color: #ffbf00;
    margin-bottom: 12px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 167%;
    text-align: center;
    color: #f1eee4;
  }

  a {
    transition: color 0.4s ease;
  }

  a:hover {
    color: #ffbf00;
  }
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 20px;
  gap: 32px;

  a {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    color: #f1eee4;
    transition: color 0.4s ease;
  }

  a:hover {
    color: #ffbf00;
  }
}

.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);
}

@media screen and (min-width: 1440px) {
  .footer {
    padding: 64px 0;
  }

  .footer-desc {
    h3 {
      font-size: 16px;
      margin-bottom: 12px;
    }

    p {
      font-size: 14px;
    }
  }

  .footer-list {
    flex-direction: row;
    justify-content: center;
    gap: 64px;

    a {
      font-size: 14px;
    }
  }

  .footer-text {
    font-size: 12px;
  }
}

.coins-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2; /* поверх контента */
}

/* контейнер монеты — отвечает ТОЛЬКО за падение */
.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;
}
