body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background-color: #e0f7fa;
}

h1 {
  margin-bottom: 20px;
  color: #00796b;
}

.card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.score-container {
  font-size: 24px;
  margin-bottom: 20px;
  color: #00796b;
}

.game-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bowl {
  width: 100px;
  height: 100px;
  background-color: #ffffff;
  border: 2px solid #cccccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 0.6s;
}

.bowl:hover {
  transform: scale(1.05);
}

.bowl.flipped {
  transform: rotateY(180deg);
}

.bowl .ball {
  display: none;
  width: 60px;
  height: 60px;
  background-color: red;
  border-radius: 50%;
  position: absolute;
}

.bowl.revealed .ball {
  display: block;
}

#reset-button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

#reset-button:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .bowl {
      width: 80px;
      height: 80px;
  }

  .bowl .ball {
      width: 50px;
      height: 50px;
  }
}

@media (max-width: 480px) {
  .bowl {
      width: 60px;
      height: 60px;
  }

  .bowl .ball {
      width: 40px;
      height: 40px;
  }
}
