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

html, body {
  width: 100%;
  height: 100%;
  transition: background-color 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hauptseite */
.container {
  padding: 20px;
}

.card {
  display: flex;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 800px;
}

.card-left {
  background: linear-gradient(135deg, #d4a574 0%, #8b5a2b 100%);
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
}

.logo {
  font-size: 120px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.card-right {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, #fff 0%, #fdf6f0 100%);
}

.card-right h1 {
  font-size: 2.5rem;
  color: #333;
}

.card-right p {
  color: #666;
  font-size: 1.1rem;
}

/* Button Row */
.button-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-secondary {
  padding: 16px 24px;
  background: white !important;
  color: #8b5a2b !important;
  border: 2px solid #d4a574 !important;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: #fdf6f0 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 90, 43, 0.15);
}

/* Multi-Monitor Tipp */
.multi-monitor-tip {
  border-top: 1px solid #eee;
  padding-top: 16px;
}

.multi-monitor-tip p {
  font-size: 0.85rem !important;
  color: #999 !important;
  line-height: 1.6;
}

.multi-monitor-tip kbd {
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 1px 6px;
  font-family: monospace;
  font-size: 0.85em;
}

input,
select {
  padding: 16px 20px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

input:focus,
select:focus {
  outline: none;
  border-color: #d4a574;
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}

button {
  padding: 16px 40px;
  background: linear-gradient(135deg, #d4a574 0%, #8b5a2b 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 90, 43, 0.3);
}

/* Fullscreen Prank Screens */
.fullscreen-prank {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  cursor: none;
}

.hidden {
  display: none !important;
}

/* ===========================
   Slave Waiting Screen
   =========================== */
#slave-waiting {
  background: #1a1a2e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.slave-waiting-content {
  text-align: center;
  max-width: 500px;
}

.slave-icon {
  font-size: 64px;
  margin-bottom: 30px;
}

.slave-waiting-content h1 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: #fff;
}

.slave-waiting-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  line-height: 1.6;
}

.slave-waiting-content kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: monospace;
  font-size: 0.9em;
  color: #fff;
}

.slave-fullscreen-btn {
  margin-top: 28px;
  padding: 14px 36px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 10px !important;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slave-fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.slave-status {
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 0.9rem !important;
  margin-top: 30px !important;
}

.slave-pulse {
  width: 12px;
  height: 12px;
  background: #4caf50;
  border-radius: 50%;
  margin: 20px auto 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ===========================
   Blue Screen of Death
   =========================== */
#bsod-screen {
  background: #0078d7;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10%;
}

.bsod-content {
  max-width: 900px;
}

.sad-face {
  font-size: 140px;
  font-weight: 100;
  margin-bottom: 30px;
}

.bsod-content h1 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.4;
}

.bsod-content p {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.progress-container {
  font-size: 1.2rem;
  margin: 40px 0;
}

.qr-section {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 50px;
}

.qr-code {
  width: 100px;
  height: 100px;
  background: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect fill='%23000' x='10' y='10' width='20' height='20'/%3E%3Crect fill='%23000' x='40' y='10' width='10' height='10'/%3E%3Crect fill='%23000' x='70' y='10' width='20' height='20'/%3E%3Crect fill='%23000' x='10' y='40' width='10' height='10'/%3E%3Crect fill='%23000' x='30' y='40' width='10' height='10'/%3E%3Crect fill='%23000' x='50' y='40' width='10' height='10'/%3E%3Crect fill='%23000' x='70' y='40' width='10' height='10'/%3E%3Crect fill='%23000' x='10' y='70' width='20' height='20'/%3E%3Crect fill='%23000' x='40' y='70' width='20' height='10'/%3E%3Crect fill='%23000' x='70' y='70' width='20' height='20'/%3E%3C/svg%3E");
  flex-shrink: 0;
}

.qr-text {
  font-size: 0.85rem;
}

.qr-text .url {
  color: #cce5ff;
  text-decoration: underline;
}

.stop-code {
  margin-top: 20px;
}

.cause {
  color: #cce5ff;
}

/* Hidden prank messages */
.hidden-message {
  font-size: 0.75rem;
  margin-top: 15px;
  letter-spacing: 0.5px;
}

#bsod-hidden {
  color: #6ab0e8;
  opacity: 0.6;
}

#update-hidden {
  color: #888;
  opacity: 0.7;
  margin-top: 60px;
  font-size: 0.8rem;
}

#macos-hidden {
  color: #555;
  opacity: 0.5;
  margin-top: 40px;
  font-size: 0.75rem;
}

/* ===========================
   Windows Update Screen
   =========================== */
#update-screen {
  background: #000;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.update-content {
  text-align: center;
}

.update-logo {
  margin-bottom: 40px;
}

.update-content h1 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 20px;
}

.update-content p {
  font-size: 1.5rem;
  font-weight: 300;
}

.update-warning {
  margin-top: 30px;
  font-size: 1.2rem !important;
  opacity: 0.8;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #0078d4;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  margin: 40px auto 0;
}

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

/* ===========================
   macOS Update Screen
   =========================== */
#macos-screen {
  background: #000;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.macos-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.apple-logo {
  margin-bottom: 50px;
  opacity: 0.95;
}

.macos-title {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: #fff;
}

.macos-progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.macos-progress-bar {
  width: 280px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.macos-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.macos-time {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: -0.01em;
}

.macos-warning {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 40px;
}

/* ===========================
   Prank Reveal Message
   =========================== */
.prank-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 50px 60px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: popIn 0.5s ease;
  cursor: default;
}

@keyframes popIn {
  0% { transform: translate(-50%, -50%) scale(0); }
  70% { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.prank-message h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.prank-message p {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 15px;
}

.prank-message .tip {
  font-size: 1rem;
  color: #888;
  margin-top: 30px;
}

.prank-message button {
  margin-top: 30px;
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
  }

  .card-left {
    min-width: auto;
    padding: 40px;
  }

  .logo {
    font-size: 80px;
  }

  .card-right {
    padding: 40px 30px;
  }

  .button-row {
    flex-direction: column;
  }

  .sad-face {
    font-size: 80px;
  }

  .bsod-content h1 {
    font-size: 1.2rem;
  }

  .qr-section {
    flex-direction: column;
  }

  .macos-progress-bar {
    width: 220px;
  }
}
