:root {
    --taskbar-height: 40px;
    --aero-bg: rgba(255, 255, 255, 0.3);
    --aero-border: rgba(255, 255, 255, 0.4);
    --aero-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --win7-blue: #3a7bd5;
    --win7-light-blue: #00d2ff;
}

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

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

/* Boot Screen */
#boot-screen {
    background: black;
    color: white;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.boot-logo .orb {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: radial-gradient(circle, #ffeb3b, #f44336, #2196f3, #4caf50);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* Login Screen */
#login-screen {
    background: linear-gradient(to bottom, #3a7bd5, #00d2ff);
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

.login-container {
    text-align: center;
    color: white;
}

.user-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 10px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
}

.login-input {
    margin-top: 20px;
    display: flex;
    gap: 5px;
}

.login-input input {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    outline: none;
}

.login-input button {
    padding: 8px 12px;
    border-radius: 4px;
    border: none;
    background: #4caf50;
    color: white;
    cursor: pointer;
}

/* Desktop Environment */
#desktop-environment {
    background-size: cover;
    background-position: center;
    background-image: url('../assets/wallpapers/default.jpg');
}

#desktop {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#desktop-icons {
    position: absolute;
    top: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 80px);
    grid-auto-rows: 100px;
    gap: 20px;
    z-index: 1;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 2px black;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    outline: 1px solid rgba(255, 255, 255, 0.3);
}

.desktop-icon i {
    font-size: 40px;
    margin-bottom: 5px;
}

.desktop-icon span {
    font-size: 12px;
    word-break: break-all;
}
