@font-face {
  font-family: "RoadRadio";
  src: url("../fonts/roadradio_bold.otf") format("opentype");
}

html{
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "RoadRadio";
  background-color: black;
  color: white;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  --x: 50%;
  --y: 50%;
  --radius: 180px;

  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px; /* размер ячейки сетки */
}

/* ===== ФОН С ОБЪЕКТАМИ ===== */
.orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: float 8s infinite ease-in-out;
  will-change: transform;
}

.orb-1 {
  background: #ffffff;
  top: 20%;
  left: 10%;
}

.orb-2 {
  background: #ffffff;
  bottom: 10%;
  right: 15%;
  animation-delay: 3s;
}

/* ===== КОНТЕНТ ===== */
header {
  position: relative;
  z-index: 1;
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.logo {
  font-size: 64px;
}

.separator {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 1px;
  background-color: white;
}

.heroes {
  position: relative; /* контейнер для absolute героев */
  height: 100vh;      /* высота экрана */
}

.hero {
  position: absolute;
  z-index: 1;
  padding: 80px 40px;
  max-width: 800px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 40px;
  text-align: center;
}

.hero-1 {
  top: 5%;
  animation: fadeSlideLeft 1s ease-out forwards;
}

.hero-2 {
  bottom: 20%;
  right: 8%;
  animation: fadeSlideRight 1s ease-out forwards;
}

.cta {
  font-family: inherit;
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 40px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta:hover {
  background: white;
  color: black;
}

.secure-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== АНИМАЦИИ ===== */
@keyframes float {
  0%   { transform: translateY(0) translateX(0); }
  50%  { transform: translateY(-40px) translateX(30px); }
  100% { transform: translateY(0) translateX(0); }
}

@keyframes pulse {
  0%   { opacity: 0.1; }
  50%  { opacity: 0.6; }
  100% { opacity: 0.1; }
}

@keyframes fade {
  0%   { opacity: 0.1; }
  100% { opacity: 1;   }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}










/* ===== СТРАНИЦА ОПЛАТЫ ===== */
.payment {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fade 1s ease-out forwards;
}

.payment-header h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.payment-header p {
  font-size: 18px;
  opacity: 0.7;
}

.payment-footer {
  margin-top: 80px;
  font-size: 14px;
  opacity: 0.5;
}





/* ===== LEGAL PAGES ===== */

.legal {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 80px auto;
  padding: 40px;
  line-height: 1.6;
}

.legal h1 {
  font-size: 42px;
  margin-bottom: 40px;
  text-align: center;
}

.legal h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal p {
  opacity: 0.85;
  margin-bottom: 15px;
}

.legal ul {
  margin-left: 20px;
  margin-bottom: 20px;
  opacity: 0.85;
}

.legal li {
  margin-bottom: 8px;
}

.links {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 80px auto;
  padding: 40px;
  line-height: 1.6;
  align-items: center
}

.links a {
  text-align: center;
}