/* ===== Base styles ===== */

:root {
  --bg-deep: #160731;
  --bg-top: #3b0b74;
  --accent-orange: #ff8a29;
  --accent-orange-2: #ff4b2b;
  --accent-pink: #ff3b83;
  --accent-yellow: #ffd34f;
  --accent-green: #1dd584;
  --text-main: #ffffff;
  --text-muted: rgba(231, 237, 255, 0.75);
  --card-dark: rgba(10, 2, 33, 0.8);
  --radius-xl: 32px;
  --shadow-hero: 0 30px 80px rgba(0, 0, 0, 0.55);
  --container-width: 1320px;
  --transition-fast: 0.25s ease;
  --transition-med: 0.4s ease;
}
/*   НАСТРОЙКА SCROLL-BAR   */
::-webkit-scrollbar {
    width: 0.5em;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #FFD285;
}


::-webkit-scrollbar-thumb:active {
    background-color: #FFD285;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #341163 0, var(--bg-deep) 58%)
      fixed,
    #05010a;
}

/* ===== Layout helpers ===== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: 16px;
}

/* ===== Hero Section ===== */

.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset-inline: -20%;
  top: -40%;
  height: 120%;
 
  opacity: 0.75;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: -10%;
  bottom: -30%;
  height: 60%;

  opacity: 0.85;
  z-index: -2;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 32px 24px 48px;
  overflow: hidden;
}

/* ===== Hero background planets / meteors ===== */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.planet {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe9a3, #ff8a29);
  box-shadow: 0 0 32px rgba(255, 201, 120, 0.7);
}

.planet--small {
  width: 54px;
  height: 54px;
  top: 18%;
  right: 8%;
}

.planet--medium {
  width: 72px;
  height: 72px;
  top: 8%;
  left: 55%;
  background: radial-gradient(circle at 25% 25%, #ffc8f2, #ff3b83);
}

.planet--ring {
  width: 80px;
  height: 80px;
  bottom: 20%;
  right: 4%;
  background: radial-gradient(circle at 30% 20%, #ffe9a3, #ffb52e);
}

.planet--ring::before {
  content: "";
  position: absolute;
  inset: 45% -18%;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.7);
  border-left-color: transparent;
  border-right-color: transparent;
  transform: rotate(-18deg);
}

.meteor {
  position: absolute;
  width: 120px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.8)
  );
  opacity: 0.9;
}

.meteor--1 {
  top: 26%;
  left: 6%;
  transform: rotate(12deg);
}

.meteor--2 {
  top: 42%;
  left: 18%;
  transform: rotate(8deg);
}

/* ===== Hero text ===== */

.hero-text {
  max-width: 520px;
}

