*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
scroll-behavior:smooth;
}

body{
background:#050816;
color:white;
overflow-x:hidden;
}

#tsparticles{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:-1;
}

#loader{
position:fixed;
width:100%;
height:100vh;
background:#050816;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
z-index:9999;
}

#loader h1{
font-size:3rem;
margin-bottom:30px;
}

.progress{
width:300px;
height:5px;
background:#222;
border-radius:10px;
overflow:hidden;
}

.progress-bar{
height:100%;
width:0;
background:linear-gradient(90deg,#00c6ff,#8b5cf6);
animation:loading 3s forwards;
}

@keyframes loading{
100%{
width:100%;
}
}

.cursor-glow{
position:fixed;
width:400px;
height:400px;
background:radial-gradient(circle,
rgba(0,198,255,.15),
transparent 70%);
pointer-events:none;
transform:translate(-50%,-50%);
}

nav{
position:fixed;
top:0;
left:0;
width:100%;
padding:20px 8%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(0,0,0,.3);
backdrop-filter:blur(20px);
z-index:1000;
}

.logo{
font-size:1.5rem;
font-weight:800;
}

nav ul{
display:flex;
gap:30px;
list-style:none;
}

nav a{
color:white;
text-decoration:none;
font-weight:500;
}

.hero{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
position:relative;
}

.overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,.5);
}

.hero-content{
position:relative;
z-index:2;
max-width:900px;
padding:20px;
}

.hero h1{
font-size:5rem;
margin-bottom:20px;
background:linear-gradient(
90deg,
#ffffff,
#00c6ff,
#8b5cf6
);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.hero p{
font-size:1.2rem;
opacity:.8;
}

.btn{
display:inline-block;
margin-top:30px;
padding:18px 40px;
background:white;
color:black;
text-decoration:none;
border-radius:50px;
font-weight:700;
transition:.3s;
}

.btn:hover{
transform:translateY(-5px);
}

.neon-line{
height:2px;
width:100%;
background:
linear-gradient(
90deg,
transparent,
#00c6ff,
#8b5cf6,
transparent
);
box-shadow:
0 0 15px #00c6ff,
0 0 30px #8b5cf6;
}

section{
padding:120px 10%;
}

section h2{
font-size:3rem;
margin-bottom:40px;
}

.glass{
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.08);
backdrop-filter:blur(20px);
padding:40px;
border-radius:30px;
}

.projects-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}

.project-card{
background:#111827;
border-radius:25px;
overflow:hidden;
transition:.4s;
cursor:pointer;
}

.project-card:hover{
transform:translateY(-10px);
}

.project-card img{
width:100%;
height:240px;
object-fit:cover;
}

.card-content{
padding:25px;
}

.card-content h3{
margin-bottom:10px;
}

.project-link{
text-decoration:none;
color:white;
display:block;
}

.stats-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}

.stat{
background:rgba(255,255,255,.05);
padding:35px;
border-radius:25px;
text-align:center;
backdrop-filter:blur(20px);
}

.stat h3{
font-size:3rem;
background:linear-gradient(
90deg,
#00c6ff,
#8b5cf6
);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.skills{
display:flex;
flex-wrap:wrap;
gap:15px;
}

.skills span{
padding:15px 25px;
background:#111827;
border-radius:50px;
}

#contact{
text-align:center;
}

footer{
margin-top:100px;
padding:60px 10%;
text-align:center;
border-top:1px solid rgba(255,255,255,.08);
background:rgba(255,255,255,.03);
}

.footer-content h3{
font-size:2rem;
margin-bottom:15px;
}

.copyright{
margin-top:20px;
opacity:.5;
}

@media(max-width:768px){

.hero h1{
font-size:3rem;
}

nav ul{
display:none;
}

section{
padding:80px 8%;
}

}
.code-block{

background:#0f172a;
padding:25px;
border-radius:20px;

overflow:auto;

white-space:pre-wrap;

font-family:
Consolas,
monospace;

line-height:1.6;

font-size:14px;

}
