<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>شكراً لثقتك - Elite Clothes</title>
    <link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.5.1/dist/confetti.browser.min.js"></script>
    <style>
        :root {
            --gold: #D4AF37;
            --dark-bg: #0A0A0A;
        }

        body {
            margin: 0;
            padding: 0;
            background-color: var(--dark-bg);
            color: #ffffff;
            font-family: 'Cairo', sans-serif;
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            text-align: center;
        }

        /* تأثير Shimmer على اللوجو */
        .logo {
            font-size: 2.5rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 4px;
            color: var(--gold);
            margin-bottom: 30px;
            position: relative;
            background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fcf6ba, #bf953f);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shimmer 3s infinite linear;
        }

        @keyframes shimmer {
            0% { background-position: -200px; }
            100% { background-position: 200px; }
        }

        /* أيقونة الصح مع النبض */
        .check-container {
            width: 100px;
            height: 100px;
            background: var(--gold);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
            animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, pulse 2s infinite 0.6s;
            opacity: 0;
            transform: scale(0);
        }

        .check-container svg {
            width: 50px;
            height: 50px;
            fill: white;
        }

        @keyframes scaleIn {
            to { opacity: 1; transform: scale(1); }
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
            70% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
            100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
        }

        /* الرسالة */
        .content {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease forwards 0.5s;
            max-width: 500px;
            padding: 0 20px;
        }

        h1 {
            font-size: 2rem;
            margin-bottom: 15px;
            color: #ffffff;
        }

        p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #cccccc;
        }

        .highlight-phone {
            color: var(--gold);
            font-weight: bold;
            border-bottom: 1px solid var(--gold);
        }

        @keyframes fadeInUp {
            to { opacity: 1; transform: translateY(0); }
        }

        /* زر العودة الأنيق */
        .back-home {
            margin-top: 40px;
            padding: 12px 35px;
            border: 1px solid var(--gold);
            color: var(--gold);
            text-decoration: none;
            border-radius: 2px;
            transition: all 0.4s ease;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }

        .back-home:hover {
            background: var(--gold);
            color: black;
        }
    </style>
</head>
<body>

    <div class="logo">Elite Clothes</div>

    <div class="check-container">
        <svg viewBox="0 0 24 24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>
    </div>

    <div class="content">
        <h1>تم استلام طلبك بنجاح!</h1>
        <p>
            شكراً لثقتك بـ <strong>Elite Clothes</strong>.<br>
            سيتواصل معك فريقنا لتأكيد طلبك في أقرب وقت.<br>
            نرجو <span class="highlight-phone">إبقاء خط هاتفك متاحاً</span>.
        </p>
        
        <br><br>
        <a href="https://eliteclothes16.com" class="back-home">العودة للمتجر</a>
    </div>

    <script>
        // تشغيل الكونفيتي الذهبي عند التحميل
        window.onload = function() {
            var count = 200;
            var defaults = {
                origin: { y: 0.7 },
                colors: ['#D4AF37', '#F4DF4E', '#996515']
            };

            function fire(particleRatio, opts) {
                confetti(Object.assign({}, defaults, opts, {
                    particleCount: Math.floor(count * particleRatio)
                }));
            }

            fire(0.25, { spread: 26, startVelocity: 55 });
            fire(0.2, { spread: 60 });
            fire(0.35, { spread: 100, decay: 0.91, scalar: 0.8 });
            fire(0.1, { spread: 120, startVelocity: 25, decay: 0.92, scalar: 1.2 });
            fire(0.1, { spread: 120, startVelocity: 45 });
        };
    </script>
</body>
</html>