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

body {
  background-color: #121212;
  color: #f0f0f0;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-bottom: 5rem;
}

.logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid #4d4d4d;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.intro {
  max-width: 600px;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.intro a {
  color: #bbb;
  text-decoration: none;
  border-bottom: 1px dashed #555;
}

.intro a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  text-align: center;
  font-size: 0.7rem;
  line-height: 1.4;
  opacity: 0.8;
  margin: 0;
  padding: 0.5rem 0;

  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 480px) {
  .buttons a {
    width: 100%;
  }
}

/* ========== Blog (basic) ========== */
.blog-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  width: 100%;
}

.post {
  border-bottom: 1px solid #333;
  padding-bottom: 1.5rem;
}

.post h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

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

.post h2 a:hover {
  color: #bbb;
}

.post-meta {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.post-summary {
  color: #ddd;
  line-height: 1.4;
}

/* ========== Enhanced Blog (shadcn-inspired) ========== */
:root {
  --accent: #7c3aed;
}

body.blog-page {
  overflow-y: auto;
}

body.blog-page .content {
  justify-content: flex-start;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-title {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.blog-tagline {
  font-size: 1rem;
  color: #bbb;
}

.posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.post {
  background: #1a1a1a;
  border: 1px solid #232323;
  border-radius: 8px;
  padding: 1.6rem 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.post:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.post h2 {
  margin-bottom: 0.6rem;
  font-size: 1.5rem;
}

.post-meta {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.8rem;
}

.post-summary {
  color: #ccc;
  line-height: 1.6;
}

/* ========== Individual Post Page ========== */
body.post-page {
  overflow-y: auto;
}

body.post-page .content {
  justify-content: flex-start;
  padding-top: 3rem;
  padding-bottom: 4rem;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.post-full {
  width: 100%;
}

.post-header {
  margin-bottom: 3rem;
  text-align: center;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.post-meta-full {
  color: #888;
  font-size: 0.9rem;
}

.post-meta-full time {
  color: #aaa;
}

.reading-time {
  color: #666;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
}

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

.post-content .lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #ccc;
  font-weight: 300;
  margin-bottom: 2rem;
}

.post-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #f0f0f0;
}

.post-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #f0f0f0;
}

.post-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #bbb;
}

.post-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
  color: #ddd;
}

.post-content a {
  color: #bbb;
  text-decoration: none;
  border-bottom: 1px dashed #555;
}

.post-content a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.post-content li a {
  color: #bbb;
  text-decoration: none;
  border-bottom: 1px dashed #555;
}

.post-content li a:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.post-content pre {
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}

.post-content code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9rem;
  color: #f0f0f0;
}

.post-content p code {
  background: #2a2a2a;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

.post-footer {
  position: static;
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid #333;
}

.post-footer p {
  text-align: center;
}

.separator {
  margin: 0 0.5rem;
  color: #555;
}