.hero-eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-yellow);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  margin-top: 6px;
  font-size: 0.98em;
  letter-spacing: 0.06em;
  background: linear-gradient(
    90deg,
    var(--accent-orange-2),
    var(--accent-orange)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.btn--primary {
  background: radial-gradient(circle at 0 0, #ffd34f, #ff8a29);
  color: #2a0c24;
  box-shadow: 0 12px 28px rgba(255, 105, 32, 0.6);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(255, 105, 32, 0.8);
}

.btn--ghost {
  margin-left: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--text-main);
  background: transparent;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* ===== Hero visual (astronaut + ракета) ===== */

.hero-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img{
  width: 500px;
}

.hero-visual__rocket-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 20%, #fdd36a, #ff4b86 40%, #341163);
  opacity: 0.9;
  z-index: -1;
  filter: blur(2px);
  transform: translateY(10px);
}

/* Заглушка под твою картинку */
.hero-visual__image {
  position: relative;
  width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: 40px;
  background:
    linear-gradient(145deg, #4d1bb1, #281179),
    radial-gradient(circle at 20% 0, #ff8a29, transparent 60%);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
  z-index: 1;
}

/* сюда потом просто вешаешь background-image */
.hero-visual__image span {
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.6);
}

/* маленький астронавт справа снизу (чисто силует) */
.hero-visual__astronaut-mini {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 82px;
  height: 140px;
  border-radius: 50px;
  background: linear-gradient(160deg, #ffd34f, #ff8a29 40%, #ff3b83 80%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(12px);
}

/* ===== Animations ===== */

.hero-visual__image,
.hero-visual__astronaut-mini,
.planet {
  animation: float 5.5s ease-in-out infinite;
}

.hero-visual__astronaut-mini {
  animation-delay: 0.4s;
}

.planet--small {
  animation-delay: 0.9s;
}
.planet--medium {
  animation-delay: 1.2s;
}
.planet--ring {
  animation-delay: 1.7s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(4px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 20px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero {
    padding-top: 88px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual__rocket-glow {
    width: 360px;
    height: 360px;
  }

  .hero-text {
    text-align: center;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .btn--ghost {
    margin-left: 0;
    margin-top: 12px;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    padding: 10px 16px 16px;
    background: rgba(5, 0, 25, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--transition-med);
  }

  .main-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 520px) {
  .hero-inner {
    padding-inline: 16px;
  }

  .hero-visual__image {
    width: 220px;
  }
}

.experience {
  position: relative;
  
  color: var(--text-main);
  padding: 120px 20px;
  overflow: hidden;
}

/* rocket слева снизу */
.experience__rocket {
  position: absolute;
  left: -80px;
  bottom: 40px;
  width: 200px;
  height: 140px;
  background: radial-gradient(circle at 60% 30%, #fff1b2, var(--accent-orange) 50%, transparent 70%);
  border-radius: 50%;
  opacity: 0.85;
  transform: rotate(-18deg);
  animation: rocketMove 8s linear infinite alternate;
}

/* контейнер */
.experience__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin: 0 auto;
  max-width: 1320px;
  padding: 0 16px;
}

/* текст */
.experience__text {
  /* max-width: 480px; */
}

.experience__title {
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 18px;
}

.experience__title span {
  background: linear-gradient(90deg, var(--accent-orange-2), var(--accent-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.experience__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* кнопка */
.experience__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #ffd55a, var(--accent-orange));
  color: #2b0b16;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 14px 34px rgba(255, 130, 40, 0.6);
}

.experience__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(255, 130, 40, 0.8);
}

/* визуал */
.experience__visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.experience__visual img{
  width: 500px;
}

.experience__astronaut {
  width: 280px;
  height: 380px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  animation: float 6s ease-in-out infinite;
  position: relative;
}

/* светящийся обод сверху */
.experience__astronaut::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 280px;
  height: 140px;
  transform: translateX(-50%);
  border-radius: 200px 200px 0 0;
  background: conic-gradient(from 210deg, transparent 0 10%, var(--accent-orange) 30%, var(--accent-pink) 60%, var(--accent-orange) 90%, transparent 100%);
  mask: radial-gradient(circle at 50% 150%, transparent 60%, #000 61%);
  -webkit-mask: radial-gradient(circle at 50% 150%, transparent 60%, #000 61%);
  opacity: 0.9;
  animation: float 6s ease-in-out infinite;
}

/* анимации */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rocketMove {
  0% { transform: translate(0,0) rotate(-18deg); }
  100% { transform: translate(20px,10px) rotate(-18deg); }
}

/* адаптив */
@media (max-width: 900px) {
  .experience__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .experience__astronaut {
    margin: 40px auto 0;
    width: 220px;
  }

  .experience__astronaut::before {
    width: 220px;
    height: 110px;
  }
}




.section-title {
  font-size: 38px;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 14px;
  text-align: center;
}

.section-title span {
  background: linear-gradient(90deg, var(--accent-orange-2), var(--accent-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  line-height: 1.6;
  text-wrap: balance;
}

/* HOW IT WORKS */
.missions__steps {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  text-align: center;
}

.missions__icon {
  font-size: 22px;
  font-weight: 700;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
  box-shadow: 0 8px 24px rgba(255, 120, 70, 0.4);
}

.missions__title {
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* PLANS */
.plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.plans__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: 0.3s;
}

.plans__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.plans__price {
  font-size: 34px;
  margin: 0 0 6px;
}

.plans__tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.plans__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.plans__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: radial-gradient(circle at 0 0, #ffd55a, var(--accent-orange));
  color: #2b0b16;
  box-shadow: 0 12px 28px rgba(255, 130, 40, 0.6);
}

.plans__btn:hover {
  transform: translateY(-2px);
}

/* DESTINATIONS */
.destinations__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.destination__img {
  border-radius: 16px;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.destination__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CREW */
.crew__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  text-align: center;
}

.crew__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 16px;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.crew__photo img{
  width: 90px;
  height: 100%;
  object-fit: cover;
}

.crew__card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  transition: 0.3s;
}

.crew__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
}

footer{
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footerContainer{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.socialIcons{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    i{
        font-size: 24px;
        color: #FFB942;
    }
}

      .intoLinks {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        text-align: center;
        span {
          width: 8px;
          height: 8px;
          background-color: #fff;
          border-radius: 50%;
        }
        a {
          transition: 0.3s all linear;
          transform-origin: left;
          text-decoration: none;
          color: #fff;
        }
        a:hover {
          text-decoration: underline;
        }
      }
      @media screen and (max-width: 750px) {
        .intoLinks {
          flex-direction: column;
          span {
            display: none;
          }
        }
      }

.copy{
    text-align: center;
    opacity: .5;
}


@media (max-width: 800px) {
    .hero-visual{
        display: none;
    }
    .hero{
      height: 60vh;
    }  
    .experience__visual img{
      width: 280px;
    }
    .experience__rocket{display: none;}

}