/* Share Button Styles */
.share-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b3002d 0%, #ff6b8a 55%, #ffe3ea 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(255, 107, 138, 0.8), 
                0 8px 24px rgba(0, 0, 0, 0.6),
                0 0 20px rgba(255, 107, 138, 0.5);
    transition: all 0.3s ease;
    z-index: 999;
    animation: float-gentle 3s ease-in-out infinite;
}

.share-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 0 0 1px rgba(255, 107, 138, 1), 
                0 12px 32px rgba(0, 0, 0, 0.8),
                0 0 35px rgba(255, 107, 138, 0.9);
}

.share-btn:active {
    transform: scale(0.95);
}

.share-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Share Modal Overlay */
.share-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-overlay.active {
    display: flex;
    opacity: 1;
}

/* Share Card */
.share-card {
    background: rgba(17, 3, 12, 0.95);
    backdrop-filter: blur(30px);
    border-radius: 30px;
    padding: 40px;
    border: 2px solid rgba(255, 107, 138, 0.7);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9),
                0 0 0 1px rgba(255, 107, 138, 0.8),
                0 0 50px rgba(255, 107, 138, 0.6);
    max-width: 500px;
    width: 90%;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.share-overlay.active .share-card {
    transform: scale(1);
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Close Button */
.share-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 107, 138, 0.2);
    border: 1px solid rgba(255, 107, 138, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}

.share-close:hover {
    background: rgba(255, 107, 138, 0.4);
    border-color: rgba(255, 107, 138, 0.9);
    transform: rotate(90deg);
}

/* Share Card Header */
.share-header {
    text-align: center;
    margin-bottom: 30px;
}

.share-header h3 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #b3002d 0%, #ff6b8a 55%, #ffe3ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.share-header p {
    color: rgba(254, 205, 211, 0.9);
    font-size: 15px;
}

/* Share Options Grid */
.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.share-option {
    background: rgba(17, 3, 12, 0.9);
    border: 2px solid rgba(255, 107, 138, 0.5);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.share-option:hover {
    border-color: rgba(255, 107, 138, 0.9);
    background: rgba(255, 107, 138, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 138, 0.4);
}

.share-option:active {
    transform: translateY(-1px);
}

.share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.share-icon.facebook {
    background: #1877f2;
}

.share-icon.twitter {
    background: #1da1f2;
}

.share-icon.whatsapp {
    background: #25d366;
}

.share-icon.linkedin {
    background: #0a66c2;
}

.share-icon.copy {
    background: linear-gradient(135deg, #b3002d 0%, #ff6b8a 100%);
}

.share-icon.email {
    background: #ea4335;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
}

/* Copy Link Section */
.copy-link-section {
    background: rgba(17, 3, 12, 0.9);
    border: 2px solid rgba(255, 107, 138, 0.5);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-link-input {
    flex: 1;
    background: rgba(17, 3, 12, 0.96);
    border: 1px solid rgba(255, 107, 138, 0.5);
    border-radius: 10px;
    padding: 12px 15px;
    color: white;
    font-size: 14px;
    outline: none;
}

.copy-link-input:focus {
    border-color: rgba(255, 107, 138, 0.9);
}

.copy-btn {
    background: linear-gradient(135deg, #b3002d 0%, #ff6b8a 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 138, 0.6);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #22c55e 0%, #86efac 100%);
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .share-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .share-btn svg {
        width: 24px;
        height: 24px;
    }

    .share-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .share-header h3 {
        font-size: 24px;
    }

    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .share-option {
        padding: 15px;
    }

    .share-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .share-label {
        font-size: 13px;
    }
}
