* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif; line-height: 1.8; color: #333; background: #fafafa; }
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 60px 0 40px; text-align: center; }
header h1 { font-size: 2.2em; margin-bottom: 10px; }
header p { font-size: 1.1em; opacity: 0.9; }
nav { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
nav ul { list-style: none; display: flex; justify-content: center; gap: 30px; padding: 15px 0; }
nav a { color: #555; text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav a:hover, nav a.active { color: #667eea; }
nav a.active { border-bottom: 2px solid #667eea; padding-bottom: 3px; }
main { padding: 40px 0; }
.card { background: #fff; border-radius: 12px; padding: 30px; margin-bottom: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.card h2 { color: #333; margin-bottom: 12px; font-size: 1.4em; }
.card h2 a { color: #333; text-decoration: none; }
.card h2 a:hover { color: #667eea; }
.card .meta { color: #999; font-size: 0.9em; margin-bottom: 15px; }
.card .excerpt { color: #666; line-height: 1.8; }
.card .tags { margin-top: 15px; }
.card .tag { display: inline-block; background: #f0f0f5; color: #666; padding: 3px 12px; border-radius: 12px; font-size: 0.85em; margin-right: 6px; }
.post { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.post h1 { font-size: 1.8em; margin-bottom: 15px; color: #222; }
.post .meta { color: #999; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.post h2 { font-size: 1.4em; margin: 30px 0 15px; color: #444; }
.post h3 { font-size: 1.2em; margin: 25px 0 12px; color: #555; }
.post p { margin-bottom: 18px; color: #444; }
.post ul, .post ol { margin: 15px 0 20px 25px; }
.post li { margin-bottom: 8px; }
.post blockquote { border-left: 4px solid #667eea; padding: 10px 20px; margin: 20px 0; background: #f7f8ff; color: #555; border-radius: 0 8px 8px 0; }
.post .tip { background: #fff9e6; border-left: 4px solid #faad14; padding: 12px 20px; margin: 20px 0; border-radius: 0 8px 8px 0; }
.post .danger { background: #fff1f0; border-left: 4px solid #ff4d4f; padding: 12px 20px; margin: 20px 0; border-radius: 0 8px 8px 0; }
.post .info { background: #e6f7ff; border-left: 4px solid #1890ff; padding: 12px 20px; margin: 20px 0; border-radius: 0 8px 8px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 25px 0; }
.grid .card { margin-bottom: 0; }
footer { text-align: center; padding: 40px 20px; color: #999; font-size: 0.9em; border-top: 1px solid #eee; background: #fff; }
footer a { color: #667eea; text-decoration: none; }
.btn { display: inline-block; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; padding: 10px 28px; border-radius: 25px; text-decoration: none; font-weight: 500; transition: opacity 0.3s; }
.btn:hover { opacity: 0.9; }
@media (max-width: 600px) { header h1 { font-size: 1.6em; } nav ul { gap: 15px; } .post { padding: 25px; } .card { padding: 20px; } }