* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at top, #ff76c6, #2b0b2f 50%, #120016);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.app {
  background: rgba(17, 5, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  width: min(520px, 100%);
  color: #fff;
  backdrop-filter: blur(10px);
}

h1 {
  margin: 0;
  font-size: 1.8rem;
}

.subtitle {
  margin-bottom: 1rem;
  color: #ffd5f2;
}

.mode {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

textarea {
  width: 100%;
  min-height: 110px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.7rem;
  color: #fff;
  resize: vertical;
  margin-bottom: 0.9rem;
}

textarea:focus {
  outline: 2px solid #ff9ede;
}

button {
  width: 100%;
  background: linear-gradient(135deg, #ff6eb6, #ffb670);
  border: none;
  border-radius: 12px;
  padding: 0.7rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.9rem;
  color: #351e2d;
}

button:hover {
  opacity: 0.95;
}

.hint {
  font-size: 0.75rem;
  color: #ffd5f2;
}

code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.signature {
  position: fixed;
  top: 10px;
  left: 15px;
  font-family: "Georgia", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #ffd700;
  opacity: 0.85;
  pointer-events: none;
}

#jumpscare {
  position: fixed;
  inset: 0;
  background: black;
  display: none;          /* nu is 'ie echt onzichtbaar */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#jumpscare img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}




