/* ╔══════════════════════════════════════════════════════════════════════════════╗
   ║  NEXUS COMMAND — Award-Winning Navigation System v2.0                       ║
   ║  3D Holographic Effects • Floating Icons • Premium Interactions             ║
   ║  Inspired by: Sci-fi HUDs, Luxury brands, Gaming interfaces                 ║
   ╚══════════════════════════════════════════════════════════════════════════════╝ */

/* ═══ DESIGN TOKENS ═══ */
:root {
  --nx-primary: #00f5ff;
  --nx-secondary: #8b5cf6;
  --nx-accent: #f0abfc;
  --nx-tertiary: #ff006e;
  --nx-gold: #fbbf24;
  --nx-void: #030508;
  --nx-surface: rgba(8, 12, 20, 0.95);
  --nx-glass: rgba(255, 255, 255, 0.03);
  --nx-border: rgba(0, 245, 255, 0.12);
  --nx-glow: 0 0 30px rgba(0, 245, 255, 0.15);
  --nx-transition: cubic-bezier(0.4, 0, 0.2, 1);
  --nx-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nx-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ═══ UTILITY CLASSES — Modular Design System ═══ */
.u-glow-cyan { box-shadow: 0 0 20px rgba(0, 245, 255, 0.4); }
.u-glow-purple { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
.u-glow-pink { box-shadow: 0 0 20px rgba(255, 0, 110, 0.4); }
.u-gradient-text {
  background: linear-gradient(135deg, var(--nx-primary), var(--nx-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.u-float { animation: u-float 3s ease-in-out infinite; }
@keyframes u-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ═══ NAVBAR CONTAINER — Floating Command Center ═══ */
.navbar-nexus {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1400px;
  z-index: 1050;
  padding: 0;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 20px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    var(--nx-glow);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: all 0.4s var(--nx-transition);
  overflow: visible;
}

/* Ambient light effect */
.navbar-nexus::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--nx-primary) 20%,
    var(--nx-secondary) 50%,
    var(--nx-accent) 80%,
    transparent 100%);
  opacity: 0.8;
}

/* Bottom accent line */
.navbar-nexus::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 245, 255, 0.3),
    transparent);
}

/* Scrolled state - more compact */
.navbar-nexus.scrolled {
  top: 8px;
  width: calc(100% - 24px);
  border-radius: 16px;
  background: rgba(3, 5, 8, 0.98);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.6),
    0 0 60px -20px rgba(0, 245, 255, 0.2);
}

/* Body offset */
body {
  padding-top: 80px !important;
}

/* ═══ INNER LAYOUT ═══ */
.nexus-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  position: relative;
}

/* ═══ BRAND IDENTITY — Holographic Logo System ═══ */
.nexus-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  position: relative;
  z-index: 5;
}

/* Logo Container */
.nexus-logo {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rotating ring */
.logo-ring {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--nx-primary);
  border-right-color: var(--nx-secondary);
  border-radius: 50%;
  animation: ring-rotate 8s linear infinite;
}

.logo-ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid transparent;
  border-bottom-color: var(--nx-accent);
  border-left-color: var(--nx-primary);
  border-radius: 50%;
  animation: ring-rotate 6s linear infinite reverse;
}

@keyframes ring-rotate {
  to { transform: rotate(360deg); }
}

/* Logo core */
.logo-core {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%),
    linear-gradient(135deg, var(--nx-primary), var(--nx-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 20px rgba(0, 245, 255, 0.4),
    inset 0 0 15px rgba(255, 255, 255, 0.2);
  transition: all 0.4s var(--nx-bounce);
}

.logo-core img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(1.2);
}

.logo-core .logo-icon {
  font-size: 1rem;
  color: #fff;
}

.nexus-brand:hover .logo-core {
  transform: scale(1.1);
  box-shadow: 
    0 0 30px rgba(0, 245, 255, 0.6),
    0 0 60px rgba(139, 92, 246, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Brand text */
.nexus-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nexus-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #fff 0%, var(--nx-primary) 50%, var(--nx-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.nexus-tagline {
  font-family: 'VT323', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: rgba(0, 245, 255, 0.5);
  text-transform: uppercase;
}

/* ═══ NAVIGATION LINKS — 3D Holographic Floating System ═══ */
.nexus-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.nexus-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.35s var(--nx-transition);
  overflow: visible;
  perspective: 800px;
}

/* Link background gradient on hover */
.nexus-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(0, 245, 255, 0.12),
    rgba(139, 92, 246, 0.08));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* Animated underline */
.link-underline {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nx-primary), var(--nx-secondary));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.35s var(--nx-bounce);
  box-shadow: 0 0 10px var(--nx-primary);
}

