:root {
    --bg-deep: #796de7ce;
    --primary: #09ffd6;
    --secondary: #796de7ce;
    --accent: #796de7ce;
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --blur-strength: 24px;
    --font-ui: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-ui);
    height: 100vh; width: 100vw;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}


.ambient-bg { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -1; 
}

.orb { 
    position: absolute; 
    border-radius: 50%; 
    filter: blur(80px); 
    opacity: 0.6; 
    animation: floatOrb 20s infinite alternate ease-in-out; 
}

.orb-1 { 
    width: 60vw; 
    height: 60vw; 
    background: radial-gradient(circle, var(--secondary), transparent 70%); 
    top: -10%; 
    left: -10%; 
}

.orb-2 { 
    width: 50vw; 
    height: 50vw; 
    background: radial-gradient(circle, var(--primary), transparent 70%); 
    bottom: -10%; 
    right: -10%; 
    animation-duration: 30s; 
}

.orb-3 { 
    width: 40vw; 
    height: 40vw; 
    background: radial-gradient(circle, var(--accent), transparent 70%); 
    top: 40%; left: 40%; 
    opacity: 0.3; 
    animation-duration: 35s; 
}

@keyframes floatOrb { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, -50px) scale(1.1); } }

.noise-overlay { 
    position: fixed; 
    inset: 0; 
    pointer-events: none; 
    z-index: 9999; 
    opacity: 0.05; 
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); }


.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-strength)) saturate(180%);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-highlight);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s var(--ease-smooth);
}


.desktop-layer { 
    height: 100vh; 
    display: flex; 
    flex-direction: column; 
    padding: 20px; 
    position: relative; 
    z-index: 10; 
}

.status-bar { 
    background: #9e8787;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 24px; 
    border-radius: 20px; 
    margin-bottom: 40px; 
}

.sys-left { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.logo-symbol { 
    color: var(--primary); 
    font-size: 24px; 
}

.os-name { 
    font-weight: 600; 
    letter-spacing: 1px; 
}

.version { 
    font-size: 10px; 
    color: var(--text-dim); 
    font-family: var(--font-mono); 
    background: rgba(255,255,255,0.1); 
    padding: 2px 6px; border-radius: 4px; 
}

.sys-center { 
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%); 
}

.search-trigger { 
    width: 220px; 
    justify-content: space-between; 
    opacity: 0.5; 
    cursor: not-allowed; 
}

.search-trigger kbd { 
    background: rgba(255,255,255,0.15); 
    padding: 2px 6px; 
    border-radius: 4px; 
    font-size: 11px; 
    font-family: var(--font-mono); 
}

.sys-right { 
    display: flex; 
    gap: 12px; 
    align-items: center; 
}

.clock-widget { 
    font-family: var(--font-mono); 
    color: var(--primary); 
}

.user-profile-btn { 
    padding: 4px; 
    border-radius: 50%; 
    text-decoration: none; 
}

.mini-avatar { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
}

.launcher-grid { 
    flex: 1; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 24px; 
    align-content: center; 
    justify-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    width: 100%; 
}

.app-card {
    width: 100%; 
    max-width: 240px; 
    height: 160px;
    border-radius: 24px; 
    padding: 20px;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    cursor: pointer; 
    position: relative; 
    overflow: hidden;
    text-decoration: none; 
    color: inherit;
    transform-style: preserve-3d;
    display: block; 
}
.app-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 255, 0.15);
}

.card-icon-wrapper { 
    position: relative; 
    width: 60px; 
    height: 60px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 16px; 
    font-size: 28px; 
}

.icon-bg { 
    position: absolute; 
    inset: 0; 
    border-radius: 16px; 
    opacity: 0.2; 
}

.glow-blue { 
    background: var(--primary); 
    box-shadow: 0 0 15px var(--primary); 
}

.glow-purple { 
    background: var(--secondary); 
    box-shadow: 0 0 15px var(--secondary); 
}

.glow-green { 
    background: #00ff88; 
    box-shadow: 0 0 15px #00ff88; 
}

.glow-orange { 
    background: #ffaa00; 
    box-shadow: 0 0 15px #ffaa00; 
}

.glow-cyan { 
    background: #00ccff; 
    box-shadow: 0 0 15px #00ccff; 
}

.card-info h3 { 
    font-size: 18px; 
    font-weight: 700; 
    margin-bottom: 4px; 
}

.card-info p { 
    font-size: 13px; 
    color: var(--text-dim); 
    line-height: 1.4; 
}
.card-status { 
    font-size: 11px; 
    font-family: var(--font-mono); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--primary); 
    align-self: flex-end; 
}

#boot-screen { 
    position: fixed; 
    inset: 0; 
    background: #9e8787; 
    z-index: 9999; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: opacity 0.8s ease; 
}

.boot-content { 
    text-align: center; 
}

.neon-text { 
    color: var(--primary); 
    font-size: 24px; 
    margin-bottom: 20px; 
    letter-spacing: 2px; 
}

.terminal-log { 
    font-family: var(--font-mono); 
    color: var(--primary); 
    font-size: 12px; 
    height: 40px; 
    margin-top: 10px; 
}

.loader-ring { 
    width: 60px; 
    height: 60px; 
    border: 4px solid rgba(0, 242, 255, 0.1); 
    border-top: 4px solid var(--primary); 
    border-radius: 50%; margin: 0 auto 30px; 
    animation: spin 1s linear infinite; 
}

@keyframes spin { 100% { transform: rotate(360deg); } }
body.loading #boot-screen { opacity: 1; } body.loaded #boot-screen { 
    opacity: 0; 
    pointer-events: none; 
}

.disabled { 
    pointer-events: none; 
}