* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: Georgia, serif;
  background: radial-gradient(circle at top, #1b1035 0%, #0a0618 70%);
  color: #e8e2ff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #b39dff;
  margin-bottom: 10px;
  text-align: center;
}

.intro {
  max-width: 620px;
  text-align: center;
  font-style: italic;
  opacity: .85;
  margin-bottom: 40px;
}

/* Verborgen klikbare aanwijzingen */
.hints {
  display: flex;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
  font-style: italic;
  opacity: .85;
}

.hint {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  cursor: pointer;
  user-select: none;
  background: rgba(109, 74, 255, .08);
  border: 1px solid rgba(179, 157, 255, .25);
  transition: transform .3s, box-shadow .3s;
  animation: pulse 2.5s infinite ease-in-out;
}

.hint:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(109, 74, 255, .6);
}

.hint.found {
  animation: none;
  border-color: #b39dff;
  box-shadow: 0 0 18px rgba(109, 74, 255, .7);
  cursor: default;
  opacity: .95;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(109, 74, 255, .3);
  }

  50% {
    box-shadow: 0 0 20px rgba(109, 74, 255, .6);
  }
}

/* Aanwijzingskaarten */
.clue-card {
  max-width: 560px;
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border-left: 3px solid #b39dff;
  padding: 18px 22px;
  margin: 12px 0;
  border-radius: 0 10px 10px 0;
  display: none;
  font-style: italic;
  line-height: 1.6;
}

.clue-card.visible {
  display: block;
  animation: fadein .6s;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Slot */
.lock {
  margin-top: 30px;
  text-align: center;
  border: 1px solid rgba(179, 157, 255, .35);
  border-radius: 14px;
  padding: 30px 26px;
  max-width: 480px;
  width: 100%;
  background: rgba(109, 74, 255, .06);
  margin: 30px auto 0;
  /* i.p.v. margin-top: 30px */

}

.lock input {
  font-size: 2rem;
  width: 120px;
  text-align: center;
  background: #0a0618;
  color: #fff;
  border: 2px solid rgba(179, 157, 255, .4);
  border-radius: 10px;
  padding: 8px;
  outline: none;
  letter-spacing: 8px;
}

.lock input:focus {
  border-color: #b39dff;
  box-shadow: 0 0 15px rgba(109, 74, 255, .5);
}

.lock button {
  display: block;
  margin: 18px auto 0;
  padding: 10px 34px;
  background: #6d4aff;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 1px;
}

.lock button:hover {
  background: #8468ff;
}

#feedback {
  margin-top: 14px;
  min-height: 24px;
  font-size: .95rem;
}

.wrong {
  color: #ff8f8f;
}

.shake {
  animation: shake .4s;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0)
  }

  25% {
    transform: translateX(-6px)
  }

  75% {
    transform: translateX(6px)
  }
}

/* Succes */
.success {
  display: none;
  margin-top: 30px;
  text-align: center;
}

.success.show {
  display: block;
  animation: fadein 1s;
}

.success .number {
  font-size: 5rem;
  color: #fff;
  text-shadow: 0 0 30px #6d4aff, 0 0 60px #6d4aff;
}

footer {
  margin-top: 60px;
  font-size: .8rem;
  opacity: .4;
  text-align: center;
}