:root {
  --desktop-bg: #008080;
  --window-bg: #c0c0c0;
  --text: #111111;
  --title-bg: #000080;
  --title-text: #ffffff;
  --shadow-dark: #7f7f7f;
  --shadow-light: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "MS Sans Serif", "Tahoma", "Geneva", sans-serif;
  background: var(--desktop-bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.desktop {
  flex: 1;
  padding: 24px 24px 72px;
  display: grid;
  gap: 20px;
  grid-template-columns: 120px minmax(280px, 760px);
  align-items: start;
}

.icons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  text-align: center;
}

.icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3d86ff, #1f4ec0);
  border: 2px solid #dce8ff;
}

.icon.folder {
  background: linear-gradient(180deg, #ffdc5e, #d4a422);
  border-color: #fff0b6;
}

.window {
  background: var(--window-bg);
  border: 2px solid var(--shadow-light);
  border-right-color: var(--shadow-dark);
  border-bottom-color: var(--shadow-dark);
  box-shadow: 2px 2px 0 #00000055;
}

.title-bar {
  height: 34px;
  background: var(--title-bg);
  color: var(--title-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
}

.title-bar h1 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.window-controls {
  display: flex;
  gap: 4px;
  font-family: monospace;
}

.window-controls span {
  width: 24px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--window-bg);
  color: #000000;
  border: 1px solid var(--shadow-light);
  border-right-color: var(--shadow-dark);
  border-bottom-color: var(--shadow-dark);
}

.window-content {
  padding: 16px;
  line-height: 1.45;
}

.window-content h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
}

.window-content ul {
  margin: 0;
  padding-left: 20px;
}

.window-content a {
  color: #000080;
  font-weight: 700;
}

.taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: var(--window-bg);
  border-top: 2px solid var(--shadow-light);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
}

.start-button {
  font-family: inherit;
  font-weight: 700;
  padding: 6px 14px;
  border: 2px solid var(--shadow-light);
  border-right-color: var(--shadow-dark);
  border-bottom-color: var(--shadow-dark);
  background: var(--window-bg);
  cursor: pointer;
}

.taskbar-title {
  background: #b5b5b5;
  border: 1px solid #8c8c8c;
  padding: 6px 10px;
  font-size: 0.86rem;
}

.taskbar-clock {
  margin-left: auto;
  background: #b5b5b5;
  border: 1px solid #8c8c8c;
  padding: 6px 10px;
  min-width: 74px;
  text-align: center;
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .desktop {
    grid-template-columns: 1fr;
    padding: 16px 16px 72px;
  }

  .icons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .icon-link {
    width: 110px;
  }
}
