/* --- Hacker Terminal Window --- */
.hacker-terminal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    height: 400px;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #00ff00;
    box-shadow: 0 0 20px #00ff00;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    display: flex;
    flex-direction: column;
    z-index: 10000;
    backdrop-filter: blur(5px);
    /* Added for smooth blur effect */
    transition: filter 0.5s ease-in-out;
}

/* Added for the beer command */
.hacker-terminal.fuzzy {
    filter: blur(3px);
}

.terminal-header {
    background: #00ff00;
    color: #000;
    padding: 5px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Added for draggable functionality */
    cursor: grab;
}

.terminal-close-btn {
    background: red;
    border: 1px solid black;
    color: white;
    cursor: pointer;
    padding: 0 5px;
}

.terminal-output {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    white-space: pre-wrap; /* Allows text to wrap */
}

.terminal-input-line {
    display: flex;
    padding: 5px;
    background: #333;
}

.terminal-prompt {
    margin-right: 5px;
}

.terminal-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    outline: none;
}

#bsod {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0078D7; /* Classic Windows blue */
    color: white;
    font-family: 'Consolas', 'Courier New', monospace;
    z-index: 9999;
    display: none; /* Hidden by default */
    padding: 4vw;
    box-sizing: border-box;
}

#bsod h1 {
    font-size: 8rem;
    font-weight: 100;
    margin: 0 0 2rem 0;
}

#bsod p {
    font-size: 1.2rem;
    line-height: 1.5;
}