@charset "UTF-8";
.social-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}
/* 🔘 кнопка */
.social-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #93bc96;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 255 90px 60px rgba(0, 0, 0, 0.2);
}
/* 📌 иконка */
.social-icon {
  width: 32px;
  height: 32px;
}
/* 🔥 ПУЛЬС как на твоём скрине */
.social-toggle::before, .social-toggle::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(187, 221, 189, 0.4);
  z-index: -1;
  animation: pulse 2s infinite;
}
.social-toggle::after {
  animation-delay: 1s;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* ✨ лёгкое движение */
.social-toggle {
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
/* меню (как у тебя было) */
.social-menu {
  position: absolute;
  bottom: 80px;
  right: 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.25s ease;
  padding: 0px;
  border-radius: 12px;
}
.social-menu a {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.social-menu a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}
.social-float.open .social-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.social-toggle span {
  display: block;
  width: 35px;
  height: 35px;
  background-image: url("data:image/svg+xml;charset=UTF-8, %3csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15 1C7.28 1 1 7.28 1 15c0 2.716.778 5.335 2.257 7.608l-2.181 5.09A.933.933 0 0 0 2.3 28.925l5.09-2.182A13.887 13.887 0 0 0 15 29c7.72 0 14-6.28 14-14S22.72 1 15 1Zm7.187 19.012s-1.165 1.492-2.007 1.841c-2.137.885-5.157 0-8.596-3.438-3.437-3.438-4.323-6.458-3.437-8.596.349-.842 1.842-2.005 1.842-2.005a1.087 1.087 0 0 1 1.396.087l1.69 1.69a.936.936 0 0 1 0 1.318l-1.062 1.06s-.429 1.288 2.15 3.867c2.578 2.58 3.867 2.15 3.867 2.15l1.06-1.06a.936.936 0 0 1 1.32 0l1.689 1.689c.362.363.401.991.086 1.396l.002.001Z' fill='%23fff'/%3e%3c/svg%3e");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* 🔥 ACTIVE (крестик) */
.social-toggle.active span {
  display: block;
  width: 35px;
  height: 35px;
  background-image: url("data:image/svg+xml;charset=UTF-8, %3csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m21.25 8.75-12.5 12.5m0-12.5 12.5 12.5' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.social-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}
.social-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
}
.social-menu a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(20px) scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}
/* когда открыто */
.social-float.open .social-menu a {
  transform: translateY(0) scale(1);
  opacity: 1;
}
/* задержка по очереди */
.social-float.open .social-menu a:nth-child(1) {
  transition-delay: 0.05s;
}
.social-float.open .social-menu a:nth-child(2) {
  transition-delay: 0.1s;
}
.social-float.open .social-menu a:nth-child(3) {
  transition-delay: 0.15s;
}
.social-float.open .social-menu a:nth-child(4) {
  transition-delay: 0.2s;
}
.social-float.open .social-menu a:nth-child(5) {
  transition-delay: 0.25s;
}
.social-menu a:hover {
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
/* glow эффект */
.social-menu a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  transition: 0.3s;
}
.social-menu a:hover::after {
  opacity: 1;
  box-shadow: 0 0 15px rgba(255, 90, 60, 0.6);
}
.social-menu a {
  position: relative;
}
.social-menu a:hover img {
  transform: rotate(10deg) scale(1.1);
  transition: 0.3s;
}
