@import url('./style.css');

/* ==================== 关于页专属样式 ==================== */

/* 内容容器 */
.about-container {
  animation: fadeInUp 0.5s ease-out;
}

/* 大标题 */
.about-heading {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0ece5;
  letter-spacing: 1px;
}

/* 作者简介区块 */
.about-intro {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.about-avatar-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8d5b7, #d4b896);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  flex-shrink: 0;
}

.about-intro-text {
  flex: 1;
}

.about-intro-text h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 6px;
}

.about-intro-text .about-tagline {
  font-size: 13px;
  color: #b8956a;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.about-intro-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* 社交链接 */
.about-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.about-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  padding: 6px 14px;
  background: #f8f6f2;
  border-radius: 20px;
  transition: all 0.2s;
}

.about-social-link:hover {
  background: #b8956a;
  color: #fff;
}

/* 分区标题 */
.about-section {
  margin-bottom: 36px;
}

.about-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid #b8956a;
  letter-spacing: 1px;
}

.about-section p {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 14px;
}

.about-section p:last-child {
  margin-bottom: 0;
}

/* 时间线 */
.about-timeline {
  position: relative;
  padding-left: 24px;
  margin-top: 12px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: #e8e4dd;
}

.about-timeline-item {
  position: relative;
  padding: 8px 0 16px;
}

.about-timeline-item:last-child {
  padding-bottom: 0;
}

.about-timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8e4dd;
  transition: background 0.2s, box-shadow 0.2s;
}

.about-timeline-item:hover::before {
  background: #b8956a;
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.15);
}

.about-timeline-year {
  font-size: 13px;
  font-weight: 600;
  color: #b8956a;
  margin-bottom: 4px;
}

.about-timeline-text {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* 兴趣卡片网格 */
.about-interests {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.about-interest-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-interest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.about-interest-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.about-interest-name {
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 4px;
}

.about-interest-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
}

/* 留言引导 */
.about-cta {
  margin-top: 40px;
  padding: 28px;
  background: linear-gradient(135deg, #faf7f2, #f5f0e8);
  border-radius: 12px;
  text-align: center;
}

.about-cta h3 {
  font-size: 18px;
  font-weight: 700;
  color: #3d3d3d;
  margin-bottom: 10px;
}

.about-cta p {
  font-size: 14px;
  color: #888;
  margin-bottom: 18px;
}

.about-cta-btn {
  display: inline-block;
  padding: 10px 28px;
  background: #b8956a;
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background 0.2s, transform 0.2s;
}

.about-cta-btn:hover {
  background: #a3805a;
  transform: translateY(-1px);
}