body {
  margin: 0;
  font-family: 'Courier New', monospace;
  background: radial-gradient(circle at center, #202020, #0e0e0e);
  color: #f1f1f1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 10px;
}

#container {
  width: 100%;
  max-width: 540px;
  background-color: #151515;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

h1 {
  text-align: center;
  font-size: 1.6em;
  margin-bottom: 12px;
  text-shadow: 0 0 8px #000;
}

#status {
  text-align: center;
  font-style: italic;
  margin-bottom: 16px;
  color: #bbb;
}

#memoryLog {
  background-color: #1b1b1b;
  border: 1px solid #444;
  padding: 14px;
  min-height: 120px;
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.95em;
  white-space: pre-line;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
  animation: fadein 0.6s ease;
}

#interaction {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#interaction input {
  padding: 12px;
  font-size: 1em;
  border: 1px solid #333;
  background: #111;
  color: #f1f1f1;
  border-radius: 8px;
  transition: border 0.2s ease;
}

#interaction input:focus {
  border-color: #888;
  outline: none;
}

#interaction button {
  padding: 12px;
  font-size: 1em;
  background: #252525;
  border: 1px solid #444;
  color: #f1f1f1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#interaction button:hover {
  background: #333;
  transform: scale(1.015);
}

#interaction button:active {
  transform: scale(0.98);
}

button:disabled {
  background-color: #444;
  cursor: not-allowed;
  opacity: 0.6;
}

#container::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 80%);
  transform: translateX(-50%);
  z-index: 0;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
