body {
  background-color: #2e005f;
  color: #d8b4fe;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 2em;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
header {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  user-select: none;
  text-shadow:
    0 0 5px #a78bfa,
    0 0 10px #a78bfa,
    0 0 15px #c4b5fd;
}

a {
  text-decoration: none;
  color: inherit;
}
main {
  background: #3b007a;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 0 15px #7c3aed;
  max-width: 600px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
img {
  max-width: 100%;
  height: auto;
  border: 2px solid #7c3aed;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  background: #1e0045;
}
.image-wrapper {
  position: relative;
  display: inline-block;
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #7c3aed;
  border-radius: 8px;
}

.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* or light purple for theme matching */
  font-size: 0.75rem;
  font-weight: bold;
  text-shadow: 1px 1px 2px black;
  pointer-events: none; /* So it doesn't interfere with clicks */
}
.hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #000; 
  border: 1px dashed #2e005f; 
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #000;
  min-height: 3em;
  user-select: text;
}
.hint .visible-word {
  color: white;
  font-weight: bold;
  user-select: text;
}
footer {
  margin-top: auto;
  font-size: 0.85rem;
  color: #b6a5e8;
  padding: 1rem 0 0 0;
}
a {
  color: #b8a4ff;
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  text-decoration: underline;
}
