/* ================================
   TYPE FAST BLOG - Terminal Theme
   ================================ */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #00ff00;
    --text-secondary: #00cc00;
    --text-muted: #006600;
    --text-error: #ff0000;
    --border-color: #00ff00;
    --shadow-color: rgba(0, 255, 0, 0.2);
    --font-mono: 'Courier New', Courier, Monaco, 'Lucida Console', monospace;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.6;
    min-height: 100vh;
    padding: 10px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 2px solid var(--border-color);
}

.ascii-art {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.1;
    text-shadow: 0 0 10px var(--shadow-color);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px var(--shadow-color); }
    to { text-shadow: 0 0 15px var(--shadow-color); }
}

.tagline {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 5px;
}

.tagline a {
    color: var(--text-primary);
    text-decoration: none;
}

.tagline a:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px var(--shadow-color);
}

/* Box Component (Terminal Windows) */
.box {
    margin-bottom: 15px;
}

.box-header, .box-footer {
    color: var(--text-secondary);
    font-size: 13px;
    user-select: none;
    overflow: hidden;
    white-space: nowrap;
}

.box-content {
    background-color: var(--bg-secondary);
    padding: 15px 20px;
    border-left: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
}

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

.post-list-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--text-muted);
}

.post-list-item:last-child {
    border-bottom: none;
}

.post-list-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
}

.post-list-item a:hover {
    text-shadow: 0 0 10px var(--shadow-color);
}

.post-date {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 5px;
}

/* Post Content */
.post-meta {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 20px;
}

.post-content {
    font-size: 14px;
}

.post-content h1, .post-content h2, .post-content h3 {
    color: var(--text-primary);
    margin: 25px 0 15px 0;
    text-shadow: 0 0 5px var(--shadow-color);
}

.post-content h1::before { content: "# "; color: var(--text-muted); }
.post-content h2::before { content: "## "; color: var(--text-muted); }
.post-content h3::before { content: "### "; color: var(--text-muted); }

.post-content p {
    margin-bottom: 15px;
}

.post-content a {
    color: var(--text-primary);
    text-decoration: underline;
}

.post-content code {
    background-color: var(--bg-primary);
    padding: 2px 6px;
    border: 1px solid var(--text-muted);
}

.post-content pre {
    background-color: var(--bg-primary);
    padding: 15px;
    border: 1px solid var(--border-color);
    overflow-x: auto;
    margin: 15px 0;
}

.post-content ul, .post-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content li::marker {
    color: var(--text-muted);
}

.post-content blockquote {
    border-left: 3px solid var(--text-primary);
    margin: 15px 0;
    padding: 10px 20px;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 8px 15px;
    font-family: var(--font-mono);
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.btn:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--shadow-color);
}

/* Post Navigation */
.post-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--text-muted);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
    color: var(--text-muted);
    font-size: 11px;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .ascii-art { font-size: 10px; }
    .box-content { padding: 10px 15px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; }
}