.nexus-link:hover .link-underline {
  width: 60%;
}

/* ═══ 3D HOLOGRAPHIC ICON SYSTEM ═══ */
.holo-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--nx-elastic);
}

/* Main icon */
.holo-icon .nexus-link-icon {
  position: relative;
  z-index: 3;
  font-size: 1rem;
  color: var(--nx-primary);
  opacity: 0.8;
  transition: all 0.35s var(--nx-bounce);
  filter: drop-shadow(0 0 0 transparent);
}

/* Holographic glow layer */
.holo-glow {
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, 
    rgba(0, 245, 255, 0.3) 0%,
    rgba(139, 92, 246, 0.15) 50%,
    transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s var(--nx-elastic);
  filter: blur(8px);
}

/* Holographic ring */
.holo-ring {
  position: absolute;
  inset: -6px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8) rotateX(60deg);
  transition: all 0.4s var(--nx-elastic);
  background: linear-gradient(135deg, transparent, transparent) padding-box,
              linear-gradient(135deg, var(--nx-primary), var(--nx-secondary), var(--nx-tertiary)) border-box;
}

/* Hover state - 3D Float Effect */
.nexus-link:hover .holo-icon {
  transform: translateY(-6px) rotateX(-10deg) scale(1.1);
}

.nexus-link:hover .nexus-link-icon {
  opacity: 1;
  color: #fff;
  filter: drop-shadow(0 0 8px var(--nx-primary)) drop-shadow(0 4px 12px rgba(0, 245, 255, 0.5));
  transform: translateZ(15px);
}

.nexus-link:hover .holo-glow {
  opacity: 1;
  transform: scale(1.2);
}

.nexus-link:hover .holo-ring {
  opacity: 0.8;
  transform: scale(1) rotateX(0deg);
  animation: holo-spin 3s linear infinite;
}

@keyframes holo-spin {
  0% { transform: scale(1) rotateZ(0deg); }
  100% { transform: scale(1) rotateZ(360deg); }
}

/* Link text */
.link-text {
  position: relative;
  z-index: 2;
  transition: all 0.35s ease;
}

.nexus-link:hover {
  color: #fff;
}

.nexus-link:hover::before {
  opacity: 1;
}

.nexus-link:hover .link-text {
  transform: translateX(2px);
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

/* Active state - Glowing pill with holographic accent */
.nexus-link.active {
  color: #fff;
  background: linear-gradient(135deg, 
    rgba(0, 245, 255, 0.15),
    rgba(139, 92, 246, 0.1));
  box-shadow: 
    0 0 25px rgba(0, 245, 255, 0.2),
    inset 0 0 20px rgba(0, 245, 255, 0.05);
}

.nexus-link.active .holo-icon {
  transform: translateY(-3px);
}

.nexus-link.active .nexus-link-icon {
  opacity: 1;
  color: var(--nx-primary);
  filter: drop-shadow(0 0 8px var(--nx-primary));
}

.nexus-link.active .holo-glow {
  opacity: 0.6;
  transform: scale(1);
}

.nexus-link.active .holo-ring {
  opacity: 0.5;
  transform: scale(1) rotateX(0deg);
  animation: holo-spin 4s linear infinite;
}

.nexus-link.active .link-underline {
  width: 40%;
}

/* ═══ ACTIONS CLUSTER — Right Side Controls ═══ */
.nexus-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ═══ HOLOGRAPHIC BUTTON SYSTEM ═══ */
.holo-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.35s var(--nx-transition);
  overflow: visible;
  perspective: 600px;
}

.btn-icon {
  position: relative;
  z-index: 3;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.35s var(--nx-elastic);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Holographic layer behind icon */
.btn-holo-layer {
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg,
    rgba(0, 245, 255, 0.1),
    rgba(139, 92, 246, 0.05));
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.9) rotateX(20deg);
  transition: all 0.35s var(--nx-elastic);
}

/* Glow effect */
.btn-glow {
  position: absolute;
  inset: -3px;
  background: radial-gradient(circle,
    rgba(0, 245, 255, 0.25) 0%,
    transparent 70%);
  border-radius: 14px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.35s var(--nx-elastic);
  filter: blur(6px);
  z-index: 0;
}

