:root {
    --teal: #00A19B;
}
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #e0e1dd;
    background-image: url('../../public/assets/wallpapers/wall3.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease-in-out;
}

#desktop {
    width: 100vw;
    height: 100vh;
    position: relative;
}


#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0b101a; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.8s;
}

.loader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.loader-inner {
  width: min(90vw, 700px);
  padding: 30px;
}

.loader-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: #777;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
}


.loader-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.05em;
  gap: 0.15em;
}

.loader-title span {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}

.loader-title2 {
  color: #ffffff; 
}

.loader-title1 {
  color: #00d5ff; 
  margin-left: 0.25em;
}

.loader-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 30px;
  overflow: hidden;
}

.loader-line-inner {
  width: 0%;
  height: 100%;
  background: var(--teal);
}
.loader-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px; 
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.loader-status .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00d5ff;
    box-shadow: 0 0 8px rgba(0, 213, 255, 0.8);
    display: inline-block;
    animation: statusPulse 1.5s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}
.lexi-text {
    font-size: 48px;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 4px;
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.os-text {
    color: #00d2ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 6px;
    margin-top: 8px;
}

.dock {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(12, 18, 30, 0.75);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.dock-app {
    width: 80px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 48px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.dock-app img, .dock-app svg {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    object-fit: contain;
}

.app-container {
    position: relative;
}

.app-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #00d5ff;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}
.app-label {
    font-family: 'Times New Roman', monospace; 
    font-size: 15px;                   
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    width: 100%;
    margin-top: 5px;              
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-container.open::after {
    opacity: 1;
    transform: translateX(-50%) scale(1.3);
}
.dot-close { background: #ff5f56; }
.dot-min { background: #ffbd2e; }
.dot-max { background: #28c940; }

.window.maximized {
    top: 25px !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 100px) !important; 
    border-radius: 0 !important;
    transform: none !important;
}

.window.minimized {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(150px) scale(0.5) !important;
}

.window {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1), opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
    
    position: absolute;
    width: 550px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    
    background: rgba(20, 25, 35, 0.55);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: spawnWindow 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

@keyframes spawnWindow {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.window-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #e0e1dd;
    letter-spacing: 0.5px;
    cursor: grab;
}

.window-header:active {
    cursor: grabbing;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5), 0 1px 1px rgba(255,255,255,0.1);
    transition: opacity 0.2s;
}

.control-dot:hover { opacity: 0.8; }
.dot-close { background: #ff5f56; }

.window-content {
    padding: 24px;
    height: 450px;
    overflow-y: auto;
    font-family: 'SF Pro Text', sans-serif;
    line-height: 1.6;
}

.window-content::-webkit-scrollbar {
    width: 8px;
}
.window-content::-webkit-scrollbar-track {
    background: transparent;
}
.window-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
.boot-logo {
  height: 0.85em;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  animation: pulse-glow 2s infinite alternate ease-in-out;
}