header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(7,9,15,0.82);
  border-bottom: 1px solid rgba(125,211,252,0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 900;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;

  background-image: url("../css/assets/images/moduleforgelogo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  box-shadow:
    0 0 0 1px rgba(125, 212, 252, 0),
    0 12px 40px rgba(125, 212, 252, 0);
}

.brand-text {
  opacity: 0.95;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 12px;
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(125,211,252,0.06);
  border: 1px solid rgba(125,211,252,0.12);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(18,22,42,0.35);
  border: 1px solid rgba(125,211,252,0.18);
  display: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(229,231,235,0.85);
  margin: 5px auto;
  border-radius: 2px;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-block;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 62px;
    right: 24px;
    flex-direction: column;
    padding: 12px;
    gap: 6px;
    border-radius: 18px;
    background: rgba(7,9,15,0.92);
    border: 1px solid rgba(125,211,252,0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
