/* =========================================
   TWISTED BLACK — Fixed Top Nav
   ========================================= */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(8, 9, 12, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 20px;
  padding-top: env(safe-area-inset-top, 0px);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--blood);
  border-radius: 1px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  padding: 8px;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 600px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 9, 12, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 16px 20px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.85rem;
    padding: 8px 0;
  }
}
