<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Colten Sus Email Domain License Agreement</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            padding: 20px;
        }
        .container {
            max-width: 800px;
            margin: auto;
            text-align: center;
        }
        .license {
            margin-top: 20px;
            text-align: left;
            border: 1px solid #ccc;
            padding: 20px;
            height: 300px;
            overflow-y: scroll;
            margin-bottom: 20px;
        }
        button {
            margin-top: 20px;
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
        }
        input[type="password"] {
            padding: 10px;
            font-size: 16px;
            width: 80%;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>Colten Sus Email Domain Login</h1>
        
        <!-- Login form -->
        <form id="loginForm">
            <label for="password">Enter Password</label><br>
            <input type="password" id="password" required><br><br>
            <button type="submit">Login</button>
        </form>

        <!-- License Agreement -->
        <div id="licenseAgreement" class="license" style="display:none;">
            <h3>Colten Sus Email Domain License Agreement</h3>
            <p><strong>This License Agreement (“Agreement”) governs your use of the Colten Sus Email Domain (“Email Domain”). By accessing or using the Email Domain, you (the “User”) agree to the terms and conditions set forth below. If you do not agree with these terms, you must immediately cease use of the Email Domain.</strong></p>

            <p><strong>1. Grant of License</strong><br>
            Subject to the terms and conditions of this Agreement, Colten Sus grants you a limited, non-transferable, revocable license to use the Email Domain for lawful purposes, including but not limited to accessing and using the services provided under the Email Domain.</p>

            <p><strong>2. Payment & Access</strong><br>
            • Users who comply with the terms of this Agreement are granted paid access to certain features of the Email Domain, as specified by Colten Sus.<br>
            • Access to the Email Domain is provided on a subscription or pay-per-use basis, as outlined in the service documentation.</p>

            <p><strong>3. Prohibited Content & Activities</strong><br>
            The User agrees not to engage in, promote, or distribute any of the following:<br>
            • Adult content of any kind, including but not limited to explicit, pornographic, or sexually suggestive material.<br>
            • Illegal activities, including but not limited to fraud, hacking, and distributing harmful or malicious content.<br>
            • Any form of content that violates the intellectual property rights of others or violates the law.</p>

            <p><strong>4. Compliance with Colten Sus Rules</strong><br>
            By using the Email Domain, you acknowledge and agree to abide by the “Colten Sus Rules,” which may be updated or modified from time to time. These rules are designed to ensure the responsible and legal use of the Email Domain.</p>

            <p><strong>5. Termination</strong><br>
            Colten Sus reserves the right to suspend or terminate your access to the Email Domain at any time, with or without cause, and without prior notice, if you violate any of the terms of this Agreement.</p>

            <p><strong>6. Indemnification</strong><br>
            You agree to indemnify and hold harmless Colten Sus, its affiliates, and its employees, from any claims, damages, or legal costs arising out of your violation of this Agreement or any applicable law.</p>

            <p><strong>7. Limitation of Liability</strong><br>
            To the maximum extent permitted by applicable law, Colten Sus shall not be liable for any indirect, incidental, or consequential damages resulting from your use of the Email Domain.</p>

            <p><strong>8. Governing Law</strong><br>
            This Agreement will be governed by and construed in accordance with the laws of the jurisdiction where Colten Sus operates, without regard to its conflict of law principles.</p>

            <p><strong>9. Modifications</strong><br>
            Colten Sus reserves the right to modify this Agreement at any time. Any modifications will be communicated to you, and continued use of the Email Domain will constitute your acceptance of the modified terms.</p>

            <p><strong>By using the Colten Sus Email Domain, you acknowledge that you have read, understood, and agree to the terms and conditions of this Agreement.</strong></p>
        </div>

        <!-- Agree/Disagree buttons -->
        <div id="agreeDisagreeButtons" style="display:none;">
            <button id="agreeBtn">I Agree</button>
            <button id="disagreeBtn">I Disagree</button>
        </div>
    </div>

    <script>
        const password = "atFAM"; // Password to access the license
        const discordWebhookURL = "https://discord.com/api/webhooks/1331375715391770685/Qh6XJC9lwfbomdJ7oRZdRhbYKnAS1yTbibDMV0AtX5Mse8cH--m53CwV75jRsu2Uksu8"; // Replace with your actual Discord webhook URL

        const loginForm = document.getElementById('loginForm');
        const licenseAgreement = document.getElementById('licenseAgreement');
        const agreeDisagreeButtons = document.getElementById('agreeDisagreeButtons');
        const passwordInput = document.getElementById('password');

        // Handle login form submission
        loginForm.addEventListener('submit', function(event) {
            event.preventDefault();
            if (passwordInput.value === password) {
                loginForm.style.display = "none";
                licenseAgreement.style.display = "block";
                agreeDisagreeButtons.style.display = "block";
            } else {
                alert("Incorrect password!");
            }
        });

        // Function to send data to Discord webhook
        function sendWebhookResponse(response) {
            const payload = {
                content: `User has ${response} the license agreement.`
            };
            fetch(discordWebhookURL, {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json'
                },
                body: JSON.stringify(payload)
            })
            .then(response => response.json())
            .then(data => console.log('Webhook sent:', data))
            .catch(error => console.error('Error sending webhook:', error));
        }

        // Handle agreement button click
        document.getElementById('agreeBtn').addEventListener('click', function() {
            sendWebhookResponse('agreed');
            alert("You have agreed to the license.");
        });

        // Handle disagreement button click
        document.getElementById('disagreeBtn').addEventListener('click', function() {
            sendWebhookResponse('disagreed');
            alert("You have disagreed with the license.");
        });
    </script>
</body>
</html>