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

body {
  background: #0d0d1a;
  height: 100vh;
  overflow: hidden;
  font-family: Arial, sans-serif;
  color: white;
}

.desktop {
  width: 100%;
  height: 100%;
  position: relative;
  background: radial-gradient(ellipse at center, #1a1a3e 0%, #0d0d1a 100%);
}

.taskbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 40px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 9999;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.os-name {
  font-weight: bold;
  color: #a78bfa;
  font-size: 15px;
}

#clock {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.window {
  position: absolute;
  width: 300px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  overflow: hidden;
  min-height: 150px;
}

.title-bar {
  background: rgba(167,139,250,0.3);
  color: white;
  padding: 8px 12px;
  cursor: grab;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  user-select: none;
}

.title-bar:active { cursor: grabbing; }

.close-btn {
  background: #ff5f57;
  border: none;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 10px;
  font-weight: bold;
  line-height: 18px;
  text-align: center;
  padding: 0;
}

.content {
  padding: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.content h2 { font-size: 15px; margin-bottom: 6px; color: #a78bfa; }
.content p { line-height: 1.5; font-size: 13px; }

textarea {
  width: 100%;
  height: 120px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: white;
  padding: 8px;
  font-size: 13px;
  resize: none;
  outline: none;
}

#calc-display {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: white;
  padding: 8px;
  font-size: 16px;
  text-align: right;
  margin-bottom: 8px;
  outline: none;
}

.calc-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.calc-buttons button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: white;
  padding: 8px;
  cursor: pointer;
  font-size: 14px;
}

.calc-buttons button:hover {
  background: rgba(167,139,250,0.3);
}
