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

body {
    font-family: 'Courier New', monospace;
    background-color: #0c0c0c;
    color: #00ff00;
    overflow: hidden;
}

.terminal {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    position: relative;
}

.terminal-header {
    background: #2d2d2d;
    padding: 10px 15px;
    border-bottom: 2px solid #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-buttons {
    display: flex;
    gap: 5px;
}

.btn {
    width: 18px;
    height: 18px;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background: #444;
    border-color: #777;
}

.btn-close { 
    background: #2d2d2d;
}

.btn-close:after {
    content: "×";
    color: #ff6b6b;
}

.btn-minimize { 
    background: #2d2d2d;
}

.btn-minimize:after {
    content: "−";
    color: #ffd43b;
}

.btn-maximize { 
    background: #2d2d2d;
}

.btn-maximize:after {
    content: "□";
    color: #51cf66;
}

.terminal-title {
    color: #ccc;
    font-size: 14px;
    margin-left: 10px;
}

.terminal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    position: relative;
}

.line {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

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

.command {
    color: #87ceeb;
}

.output {
    color: #ffffff;
    margin-left: 0;
    white-space: pre-wrap;
}

.error {
    color: #ff6b6b;
}

.success {
    color: #51cf66;
}

.warning {
    color: #ffd43b;
}

.info {
    color: #74c0fc;
}

.link {
    color: #ffffff;
}

.cursor {
    background: #00ff00;
    width: 10px;
    height: 18px;
    display: inline-block;
    animation: blink 1s infinite;
}

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

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(40, end);
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.input-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    outline: none;
    flex: 1;
    margin-left: 10px;
}

.ascii-art {
    color: #00ff00;
    font-size: 80px;
    line-height: 1.2;
    margin: 10px 0;
}

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

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
    z-index: 1;
}

.terminal-content {
    position: relative;
    z-index: 2;
}