<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>NEXON777 - Get Your IPL Betting Instantly</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
background: linear-gradient(135deg, #1e5799, #207cca);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
position: relative;
color: #fff;
}
/* Animated Background Elements */
.bg-element {
position: absolute;
opacity: 0.7;
z-index: 1;
transition: all 0.5s ease;
filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}
.bg-element:hover {
transform: scale(1.2) rotate(15deg);
opacity: 1;
}
.bg-coin {
font-size: 80px;
color: gold;
top: 15%;
left: 5%;
animation: float 6s ease-in-out infinite;
}
.bg-dice {
font-size: 70px;
color: #fff;
bottom: 20%;
right: 8%;
animation: float 5s ease-in-out infinite 1s;
}
.bg-card {
font-size: 90px;
color: #ff5252;
top: 70%;
left: 10%;
animation: float 7s ease-in-out infinite 0.5s;
}
.bg-chip {
font-size: 60px;
color: #4CAF50;
top: 30%;
right: 15%;
animation: float 4s ease-in-out infinite 1.5s;
}
@keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-20px) rotate(10deg); }
}
.container {
width: 100%;
max-width: 1200px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
z-index: 10;
padding: 20px;
}
/* Hide image slider on mobile */
.image-slider {
flex: 1;
min-width: 300px;
padding: 20px;
position: relative;
overflow: hidden;
height: 500px;
border-radius: 15px;
display: block;
}
@media (max-width: 768px) {
.image-slider {
display: none;
}
}
.slider-image {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 15px;
opacity: 0;
transition: all 1s ease;
transform: translateX(100%);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.slider-image.active {
opacity: 1;
transform: translateX(0);
}
.form-container {
flex: 1;
min-width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 30px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
transform-style: preserve-3d;
transition: all 0.5s ease;
margin: 20px 0;
z-index: 2;
}
.form-container:hover {
transform: translateY(-10px) rotateX(5deg);
box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}
.form-title {
text-align: center;
margin-bottom: 30px;
font-size: 1.8rem;
font-weight: 600;
color: #fff;
text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.form-group {
margin-bottom: 20px;
position: relative;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: #fff;
}
.form-group input {
width: 100%;
padding: 15px;
border: none;
border-radius: 10px;
background: rgba(255, 255, 255, 0.9);
font-size: 1rem;
transition: all 0.3s ease;
}
.form-group input:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
background: #fff;
}
.submit-btn {
width: 100%;
padding: 15px;
border: none;
border-radius: 10px;
background: #fff;
color: #1e5799;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.submit-btn:hover {
background: #f1f1f1;
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Thank You Message */
.thank-you-message {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0);
background: rgba(255, 255, 255, 0.95);
padding: 40px;
border-radius: 20px;
color: #1e5799;
text-align: center;
z-index: 1000;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
max-width: 90%;
width: 400px;
opacity: 0;
}
.thank-you-message.show {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}
.thank-you-message h2 {
font-size: 2rem;
margin-bottom: 15px;
color: #1e5799;
}
.thank-you-message p {
font-size: 1.1rem;
margin-bottom: 25px;
color: #333;
}
.close-message {
background: #1e5799;
color: white;
border: none;
padding: 12px 25px;
border-radius: 8px;
cursor: pointer;
font-size: 1rem;
font-weight: 600;
transition: all 0.3s ease;
}
.close-message:hover {
background: #154276;
transform: translateY(-2px);
}
/* Celebration Effects */
.confetti {
position: fixed;
width: 12px;
height: 12px;
background-color: #f00;
opacity: 0;
z-index: 999;
animation: confettiFall 5s linear forwards;
}
@keyframes confettiFall {
0% {
transform: translateY(-100vh) rotate(0deg);
opacity: 1;
}
100% {
transform: translateY(100vh) rotate(360deg);
opacity: 0;
}
}
/* Responsive */
@media (max-width: 768px) {
.container {
flex-direction: column;
min-height: auto;
padding: 10px;
}
.form-container {
width: 100%;
min-width: auto;
padding: 25px;
}
.form-title {
font-size: 1.5rem;
}
.thank-you-message {
width: 90%;
padding: 30px 20px;
}
}
</style>
</head>
<body>
<!-- Animated Background Elements -->
<i class="fas fa-coins bg-element bg-coin"></i>
<i class="fas fa-dice bg-element bg-dice"></i>
<i class="fas fa-club bg-element bg-card"></i>
<i class="fas fa-chess-pawn bg-element bg-chip"></i>
<div class="container">
<div class="image-slider">
<!-- Images hidden on mobile -->
<img src="img1.png" class="slider-image active" alt="IPL Betting">
<img src="img2.png" class="slider-image" alt="IPL Betting">
<img src="img3.png" class="slider-image" alt="IPL Betting">
</div>
<div class="form-container">
<h2 class="form-title">Get Your Betting ID</h2>
<form id="inquiryForm" method="POST" action="">
<div class="form-group">
<label for="name">Full Name</label>
<input type="text" id="name" name="name" placeholder="Enter your name" required>
</div>
<div class="form-group">
<label for="mobile">Mobile Number</label>
<input type="tel" id="mobile" name="mobile" placeholder="Enter your mobile number" required>
</div>
<div class="form-group">
<label for="city">City Name</label>
<input type="text" id="city" name="city" placeholder="Enter your city" required>
</div>
<button type="submit" class="submit-btn">Get ID Now</button>
</form>
</div>
</div>
<!-- Thank You Message -->
<div class="thank-you-message" id="thankYouMessage">
<h2>Thank You!</h2>
<p>Your request has been submitted successfully.</p>
<p>We'll contact you shortly with your Betting ID.</p>
<button class="close-message" onclick="closeThankYou()">Close</button>
</div>
<script>
// Image Slider Functionality (only runs on desktop)
if (window.innerWidth > 768) {
const images = document.querySelectorAll('.slider-image');
let currentIndex = 0;
function showNextImage() {
images[currentIndex].classList.remove('active');
images[currentIndex].classList.add('prev');
currentIndex = (currentIndex + 1) % images.length;
images[currentIndex].classList.add('next');
setTimeout(() => {
images[currentIndex].classList.remove('next');
images[currentIndex].classList.add('active');
setTimeout(() => {
const prevImage = document.querySelector('.slider-image.prev');
if(prevImage) prevImage.classList.remove('prev');
}, 1000);
}, 10);
}
setInterval(showNextImage, 3000);
}
// Form submission
document.getElementById('inquiryForm').addEventListener('submit', function(e) {
e.preventDefault();
const name = document.getElementById('name').value.trim();
const mobile = document.getElementById('mobile').value.trim();
const city = document.getElementById('city').value.trim();
if (!name || !mobile || !city) {
alert('All fields are required');
return;
}
if (!/^\d{10,15}$/.test(mobile)) {
alert('Please enter a valid mobile number (10-15 digits)');
return;
}
submitForm(name, mobile, city);
});
function submitForm(name, mobile, city) {
fetch('submit_inquiry.php', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: name,
mobile: mobile,
city: city
})
})
.then(response => response.json())
.then(data => {
if(data.success) {
createCelebration();
document.getElementById('thankYouMessage').classList.add('show');
document.getElementById('inquiryForm').reset();
} else {
alert('Error: ' + data.message);
}
})
.catch(error => {
alert('Network error. Please try again.');
});
}
function createCelebration() {
// Create confetti
const colors = ['#f00', '#0f0', '#00f', '#ff0', '#f0f', '#0ff'];
for(let i = 0; i < 150; i++) {
const confetti = document.createElement('div');
confetti.className = 'confetti';
confetti.style.left = Math.random() * 100 + 'vw';
confetti.style.backgroundColor = colors[Math.floor(Math.random() * colors.length)];
confetti.style.width = Math.random() * 10 + 5 + 'px';
confetti.style.height = Math.random() * 10 + 5 + 'px';
confetti.style.animationDuration = Math.random() * 3 + 2 + 's';
confetti.style.animationDelay = Math.random() * 2 + 's';
document.body.appendChild(confetti);
setTimeout(() => {
confetti.remove();
}, 5000);
}
}
function closeThankYou() {
document.getElementById('thankYouMessage').classList.remove('show');
}
// Make background elements interactive
document.querySelectorAll('.bg-element').forEach(el => {
el.addEventListener('mouseover', function() {
this.style.transform = 'scale(1.3) rotate(15deg)';
this.style.opacity = '1';
});
el.addEventListener('mouseout', function() {
this.style.transform = '';
this.style.opacity = '0.7';
});
});
</script>
</body>
</html>