body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  overflow: hidden;
}

.container {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.settings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.setting-group {
  text-align: center;
}

.setting-group select {
  margin-left: 0.5rem;
  padding: 0.3rem;
  border-radius: 4px;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:nth-child(1) {
  background-color: #ff4444;
  color: white;
}

button:nth-child(2) {
  background-color: #ffbb33;
  color: white;
}

button:nth-child(3) {
  background-color: #00C851;
  color: white;
}

button:nth-child(4) {
  background-color: #33b5e5;
  color: white;
}

.key-hint {
  text-align: center;
  margin-top: 1.5rem;
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

/* Windows styles */
.window {
  position: fixed;
  background: #fff;
  min-width: 250px;
  pointer-events: none;
  z-index: 9999;
}

.window[data-placed="true"] {
  pointer-events: auto;
  transition: transform 0.2s ease-out;
}

.window[data-placed="false"] {
  transition: none;
}

/* Windows 98 Style */
.win98 {
  border: 2px solid #c0c0c0;
  box-shadow: 1px 1px 0 #000;
}

.win98 .title-bar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: white;
  padding: 3px 5px;
  font-weight: bold;
  font-size: 12px;
}

.win98 .content {
  padding: 10px;
  background: #c0c0c0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Windows 7 Aero Style */
.win7 {
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.win7 .title-bar {
  background: linear-gradient(180deg, #ffffff 0%, #d4d4d4 100%);
  color: #333;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 13px;
  border-bottom: 1px solid #999;
}

.win7 .content {
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Windows 11 Style */
.win11 {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.win11 .title-bar {
  background: transparent;
  color: #333;
  padding: 8px 15px;
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.win11 .content {
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.window-icon {
  width: 32px;
  height: 32px;
}

.window.static {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%);
}

.window.slide {
  left: 0 !important;
  animation: slideDown 1s forwards;
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translate(20px, -100%);
  }
  100% {
    opacity: 1;
    transform: translate(20px, var(--final-y));
  }
}

/* Windows 10 Taskbar */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(180deg, #3c3c3c 0%, #2d2d2d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  z-index: 10000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.taskbar-start {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.taskbar-start:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.start-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(45deg, #00bcf2, #0078d4);
  border-radius: 2px;
  position: relative;
}

.start-icon::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 1px;
}

.taskbar-apps {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}

.taskbar-app {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.taskbar-app:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.taskbar-app.active {
  background-color: rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid #00bcf2;
}

.taskbar-app-icon {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
}

.taskbar-right {
  display: flex;
  align-items: center;
  padding-right: 8px;
}

.taskbar-time {
  color: white;
  font-size: 12px;
  padding: 0 12px;
  cursor: pointer;
  transition: background-color 0.2s;
  height: 48px;
  display: flex;
  align-items: center;
}

.taskbar-time:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.taskbar-notifications {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

/* Adjust container to account for taskbar */
body {
  padding-bottom: 48px;
}

@keyframes slideUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

.taskbar {
  animation: slideUp 0.3s ease-out;
}

/* Fake BSOD */
.bsod {
  position: fixed;
  inset: 0;
  background: #0066cc;
  color: white;
  font-family: "Segoe UI", Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.bsod-content {
  max-width: 600px;
  padding: 2rem;
}

.bsod-header {
  font-size: 8rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.bsod-message {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.bsod-progress {
  font-size: 1rem;
  opacity: 0.9;
}

/* Fake Windows Update Screen */
.fake-update {
  position: fixed;
  inset: 0;
  background: #0078d4;
  color: white;
  font-family: "Segoe UI", Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.update-content {
  text-align: center;
  max-width: 500px;
  padding: 2rem;
}

.update-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 2rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.update-title {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.update-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.update-message {
  font-size: 1rem;
  opacity: 0.9;
}