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

body {
    background: #0a0a0a;
    font-family: 'Courier New', Courier, monospace;
    color: #01b601;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.terminal {
    width: 100%;
    max-width: 900px;
    height: 80vh;
    background: #070707;
    border: 2px solid #01b601;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.terminal-header {
    background: #01b601;
    color: #0a0a0a;
    padding: 8px 16px;
    font-weight: bold;
    border-bottom: 2px solid #01b601;
}

.terminal-title {
    letter-spacing: 2px;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

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

.terminal-output::-webkit-scrollbar-thumb {
    background: #01b601;
    border-radius: 5px;
}

.terminal-output::-webkit-scrollbar-thumb:hover {
    background: #01b601;
}

.boot-sequence {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.terminal-input-line {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #0f0f0f;
    border-top: 1px solid #01b601;
}

.prompt {
    color: #01b601;
    margin-right: 8px;
    font-weight: bold;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #01b601;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    outline: none;
    caret-color: #01b601;
}

.terminal-input::selection {
    background: #01b601;
    color: #0a0a0a;
}

.output-line {
    margin-bottom: 4px;
    animation: fadeIn 0.2s ease-in;
}

.command-echo {
    color: #00cc00;
    margin-bottom: 8px;
}

.error {
    color: #ff4444;
}

.highlight {
    color: #ffff00;
    font-weight: bold;
}

.rare-indicator {
    color: #ffaa00;
}

.legendary-indicator {
    color: #ff00ff;
    font-weight: bold;
}

pre {
    margin: 8px 0;
    line-height: 1.2;
}

.creature-encounter {
    margin: 16px 0;
    padding: 12px;
    border-left: 2px solid #01b601;
    background: rgba(0, 255, 0, 0.05);
}

.bond-message {
    color: #00dddd;
    font-style: italic;
    margin: 8px 0;
}
