* { margin:0; padding:0; box-sizing:border-box; }
body {
    background: #000;
    color: #00ff00;
    font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
    height: 100dvh;
    touch-action: manipulation;
}
canvas { position: fixed; top: 0; left: 0; z-index: -1; opacity: 0.18; }
.container {
    position: relative;
    z-index: 2;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.header {
    font-size: clamp(1.7rem, 7.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 0 15px #00ff00;
}
.subheader {
    font-size: clamp(0.95rem, 4vw, 1.3rem);
    margin-bottom: 18px;
    opacity: 0.9;
    text-shadow: 0 0 10px #00ff00;
}
#terminal {
    background: rgba(0,20,0,0.95);
    border: 3px solid #00ff00;
    width: 98%;
    max-width: 860px;
    height: min(560px, 90dvh);
    overflow: hidden;
    box-shadow: 0 0 40px #00ff00;
    border-radius: 6px;
}
#output {
    height: calc(100% - 56px);
    overflow-y: auto;
    padding: 18px 50px;
    font-size: clamp(1rem, 3.6vw, 1.3rem);
    line-height: 1.45;
}
.prompt {
    display: flex;
    padding: 14px 50px;
    font-size: clamp(1.05rem, 3.8vw, 1.3rem);
    background: #001100;
    border-top: 2px solid #00ff00;
}
#input {
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.05rem, 3.8vw, 1.3rem);
    flex: 1;
    outline: none;
    padding-left: 8px;
}
.line { margin-bottom: 7px; }
.copy-btn {
    background: #00ff00;
    color: #000;
    border: none;
    padding: 4px 12px;
    font-size: 0.95rem;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 4px;
}
