body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: #111;
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.ball {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #444, #000);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    inset -10px -10px 30px rgba(0, 0, 0, 0.5),
    inset 10px 10px 30px rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 0.1s ease;
}

.ball.shaking {
  animation: shake 0.6s ease-in-out;
}

@keyframes shake {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  10% {
    transform: translate(-10px, -10px) rotate(-5deg);
  }

  20% {
    transform: translate(10px, 5px) rotate(5deg);
  }

  30% {
    transform: translate(-8px, 8px) rotate(-3deg);
  }

  40% {
    transform: translate(8px, -8px) rotate(3deg);
  }

  50% {
    transform: translate(-5px, 5px) rotate(-2deg);
  }

  60% {
    transform: translate(5px, -5px) rotate(2deg);
  }

  70% {
    transform: translate(-3px, 3px) rotate(-1deg);
  }

  80% {
    transform: translate(3px, -3px) rotate(1deg);
  }

  90% {
    transform: translate(-2px, 2px) rotate(-0.5deg);
  }
}

.window-8 {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

.window-8.hidden {
  opacity: 0;
}

.number-8 {
  font-size: 150px;
  font-weight: bold;
  color: #000;
  font-family: Arial, sans-serif;
}

.answer-triangle {
  position: absolute;
  width: 250px;
  height: 250px;
  background: #000;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.answer-triangle.visible {
  display: flex;
}

.blue-triangle {
  width: 170px;
  height: 140px;
  background: #0040ff;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  filter: drop-shadow(0 0 10px rgba(0, 64, 255, 0.8));
  margin-top: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.answer-triangle.visible {
  display: flex;
}

.answer-text {
  width: 175px;
  text-align: center;
  color: white;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding-top: 15%;
}

.button {
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: #2a2727;
  border: 3px solid #444;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.shiny-point {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #0040ff;
  border-radius: 50%;
  animation: shine 5s infinite ease-in-out;
  opacity: 0;
  z-index: -4;
}

@keyframes shine {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.loadingMessage {
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
  color: white;
}
