/* Основной тёмный фон */
body {
  margin: 0;
  background: #000;
  overflow: hidden;
  font-family: 'Orbitron', sans-serif;
  color: #0ff;
}

/* Градиентный заголовок */
h1 {
  text-align: center;
  margin: 20px 0;
}
h1 span {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(120deg, #00ffff, #ff00ff, #ff007f);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s linear infinite;
}
/* Анимация смещения градиента у текста */
@keyframes gradientMove {
  to { background-position: 200% center; }
}

/* Контейнер */
#tower-container {
  position: relative;
  width: 100vw; height: 100vh;
}

/* Центральная башня */
#tower {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
/* Добавляем лёгкое свечение вокруг башни */
#tower svg {
  filter: drop-shadow(0 0 8px #0ff);
}

/* Орбиты (круги вокруг башни) */
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 50%;
  /* Плавная анимация вращения вокруг центра */
  animation: rotate 10s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* Сканирующий луч (сектор) */
.scanner {
  position: absolute;
  top: 50%; left: 50%;
  width: 350px; height: 350px;
  margin: -175px 0 0 -175px;
  /* Вращаем сектор */
  animation: scan 5s linear infinite;
}
.scanner::before {
  content: "";
  position: absolute; width:100%; height:100%;
  background: linear-gradient(90deg, rgba(0,255,255,0.6), transparent);
  /* Оставляем только сектор (треугольник от центра вправо) */
  clip-path: polygon(50% 50%, 100% 0%, 100% 100%);
}
@keyframes scan { 100% { transform: translate(-50%,-50%) rotate(360deg); } }

/* Враги/частицы */
.enemy {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  background: #f0f;
  border-radius: 50%;
  /* Добавляем свечение */
  box-shadow: 0 0 8px #f0f, 0 0 16px #f0f;
  transition: transform 0.2s;
}
/* Эффект «вспышки» при наведении */
.enemy:hover {
  box-shadow: 0 0 16px #0ff, 0 0 24px #0ff;
}

/* Адаптив: при маленькой ширине уменьшаем размеры */
@media (max-width: 600px) {
  h1 span { font-size: 2rem; }
  .scanner { width: 250px; height: 250px; margin: -125px; }
  .enemy { width: 8px; height: 8px; }
}

.hud-left {
  position: fixed;           /* Фиксированное расположение */
  top: 20%;
  left: 10px;
  width: 60px; height: 60px;
  border: 2px solid cyan;    /* Неоновая обводка */
  border-radius: 50%;        /* Круглая форма */
  box-shadow:
    0 0 10px cyan, 
    0 0 20px cyan;           /* Двойной блёстящий свет */
  animation: pulsate 2s infinite alternate;  /* Анимация пульсации */
}
@keyframes pulsate {
  from { box-shadow: 0 0 10px cyan, 0 0 20px cyan; }
  to   { box-shadow: 0 0 15px cyan, 0 0 30px cyan; }
}

.billboard {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #111;                  /* Тёмный фон */
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;                   /* для адаптивности */
  align-items: center;
  justify-content: space-around;
  padding: 10px 0;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
}
.billboard .tower-image {
  height: 60px;                      /* Высота заглушки */
}
.billboard-info p {
  margin: 5px 0;
  text-align: center;
}
.billboard-info .telegram-link {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px;
  background: #00ffff;               /* Циановая кнопка */
  color: #000;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 8px #00ffff, 0 0 16px #00ffff;
  transition: box-shadow 0.2s;
}
.billboard-info .telegram-link:hover {
  box-shadow: 0 0 12px #00ffff, 0 0 24px #00ffff;
}
.billboard-info .clan-id {
  font-family: monospace;
  font-size: 0.9em;
}

body {
  margin: 0;
  background-color: #000;                /* Очень тёмный фон */
  color: #fff;
  font-family: 'Orbitron', sans-serif;   /* Футуристичный шрифт */
}

h1 {
  color: #fff;
  text-shadow:
    0 0 5px rgba(255,0,255,1),
    0 0 15px rgba(255,0,255,0.7),
    0 0 30px rgba(255,0,255,0.5);
}

@media (max-width: 600px) {
  .billboard {
    flex-direction: column;  /* Ставим элементы друг под другом */
    text-align: center;
  }
  .hud-left, .hud-right {
    width: 40px; height: 40px;  /* Уменьшаем индикаторы */
  }
}