.social-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.85);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  /* Zapewnia, że element nie wychodzi poza ekran przy ukrywaniu */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.social-float a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  transition: transform .12s ease, background .12s ease;
}

.social-float a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
}