/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Tokyo Night ── */
:root {
  --bg-body:       #1a1b26;
  --bg-nav:        #16161e;
  --bg-card:       #1f2335;
  --bg-card-hover: #24283b;

  --accent-cyan:   #7dcfff;
  --accent-purple: #bb9af7;
  --accent-green:  #9ece6a;
  --accent-orange: #ff9e64;
  --accent-red:    #f7768e;

  --text-primary:  #c0caf5;
  --text-muted:    #565f89;
  --border:        rgba(125, 207, 255, 0.08);

  --nav-height: 84px;
  --font-pixel: 'Press Start 2P', monospace;
  --font-mono:  'IBM Plex Mono', monospace;
}

/* ── Base ── */
body {
  font-family: var(--font-mono);
  background: var(--bg-body);
  color: var(--text-primary);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 100;
}

.nav-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.logo {
  font-family: var(--font-pixel);
  font-size: 1rem;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-bracket { color: var(--accent-purple); }
.logo-text    { color: var(--accent-cyan);   }

/* ── Nav Links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 12px 20px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
  background: rgba(125, 207, 255, 0.07);
}

/* ── Main ── */
.main-container {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 48px) 28px 80px;
}

/* ── Section Label ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

/* ── Post List ── */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ── Post Card ── */
.post-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-card);
  padding: 20px 24px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.post-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
}

.post-card-left {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex: 1;
}

/* ── Tag ── */
.post-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-purple);
  white-space: nowrap;
  min-width: 72px;
}

/* ── Title ── */
.post-title {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
}

.post-card:hover .post-title {
  color: var(--accent-cyan);
}

/* ── Read time ── */
.post-readtime {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── All Posts Link ── */
.all-posts-link {
  display: inline-block;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.all-posts-link:hover { color: var(--accent-cyan); }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-purple);
  letter-spacing: 0.5px;
}

/* ── Social Buttons ── */
.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--accent-purple);
  transition: color 0.2s, background 0.2s;
}

.social-btn:hover {
  color: var(--accent-cyan);
  background: rgba(125, 207, 255, 0.07);
}


