body {
  margin: 0;
  padding: 20px;
  background: url('https://y.yarn.co/0fa0aee3-961a-44ef-b207-4d1a18b7c7f8_text.gif') center/cover fixed;
  font-family: 'Courier New', monospace;
  color: #333;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.search-section {
  margin-bottom: 20px;
}

.search-box {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

#searchInput {
  flex: 1;
  padding: 12px;
  border: 2px solid #2196F3;
  border-radius: 4px;
  font-size: 16px;
}

button {
  padding: 12px 24px;
  background: #2196F3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.result-item {
  position: relative;
  padding: 15px;
  margin: 10px 0;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ddd;
}

.preview-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #00ff00;
  z-index: 1000;
  width: 80%;
  max-width: 1000px;
}

.preview-canvas {
  width: 100%;
  height: auto;
  border: 1px solid #00ff00;
  filter: blur(5px);
  transition: filter 0.3s ease;
}

.verified .preview-canvas {
  filter: none;
}

.verify-section {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.page-guess {
  width: 100px;
  padding: 8px;
  background: black;
  border: 1px solid #00ff00;
  color: #00ff00;
  font-size: 18px;
  text-align: center;
}

.verify-btn {
  background: #00ff00;
  color: black;
  padding: 8px 20px;
  font-weight: bold;
}

.will-hunting-prompt {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.95);
  color: #00ff00;
  padding: 20px 30px;
  border-radius: 5px;
  font-size: 20px;
  opacity: 0;
  z-index: 9999;
}

.will-hunting-show {
  animation: huntingPrompt 2.5s ease-in-out forwards;
}

.memory-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
}

.flash {
  animation: flash 0.5s ease-out;
}

.blur {
  filter: blur(4px);
  user-select: none;
}

@keyframes huntingPrompt {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes flash {
  0% { opacity: 1; }
  100% { opacity: 0; }
}