/* verdesparadas — Tokyo Night terminal aesthetic
   No JS. Monospace. Green accents on dark bg.
   Max-width 800px, generous line-height. */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

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

:root {
  --bg: #1a1b26;
  --fg: #c0caf5;
  --accent: #9ece6a;
  --dim: #565f89;
  --bg-alt: #24283b;
  --link: #7aa2f7;
  --code-bg: #1f2335;
  --border: #3b4261;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* --- Header / Nav --- */
header {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

header h1 {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
}

header h1 a {
  color: var(--accent);
  text-decoration: none;
}

/* --- Index --- */
.post-list {
  list-style: none;
}

.post-list li {
  padding: 0.4rem 0;
}

.post-list .date {
  color: var(--dim);
  margin-right: 1rem;
}

.post-list a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.post-list a:hover {
  border-bottom-color: var(--accent);
}

/* --- Post --- */
.back-link {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.back-link:hover { color: var(--accent); }

article h1 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.post-meta {
  color: var(--dim);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.post-meta .tag {
  background: var(--bg-alt);
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  margin-left: 0.3rem;
}

/* --- Content --- */
article h2 { color: var(--accent); font-size: 1.2rem; margin: 2rem 0 0.8rem; }
article h3 { color: var(--accent); font-size: 1.05rem; margin: 1.5rem 0 0.6rem; }

article p { margin-bottom: 1rem; }

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

article strong { color: #e0af68; font-weight: 700; }
article em { font-style: italic; }

article code {
  background: var(--code-bg);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

article pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

article pre code {
  background: none;
  padding: 0;
}

article blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: var(--dim);
  margin-bottom: 1rem;
}

article ul, article ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

article li { margin-bottom: 0.3rem; }

article hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* --- Footer --- */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 0.8rem;
}
