/* Floating Socials Component — themed to match the MyPaidPost sporty design */
.floating-socials {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  align-items: center;
}

.floating-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface, #111111);
  border: 1px solid var(--border, #222222);
  color: var(--primary, #ccff00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.floating-social-btn:hover {
  transform: scale(1.15) translateY(-2px);
  background: var(--primary, #ccff00);
  color: #000;
  border-color: var(--primary, #ccff00);
  box-shadow: 0 6px 18px rgba(204, 255, 0, 0.35);
}

/* Tooltip */
.floating-social-btn::after {
  content: attr(aria-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.floating-social-btn:hover::after {
  opacity: 1;
}

/* Entrance animation */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.floating-social-btn {
  animation: floatIn 0.35s ease backwards;
}

.floating-social-btn:nth-child(1) { animation-delay: 0.05s; }
.floating-social-btn:nth-child(2) { animation-delay: 0.10s; }
.floating-social-btn:nth-child(3) { animation-delay: 0.15s; }
.floating-social-btn:nth-child(4) { animation-delay: 0.20s; }
.floating-social-btn:nth-child(5) { animation-delay: 0.25s; }

/* Mobile adjustments */
@media (max-width: 640px) {
  .floating-socials {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .floating-social-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .floating-social-btn::after {
    display: none; /* Hide tooltips on small screens to avoid clipping */
  }
}
