.navbar,
.topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  border-bottom: 2px solid rgba(255, 0, 0, .82) !important;
  background: rgba(3, 3, 4, .96) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5) !important;
}

.nav-inner,
.topbar-inner {
  width: min(1420px, calc(100% - 76px)) !important;
  height: 88px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
}

.brand {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: max-content !important;
}

.brand img,
.brand-mark {
  width: 62px !important;
  height: 62px !important;
}

.brand img,
.logo-img {
  object-fit: contain !important;
  filter: drop-shadow(0 0 20px rgba(255, 0, 0, .5)) !important;
}

.brand-text {
  display: grid !important;
  line-height: 1 !important;
  font-family: Orbitron, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

.brand-text strong {
  font-size: 1.36rem !important;
  font-weight: 900 !important;
}

.brand-text span {
  margin-top: 7px !important;
  color: var(--red) !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  letter-spacing: .7em !important;
}

.nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(18px, 2.25vw, 34px) !important;
  color: #e7e7eb !important;
  font-size: .86rem !important;
  font-weight: 900 !important;
  letter-spacing: .035em !important;
  text-transform: uppercase !important;
}

.nav-links a {
  position: relative !important;
  min-height: 88px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: color .2s ease, text-shadow .2s ease !important;
}

.nav-links a::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 18px !important;
  width: 34px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: var(--red) !important;
  box-shadow: 0 0 14px rgba(255, 0, 0, .85) !important;
  opacity: 0 !important;
  transform: translateX(-50%) scaleX(.42) !important;
  transition: opacity .2s ease, transform .2s ease !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff !important;
  text-shadow: 0 0 16px rgba(255, 0, 0, .8) !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1 !important;
  transform: translateX(-50%) scaleX(1) !important;
}

.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.top-btn {
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 7px !important;
  background: rgba(255,255,255,.035) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

.top-btn.primary {
  border-color: rgba(255,0,0,.78) !important;
  background: linear-gradient(180deg, rgba(255,0,0,.36), rgba(78,0,0,.6)) !important;
  box-shadow: var(--shadow-red) !important;
}

body {
  opacity: 0;
  animation: pageFadeIn .28s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1180px) {
  .nav-links,
  .nav-actions {
    display: none !important;
  }

  .nav-inner,
  .topbar-inner {
    width: min(100% - 30px, 1420px) !important;
  }
}

@media (max-width: 640px) {
  .brand-text strong { font-size: 1rem !important; }
  .brand-text span { letter-spacing: .45em !important; }
}
