:root {
    --bg-theme: linear-gradient(135deg, #0f172a, #1e293b,#0f172a);
    --window-bg: rgba(30,41,59,0.85);
    --header-bg: rgba(51,65,85,0.9);
    --text-color:#f8fafc;
    --accent-color: #38bdf8
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}
body {
    font-family: system-ui, -apple-system, sans-serif;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-theme);
    color: var(--text-color);
}
.desktop {
    width: 100vw;
    height: calc(100vh - 40px);
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.shortcut {
    width: 80px;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
}
.shortcut:hover {
    background: rgba(255,255,255,0.1)
}
.shortcut .icon {
    font-size: 32px
}
.shortcut span {
    font-size: 12px;
    margin-top: 4px;
    display: block;
}
.window {
    position: absolute;
    width: 300px;
    background: var(--window-bg);
    backdrop-filter: blur(12px);
    border: 1 px solid rgba;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.window-header {
    background: var(--header-bg);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}
.window-header .title {
    font-size: 13px;
    font-weight: 600;
}
.close-btn {
    background: #ef4444;
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}
.window-body {
    padding: 12px;
    color: #fff;
}
textarea {
    width: 100%;
    height: 140px;
    background: transparent;
    border: none;
    color: #fff;
    resize: none;
    outline: none;
    font-family: inherit;
}
#calc-display {
    width: 100%;
    padding: 8px;
    background: #0f172a;
    border: 1 px solid #334155;
    color: #38bdf8;
    text-align: right;
    font-size: 18px;
    margin-bottom: 10px;
    border-radius: 4px;
}
.calc-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 6px;
}
.calc-grid button, .theme-buttons button {
    padding: 8px;
    background: #334155;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}
.calc-grid button:hover, .theme-buttons button:hover {
    background: var(--accent-color);
}
.theme-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.taskbar {
    height: 40px;
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
}

.start-btn {
    background: #334155;
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.taskbar-clock {
    font-size: 13px;
    color: #94a3b8;
}