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

body {
    background: #0a0e14;
    font-family: 'JetBrains Mono', monospace;
    color: #e6e6e6;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.terminal {
    background: #1a1b26;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.terminal-header {
    background: #24283b;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #414868;
}

.terminal-buttons {
    display: flex;
    gap: 10px;
    margin-right: 18px;
}

.terminal-buttons span {
    width: 13px;
    height: 13px;
    border-radius: 50%;
}

.close {
    background: #ff5f56;
}

.minimize {
    background: #ffbd2e;
}

.maximize {
    background: #27c93f;
}

.terminal-title {
    color: #7877c6;
    font-size: 13px;
    font-weight: 600;
}

.terminal-content {
    padding: 28px;
    height: calc(100% - 50px);
    overflow-y: auto;
    background: #1a1b26;
}

.terminal-content::-webkit-scrollbar {
    width: 12px;
}

.terminal-content::-webkit-scrollbar-track {
    background: #1a1b26;
}

.terminal-content::-webkit-scrollbar-thumb {
    background: #414868;
    border-radius: 6px;
}

.terminal-content::-webkit-scrollbar-thumb:hover {
    background: #565f89;
}

.command-line {
    margin: 15px 0;
    font-size: 16px;
}

.prompt {
    color: #bb9af7;
    margin-right: 12px;
    font-weight: 600;
}

.output {
    color: #9ece6a;
    margin: 10px 0 20px 0;
    padding-left: 28px;
    font-size: 15px;
    line-height: 2;
}

.ascii-art {
    font-size: 11px;
    line-height: 1.15;
    margin: 20px 0;
    color: #f7768e;
    font-weight: 700;
}

.cursor {
    animation: cursorBlink 1s step-end infinite;
    color: #7dcfff;
}

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

.command-history {
    padding-bottom: 30px;
}

.spinner {
    color: #e0af68;
    font-weight: 700;
    display: inline-block;
    width: 1ch;
}

.input-line {
    display: flex;
    align-items: center;
    margin: 18px 0;
}

#terminalInput {
    background: transparent;
    border: none;
    outline: none;
    color: #e6e6e6;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    flex: 1;
    margin-left: 12px;
}

.input-line .cursor {
    display: none;
}

::selection {
    background: rgba(187, 154, 247, 0.3);
    color: #ffffff;
}

@media (max-width: 768px) {
    .ascii-art {
        font-size: 7px;
    }
    
    .command-line {
        font-size: 14px;
    }
    
    .output {
        font-size: 13px;
    }
    
    .terminal-content {
        padding: 20px;
    }
}
