The temperature and chemical potential dependent surface tension of bags is introduced into the gas of quark-gluon bags model. The suggested model is solved analytically. It resolves a long standing problem of a unified description of the first and second order phase transition with the cross-over. Such an approach is necessary to model the complicated properties of quark-gluon plasma and hadro...