:root {
  --bg: #0a0e17;
  --card: #141b2e;
  --card-hover: #1a2438;
  --text: #f0f4ff;
  --muted: #9ba8c8;
  --link: #6ba3ff;
  --link-hover: #8bb8ff;
  --accent: #4a8fff;
  --border: rgba(255,255,255,.08);
  --shadow: 0 4px 12px rgba(0,0,0,.3);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px;
}

.header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.brand {
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text) 0%, var(--link) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
  font-weight: 500;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.card:hover {
  background: var(--card-hover);
  border-color: rgba(255,255,255,.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  background: rgba(74, 143, 255, .18);
  border: 1px solid rgba(74, 143, 255, .35);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background: rgba(74, 143, 255, .28);
  border-color: rgba(74, 143, 255, .5);
  transform: translateY(-1px);
  text-decoration: none;
}

.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.post h1 {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.post h2 {
  margin: 32px 0 12px;
  font-size: 26px;
  font-weight: 700;
}

.post h3 {
  margin: 24px 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--link);
}

.post p {
  line-height: 1.8;
  color: #dce6ff;
  margin-bottom: 16px;
  font-size: 16px;
}

.post img {
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin: 20px 0;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

.post ul, .post ol {
  margin: 16px 0;
  padding-left: 24px;
}

.post li {
  margin: 8px 0;
  line-height: 1.7;
}

.post code {
  background: rgba(255,255,255,.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
}

.post blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 20px 0;
  color: var(--muted);
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 24px 16px;
  }
  
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .brand {
    font-size: 26px;
  }
  
  .post h1 {
    font-size: 28px;
  }
  
  .title {
    font-size: 19px;
  }
}
