@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #050505;
  color: #ff1e1e;
  font-family: 'Share Tech Mono', monospace;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

#desktop {
  width: 100vw;
  height: calc(100vh - 40px);
  background: radial-gradient(circle at center, #120303 0%, #030000 100%);
  position: relative;
  padding: 20px;
}

/* Desktop Icons Grid */
.desktop-icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  top: 20px;
  left: 20px;
}

.icon {
  width: 80px;
  text-align: center;
  cursor: pointer;
  padding: 8px;
  border: 1px solid transparent;
}

.icon:hover {
  background: rgba(255, 30, 30, 0.08);
  border: 1px dashed #ff1e1e;
}

.icon-symbol {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 4px;
}

.icon-label {
  font-size: 0.8rem;
  color: #cc2222;
}

/* Window System */
.window {
  width: 480px;
  background: #0a0a0a;
  border: 2px solid #ff1e1e;
  box-shadow: 0 5px 25px rgba(255, 0, 0, 0.15);
  position: absolute;
  z-index: 10;
}

.window.hidden {
  display: none;
}

.window-header {
  background: #ff1e1e;
  color: #0a0a0a;
  padding: 6px 12px;
  font-size: 0.95rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: grab;
  letter-spacing: 1px;
}

.close-btn {
  cursor: pointer;
  background: #0a0a0a;
  color: #ff1e1e;
  padding: 0 5px;
  font-size: 0.85rem;
}

.close-btn:hover {
  background: #fff;
  color: #000;
}

.window-body {
  padding: 15px;
  height: 240px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.5;
}

.window-body p {
  margin-bottom: 6px;
}

.file-item {
  cursor: pointer;
  padding: 4px;
}
.file-item:hover {
  background: rgba(255, 30, 30, 0.15);
}

.window-footer {
  border-top: 1px solid #330a0a;
  padding: 8px 12px;
  background: #050202;
}

.input-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt {
  color: #ff1e1e;
  font-weight: bold;
}

#terminal-input {
  background: transparent;
  border: none;
  color: #ff4d4d;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.95rem;
  outline: none;
  width: 100%;
}

/* Taskbar */
#taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 40px;
  background: #030000;
  border-top: 2px solid #ff1e1e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  z-index: 999;
}

.taskbar-start {
  background: #ff1e1e;
  color: #030000;
  padding: 4px 12px;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.taskbar-clock {
  color: #ff4d4d;
  font-size: 0.95rem;
}