/* Общие настройки */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: radial-gradient(circle at top, #0b0c1a, #1a1a2e);
  color: #ffffff;
}

h2 {
  text-align: center;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 a {
  text-decoration: none;
  color: #f0f0f0;
  display: flex;
  align-items: center;
}

header .header-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: -10px;
  margin-right: 20px;
  border: 2px solid #787878;
  box-shadow: 0 0 10px rgba(255,255,0,0.5);
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #ffd700;
}

/* HERO SECTION */
.hero {
  background: url('images/planet.jpg') no-repeat center;
  background-size: cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px #000;
}

.hero p {
  font-size: 24px;
  text-shadow: 1px 1px 8px #000;
}

.btn {
  margin-top: 30px;
  padding: 15px 30px;
  font-size: 20px;
  background-color: #ffd700;
  color: #000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: #ffea00;
}

/* ABOUT SECTION */
#about {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 100px 50px;
}

#about img {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  margin: 20px;
}

#about .about-text {
  flex: 1;
  min-width: 300px;
  margin: 20px;
}

#about .about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

#about .about-text p {
  font-size: 18px;
  line-height: 1.6;
}

/* ROADMAP SECTION */
#roadmap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  padding: 50px 20px;
}

#roadmap .roadmap-text {
  flex: 1;
  min-width: 250px;
  margin: 20px;
}

#roadmap img {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
  margin: 20px;
}

.roadmap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
}

.roadmap .item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin: 10px 0;
  border-radius: 15px;
  width: 100%;
  transition: 0.3s;
}

.roadmap .item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* BUY SECTION */
#buy {
  text-align: center;
  padding: 50px 20px;
}

#buy .buy-icon {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 2px solid #787878;
  box-shadow: 0 0 10px rgba(255,255,0,0.5);
}

/* FOOTER */
footer {
  padding: 50px 20px;
  background-color: rgba(0,0,0,0.8);
  text-align: center;
  font-size: 14px;
}

/* ----------------- МЕДИА-ЗАПРОСЫ ДЛЯ МОБИЛЬНЫХ ----------------- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 10px 20px;
  }
  
  nav a {
    margin: 5px 0;
  }

  .hero h2 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .btn { font-size: 16px; padding: 10px 20px; }

  #about {
    flex-direction: column;
    padding: 50px 20px;
    text-align: center;
  }
  #about img, #about .about-text {
    margin: 10px auto;
    width: 100%;
    max-width: 400px;
    height: auto; /* добавлено для сохранения пропорций */
  }

  #roadmap {
    flex-direction: column;
    padding: 20px 10px;
  }
  #roadmap .roadmap-text {
    margin: 20px auto;
    width: 100%;
  }
  #roadmap img {
    width: 100%;
    max-width: 400px; /* ограничиваем максимальную ширину */
    height: auto; /* сохраняем пропорции */
    margin: 20px auto;
  }

  #buy .buy-icon {
    width: 150px;
    height: 150px;
  }
}
  .sit {
    margin-top:10px;
    text-align:center; 
    padding: 20px; 
    background:#111; 
    color:#fff;
  }