/* SeaShells Theme — Unified Neofetch */
:root {
  --bg:        #081414;
  --fg:        #DEB88D;
  --heading:   #FFE4CE;
  --accent:    #FCA02F;
  --hover:     #68D4F1;
  --muted:     #50A3B5;
  --card-bg:   #17384D;
  --selection: #1E4862;
}

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

::selection {
  background: var(--selection);
  color: var(--heading);
}

html {
  font-size: 18px;
}

body {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  padding: 72px 32px 96px;
}

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

a:hover {
  color: var(--hover);
}

/* Neofetch layout */
.nf-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  max-width: 820px;
  margin: 0 auto;
  align-items: start;
}

.nf-ascii {
  color: var(--accent);
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: pre;
  user-select: none;
  padding-top: 32px;
}

.nf-info {
  min-width: 0;
}

.nf-title {
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.nf-sep {
  border: none;
  border-top: 1px solid rgba(80, 163, 181, 0.35);
  margin: 10px 0;
}

.nf-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.nf-key {
  color: var(--muted);
  align-self: start;
}

.nf-val {
  color: var(--fg);
}

.nf-val a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s;
}

.nf-val a:hover {
  color: var(--hover);
}

.nf-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
  margin-left: 1px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Header */
.site-header {
  padding: 1.5rem 2rem;
}

.site-header nav {
  max-width: 820px;
  margin: 0 auto;
}

.site-title {
  color: var(--heading);
  font-size: 1rem;
  font-weight: 700;
}

.site-title:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Blog stubs */
.post-list {
  padding: 2rem 0;
}

.post-summary {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--card-bg);
}

.post-summary h2 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--heading);
  font-weight: 700;
}

.post-summary time {
  color: var(--muted);
  font-size: 0.85rem;
}

.post {
  padding: 2rem 0;
}

.post header {
  margin-bottom: 2rem;
}

.post header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--heading);
  font-weight: 700;
}

.post header time {
  color: var(--muted);
  font-size: 0.85rem;
}

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

.post-content code {
  background: var(--card-bg);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.post-content pre {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  main {
    padding: 40px 20px 72px;
  }

  .nf-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nf-ascii {
    padding-top: 0;
    font-size: 0.78rem;
  }

  html {
    font-size: 16px;
  }
}
