.header {
  background: linear-gradient(90deg, #12002a, #23004e);
  border-bottom: 3px solid #ff00ff;
  padding: 15px 0;
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 9999;
}

.header-content {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content a {
  line-height: 100%;
    max-width: 280px;
  width: 100%;
}
.header-logo {
  width: 100%;
  height: auto;
  display: block;
}
.header-nav .header-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.header-nav .header-menu>li {
  position: relative;
}

.header-nav .header-menu>li>a {
  color: #0ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 5px 10px;
  text-shadow:
    0 0 8px #0ff,
    0 0 15px #ff00ff;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  user-select: none;
}

.header-nav .header-menu>li>a:hover,
.header-nav .header-menu>li>a:focus {
  color: #ff00ff;
  text-shadow:
    0 0 12px #ff00ff,
    0 0 25px #ff00ff,
    0 0 40px #ff00ff;
}

.header-nav .header-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a0033;
  border: 2px solid #ff00ff;
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  min-width: 180px;
  box-shadow:
    0 0 15px #ff00ff,
    inset 0 0 20px #ff00ff;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.header-nav .header-has-submenu:hover>.header-submenu,
.main-nav .header-has-submenu:focus-within>.header-submenu {
  opacity: 1;
  pointer-events: auto;
}

.header-nav .header-submenu li {
  margin: 0;
}

.header-nav .header-submenu li a {
  box-sizing: border-box;
  display: block;
  padding: 10px 20px;
  color: #0ff;
  text-decoration: none;
  font-size: 0.95rem;
  text-shadow:
    0 0 5px #0ff;
  transition: background-color 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
  user-select: none;
}

.header-nav .header-submenu li a:hover,
.header-nav .header-submenu li a:focus {
  color: #ff00ff;
  text-shadow:
    0 0 10px #ff00ff,
    0 0 20px #ff00ff;
  outline: none;
}

.header-nav .header-has-submenu>a::after {
  content: " ▼";
  font-size: 0.8rem;
  color: #ff00ff;
  text-shadow: 0 0 6px #ff00ff;
  user-select: none;
  margin-left: 4px;
}

.header-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
}

/* Бургер скрыт по умолчанию */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 3px;
  background: #00FFF7;
  border-radius: 2px;
}

@media (max-width: 991px) {
  .burger-menu {
    display: flex;
  }

  .header-nav {
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a0033;
    border-top: 2px solid #00FFF7;
    display: none;
    flex-direction: column;
    padding: 20px;
    z-index: 99;
  }

  .header-nav.open {
    display: flex;
  }

  .header-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .header-submenu {
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding-left: 15px;
  }
}

@media (max-width: 600px) {
  .header-content a {
 max-width: 180px;
  }
}