/* Retro 90s Terminal Style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #001a00;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scanline effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 0, 0.03),
        rgba(0, 255, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: 999;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation */
.terminal-nav {
    margin-bottom: 30px;
    border: 2px solid #00ff00;
    padding: 15px;
    background-color: #000d00;
}

.terminal-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.terminal-nav a {
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border: 1px solid transparent;
}

.terminal-nav a:hover {
    border: 1px solid #00ff00;
    background-color: #003300;
    text-shadow: 0 0 10px #00ff00;
}

.terminal-nav a.active {
    border: 1px solid #00ff00;
    background-color: #003300;
    box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.5);
    text-shadow: 0 0 10px #00ff00;
}

/* Terminal Window */
.terminal-window {
    border: 3px solid #00ff00;
    background-color: #000d00;
    min-height: 70vh;
    padding: 0;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background-color: #00ff00;
    color: #001a00;
    padding: 10px 15px;
    font-weight: bold;
    border-bottom: 2px solid #00ff00;
    font-size: 12px;
    letter-spacing: 2px;
}

.terminal-content {
    padding: 20px;
    font-size: 13px;
    line-height: 1.8;
    word-wrap: break-word;
}

.terminal-line {
    margin-bottom: 3px;
    min-height: 17px;
    position: relative;
}

.command {
    color: #00ff00;
    font-weight: bold;
}

.terminal-text {
    color: #00ff00;
    font-weight: bold;
}

.section-title {
    color: #00ff00;
    font-weight: bold;
    text-decoration: underline;
}

.post-date {
    color: #00bb00;
    font-size: 12px;
}

.post-highlight {
    color: #00ff00;
    font-weight: bold;
}

.ascii-art {
    color: #00ff00;
    font-size: 11px;
    font-family: 'Courier New', monospace;
    white-space: pre;
    text-align: center;
    margin: 10px 0;
    line-height: 1.2;
}

/* Blinking cursor */
.cursor {
    display: inline-block;
    width: 20px;
    height: 17px;
    background-color: #00ff00;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% {
        background-color: #00ff00;
    }
    50%, 100% {
        background-color: transparent;
    }
}

.blog-post {
    margin: 15px 0;
    padding: 15px;
    border-left: 3px solid #00ff00;
    background-color: rgba(0, 255, 0, 0.05);
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    border: 2px solid #00ff00;
    background-color: rgba(0, 255, 0, 0.05);
}

.pagination-btn {
    background-color: #00ff00;
    color: #001a00;
    padding: 8px 15px;
    border: 2px solid #00ff00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #001a00;
    color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
    text-shadow: 0 0 10px #00ff00;
}

.pagination-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.pagination-btn:disabled {
    background-color: #003300;
    color: #008800;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #008800;
}

.pagination-info {
    color: #00ff00;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Forms */
.terminal-form {
    margin: 20px 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #00ff00;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    background-color: #000d00;
    color: #00ff00;
    border: 2px solid #00ff00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5), inset 0 0 10px rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #008800;
}

.submit-btn {
    background-color: #00ff00;
    color: #001a00;
    padding: 10px 30px;
    border: 2px solid #00ff00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn:hover {
    background-color: #001a00;
    color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
    text-shadow: 0 0 10px #00ff00;
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border: 2px solid #00ff00;
    min-height: 20px;
    font-weight: bold;
}

.form-message.success {
    background-color: rgba(0, 255, 0, 0.1);
    color: #00ff00;
}

.form-message.error {
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border-color: #ff0000;
}

/* Footer */
.terminal-footer {
    margin-top: 30px;
    text-align: center;
    color: #00aa00;
    font-size: 12px;
    border-top: 2px solid #00ff00;
    padding-top: 15px;
}

.terminal-footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .terminal-nav a {
        display: block;
    }

    .terminal-content {
        font-size: 12px;
        padding: 15px;
    }

    .terminal-line {
        font-size: 12px;
        min-height: 16px;
    }

    .ascii-art {
        font-size: 9px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 12px;
    }

    .pagination-controls {
        flex-direction: column;
        gap: 10px;
    }

    .pagination-btn {
        width: 100%;
    }

    .pagination-info {
        font-size: 11px;
    }
}

/* Selection Color */
::selection {
    background-color: #00ff00;
    color: #001a00;
}

::-moz-selection {
    background-color: #00ff00;
    color: #001a00;
}
