body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(-45deg,#0f172a,#1e293b,#020617);
  background-size: 400% 400%;
  animation: bg 10s infinite;
  color: white;
}

@keyframes bg {
  0%{background-position:0%}
  50%{background-position:100%}
  100%{background-position:0%}
}

html { scroll-behavior: smooth; }

/* NAV */
header {
  display:flex;
  justify-content:space-between;
  padding:20px 10%;
}

nav a {
  margin-left:20px;
  color:white;
  text-decoration:none;
  position:relative;
}

nav a::after {
  content:"";
  width:0%;
  height:2px;
  background:#38bdf8;
  position:absolute;
  bottom:-5px;
  left:0;
  transition:0.3s;
}
nav a:hover::after { width:100%; }

/* HERO */
.hero-container {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:100px 10%;
}

.hero-image img {
  width:250px;
  height:250px;
  border-radius:50%;
  box-shadow:0 0 40px rgba(56,189,248,0.4);
}

/* TEXT */
.tagline { color:#38bdf8; }
.subtext { max-width:500px; opacity:0.8; }

/* BUTTON */
.btn {
  padding:10px 20px;
  background:#38bdf8;
  color:black;
  border-radius:20px;
  text-decoration:none;
  margin:5px;
}
.outline {
  background:transparent;
  border:1px solid #38bdf8;
  color:white;
}

/* GLASS */
.glass {
  margin:50px 10%;
  padding:30px;
  border-radius:15px;
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(10px);
}

/* WORK */
.work-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  padding:0 10%;
}

.work-card {
  padding:20px;
  background:rgba(255,255,255,0.05);
  border-radius:15px;
  transition:0.3s;
}
.work-card:hover { transform:translateY(-10px); }

/* PROJECT */
.project-showcase {
  display:flex;
  gap:40px;
  max-width:1000px;
  margin:60px auto;
  padding:0 10%;
}

.project-showcase.reverse {
  flex-direction:row-reverse;
}

.project-img img {
  width:300px;
  border-radius:15px;
  transition:0.4s;
}
.project-img:hover img { transform:scale(1.08); }

.tech-stack span {
  background:rgba(255,255,255,0.1);
  padding:5px 10px;
  margin:5px;
  border-radius:10px;
  font-size:12px;
}

.impact { color:#a78bfa; }

/* CURSOR */
.cursor {
  width:20px;
  height:20px;
  background:#38bdf8;
  border-radius:50%;
  position:fixed;
  pointer-events:none;
  opacity:0.6;
  transform:translate(-50%,-50%);
}

/* PARTICLES */
#particles-js {
  position:fixed;
  width:100%;
  height:100%;
  z-index:-1;
}