<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Zirupay Deposite Done</title>
    <style>
      /* General Styles */
      body {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        font-family: Arial, sans-serif;
        background-color: #f7f7f7;
        overflow: hidden;
      }

      .container {
        text-align: center;
        background-color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        position: relative;
        max-width: 350px;
        width: 100%;
      }

      /* Checkmark Styling with Loop Animation */
      .checkmark {
        font-size: 100px;
        color: #00ffaa; /* Bright neon green */
        margin-bottom: 20px;
        position: relative;
        animation: checkmarkPulse 2s infinite ease-in-out;
      }

      /* Text Styling */
      h1 {
        font-size: 20px;
        margin: 0;
        animation: slideUp 1s ease-out;
      }

      p {
        font-size: 14px;
        color: #666;
        margin-top: 10px;
        animation: fadeIn 1.5s ease-in-out;
      }

      /* Button Styling */
      button {
        margin-top: 20px;
        padding: 10px 25px;
        font-size: 16px;
        color: white;
        background-color: #007bff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        animation: zoomInButton 1s ease-in-out;
      }

      /* Star Animation Styling */
      .star {
        position: absolute;
        background-color: #00ffaa; /* Bright neon green */
        width: 8px;
        height: 8px;
        border-radius: 50%;
        animation: rotateStar 3s infinite linear;
      }

      /* Star orbit paths */
      .star:nth-child(1) {
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        animation-delay: 0s;
      }

      .star:nth-child(2) {
        top: 50%;
        right: -20px;
        transform: translateY(-50%);
        animation-delay: 0.5s;
      }

      .star:nth-child(3) {
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        animation-delay: 1s;
      }

      .star:nth-child(4) {
        top: 50%;
        left: -20px;
        transform: translateY(-50%);
        animation-delay: 1.5s;
      }

      /* Rotating Stars */
      @keyframes rotateStar {
        0% {
          transform: scale(0.5) translate(0) rotate(0deg);
          opacity: 0;
        }
        50% {
          transform: scale(1.2) translate(50px) rotate(180deg);
          opacity: 1;
        }
        100% {
          transform: scale(0.5) translate(0) rotate(360deg);
          opacity: 0;
        }
      }

      /* Looping Checkmark Animation */
      @keyframes checkmarkPulse {
        0% {
          transform: scale(1);
          opacity: 1;
        }
        50% {
          transform: scale(1.3);
          opacity: 0.8;
        }
        100% {
          transform: scale(1);
          opacity: 1;
        }
      }

      /* Responsive Design */
      @media only screen and (max-width: 768px) {
        .container {
          padding: 15px;
        }

        .checkmark {
          font-size: 80px;
        }

        h1 {
          font-size: 18px;
        }

        p {
          font-size: 14px;
        }

        button {
          padding: 10px 20px;
          font-size: 14px;
        }
      }

      /* Animations */
      @keyframes zoomIn {
        0% {
          transform: scale(0);
        }
        100% {
          transform: scale(1);
        }
      }

      @keyframes slideUp {
        0% {
          transform: translateY(50px);
          opacity: 0;
        }
        100% {
          transform: translateY(0);
          opacity: 1;
        }
      }

      @keyframes fadeIn {
        0% {
          opacity: 0;
        }
        100% {
          opacity: 1;
        }
      }

      @keyframes zoomInButton {
        0% {
          transform: scale(0);
          opacity: 0;
        }
        100% {
          transform: scale(1);
          opacity: 1;
        }
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="checkmark">✔</div>
      <h1>Congratulations</h1>
      <p>Your payment has been successfully processed. Please return to the app for recharge</p>
      <button type="button" onclick="window.close()">Back to Zirupay App</button>
    </div>

    <!-- Stars orbiting the checkmark -->
    <div class="star"></div>
    <div class="star"></div>
    <div class="star"></div>
    <div class="star"></div>
  </body>
</html>
