.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.win-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 380px;
  height: 412px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  overflow: hidden;
  font-family: "balooThambi";
  font-weight: 700;
}

.win-modal-title {
  font-size: 31px;
  background: url(../assets/modalArtBG.png),
    url(../assets/modalArtIllustration.png);
  background-repeat: no-repeat;
  background-size: 100%;
  color: #00a4e7;
  margin: 0 2rem;
  padding: 1.5rem 3rem;
}

.unlock-modal-title {
  font-size: 31px;
  background-repeat: no-repeat;
  background-size: 100%;
  color: #00a4e7;
  text-align: center;
  /* padding: 1.5rem 3rem; */
}

.win-modal-message {
  max-width: 100%;
  font-size: 20px;
  color: #333;
  text-align: center;
}

.win-button-container {
  width: 100%;
  display: flex;
  margin-top: auto;
}

.win-button-next,
.win-button-secondary {
  width: 100%;
  padding: 2vh 2vw;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.win-button-next {
  background-color: #f86509;
  color: white;
}

.win-button-next:active {
  background-color: #d25a15;
}

.win-button-secondary {
  background-color: #f0f3fa;
  color: #fe6500;
}

.win-button-next:active {
  background-color: #d25a15;
}

.win-modal-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-inline: 2.1rem;
  border: 6px solid #dee2eb;
  border-radius: 24px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
  width: 100%;
}

.unlock-coin-container:hover {
  background-color: lightgray;
}
