@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-SemiBold.woff2") format("truetype");
  font-weight: normal;
  font-style: normal;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #505871;
}

::-webkit-scrollbar-track {
  background-color: #2a2e3b;
}

html,
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #002217;
  background-image: url("../assets/bg-images/bg-desktop.webp");
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

.main {
  text-align: center;
}

* {
  font-family: inherit;
  font-size: 16px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1128px;
  margin: 0 auto;
}

.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  z-index: 1000;
  padding: 10px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__logo .logo__icon-gif img {
  max-width: 150px;
  max-height: 40px;
}
.header__auth {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__auth .auth__promo-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fce73d;
  text-align: center;
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  text-decoration: none;
}
.header__auth .auth__promo-link:hover {
  cursor: pointer;
  opacity: 0.8;
}
@media (max-width: 768px) {
  .header__auth .auth__promo-link .promo-text-desktop {
    display: none;
  }
}
.header__auth .auth__promo-link .promo-text-mobile {
  display: none;
}
@media (max-width: 768px) {
  .header__auth .auth__promo-link .promo-text-mobile {
    display: inline;
  }
}
.header__auth .auth__register {
  border-radius: 8px;
  border: 1px solid #ffe300;
  padding: 12px 32px;
  color: #ffe300;
  cursor: pointer;
}
.header__auth .auth__register:hover {
  background: #ffe300;
  color: #002d1f;
}
.header__auth .auth__login {
  border-radius: 8px;
  background: #ffe300;
  padding: 12px 32px;
  color: #002d1f;
  cursor: pointer;
}
.header__auth .auth__login:hover {
  background: none;
  color: #ffe300;
}
@media (max-width: 768px) {
  .header__logo, .header__auth {
    gap: 5px;
  }
  .header .logo__icon-gif img {
    max-width: 100px;
    max-height: 30px;
  }
  .header .auth__register,
  .header .auth__login {
    padding: 6px 12px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .header .logo__icon-gif img {
    max-width: 80px;
    max-height: 25px;
  }
  .header .auth__register,
  .header .auth__login {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.star-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.star {
  position: absolute;
  width: auto;
  height: auto;
  opacity: 0;
  animation: twinkle 5s infinite;
  z-index: -1;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
.hero-text {
  margin: 50px auto;
  text-align: start;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
@media (max-width: 767px) {
  .hero-text {
    justify-content: center;
  }
}
.hero-text .rocket {
  max-width: 400px;
  max-height: 400px;
  animation: shake 0.5s infinite;
  bottom: 20px;
  right: 20px;
}
@media (max-width: 767px) {
  .hero-text .rocket {
    display: none;
  }
}
@keyframes shake {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}
@media (max-width: 767px) {
  .hero-text {
    margin: 50px auto;
    text-align: center;
  }
}
.hero-text h1 {
  color: #ffe300;
  text-shadow: 0px 4px 30px rgba(0, 255, 147, 0.6);
  font-family: Poppins;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  z-index: 1000;
}
@media (max-width: 767px) {
  .hero-text h1 {
    font-size: 36px;
  }
}
.hero-text h1 span {
  color: #fff;
  font-family: Poppins;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}
@media (max-width: 767px) {
  .hero-text h1 span {
    font-size: 36px;
  }
}
.hero-text h2 {
  color: #fff;
  font-family: Poppins;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  z-index: 1000;
}
@media (max-width: 767px) {
  .hero-text h2 {
    font-size: 36px;
  }
}
.hero-text h3 {
  color: #fff;
  text-shadow: 0px 4px 12px #015434;
  font-family: Poppins;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}
@media (max-width: 767px) {
  .hero-text h3 {
    font-size: 18px;
  }
}

.head {
  font-size: 48px;
  color: #fff;
}
@media (max-width: 767px) {
  .head {
    font-size: 30px;
  }
}

.subhead {
  font-size: 48px;
  color: #fff;
}
@media (max-width: 767px) {
  .subhead {
    font-size: 30px;
  }
}

.missions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  z-index: 1000;
}
.missions div {
  text-align: center;
  border-radius: 32px;
  border: 1px solid #228e5b;
  background: linear-gradient(180deg, #042a1f 0%, #013c2c 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 calc(33.333% - 16px);
  height: 200px;
  z-index: 1000;
}
.missions div p {
  padding: 50px 50px;
  color: #fff;
  text-align: center;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  font-size: 20px;
  margin: 0;
}
@media (max-width: 767px) {
  .missions div {
    flex: 1 1 100%;
    height: 120px;
  }
  .missions div p {
    padding: 25px 50px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 767px) {
  .missions {
    gap: 8px;
    margin-left: 15px;
    margin-right: 15px;
  }
}

.btn {
  display: inline-block;
  border-radius: 8px;
  background: #ffe300;
  padding: 12 32;
  box-shadow: 0px 4px 30px 0px rgba(0, 240, 147, 0.2);
  padding: 12px 32px;
  color: #002d1f;
  margin-top: 15px;
  text-align: center;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 20px;
}
.btn:hover {
  opacity: 0.8;
}

.planet-1 {
  bottom: 10px;
  right: 50px;
  width: 150px;
  height: 150px;
  animation: rotate 15s linear infinite;
  transform-style: preserve-3d;
  transform-origin: center;
}
@media (max-width: 767px) {
  .planet-1 {
    display: none;
  }
}

.planet-4 {
  position: absolute;
  top: 500px;
  left: 100px;
  width: 150px;
  height: 150px;
  animation: rotate 15s linear infinite;
  transform-style: preserve-3d;
  transform-origin: center;
}
@media (max-width: 767px) {
  .planet-4 {
    display: none;
  }
}

@keyframes rotate {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(270deg);
  }
}
/* Стили для видео фона */
.video-background {
  position: fixed; /* Фиксированное позиционирование для фонового видео */
  top: 0;
  left: 0;
  width: 100%; /* Ширина видео на весь экран */
  height: 100%; /* Высота видео на весь экран */
  overflow: hidden; /* Скрывает любые переполняющие части видео */
  z-index: -1; /* Помещает видео за контент */
}

.video-bg {
  width: 100%; /* Ширина видео на весь экран */
  height: 100%; /* Высота видео на весь экран */
  -o-object-fit: cover;
     object-fit: cover; /* Обеспечивает, чтобы видео покрывало весь контейнер */
}