html,body{
    height: 100%;
    padding: 0;
    margin: 0;
}
main{
    display: flex;
    height: 100%;
}
.wrap:last-child *{
    box-sizing: border-box;

}
.wrap:last-child {
    padding-top: 15%;
    /* height: 100vh; */
    background: linear-gradient(135deg, #333 10%, #000 100%);
}

.wrap {
    padding: 1em;
    flex: 1;
}

button {
    font-size: 22px;
}

.lottery-nums {
    overflow: hidden;
    width: 600px;
}

.lottery-nums>div {
    display: block;
    float: left;
    width: 25px;
    height: 25px;
    border: 1px solid #999;
    background-color: #fff;
    color: #555;
    font-size: 20px;
    padding: 10px;
    text-align: center;
    line-height: 25px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.lottery-nums .selected {
    background-color: green;
    color: #fff;
}

.lottery-nums .highlight {
    background-color: red;
    color: #fff;
}

.lottery-nums .selected.highlight {
    background-color: yellow;
    color: #333;
}


  

/* ------------------------------------------------- */

  .ball-wrap {
    width: 150px;
    height: 150px;
    background: linear-gradient(to bottom, #000 0%, #11020A 100%);
    border-radius: 50%;
    padding: 10px;
    margin: 10px auto;
    display: block;
  }
  .ball-wrap .ball-balls {
    border-radius: 50%;
    width: 130px;
    height: 130px;
    background: #00193C;
    position: relative;
    overflow: hidden;
  }
  .ball-wrap .ball-balls *:before, .ball-wrap .ball-balls *:after, .ball-wrap .ball-balls .ball-light, .ball-wrap .ball-balls .ball-dark, .ball-wrap .ball-balls .ball-sm {
    content: "";
    position: absolute;
    border-radius: 50%;
  }
  .ball-wrap .ball-balls .ball-sm {
    width: 20px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    z-index: 2;
    transform: rotate(320deg);
    top: 15%;
    left: 15%;
  }
  .ball-wrap .ball-balls .ball-digital {
    width: 100px;
    position: relative;
    margin: 0 auto;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 0;
    text-align: center;
    left: 0;
  }
  .ball-wrap .ball-balls .ball-digital li {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    border: 3px solid #fff;
    margin: 15px 0;
    display: block;
    padding: 7px;
  }
  .ball-wrap .ball-balls .ball-digital li span {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    background: #fff;
    font-size: 50px;
    display: block;
    font-weight: 800;
    line-height: 80px;
  }
  .ball-wrap .ball-balls .ball-light {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  .ball-wrap .ball-balls .ball-light:before {
    top: 0;
    right: -10px;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0px, rgba(132, 254, 254, 0.6), rgba(132, 254, 254, 0) 58%);
    filter: blur(5px);
  }
  .ball-wrap .ball-balls .ball-light:after {
    top: 3px;
    left: 3px;
    width: 90%;
    height: 90%;
    background-image: linear-gradient(-180deg, rgba(44, 254, 219, 0.6) 10%, rgba(44, 254, 219, 0) 50%);
    transform: rotate(320deg);
    filter: blur(2px);
  }
  .ball-wrap .ball-balls .ball-dark {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
  .ball-wrap .ball-balls .ball-dark:before {
    bottom: 2px;
    left: 2px;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle at 100% 0px, rgba(252, 22, 136, 0.6), rgba(252, 22, 136, 0) 60%);
    filter: blur(3px);
    transform: rotate(150deg);
  }
  .ball-wrap .ball-balls .ball-dark:after {
    bottom: -10px;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0px, #fd58e7, rgba(253, 88, 231, 0) 50%);
    filter: blur(5px);
    transform: rotate(90deg);
  }
  .ball-wrap .ball-balls .ball-ani {
    -webkit-animation: ball-0 0.5s both, ball-1 1s 1.5s, ball-2 1s 2.5s, ball-3 1s 3.5s, ball-4 1s 4.5s, ball-5 1s 5.5s, ball-6 1s 6.5s, ball-7 1s 7.5s, ball-8 1s 8.5s, ball-9 1s 9.5s, ball-10 1s 10.5s, ball-11 1s 11.5s, ball-12 1s 12.5s, ball-13 1s 13.5s, ball-14 1s 14.5s, ball-15 1s 15.5s, ball-16 1s 16.5s, ball-17 1s 17.5s, ball-18 1s 18.5s, ball-19 1s 19.5s, ball-20 1s 20.5s, ball-21 1s 21.5s, ball-22 1s 22.5s, ball-23 1s 23.5s, ball-26 1s 26.5s, ball-25 1s 25.5s, ball-24 1s 24.5s, ball-27 1s 27.5s, ball-28 1s 28.5s, ball-29 1s 29.5s, ball-30 1s 30.5s, ball-31 1s 31.5s, ball-32 1s 32.5s, ball-33 1s 33.5s, ball-34 1s 34.5s, ball-35 1s 35.5s, ball-36 1s 36.5s, ball-37 1s 37.5s, ball-38 1s 38.5s, ball-39 0.5s 39s;
            animation: ball-0 0.5s both, ball-1 1s 1.5s, ball-2 1s 2.5s, ball-3 1s 3.5s, ball-4 1s 4.5s, ball-5 1s 5.5s, ball-6 1s 6.5s, ball-7 1s 7.5s, ball-8 1s 8.5s, ball-9 1s 9.5s, ball-10 1s 10.5s, ball-11 1s 11.5s, ball-12 1s 12.5s, ball-13 1s 13.5s, ball-14 1s 14.5s, ball-15 1s 15.5s, ball-16 1s 16.5s, ball-17 1s 17.5s, ball-18 1s 18.5s, ball-19 1s 19.5s, ball-20 1s 20.5s, ball-21 1s 21.5s, ball-22 1s 22.5s, ball-23 1s 23.5s, ball-26 1s 26.5s, ball-25 1s 25.5s, ball-24 1s 24.5s, ball-27 1s 27.5s, ball-28 1s 28.5s, ball-29 1s 29.5s, ball-30 1s 30.5s, ball-31 1s 31.5s, ball-32 1s 32.5s, ball-33 1s 33.5s, ball-34 1s 34.5s, ball-35 1s 35.5s, ball-36 1s 36.5s, ball-37 1s 37.5s, ball-38 1s 38.5s, ball-39 0.5s 39s;
  }
  @-webkit-keyframes ball-0 {
    0% {
      top: 115px;
    }
    80%, 100% {
      top: 0px;
    }
  }
  @keyframes ball-0 {
    0% {
      top: 115px;
    }
    80%, 100% {
      top: 0px;
    }
  }
  @-webkit-keyframes ball-1 {
    0% {
      top: 0px;
    }
    80%, 100% {
      top: -115px;
    }
  }
  @keyframes ball-1 {
    0% {
      top: 0px;
    }
    80%, 100% {
      top: -115px;
    }
  }
  @-webkit-keyframes ball-2 {
    0% {
      top: -115px;
    }
    80%, 100% {
      top: -230px;
    }
  }
  @keyframes ball-2 {
    0% {
      top: -115px;
    }
    80%, 100% {
      top: -230px;
    }
  }
  @-webkit-keyframes ball-3 {
    0% {
      top: -230px;
    }
    80%, 100% {
      top: -345px;
    }
  }
  @keyframes ball-3 {
    0% {
      top: -230px;
    }
    80%, 100% {
      top: -345px;
    }
  }
  @-webkit-keyframes ball-4 {
    0% {
      top: -345px;
    }
    80%, 100% {
      top: -460px;
    }
  }
  @keyframes ball-4 {
    0% {
      top: -345px;
    }
    80%, 100% {
      top: -460px;
    }
  }
  @-webkit-keyframes ball-5 {
    0% {
      top: -460px;
    }
    80%, 100% {
      top: -575px;
    }
  }
  @keyframes ball-5 {
    0% {
      top: -460px;
    }
    80%, 100% {
      top: -575px;
    }
  }
  @-webkit-keyframes ball-6 {
    0% {
      top: -575px;
    }
    80%, 100% {
      top: -690px;
    }
  }
  @keyframes ball-6 {
    0% {
      top: -575px;
    }
    80%, 100% {
      top: -690px;
    }
  }
  @-webkit-keyframes ball-7 {
    0% {
      top: -690px;
    }
    80%, 100% {
      top: -805px;
    }
  }
  @keyframes ball-7 {
    0% {
      top: -690px;
    }
    80%, 100% {
      top: -805px;
    }
  }
  @-webkit-keyframes ball-8 {
    0% {
      top: -805px;
    }
    80%, 100% {
      top: -920px;
    }
  }
  @keyframes ball-8 {
    0% {
      top: -805px;
    }
    80%, 100% {
      top: -920px;
    }
  }
  @-webkit-keyframes ball-9 {
    0% {
      top: -920px;
    }
    80%, 100% {
      top: -1035px;
    }
  }
  @keyframes ball-9 {
    0% {
      top: -920px;
    }
    80%, 100% {
      top: -1035px;
    }
  }
  @-webkit-keyframes ball-10 {
    0% {
      top: -1035px;
    }
    80%, 100% {
      top: -1150px;
    }
  }
  @keyframes ball-10 {
    0% {
      top: -1035px;
    }
    80%, 100% {
      top: -1150px;
    }
  }
  @-webkit-keyframes ball-11 {
    0% {
      top: -1150px;
    }
    80%, 100% {
      top: -1265px;
    }
  }
  @keyframes ball-11 {
    0% {
      top: -1150px;
    }
    80%, 100% {
      top: -1265px;
    }
  }
  @-webkit-keyframes ball-12 {
    0% {
      top: -1265px;
    }
    80%, 100% {
      top: -1380px;
    }
  }
  @keyframes ball-12 {
    0% {
      top: -1265px;
    }
    80%, 100% {
      top: -1380px;
    }
  }
  @-webkit-keyframes ball-13 {
    0% {
      top: -1380px;
    }
    80%, 100% {
      top: -1495px;
    }
  }
  @keyframes ball-13 {
    0% {
      top: -1380px;
    }
    80%, 100% {
      top: -1495px;
    }
  }
  @-webkit-keyframes ball-14 {
    0% {
      top: -1495px;
    }
    80%, 100% {
      top: -1610px;
    }
  }
  @keyframes ball-14 {
    0% {
      top: -1495px;
    }
    80%, 100% {
      top: -1610px;
    }
  }
  @-webkit-keyframes ball-15 {
    0% {
      top: -1610px;
    }
    80%, 100% {
      top: -1725px;
    }
  }
  @keyframes ball-15 {
    0% {
      top: -1610px;
    }
    80%, 100% {
      top: -1725px;
    }
  }
  @-webkit-keyframes ball-16 {
    0% {
      top: -1725px;
    }
    80%, 100% {
      top: -1840px;
    }
  }
  @keyframes ball-16 {
    0% {
      top: -1725px;
    }
    80%, 100% {
      top: -1840px;
    }
  }
  @-webkit-keyframes ball-17 {
    0% {
      top: -1840px;
    }
    80%, 100% {
      top: -1955px;
    }
  }
  @keyframes ball-17 {
    0% {
      top: -1840px;
    }
    80%, 100% {
      top: -1955px;
    }
  }
  @-webkit-keyframes ball-18 {
    0% {
      top: -1955px;
    }
    80%, 100% {
      top: -2070px;
    }
  }
  @keyframes ball-18 {
    0% {
      top: -1955px;
    }
    80%, 100% {
      top: -2070px;
    }
  }
  @-webkit-keyframes ball-19 {
    0% {
      top: -2070px;
    }
    80%, 100% {
      top: -2185px;
    }
  }
  @keyframes ball-19 {
    0% {
      top: -2070px;
    }
    80%, 100% {
      top: -2185px;
    }
  }
  @-webkit-keyframes ball-20 {
    0% {
      top: -2185px;
    }
    80%, 100% {
      top: -2300px;
    }
  }
  @keyframes ball-20 {
    0% {
      top: -2185px;
    }
    80%, 100% {
      top: -2300px;
    }
  }
  @-webkit-keyframes ball-21 {
    0% {
      top: -2300px;
    }
    80%, 100% {
      top: -2415px;
    }
  }
  @keyframes ball-21 {
    0% {
      top: -2300px;
    }
    80%, 100% {
      top: -2415px;
    }
  }
  @-webkit-keyframes ball-22 {
    0% {
      top: -2415px;
    }
    80%, 100% {
      top: -2530px;
    }
  }
  @keyframes ball-22 {
    0% {
      top: -2415px;
    }
    80%, 100% {
      top: -2530px;
    }
  }
  @-webkit-keyframes ball-23 {
    0% {
      top: -2530px;
    }
    80%, 100% {
      top: -2645px;
    }
  }
  @keyframes ball-23 {
    0% {
      top: -2530px;
    }
    80%, 100% {
      top: -2645px;
    }
  }
  @-webkit-keyframes ball-24 {
    0% {
      top: -2645px;
    }
    80%, 100% {
      top: -2760px;
    }
  }
  @keyframes ball-24 {
    0% {
      top: -2645px;
    }
    80%, 100% {
      top: -2760px;
    }
  }
  @-webkit-keyframes ball-25 {
    0% {
      top: -2760px;
    }
    80%, 100% {
      top: -2875px;
    }
  }
  @keyframes ball-25 {
    0% {
      top: -2760px;
    }
    80%, 100% {
      top: -2875px;
    }
  }
  @-webkit-keyframes ball-26 {
    0% {
      top: -2875px;
    }
    80%, 100% {
      top: -2990px;
    }
  }
  @keyframes ball-26 {
    0% {
      top: -2875px;
    }
    80%, 100% {
      top: -2990px;
    }
  }
  @-webkit-keyframes ball-27 {
    0% {
      top: -2990px;
    }
    80%, 100% {
      top: -3105px;
    }
  }
  @keyframes ball-27 {
    0% {
      top: -2990px;
    }
    80%, 100% {
      top: -3105px;
    }
  }
  @-webkit-keyframes ball-28 {
    0% {
      top: -3105px;
    }
    80%, 100% {
      top: -3220px;
    }
  }
  @keyframes ball-28 {
    0% {
      top: -3105px;
    }
    80%, 100% {
      top: -3220px;
    }
  }
  @-webkit-keyframes ball-29 {
    0% {
      top: -3220px;
    }
    80%, 100% {
      top: -3335px;
    }
  }
  @keyframes ball-29 {
    0% {
      top: -3220px;
    }
    80%, 100% {
      top: -3335px;
    }
  }
  @-webkit-keyframes ball-30 {
    0% {
      top: -3335px;
    }
    80%, 100% {
      top: -3450px;
    }
  }
  @keyframes ball-30 {
    0% {
      top: -3335px;
    }
    80%, 100% {
      top: -3450px;
    }
  }
  @-webkit-keyframes ball-31 {
    0% {
      top: -3450px;
    }
    80%, 100% {
      top: -3565px;
    }
  }
  @keyframes ball-31 {
    0% {
      top: -3450px;
    }
    80%, 100% {
      top: -3565px;
    }
  }
  @-webkit-keyframes ball-32 {
    0% {
      top: -3565px;
    }
    80%, 100% {
      top: -3680px;
    }
  }
  @keyframes ball-32 {
    0% {
      top: -3565px;
    }
    80%, 100% {
      top: -3680px;
    }
  }
  @-webkit-keyframes ball-33 {
    0% {
      top: -3680px;
    }
    80%, 100% {
      top: -3795px;
    }
  }
  @keyframes ball-33 {
    0% {
      top: -3680px;
    }
    80%, 100% {
      top: -3795px;
    }
  }
  @-webkit-keyframes ball-34 {
    0% {
      top: -3795px;
    }
    80%, 100% {
      top: -3910px;
    }
  }
  @keyframes ball-34 {
    0% {
      top: -3795px;
    }
    80%, 100% {
      top: -3910px;
    }
  }
  @-webkit-keyframes ball-35 {
    0% {
      top: -3910px;
    }
    80%, 100% {
      top: -4025px;
    }
  }
  @keyframes ball-35 {
    0% {
      top: -3910px;
    }
    80%, 100% {
      top: -4025px;
    }
  }
  @-webkit-keyframes ball-36 {
    0% {
      top: -4025px;
    }
    80%, 100% {
      top: -4140px;
    }
  }
  @keyframes ball-36 {
    0% {
      top: -4025px;
    }
    80%, 100% {
      top: -4140px;
    }
  }
  @-webkit-keyframes ball-37 {
    0% {
      top: -4140px;
    }
    80%, 100% {
      top: -4255px;
    }
  }
  @keyframes ball-37 {
    0% {
      top: -4140px;
    }
    80%, 100% {
      top: -4255px;
    }
  }
  @-webkit-keyframes ball-38 {
    0% {
      top: -4255px;
    }
    80%, 100% {
      top: -4370px;
    }
  }
  @keyframes ball-38 {
    0% {
      top: -4255px;
    }
    80%, 100% {
      top: -4370px;
    }
  }
  @-webkit-keyframes ball-39 {
    0% {
      top: -4370px;
    }
    100% {
      top: 0;
    }
  }
  @keyframes ball-39 {
    0% {
      top: -4370px;
    }
    100% {
      top: 0;
    }
  }