:root {
  --primary-color: #000;
  --secondary-color: #FF69B4;
  --background-color: #fff;
  --spacing-unit: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  margin-bottom: 4rem;
}

.name {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  transition: color 0.2s;
}

a:hover {
  color: var(--secondary-color);
}

nav a {
  text-decoration: none;
}
/* 保留 .more-info 的特殊色 */

.more-info {
  color: var(--secondary-color);
}

.section-title {
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.projects, .practices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.project, .practice {
  margin-bottom: 2rem;
}

.project h3, .practice h3 {
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.project-type {
  color: var(--primary-color);
}

.project-tech {
  color: var(--secondary-color);
  font-style: italic;
}

.other-practices {
  margin-top: 4rem;
}

@media (max-width: 768px) {
  body {
      padding: 1rem;
  }

  nav {
      flex-direction: column;
      gap: 1rem;
  }

  .projects, .practices {
      grid-template-columns: 1fr;
  }
}
.social-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem; /* 控制间距，可根据需要调整 */
  width: 100%;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}