:root {
    /* Gruvbox dark theme */
    --bg-hard: #1d2021;
    --bg: #282828;
    --bg-soft: #32302f;
    --bg1: #3c3836;
    --bg2: #504945;

    --fg: #ebdbb2;
    --fg-dim: #a89984;

    --red: #fb4934;
    --green: #b8bb26;
    --yellow: #fabd2f;
    --blue: #83a598;
    --purple: #d3869b;
    --aqua: #8ec07c;
    --orange: #fe8019;
    --gray: #928374;

    --mono-font: 'Courier New', 'Monaco', 'Courier', monospace;
}

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

body {
    font-family: var(--mono-font);
    background-color: var(--bg-hard);
    color: var(--fg);
    line-height: 1.6;
    font-size: 14px;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px dashed var(--bg2);
}

.ascii-header {
    font-size: 10px;
    line-height: 1.1;
    overflow-x: auto;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--bg2);
    border-radius: 4px;
}

.ascii-header pre {
    color: var(--green);
}

.subtitle {
    color: var(--gray);
    margin-top: 10px;
    font-size: 12px;
}

/* Main layout */
.main-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

@media (min-width: 768px) {
    .main-wrapper {
        flex-direction: row;
    }
}

/* Sidebar */
.sidebar {
    flex: 0 0 220px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section h3 {
    color: var(--fg-dim);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.nav-section ul {
    list-style: none;
}

.nav-section li {
    margin-bottom: 6px;
}

.nav-section a {
    color: var(--fg);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.nav-section a:hover,
.nav-section a:focus {
    color: var(--blue);
}

.nav-section a.active {
    color: var(--blue);
    font-weight: bold;
}

.status-box {
    font-size: 12px;
    color: var(--fg-dim);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    color: var(--green);
}

.tiny-text {
    font-size: 11px;
    color: var(--gray);
}

/* Content */
.content {
    flex: 1;
}

/* Hero section */
.hero {
    padding: 25px;
    background: var(--bg);
    border: 1px solid var(--bg2);
    border-radius: 4px;
    margin-bottom: 30px;
}

.hero h1 {
    color: var(--aqua);
    margin-bottom: 10px;
    font-size: 18px;
}

.date {
    color: var(--gray);
    font-size: 12px;
    margin-bottom: 15px;
}

.hero p {
    margin-bottom: 10px;
}

/* Recent posts section */
.recent-posts {
    margin-bottom: 30px;
}

.recent-posts h2 {
    color: var(--yellow);
    font-size: 14px;
    margin-bottom: 20px;
}

.post-card {
    padding: 20px;
    background: var(--bg-soft);
    border-left: 3px solid var(--bg2);
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

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

.post-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.post-card h3 a {
    color: var(--fg);
    text-decoration: none;
}

.post-card h3 a:hover {
    color: var(--blue);
}

.tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
}

.tag.techy {
    color: var(--purple);
    background: rgba(211, 134, 155, 0.1);
}

.tag.human {
    color: var(--green);
    background: rgba(184, 187, 38, 0.1);
}

.post-meta {
    color: var(--gray);
    font-size: 11px;
    margin: 5px 0;
}

.post-card p {
    color: var(--fg-dim);
    font-size: 13px;
}

/* About section */
.about h2 {
    color: var(--yellow);
    font-size: 14px;
    margin-bottom: 15px;
}

.about p {
    color: var(--fg-dim);
    line-height: 1.8;
}

/* Full posts */
.post {
    margin-bottom: 50px;
}

.post-date {
    color: var(--gray);
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
}

.post h1 {
    color: var(--aqua);
    font-size: 18px;
    margin-bottom: 15px;
}

.post p {
    margin-bottom: 15px;
    color: var(--fg-dim);
    line-height: 1.8;
}

.post ul,
.post ol {
    margin-left: 25px;
    margin-bottom: 15px;
    color: var(--fg-dim);
}

.post li {
    margin-bottom: 5px;
}

.post strong {
    color: var(--orange);
}

.post-divider {
    height: 1px;
    background: var(--bg2);
    margin: 25px 0;
}

.post-divider.extra {
    margin: 40px 0;
}

/* Code blocks */
.code-block {
    background: var(--bg-hard);
    padding: 15px;
    border: 1px solid var(--bg2);
    border-radius: 4px;
    overflow-x: auto;
    font-size: 12px;
    color: var(--green);
    margin-bottom: 15px;
}

.code-block-shell {
    background: var(--bg-hard);
    padding: 10px 15px;
    border: 1px solid var(--bg2);
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 15px;
    color: var(--fg);
}

.prompt {
    color: var(--green);
    margin-right: 8px;
}

.output {
    color: var(--fg-dim);
}

/* Quote */
.quote {
    background: var(--bg-soft);
    border-left: 3px solid var(--yellow);
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--fg);
}

/* Currently listening */
.currently-listening {
    background: var(--bg-soft);
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--fg-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

.note {
    color: var(--yellow);
    font-size: 16px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0 20px;
    border-top: 1px dashed var(--bg2);
    margin-top: auto;
    color: var(--gray);
    font-size: 12px;
}

/* Links */
a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s;
}

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