<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Photo/Video Editor Tool</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background: linear-gradient(to right, #4a00e0, #8e2de2);
            margin: 0;
            color: white;
        }

        .editor-widget {
            background-color: rgba(255, 255, 255, 0.1);
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
            text-align: center;
        }

        .editor-widget h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .editor-widget button {
            background-color: #00bfa5;
            color: white;
            border: none;
            padding: 15px 25px;
            margin: 10px;
            border-radius: 8px;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .editor-widget button:hover {
            background-color: #00897b;
            transform: scale(1.05);
        }

        .cta {
            margin-top: 20px;
            text-decoration: none;
            font-size: 1.1rem;
            background: #ffeb3b;
            padding: 10px 20px;
            border-radius: 8px;
            color: black;
            display: inline-block;
            transition: background 0.3s;
        }

        .cta:hover {
            background: #fdd835;
        }

        .popup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #fff;
            color: #333;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
        }

        .popup .close {
            background-color: #f44336;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <div class="editor-widget">
        <h1>Photo/Video Editor Tool</h1>
        <button id="edit-photo">Edit Photos</button>
        <button id="edit-video">Edit Videos</button>

        <a href="https://inshotspro.com" class="cta">Visit InshotsPro for More Features!</a>

        <!-- Popup for Photo Editor -->
        <div id="photo-popup" class="popup">
            <p>Use our advanced photo editor at <strong>InshotsPro.com</strong>!</p>
            <button class="close" onclick="closePopup('photo-popup')">Close</button>
        </div>

        <!-- Popup for Video Editor -->
        <div id="video-popup" class="popup">
            <p>Use our advanced video editor at <strong>InshotsPro.com</strong>!</p>
            <button class="close" onclick="closePopup('video-popup')">Close</button>
        </div>
    </div>

    <script>
        document.getElementById('edit-photo').addEventListener('click', function () {
            document.getElementById('photo-popup').style.display = 'block';
        });

        document.getElementById('edit-video').addEventListener('click', function () {
            document.getElementById('video-popup').style.display = 'block';
        });

        function closePopup(popupId) {
            document.getElementById(popupId).style.display = 'none';
        }
    </script>
</body>
</html>

/* Add your styles here */

// Add your code here