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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: #2d3748;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header h1 a {
  text-decoration: none;
  color: inherit;
}

header p {
  color: #718096;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

main {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

h1, h2, h3 {
  color: #1a202c;
  margin-bottom: 16px;
  font-weight: 600;
}

h2 {
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
  display: inline-block;
}

a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  padding: 24px;
  border-left: 4px solid #667eea;
  background: #f7fafc;
  margin-bottom: 20px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-list li:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.post-list h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.post-list h3 a {
  color: #2d3748;
}

.post-list h3 a:hover {
  color: #667eea;
}

.post-meta {
  color: #718096;
  font-size: 0.9rem;
  font-style: italic;
}

code {
  background: #edf2f7;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.9em;
  color: #e53e3e;
}

pre {
  background: #1a202c;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
}

hr {
  border: none;
  border-top: 2px solid #e2e8f0;
  margin: 40px 0;
}

footer {
  text-align: center;
  padding: 30px;
  color: white;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

footer a {
  color: #e2e8f0;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  
  main {
    padding: 24px;
  }
  
  .post-list li {
    padding: 16px;
  }
}