@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');

:root{
  --bg: #000;
  --card-bg: #111;
  --text: #fff;
  --muted: #bbb;
  --accent: #3498db;
  --skill-hover: #ff6f61;
}

body{
  margin:0;
  padding:0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.about-page{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.profile-card{
  background: var(--card-bg);
  border-radius: 18px;
  padding: 32px;
  width: 400px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 18px 55px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(50px);
  opacity: 0;
  animation: fadeUp 1s forwards;
}

@keyframes fadeUp{
  to{
    transform: translateY(0);
    opacity:1;
  }
}

.profile-pic img{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 5px 5px 15px rgba(0,0,0,0.5), -5px -5px 15px rgba(255,255,255,0.05);
  transform: scale(0);
  animation: scaleIn 0.8s forwards;
  animation-delay: 0.2s;
}

@keyframes scaleIn{
  to{ transform: scale(1);}
  from{ transform: scale(0);}
}

.name, .title, .bio{
  opacity:0;
  transform: translateY(20px);
}

.name{
  font-size: 24px;
  font-weight: bold;
  color: var(--text);
  animation: slideIn 0.8s 0.4s forwards;
}

.title{
  font-size: 14px;
  color: var(--accent);
  animation: slideIn 0.8s 0.6s forwards;
}

.bio{
  font-size: 14px;
  color: var(--muted);
  animation: slideIn 0.8s 0.8s forwards;
}

@keyframes slideIn{
  to{ opacity:1; transform: translateY(0);}
  from{ opacity:0; transform: translateY(20px);}
}

.skills{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.skill{
  padding:6px 12px;
  border-radius:12px;
  background: var(--card-bg);
  box-shadow: 5px 5px 12px rgba(0,0,0,0.4), -5px -5px 12px rgba(255,255,255,0.05);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skill:hover{
  background: var(--skill-hover);
  color: var(--bg);
  transform: translateY(-3px) scale(1.05);
}

.socials{
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social{
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.social:hover{
  color: var(--skill-hover);
  transform: scale(1.1);
}

@media(max-width:450px){
  .profile-card{
    padding:24px;
  }
  .profile-pic img{
    width:100px;
    height:100px;
  }
}
