<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Neon Cyberpunk Landing Page</title>
<!--===== GOOGLE FONTS =====-->
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap" rel="stylesheet"/>
<!--===== STYLES =====-->
<style>
/* RESET */
*{margin:0;padding:0;box-sizing:border-box;}
body,html{height:100%;scroll-behavior:smooth;font-family:'Orbitron',sans-serif;color:#fff;}
/* GLOBAL COLORS */
:root{
--neon-pink:#ff007d;
--neon-blue:#00eaff;
--neon-purple:#b300ff;
--bg:#0a0a12;
--grid-line:#1c1c2b;
}
body{
background:var(--bg);
overflow-x:hidden;
}
/* ===== ANIMATED GRID BACKGROUND ===== */
.grid{
position:fixed;
top:0;
left:0;
width:200%;
height:200%;
background-image:
linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
linear-gradient(var(--grid-line) 1px, transparent 1px);
background-size:60px 60px;
animation:moveGrid 30s linear infinite;
z-index:-2;
opacity:0.25;
}
@keyframes moveGrid{
from{transform:translate(0,0);}
to{transform:translate(-60px,-60px);}
}
/* ===== NEON GLOW ===== */
.neon{
text-shadow:
0 0 5px var(--neon-pink),
0 0 10px var(--neon-pink),
0 0 20px var(--neon-pink),
0 0 40px var(--neon-blue),
0 0 80px var(--neon-blue);
}
/* ===== NAV ===== */
header{
padding:20px 60px;
display:flex;
align-items:center;
justify-content:space-between;
position:relative;
z-index:2;
}
nav a{
color:#fff;
margin-left:30px;
text-decoration:none;
font-size:0.9rem;
position:relative;
transition:.3s;
}
nav a::after{
content:'';
position:absolute;
width:0%;
height:2px;
bottom:-4px;
left:0;
background:var(--neon-blue);
box-shadow:0 0 8px var(--neon-blue);
transition:.3s;
}
nav a:hover{color:var(--neon-blue);}
nav a:hover::after{width:100%;}
/* ===== HERO ===== */
.hero{
min-height:90vh;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;
padding:0 20px;
position:relative;
}
.hero h1{
font-size:3.5rem;
letter-spacing:4px;
line-height:1.15;
}
.hero p{
font-size:1.1rem;
max-width:600px;
margin:25px 0 40px;
color:#d1d1e0;
}
.btn{
padding:14px 36px;
font-size:1.1rem;
letter-spacing:2px;
color:#fff;
background:none;
border:2px solid var(--neon-pink);
border-radius:50px;
cursor:pointer;
position:relative;
transition:.4s;
}
.btn:hover{
background:var(--neon-pink);
box-shadow:0 0 10px var(--neon-pink),
0 0 20px var(--neon-blue),
0 0 40px var(--neon-blue);
}
/* ===== FLICKER / GLITCH EFFECT ===== */
.glitch{
position:relative;
display:inline-block;
animation:glitch-skew 3s infinite linear alternate-reverse;
}
.glitch::before,
.glitch::after{
content:attr(data-text);
position:absolute;
top:0;left:0;
width:100%;height:100%;
}
.glitch::before{
left:2px;
text-shadow:-2px 0 var(--neon-blue);
clip-path:polygon(0 2%,100% 2%,100% 33%,0 33%);
animation:glitch-anim 2.5s infinite linear alternate-reverse;
}
.glitch::after{
left:-2px;
text-shadow:-2px 0 var(--neon-pink);
clip-path:polygon(0 66%,100% 66%,100% 100%,0 100%);
animation:glitch-anim2 3s infinite linear alternate-reverse;
}
@keyframes glitch-anim{
0%{clip-path:polygon(0 2%,100% 2%,100% 33%,0 33%);}
50%{clip-path:polygon(0 10%,100% 15%,100% 20%,0 15%);}
100%{clip-path:polygon(0 20%,100% 25%,100% 30%,0 25%);}
}
@keyframes glitch-anim2{
0%{clip-path:polygon(0 66%,100% 66%,100% 100%,0 100%);}
50%{clip-path:polygon(0 80%,100% 85%,100% 90%,0 85%);}
100%{clip-path:polygon(0 90%,100% 95%,100% 100%,0 95%);}
}
@keyframes glitch-skew{
0%{transform:skew(0deg);}
20%{transform:skew(1deg);}
40%{transform:skew(-1deg);}
60%{transform:skew(0.5deg);}
80%{transform:skew(-0.5deg);}
100%{transform:skew(0deg);}
}
/* ===== SOCIAL ===== */
.social{
position:fixed;
right:20px;
bottom:30px;
display:flex;
flex-direction:column;
gap:14px;
}
.social a{
color:#fff;
font-size:1.2rem;
width:45px;height:45px;
display:flex;
align-items:center;
justify-content:center;
border:1px solid var(--neon-purple);
border-radius:50%;
transition:.3s;
text-decoration:none;
}
.social a:hover{
background:var(--neon-purple);
box-shadow:0 0 8px var(--neon-purple),0 0 16px var(--neon-blue);
}
/* ===== MEDIA ===== */
@media(max-width:768px){
.hero h1{font-size:2.4rem;}
.btn{padding:12px 28px;}
header{padding:20px;}
nav a{margin-left:18px;}
}
</style>
</head>
<body>
<!-- Moving grid background -->
<div class="grid"></div>
<!-- ===== HEADER ===== -->
<header>
<h2 class="neon">CYBER<span style="color:var(--neon-blue);">WAVE</span></h2>
<nav>
<a href="#">Home</a>
<a href="#about">About</a>
<a href="#contact">Contact</a>
</nav>
</header>
<!-- ===== HERO SECTION ===== -->
<section class="hero">
<h1 class="glitch neon" data-text="WELCOME TO THE FUTURE">WELCOME TO THE FUTURE</h1>
<p>The ultimate hub for neon-drenched tech, retro wave vibes, and cyber-enhanced experiences.<br/>Plug in & ride the CyberWave.</p>
<button class="btn" onclick="scrollToSection()">Enter the Grid</button>
</section>
<!-- ===== SOCIAL ICONS (Font Awesome CDN) ===== -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<div class="social">
<a href="#"><i class="fab fa-discord"></i></a>
<a href="#"><i class="fab fa-github"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
</div>
<!-- Placeholder sections -->
<section id="about" style="height:100vh;display:flex;align-items:center;justify-content:center;">
<h2 class="neon">ABOUT SECTION</h2>
</section>
<section id="contact" style="height:100vh;display:flex;align-items:center;justify-content:center;">
<h2 class="neon">CONTACT SECTION</h2>
</section>
<!-- ===== SCRIPTS ===== -->
<script>
// Smooth scroll to about
function scrollToSection(){
document.getElementById("about").scrollIntoView({behavior:'smooth'});
}
/* OPTIONAL: Sparkle cursor effect */
const sparkles=[];
document.addEventListener('mousemove',e=>{
const s=document.createElement('div');
s.className='sparkle';
document.body.appendChild(s);
s.style.left=e.clientX+'px';
s.style.top=e.clientY+'px';
sparkles.push(s);
setTimeout(()=>{s.remove();sparkles.shift();},600);
});
// create sparkle style on the fly
const style=document.createElement('style');
style.innerHTML=`
.sparkle{
position:fixed;
width:6px;height:6px;
border-radius:50%;
background:var(--neon-blue);
box-shadow:0 0 6px var(--neon-purple),0 0 12px var(--neon-blue);
pointer-events:none;
animation:fade 0.6s forwards;
}
@keyframes fade{
0%{transform:scale(1);opacity:1;}
100%{transform:scale(0);opacity:0;}
}
`;
document.head.appendChild(style);
</script>
</body>
</html>