/* Enhanced Social Share Buttons Override */

/* Container with colorful top border */
.social-share {
    position: relative !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.social-share::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1877f2, #000000, #0a66c2, #25d366, #e60023, #0088cc, #6b7280, #d73f15);
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

/* Enhanced button styling for icon-only display */
.share-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    font-weight: 700 !important;
    padding: 0 !important;
    gap: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 3px solid rgba(255, 255, 255, 0.3) !important;
}

/* Shimmer effect */
.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.share-btn:hover::before {
    left: 100%;
}

/* Ripple effect */
.share-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.share-btn:hover::after {
    width: 80px;
    height: 80px;
}

/* Icon animations */
.share-btn i,
.share-btn svg {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease !important;
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
}

.share-btn:hover i,
.share-btn:hover svg {
    transform: scale(1.2) rotate(10deg) !important;
}

/* Remove span text display (hide any remaining text) */
.share-btn span {
    display: none !important;
}

/* Enhanced hover effects for each platform */
.share-facebook:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(24, 119, 242, 0.5) !important;
}

.share-x:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
}

.share-linkedin:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(10, 102, 194, 0.5) !important;
}

.share-whatsapp:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5) !important;
}

.share-pinterest:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(230, 0, 35, 0.5) !important;
}

.share-telegram:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(0, 136, 204, 0.5) !important;
}

.share-email:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(107, 114, 128, 0.5) !important;
}

.share-copy:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(215, 63, 21, 0.5) !important;
}

/* Enhanced copy success animation */
.share-copy.copied {
    animation: copySuccess 0.8s ease-in-out !important;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5) !important;
}

@keyframes copySuccess {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1) rotate(2deg);
    }

    50% {
        transform: scale(1.05) rotate(-1deg);
    }

    75% {
        transform: scale(1.08) rotate(1deg);
    }

    100% {
        transform: scale(1);
    }
}

/* Subtle floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }
}

.share-btn:nth-child(1) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0s;
}

.share-btn:nth-child(2) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.2s;
}

.share-btn:nth-child(3) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.4s;
}

.share-btn:nth-child(4) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.6s;
}

.share-btn:nth-child(5) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.8s;
}

.share-btn:nth-child(6) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1s;
}

.share-btn:nth-child(7) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.2s;
}

.share-btn:nth-child(8) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.4s;
}

/* Disable animations on mobile for performance */
@media (max-width: 768px) {
    .share-btn {
        animation: none !important;
    }

    .share-btn:hover {
        transform: translateY(-3px) scale(1.02) !important;
    }
}