body{
margin:0;
font-family:-apple-system,BlinkMacSystemFont,Arial;
color:white;
background:#020617;
scroll-behavior:smooth;
}

/* Apple Intro */
.apple-intro{
position:fixed;
top:0;left:0;
width:100%;
height:100%;
background:black;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
animation:introFade 2.5s forwards;
}
.intro-text{
font-size:48px;
letter-spacing:6px;
opacity:0;
animation:textReveal 2s forwards 0.5s;
}
@keyframes textReveal{
to{opacity:1;}
}
@keyframes introFade{
70%{opacity:1;}
100%{opacity:0;visibility:hidden;}
}

/* Particles */
.particles::before{
content:"";
position:fixed;
width:100%;
height:100%;
background:radial-gradient(circle,#38bdf822 1px,transparent 1px);
background-size:60px 60px;
z-index:-1;
}

.hero{
height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
}

.profile-img{
width:160px;
height:160px;
border-radius:50%;
border:3px solid #38bdf8;
margin-bottom:15px;
}

nav{
text-align:center;
padding:15px;
background:rgba(0,0,0,0.4);
position:sticky;
top:0;
}

nav a{
margin:0 15px;
text-decoration:none;
color:#38bdf8;
font-weight:bold;
}

.glass{
max-width:900px;
margin:40px auto;
padding:30px;
border-radius:18px;
background:rgba(255,255,255,0.05);
backdrop-filter:blur(20px);
box-shadow:0 0 30px rgba(0,0,0,0.4);
opacity:0;
transform:translateY(40px);
transition:1s;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

.project{
padding:25px;
background:#020617;
border-radius:12px;
transition:0.3s;
}
.project:hover{
transform:translateY(-8px);
box-shadow:0 0 15px #38bdf866;
}

.skill{margin:15px 0;}
.bar{width:100%;height:10px;background:#020617;border-radius:10px;}
.bar span{display:block;height:100%;background:#38bdf8;}

.btn,.mail-btn{
margin-top:20px;
padding:12px 28px;
background:#38bdf8;
color:black;
border-radius:30px;
text-decoration:none;
font-weight:bold;
}

.typing{
border-right:3px solid #38bdf8;
white-space:nowrap;
overflow:hidden;
width:0;
animation:typing 3s steps(20,end) forwards,blink 0.6s infinite;
}
@keyframes typing{from{width:0}to{width:240px}}
@keyframes blink{50%{border-color:transparent}}

.cursor{
position:fixed;
width:20px;
height:20px;
border:2px solid #38bdf8;
border-radius:50%;
pointer-events:none;
transform:translate(-50%,-50%);
}

footer{text-align:center;padding:20px;}
