/* Old terminal styling */
body {
    background-color: black;
    color: #33ff33;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    text-shadow: 0 0 5px #33ff33;
    margin: 0;
    padding: 20px;
}

/* Terminal window */
.terminal {
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    border: 2px solid #33ff33;
    box-shadow: 0 0 10px #33ff33;
    position: relative;
    white-space: pre-wrap; /* Preserve line breaks while allowing wrapping */
    word-wrap: break-word; /* Ensure words wrap properly */
    overflow-wrap: anywhere; /* Forces wrapping even in stubborn cases */
    overflow-x: hidden; /* Prevents horizontal scrolling issues */
}

/* Ensure text inside the terminal wraps */
#terminal-text {
    white-space: pre-wrap; /* Ensures text wraps properly */
    word-wrap: break-word;
    overflow-wrap: anywhere; /* iOS-specific fix */
}


/* Blinking cursor effect */
.blinking {
    display: inline-block;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Emulated command text */
.command {
    font-weight: bold;
}

/* Ensure terminal text is responsive */
#terminal-text {
    white-space: pre-wrap; /* Ensures text wraps properly */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* CRT Monitor Scanline Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        rgba(0, 255, 0, 0.07) 0px,
        rgba(0, 255, 0, 0.03) 2px,
        rgba(0, 255, 0, 0.07) 4px
    );
    pointer-events: none;
    z-index: 10;
}

/* Additional CRT Glow and Flicker */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width
