<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Auto Bypass MDM</title>
    <link rel="icon" href="https://img.freepik.com/premium-vector/free-vector-beautiful-flying-hummingbird-design-element-banners-posters-leaflets-brochur_1009653-1.jpg" type="image/png">
    <style>
        body {
            background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            overflow: hidden;
        }

        .flip-container {
            width: 100%;
            max-width: 600px;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            perspective: 1000px;
        }

        .flipper {
            width: 100%;
            max-width: 600px;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.8s;
        }

        .flip-container.flip .flipper {
            transform: rotateY(180deg);
        }

        .front, .back {
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            position: absolute;
            top: 0;
            left: 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .back {
            transform: rotateY(180deg);
        }

        .container {
            text-align: center;
            background: rgba(255, 255, 255, 0.95);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
            width: 100%;
            position: relative;
        }

        .button {
            background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
            border: none;
            color: white;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            margin: 4px 2px;
            cursor: pointer;
            border-radius: 12px;
            transition: all 0.3s ease, box-shadow 0.3s;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .button:hover {
            background-image: linear-gradient(to right, #12c2e9 0%, #c471ed 100%);
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        .toast {
            visibility: hidden;
            min-width: 250px;
            background-color: #333;
            color: #fff;
            text-align: center;
            border-radius: 5px;
            padding: 16px;
            position: fixed;
            z-index: 1;
            left: 50%;
            bottom: 30px;
            font-size: 17px;
            transform: translateX(-50%);
            transition: all 0.5s ease;
            opacity: 0;
        }

        .toast.show {
            visibility: visible;
            opacity: 1;
            bottom: 50px;
        }

        .header {
            font-size: 28px;
            font-weight: bold;
            color: #333;
            margin-bottom: 20px;
        }

        .description {
            font-size: 18px;
            color: #555;
            margin-bottom: 25px;
        }

        .background-image {
            height: 200px;
            width: 100%;
            border-radius: 12px;
            margin-bottom: 20px;
            background: url('https://cdn-icons-png.flaticon.com/512/5064/5064666.png') no-repeat center center;
            background-size: contain;
            animation: fadeIn 2s;
        }

        .contact-info {
            font-size: 16px;
            color: #666;
            margin-top: 20px;
        }

        .contact-buttons {
            margin-top: 20px;
        }

        .contact-button {
            background-color: #0088cc;
            border: none;
            color: white;
            padding: 10px 20px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            margin: 4px 2px;
            cursor: pointer;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .back-button {
            position: absolute;
            top: 20px;
            left: 20px;
            background-color: #ffffff;
            border: none;
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .back-button img {
            width: 24px;
            height: 24px;
        }

        .back-button:hover {
            background-color: #f0f0f0;
        }

        .contact-button:hover {
            background-color: #006699;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .contact-button.whatsapp {
            background-color: #25D366;
        }

        .contact-button.whatsapp:hover {
            background-color: #1DA851;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .button, .contact-button {
                width: 100%;
                padding: 10px 20px;
            }

            .back-button {
                padding: 6px;
                top: 10px;
                left: 10px;
            }

            .back-button img {
                width: 20px;
                height: 20px;
            }
        }

        @media (max-width: 480px) {
            .header { font-size: 22px; }
            .description { font-size: 16px; }
        }
    </style>
</head>
<body>
    <div class="flip-container" id="flip-container">
        <div class="flipper">
            <div class="front">
                <div class="container">
                    <div class="background-image"></div>
                    <div class="header">Auto Bypass MDM</div>
                    <div class="description">The method to automatically bypass MDM for various MacBook models with just a single click of the "COPY" button below.</div>

                    <button class="button" onclick="copyToClipboard()">Copy M Chip</button>
                    <button class="button" onclick="copyT2Chip()">Copy intel Chip</button>

                    <div id="toast" class="toast">Copied to clipboard!</div>

                    <div class="contact-info">
                        <p>For any help or more information, contact us through the buttons below.</p>
                    </div>
                    <div class="contact-buttons">
                        <button class="contact-button" onclick="window.open('https://t.me/skip_mdm', '_blank')">
                            <img src="https://cdn-icons-png.flaticon.com/512/2111/2111646.png" alt="Telegram" width="20" height="20"> Telegram
                        </button>
                        <button class="contact-button whatsapp" onclick="window.open('https://wa.me/+6585451983', '_blank')">
                            <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/WhatsApp_icon.png/598px-WhatsApp_icon.png" alt="WhatsApp" width="20" height="20"> WhatsApp
                        </button>
                    </div>

                    <button class="button" style="margin-top: 30px;" onclick="flip()">Download Tool</button>
                </div>
            </div>

            <div class="back">
                <div class="container">
                    <button class="back-button" onclick="flip()">
                        <img src="https://cdn-icons-png.flaticon.com/512/93/93634.png" alt="Back">
                    </button>
                    <div class="background-image"></div>
                    <div class="header">Download Tool</div>
                    <div class="description">Select the tool you want to download by clicking on the button below.</div>
                    
                    <button class="button" onclick="downloadIPSW()">Download IPSW Sonoma 14.6.1</button>
                    <button class="button" onclick="downloadIPSW2()">Download IPSW Ventura 13.6 </button>
                    <button class="button" onclick="downloadAppleConfig()">Download apple configurator</button>
                </div>
            </div>
        </div>
    </div>

    <script>
        function copyToClipboard() {
            const text = "curl -# https://raw.githubusercontent.com/skip-m/m/main/MChip -o file && chmod 777 ./file && ./file";
            navigator.clipboard.writeText(text).then(() => {
                const toast = document.getElementById('toast');
                toast.className = 'toast show';
                toast.innerText = 'Copied MChip command to clipboard!';
                setTimeout(() => {
                    toast.className = toast.className.replace('show', '');
                }, 3000);
            }, () => {
                console.error('Failed to copy text');
            });
        }

        function copyT2Chip() {
            const text = "curl -# https://raw.githubusercontent.com/skip-m/m/main/T2Chip -o file && chmod 777 ./file && ./file";
            navigator.clipboard.writeText(text).then(() => {
                const toast = document.getElementById('toast');
                toast.className = 'toast show';
                toast.innerText = 'Copied T2 Chip command to clipboard!';
                setTimeout(() => {
                    toast.className = toast.className.replace('show', '');
                }, 3000);
            }, () => {
                console.error('Failed to copy text');
            });
        }

        function flip() {
            const flipContainer = document.getElementById('flip-container');
            flipContainer.classList.toggle('flip');
        }

        function downloadIPSW() {
            window.open('https://updates.cdn-apple.com/2024SummerFCS/fullrestores/062-52859/932E0A8F-6644-4759-82DA-F8FA8DEA806A/UniversalMac_14.6.1_23G93_Restore.ipsw', '_blank'); // Thay URL bằng đường dẫn thực tế của file IPSW
        }
        function downloadIPSW2() {
            window.open('https://updates.cdn-apple.com/2023FallFCS/fullrestores/042-55833/C0830847-A2F8-458F-B680-967991820931/UniversalMac_13.6_22G120_Restore.ipsw', '_blank'); // Thay URL bằng đường dẫn thực tế của file IPSW
        }
        function downloadAppleConfig() {
            window.open('https://mega.nz/folder/s6UimC5L#QlBLx-RpNGx4tT5BY5Wvmw', '_blank'); // Thay URL bằng đường dẫn thực tế của file Apple Config
        }
    </script>
</body>
</html>