.ball {
  display: inline-block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 50% 120%, #3b3b3b, #ffffffcc 80%, #ffffff 100%);
}

.ball:before {
  content: "";
  position: absolute;
  background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  bottom: 2.5%;
  left: 5%;
  opacity: 0.6;
  height: 100%;
  width: 90%;
  -webkit-filter: blur(5px);
  z-index: 2;
}

.ball:after {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  top: 5%;
  left: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8) 14%, rgba(255, 255, 255, 0) 24%);
  -webkit-transform: translateX(-13.3px) translateY(-15px) skewX(-20deg);
  -moz-transform: translateX(-13.3px) translateY(-15px) skewX(-20deg);
  -ms-transform: translateX(-13.3px) translateY(-15px) skewX(-20deg);
  -o-transform: translateX(-13.3px) translateY(-15px) skewX(-20deg);
  transform: translateX(-13.3px) translateY(-15px) skewX(-20deg);
  -webkit-filter: blur(4px);
}

.ball .shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0) 50%);
  -webkit-transform: rotateX(90deg) translateZ(-25px);
  -moz-transform: rotateX(90deg) translateZ(-25px);
  -ms-transform: rotateX(90deg) translateZ(-25px);
  -o-transform: rotateX(90deg) translateZ(-25px);
  transform: rotateX(90deg) translateZ(-25px);
  z-index: -1;
}

.stage {
  width: 50px;
  height: 50px;
  display: inline-block;
  -webkit-perspective: 1200px;
  -moz-perspective: 1200px;
  -ms-perspective: 1200px;
  -o-perspective: 1200px;
  perspective: 1200px;
  -webkit-perspective-origin: 50% 50%;
  -moz-perspective-origin: 50% 50%;
  -ms-perspective-origin: 50% 50%;
  -o-perspective-origin: 50% 50%;
  perspective-origin: 50% 50%;
}

.lottonum {
  width: 24px;
  height: 24px;
  margin: 26%;
  background: white;
  border-radius: 50%;
  position: absolute;
}

.lottonum:before {
  display: block;
  position: absolute;
  text-align: center;
  height: 13.3px;
  width: 16.6px;
  left: 8px;
  margin-left: -4px;
  top: 7px;
  margin-top: -4px;
  color: black;
  font-family: Arial;
  font-size: 18px;
  line-height: 20px;
}

.lottonum1 .lottonum:before {
  content: "1";
}

.lottonum2 .lottonum:before {
  content: "2";
}

.lottonum3 .lottonum:before {
  content: "3";
}

.lottonum4 .lottonum:before {
  content: "4";
}

.lottonum5 .lottonum:before {
  content: "5";
}

.lottonum6 .lottonum:before {
  content: "6";
}

.lottonum7 .lottonum:before {
  content: "7";
}

.lottonum8 .lottonum:before {
  content: "8";
}

.lottonum9 .lottonum:before {
  content: "9";
}

.lottonum10 .lottonum:before {
  content: "10";
  width: 24px;
  left: 3.3px;
}