*{box-sizing:border-box}

/* ===== BACKGROUND ===== */
body{
  margin:0;
  min-height:100vh;
  font-family:'Plus Jakarta Sans',sans-serif;
  background:
    linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.65)),
    url("bg.png") center / cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#0f172a;
}

/* ===== BORDER RUNNING ===== */
.card-border{
  padding:2px;
  border-radius:40px;
  background:linear-gradient(
    90deg,
    rgba(99,102,241,.28),
    rgba(139,92,246,.28),
    rgba(236,72,153,.28),
    rgba(99,102,241,.28)
  );
  background-size:300% 100%;
  animation:borderMove 14s linear infinite;
}
@keyframes borderMove{to{background-position:100%}}

/* ===== CARD ===== */
.card{
  width:500px;
  padding:44px 40px;
  border-radius:38px;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.92),
    rgba(255,255,255,.82)
  );
  backdrop-filter:blur(24px);
  box-shadow:
    0 60px 120px rgba(15,23,42,.18),
    inset 0 1px 0 rgba(255,255,255,.9);
}

/* ===== HEADER ===== */
.header{
  display:flex;
  align-items:center;
  gap:26px;
  margin-bottom:32px;
}

/* ===== AVATAR (ANTI MÉO) ===== */
.avatar-wrap{
  width:120px;
  height:120px;
  min-width:120px;
  min-height:120px;
  border-radius:50%;
  padding:4px;
  background:linear-gradient(135deg,#6366f1,#8b5cf6,#ec4899);
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.avatar{
  width:100%;
  height:100%;
  aspect-ratio:1/1;
  border-radius:50%;
  object-fit:cover;
  display:block;
  box-shadow:0 18px 44px rgba(0,0,0,.28);
}

/* ===== NAME + VERIFIED ===== */
.name-wrap{
  display:flex;
  align-items:center;
  gap:10px;
}
.name{
  font-size:26px;
  font-weight:700;
  background:linear-gradient(90deg,#6366f1,#8b5cf6,#ec4899);
  -webkit-background-clip:text;
  color:transparent;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:300px;
}
.verify{
  display:inline-flex;
  transform:translateY(2px);
}
.verify svg{
  filter:drop-shadow(0 2px 8px rgba(24,119,242,.4));
}

/* ===== ROLE ===== */
.role{
  font-size:14px;
  color:#475569;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:340px;
}

/* ===== BIO ===== */
.bio{
  font-size:15px;
  line-height:1.75;
  color:#334155;
  margin-bottom:34px;
  text-align:justify;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ===== SKILLS ===== */
.skills{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
  margin-bottom:40px;
}
.skill{
  padding:14px 24px;
  border-radius:999px;
  font-size:13px;
  font-weight:500;
  color:#1e293b;

  background:
    linear-gradient(#ffffff,#ffffff) padding-box,
    linear-gradient(135deg,#6366f1,#8b5cf6,#ec4899) border-box;
  border:1.5px solid transparent;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  min-height:50px;
  max-width:360px;
  line-height:1.45;

  box-shadow:0 10px 24px rgba(99,102,241,.18);
  transition:.25s;
}
.skill:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(139,92,246,.28);
}

/* ===== CTA ===== */
.btn{
  width:100%;
  padding:18px;
  border-radius:22px;
  text-decoration:none;
  font-weight:700;
  background:linear-gradient(135deg,#6366f1,#8b5cf6,#ec4899);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 42px rgba(99,102,241,.45);
  transition:.25s;
}
.btn span{
  color:#fff;
  letter-spacing:.3px;
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 26px 56px rgba(139,92,246,.55);
}

/* ===== MOBILE FIX ===== */
@media (max-width:768px){
  body{padding:16px}

  .card{
    width:100%;
    padding:32px 24px;
    border-radius:28px;
  }

  .header{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:18px;
  }

  .avatar-wrap{
    width:110px;
    height:110px;
    min-width:110px;
    min-height:110px;
  }

  .name-wrap{justify-content:center}

  .name{
    font-size:22px;
    max-width:100%;
    text-align:center;
  }

  .role{
    max-width:100%;
    text-align:center;
  }

  .bio{
    text-align:left;
    -webkit-line-clamp:4;
  }

  .skill{
    width:100%;
    max-width:100%;
  }

  .btn{
    padding:16px;
    border-radius:18px;
  }
}
