/* Share Button - Same style as Favorite */
.share-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 2px solid #3b82f6;
    border-radius: 50px;
    background: transparent;
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.share-btn:hover::before {
    width: 300px;
    height: 300px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.share-btn .share-icon {
    font-size: 20px;
    transition: transform 0.3s;
}

.share-btn:hover .share-icon {
    transform: scale(1.2) rotate(5deg);
}

.share-btn .btn-text {
    position: relative;
    z-index: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .share-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .share-btn .btn-text {
        display: none;
    }
    
    .share-btn .share-icon {
        font-size: 24px;
    }
}

/* Share Modal */
#share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

#share-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#share-modal-content {
    background: #1e293b;
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    border: 1px solid #334155;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s;
}

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

#share-modal h3 {
    color: #f1f5f9;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#share-modal-url {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px;
    color: #f1f5f9;
    font-family: monospace;
    font-size: 14px;
    word-break: break-all;
    margin-bottom: 16px;
    user-select: all;
    cursor: text;
}

#copy-link-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: auto;
    z-index: 1;
}

#copy-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

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

#share-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

#share-modal-close:hover {
    color: #f1f5f9;
    background: #334155;
}

