/* Terminal/Hacker Design System - gogrowth.me */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #fff;
    margin: 20px 0 10px;
    font-weight: normal;
}

h1 { font-size: 18px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }

.section-title {
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    margin-top: 30px;
}

.section-title:first-child {
    margin-top: 0;
}

/* Links */
a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #00ff88;
}

.nav-link {
    color: #666;
}

.nav-link:hover {
    color: #00ff88;
}

/* Blog specific styles */
.post-item {
    border-left: 2px solid #00ff88;
    padding-left: 15px;
    margin-bottom: 25px;
    transition: border-color 0.2s ease;
}

.post-item:hover {
    border-left-color: #fff;
}

.post-title {
    font-size: 14px;
    color: #fff;
    margin-bottom: 5px;
    display: block;
}

.post-meta {
    color: #666;
    font-size: 12px;
    margin-bottom: 8px;
}

.post-excerpt {
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
}

.post-tags {
    margin-top: 8px;
}

.tag {
    background: #111;
    color: #00ff88;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 11px;
    margin-right: 5px;
    display: inline-block;
}

/* Content styles */
.post-content {
    margin-top: 30px;
}

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

.post-content h1,
.post-content h2,
.post-content h3 {
    color: #00ff88;
    margin: 25px 0 15px;
}

.post-content ul,
.post-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #ccc;
}

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

.post-content blockquote {
    border-left: 2px solid #00ff88;
    padding-left: 15px;
    margin: 20px 0;
    color: #999;
    font-style: italic;
}

.post-content code {
    background: #111;
    color: #00ff88;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 13px;
}

.post-content pre {
    background: #111;
    color: #00ff88;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.5;
}

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

/* Tables */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
    overflow-x: auto;
    display: block;
}

.post-content thead {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.post-content tbody {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.post-content th {
    background: #111;
    color: #00ff88;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid #00ff88;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.post-content td {
    padding: 10px 12px;
    border-bottom: 1px solid #1a1a1a;
    color: #ccc;
    vertical-align: top;
    line-height: 1.5;
}

.post-content tr:hover td {
    background: rgba(0, 255, 136, 0.03);
}

.post-content td strong {
    color: #fff;
}

.post-content td code {
    background: #0a0a0a;
    color: #00ff88;
    padding: 1px 4px;
    font-size: 12px;
}

/* Responsive tables on mobile */
@media (max-width: 640px) {
    .post-content table {
        font-size: 12px;
    }
    .post-content th,
    .post-content td {
        padding: 8px 6px;
    }
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    color: #00ff88;
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 14px;
    border-radius: 2px;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #00ff88;
}

.form-textarea {
    min-height: 200px;
    resize: vertical;
}

.form-button {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.2s ease;
    margin-right: 10px;
}

.form-button:hover {
    background: #fff;
}

.form-button.secondary {
    background: #333;
    color: #fff;
}

.form-button.secondary:hover {
    background: #555;
}

/* Language toggle */
.language-toggle {
    text-align: right;
    margin-bottom: 20px;
}

.language-btn {
    color: #666;
    cursor: pointer;
    margin-left: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.language-btn.active {
    color: #00ff88;
}

/* Cursor animation */
.cursor {
    animation: blink 1s infinite;
}

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

/* Loading states */
.loading {
    color: #666;
    text-align: center;
    padding: 40px 0;
}

.error {
    color: #ff6666;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 20px 15px;
    }
    
    body {
        font-size: 13px;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        font-size: 13px;
    }
}

/* Cover image */
.post-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid #333;
}

/* Admin styles */
.admin-header {
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.post-list-item {
    border: 1px solid #333;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-list-item.draft {
    border-color: #666;
    opacity: 0.7;
}

.post-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 4px 8px;
    font-size: 11px;
}

/* Filter buttons */
.filter-buttons {
    margin-bottom: 30px;
    text-align: center;
}

.filter-btn {
    background: none;
    border: 1px solid #333;
    color: #666;
    padding: 6px 12px;
    margin: 0 5px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: #00ff88;
    color: #00ff88;
}

/* Back link */
.back-link {
    color: #666;
    margin-bottom: 20px;
    display: inline-block;
}

.back-link:hover {
    color: #00ff88;
}

.back-link::before {
    content: "← ";
}

/* Comments System */
.comments-section {
    margin-top: 50px;
    border-top: 1px solid #222;
    padding-top: 30px;
}

.comments-section h2 {
    color: #00ff88;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.comment-form {
    margin-bottom: 30px;
    border: 1px solid #222;
    padding: 15px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 13px;
    margin-bottom: 10px;
    border-radius: 2px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #00ff88;
}

.comment-form textarea {
    min-height: 80px;
    resize: vertical;
}

.comment-form button {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.comment-form button:hover {
    background: #fff;
}

.comment {
    border-left: 1px solid #333;
    padding-left: 15px;
    margin-bottom: 20px;
}

.comment .comment-author {
    color: #00ff88;
    font-size: 12px;
    margin-bottom: 2px;
}

.comment .comment-date {
    color: #555;
    font-size: 11px;
    margin-bottom: 6px;
}

.comment .comment-text {
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
}

.comment .reply-btn {
    color: #555;
    font-size: 11px;
    cursor: pointer;
    margin-top: 6px;
    display: inline-block;
    border: none;
    background: none;
    font-family: inherit;
}

.comment .reply-btn:hover {
    color: #00ff88;
}

.comment-replies {
    margin-left: 20px;
    margin-top: 10px;
}

.comment-replies .comment {
    border-left-color: #1a1a1a;
}

/* Subscribe form */
.subscribe-section {
    margin-top: 40px;
    border: 1px solid #222;
    padding: 20px;
    text-align: center;
}

.subscribe-section h3 {
    color: #00ff88;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.subscribe-section p {
    color: #666;
    font-size: 12px;
    margin-bottom: 15px;
}

.subscribe-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 13px;
    border-radius: 2px;
}

.subscribe-form input:focus {
    outline: none;
    border-color: #00ff88;
}

.subscribe-form button {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    white-space: nowrap;
}

.subscribe-form button:hover {
    background: #fff;
}

.subscribe-msg {
    font-size: 12px;
    margin-top: 8px;
}