<div class="loader-container">
<div class="neon-spinner">
<div class="ring ring-1"></div>
<div class="ring ring-2"></div>
<div class="ring ring-3"></div>
<div class="core-dot"></div>
</div>
<p class="loader-text">INITIALIZING SYSTEM...</p>
</div>
body {
margin: 0;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #090d16;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
overflow: hidden;
}
.loader-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}
.neon-spinner {
position: relative;
width: 120px;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
}
.ring {
position: absolute;
border-radius: 50%;
border: 3px solid transparent;
}
.ring-1 {
width: 100%;
height: 100%;
border-top-color: #10a37a;
border-right-color: #10a37a;
box-shadow: 0 0 15px rgba(16, 163, 122, 0.4);
animation: spinClockwise 1.6s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}
.ring-2 {
width: 75%;
height: 75%;
border-bottom-color: #38bdf8;
border-left-color: #38bdf8;
box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
animation: spinCounter 1.2s ease-in-out infinite;
}
.ring-3 {
width: 50%;
height: 50%;
border-top-color: #a855f7;
border-bottom-color: #a855f7;
box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
animation: spinClockwise 0.8s linear infinite;
}
.core-dot {
width: 12px;
height: 12px;
background: #ffffff;
border-radius: 50%;
box-shadow: 0 0 20px #10a37a, 0 0 35px #38bdf8;
animation: pulseCore 1.2s ease-in-out infinite alternate;
}
.loader-text {
color: #10a37a;
font-size: 13px;
letter-spacing: 3px;
font-weight: 700;
text-shadow: 0 0 10px rgba(16, 163, 122, 0.6);
animation: textBlink 1.5s ease-in-out infinite;
}
@keyframes spinClockwise {
to { transform: rotate(360deg); }
}
@keyframes spinCounter {
to { transform: rotate(-360deg); }
}
@keyframes pulseCore {
from { transform: scale(0.7); opacity: 0.6; }
to { transform: scale(1.3); opacity: 1; }
}
@keyframes textBlink {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
// Pure CSS Cyberpunk Spinner