body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; 
}

body {
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top right, #7489ff, #b8c2ff);
  color: white;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}
/* ===== PAGE WRAPPER ===== */
.about-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.back-button {
  position: absolute;
  top: 40px;
  left: 20px;
  z-index: 1000; /* <- главное */
  background: #4460ff;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}
.back-button:hover {
  background: #5871ff;
}
/* ===== HEADER ===== */
.about-page .header {
  padding: 55px 15px 0px;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;

  margin-bottom: 10px;
  text-shadow: 2px 2px 6px #000;
}

.main-title {
  font-size: 28px;

}

.about-page .seo-block {
  background: rgba(255,255,255,0.08);
  border-radius: 30px;
  padding: 0px 40px;
  margin: 26px auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.12);
}
.about-page .payment-steps-section h2 {
  margin: 25px 0 0px;
}

.seo-block p.contacts {
  text-indent: 0;
  text-align: center;
  font-weight: bold;
}

.seo-block p.contacts a {
  color: #5871ff;
}

.seo-block p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: justify;
  text-indent: 1.5em;
}
.wrapper {
  flex: 1;
  padding-top: 0;
  box-sizing: border-box;
  width: 100%;
}
 
 footer {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 20px 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
}

    footer a.button {
      display: inline-block;
      background: #4460ff;
      color: #ffffff;
      text-decoration: none;
      padding: 10px 20px;
      border-radius: 20px;
      font-size: 15px;
      font-weight: bold;
      cursor: pointer;
      margin-bottom: 20px;
    }

    footer .footer-grid {
      max-width: 900px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      justify-content: center;
      font-size: 13px;
      padding: 0 20px;
    }

    footer h3 {
      border-bottom: 1px solid rgba(255,255,255,0.2);
      padding-bottom: 5px;
      font-size: 15px;
      color: white;
    }

    footer ul {
      list-style: none;
      padding: 0;
      margin: 0;
      color: white;
    }

    .social-icons {
      display: flex;
      gap: 20px;
      justify-content: center;
      margin-top: 10px;
    }

    .social-icons img {
      width: 30px;
      height: 30px;
    }
body::before {
  content: "";
  position: fixed;
  top: 100px;
  right: 30px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 172, 253, 0.4), transparent);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  bottom: 80px;
  left: 60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(119, 61, 255, 0.4), transparent);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
/* ===== MOBILE ===== */
@media (max-width: 768px) {
.about-page .header {
    padding: 20px 15px 20px !important;
  }

  .main-title {
    font-size: 22px;
  }

  .seo-block {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .seo-block p {
    font-size: 15px;
    line-height: 1.55;
    text-indent: 1em;
  }
  header .logo-text {
  font-size: 22px;
  line-height: 1.3;
  margin-top: 0;
}

/* DESKTOP — main title */
html body header h1.main-title {
  font-size: 28px;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px #000;
}

}
@media (max-width: 768px) {
  .payment-steps-section::before,
  .payment-steps-section::after {
    content: "• • • • • • • • • • • •";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 20px;
    letter-spacing: 8px;
    color: #5871ff;
    width: fit-content;
  }

  .payment-steps-section::before { top: 8px; }
  .payment-steps-section::after  { bottom: 10px; }
}
@media (max-width: 380px) {
  .payment-steps-section::before,
  .payment-steps-section::after {
    content: "• • • • • • • • •";
    font-size: 16px;
    letter-spacing: 5px;
  }
}
@media (max-width: 480px) {
  .payment-steps-section::before,
  .payment-steps-section::after {
    content: "• • • • • • • • • •";
    font-size: 18px;
    letter-spacing: 6px;
  }
}