body {
    background-color: #050b08;
    color: #66ffb2;
    font-family: "Courier New", monospace;
    font-size: 16px;
    margin: 0;
    animation: flicker 4s infinite;
}

/* terminal container */
.terminal {
    width: 800px;
    margin: 60px auto;
    padding-bottom: 100px;
}

/* typed lines */
.line {
    margin-bottom: 4px;
}

/* input styling */
.input-line input {
    background: transparent;
    border: none;
    color: #66ffb2;
    font-family: "Courier New", monospace;
    font-size: 16px;
    outline: none;
    width: 80%;
}

/* blinking cursor */
.input-line::after {
    content: "█";
    animation: blink 1s infinite;
}

/* scanlines */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0px,
        rgba(0,0,0,0) 2px,
        rgba(0,0,0,0.15) 3px
    );
}

/* subtle flicker */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.98; }
    100% { opacity: 1; }
}

/* cursor blink */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}