<?php
include_once 'api/auth-core.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Registration Successful - Loveworld Trade & Investment Forum</title>
  <link rel="icon" type="image/png" href="images/favicon.png">
  <!-- Bootstrap + Fonts -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
  <link rel="stylesheet" href="css/style.css?v=8" />
  <link rel="stylesheet" href="css/responsive.css?v=9" />
  <link rel="stylesheet" href="css/register.css?v=1.2" />
  <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap" rel="stylesheet">
</head>

<body>

  <!-- HERO BANNER -->
  <section class="register-hero d-flex align-items-center justify-content-center text-center">
    <div class="container position-relative text-white">
      <a href="index.php"> <img src="images/logo-light.png" alt="Logo" /> </a>
      <h1 class="fw-bold mb-3"> <?php echo $header; ?> </h1>
      <p class="lead"> <?php echo $subHeading; ?> </p>
    </div>
  </section>

  <!-- SUCCESS CONTENT -->
  <section class="success-section">
    <div class="success-card">
      <div class="success-icon">
        <i class="fas fa-check-circle"></i>
      </div>

      <h2 class="fw-bold mb-3">You're All Set! 🎉</h2>
      <p class="mb-4">
        <?php echo $paragraph; ?>
      </p>

      <a href="index.php" class="btn btn-primary mt-3">
        <i class="fas fa-arrow-left me-2"></i> Back to Home
      </a>
    </div>
  </section>

  <?php include 'footer.php'; ?>
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
