.about-page {
  background: #f5f3f0;
  min-height: 100vh;
}

.about-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 28px 80px;
}

/* ── Hero ── */
.about-hero {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 56px;
}

.hero-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(0,0,0,0.06);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  flex: 1;
}

.hero-greeting {
  font-size: 0.88rem;
  color: #9ca3af;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-name {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.55;
  margin-bottom: 4px;
}

.hero-sub {
  font-size: 0.88rem;
  color: #9ca3af;
  line-height: 1.5;
}

/* ── Section base ── */
.about-section {
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a1a1aa;
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title-sm {
  font-size: 1.2rem;
  font-weight: 700;
  color: #27272a;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  background: #e4e4e7;
  color: #52525b;
  margin-bottom: 10px;
}

/* ── Intro ── */
.intro-body p {
  font-size: 0.96rem;
  line-height: 1.85;
  color: #44403c;
  margin-bottom: 14px;
}

.intro-body p:last-child {
  margin-bottom: 0;
}

.intro-body em {
  font-style: normal;
  font-weight: 600;
  color: #1a1a2e;
  background: linear-gradient(180deg, transparent 60%, rgba(99,102,241,0.12) 0);
}

/* ── Skills cloud ── */
.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.skill-tag:hover {
  transform: translateY(-2px);
}

.skill-tag i {
  font-size: 0.88rem;
}

.tag-go { background: #ecfdf5; color: #047857; }
.tag-go:hover { box-shadow: 0 4px 14px rgba(4,120,87,0.15); }
.tag-db { background: #fffbeb; color: #b45309; }
.tag-db:hover { box-shadow: 0 4px 14px rgba(180,83,9,0.12); }
.tag-fe { background: #eef2ff; color: #4338ca; }
.tag-fe:hover { box-shadow: 0 4px 14px rgba(67,56,202,0.15); }
.tag-devops { background: #f0fdf4; color: #15803d; }
.tag-devops:hover { box-shadow: 0 4px 14px rgba(21,128,61,0.13); }
.tag-algo { background: #fff1f2; color: #be123c; }
.tag-algo:hover { box-shadow: 0 4px 14px rgba(190,18,60,0.12); }
.tag-ai { background: #faf5ff; color: #7c3aed; }
.tag-ai:hover { box-shadow: 0 4px 14px rgba(124,58,237,0.14); }
.tag-write { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }
.tag-write:hover { box-shadow: 0 4px 14px rgba(71,85,105,0.1); }

/* ── Split: motto + warning ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  margin-bottom: 48px;
}

.split-motto {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}

.split-motto::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.motto-mark {
  font-size: 4rem;
  line-height: 1;
  color: rgba(255,255,255,0.25);
  font-family: Georgia, serif;
  margin-bottom: 4px;
}

.motto-line {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.split-motto cite {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  font-style: normal;
}

.split-warning {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e4e4e7;
  padding: 24px;
  overflow: visible;
}

.warning-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 16px;
}

.warning-head i {
  font-size: 1.1rem;
}

.warning-img {
  text-align: center;
  margin-bottom: 16px;
  padding: 12px;
  background: #fafafa;
  border-radius: 10px;
}

.warning-img img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.warning-list {
  list-style: none;
  counter-reset: warn-counter;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  padding: 0;
}

.warning-list li {
  counter-increment: warn-counter;
  font-size: 0.82rem;
  color: #52525b;
  line-height: 1.5;
  padding: 5px 10px 5px 28px;
  position: relative;
  border-radius: 6px;
  background: #fafafa;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
}

.warning-list li:hover {
  background: #fef2f2;
}

.warning-list li::before {
  content: counter(warn-counter);
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #fecaca;
  color: #991b1b;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-list b {
  color: #18181b;
  font-weight: 600;
  white-space: nowrap;  /* 不换行 */
  flex-shrink: 0;       /* 不被挤压 */
  margin-right: 4px;    /* 给后面留一点间距（可选） */
}

/* ── Journey timeline ── */
.journey-header {
  margin-bottom: 20px;
}

.journey-list {
  position: relative;
  padding-left: 24px;
}

.journey-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e4e4e7;
  border-radius: 1px;
}

.journey-item {
  position: relative;
  padding-bottom: 22px;
}

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

.j-dot {
  position: absolute;
  left: -21px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d4d4d8;
  border: 2px solid #f5f3f0;
  z-index: 1;
}

.j-dot-active {
  background: #6366f1;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}

.j-content h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 2px;
}

.j-last .j-content h4 {
  color: #4f46e5;
}

.j-content p {
  font-size: 0.86rem;
  color: #71717a;
  line-height: 1.5;
}

/* ── Contact cards ── */
.contact-section {
  margin-bottom: 32px;
}

.contact-header {
  margin-bottom: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.c-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.c-card:hover {
  transform: translateY(-2px);
}

.c-card > i {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.c-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.c-value {
  font-size: 0.92rem;
  font-weight: 600;
}

/* GitHub */
.c-github {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
}
.c-github > i { background: #24292f; color: #fff; }
.c-github .c-label { color: #57606a; }
.c-github .c-value { color: #24292f; }
.c-github:hover { box-shadow: 0 6px 20px rgba(36,41,47,0.12); }

/* Email */
.c-email {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.c-email > i { background: #2563eb; color: #fff; }
.c-email .c-label { color: #3b82f6; }
.c-email .c-value { color: #1e40af; }
.c-email:hover { box-shadow: 0 6px 20px rgba(37,99,235,0.15); }

/* QQ */
.c-qq {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}
.c-qq > i { background: #0284c7; color: #fff; }
.c-qq .c-label { color: #0ea5e9; }
.c-qq .c-value { color: #0369a1; }
.c-qq:hover { box-shadow: 0 6px 20px rgba(2,132,199,0.15); }

/* WeChat */
.c-wechat {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  position: relative;
  overflow: visible;
}
.c-wechat > i { background: #16a34a; color: #fff; }
.c-wechat .c-label { color: #22c55e; }
.c-wechat .c-value { color: #15803d; }
.c-wechat:hover { box-shadow: 0 6px 20px rgba(22,163,74,0.15); }

.wechat-pop {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(22,163,74,0.18);
  border: 1px solid #bbf7d0;
  z-index: 200;
  text-align: center;
}

.c-wechat:hover .wechat-pop {
  display: block;
  animation: pop-up 0.2s ease forwards;
}

@keyframes pop-up {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.wechat-pop img {
  width: 160px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 6px;
}

.wechat-pop span {
  display: block;
  font-size: 0.72rem;
  color: #a1a1aa;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .about-wrap {
    padding: 28px 18px 60px;
  }

  .about-hero {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-bottom: 42px;
  }

  .hero-avatar {
    width: 82px;
    height: 82px;
  }

  .hero-name {
    font-size: 1.85rem;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .split-motto {
    padding: 28px 22px;
  }

  .motto-line {
    font-size: 1.1rem;
  }

  .warning-list {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-name {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .skills-cloud {
    gap: 6px;
  }

  .skill-tag {
    padding: 7px 11px;
    font-size: 0.78rem;
  }
}
