.dockContainer {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.dock {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  padding: 10px 16px;
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 255, 255, 0.1), inset 0 1px 0 rgba(0, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.dock::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(0, 255, 255, 0.05) 50%,
    rgba(0, 212, 255, 0.1) 100%
  );
  z-index: -1;
  border-radius: 20px;
}

.dockItem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.dockItem::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.dockItem:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 255, 255, 0.4);
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3), 0 0 20px rgba(0, 255, 255, 0.2);
}

.dockItem:hover::before {
  left: 100%;
}

.dockItem.active {
  background: rgba(0, 212, 255, 0.25);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.2);
}

.dockItem.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #00d4ff, #00ffff);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.6);
}

.dockItem.minimized {
  opacity: 0.7;
  transform: scale(0.9);
}

.appIcon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
}

.dockItem:hover .appIcon {
  transform: scale(1);
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.appName {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  color: #00d4ff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1001;
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2), 0 0 15px rgba(0, 255, 255, 0.1);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.dockItem:hover .appName {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
  color: #00ffff;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
  border-color: rgba(0, 255, 255, 0.5);
}

.activeIndicator {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, #00d4ff, #00ffff);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.8), 0 0 16px rgba(0, 255, 255, 0.6);
  animation: neonPulse 2s infinite;
}

@keyframes neonPulse {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.8), 0 0 16px rgba(0, 255, 255, 0.6);
  }
  50% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 12px rgba(0, 255, 255, 1), 0 0 24px rgba(0, 255, 255, 0.8);
  }
}

@media (max-width: 768px) {
  .dock {
    padding: 8px 12px;
    gap: 4px;
    border-radius: 16px;
  }

  .dockItem {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .appIcon {
    width: 32px;
    height: 32px;
  }

  .dockItem:hover {
    transform: translateY(-6px) scale(1.05);
  }
}
