make a casino website landing page all in one file.
- User
make a casino website landing page all in one file.
Assistant
make a casino website landing page all in one file.
Here's a complete casino website landing page in a single HTML file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lucky Star Casino - Play, Win, Enjoy!</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: #333;
background-color: #0a0a0a;
}
/* Header Styles */
header {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
padding: 1rem 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
nav {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 2rem;
}
.logo {
font-size: 2rem;
font-weight: bold;
color: #ffd700;
text-decoration: none;
display: flex;
align-items: center;
}
.logo::before {
content: "⭐";
margin-right: 0.5rem;
}
.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-links a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
}
.nav-links a:hover {
color: #ffd700;
}
.cta-button {
background: linear-gradient(45deg, #ffd700, #ffed4e);
color: #1a1a2e;
padding: 0.75rem 2rem;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
transition: transform 0.3s, box-shadow 0.3s;
}
.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}
/* Hero Section */
.hero {
margin-top: 80px;
min-height: 600px;
background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%230a0a0a" width="1200" height="600"/><g fill="%23ffd700" opacity="0.1"><circle cx="200" cy="150" r="80"/><circle cx="600" cy="300" r="120"/><circle cx="1000" cy="200" r="60"/></g></svg>');
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
position: relative;
overflow: hidden;
}
.hero-content {
max-width: 800px;
padding: 2rem;
z-index: 1;
}
.hero h1 {
font-size: 4rem;
margin-bottom: 1rem;
background: linear-gradient(45deg, #ffd700, #fff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero p {
font-size: 1.5rem;
margin-bottom: 2rem;
color: #e0e0e0;
}
.hero-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.btn-primary {
background: linear-gradient(45deg, #ffd700, #ffed4e);
color: #1a1a2e;
padding: 1rem 3rem;
border-radius: 50px;
text-decoration: none;
font-size: 1.2rem;
font-weight: bold;
transition: all 0.3s;
display: inline-block;
}
.btn-primary:hover {
transform: scale(1.05);
box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}
.btn-secondary {
background: transparent;
color: #ffd700;
padding: 1rem 3rem;
border-radius: 50px;
text-decoration: none;
font-size: 1.2rem;
font-weight: bold;
border: 2px solid #ffd700;
transition: all 0.3s;
display: inline-block;
}
.btn-secondary:hover {
background: #ffd700;
color: #1a1a2e;
}
/* Games Section */
.games-section {
padding: 4rem 2rem;
background: #0f0f0f;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.section-title {
text-align: center;
font-size: 3rem;
margin-bottom: 3rem;
color: #ffd700;
}
.games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.game-card {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-radius: 15px;
overflow: hidden;
transition: transform 0.3s, box-shadow 0.3s;
cursor: pointer;
}
.game-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}
.game-image {
height: 200px;
background: linear-gradient(45deg, #2a2a4e, #3a3a6e);
display: flex;
align-items: center;
justify-content: center;
font-size: 4rem;
}
.game-info {
padding: 1.5rem;
color: white;
}
.game-info h3 {
margin-bottom: 0.5rem;
color: #ffd700;
}
/* Promotions Section */
.promotions-section {
padding: 4rem 2rem;
background: #1a1a2e;
}
.promo-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.promo-card {
background: linear-gradient(135deg, #2a2a4e 0%, #3a3a6e 100%);
padding: 2rem;
border-radius: 15px;
text-align: center;
color: white;
position: relative;
overflow: hidden;
}
.promo-card::before {
content: "";
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(0.8); opacity: 0.5; }
50% { transform: scale(1.2); opacity: 0.8; }
}
.promo-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.promo-title {
font-size: 1.5rem;
color: #ffd700;
margin-bottom: 1rem;
}
.promo-amount {
font-size: 2.5rem;
font-weight: bold;
color: #ffd700;
margin-bottom: 1rem;
}
/* Footer */
footer {
background: #0a0a0a;
color: #888;
padding: 3rem 2rem 1rem;
text-align: center;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
}
.footer-links {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 2rem;
flex-wrap: wrap;
}
.footer-links a {
color: #888;
text-decoration: none;
transition: color 0.3s;
}
.footer-links a:hover {
color: #ffd700;
}
.responsible-gaming {
margin-top: 2rem;
padding-top: 2rem;
border-top: 1px solid #333;
font-size: 0.9rem;
}
/* Responsive */
@media (max-width: 768px) {
.nav-links {
display: none;
}
.hero h1 {
font-size: 2.5rem;
}
.hero p {
font-size: 1.2rem;
}
.section-title {
font-size: 2rem;
}
}
/* Floating animation */
.float {
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}
</style>
</head>
<body>
<!-- Header -->
<header>
<nav>
<a href="#" class="logo">Lucky Star Casino</a>
<ul class="nav-links">
<li><a href="#games">Games</a></li>
<li><a href="#promotions">Promotions</a></li>
<li><a href="#vip">VIP Club</a></li>
<li><a href="#support">Support</a></li>
</ul>
<a href="#" class="cta-button">Join Now</a>
</nav>
</header>
<!-- Hero Section -->
<section class="hero">
<div class="hero-content">
<h1 class="float">Welcome to Lucky Star Casino</h1>
<p>Experience the thrill of winning with over 1000+ games</p>
<div class="hero-buttons">
<a href="#" class="btn-primary" onclick="showAlert('Registration')">Sign Up & Get $100 Bonus</a>
<a href="#" class="btn-secondary" onclick="showAlert('Demo')">Play Demo</a>
</div>
</div>
</section>
<!-- Games Section -->
<section class="games-section" id="games">
<div class="container">
<h2 class="section-title">Popular Games</h2>
<div class="games-grid">
<div class="game-card" onclick="showAlert('Slots')">
<div class="game-image">🎰</div>
<div class="game-info">
<h3>Mega Slots</h3>
<p>500+ slot games with massive jackpots</p>
</div>
</div>
<div class="game-card" onclick="showAlert('Blackjack')">
<div class="game-image">🃏</div>
<div class="game-info">
<h3>Live Blackjack</h3>
<p>Play with real dealers 24/7</p>
</div>
</div>
<div class="game-card" onclick="showAlert('Roulette')">
<div class="game-image">🎯</div>
<div class="game-info">
<h3>European Roulette</h3>
<p>Classic casino experience</p>
</div>
</div>
<div class="game-card" onclick="showAlert('Poker')">
<div class="game-image">♠️</div>
<div class="game-info">
<h3>Texas Hold'em</h3>
<p>Join tournaments & win big</p>
</div>
</div>
</div>
</div>
</section>
<!-- Promotions Section -->
<section class="promotions-section" id="promotions">
<div class="container">
<h2 class="section-title">Exclusive Promotions</h2>
<div class="promo-grid">
<div class="promo-card">
<div class="promo-icon">🎁</div>
<h3 class="promo-title">Welcome Bonus</h3>
<div class="promo-amount">100%</div>
<p>Match bonus up to $500 on your first deposit</p>
<a href="#" class="btn-primary" onclick="showAlert('Welcome Bonus')">Claim Now</a>
</div>
<div class="promo-card">
<div class="promo-icon">🔄</div>
<h3 class="promo-title">Weekly Cashback</h3>
<div class="promo-amount">15%</div>
<p>Get cashback on your weekly losses</p>
<a href="#" class="btn-primary" onclick="showAlert('Cashback')">Learn More</a>
</div>
<div class="promo-card">
<div class="promo-icon">💎</div>
<h3 class="promo-title">VIP Rewards</h3>
<div class="promo-amount">Exclusive</div>
<p>Special bonuses for our VIP members</p>
<a href="#" class="btn-primary" onclick="showAlert('VIP')">Join VIP</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="footer-content">
<div class="footer-links">
<a href="#">About Us</a>
<a href="#">Terms & Conditions</a>
<a href="#">Privacy Policy</a>
<a href="#">Responsible Gaming</a>
<a href="#">Contact</a>
</div>
<p>© 2025 Lucky Star Casino. All rights reserved.</p>
<div class="responsible-gaming">
<p>🔞 Must be 18+ to play. Please gamble responsibly.</p>
<p>If you need help with problem gambling, call 1-800-GAMBLER</p>
</div>
</div>
</footer>
<script>
// Simple alert function for demo purposes
function showAlert(feature) {
alert(`Demo Mode: ${feature} feature would open here in a real casino website.`);
}
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// Add some interactivity
window.addEventListener('scroll', () => {
const header = document.querySelector('header');
if (window.scrollY > 100) {
header.style.background = 'linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%)';
} else {
header.style.background = 'linear-gradient(135deg, #1a1a2e 0%, #16213e 100%)';
}
});
</script>
</body>
</html>
This single-file casino landing page includes:
Modern Design: Dark theme with gold accents for a premium casino feel
Responsive Layout: Works on desktop, tablet, and mobile devices
Interactive Elements: Hover effects, animations, and click handlers
Complete Sections:
Features:
The page includes demo JavaScript that shows alerts when buttons are clicked. In a real implementation, these would link to actual game pages, registration forms, etc. The design emphasizes responsible gaming with appropriate age warnings and support information.