Spaces:
Sleeping
Sleeping
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>MysteryBox - Sign Up</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| animation: { | |
| 'float': 'float 6s ease-in-out infinite', | |
| 'pulse-slow': 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite', | |
| }, | |
| keyframes: { | |
| float: { | |
| '0%, 100%': { transform: 'translateY(0)' }, | |
| '50%': { transform: 'translateY(-10px)' }, | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| } | |
| .signup-bg { | |
| background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .signup-bg::before { | |
| content: ""; | |
| position: absolute; | |
| width: 200%; | |
| height: 200%; | |
| top: -50%; | |
| left: -50%; | |
| z-index: 0; | |
| background: radial-gradient(circle, rgba(255,255,255,0.15) 10%, transparent 10.5%); | |
| background-size: 25px 25px; | |
| transform: rotate(30deg); | |
| animation: pulse-slow 8s infinite; | |
| } | |
| .confetti { | |
| position: absolute; | |
| width: 10px; | |
| height: 10px; | |
| background-color: rgba(255, 255, 255, 0.5); | |
| opacity: 0; | |
| } | |
| .btn-glow:hover { | |
| box-shadow: 0 0 15px rgba(245, 158, 11, 0.6); | |
| } | |
| .input-focus:focus { | |
| box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100"> | |
| <div class="min-h-screen flex"> | |
| <!-- Left Section (Banner / Fun / Marketing) --> | |
| <div class="hidden lg:flex w-1/2 signup-bg text-black flex-col justify-center items-center p-12 relative"> | |
| <div class="relative z-10 text-center"> | |
| <div class="absolute -top-16 left-1/2 transform -translate-x-1/2"> | |
| <div class="w-32 h-32 bg-white bg-opacity-30 rounded-full flex items-center justify-center"> | |
| <i class="fas fa-box-open text-6xl text-white animate-float"></i> | |
| </div> | |
| </div> | |
| <h1 class="text-5xl font-bold mb-6 mt-8">Join the Mystery! <span class="text-purple-600">🎉</span></h1> | |
| <p class="text-xl mb-8 max-w-md mx-auto leading-relaxed">Create your account and start unboxing happiness. Deals, rewards, and surprises await every member.</p> | |
| <div class="bg-white bg-opacity-20 p-6 rounded-2xl backdrop-blur-sm border border-white border-opacity-30"> | |
| <h3 class="text-xl font-semibold mb-3">Member Benefits</h3> | |
| <ul class="space-y-2 text-left"> | |
| <li class="flex items-center"><i class="fas fa-star text-yellow-700 mr-2"></i> Curated mystery boxes</li> | |
| <li class="flex items-center"><i class="fas fa-star text-yellow-700 mr-2"></i> Special birthday surprises</li> | |
| <li class="flex items-center"><i class="fas fa-star text-yellow-700 mr-2"></i> Member-only discounts</li> | |
| <li class="flex items-center"><i class="fas fa-star text-yellow-700 mr-2"></i> Early access to sales</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Animated confetti --> | |
| <div class="confetti" style="top: 20%; left: 30%; animation: fall 8s linear infinite 1s;"></div> | |
| <div class="confetti" style="top: 10%; left: 60%; animation: fall 10s linear infinite 2s;"></div> | |
| <div class="confetti" style="top: 15%; left: 80%; animation: fall 9s linear infinite 0.5s;"></div> | |
| </div> | |
| <!-- Right Section (Signup Form) --> | |
| <div class="w-full lg:w-1/2 flex flex-col justify-center items-center bg-white"> | |
| <div class="max-w-md w-full p-8 space-y-6"> | |
| <div class="text-center"> | |
| <h2 class="text-4xl font-bold text-gray-900 bg-clip-text text-transparent bg-gradient-to-r from-yellow-600 to-orange-500">Sign Up</h2> | |
| <p class="text-gray-600 mt-2">Fill in your details to start your mystery adventure</p> | |
| </div> | |
| <!-- Form --> | |
| <form method="POST" class="mt-8 space-y-4"> | |
| {% csrf_token %} | |
| <div class="grid grid-cols-2 gap-4"> | |
| <div> | |
| <label class="block text-gray-700 font-medium mb-2">First Name</label> | |
| <div class="relative"> | |
| <i class="fas fa-user absolute left-3 top-3 text-gray-400"></i> | |
| <input type="text" name="first_name" required class="w-full pl-10 pr-3 py-3 border border-gray-300 rounded-xl focus:outline-none input-focus focus:border-yellow-500 transition duration-300" placeholder="First name"> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 font-medium mb-2">Last Name</label> | |
| <div class="relative"> | |
| <i class="fas fa-user absolute left-3 top-3 text-gray-400"></i> | |
| <input type="text" name="last_name" required class="w-full pl-10 pr-3 py-3 border border-gray-300 rounded-xl focus:outline-none input-focus focus:border-yellow-500 transition duration-300" placeholder="Last name"> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 font-medium mb-2">Email</label> | |
| <div class="relative"> | |
| <i class="fas fa-envelope absolute left-3 top-3 text-gray-400"></i> | |
| <input type="email" name="email" required class="w-full pl-10 pr-3 py-3 border border-gray-300 rounded-xl focus:outline-none input-focus focus:border-yellow-500 transition duration-300" placeholder="Enter your email"> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 font-medium mb-2">Password</label> | |
| <div class="relative"> | |
| <i class="fas fa-lock absolute left-3 top-3 text-gray-400"></i> | |
| <input type="password" name="password1" required class="w-full pl-10 pr-3 py-3 border border-gray-300 rounded-xl focus:outline-none input-focus focus:border-yellow-500 transition duration-300" placeholder="Create a password"> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 font-medium mb-2">Confirm Password</label> | |
| <div class="relative"> | |
| <i class="fas fa-lock absolute left-3 top-3 text-gray-400"></i> | |
| <input type="password" name="password2" required class="w-full pl-10 pr-3 py-3 border border-gray-300 rounded-xl focus:outline-none input-focus focus:border-yellow-500 transition duration-300" placeholder="Confirm your password"> | |
| </div> | |
| </div> | |
| <div class="flex items-center text-sm pt-2"> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="form-checkbox h-4 w-4 text-yellow-600 rounded focus:ring-yellow-500"> | |
| <span class="ml-2 text-gray-700">I agree to the <a href="#" class="text-yellow-600 hover:underline">Terms & Conditions</a></span> | |
| </label> | |
| </div> | |
| <button type="submit" class="w-full py-3 px-4 bg-gradient-to-r from-yellow-500 to-orange-500 hover:from-yellow-400 hover:to-orange-400 text-black font-semibold rounded-xl shadow-md transition duration-300 btn-glow flex items-center justify-center"> | |
| <span>Create Account</span> | |
| <i class="fas fa-gift ml-2"></i> | |
| </button> | |
| </form> | |
| <!-- Divider --> | |
| <div class="flex items-center my-6"> | |
| <div class="flex-grow border-t border-gray-300"></div> | |
| <span class="px-3 text-gray-500 text-sm">OR</span> | |
| <div class="flex-grow border-t border-gray-300"></div> | |
| </div> | |
| <!-- Social Signup --> | |
| <div class="flex justify-center space-x-4"> | |
| <a href="#" class="px-4 py-2.5 bg-blue-600 text-white rounded-xl shadow hover:bg-blue-700 transition duration-300 flex items-center space-x-2"> | |
| <i class="fab fa-facebook-f"></i> | |
| <span>Facebook</span> | |
| </a> | |
| <a href="#" class="px-4 py-2.5 bg-red-500 text-white rounded-xl shadow hover:bg-red-600 transition duration-300 flex items-center space-x-2"> | |
| <i class="fab fa-google"></i> | |
| <span>Google</span> | |
| </a> | |
| </div> | |
| <!-- Login Redirect --> | |
| <p class="text-center text-gray-600 pt-4"> | |
| Already have an account? | |
| <a href="/Accounts/login" class="text-yellow-600 font-medium hover:text-yellow-800 transition duration-300">Login</a> | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <style> | |
| .confetti { | |
| position: absolute; | |
| width: 10px; | |
| height: 10px; | |
| background-color: rgba(255, 255, 255, 0.7); | |
| opacity: 0; | |
| } | |
| @keyframes fall { | |
| 0% { | |
| opacity: 1; | |
| transform: translateY(0) rotate(0deg); | |
| } | |
| 100% { | |
| opacity: 0; | |
| transform: translateY(100vh) rotate(360deg); | |
| } | |
| } | |
| </style> | |
| </body> | |
| </html> |