/* Floating social buttons */
body .floating-social-container {
  position: fixed;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 998;
  pointer-events: none;
}
body .floating-social-icons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: auto;
}
body .floating-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  --social-scale: 1;
  --social-translate-y: 0;

  transform: scale(var(--social-scale)) translateY(var(--social-translate-y));
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
body .floating-social-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  transition: var(--transition-standard);
}
.floating-social-link:hover {
  --social-scale: 1.1;
  --social-translate-y: -2px;

  background: rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(255, 255, 255, 0.15),
              0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.floating-social-link:hover .floating-social-icon {
  filter: brightness(1.3) contrast(1.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transform: scale(1.05);
}
.floating-social-link.social-mastodon:hover {
  background: rgba(99, 100, 255, 0.4);
  border-color: rgba(99, 100, 255, 0.6);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(99, 100, 255, 0.3),
              0 0 0 1px rgba(99, 100, 255, 0.3) inset;
}
.floating-social-link.social-instagram:hover {
  background: rgba(225, 48, 108, 0.4);
  border-color: rgba(225, 48, 108, 0.6);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(225, 48, 108, 0.3),
              0 0 0 1px rgba(225, 48, 108, 0.3) inset;
}
.floating-social-link.social-youtube:hover {
  background: rgba(255, 0, 0, 0.4);
  border-color: rgba(255, 0, 0, 0.6);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(255, 0, 0, 0.3),
              0 0 0 1px rgba(255, 0, 0, 0.3) inset;
}
.floating-social-link.social-xing:hover {
  background: rgba(0, 123, 162, 0.4);
  border-color: rgba(0, 123, 162, 0.6);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(0, 123, 162, 0.3),
              0 0 0 1px rgba(0, 123, 162, 0.3) inset;
}
.floating-social-link.social-linkedin:hover {
  background: rgba(0, 119, 181, 0.4);
  border-color: rgba(0, 119, 181, 0.6);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(0, 119, 181, 0.3),
              0 0 0 1px rgba(0, 119, 181, 0.3) inset;
}
.floating-social-link:active {
  --social-scale: 1.05;
  --social-translate-y: -1px;
}
.floating-social-link:focus {
  outline: 2px solid rgba(78, 148, 80, 0.6);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  body .floating-social-container {
    bottom: var(--space-lg) !important;
    left: var(--space-sm) !important;
    right: auto !important;
  }
  body .floating-social-icons {
    gap: var(--space-xs) ;
  }
  body .floating-social-link {
    width: 40px ;
    height: 40px ;
  }
  body .floating-social-icon {
    width: 20px ;
    height: 20px ;
  }
}

@media (max-width: 480px) {
  body .floating-social-container {
    bottom: var(--space-md) !important;
    left: var(--space-xs) !important;
    right: auto !important;
  }
  body .floating-social-link {
    width: 36px ;
    height: 36px ;
  }
  body .floating-social-icon {
    width: 18px ;
    height: 18px ;
  }
}
