/* 项目时间线+卡片美化，带动画 */
.project-root {
  min-height: 100vh;
  width: 100vw;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 48px;
}
.project-title {
  margin-top: 36px;
  font-size: 2.2rem;
  font-weight: bold;
  color: #222;
  letter-spacing: 2px;
  text-align: center;
}
.project-timeline {
  margin-top: 32px;
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
}
.project-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #e6eaf0;
  z-index: 0;
}
.project-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 24px #0001;
  padding: 28px 32px 22px 64px;
  position: relative;
  min-width: 320px;
  max-width: 780px;
 
  transition: box-shadow .24s, transform .24s;
  z-index: 1;
  animation: fadeInUp 0.8s cubic-bezier(.22,1,.36,1);
}
.project-card:hover {
  box-shadow: 0 12px 36px #409eff33, 0 2px 16px #ff980022;
  border: 1.5px solid #409eff;
  transform: translateY(-8px) scale(1.025) rotateZ(-0.6deg);
  background: linear-gradient(90deg,#fff 90%,#f0f7ff 100%);
}
.project-dot {
  position: absolute;
  left: 12px;
  top: 32px;
  width: 16px;
  height: 16px;
  background: #409eff;
  border-radius: 50%;
  box-shadow: 0 2px 8px #409eff33;
  z-index: 2;
  transition: background 0.2s, box-shadow 0.2s;
}
.project-card:hover .project-dot {
  background: #ff9800;
  box-shadow: 0 4px 16px #ff980033,0 0 0 4px #ff980022;
}
.project-title-main {
  font-size: 1.18rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
}
.project-time {
  color: #999;
  font-size: 0.98rem;
  margin-left: 8px;
}
.project-stack {
  color: #bbb;
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.project-desc {
  color: #333;
  font-size: 1.01rem;
  line-height: 1.8;
  margin-bottom: 8px;
}
.project-link {
  color: #1e80ff;
  font-weight: bold;
  text-decoration: underline;
  margin-right: 14px;
  transition: color 0.18s;
}
.project-link:hover {
  color: #ff9800;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .project-card {
    max-width: 98vw;
    padding: 18px 8px 16px 28px;
  }
  .project-timeline {
    max-width: 99vw;
  }
}
