r
                                    .clipboard
                                    .writeText(window.location.href);
                                showCopyNotification();
                            } catch (err) {
                                console.error('Error copying URL:', err);
                            }
                        }
                    });

            }

            function showError(message) {
                const errorElement = document.getElementById('error-message');
  