/* Hover state - 3D lift */
.holo-btn:hover {
  border-color: rgba(0, 245, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px -8px rgba(0, 245, 255, 0.35);
}

.holo-btn:hover .btn-icon {
  color: var(--nx-primary);
  transform: scale(1.15) translateZ(10px);
  filter: drop-shadow(0 0 8px var(--nx-primary));
}

.holo-btn:hover .btn-holo-layer {
  opacity: 1;
  transform: scale(1) rotateX(0deg);
}

.holo-btn:hover .btn-glow {
  opacity: 1;
  transform: scale(1.1);
}

/* Active/pressed state */
.holo-btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Admin button - special purple theme */
.nexus-admin-btn.holo-btn {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
  border-color: rgba(139, 92, 246, 0.2);
}

.nexus-admin-btn.holo-btn .btn-icon {
  color: var(--nx-secondary);
}

.nexus-admin-btn.holo-btn .btn-glow {
  background: radial-gradient(circle,
    rgba(139, 92, 246, 0.3) 0%,
    transparent 70%);
}

.nexus-admin-btn.holo-btn:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 12px 25px -8px rgba(139, 92, 246, 0.4);
}

.nexus-admin-btn.holo-btn:hover .btn-icon {
  color: #a78bfa;
  filter: drop-shadow(0 0 8px var(--nx-secondary));
}

/* Notification badge */
.nexus-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  border-radius: 9px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.6);
  animation: badge-pulse 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ═══ HOLOGRAPHIC AVATAR ═══ */
.holo-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  cursor: pointer;
  perspective: 600px;
}

.avatar-core {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nx-primary), var(--nx-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s var(--nx-elastic);
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

.avatar-core .nexus-avatar-icon {
  font-size: 1.1rem;
  color: #fff;
  transition: all 0.35s ease;
}

/* Avatar ring */
.avatar-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid transparent;
  border-radius: 14px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.35s var(--nx-elastic);
  background: linear-gradient(var(--nx-void), var(--nx-void)) padding-box,
              linear-gradient(135deg, var(--nx-primary), var(--nx-secondary), var(--nx-tertiary)) border-box;
}

/* Avatar glow */
.avatar-glow {
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle,
    rgba(0, 245, 255, 0.25) 0%,
    rgba(139, 92, 246, 0.15) 50%,
    transparent 70%);
  border-radius: 16px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.35s var(--nx-elastic);
  filter: blur(8px);
  z-index: 0;
}

/* Avatar hover */
.holo-avatar:hover .avatar-core {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 15px 30px -10px rgba(0, 245, 255, 0.4),
    inset 0 2px 15px rgba(255, 255, 255, 0.3);
}

.holo-avatar:hover .avatar-ring {
  opacity: 1;
  transform: scale(1);
  animation: avatar-ring-pulse 2s ease-in-out infinite;
}

.holo-avatar:hover .avatar-glow {
  opacity: 1;
  transform: scale(1);
}

@keyframes avatar-ring-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ═══ CYBER AUTH BUTTONS — Premium CTA System ═══ */
.nexus-auth {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.6rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.cyber-btn {
  position: relative;
  padding: 0.6rem 1.3rem;
  border-radius: 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.35s var(--nx-transition);
  cursor: pointer;
  overflow: hidden;
}

.btn-text {
  position: relative;
  z-index: 3;
}

/* Login button - Ghost style with glitch */
.nexus-login.cyber-btn {
  color: var(--nx-primary);
  background: transparent;
  border: 1px solid rgba(0, 245, 255, 0.3);
}

.nexus-login .btn-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(var(--nx-void), var(--nx-void)) padding-box,
              linear-gradient(135deg, var(--nx-primary), var(--nx-secondary)) border-box;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nexus-login .btn-glitch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--nx-primary);
  opacity: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}

.nexus-login:hover {
  background: rgba(0, 245, 255, 0.08);
  border-color: transparent;
  box-shadow: 
    0 0 25px rgba(0, 245, 255, 0.25),
    inset 0 0 20px rgba(0, 245, 255, 0.05);
  transform: translateY(-2px);
}

.nexus-login:hover .btn-border {
  opacity: 1;
}

.nexus-login:hover .btn-glitch {
  opacity: 0.4;
  animation: btn-glitch 0.3s steps(2) infinite;
}

@keyframes btn-glitch {
  0% { transform: translate(-50%, -50%) translate(-2px, 1px); clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); }
  50% { transform: translate(-50%, -50%) translate(2px, -1px); clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); }
  100% { transform: translate(-50%, -50%) translate(-1px, 2px); clip-path: polygon(0 0, 100% 0, 100% 20%, 0 20%); }
}

/* Register button - Solid premium with particles */
.nexus-register.cyber-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--nx-primary), var(--nx-secondary));
  border: none;
  box-shadow: 
    0 4px 18px rgba(0, 245, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nexus-register .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent);
  transition: left 0.5s ease;
}

