/* Custom Styles */
body {
    font-family: 'VT323', monospace;
    background-color: #000;
    color: #00ff41;
    overflow: hidden;
    user-select: none;
    text-lg: 18px;
}
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}
.window {
    position: absolute;
    border: 2px solid #00ff41;
    background-color: rgba(0, 20, 0, 0.85);
    box-shadow: 0 0 15px #00ff41;
    border-radius: 4px;
    display: none; /* Hidden by default */
    min-width: 300px;
    min-height: 200px;
    resize: both;
    overflow: auto;
}
.window-header {
    background-color: #00ff41;
    color: #000;
    padding: 4px 8px;
    font-weight: bold;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.window-controls button {
    background: none;
    border: none;
    color: #000;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 16px;
    padding: 0 5px;
    cursor: pointer;
}
.window-body {
    padding: 10px;
    height: calc(100% - 32px); /* Adjusted for padding */
}
#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #0d0d0d;
    border-top: 2px solid #00ff41;
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 10000;
}
#start-button {
    background-color: #00ff41;
    color: #000;
    border: 2px solid #00ff41;
    padding: 2px 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}
#start-button:hover {
    background-color: #000;
    color: #00ff41;
}
#clock {
    margin-left: auto;
    font-size: 18px;
    padding: 5px 10px;
    border-left: 2px solid #00ff41;
}
#start-menu {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 250px;
    background-color: rgba(0, 20, 0, 0.95);
    border: 2px solid #00ff41;
    border-bottom: none;
    display: none; /* Hidden by default */
}
#start-menu ul { list-style: none; padding: 0; margin: 0; }
#start-menu li {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
#start-menu li:hover { background-color: #00ff41; color: #000; }
.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    text-align: center;
    padding: 10px;
    cursor: pointer;
}
.desktop-icon:hover {
    background-color: rgba(0, 255, 65, 0.2);
    border: 1px dashed rgba(0, 255, 65, 0.5);
}
.desktop-icon-img { width: 48px; height: 48px; margin-bottom: 5px; }
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0.3) 2px, rgba(0, 0, 0, 0.3) 3px);
    pointer-events: none;
    z-index: 9999;
}
#construction-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Below windows, which start at 100 */
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 24px;
    background-color: rgba(0, 20, 0, 0.9);
    border: 2px solid #00ff41;
    box-shadow: 0 0 20px #00ff41;
    pointer-events: none;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}
.construction-icon {
    width: 32px;
    height: 32px;
    fill: #00ff41;
}
.mirror-icon {
    transform: scaleX(-1); /* Flip the second icon */
}