<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Payment Successful | भुगतान सफल</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Hind:wght@400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e7ec 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .container {
            max-width: 900px;
            width: 100%;
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        .header {
            background: linear-gradient(90deg, #2a3466 0%, #4a2387 100%);
            color: white;
            padding: 30px 40px;
            text-align: center;
            position: relative;
        }

        .logo-container {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
        }

        .logo {
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
        }

        .logo i {
            margin-right: 10px;
            color: #6c5ce7;
        }

        .header h1 {
            font-size: 2.8rem;
            font-weight: 600;
            margin: 10px 0;
        }

        .header p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

        .content {
            padding: 50px 40px 60px;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }

        .success-icon {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
            animation: pulse 2s infinite;
        }

        .success-icon i {
            font-size: 5rem;
            color: white;
        }

        .message {
            text-align: center;
            margin-bottom: 40px;
            max-width: 800px;
        }

        .message h2 {
            font-size: 2.5rem;
            color: #2a3466;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .hindi {
            font-family: 'Hind', sans-serif;
            font-size: 2.2rem;
            color: #ff6b6b;
            margin: 15px 0 25px;
            line-height: 1.4;
        }

        .message p {
            font-size: 1.3rem;
            color: #555;
            line-height: 1.8;
            margin-top: 15px;
        }

        .hindi-footer {
            font-family: 'Hind', sans-serif;
            font-size: 1.2rem;
            color: #ff6b6b;
        }

        .features {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin: 30px 0 40px;
            flex-wrap: wrap;
        }

        .feature-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            padding: 20px;
            width: 180px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-card i {
            font-size: 2.5rem;
            color: #4a2387;
            margin-bottom: 15px;
        }

        .feature-card h3 {
            font-size: 1.1rem;
            color: #2a3466;
            margin-bottom: 5px;
        }

        .feature-card p {
            font-size: 0.9rem;
            color: #666;
        }

        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }

        .btn {
            padding: 14px 35px;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            outline: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .primary-btn {
            background: linear-gradient(90deg, #2a3466 0%, #4a2387 100%);
            color: white;
            box-shadow: 0 5px 15px rgba(42, 52, 102, 0.3);
        }

        .secondary-btn {
            background: white;
            color: #4a2387;
            border: 2px solid #4a2387;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(42, 52, 102, 0.4);
        }

        .india-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            overflow: hidden;
            z-index: 1;
        }

        .lotus {
            position: absolute;
            font-size: 3rem;
            opacity: 0.1;
            z-index: -1;
        }

        .lotus:nth-child(1) {
            top: 20px;
            left: 30px;
            transform: rotate(20deg);
            color: #FF9933;
        }

        .lotus:nth-child(2) {
            bottom: 20px;
            right: 30px;
            transform: rotate(-15deg);
            color: #138808;
        }

        .taj-mahal {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 60px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            border-radius: 50% 50% 0 0;
            z-index: -1;
        }

        .taj-mahal:before, .taj-mahal:after {
            content: '';
            position: absolute;
            top: -20px;
            width: 30px;
            height: 40px;
            background: rgba(255,255,255,0.3);
            border-radius: 50% 50% 0 0;
        }

        .taj-mahal:before {
            left: 15px;
        }

        .taj-mahal:after {
            right: 15px;
        }

        .contact-info {
            margin-top: 30px;
            font-size: 1.1rem;
            color: #666;
            text-align: center;
            padding: 15px 20px;
            background: #f8f9fa;
            border-radius: 12px;
            max-width: 600px;
            width: 100%;
        }

        .divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, #ddd, transparent);
            width: 80%;
            margin: 25px 0;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.4);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(0, 184, 148, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(0, 184, 148, 0);
            }
        }

        @media (max-width: 768px) {
            .header {
                padding: 25px 20px;
            }

            .header h1 {
                font-size: 2.2rem;
            }

            .logo {
                font-size: 2rem;
            }

            .hindi {
                font-size: 1.8rem;
            }

            .message h2 {
                font-size: 2rem;
            }

            .message p {
                font-size: 1.1rem;
            }

            .action-buttons {
                flex-direction: column;
                align-items: center;
                gap: 12px;
            }

            .btn {
                width: 100%;
                max-width: 300px;
                padding: 12px 20px;
                justify-content: center;
            }

            .features {
                gap: 15px;
            }

            .feature-card {
                width: 140px;
                padding: 15px 10px;
            }

            .content {
                padding: 40px 20px 50px;
            }
        }
    </style>
</head>
<body>
<div class="container">
    <div class="india-elements">
        <div class="lotus">🌸</div>
        <div class="lotus">🌸</div>
        <div class="taj-mahal"></div>
    </div>

    <div class="header">
        <div class="logo-container">
            <div class="logo">
                <i class="fas fa-rupee-sign"></i>
                Razorpay
            </div>
        </div>
        <h1>Payment Successful</h1>
        <p>Your transaction has been processed securely</p>
    </div>

    <div class="content">
        <div class="success-icon">
            <i class="fas fa-check"></i>
        </div>

        <div class="message">
            <h2>Thank you for your payment!</h2>
            <div class="hindi">आपका भुगतान सफलतापूर्वक प्राप्त हो गया है!</div>

            <p>Your transaction was completed successfully. This page can now be safely closed.</p>
            <p class="hindi-footer">आपका लेन-देन सफलतापूर्वक पूरा हो गया है। अब इस पृष्ठ को सुरक्षित रूप से बंद किया जा सकता है।</p>
        </div>

        <div class="divider"></div>

        <div class="features">
            <div class="feature-card">
                <i class="fas fa-shield-alt"></i>
                <h3>Secure Payment</h3>
                <p>सुरक्षित भुगतान</p>
            </div>
            <div class="feature-card">
                <i class="fas fa-lock"></i>
                <h3>Encrypted</h3>
                <p>एन्क्रिप्टेड</p>
            </div>
            <div class="feature-card">
                <i class="fas fa-bolt"></i>
                <h3>Instant Processing</h3>
                <p>तुरंत प्रसंस्करण</p>
            </div>
        </div>

    </div>
</div>

<script>
    document.addEventListener('DOMContentLoaded', function() {
        // Success icon animation
        const successIcon = document.querySelector('.success-icon');

        setTimeout(() => {
            successIcon.style.transform = 'scale(1.1)';
            setTimeout(() => {
                successIcon.style.transform = 'scale(1)';
            }, 300);
        }, 500);

        // Button hover effects
        const buttons = document.querySelectorAll('.btn');
        buttons.forEach(button => {
            button.addEventListener('mouseenter', function() {
                this.style.transform = 'translateY(-3px)';
            });

            button.addEventListener('mouseleave', function() {
                this.style.transform = 'translateY(0)';
            });
        });

        // Feature card animations
        const featureCards = document.querySelectorAll('.feature-card');
        featureCards.forEach((card, index) => {
            card.style.opacity = "0";
            card.style.transform = "translateY(20px)";
            card.style.transition = "opacity 0.5s ease, transform 0.5s ease";

            setTimeout(() => {
                card.style.opacity = "1";
                card.style.transform = "translateY(0)";
            }, 300 + index * 150);
        });
    });
</script>
</body>
</html>