.nexus-register .btn-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.nexus-register .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.5s ease;
}

.nexus-register .particle:nth-child(1) { top: 20%; left: 10%; }
.nexus-register .particle:nth-child(2) { top: 60%; right: 15%; }
.nexus-register .particle:nth-child(3) { bottom: 20%; left: 50%; }

.nexus-register:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 10px 30px rgba(0, 245, 255, 0.45),
    0 0 40px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nexus-register:hover .btn-shine {
  left: 100%;
}

.nexus-register:hover .particle {
  opacity: 1;
  animation: particle-float 1s ease-out forwards;
}

.nexus-register:hover .particle:nth-child(1) { animation-delay: 0s; }
.nexus-register:hover .particle:nth-child(2) { animation-delay: 0.1s; }
.nexus-register:hover .particle:nth-child(3) { animation-delay: 0.2s; }

@keyframes particle-float {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-20px) scale(0); opacity: 0; }
}

/* ═══ USER MENU — Enhanced Avatar System ═══ */
.nexus-user {
  position: relative;
}

.nexus-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nx-primary), var(--nx-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s var(--nx-transition);
}

.nexus-avatar:hover {
  border-color: var(--nx-primary);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.nexus-avatar-icon {
  font-size: 1.1rem;
  color: #fff;
}

/* ═══ DROPDOWN MENU — Enhanced Floating Panel ═══ */
.nexus-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: rgba(8, 12, 20, 0.98);
  border: 1px solid var(--nx-border);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 
    0 25px 60px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 40px rgba(0, 245, 255, 0.1);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.95);
  transition: all 0.3s var(--nx-elastic);
  z-index: 100;
}

.nexus-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Dropdown header */
.dropdown-header {
  padding: 0.5rem 0.9rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0.3rem;
}

.dropdown-label {
  font-family: 'VT323', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--nx-primary);
  opacity: 0.6;
}

/* Dropdown items with holographic hover */
.holo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.25s var(--nx-transition);
  position: relative;
  overflow: hidden;
}

.item-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(0, 245, 255, 0.1);
  color: var(--nx-primary);
  font-size: 0.8rem;
  transition: all 0.25s var(--nx-elastic);
}

.item-arrow {
  margin-left: auto;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
  transform: translateX(-5px);
  opacity: 0;
}

.holo-item:hover {
  background: linear-gradient(135deg,
    rgba(0, 245, 255, 0.1),
    rgba(139, 92, 246, 0.05));
  color: #fff;
  padding-left: 1.1rem;
}

.holo-item:hover .item-icon {
  background: linear-gradient(135deg, var(--nx-primary), var(--nx-secondary));
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
}

.holo-item:hover .item-arrow {
  transform: translateX(0);
  opacity: 1;
  color: var(--nx-primary);
}

/* Danger item */
.holo-item.danger:hover {
  background: linear-gradient(135deg,
    rgba(244, 63, 94, 0.12),
    rgba(236, 72, 153, 0.06));
  color: #f43f5e;
}

.holo-item.danger:hover .item-icon {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.5);
}

.holo-item.danger:hover .item-arrow {
  color: #f43f5e;
}

.nexus-dropdown-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nx-border), transparent);
  margin: 0.5rem 0;
}

/* ═══ MOBILE TOGGLE — Hamburger Animation ═══ */
.nexus-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nexus-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--nx-primary);
  border-radius: 2px;
  transition: all 0.3s var(--nx-transition);
}

.nexus-toggle.active .nexus-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nexus-toggle.active .nexus-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nexus-toggle.active .nexus-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══ THEME TOGGLE — Enhanced Day/Night Switch ═══ */
.nexus-theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--nx-gold);
  font-size: 1rem;
  transition: all 0.35s var(--nx-transition);
  position: relative;
  overflow: visible;
}

.nexus-theme-toggle .btn-icon {
  color: var(--nx-gold);
}

.nexus-theme-toggle .btn-glow {
  background: radial-gradient(circle,
    rgba(251, 191, 36, 0.3) 0%,
    transparent 70%);
}

.nexus-theme-toggle:hover {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 10px 25px -8px rgba(251, 191, 36, 0.35);
  transform: translateY(-3px) rotate(15deg);
}

.nexus-theme-toggle:hover .btn-icon {
  color: var(--nx-gold);
  filter: drop-shadow(0 0 8px var(--nx-gold));
  transform: scale(1.2);
}

