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

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

body {
    background: #0a0a0a;
    color: #00ff00;
    font-family: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#terminal {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#output {
    margin-bottom: 20px;
}

.line {
    margin: 2px 0;
}

#input-line {
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prompt {
    color: #00ff00;
    margin-right: 10px;
}

#terminal-input {
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    flex: 1;
}

#terminal-input::placeholder {
    color: #006600;
    opacity: 0.5;
}

.cursor {
    animation: blink 1s infinite;
    margin-left: 2px;
}

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

a {
    color: #00ff00;
    text-decoration: underline;
}

a:hover {
    color: #00cc00;
    text-shadow: 0 0 5px #00ff00;
}

.line.header {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff0050;
}

.line.divider {
    color: #008800;
    opacity: 1;
}

.line.label {
    color: #00ffaa;
    opacity: 1;
    font-weight: bold;
}

.tech-item {
    display: inline-block;
    min-width: 11ch;
    text-align: center;
}

.tech-separator {
    color: #008800;
}

.found {
    color: #00ff00;
}

.searching {
    color: #ffff00;
    opacity: 1;
    text-shadow: 0 0 5px #ffff00;
}

.searching.placeholder {
    opacity: 0;
}

@media (max-width: 600px) {
    body {
        font-size: 12px;
    }

    #terminal {
        padding: 20px 15px;
    }
}