/* PINK BACKGROUND + CENTERED DESKTOP */

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #ffc0cb; /* Pink background */
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Comic Sans MS', 'Tahoma', sans-serif;
  color: #fff;
  overflow: hidden;
}

/* Container simulates a computer screen */
#pc-screen {
  width: 960px;
  height: 720px;
  background: url('glitter-wallpaper.gif') no-repeat center center;
  background-size: cover;
  box-shadow: 0 0 30px hotpink;
  border: 4px solid white;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

/* Desktop content inside the screen */
#desktop {
  position: relative;
  width: 100%;
  height: calc(100% - 30px); /* leave space for taskbar */
}

.icon {
  position: absolute;
  text-align: center;
  width: 64px;
  color: white;
  text-shadow: 1px 1px #ff69b4;
  cursor: pointer;
}

.icon img {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(1px 1px 2px hotpink);
}

.window {
  position: absolute;
  width: 300px;
  border: 2px solid #ffb6c1;
  box-shadow: 4px 4px #f08080;
  background-color: #ffe4e1;
}

.title-bar {
  background: linear-gradient(to right, #ff69b4, #ffc0cb);
  color: white;
  padding: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  font-weight: bold;
  text-shadow: 1px 1px #c71585;
}

.window-controls button {
  margin-left: 4px;
  font-size: 12px;
  background-color: #ffc0cb;
  border: 1px solid #ff69b4;
  color: #8b008b;
  cursor: pointer;
}

.window-content {
  padding: 10px;
  background: white;
  color: hotpink;
  font-size: 14px;
}

#taskbar {
  height: 30px;
  background: linear-gradient(to right, #ff69b4, #ffb6c1);
  border-top: 2px solid #ff1493;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

#start-button {
  background-color: #ff69b4;
  color: white;
  padding: 4px 10px;
  border: 2px outset #ffc0cb;
  cursor: pointer;
  font-weight: bold;
  text-shadow: 1px 1px #c71585;
}

#taskbar-clock {
  font-size: 12px;
  color: white;
}

/* 📱 Make it responsive for phones */
@media (max-width: 1024px) {
  #pc-screen {
    width: 90vw;
    height: 70vh;
    font-size: 12px;
  }

  .window {
    width: 80%;
    left: 10%;
  }

  .icon {
    transform: scale(0.8);
  }
}

