@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=JetBrains+Mono:wght@400;700&display=swap');

/* --- MINT HYPRLAND THEME (Default) --- */
:root {
    --bg: #0b0e0e;
    --card-bg: #111a1a;
    --border: #22ffb0;
    --text: #e0f2f1;
    --text-dim: #7da5a5;
    --accent: #22ffb0;
    --accent-glow: rgba(34, 255, 176, 0.4);
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 0px;
    --gap: 12px;
    --win-shadow: 0 0 20px var(--accent-glow);
}

/* --- WINDOWS 95 THEME --- */
body.win95 {
    --bg: #008080;
    --card-bg: #c0c0c0;
    --border: #808080;
    --text: #000;
    --text-dim: #424242;
    --accent: #000080;
    --radius: 0;
    --win-shadow: none;
    --gap: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Hyprland Bar / Win95 Taskbar */
.taskbar {
    position: fixed;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 35px;
    background: rgba(17, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 15px;
    z-index: 3000;
    justify-content: space-between;
}

body.win95 .taskbar {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #c0c0c0;
    border-top: 2px solid #fff;
    padding: 2px;
}

.theme-controls {
    display: flex;
    gap: 5px;
}

.theme-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 2px 8px;
    font-size: 0.7rem;
    cursor: pointer;
    font-family: var(--font-mono);
}

body.win95 .theme-btn {
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}

/* Desktop Area */
.desktop {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: auto;
}

/* Draggable Window */
.window {
    position: absolute;
    background: var(--card-bg);
    border: 2px solid var(--border);
    box-shadow: var(--win-shadow);
    min-width: 250px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    backdrop-filter: blur(5px);
}

body.win95 .window {
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    backdrop-filter: none;
}

.window-header {
    background: rgba(34, 255, 176, 0.1);
    padding: 6px 12px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
}

body.win95 .window-header {
    background: #000080;
    color: #fff;
    border-bottom: none;
}

.window-content {
    padding: 15px;
    overflow-y: auto;
    flex: 1;
}

/* Positions */
#win-bio {
    top: 60px;
    left: 20px;
    width: 350px;
}

#win-hardware {
    top: 60px;
    left: 390px;
    width: 450px;
}

#win-projects {
    top: 60px;
    left: 860px;
    width: 300px;
}

#win-socials {
    top: 320px;
    left: 860px;
    width: 300px;
}

#win-journal {
    top: 250px;
    left: 20px;
    width: 400px;
}

#win-status {
    top: 380px;
    left: 440px;
    width: 400px;
}

#win-explorer {
    top: 580px;
    left: 20px;
    width: 350px;
}

/* Sub-components */
.project-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border: 1px solid var(--border);
    transition: 0.2s;
}

.project-item-link:hover {
    background: rgba(34, 255, 176, 0.1);
}

.project-item-link strong {
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}

.project-item-link p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-link {
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 8px;
    border: 1px solid var(--border);
    text-align: center;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.label {
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.btn-close {
    cursor: pointer;
    color: var(--accent);
}

body.win95 .btn-close {
    background: #c0c0c0;
    border: 1px solid #000;
    padding: 0 4px;
    color: #000;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
}

@media (max-width: 1200px) {
    .desktop {
        overflow: auto;
    }
}