body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

/* 1. The Desk */
.desk {
    width: 100vw;
    height: 100vh;
    background-color: #A67B5B; /* Wood color */
    background-image: linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px); /* Subtle wood grain */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Puts peripherals at the bottom */
    padding-bottom: 50px;
}

/* 2. The Monitor Housing */
.monitor-body {
    width: 600px;
    height: 450px;
    background-color: #D2C5B1; /* Old beige */
    border-radius: 20px 20px 10px 10px;
    padding: 40px;
    box-shadow: inset -10px -10px 20px rgba(0,0,0,0.2), 10px 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 4px solid #B8AC99;
}

/* 3. The CRT Screen */
.crt-screen {
    width: 100%;
    height: 85%;
    background-color: #1a1a1a;
    border: 15px solid #333; /* Thick black bezel */
    border-radius: 50px / 20px; /* Gives it that slightly curved tube look */
    overflow: hidden;
}

/* 4. Keyboard and Mouse Positioning */
.peripheral-container {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    margin-top: 50px;
}

.keyboard {
    width: 500px;
    height: 150px;
    background: #C4B9A8;
    border-radius: 5px;
    border-bottom: 8px solid #888;
}

.mouse {
    width: 60px;
    height: 100px;
    background: #D2C5B1;
    border-radius: 30px 30px 10px 10px;
    border-bottom: 4px solid #888;

}

/* The 'Glass' Overlay for the CRT */
.crt-screen {
    position: relative; /* So the overlay stays inside */
    background: #0a0a0a;
    overflow: hidden;
    /* Subtle bulge effect using a radial gradient */
    background-image: radial-gradient(circle, #1a1a1a 0%, #000 100%);
}

.crt-screen::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    /* This creates the horizontal scanlines */
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 10;
    background-size: 100% 3px, 3px 100%;
    pointer-events: none; /* Allows you to click things underneath the glass */
}

/* The subtle flicker animation */
.terminal-content {
    color: #33ff33; /* Classic Matrix/Terminal green */
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px #33ff33; /* Glowing text */
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0.98; }
    50% { opacity: 1; }
    100% { opacity: 0.99; }
}
