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

body {
    background: #000;
    font-family: 'Courier New', monospace;
    color: #00ff41;
    min-height: 100vh;
    padding: 20px;
}

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

.terminal {
    background: #0a0a0a;
    border: 2px solid #00ff41;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    overflow: hidden;
}

.terminal-header {
    background: #00ff41;
    color: #000;
    padding: 8px 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #000;
}

.terminal-title {
    flex: 1;
    text-align: center;
}

.terminal-body {
    padding: 20px;
    min-height: 70vh;
    max-height: 80vh;
    overflow-y: auto;
}

.terminal-body::-webkit-scrollbar {
    width: 10px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #00ff41;
    border-radius: 5px;
}

.output-line {
    margin-bottom: 5px;
    line-height: 1.5;
}

.prompt {
    color: #00ff41;
    font-weight: bold;
}

.command {
    color: #fff;
}

.error {
    color: #ff4444;
}

.directory {
    color: #00ccff;
    cursor: pointer;
    text-decoration: none;
}

.directory:hover {
    text-decoration: underline;
}

.file {
    color: #ffff00;
    cursor: pointer;
    text-decoration: none;
}

.file:hover {
    text-decoration: underline;
}

.input-line {
    display: flex;
    margin-top: 10px;
    padding: 0 20px 20px;
}

.input-prompt {
    color: #00ff41;
    font-weight: bold;
    margin-right: 8px;
}

#commandInput {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    flex: 1;
    outline: none;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #00ff41;
    animation: blink 1s infinite;
    margin-left: 2px;
}

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

.help-section {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #00ff41;
    border-radius: 4px;
    background: rgba(0, 255, 65, 0.05);
}

.help-title {
    color: #00ff41;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.help-command {
    color: #ffff00;
    margin-right: 10px;
}

.blog-content {
    margin: 20px 0;
    padding: 20px;
    border-left: 3px solid #00ff41;
    background: rgba(0, 255, 65, 0.05);
}

.blog-title {
    color: #00ff41;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.blog-meta {
    color: #888;
    font-size: 12px;
    margin-bottom: 15px;
}

.blog-text {
    color: #ddd;
    line-height: 1.8;
    white-space: pre-wrap;
}

.tree-item {
    margin-left: 20px;
    margin-bottom: 3px;
}

.tree-prefix {
    color: #666;
}

a {
    color: inherit;
    text-decoration: none;
}

.hacker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: none;
    padding: 20px;
    overflow: hidden;
}

.hacker-overlay.active {
    display: block;
}

.hacker-code {
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre;
    overflow-y: auto;
    height: 100%;
}

.hacker-header {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #00ff41;
    font-size: 12px;
    z-index: 10000;
}

.hacker-exit {
    color: #ff0000;
    cursor: pointer;
    margin-left: 20px;
}

.hacker-exit:hover {
    text-decoration: underline;
}

@keyframes matrix-glow {
    0%, 100% { text-shadow: 0 0 5px #00ff41; }
    50% { text-shadow: 0 0 20px #00ff41, 0 0 30px #00ff41; }
}

.hacker-overlay.active .hacker-code {
    animation: matrix-glow 2s infinite;
}
