:root {
  --xp-blue-1: #0054e3;
  --xp-blue-2: #0047cc;
  --xp-blue-3: #003399;
  --xp-taskbar-1: #1f5fc9;
  --xp-taskbar-2: #3988f5;
  --xp-green-1: #3b9c3b;
  --xp-green-2: #2d7b2d;
  --xp-green-3: #236b23;
  --xp-border: #0054e3;
  --xp-primary: #0054E3;
  --xp-titlebar: #0054E3;
  --xp-button: #ECE9D8;
}

/* Theme variations */
body.theme-luna-olive-green {
  --xp-primary: #6B8E23;
  --xp-titlebar: #6B8E23;
  --xp-taskbar-1: #5a7a1a;
  --xp-taskbar-2: #7ba428;
  --xp-border: #6B8E23;
}

body.theme-luna-silver {
  --xp-primary: #8B8B8B;
  --xp-titlebar: #8B8B8B;
  --xp-taskbar-1: #7a7a7a;
  --xp-taskbar-2: #9c9c9c;
  --xp-border: #8B8B8B;
}

body.theme-royale-media-center {
  --xp-primary: #4169E1;
  --xp-titlebar: #4169E1;
  --xp-taskbar-1: #355ac9;
  --xp-taskbar-2: #5b82f5;
  --xp-border: #4169E1;
}

body.theme-windows-classic {
  --xp-primary: #C0C0C0;
  --xp-titlebar: #000080;
  --xp-taskbar-1: #C0C0C0;
  --xp-taskbar-2: #C0C0C0;
  --xp-border: #000000;
}

body.theme-zune-unofficial {
  --xp-primary: #FF6600;
  --xp-titlebar: #FF6600;
  --xp-taskbar-1: #e55a00;
  --xp-taskbar-2: #ff7a1a;
  --xp-border: #FF6600;
}

* {
  font-family: Tahoma, "Segoe UI", system-ui, -apple-system, sans-serif;
}

.text-shadow {
  text-shadow: 1px 1px 2px black;
}

.bsod {
  background: #0000aa;
  font-family: "Lucida Console", Monaco, monospace;
}

.xp-sidebar {
  background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
  border-right: 3px solid #4299e1;
}

.xp-sidebtn {
  background: #2563eb;
  color: white;
  border-radius: 0.375rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.xp-sidebtn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 14px rgba(66, 153, 225, 0.35);
}

.start-item {
  width: 100%;
  text-align: left;
  padding: 0.35rem 0.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.start-item:hover {
  background: rgba(59, 130, 246, 0.12);
}

.start-item-right {
  width: 100%;
  text-align: left;
  padding: 0.35rem 0.5rem;
}

.start-item-right:hover {
  background: rgba(59, 130, 246, 0.35);
}

/* Boot screen (parody; no real Windows assets) */
.xp-boot {
  background: #000;
  color: #fff;
}

.xp-boot-inner {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.xp-boot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.xp-boot-logo {
  font-size: 56px;
  line-height: 1;
}

.xp-boot-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.xp-boot-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.xp-boot-quote {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.xp-boot-loader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.xp-boot-bar {
  position: relative;
  width: 260px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  overflow: hidden;
  padding: 3px;
}

.xp-boot-dot {
  position: absolute;
  top: 3px;
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: rgba(64, 156, 255, 0.95);
  box-shadow: 0 0 10px rgba(64, 156, 255, 0.35);
  animation: xpboot 1.8s linear infinite;
}

.xp-boot-dot:nth-child(1) { animation-delay: 0s; }
.xp-boot-dot:nth-child(2) { animation-delay: 0.16s; }
.xp-boot-dot:nth-child(3) { animation-delay: 0.32s; }
.xp-boot-dot:nth-child(4) { animation-delay: 0.48s; }
.xp-boot-dot:nth-child(5) { animation-delay: 0.64s; }

@keyframes xpboot {
  0% { transform: translateX(-40px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(260px); opacity: 0; }
}

.xp-boot-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
