nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.logo img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.4));
  transition: transform 0.2s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.suit-hierarchy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.suit-hierarchy-badge .diamonds { color: #F59E0B; }
.suit-hierarchy-badge .spades { color: #60A5FA; }
.suit-hierarchy-badge .hearts { color: #EF4444; }
.suit-hierarchy-badge .clubs { color: #10B981; }

.menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.menu a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(18, 26, 44, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  gap: 0.75rem;
}

.mobile-menu a {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 0;
}

.mobile-menu.show {
  display: flex;
}

.mobile-suit-hierarchy {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.mobile-suit-hierarchy .diamonds { color: #F59E0B; }
.mobile-suit-hierarchy .spades { color: #60A5FA; }
.mobile-suit-hierarchy .hearts { color: #EF4444; }
.mobile-suit-hierarchy .clubs { color: #10B981; }

@media (max-width: 768px) {
  .suit-hierarchy-badge {
    display: none;
  }
  .menu {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}