/* =========================================
   关于页样式
   ========================================= */
#profile-header { padding: 140px 0 40px; text-align: center; }
.profile-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); margin: 12px auto 40px; max-width: 600px; }

.profile-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 24px;
  padding: 32px; backdrop-filter: blur(var(--blur-glass));
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 20px rgba(123,104,238,0.08);
  margin-bottom: 60px; position: relative; overflow: hidden;
}
.profile-card::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%); pointer-events: none;
}
.avatar-wrap {
  width: 200px; height: 200px; border-radius: 50%; padding: 6px;
  background: linear-gradient(135deg, #7B68EE, #FFD700);
  box-shadow: 0 0 25px rgba(123,104,238,0.4);
}
.avatar-placeholder {
  width: 100%; height: 100%; border-radius: 50%; background: #1A1F3F;
  display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--text-secondary);
}
.profile-info h2 { font-size: 1.8rem; margin-bottom: 8px; color: var(--text-primary); }
.role-tag { display: inline-block; padding: 6px 14px; background: rgba(123,104,238,0.15); color: var(--accent-purple); border-radius: 20px; font-size: 0.85rem; font-weight: 500; margin-bottom: 16px; }
.bio { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; }
.bio strong { color: var(--text-primary); font-weight: 500; }

#skills-section { margin-bottom: 70px; }
.section-title { text-align: center; margin-bottom: 40px; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.skill-node {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px;
  padding: 20px 16px; text-align: center; transition: var(--transition); position: relative;
}
.skill-node:hover { transform: translateY(-6px); border-color: var(--accent-gold); box-shadow: 0 0 20px rgba(255,215,0,0.15); }
.ring-wrap { width: 80px; height: 80px; margin: 0 auto 12px; position: relative; }
.ring-bg { width: 100%; height: 100%; border-radius: 50%; border: 4px solid rgba(255,255,255,0.05); }
.ring-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 50%; background: conic-gradient(var(--accent-purple) calc(var(--pct) * 1%), rgba(255,255,255,0.05) 0);
  -webkit-mask: radial-gradient(transparent 60%, #000 62%); mask: radial-gradient(transparent 60%, #000 62%);
  transition: background 1s ease;
}
.skill-name { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.skill-desc { font-size: 0.8rem; color: var(--text-secondary); }

#timeline-section { margin-bottom: 70px; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent-purple), var(--accent-gold), transparent);
}
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 24px; }
.timeline-node {
  position: absolute; left: -20px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--bg-deep); border: 2px solid var(--accent-purple);
  box-shadow: 0 0 10px rgba(123,104,238,0.5); transition: 0.3s;
}
.timeline-item:hover .timeline-node { transform: scale(1.3); background: var(--accent-gold); border-color: #FFD700; }
.time-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--accent-purple); margin-bottom: 4px; }
.timeline-title { font-size: 1.2rem; color: var(--text-primary); margin-bottom: 6px; }
.timeline-desc { font-size: 0.95rem; color: var(--text-secondary); }

#contact-section { text-align: center; margin-bottom: 80px; }
.comm-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 30px; }
.comm-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  background: rgba(255,255,255,0.04); border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 30px; color: var(--text-primary); font-weight: 500; transition: var(--transition);
}
.comm-link:hover { background: rgba(123,104,238,0.15); border-style: solid; border-color: var(--accent-purple); transform: translateY(-3px); }
.comm-link svg { width: 18px; height: 18px; fill: currentColor; }

/* =========================================
   响应式调整
   ========================================= */
@media (max-width: 768px) {
  .profile-card { grid-template-columns: 1fr; text-align: center; }
  .avatar-wrap { margin: 0 auto; width: 160px; height: 160px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 24px; }
  .timeline::before { left: 8px; }
  .timeline-item { padding-left: 16px; }
  .timeline-node { left: -14px; }
  #profile-header { padding-top: 110px; }
  .container { width: 95%; }
}
