@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Sora:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #120f18;
  --bg-deep: #0b0912;
  --panel: rgba(255,255,255,0.045);
  --panel-strong: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.09);
  --gold: #c9a875;
  --gold-bright: #e8cd9a;
  --rose: #d9a5a0;
  --violet: #8b7aa8;
  --ivory: #f4eee1;
  --muted: #9b93a8;
  --shadow: rgba(0,0,0,0.55);
  --radius: 18px;
}

.lumen-desktop-wrapper * {
  box-sizing: border-box;
}

.lumen-desktop-wrapper {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  position: fixed;
  inset: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: 'Sora', sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  z-index: 999990;
}

.lumen-desktop-wrapper ::selection {
  background: var(--gold);
  color: #1a1420;
}

.lumen-desktop-wrapper .mono {
  font-family: 'JetBrains Mono', monospace;
}

/* CURSOR HIDING FOR DESKTOP ENGINE */
.has-custom-cursor,
.has-custom-cursor *,
.lumen-desktop-wrapper.has-custom-cursor,
.lumen-desktop-wrapper.has-custom-cursor * {
  cursor: none !important;
}

/* BOOT OVERLAY */
#boot {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity .9s ease, visibility .9s ease;
}

#boot.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-mark {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0.9;
}

.boot-lines {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  min-height: 90px;
  text-align: left;
  width: 280px;
  line-height: 1.9;
}

.boot-lines span {
  display: block;
  opacity: 0;
  animation: fadeIn .5s forwards;
}

.boot-bar {
  width: 280px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 18px;
  position: relative;
  overflow: hidden;
}

.boot-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--gold);
  animation: loadbar 1.7s ease forwards;
}

@keyframes loadbar { to { width: 100%; } }
@keyframes fadeIn { to { opacity: 1; } }