* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    background-color: #000;
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#computer-screen {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: block;
    overflow: hidden;
}

#scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
    background-size: 100% 4px;
    z-index: 10;
    pointer-events: none;
    opacity: 0.3;
}

#windows98 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #008080; /* Classic Windows 98 teal background */
    display: flex;
    flex-direction: column;
}

#desktop {
    flex: 1;
    position: relative;
    padding: 10px;
}

.icon {
    position: absolute;
    width: 75px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    padding: 5px;
}

.icon:hover {
    background-color: rgba(128, 128, 255, 0.3);
}

.icon.selected {
    background-color: rgba(128, 128, 255, 0.5);
}

.icon img {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}

.icon span {
    color: white;
    font-size: 11px;
    text-shadow: 1px 1px 1px black;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#taskbar {
    height: 28px;
    background: #c0c0c0;
    border-top: 1px solid #ffffff;
    display: flex;
    justify-content: space-between;
}

#start-button {
    height: 100%;
    padding: 1px 2px;
    border: 1px solid #808080;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
    display: flex;
    align-items: center;
}

#start-button img {
    height: 20px;
}

#system-tray {
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-left: 1px solid #808080;
    border-top: 1px solid #808080;
}

#clock {
    font-size: 11px;
    padding: 0 5px;
}

.window {
    position: absolute;
    min-width: 200px;
    min-height: 150px;
    background-color: #c0c0c0;
    border: 1px solid #dfdfdf;
    border-right-color: #000000;
    border-bottom-color: #000000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.window.active {
    z-index: 2;
}

.titlebar {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    font-weight: bold;
    padding: 3px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.titlebar-text {
    font-size: 12px;
}

.window-controls {
    display: flex;
}

.window-control {
    width: 16px;
    height: 14px;
    background-color: #c0c0c0;
    border: 1px solid white;
    border-right-color: #808080;
    border-bottom-color: #808080;
    margin-left: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
}

.window-content {
    flex: 1;
    padding: 5px;
    overflow: auto;
    background-color: white;
    margin: 2px;
}

.menubar {
    display: flex;
    border-bottom: 1px solid #808080;
}

.menu-item {
    padding: 2px 5px;
    font-size: 12px;
    cursor: pointer;
}

.menu-item:hover {
    background-color: #000080;
    color: white;
}

#intro-message {
    display: none;
}

.aol-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #f0f0f0;
    font-family: 'Arial', sans-serif;
}

.aol-header {
    background-color: #0057b8;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
}

.aol-logo {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.aol-header h2 {
    font-size: 16px;
    margin: 0;
}

.aol-login-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-size: 12px;
    font-weight: bold;
}

.input-group input {
    padding: 5px;
    border: 1px solid #808080;
}

.aol-button {
    background-color: #0057b8;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
}

.aol-button:hover {
    background-color: #00429b;
}

.aol-chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #808080;
    margin: 5px;
}

.aol-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: white;
    border-bottom: 1px solid #808080;
}

.aol-chat-input {
    display: flex;
    padding: 5px;
    background-color: #e0e0e0;
}

.aol-chat-input input {
    flex: 1;
    padding: 5px;
    border: 1px solid #808080;
}

.aol-message {
    margin-bottom: 5px;
    line-height: 1.3;
}

.aol-username {
    font-weight: bold;
    color: #0057b8;
}

.aol-users-online {
    width: 150px;
    border-left: 1px solid #808080;
    padding: 5px;
    background-color: #e0e0e0;
}

.aol-users-online h3 {
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 5px;
}

#aol-users-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
}

.aol-user {
    padding: 2px 0;
}

.typing-indicator {
    font-style: italic;
    color: #808080;
    font-size: 10px;
}

#boot-sequence {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

#bios-screen {
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #ccc;
    font-family: 'Courier New', monospace;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.bios-header {
    font-size: 18px;
    margin-bottom: 5px;
}

.bios-info {
    font-size: 14px;
    margin-bottom: 20px;
}

#bios-test-messages {
    flex: 1;
}

.bios-footer {
    font-size: 14px;
    color: #fff;
    margin-top: 20px;
}

.bios-test-item {
    margin: 3px 0;
    font-size: 14px;
    line-height: 1.2;
}

.bios-cmd-prompt {
    color: #0f0;
    margin-top: 10px;
}

#post-screen {
    width: 100%;
    height: 100%;
    background-color: #000080;
    color: #fff;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.post-message {
    font-size: 24px;
    margin-bottom: 30px;
}

.progress-bar {
    width: 300px;
    height: 20px;
    background-color: #000;
    border: 2px solid #fff;
    margin-bottom: 30px;
}

.progress {
    height: 100%;
    width: 0%;
    background-color: #fff;
    transition: width 0.3s ease;
}

.post-info, .post-copyright {
    font-size: 14px;
    margin: 5px 0;
}