
/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'VT323', monospace;
    background-color: #008080;
    color: #000;
    overflow: hidden;
    height: 100vh;
    cursor: url('data:image/x-icon;base64,AAACAAEAICACAAAAAwAQANgAAAI/AAAAExAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/AAAAfwAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAfwAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'), auto;
}
/* Windows 95 CRT Effect */
.windows-95 {
    position: relative;
    height: 100vh;
    background-image: url('https://huggingface.co/spaces/basedgoose/goosewave-terminal-x/resolve/main/images/MOSHED-2025-10-7-14-46-44.gif');
    background-size: cover;
    background-position: center;
    filter: contrast(105%) brightness(95%);
}
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: overlay;
}
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9999;
}

/* Desktop Styles */
.desktop {
    position: relative;
    height: calc(100vh - 40px);
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}
.desktop-icon {
    width: 80px;
    margin: 10px;
    text-align: center;
    cursor: pointer;
    color: white;
    text-shadow: 1px 1px 1px black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.desktop-icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 5px;
}

.desktop-icon span {
    display: block;
    font-size: 14px;
}

/* Window Styles */
.window {
    position: absolute;
    top: 100px;
    left: 100px;
    width: 500px;
    min-height: 300px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 10;
    resize: both;
    overflow: hidden;
}

.title-bar {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    padding: 3px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    cursor: move;
}

.title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.window-controls button {
    background: #c0c0c0;
    border: none;
    width: 22px;
    height: 20px;
    margin-left: 2px;
    font-family: 'VT323', monospace;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
}

.window-content {
    padding: 10px;
    height: calc(100% - 33px);
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #808080;
}

/* Terminal Styles */
.terminal-header {
    background-color: #000;
    color: #0f0;
    padding: 10px;
    font-family: 'VT323', monospace;
    font-size: 18px;
}

.chat-container {
    height: calc(100% - 60px);
    overflow-y: auto;
    padding: 10px;
    background-color: #000;
    color: #0f0;
}

.chat-message {
    margin-bottom: 10px;
    animation: fadeIn 0.5s;
}

.bot-message::before {
    content: ">> ";
    color: #0ff;
}

.user-message {
    color: #ff0;
    text-align: right;
}

.user-message::before {
    content: "> ";
}

.input-area {
    display: flex;
    padding: 10px;
    background-color: #000;
    border-top: 1px solid #0f0;
}

.input-area input {
    flex-grow: 1;
    background-color: #000;
    border: 1px solid #0f0;
    color: #0f0;
    padding: 5px;
    font-family: 'VT323', monospace;
    font-size: 16px;
}

.input-area button {
    background-color: #000;
    color: #0f0;
    border: 1px solid #0f0;
    margin-left: 5px;
    cursor: pointer;
}
/* Play Button Styles */
.play-button {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 25px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    color: #000;
    font-family: 'VT323', monospace;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 50;
    animation: pulse 2s infinite;
}
.play-button:hover {
    background: #000080;
    color: white;
}

.play-button:active {
    border-color: #808080 #fff #fff #808080;
}

@keyframes buttonFlash {
    0% { background: #000080; color: white; }
    100% { background: #c0c0c0; color: #000; }
}

/* Taskbar Styles */
.taskbar {
position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #c0c0c0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #fff;
    z-index: 100;
}
.start-button {
    height: 100%;
    padding: 0 15px;
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    border: none;
    border-right: 2px solid #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'VT323', monospace;
    font-size: 18px;
    cursor: pointer;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.taskbar-icons {
    display: flex;
    height: 100%;
}

.taskbar-icon {
    width: 40px;
    height: 100%;
    background-color: #c0c0c0;
    border: none;
    border-right: 1px solid #808080;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.clock {
    padding: 0 15px;
    height: 100%;
    background-color: #c0c0c0;
    display: flex;
    align-items: center;
    border-left: 2px solid #808080;
    font-family: 'VT323', monospace;
    font-size: 18px;
}
.hovered-element:hover {
    background-color: #000080;
    color: white;
    cursor: default;
    padding: 0 5px;
}
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.clickable-message {
    color: #ff0;
    cursor: pointer;
    text-decoration: underline;
}

.clickable-message:hover {
    color: #0ff;
    background-color: rgba(255, 255, 0, 0.1);
}

.blinking {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .window {
        width: 90%;
        left: 5%;
    }
}