/* ── TOP BAR ────────────────────────────────────────────── */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 60%, transparent 100%);
  transition: background 0.3s;
}

.brand {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.35em;
  color: var(--red);
  text-decoration: none;
  position: relative;
  text-shadow: 0 0 20px rgba(139,37,37,0.4);
}

.brand::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  opacity: 0.4;
}

/* ── HAMBURGER (always visible) ─────────────────────────── */

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ── DROPDOWN NAV ───────────────────────────────────────── */

.nav-dropdown {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-height: 100vh;
  background: rgba(10,10,10,0.97);
  border-left: 1px solid var(--border);
  z-index: 99;
  flex-direction: column;
  padding: 100px 40px 40px 40px;
  gap: 0;
  overflow-y: auto;
  backdrop-filter: blur(20px);
}

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

.nav-dropdown a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s, padding-left 0.3s;
  display: block;
}

.nav-dropdown a:first-child {
  border-top: 1px solid var(--border);
}

.nav-dropdown a:hover {
  color: var(--red);
  padding-left: 8px;
}

/* Overlay behind dropdown */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 98;
}

.nav-overlay.open {
  display: block;
}

@media (max-width: 768px) {
  .top-bar { padding: 20px 24px; }
  .nav-dropdown {
    width: 100%;
    border-left: none;
  }
}
