:root {
  --primary: #8A2BE2; /* purple */
  --glass-background: rgba(124, 58, 237, 0.10);
  --glass-border: rgba(168, 85, 247, 0.35);
  --glass-glow: 0 10px 40px rgba(124,58,237,0.25), inset 0 1px rgba(255,255,255,0.06);
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  flex-wrap: nowrap;
  background: linear-gradient(180deg, rgba(124,58,237,0.12), rgba(15,23,42,0.3));
  border: 0.3mm solid var(--glass-border);
  border-radius: 50px;
  padding: 0.8rem 0.8rem 0.8rem 5rem;
  backdrop-filter: blur(20px);
  position: relative;
  align-items: center;
  overflow: hidden;
  box-shadow: var(--glass-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.nav-brand img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.nav-brand img:hover {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.menu-items {
  display: flex;
  gap: 1rem;
}

.menu-items li {
  display: flex;
  align-items: center;
}

.menu-items a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.menu-items a:hover {
  background: rgba(167, 139, 250, 0.18);
  transform: translateY(-1px);
}

.menu-items a:hover i {
  opacity: 1;
}

@keyframes liquidBreathing {
  0%, 100% { backdrop-filter: blur(20px); }
  50% { backdrop-filter: blur(24px); }
}

.nav-menu { animation: liquidBreathing 8s ease-in-out infinite; }

/* Position the dock fixed at the bottom center */
.dock-fixed {
  position: fixed;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  z-index: 50;
}
