/* ============================================================
   base.css — reset, typography, global layout, boot screen
   ============================================================ */

:root {
  --luna-blue: #245edb;
  --luna-blue-dark: #003ac6;
  --taskbar-h: 30px;
  --z-desktop: 0;
  --z-window: 100;
  --z-taskbar: 9000;
  --z-startmenu: 9500;
  --z-context: 9800;
  --z-boot: 10000;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: Tahoma, "Segoe UI", Geneva, Verdana, sans-serif;
  font-size: 11px;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

body {
  background: #5a7edc;
}

.hidden { display: none !important; }

img { -webkit-user-drag: none; user-drag: none; }

/* ------------------------------------------------------------ Boot screen */
#boot {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: var(--z-boot);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity .6s ease;
}
#boot.fade { opacity: 0; pointer-events: none; }

.boot-logo { text-align: center; margin-bottom: 60px; }
.boot-brand { font-family: "Franklin Gothic Medium", "Trebuchet MS", sans-serif; line-height: 1; }
.boot-ms { display: block; font-size: 18px; font-style: italic; color: #f5f5f5; margin-bottom: 2px; }
.boot-xp {
  font-size: 54px; font-weight: bold; font-style: italic;
  background: linear-gradient(#fff, #e6e6e6);
  -webkit-background-clip: text; background-clip: text; color: #fdfdfd;
}
.boot-xp sup {
  font-size: 20px;
  background: linear-gradient(#ff9a2e, #d35400);
  -webkit-background-clip: text; background-clip: text;
  color: #ff9a2e; -webkit-text-fill-color: transparent;
  margin-left: 4px;
}

.boot-bar { margin-top: 34px; display: flex; justify-content: center; }
.boot-bar-track {
  width: 150px; height: 16px; border: 2px solid #4a4a4a; border-radius: 3px;
  padding: 2px; display: flex; gap: 4px; overflow: hidden; background: #0b0b0b;
}
.boot-bar-track i {
  width: 10px; height: 100%; border-radius: 2px;
  background: linear-gradient(#7ab5ff, #1b4fd1);
  animation: boot-slide 1.6s linear infinite;
}
@keyframes boot-slide {
  0%   { transform: translateX(-40px); opacity: .2; }
  50%  { opacity: 1; }
  100% { transform: translateX(150px); opacity: .2; }
}
.boot-bar-track i:nth-child(2) { animation-delay: .18s; }
.boot-bar-track i:nth-child(3) { animation-delay: .36s; }

.boot-copy {
  position: absolute; bottom: 40px; right: 60px;
  font-size: 12px; color: #cfcfcf;
}

@media (max-width: 640px) {
  .boot-copy { right: 20px; bottom: 24px; font-size: 10px; }
}
