.bn-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 1px solid rgba(0, 255, 157, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 17, 14, 0.92), rgba(9, 13, 11, 0.9)),
    radial-gradient(circle at 14% 20%, rgba(201, 71, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 8%, rgba(0, 255, 157, 0.1), transparent 18%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bn-header,
.bn-header * {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto !important;
}

.bn-header-inner {
  max-width: 1760px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bn-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  text-decoration: none;
}

.bn-brand-word {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  font-weight: 800;
  color: #c947ff;
  letter-spacing: -0.04em;
}

.bn-brand-divider {
  color: rgba(244, 246, 240, 0.54);
  font-size: 28px;
  line-height: 1;
}

.bn-brand-sub {
  color: rgba(231, 235, 224, 0.84);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bn-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bn-menu {
  position: relative;
}

.bn-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: rgba(240, 243, 236, 0.94);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
}

.bn-trigger svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform 0.18s ease;
}

.bn-menu.is-open .bn-trigger svg {
  transform: rotate(180deg);
}

.bn-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(560px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 157, 0.18);
  background: rgba(10, 14, 12, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: none;
}

.bn-menu.is-open .bn-dropdown {
  display: grid;
  gap: 8px;
}

.bn-drop-link {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #f3f6f0;
  transition: background 0.18s ease, transform 0.18s ease;
}

.bn-drop-link:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.bn-drop-link.is-active {
  background: rgba(0, 255, 157, 0.1);
  outline: 1px solid rgba(0, 255, 157, 0.22);
}

.bn-drop-thumb {
  position: relative;
  display: block;
  width: 92px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    #111712;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bn-drop-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 7, 0.04), rgba(6, 8, 7, 0.24));
  pointer-events: none;
}

.bn-drop-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bn-drop-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.bn-drop-title {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.bn-drop-meta {
  color: rgba(215, 220, 208, 0.68);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bn-home,
.bn-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
}

.bn-home {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 157, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(240, 243, 236, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.bn-home:hover {
  transform: translateY(-1px);
  background: rgba(0, 255, 157, 0.08);
  border-color: rgba(0, 255, 157, 0.34);
}

.bn-subscribe {
  min-height: 64px;
  padding: 0 26px;
  border-radius: 16px;
  background: #70f5a1;
  color: #04120b;
  box-shadow: 0 10px 26px rgba(112, 245, 161, 0.18);
}

body[data-bn-current^="newsletter"] {
  position: relative;
  background: #0a0e02 !important;
  color: #ffffff;
}

body[data-bn-current^="newsletter"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 0, 207, 0.08), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 211, 255, 0.08), transparent 50%),
    linear-gradient(180deg, #0c1200 0%, #050700 100%);
}

body[data-bn-current^="newsletter"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, rgba(77, 64, 254, 0.22), transparent 24%),
    radial-gradient(circle at 84% 34%, rgba(255, 0, 207, 0.14), transparent 22%),
    radial-gradient(circle at 54% 86%, rgba(0, 211, 255, 0.12), transparent 20%);
  filter: blur(22px);
  opacity: 0.9;
}

.bn-news-shell {
  position: relative;
  z-index: 1;
  padding: 26px 20px 56px;
}

.bn-news-panel {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #243017;
  background: #000000;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

@media (max-width: 980px) {
  .bn-header-inner {
    padding: 16px 22px;
  }

  .bn-brand {
    gap: 12px;
  }

  .bn-brand-sub {
    font-size: 0.84rem;
    letter-spacing: 0.22em;
  }

  .bn-subscribe {
    min-height: 54px;
    padding: 0 20px;
  }

  .bn-news-shell {
    padding: 22px 16px 48px;
  }
}

@media (max-width: 760px) {
  .bn-header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .bn-brand-sub {
    white-space: normal;
    line-height: 1.35;
  }

  .bn-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }

  .bn-menu {
    flex: 1 1 180px;
  }

  .bn-trigger,
  .bn-home,
  .bn-subscribe {
    width: 100%;
    justify-content: space-between;
  }

  .bn-dropdown {
    left: 0;
    right: auto;
    width: 100%;
  }

  .bn-drop-link {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }

  .bn-drop-thumb {
    width: 80px;
  }

  .bn-home,
  .bn-subscribe {
    flex: 1 1 180px;
  }
}

@media (max-width: 520px) {
  .bn-header-inner {
    padding: 14px 16px;
  }

  .bn-brand {
    gap: 10px;
    flex-wrap: wrap;
  }

  .bn-brand-divider {
    display: none;
  }

  .bn-brand-sub {
    width: 100%;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
  }

  .bn-drop-thumb {
    width: 80px;
    aspect-ratio: 1 / 1;
  }

  .bn-news-shell {
    padding: 18px 12px 40px;
  }

  .bn-news-panel {
    border-radius: 18px;
  }
}
