body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background-color: #111;
  color: #e0e0e0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.icon {
  width: 90px;
  height: 90px;
  background-color: #1e1e1e;
  border: 2px solid #333;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 255, 0, 0.2);
}

.icon-emoji {
  font-size: 28px;
}

.icon span {
  font-size: 14px;
  margin-top: 5px;
}

.window {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  width: 90%;
  max-width: 420px;
  background-color: #1a1a1a;
  border: 2px solid #444;
  border-radius: 10px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.window.active {
  display: block;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.titlebar {
  background-color: #2c2c2c;
  color: #00ff66;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  border-bottom: 1px solid #444;
  border-radius: 10px 10px 0 0;
}

.titlebar button {
  background: none;
  border: none;
  color: #f55;
  font-size: 18px;
  cursor: pointer;
}

.content {
  padding: 16px;
  font-size: 15px;
  line-height: 1.6;
}

.content a {
  color: #33ccff;
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

#terminal-output {
  font-size: 14px;
  margin-bottom: 8px;
}

#terminal-input {
  width: 100%;
  padding: 6px;
  background: #000;
  color: #0f0;
  border: 1px solid #0f0;
  font-family: monospace;
}

#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #0f0;
  font-family: monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.intro-text {
  text-align: center;
  font-size: 20px;
  white-space: pre-line;
}

.loader {
  margin-top: 15px;
  border: 4px solid #333;
  border-top: 4px solid #0f0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
