@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/wallhaven-3zgz2y.png) no-repeat center center fixed;
    background-size: cover;
    color: #00ff00;
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
    overflow: hidden;
}

#terminal {
    padding: 40px 40px 40px 200px;
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    font-size: 16.5px;
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    overflow-x: auto;
    overflow-y: auto;
}

.line {
    margin: 2px 0;
    white-space: pre-wrap;
}

.prompt {
    color: #00ff00;
}

.command {
    color: #fff;
}

.link-name {
    color: #00ff00;
    text-decoration: none;
    cursor: pointer;
}

.link-name:hover {
    background-color: #00ff00;
    color: #000;
}

.link-target {
    color: #fff;
}

#input-line {
    display: flex;
    align-items: center;
    width: 100%;
}

#cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: #00ff00;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}

#user-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    flex-grow: 1;
    padding: 0;
    margin: 0;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Scanline effect for more retro feel */
#terminal::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* Utility classes for terminal colors */
.white { color: #fff; text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
.yellow { color: #ffff00; text-shadow: 0 0 5px rgba(255, 255, 0, 0.5); }
.header-title { 
    color: #fff; 
    font-weight: bold; 
    font-size: 1.2em; 
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8); 
    display: block;
    margin-bottom: 5px;
}