.npl-header {
  background: var(--npl-card);
  position: relative;
  z-index: 50;
}

.npl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.npl-logo img {
  max-height: 50px;
  width: auto;
}

.npl-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 36px;
}

.npl-nav__list a {
  color: #d8d0ff;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.npl-nav__list a:hover,
.npl-nav__list .current-menu-item a,
.npl-nav__list .current_page_item a {
  color: var(--npl-pink);
}

.npl-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.npl-hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  border-radius: 2px;
}

.npl-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.npl-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.npl-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.npl-nav__close {
  display: none;
}

@media (max-width: 880px) {
  .npl-hamburger {
    display: flex;
  }
  .npl-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 6, 50, 0.97);
    padding: 100px 24px 32px;
    z-index: 40;
  }
  .npl-nav.is-open {
    display: block;
    animation: nplNavIn 0.25s ease both;
  }
  .npl-nav__list {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .npl-nav__list a {
    font-size: 18px;
  }
  .npl-nav__close {
    display: flex;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    transition:
      background 0.15s ease,
      transform 0.15s ease;
  }
  .npl-nav__close:hover {
    background: var(--npl-pink);
    border-color: var(--npl-pink);
    transform: rotate(90deg);
  }
}

@keyframes nplNavIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
