@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

/* === Общие стили === */
body {
  margin: 0;
  padding: 0;
  background-color: #0d0f1a;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  overflow: hidden;
}

/* === Контейнеры === */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: relative;
  text-align: center;
  z-index: 1;
}

/* === Анимированный фон схемы === */
.circuit-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 300%;
  height: 300%;
  background-image: url('../assets/circuit-bg.png');
  background-repeat: repeat;
  background-size: 800px auto;
  background-position: 0 0;
  animation: scroll-bg 60s linear infinite;
  z-index: 0;
  opacity: 0.15;
}

@keyframes scroll-bg {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -800px 800px;
  }
}

/* === Контент === */
.content {
  position: relative;
  z-index: 2;
}

.logo {
  width: 180px;
  animation: float 4s ease-in-out infinite;
  margin-bottom: 20px;
}

/* === Заголовок с неоном === */
.glow {
  color: #00bfff;
  font-size: 3rem;
  text-align: center;
  text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff, 0 0 40px #00bfff;
  animation: pulseGlow 2s ease-in-out infinite;
  margin: 30px 0;
}

@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff, 0 0 40px #00bfff;
  }
  50% {
    text-shadow: 0 0 20px #00bfff, 0 0 40px #00bfff, 0 0 80px #00bfff;
  }
  100% {
    text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff, 0 0 40px #00bfff;
  }
}

/* === Анимация логотипа === */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* === Подзаголовки === */
h2 {
  font-weight: 500;
  font-size: 1.5rem;
  color: #ccc;
  margin: 0;
}

/* === Кнопка "Главная" === */
.back-button {
  display: inline-block;
  margin: 20px auto 10px;
  font-size: 1rem;
  color: #00bfff;
  text-decoration: none;
  border: 1px solid #00bfff;
  padding: 6px 16px;
  border-radius: 6px;
  transition: 0.3s ease;
  text-align: center;
}

.back-button:hover {
  background-color: #00bfff;
  color: #0d0f1a;
}
