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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  min-height: 100vh;
  color: #eee;
  line-height: 1.6;
}

header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  background: linear-gradient(90deg, #f093fb, #f5576c, #ffecd2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav .tagline {
  color: #888;
  font-size: 1rem;
}

main {
  padding: 2rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.hero .tagline {
  font-size: 1.2rem;
  color: #ccc;
  margin-top: 1rem;
}

.gradient-text {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #f093fb, #f5576c, #ffecd2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.post-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.post-card:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
}

.post-card h2 {
  margin-bottom: 0.5rem;
}

.post-card h2 a {
  color: #fff;
  text-decoration: none;
}

.post-card h2 a:hover {
  background: linear-gradient(90deg, #f093fb, #f5576c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-card time {
  display: block;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.post-card p {
  color: #ccc;
}

.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.post-header time {
  display: block;
  color: #888;
  margin-top: 0.5rem;
}

.post-content {
  color: #ddd;
}

.post-content h2, .post-content h3 {
  color: #fff;
  margin: 2rem 0 1rem;
}

.post-content p {
  margin-bottom: 1.25rem;
}

.post-content a {
  color: #f093fb;
}

.post-content code {
  background: rgba(255,255,255,0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: "SF Mono", Monaco, monospace;
}

.post-content pre {
  background: rgba(0,0,0,0.3);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.post-content pre code {
  background: none;
  padding: 0;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.post-content blockquote {
  border-left: 3px solid #f093fb;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #bbb;
  font-style: italic;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: #888;
  text-decoration: none;
}

.back-link:hover {
  color: #f093fb;
}

footer {
  padding: 2rem;
  text-align: center;
  color: #666;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 600px) {
  .gradient-text {
    font-size: 2rem;
  }
  main {
    padding: 1rem;
  }
}
