.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

.nav-register {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background var(--transition);
}

.nav-register:hover {
  background: #5a4bd1;
  color: white;
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: var(--bg);
  padding: 80px 24px 24px;
  gap: 1rem;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.nav-open .nav-links .nav-link {
  font-size: 1rem;
  padding: 8px 0;
}

.nav-open .nav-links .nav-register {
  text-align: center;
  margin-top: 8px;
}

body.nav-open {
  overflow: hidden;
}
