body {
  font-family: 'Courier New', monospace;
  text-align: center;
  padding: 40px 20px;
  margin: 0;
  background-color: var(--bg-color, #ffffff);
  color: var(--text-color, #000000);
}

/* Headings */
h1 {
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 1px 1px white;
}

/* Buttons */
button {
  background-color: #e0e0e0;
  border: 2px solid #fff;
  border-right-color: #000;
  border-bottom-color: #000;
  font-size: 16px;
  padding: 10px 20px;
  font-family: inherit;
  box-shadow: inset -2px -2px #808080;
  cursor: pointer;
  margin-top: 20px;
}

button:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
  box-shadow: none;
}

button:active:not(:disabled) {
  box-shadow: inset 2px 2px #808080;
  border: 2px solid #000;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

/* Image container */
#image-container {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  border: 2px solid #000;
}

/* Images */
#image-placeholder,
#actual-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

#image-placeholder {
  z-index: 1;
  object-fit: contain;
}

#actual-image {
  z-index: 2;
}

/* CAPTCHA widget */
.cf-turnstile {
  margin: 20px auto;
}

/* Responsive adjustments */
@media (max-width: 400px) {
  h1 {
    font-size: 24px;
  }

  button {
    font-size: 14px;
    padding: 8px 16px;
  }
}
