:root 
{
  --bg-dark: #1543ae;
  --taskbar-bg: rgba(12, 24, 51, 0.85);
  --window-bg: #1f2c41;
  --window-header: #334155;
  --accent: #38bdf8;
  --accent-hover: #17adf2;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: #3f4a59;
}

* 
{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body, html 
{
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
}

#bios-screen 
{
  position: fixed;
  inset: 0;
  background: #030803;
  color: #3ad11b;
  font-family: "Courier New", Courier, monospace;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 9999;
  box-shadow: inset 0 0 100px rgba(8, 0, 0, 0.9);
}

.bios-header 
{
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
  text-shadow: 0 0 5px rgba(63, 251, 25, 0.6);
}

.bios-puzzle-box 
{
  background: rgba(0, 50, 0, 0.3);
  border: 2px dashed #42fc1d;
  padding: 24px;
  max-width: 520px;
  margin: 20px auto;
  text-align: center;
  border-radius: 8px;
}

.bios-instruction 
{
  font-size: 13px;
  margin-bottom: 12px;
}

.puzzle-tiles 
{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.bios-actions 
{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.bios-btn 
{
  background: #173017;
  border: 1px solid #41f41d;
  color: #44f521;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.15s ease;
  font-family: inherit;
}

.bios-btn:hover 
{
  background: #43f91e;
  color: #000;
}

.bypass-btn
 {
  border-color: #797777;
  color: #6d6d6d;
}

.bios-footer 
{
  font-size: 12px;
  color: #33951b;
}

#desktop 
{
  display: none;
  position: relative;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 20% 20%, #1e1b4b 0%, #0f172a 100%);
  overflow: hidden;
}

.desktop-icons {

  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: repeat(1, 90px);
  gap: 20px;
}

.icon 
{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.2s;
}

.icon:hover 
{
  background: rgba(179, 179, 179, 0.1);
}

.icon-img 
{
  font-size: 36px;
}

.icon-label 
{
  color: var(--text);
  font-size: 12px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.882);
}

.window 
{
  position: absolute;
  min-width: 320px;
  min-height: 240px;
  background: var(--window-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.525);
  overflow: hidden;
}

.window-header 
{
  background: var(--window-header);
  padding: 8px 12px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: grab;
  font-size: 13px;
  font-weight: 600;
}

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

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

.win-btn 
{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.btn-close 
{
   background: #b42424; 
  }

.window-body 
{
  padding: 16px;
  color: var(--text);
  flex: 1;
  overflow-y: auto;
  font-size: 14px;
}

.window-body.no-pad 
{ 
  padding: 0; 
}
.text-center 
{ 
  text-align: center; 
}
.hint-text 
{ 
  font-size: 12px;
   color: var(--text-muted); 
  }
.mt-2 
{ 
  margin-top: 8px; }
.mt-4 
{ 
  margin-top: 14px; 
}

#taskbar 
{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--taskbar-bg);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  z-index: 1000;
}

.taskbar-left, .taskbar-right 
{
  display: flex;
  align-items: center;
  gap: 8px;
}

#task-buttons 
{
  display: flex;
  gap: 6px;
}

.start-btn 
{
  background: var(--accent);
  color: #101b33;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.start-btn:hover 
{
  background: var(--accent-hover);
}

.task-item 
{
  background: rgba(150, 150, 150, 0.197);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

.task-item.active 
{
  background: rgba(52, 190, 249, 0.2);
  border-color: var(--accent);
}

#clock-widget 
{
  color: var(--text);
  font-size: 12px;
  text-align: right;
  line-height: 1.3;
}

#clock-date 
{
  color: var(--text-muted);
  font-size: 10px;
}

.action-btn 
{
  margin-top: 15px;
  background: var(--accent);
  color: #000000f5;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.notepad-area 
{
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  padding: 12px;
  color: var(--text);
  resize: none;
  outline: none;
}

.ram-label 
{
  font-size: 12px;
  margin-bottom: 4px;
}

.progress-bar 
{
  height: 8px;
  background: #334155;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill 
{
  width: 28%;
  height: 100%;
  background: var(--accent);
}

.grid-3x3 
{
  display: grid;
  grid-template-columns: repeat(3, 70px);
  grid-template-rows: repeat(3, 70px);
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}

.tile 
{
  background: var(--accent);
  color: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.tile.empty 
{
  background: rgba(130, 130, 130, 0.127);
  cursor: default;
}

.memory-grid 
{
  display: grid;
  grid-template-columns: repeat(4, 55px);
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.card-tile 
{
  width: 55px;
  height: 55px;
  background: #334258;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
}

.card-tile.revealed 
{ 
  background: var(--accent); 
}
.card-tile.matched 
{ 
  background: #19c458; cursor: default; 
}