/* ============ 关于页（/about/）专属样式 ============ */

/* 页面容器：relative 承载绝对定位水印 */
.about-page {
  position: relative;
  isolation: isolate;
}

/* 淡色水印「尘外闲时记」：超大字 + 极低透明度 + 固定定位感，不遮挡内容 */
.about-watermark {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  font-size: clamp(4rem, 14vw, 11rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  white-space: nowrap;
  color: rgba(99, 102, 241, 0.06);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* 卡片标题 */
.about-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, #6366f1, #a855f7, #3b82f6) 1;
}
.about-section-title i {
  color: #6366f1;
}

/* 个人简介序号 */
.about-intro-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.about-intro-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to right, #6366f1, #8b5cf6);
}

/* 技能进度条：圆角轨道 + 渐变填充 */
.skill-bar {
  width: 100%;
  height: 0.6rem;
  background: #eef0f6;
  border-radius: 9999px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(to right, #6366f1, #8b5cf6, #3b82f6);
  transition: width 0.6s ease;
}

/* 彩色技能标签 */
.skill-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
}
/* 标签渐变色组（自包含，不依赖预编译 Tailwind 的色板） */
.tag-c1 { background: linear-gradient(to right, #3b82f6, #06b6d4); }
.tag-c2 { background: linear-gradient(to right, #a855f7, #ec4899); }
.tag-c3 { background: linear-gradient(to right, #22c55e, #10b981); }
.tag-c4 { background: linear-gradient(to right, #6366f1, #a855f7); }
.tag-c5 { background: linear-gradient(to right, #14b8a6, #3b82f6); }
.tag-c6 { background: linear-gradient(to right, #3b82f6, #06b6d4); }
.tag-c7 { background: linear-gradient(to right, #a855f7, #ec4899); }
.tag-c8 { background: linear-gradient(to right, #22c55e, #10b981); }
.tag-c9 { background: linear-gradient(to right, #6366f1, #a855f7); }
.tag-c10 { background: linear-gradient(to right, #14b8a6, #3b82f6); }

/* 教育 / 工作经历 */
.edu-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  color: #6366f1;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}
.work-item {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid #e0e7ff;
}

/* 项目卡片 */
.project-card {
  border: 1px solid #eef0f6;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.project-card:hover {
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.12);
  transform: translateY(-2px);
}

/* 状态标签：计划中=灰 / 进行中=蓝 / 已完成=绿 */
.project-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
}
.badge-plan {
  color: #6b7280;
  background: #f3f4f6;
}
.badge-doing {
  color: #1d4ed8;
  background: #dbeafe;
}
.badge-done {
  color: #047857;
  background: #d1fae5;
}

/* 项目链接 */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6366f1;
}
.project-link:hover {
  text-decoration: underline;
}

/* 博客统计数字块 */
.stat-box {
  padding: 0.9rem 0.5rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}

/* 基础断点：两列 → 单列（深度响应式后续统一处理） */
@media (max-width: 1023px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-watermark {
    font-size: clamp(3rem, 18vw, 6rem);
    top: 12%;
  }
}
