:root {
  --dock-bg: rgba(255, 255, 255, 0.1);
  --dock-border: rgba(255, 255, 255, 0.2);
  --dock-item-size: 50px;
  --dock-item-gap: 15px;
  --dock-magnification: 1.4;

  --dock-transition: 300ms ease-out;

  --glass-blur: 15px;
}

#dock-container {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  width: auto;
}

.dock {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  gap: 12px;
  margin: 0;
  list-style: none;
  transition: all 0.3s ease;
  height: 70px;
}

.dock:hover {
  background: rgba(20, 20, 20, 0.5);
}

.dock-item {
  position: relative;
  width: var(--dock-item-size);
  height: var(--dock-item-size);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dock-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: transparent;
  will-change: font-size, transform;
}

.dock-item.active .dock-icon {
  color: #0066FF;
  background: transparent;
  text-shadow: 0 0 15px rgba(13, 110, 253, 0.6);
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
}

.dock-item:hover .dock-icon {
  color: #0066FF;
  font-weight: 700;
}

.dock-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: transparent;
  color: #fff;
  padding: 2px 0;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.dock-item:hover .dock-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bi-headset-vr {
  transform: translateY(3px);
}

.dev-icon {
  transform: translateY(-2px);
}

@media (hover: none) and (pointer: coarse) {
  .dock-label {
    display: none;
  }

  .dock-item.touch-focus .dock-label {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 768px) {
  :root {
    --dock-item-size: 40px;
    --dock-item-gap: 8px;
  }

  #dock-container {
    width: 90%;
  }

  .dock {
    width: 100%;
    justify-content: space-around;
  }
}