:root {
    --main-bg: #11121a;
    --window-bg: rgba(20, 22, 28, 0.98);
    --window-border: #c45aff;           /* Pinkish purple border */
    --window-header-bg: #191c22;
    --window-header-color: #e27aff;     /* Pinkish purple header text */
    --window-shadow: 0 2px 32px #000e;
    --text: #f7f9fb;
    --text-muted: #bfc9d8;
    --accent: #e055d7;                  /* Main accent: pinkish purple */
    --header-font: 'Fira Mono', 'Consolas', 'Menlo', 'monospace', 'Segoe UI', 'Arial', sans-serif;
    --body-font: 'Fira Mono', 'Consolas', 'Menlo', 'monospace', 'Segoe UI', 'Arial', sans-serif;
    --taskbar-bg: rgba(18,20,27,0.97);
    --taskbar-border: #a33be1;          /* Slightly deeper purple */
    --taskbar-btn-bg: #23272e;
    --taskbar-btn-hover: #5d3460;
    --taskbar-btn-active: #e055d7;
}
body {
    font-family: var(--body-font);
    background: var(--main-bg) url('../assets/background.jpg') center center/cover no-repeat fixed;
    margin: 0;
    padding: 0;
    color: var(--text);
    min-height: 100vh;
}
header {
    text-align: center;
    padding: 2.5em 1em 1.2em 1em;
    background: transparent;
}
.site-title-typing {
    font-family: var(--header-font);
    font-size: 2.3em;
    font-weight: bold;
    color: var(--accent);
    margin: 0 0 0.5em 0;
    letter-spacing: 1px;
    text-shadow: 0 1px 16px #000c;
}
.typing-cursor {
    display: inline-block;
    width: 0.7em;
    background: none;
    color: var(--accent);
    vertical-align: bottom;
    font-weight: 900;
    font-size: 1.1em;
    animation: blink 1s steps(1, start) infinite;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
.site-desc {
    font-size: 1.1em;
    margin: 0 0 2em 0;
    color: var(--text-muted);
    letter-spacing: 0.2px;
    text-shadow: 0 2px 14px #000b;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
}
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2em;
}
.window {
    background: var(--window-bg);
    border: 2.5px solid var(--window-border);
    border-radius: 4px;
    box-shadow: var(--window-shadow), inset 0 0 24px #000c;
    min-width: 255px;
    max-width: 360px;
    flex: 1 1 300px;
    margin-bottom: 1.2em;
    color: var(--text);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.window-header {
    background: var(--window-header-bg);
    color: var(--window-header-color);
    font-family: var(--header-font);
    font-weight: bold;
    font-size: 1em;
    padding: 0.46em 1.1em 0.46em 1.1em;
    border-bottom: 2px solid var(--window-border);
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    user-select: none;
}
.window-content {
    padding: 1.1em 1em 1.2em 1em;
    font-size: 1em;
    color: var(--text-muted);
    flex: 1 1 auto;
    background: transparent;
    font-family: var(--body-font);
    line-height: 1.55em;
    text-shadow: 0 1px 8px #000b;
}
.window-content a {
    color: var(--accent);
    text-decoration: underline;
    word-break: break-all;
}
.window-content strong {
    color: var(--text);
    font-weight: bold;
    letter-spacing: 0.5px;
}
/* Taskbar Styles */
.taskbar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: var(--taskbar-bg);
    border-top: 2px solid var(--taskbar-border);
    color: var(--text-muted);
    min-height: 38px;
    display: flex;
    align-items: center;
    z-index: 99;
    font-size: 1.08em;
    font-family: var(--header-font);
    box-shadow: 0 -2px 10px #0009;
    user-select: none;
}
.taskbar-menu-btn {
    margin: 0 0.5em 0 0.7em;
    background: var(--taskbar-btn-bg);
    border: 1.5px solid var(--window-border);
    color: var(--accent);
    border-radius: 4px;
    padding: 0.26em 1.2em 0.26em 1.1em;
    font-family: var(--header-font);
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 1.5px 6px #000a;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 0.7em;
    position: relative;
    z-index: 100;
}
.taskbar-menu-btn:hover,
.taskbar-menu-btn:focus {
    background: var(--taskbar-btn-hover);
    color: #fff;
}
.taskbar-menu-icon {
    width: 1.1em;
    height: 1.1em;
    display: inline-block;
    background: none;
    margin-right: 0.4em;
    position: relative;
    top: 0.05em;
}
.taskbar-title {
    margin-left: 1.5em;
    font-size: 1em;
    color: var(--text-muted);
    opacity: 0.9;
    font-family: var(--header-font);
}
.taskbar-spacer {
    flex: 1 1 auto;
}
.taskbar-clock {
    margin-right: 1.9em;
    font-size: 1em;
    color: var(--accent);
    font-family: var(--header-font);
    letter-spacing: 0.1em;
}
@media (max-width: 1100px) {
    .cards {
        flex-direction: column;
        gap: 0.8em;
        align-items: center;
    }
    .window {
        max-width: 98vw;
    }
}
/* Menu Drawer Styles */
.app-launcher {
    display: none;
    position: fixed;
    left: 0;
    bottom: 40px;
    width: 320px;
    max-width: 95vw;
    height: 480px;
    max-height: 70vh;
    background: rgba(16,18,28,0.97);
    border-radius: 8px 8px 8px 8px;
    box-shadow: 0 4px 32px #000d;
    border: 2px solid var(--window-border);
    z-index: 999;
    overflow: hidden;
    flex-direction: row;
    animation: fadeInUp 0.2s;
}
@keyframes fadeInUp {
    from { transform: translateY(50px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.app-launcher.open {
    display: flex;
}
.launcher-sidebar {
    width: 52px;
    background: rgba(34,38,52,0.93);
    border-right: 2px solid #a33be1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    gap: 0.33em;
}
.launcher-icon-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 5px;
    margin: 0.13em 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.28em;
    cursor: pointer;
    transition: background 0.18s;
    position: relative;
}
.launcher-icon-btn:focus,
.launcher-icon-btn:hover {
    background: var(--window-border);
}
.launcher-category {
    flex: 1 1 auto;
    overflow-y: auto;
    background: none;
    min-width: 0;
}
.launcher-cat-list {
    list-style: none;
    margin: 0;
    padding: 0.36em 0.2em 0.36em 0.3em;
}
.launcher-cat-list li {
    padding: 0.7em 1.1em 0.7em 0.92em;
    border-radius: 4px;
    color: var(--text-muted);
    font-family: var(--header-font);
    font-size: 1em;
    margin-bottom: 0.15em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.7em;
    transition: background 0.14s, color 0.13s;
}
.launcher-cat-list li.selected,
.launcher-cat-list li:hover {
    background: var(--window-border);
    color: #fff;
}
.launcher-footer {
    padding: 0.5em 0.7em 0.5em 0.85em;
    background: rgba(34,38,52,0.93);
    border-top: 2px solid #a33be1;
    display: flex;
    align-items: center;
    gap: 0.6em;
}
.launcher-search {
    font-family: var(--header-font);
    width: 100%;
    background: rgba(25,28,34,0.89);
    border: 2px solid var(--window-border);
    border-radius: 5px;
    color: var(--accent);
    padding: 0.38em 0.9em;
    font-size: 1em;
    outline: none;
}
.launcher-search:focus {
    border-color: #ffb4fc;
}
.launcher-footer-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.2em;
    margin-left: 0.3em;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.13s;
    padding: 0.12em 0.2em;
}
.launcher-footer-btn:hover,
.launcher-footer-btn:focus {
    background: var(--window-border);
    color: #fff;
}