/* ===================================
   SHARE BUTTON FLOAT STYLES
   =================================== */

.share-float-container {
  position: fixed;
  bottom: 180px;
  right: 30px;
  z-index: 998;
}

.share-float-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: shareFloat 3s ease-in-out infinite;
}

@keyframes shareFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.share-float-btn:hover {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6);
  animation: none;
}

.share-float-btn i {
  transition: transform 0.3s ease;
}

.share-float-btn:hover i {
  transform: scale(1.2);
}

/* Share Options */
.share-options {
  position: absolute;
  bottom: 75px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.share-options.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-option {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.share-option::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.share-option:hover::before {
  width: 100px;
  height: 100px;
}

.share-option:hover {
  transform: scale(1.15) translateX(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Individual Share Button Colors */
.share-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.share-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.share-facebook {
  background: linear-gradient(135deg, #1877f2, #0c63d4);
}

.share-facebook:hover {
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
}

.share-twitter {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.share-twitter:hover {
  box-shadow: 0 6px 20px rgba(29, 161, 242, 0.5);
}

.share-telegram {
  background: linear-gradient(135deg, #0088cc, #006699);
}

.share-telegram:hover {
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
}

.share-linkedin {
  background: linear-gradient(135deg, #0077b5, #005885);
}

.share-linkedin:hover {
  box-shadow: 0 6px 20px rgba(0, 119, 181, 0.5);
}

.share-copy {
  background: linear-gradient(135deg, #6c757d, #495057);
}

.share-copy:hover {
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.5);
}

/* Success Notification */
.share-notification {
  position: fixed;
  top: 100px;
  right: 30px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.share-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.share-notification i {
  font-size: 1.5rem;
}

.share-notification-text {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Animation for share options appearing */
.share-option:nth-child(1) { transition-delay: 0.05s; }
.share-option:nth-child(2) { transition-delay: 0.1s; }
.share-option:nth-child(3) { transition-delay: 0.15s; }
.share-option:nth-child(4) { transition-delay: 0.2s; }
.share-option:nth-child(5) { transition-delay: 0.25s; }
.share-option:nth-child(6) { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
  .share-float-container {
    bottom: 160px;
    right: 20px;
  }

  .share-float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .share-option {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .share-options {
    bottom: 65px;
    gap: 10px;
  }

  .share-notification {
    top: 80px;
    right: 15px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .share-notification i {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .share-float-container {
    bottom: 150px;
    right: 15px;
  }

  .share-float-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .share-option {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .share-options {
    bottom: 60px;
    gap: 8px;
  }
}

