/* 全局样式 - 极简干净 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 导航 */
nav {
  margin-bottom: 4rem;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 1rem;
}

nav a {
  color: #666;
  text-decoration: none;
  margin-right: 2rem;
  font-size: 1rem;
  transition: color 0.2s;
}

nav a:hover {
  color: #000;
}

/* 标题 */
h1 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #333;
}

/* 首页选择卡片 */
.choice-container {
  display: flex;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.choice-card {
  flex: 1 1 250px;
  padding: 2rem;
  background: #f8f8f8;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  border: 1px solid #eee;
}

.choice-card:hover {
  background: #fff;
  border-color: #999;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.choice-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.choice-card p {
  color: #666;
  font-size: 0.95rem;
}

/* 项目卡片网格 */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.project-card {
  background: #f8f8f8;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: 0.2s;
}

.project-card:hover {
  background: #fff;
  border-color: #999;
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.project-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project-card .tag {
  color: #999;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 博客列表 */
.post-list {
  margin: 2rem 0;
}

.post-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}

.post-item:last-child {
  border-bottom: none;
}

.post-item h2 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.post-item h2 a {
  color: #1a1a1a;
  text-decoration: none;
}

.post-item h2 a:hover {
  text-decoration: underline;
}

.post-date {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.post-excerpt {
  color: #666;
  font-size: 0.95rem;
}

/* 页脚 */
footer {
  margin-top: auto;
  padding: 2rem 0 1rem;
  color: #999;
  font-size: 0.85rem;
  border-top: 1px solid #eee;
}

/* 响应式 */
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }
  
  nav a {
    margin-right: 1rem;
  }
  
  .choice-container {
    gap: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
}