body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: sans-serif;
  overflow: hidden;
  background: #000014;
  color: white;
}

canvas#starCanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 60px 20px;
}

.content {
  max-width: 400px;
  text-align: left;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.5rem;
  color: #fff27a;
  margin-bottom: 1rem;
}

p {
  max-width: 500px;
  line-height: 1.5;
}

.join-btn {
  padding: 12px 24px;
  font-size: 1rem;
  background: linear-gradient(90deg, #3fa9ff, #587eff);
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  margin-top: 30px;
}

.moon-orbit-container {
  width: min(700px, 80vh);
  height: min(700px, 80vh);
  transform: translateX(-40px);
}

.moon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: none;

  filter:
    drop-shadow(0 0 5px rgba(100, 190, 255, 0.45))
    drop-shadow(0 0 12px rgba(70, 160, 230, 0.2));
}

.satellite-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 660px;
  height: 660px;
  margin-left: -300px;
  margin-top: -300px;
  border-radius: 50%;
  animation: rotate 80s linear infinite;
animation-delay: -40s;
  z-index: 2;
 
}

.satellite {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: auto;
  z-index: 10;
  filter:
    drop-shadow(0 0 15px yellow)
    drop-shadow(0 0 30px #ffff33)
    drop-shadow(0 0 60px #ffee00);
  animation: pulseGlow 2s ease-in-out infinite;
}



.button-wrapper {
  margin-top: 30px;
}

/* Анимации */

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% {
    filter:
      drop-shadow(0 0 10px yellow)
      drop-shadow(0 0 30px #ffff33)
      drop-shadow(0 0 60px #ffee00);
  }
  50% {
    filter:
      drop-shadow(0 0 20px #fff95c)
      drop-shadow(0 0 50px #ffee33)
      drop-shadow(0 0 100px #ffff00);
  }
}

@keyframes conePulse {
  0%, 100% {
    opacity: 0.8;
    transform: translateX(-50%) scaleY(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1.1);
  }
}

@keyframes flash {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.5); }
}
.satellite-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 10;
}

.satellite {
  width: 80px;
  transition: filter 0.3s ease;
  filter:
    drop-shadow(0 0 10px #ffd700)
    drop-shadow(0 0 25px #ffff66)
    drop-shadow(0 0 40px #ffea00);
  animation: pulseGlow 2s ease-in-out infinite;
}

.satellite:hover {
  filter:
    drop-shadow(0 0 10px #00ccff)
    drop-shadow(0 0 25px #33e0ff)
    drop-shadow(0 0 40px #00ffff);
  animation: none; /* чтобы не мешала анимация при наведении */
}





@keyframes conePulse {
  0%, 100% {
    opacity: 0.8;
    transform: translateX(-50%) scaleY(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1.1);
  }
}

@keyframes flash {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.5); }
}
.satellite-beam {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-top: 280px solid rgba(255, 255, 100, 0.3);
  filter: blur(5px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
  animation: conePulse 3s infinite ease-in-out, flash 2s infinite ease-in-out;
}

.target-dot {
  position: absolute;
  top: 36.5%;
  left: 91%;
  width: 12px;
  height: 12px;
  background:rgb(238, 255, 0);
  border-radius: 50%;
  box-shadow: 0 0 10px red;
  animation: blink 1s infinite;
  z-index: 3;
}
.target-dot2 {
  position: absolute;
  top: 32%;
  left: 32%;
  width: 12px;
  height: 12px;
  background: rgb(238, 255, 0);   
  border-radius: 50%;
  box-shadow: 0 0 10px red;
  animation: blink 1s infinite;
  z-index: 3;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}



/* Видео на весь экран */
.fullscreen-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}

/* Кнопка включения звука */
.sound-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  padding: 10px 20px;
  font-size: 16px;
  background: #00ccff;
  border: none;
  color: black;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 10px #00ccff;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px #00ccff; }
  50% { transform: scale(1.1); box-shadow: 0 0 20px #00ccff; }
  100% { transform: scale(1); box-shadow: 0 0 10px #00ccff; }
}

/* Боковой заголовок */
.side-title {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 3;
  font-size: 18px;
  font-weight: bold;
  color: #00ccff;
  text-shadow: 0 0 10px #00ccff;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #00ccff; }
  to { text-shadow: 0 0 20px #00ccff, 0 0 30px #00ccff; }
}

.target-dot,
.target-dot2 {
  width: 15px;
  height: 15px;
  background-color: yellow;
  border-radius: 50%;
  box-shadow: 0 0 8px yellow;
  transition: 0.3s ease;
  position: absolute; /* если нужно позиционировать */
  cursor: pointer;
}

/* 🔵 Эффект при наведении */
.target-dot:hover,
.target-dot2:hover {
  background-color: #00ccff;         /* Синий цвет */
  box-shadow: 0 0 12px #00ccff;      /* Синее свечение */
}
.earth-icon {
  position: fixed;
  top: 100px;
  left: 500px;
  width: 120px;
  height: auto;
  z-index: 0; /* Поставим ниже, чем у Луны */
  opacity: 0.95;
  animation: floatEarth 6s ease-in-out infinite;
}



@keyframes floatEarth {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}



.container {
  min-height: 100vh;
  box-sizing: border-box;
  flex-wrap: nowrap;
  padding: 20px;
}

/* Размер и положение планеты RUST BREEZE */

.moon-orbit-container {
  position: relative;
  width: 900px;
  height: 900px;
  flex: 0 0 900px;

  left: 50px;
  transform: none;

  /* Едва заметное движение всей планеты */
  animation: floatRustBreeze 18s ease-in-out infinite;
}

.moon-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  transform: rotate(-35deg);
}

/* Плавное движение вверх-вниз */
@keyframes floatRustBreeze {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}
/* Подстройка компьютерной версии */
@media screen and (min-width: 769px) {
  .container {
    min-height: 100vh;
    padding: 20px;
    gap: min(60px, 3.125vw);
    flex-wrap: nowrap;
  }

  .content {
    flex: 0 0 min(400px, 20.833vw);
    max-width: min(400px, 20.833vw);
  }

  .content h1 {
    font-size: min(3rem, 2.5vw);
  }

  .content h2 {
    font-size: min(1.5rem, 1.25vw);
  }

  .content p {
    font-size: min(1rem, 0.833333vw);
  }

  .join-btn {
    font-size: min(1rem, 0.833333vw);
    padding: min(12px, 0.625vw) min(24px, 1.25vw);
    margin-top: min(30px, 1.5625vw);
  }

  .moon-orbit-container {
    width: min(900px, 46.875vw, 83.333vh);
    height: min(900px, 46.875vw, 83.333vh);
    flex: 0 0 min(900px, 46.875vw, 83.333vh);
    left: min(50px, 2.604167vw);
  }

  .satellite-orbit {
    width: 73.333333%;
    height: 73.333333%;
    margin-left: -33.333333%;
    margin-top: -33.333333%;
  }

  .satellite {
    width: min(80px, 4.166667vw, 7.407407vh);
  }
}