.floating-menu {
   position: fixed;
   bottom: 24px;
   right: 24px;
   background: linear-gradient(135deg, rgba(20, 97, 204, 0.95) 0%, rgba(58, 134, 255, 0.95) 100%);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border-radius: 50px;
   padding: 6px 8px 6px 6px;
   display: flex;
   align-items: center;
   gap: 8px;
   z-index: 1000;
   box-shadow: 0 4px 24px rgba(20, 97, 204, 0.25), 0 1px 4px rgba(0, 0, 0, 0.1);
   border: 1px solid rgba(255, 255, 255, 0.2);
   opacity: 0;
   visibility: hidden;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   transform: translateY(20px);
}

.floating-menu.visible {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

.floating-menu.fade {
   opacity: 0.6;
}

.floating-menu:hover {
   box-shadow: 0 6px 32px rgba(20, 97, 204, 0.35), 0 2px 8px rgba(0, 0, 0, 0.15);
   transform: translateY(-2px);
}

.floating-menu:hover.fade {
   opacity: 1;
}

.floating-menu__telegram {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 36px;
   height: 36px;
   background: rgba(255, 255, 255, 0.15);
   border-radius: 50%;
   text-decoration: none;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   flex-shrink: 0;
}

.floating-menu__telegram:hover {
   transform: scale(1.1) rotate(5deg);
   background: rgba(255, 255, 255, 0.25);
}

.floating-menu__telegram svg {
   width: 18px;
   height: 18px;
   fill: white;
}

.floating-menu__button {
   background: transparent !important;
   color: white !important;
   padding: 6px 14px;
   border-radius: 20px;
   text-decoration: none;
   font-weight: 600;
   font-size: 13px;
   display: flex;
   align-items: center;
   gap: 6px;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   border: none;
   cursor: pointer;
   white-space: nowrap;
}

.floating-menu__button:hover {
   background: rgba(255, 255, 255, 0.15) !important;
   padding-right: 16px;
}

.floating-menu__button svg {
   width: 14px;
   height: 14px;
   stroke: currentColor;
   fill: none;
   transition: transform 0.3s ease;
}

.floating-menu__button:hover svg {
   transform: translateX(2px);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
   .floating-menu {
      bottom: 16px;
      right: 16px;
      padding: 5px 6px 5px 5px;
   }

   .floating-menu__telegram {
      width: 32px;
      height: 32px;
   }

   .floating-menu__telegram svg {
      width: 16px;
      height: 16px;
   }

   .floating-menu__button {
      font-size: 12px;
      padding: 5px 12px;
   }

   .floating-menu__button svg {
      width: 12px;
      height: 12px;
   }
}