*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body{
  min-height: 100vh;
  background: linear-gradient(270deg, #000, #120000, #000);
  background-size: 400% 400%;
  animation: neonBG 10s ease infinite;
  color: #fff;
}

/* NEON BACKGROUND ANIMATION */
@keyframes neonBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* HERO */
.hero{
  text-align: center;
  padding: 70px 20px;
}

.profile-pic{
  width: 160px;
  height: 160px;
  margin: auto;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(45deg, red, darkred);
  box-shadow: 0 0 30px red;
}

.profile-pic img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.hero h1{
  margin-top: 25px;
  font-size: 32px;
  letter-spacing: 2px;
}

#typewriter{
  color: red;
  text-shadow: 0 0 20px red;
}

/* CARDS */
.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 60px;
}

.card{
  background: rgba(0,0,0,0.75);
  border: 1px solid #400;
  padding: 30px;
  border-radius: 16px;
  transition: 0.4s ease;
  box-shadow: 0 0 15px #200;
  position: relative;
  overflow: hidden;
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent, rgba(255,0,0,0.15), transparent);
  opacity:0;
  transition:0.4s;
}

.card:hover::before{
  opacity:1;
}

.card h2{
  margin-bottom: 15px;
  color: red;
  letter-spacing: 1px;
}

.card p{
  font-size: 14px;
  line-height: 1.8;
  color: #ddd;
}

.card:hover{
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 0 30px red, 0 0 60px darkred;
}

/* RESPONSIVE */
@media(max-width:600px){
  .hero h1{
    font-size: 24px;
  }
  .cards{
    padding: 30px;
  }
}

.project-link{
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-link .card{
  height: 100%;
}