/* ═══ RESPONSIVE — Mobile First ═══ */
@media (max-width: 1100px) {
  .nexus-nav {
    display: none;
  }
  
  .nexus-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .navbar-nexus {
    top: 8px;
    width: calc(100% - 20px);
    border-radius: 16px;
  }
  
  body {
    padding-top: 70px !important;
  }
  
  .nexus-inner {
    padding: 0.5rem 1rem;
  }
  
  .nexus-brand-text {
    display: none;
  }
  
  .nexus-auth {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
  
  .nexus-auth-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.65rem;
  }
}

/* Mobile Menu */
.nexus-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(8, 12, 20, 0.98);
  border-top: 1px solid var(--nx-border);
  border-radius: 0 0 20px 20px;
  padding: 1rem;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s var(--nx-transition);
}

.nexus-mobile-menu.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.nexus-mobile-menu .nexus-link {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 0.25rem;
}

/* ═══ PERFORMANCE OPTIMIZATIONS — Lag-Free Animations ═══ */
.navbar-nexus,
.navbar-nexus * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* GPU Acceleration for animated elements */
.holo-icon,
.holo-glow,
.holo-ring,
.btn-holo-layer,
.btn-glow,
.avatar-ring,
.avatar-glow,
.logo-ring,
.nexus-badge,
.btn-shine,
.particle {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Composite layer promotion for smooth animations */
.nexus-link,
.holo-btn,
.holo-avatar,
.cyber-btn {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .navbar-nexus,
  .navbar-nexus * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  
  .logo-ring,
  .holo-ring,
  .avatar-ring {
    animation: none;
  }
  
  .holo-glow,
  .btn-glow,
  .avatar-glow {
    display: none;
  }
}

/* ═══ FOCUS STATES — Accessibility ═══ */
.nexus-link:focus-visible,
.nexus-action-btn:focus-visible,
.nexus-auth-btn:focus-visible {
  outline: 2px solid var(--nx-primary);
  outline-offset: 2px;
}

/* ═══ LANGUAGE SELECTOR ═══ */
.nexus-lang {
  position: relative;
}

.nexus-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nexus-lang-btn:hover {
  background: rgba(0, 245, 255, 0.08);
  border-color: rgba(0, 245, 255, 0.2);
  color: #fff;
}

/* ═══ SPECIAL EFFECTS — Award-Worthy Enhancements ═══ */

/* Glassmorphism shimmer on hover */
.navbar-nexus:hover::before {
  opacity: 1;
}

/* Entrance animation */
@keyframes navbar-entrance {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.navbar-nexus {
  animation: navbar-entrance 0.6s var(--nx-transition) forwards;
}

/* ═══ INTERACTIVE GLOW TRAIL — Mouse Follow Effect ═══ */
.navbar-nexus::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 245, 255, 0.4),
    transparent);
  transition: all 0.3s ease;
}

.navbar-nexus:hover::after {
  left: 10%;
  right: 10%;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 245, 255, 0.6),
    rgba(139, 92, 246, 0.4),
    transparent);
}

/* ═══ HOLOGRAPHIC SCANLINE EFFECT (Subtle) ═══ */
@keyframes holo-scanline {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

.nexus-link.active::before {
  background-image: 
    linear-gradient(135deg, 
      rgba(0, 245, 255, 0.12),
      rgba(139, 92, 246, 0.08)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 245, 255, 0.03) 2px,
      rgba(0, 245, 255, 0.03) 4px
    );
  background-size: 100% 100%, 100% 8px;
  animation: holo-scanline 2s linear infinite;
  opacity: 1;
}

/* ═══ FOCUS RING — Enhanced Accessibility ═══ */
.nexus-link:focus-visible,
.holo-btn:focus-visible,
.cyber-btn:focus-visible,
.holo-avatar:focus-visible {
  outline: none;
  box-shadow: 
    0 0 0 2px var(--nx-void),
    0 0 0 4px var(--nx-primary),
    0 0 20px rgba(0, 245, 255, 0.3);
}

/* ═══ ADDITIONAL UTILITY CLASSES ═══ */
.u-hidden { display: none !important; }
.u-visible { display: flex !important; }
.u-opacity-0 { opacity: 0; }
.u-opacity-100 { opacity: 1; }
.u-scale-0 { transform: scale(0); }
.u-scale-100 { transform: scale(1); }
.u-transition-fast { transition-duration: 0.15s; }
.u-transition-normal { transition-duration: 0.3s; }
.u-transition-slow { transition-duration: 0.5s; }

/* Hover group utilities */
.u-group:hover .u-group-hover-scale { transform: scale(1.1); }
.u-group:hover .u-group-hover-glow { filter: drop-shadow(0 0 10px var(--nx-primary)); }
.u-group:hover .u-group-hover-show { opacity: 1; visibility: visible; }

