@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Orbitron', monospace;
background: #0a0a0a;
color: #ffffff;
min-height: 100vh;
overflow-x: hidden;
position: relative;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
pointer-events: none;
z-index: -1;
animation: backgroundPulse 8s ease-in-out infinite;
}
@keyframes backgroundPulse {
0%, 100% {
opacity: 0.3;
transform: scale(1);
}
50% {
opacity: 0.6;
transform: scale(1.05);
}
}
.neon-menu {
position: fixed;
top: 20px;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 2px solid #00ffff;
border-radius: 15px;
box-shadow:
0 0 20px #00ffff,
inset 0 0 20px rgba(0, 255, 255, 0.1),
0 0 40px rgba(0, 255, 255, 0.3);
transition: all 0.3s ease;
overflow: hidden;
}
.neon-menu:hover {
box-shadow:
0 0 30px #00ffff,
inset 0 0 30px rgba(0, 255, 255, 0.2),
0 0 60px rgba(0, 255, 255, 0.5);
border-color: #ff00ff;
}
.menu-container {
display: flex;
align-items: center;
padding: 15px 25px;
gap: 30px;
position: relative;
z-index: 2;
}
.brand {
display: flex;
align-items: center;
gap: 15px;
cursor: pointer;
transition: all 0.3s ease;
}
.brand-icon {
position: relative;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.neon-core {
width: 20px;
height: 20px;
background: #00ffff;
border-radius: 50%;
box-shadow:
0 0 10px #00ffff,
0 0 20px #00ffff,
0 0 30px #00ffff;
animation: coreGlow 2s ease-in-out infinite alternate;
}
.neon-ring {
position: absolute;
width: 35px;
height: 35px;
border: 2px solid #ff00ff;
border-radius: 50%;
animation: ringRotate 4s linear infinite;
box-shadow: 0 0 15px #ff00ff;
}
@keyframes coreGlow {
0% {
box-shadow:
0 0 10px #00ffff,
0 0 20px #00ffff,
0 0 30px #00ffff;
}
100% {
box-shadow:
0 0 15px #00ffff,
0 0 30px #00ffff,
0 0 45px #00ffff;
}
}
@keyframes ringRotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.brand-text {
font-size: 1.8rem;
font-weight: 900;
color: #00ffff;
text-shadow:
0 0 10px #00ffff,
0 0 20px #00ffff,
0 0 30px #00ffff;
animation: textFlicker 3s ease-in-out infinite;
transition: all 0.3s ease;
}
@keyframes textFlicker {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.8;
}
}
.brand:hover .brand-text {
color: #ff00ff;
text-shadow:
0 0 10px #ff00ff,
0 0 20px #ff00ff,
0 0 30px #ff00ff;
}
.menu-items {
display: flex;
list-style: none;
gap: 5px;
margin: 0;
padding: 0;
}
.menu-item {
position: relative;
}
.menu-link {
position: relative;
display: block;
color: #ffffff;
text-decoration: none;
font-weight: 700;
font-size: 0.9rem;
padding: 12px 20px;
border: 1px solid transparent;
border-radius: 8px;
transition: all 0.3s ease;
overflow: hidden;
text-transform: uppercase;
letter-spacing: 1px;
}
.neon-glow {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, #00ffff, #ff00ff, #00ff00);
opacity: 0;
border-radius: 8px;
transition: all 0.3s ease;
z-index: -1;
}
.link-text {
position: relative;
z-index: 2;
transition: all 0.3s ease;
}
.menu-link:hover {
color: #000000;
border-color: #00ffff;
box-shadow:
0 0 15px #00ffff,
inset 0 0 15px rgba(0, 255, 255, 0.2);
transform: translateY(-2px);
}
.menu-link:hover .neon-glow {
opacity: 1;
animation: glowPulse 1s ease-in-out infinite;
}
@keyframes glowPulse {
0%, 100% {
opacity: 0.8;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.05);
}
}
.menu-link:hover .link-text {
text-shadow:
0 0 5px #ffffff,
0 0 10px #ffffff;
}
.menu-toggle {
display: none;
}
.toggle-btn {
background: transparent;
border: 2px solid #00ffff;
padding: 10px;
cursor: pointer;
border-radius: 8px;
display: flex;
flex-direction: column;
gap: 3px;
transition: all 0.3s ease;
box-shadow: 0 0 10px #00ffff;
}
.toggle-line {
width: 20px;
height: 2px;
background: #00ffff;
border-radius: 1px;
transition: all 0.3s ease;
box-shadow: 0 0 5px #00ffff;
}
.toggle-btn:hover {
border-color: #ff00ff;
box-shadow: 0 0 15px #ff00ff;
}
.toggle-btn:hover .toggle-line {
background: #ff00ff;
box-shadow: 0 0 8px #ff00ff;
}
.toggle-btn.active .toggle-line:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.toggle-btn.active .toggle-line:nth-child(2) {
opacity: 0;
}
.toggle-btn.active .toggle-line:nth-child(3) {
transform: rotate(-45deg) translate(7px, -6px);
}
.neon-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}
.grid-lines {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
background-size: 20px 20px;
opacity: 0.3;
animation: gridMove 10s linear infinite;
}
@keyframes gridMove {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(20px, 20px);
}
}
.floating-particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.floating-particles::before,
.floating-particles::after {
content: '';
position: absolute;
width: 2px;
height: 2px;
background: #00ffff;
border-radius: 50%;
box-shadow: 0 0 5px #00ffff;
animation: particleFloat 6s linear infinite;
}
.floating-particles::before {
top: 20%;
left: 10%;
animation-delay: 0s;
}
.floating-particles::after {
top: 60%;
right: 15%;
animation-delay: 3s;
background: #ff00ff;
box-shadow: 0 0 5px #ff00ff;
}
@keyframes particleFloat {
0% {
transform: translateY(0) translateX(0);
opacity: 0;
}
10% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
transform: translateY(-20px) translateX(10px);
opacity: 0;
}
}
@media (max-width: 768px) {
.neon-menu {
top: 10px;
left: 10px;
right: 10px;
transform: none;
border-radius: 12px;
}
.menu-container {
padding: 12px 20px;
gap: 20px;
}
.menu-items {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.9);
border: 2px solid #00ffff;
border-radius: 12px;
margin-top: 10px;
padding: 20px;
flex-direction: column;
gap: 10px;
box-shadow:
0 0 20px #00ffff,
inset 0 0 20px rgba(0, 255, 255, 0.1);
}
.menu-items.active {
display: flex;
}
.menu-toggle {
display: block;
margin-left: auto;
}
.menu-link {
padding: 15px 20px;
text-align: center;
border-radius: 8px;
}
.brand-text {
font-size: 1.5rem;
}
.neon-core {
width: 16px;
height: 16px;
}
.neon-ring {
width: 28px;
height: 28px;
}
}
@media (max-width: 480px) {
.menu-container {
padding: 10px 15px;
gap: 15px;
}
.brand-text {
font-size: 1.3rem;
}
.menu-link {
padding: 12px 16px;
font-size: 0.85rem;
}
.neon-core {
width: 14px;
height: 14px;
}
.neon-ring {
width: 24px;
height: 24px;
}
}