* {
  font-family: 微軟正黑體, Arial, sans-serif;
  text-decoration: none;
  list-style-type: none;
  list-style-image: none;
  outline: none;
  list-style-position: inside;
}
html, body {
  box-sizing: border-box;
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  background: #160a3c;
}
#bg {
  background-image: url(../images/event.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  color: #fff;
  background-color: #db8747;
  width: 1920px;
}
#bg2 {
  background-image: url(../images/index.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  color: #fff;
  background-color: #db8747;
}
#wrap {
  max-width: 1200px;
  position: relative;
  margin: 0 auto;
  height: 1370px;
}
#wrap2 {
  width: 1200px;
  position: relative;
  margin: 0 auto;
  height: 1080px;
}
.txt {
    position: absolute;
    margin-top: 40%;
    width: 66%;
    text-align: center;
    margin-left: 18%;
    line-height: 30px;
    font-size: 18px;
    color: #c95aff;
    font-weight: bold;
}
.kv .kv_ring {
  width: 1450 px;
  z-index: 0;
  -webkit-transform: translate(-50%, 206%);
  -ms-transform: translate(-50%, 206%);
  transform: translate(-50%, 206%);
  pointer-events: none;
}
.absolute {
  position: absolute;
  top: 33%;
  left: -25%;
}
/*----Game----*/
#game {
  display: block;
  height: 1040px;
  margin: 160px 0 120px 0;
  position: relative;
}
.machine {
  width: 1200px;
  height: 790px;
  top: 232px;
  overflow: hidden;
  position: absolute;
}
.glass {
  position: absolute;
  margin-top: -2.5%;
  margin-left: 17%;
  z-index: 999;
}
.Lotto_title {
  position: absolute;
  right: 7.5%;
  margin-top: 2%;
  color: #ffb504;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 5px 4px 6px black, 5px 4px 6px black, 5px 4px 6px black, 5px 4px 6px black, 5px 4px 6px black;
}
.Lotto {
  position: absolute;
  margin-top: 4%;
  margin-left: 78%;
  padding: 0px 20px 0 20px;
  border-radius: 20px;
  background-color: #042e3e;
  border: 2px solid #2a83a4;
}
.Lotto ol {
  display: inline-flex;
  padding: 0;
}
.topup {
      position: fixed;
    margin-top: 3%;
    margin-left: 86%;
    z-index: 99;
    text-align: center;
    border-radius: 20px;
    background-color: #003459e3;
    border: 2px solid #200000a3;
    padding: 15px 10px 15px 10px;
}
p.purple {
  font-size: 35px;
  color: #ff9900;
  font-weight: bold;
  padding: -10%;
  margin-top: 2%;
  margin-bottom: 4%;
  text-shadow: 4px 5px 15px #000;
}
.digit01 {
  background-image: url(../images/number.png);
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  margin: 0 5px 0 5px;
}
.digit02 {
  background-image: url("../images/number_special.png");
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  margin: 0 5px 0 5px;
}
.digit02 strong {
  color: #f2ff00;
  font-size: 26px;
  margin-top: 2%;
  margin-left: 8px;
  font-weight: bold;
  position: absolute;
}
.claw {
  margin-top: -17%;
  margin-left: 43%;
  position: absolute;
  animation: roll 10s infinite linear;
  -webkit-animation: roll 10s infinite linear;
  -moz-animation: roll 10s infinite linear;
  transform-origin: 66px center;
  transition-duration: 1s;
  -webkit-transition-duration: 1s;
  -ms-transition-duration: 1s;
}
.claw01 {
  margin-top: -11%;
  margin-left: 28%;
  position: absolute;
  animation: roll 10s infinite linear;
  -webkit-animation: roll 13s infinite linear;
  -moz-animation: roll 13s infinite linear;
  transform-origin: 66px center;
  transition-duration: 1s;
  -webkit-transition-duration: 1s;
  -ms-transition-duration: 1s;
}
/*dice*/
ul.dice {
      position: absolute;
    width: 809px;
    height: 455px;
    margin-left: 22%;
    margin-top: 15%;
    z-index: 999;
}
.end {
  background-image: url(../images/end.png);
  background-repeat: no-repeat;
  width: 138px;
  height: 142px;
  margin: 0 auto;
  position: absolute;
}
.end img {
  margin-top: 10%;
  margin-left: 20%;
}
/*.scrape_open, .scrape_open02, .scrape_open03, .scrape_open04, .scrape_open05, .scrape_open06, .scrape_open07, .scrape_open08, .scrape_open09, .scrape_open10 {
  background-image: url(../images/scrape_open.png);
  background-repeat: no-repeat;
  width: 138px;
  height: 142px;
  margin: 0 auto;
  padding-top: 22%;
  position: absolute;
  z-index: 10;
}*/
.dice_btn, .dice_btn02, .dice_btn03, .dice_btn04, .dice_btn05, .dice_btn06, .dice_btn07, .dice_btn08, .dice_btn09, .dice_btn10 {
  position: absolute;
  margin-top: 83%;
  z-index: 99;
}
.end strong {
  color: #2c0000;
  font-size: 60px;
  margin-top: 2%;
  font-weight: bold;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  display: block;
  padding-top: 26%
}
.btn_seed {
  display: flex;
  position: relative;
  margin: -27px auto;
  padding: 0;
  flex-direction: row;
  justify-content: center;
}
.seed01 {
  /* margin-left: 18%; */
  margin-top: 10%;
  margin: 10% auto;
  /* display: contents; */
  padding: 0;
  /* width: 213px; */
  text-align: center;
  /* height: 71px; */
  position: relative;
}
li.cuboid05 .seed01 {
  margin-top: 10%;
  margin: 7% auto;
  padding: 0;
  text-align: center;
  position: relative;
}
li.cuboid04 .seed01 {
  margin-top: 10%;
  margin: 7% auto;
  padding: 0;
  text-align: center;
  position: relative;
}
.seed02 {
  margin-top: -14%;
  margin-left: -17%;
  position: absolute;
}
li.cuboid01 {
  position: absolute;
  width: 351px;
  height: 186px;
  margin-top: 7%;
  margin-left: -26%;
  background-image: url(../images/cuboid01.png);
  background-repeat: no-repeat;
}
li.cuboid02 {
  position: absolute;
  width: 351px;
  height: 186px;
  margin-top: 7%;
  margin-left: 15%;
  background-image: url(../images/cuboid01.png);
  background-repeat: no-repeat;
}
li.cuboid03 {
  position: absolute;
  width: 351px;
  height: 186px;
  margin-top: 7%;
  margin-left: 56%;
  background-image: url(../images/cuboid01.png);
  background-repeat: no-repeat;
}
li.cuboid04 {
  position: absolute;
  width: 351px;
  height: 186px;
  margin-top: 28%;
  margin-left: -26%;
  background-image: url(../images/cuboid01.png);
  background-repeat: no-repeat;
}
li.cuboid05 {
  position: absolute;
  width: 351px;
  height: 186px;
  margin-top: 28%;
  margin-left: 56%;
  background-image: url(../images/cuboid01.png);
  background-repeat: no-repeat;
}
li.cuboid06 {
  position: absolute;
  width: 351px;
  height: 186px;
  margin-top: 49%;
  margin-left: -26%;
  background-image: url(../images/cuboid01.png);
  background-repeat: no-repeat;
}
li.cuboid07 {
  position: absolute;
  width: 351px;
  height: 186px;
  margin-top: 49%;
  margin-left: 15%;
  background-image: url(../images/cuboid01.png);
  background-repeat: no-repeat;
}
li.cuboid08 {
  position: absolute;
  width: 351px;
  height: 186px;
  margin-top: 49%;
  margin-left: 56%;
  background-image: url(../images/cuboid01.png);
  background-repeat: no-repeat;
}
li.cuboid09 {
  width: 169px;
  height: 120px;
  margin-top: 46%;
  margin-left: 39%;
  background-image: url(../images/cuboid09.png);
  background-repeat: no-repeat;
}
li.cuboid10 {
  position: absolute;
  width: 169px;
  height: 120px;
  margin-top: -14%;
  margin-left: 59%;
  background-image: url(../images/cuboid10.png);
  background-repeat: no-repeat;
}
.claw01_hover {
  position: absolute;
  margin-left: 33%;
  margin-top: -10%;
}
.claw_hover {
  position: absolute;
  margin-left: 33%;
  margin-top: 0%;
}
.claw_hover img {
  width: 70%;
}
.drop01 {
  margin-top: 0%;
  transform-origin: top center;
}
.drop {
  margin-top: -10%;
  transform-origin: top center;
}
.btn_go {
  position: absolute;
  cursor: pointer;
  margin-top: 30%;
  margin-left: 41%;
  z-index: 99;
}
.btn_go:hover {
  filter: brightness(1.2);
  -webkit-filter: brightness(1.2);
  -moz-filter: brightness(1.2);
}
.btn_go01:hover {
  filter: brightness(1.2);
  -webkit-filter: brightness(1.2);
  -moz-filter: brightness(1.2);
}
.number {
     width: 249px;
    height: 44px;
    background-repeat: no-repeat;
    text-align: center;
    font-weight: bold;
    line-height: 34px;
    font-size: 26px;
    position: absolute;
    padding-top: 10px;
    margin-top: 21%;
    z-index: 9999;
    margin-left: 104%;
    color: #ffb14c;
    background-color: #002545;
    border-radius: 58px;
    border: 1px solid #FDFDFD;
}
p.coins {
  color: #fff;
  font-size: 38px;
  font-weight: bold;
  bottom: -10px;
  left: 290px;
  width: 100px;
  text-align: center;
  position: absolute;
}
.grid {
  width: 690px;
  height: 430px;
  margin: 0px auto;
  top: 100px;
  position: relative;
}
.grid table {
  width: 100%;
  height: 100%;
  border-spacing: 0;
}
.grid td {
  width: 20%;
  height: 20%;
}
.grid td img {
  width: 100%;
}
.notice {
  position: relative;
  display: inline-block;
  margin-top: 85%;
  width: 76%;
  margin-left: 13%;
  color: #FFFFFF;
  line-height: 37px;
  font-weight: 700;
  font-size: 18px;
}
@-webkit-keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }
  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }
  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
@keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }
  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }
  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
@-webkit-keyframes roll {
  0% {
    left: 3%;
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }
  25% {
    left: 6%;
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }
  50% {
    left: 10%;
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }
  80% {
    left: 6%;
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }
  100% {
    left: 3%;
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
@-moz-keyframes roll {
  0% {
    left: 3%;
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }
  25% {
    left: 6%;
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }
  50% {
    left: 10%;
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }
  80% {
    left: 6%;
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }
  100% {
    left: 3%;
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
.swing {
  -webkit-transform-origin: top center;
  transform-origin: top center;
  -webkit-animation-name: swing;
  animation-name: swing;
}
h3 {
  color: #7bdfff;
  font-size: 26px;
  text-align: center;
}
strong {
  color: #ffd400;
  font-size: 24px;
  margin-top: 2%;
  margin-left: 10px;
  font-weight: bold;
}
.light {
  position: absolute;
  margin-left: 38%;
  margin-top: 38%;
  z-index: 1000;
  mix-blend-mode: plus-lighter;
}
.bag_qty strong {
  color: #400000;
  font-size: 23px;
  margin-top: -1%;
  margin-left: 9px;
  font-weight: bold;
}
.notice li {
  list-style: auto;
}
.pc {
  display: block;
}
img.d-block.r1.ring_ani {
  opacity: 0;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}
img.d-block.r2.ring_ani {
  opacity: 0;
  -webkit-animation-delay: 2.3s;
  animation-delay: 2.3s;
}
img.d-block.r3.ring_ani {
  opacity: 0;
  -webkit-animation-delay: 3.6s;
  animation-delay: 3.6s;
}
.d-block {
  width: 100%;
}
.text {
  margin-bottom: 18%;
}
@-webkit-keyframes t_color_gold {
  0%, to {
    -webkit-filter: brightness(1);
    filter: brightness(1)
  }
  50% {
    -webkit-filter: brightness(1.5);
    filter: brightness(1.5)
  }
}
@keyframes t_color_gold {
  0%, to {
    -webkit-filter: brightness(1);
    filter: brightness(1)
  }
  50% {
    -webkit-filter: brightness(1.5);
    filter: brightness(1.5)
  }
}
.ring_ani {
  opacity: 1;
  -webkit-animation: ring_ani 2.0s linear infinite;
  animation: ring_ani 2.0s linear infinite;
  margin-left: 12%;
}
@-webkit-keyframes ring_ani {
  0% {
    opacity: 0;
    -webkit-transform: translate(0, 0) scale(1);
    transform: translate(0, 0) scale(1)
  }
  50% {
    opacity: 1;
    -webkit-transform: translate(0, -20%) scale(1);
    transform: translate(0, -20%) scale(1)
  }
  to {
    opacity: 0;
    -webkit-transform: translate(0, -50%) scale(1);
    transform: translate(0, -50%) scale(1)
  }
}
@keyframes ring_ani {
  0% {
    opacity: 0;
    -webkit-transform: translate(0, 0) scale(1);
    transform: translate(0, 0) scale(1)
  }
  50% {
    opacity: 1;
    -webkit-transform: translate(0, -20%) scale(1);
    transform: translate(0, -20%) scale(1)
  }
  to {
    opacity: 0;
    -webkit-transform: translate(0, -50%) scale(1);
    transform: translate(0, -50%) scale(1)
  }
}
a:hover {
  filter: brightness(1.2);
  -webkit-filter: brightness(1.2);
  -moz-filter: brightness(1.2);
  top: -3px;
}
.btn10 a:hover {
  filter: brightness(1.2);
  -webkit-filter: brightness(1.2);
  -moz-filter: brightness(1.2);
}
.getprops {
     display: inline-block;
    position: absolute;
    margin-top: 25%;
    left: 98%;
    background-repeat: no-repeat;
}
.button_all {
  position: absolute;
  margin-top: 64%;
  margin-left: 44%;
}
.button_btn {
        position: absolute;
    margin-top: 65.5%;
    margin-left: 18.8%;
    display: flow;
	    z-index: 9999;
}
.button_btn a.btn_go03 {
  margin-bottom: 5px;
}
.button_btn a.btn_go02 {
  margin-bottom: 5px;
  cursor: pointer;
}
/*optional*/
.optional {
  position: absolute;
  margin-top: 17%;
  margin-left: -17%;
}
/*redpacket*/
.redpacket_area {
     height: 500px;
    position: absolute;
    margin-top: 31%;
    margin-left: -13%;
}
.redpacket {
  width: 230px;
  height: 230px;
  margin: 0 auto;
}
.packet01 {
  width: 216px;
  height: 200px;
  background-image: url(../images/redpacket01.png);
  background-repeat: no-repeat;
  margin: 0 auto;
  text-align: center;
  padding-top: 14%;
  font-size: 15px;
  color: bisque;
  font-weight: bold;
}
.packet02 {
  width: 216px;
  height: 200px;
  background-image: url(../images/redpacket02.png);
  background-repeat: no-repeat;
  margin: 0 auto;
  text-align: center;
  padding-top: 14%;
  font-size: 15px;
  color: bisque;
  font-weight: bold;
}
.redpacket_btn {
  display: flex;
  margin-top: -17%;
}
.redpacket_btn a {
  margin: -10px auto;
}
h5 {
    font-size: 29px;
    color: #ffdf37;
    margin: 19% 10% 2% 10%;
    text-align: center;
    position: relative;
}
ul.Props {
  width: 290px;
  height: 436px;
  margin: 0% auto;
  overflow: auto;
  padding: 0;
}
li.award01 {
  color: #00d1f5;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  background-color: #0a0d33;
  margin-top: 4px;
}
li.award02 {
  color: #58e6ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  margin-top: 4px;
}
li.award03 {
  color: #fff04d;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  background-color: #005ab7;
  margin-top: 4px;
}
li.award04 {
  color: #c4ffec;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  margin-top: 4px;
}
li.award {
  color: #81ffd1;
  font-size: 15px;
  font-weight: bold;
  margin: 4px auto;
}
.award01 strong {
  color: #fff3c0;
  font-size: 13px;
  font-weight: bold;
  line-height: 11px;
  margin-left: 2px;
  margin-right: 2px;
  position: relative;
}
.award02 strong {
  color: #fff3c0;
  font-size: 13px;
  font-weight: bold;
  line-height: 11px;
  margin-left: 2px;
  margin-right: 2px;
  position: relative;
}
.tim_01 {
  background-color: #820000;
  position: absolute;
  margin-top: 0%;
  margin-left: -75%;
  width: 166px;
  height: 50px;
  text-align: center;
  padding-top: 5px;
  border: 2px solid #200000a3;
  border-radius: 15px;
  color: bisque;
  font-weight: bold;
  line-height: 3px;
}
.tim_02 {
  background-color: #820000;
  position: absolute;
  margin-top: 0%;
  margin-left: 93%;
  width: 166px;
  height: 50px;
  text-align: center;
  padding-top: 5px;
  border: 2px solid #200000a3;
  border-radius: 15px;
  color: bisque;
  font-weight: bold;
  line-height: 3px;
}
.triangle01 {
  position: absolute;
  margin-left: -10%;
  margin-top: 3%;
}
.triangle02 {
  position: absolute;
  margin-left: 83%;
  margin-top: 3%;
}
a.btn_go01 {
  margin-top: -3%;
}
#style-3::-webkit-scrollbar-track {
  background-color: #D7F2FF;
}
#style-3::-webkit-scrollbar {
  width: 6px;
  background-color: black;
}
#style-3::-webkit-scrollbar-thumb {
    background-color: #1fc2ff;
  border-radius: 20px;
}
.result {
  display: inline-block;
  position: relative;
  top: -26%;
  left: -50%;
  width: 367px;
  height: 581px;
  background-image: url(../images/result.png);
  background-repeat: no-repeat;
}
/*----Button----*/
.button {
        position: absolute;
    margin-top: 15.5%;
    z-index: 9999;
    margin-left: -13%;
    display: grid;
}
a.btn {
  margin-left: 4px;
  margin-right: 4px;
}
.times {
     position: absolute;
    margin-top: 73%;
    margin-left: 31%;
    font-size: 18px;
    font-weight: bold;
    width: 500px;
    display: flex;
}
.times01 {
  width: 236px;
  height: 70px;
  color: #2effff;
  text-align: center;
  line-height: 4px;
  border: 2px solid #ffffffa3;
  background-color: #001295e3;
  border-radius: 50px;
  margin-left: 5px;
  margin-right: 5px;
}
.times02 {
  width: 236px;
  height: 70px;
  color: #2effff;
  text-align: center;
  line-height: 4px;
  border: 2px solid #ffffffa3;
  background-color: #001295e3;
  border-radius: 50px;
  margin-left: 5px;
  margin-right: 5px;
}
.times strong {
  color: #ffe628;
  font-size: 24px;
  margin-top: 2%;
  margin-left: 10px;
  font-weight: bold;
}
.char01 {
    position: absolute;
    margin-top: 44%;
    z-index: 999;
    margin-left: -34%;
}
.char02 {
      position: absolute;
    margin-top: 6%;
    z-index: 9999;
    margin-left: 85%;
	animation: slogan ease-in-out 3.5s infinite;
}
.btn img:hover, .btn_go01 img:hover, .btn_go02 img:hover, .btn_go03 img:hover {
  position: relative;
  filter: brightness(1.2);
  -webkit-filter: brightness(1.2);
  -moz-filter: brightness(1.2);
}
/*---------------------------
	 Logo
----------------------------*/
.logo {
  position: absolute;
  background: url(../images/logo.png);
  width: 190px;
  height: 130px;
  display: block;
  top: 20px;
  left: 250px;
  cursor: pointer;
  z-index: 99;
  /*漸出*/
  transition-duration: 1.5s;
  -webkit-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
}
/*.logo:hover {
	background: url(../images/logo_hover.png);
}
*/
.slogan {
    width: 877px;
    height: 289px;
    position: absolute;
    z-index: 999;
    margin-top: -2%;
    margin-left: 16%;
    animation: slogan ease-in-out 1.5s infinite;
    background-image: url(../images/slogan.png);
    background-repeat: no-repeat;
}
.slogan_1 {
 width: 877px;
    height: 289px;
    position: absolute;
    z-index: 50;
    margin-top: 4%;
    margin-left: 185px;
    animation: slogan ease-in-out 1.5s infinite;
    background-image: url(../images/slogan.png);
    background-repeat: no-repeat;
}
@keyframes slogan {
  0% {
    top: 0px;
  }
  50% {
    top: 15px;
  }
  100% {
    top: 0px;
  }
}
.server_show {
  position: absolute;
  width: 190px;
  height: 30px;
  background-color: #0000007a;
  top: 0%;
  left: -30%;
}
.server_show p {
  margin-top: 6px;
  margin-left: 36px;
  font-size: 16px;
  color: #FFFFFF;
}
.main {
  position: relative;
}
.flash {
  position: absolute;
  margin-top: 17%;
  left: 28%;
  width: 600px;
  height: 600px;
  z-index: 100;
}
.light01 {
  position: absolute;
  margin-left: 1%;
  margin-top: 28%;
  -webkit-animation-name: rotate;
  -webkit-animation-duration: 4000ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: rotate;
  -moz-animation-duration: 4000ms;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation-name: rotate;
  -ms-animation-duration: 4000ms;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
  animation-name: rotate;
  animation-duration: 4000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.pitcher {
  position: absolute;
}
.pitcher01 {
  position: absolute;
}
.pitcher_open {
  background-image: url(../images/pitcher_open.png);
  background-repeat: no-repeat;
  width: 500px;
  height: 557px;
  margin-top: -9%;
  z-index: 9999;
}

@keyframes Shakelf {
  0% {
    transform: rotate(0deg);
    transform-origin: 50% 100%;
  }
  50% {
    transform: rotate(-2deg);
    transform-origin: 50% 100%;
  }
  100% {
    transform: rotate(0deg);
    transform-origin: 50% 100%;
  }
}
.shake {
  animation: shake 1.2s linear;
  animation-fill-mode: forwards;
}
.shake01 {
  animation: shake01 1.2s linear;
  animation-fill-mode: forwards;
}
.flash_z {
  z-index: 4002;
}
@keyframes shake {
  0% {
    transform: scale(1);
    transform: scale3d(1, 1, 1);
  }
  6% {
    transform: scale(.9) rotate(-8deg);
    transform: scale3d(1, 1, 1) rotate(0, 0, 1, -8deg);
  }
  18%, 30%, 42% {
    transform: scale(1.1) rotate(8deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 8deg);
  }
  12%, 24%, 36%, 48% {
    transform: scale(1.1) rotate(-8deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -8deg);
  }
  54% {
    transform: scale(1);
    transform: scale3d(1, 1, 1);
  }
  60% {
    transform: scale(1);
    transform: scale3d(1, 1, 1);
  }
  70% {
    transform: scale(1) translate(0px, 150px);
    transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0);
  }
}
@keyframes shake01 {
  0% {
    transform: scale(1);
    transform: scale3d(1, 1, 1);
  }
  6% {
    transform: scale(.9) rotate(-50deg);
    transform: scale3d(1, 1, 1) rotate(0, 0, 1, -50deg);
  }
  18%, 30%, 42% {
    transform: scale(1.1) rotate(25deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 25deg);
  }
  12%, 24%, 36%, 48% {
    transform: scale(1.1) rotate(-50deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -50deg);
  }
  54% {
    transform: scale(1);
    transform: scale3d(1, 1, 1);
  }
  60% {
    transform: scale(1);
    transform: scale3d(1, 1, 1);
  }
  70% {
    transform: scale(1) translate(0px, 150px);
    transform: scale3d(1, 1, 1) translate3d(0px, 0px, 0);
  }
}
ul.open {
  display: flex;
  margin-top: 63%;
  position: absolute;
  margin-left: 13%;
}
.Spot {
  position: absolute;
  margin-top: -71%;
  margin-left: -57%;
  z-index: 99;
}
/*----Egg----*/
.treasure {
  position: absolute;
  top: 77%;
  left: 72%;
  z-index: 10;
}
.tr_box {
  position: absolute;
  width: 500px;
  height: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.gift {
  width: 937px;
  height: 778px;
  background: url(../images/gift.png) no-repeat;
  margin-top: -65%;
  margin-left: -28%;
  background-size: 91%;
}
@keyframes Shakelf {
  0% {
    transform: rotate(0deg);
    transform-origin: 50% 100%;
  }
  50% {
    transform: rotate(-2deg);
    transform-origin: 50% 100%;
  }
  100% {
    transform: rotate(0deg);
    transform-origin: 50% 100%;
  }
}
.gift_open {
  position: absolute;
  top: -78%;
  left: -20%;
  width: 978px;
  height: 759px;
  background: url(../images/gift_open.webp) no-repeat;
  animation: char01 ease-in-out 2.5s infinite;
  background-size: 89%;
}

.bounceIn {
  animation: bounceIn 0.5s linear;
  animation-fill-mode: forwards;
}

@-webkit-keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
    opacity: 1;
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9);
  }
  80% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@-moz-keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
    opacity: 1;
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9);
  }
  80% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
    opacity: 1;
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9);
  }
  80% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
.gold {
  position: absolute;
  width: 950px;
  height: 626px;
  left: 44%;
  margin-left: -555px;
  margin-top: -70%;
  background: url(../images/light.png) no-repeat;
  z-index: 0;
}
.gold.rotate {
  animation: scaleDraw .5s forwards, slogan ease-in-out 1.5s infinite;
}
@keyframes scaleDraw { /*定义关键帧、scaleDrew是需要绑定到选择器的关键帧名称*/
  0% {
    transform: scale(0.1); /*开始为原始大小*/
  }
  100% {
    transform: scale(1);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
select {
  font-family: 微軟正黑體;
  padding: 5px;
  width: 250px;
}
.server_select {
  top: 600px;
  width: 250px;
  left: 516px;
  padding-left: 65px;
  border: 2px solid #2e2e2e;
  border-radius: 8px;
  position: relative;
}
.btn_start a {
  background: url(../images/btn_start.png);
  width: 300px;
  height: 90px;
  top: 631px;
  left: 492px;
  position: relative;
  transition-duration: 1.5s;
  -webkit-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  display: block;
}
@keyframes char01 {
  0% {
    transform: rotate(0deg);
    transform-origin: 50% 100%;
    width: 200%;
    margin-left: 0%;
    margin-top: 0%;
  }
  20% {
    transform: rotate(-2deg);
    transform-origin: 50% 100%;
    width: 120%;
    margin-left: -50%;
    margin-top: 50%;
  }
  50% {
    transform: rotate(-2deg);
    transform-origin: 50% 100%;
    width: 120%;
    margin-left: 120%;
    margin-top: 30%;
  }
  100% {
    transform: rotate(0deg);
    transform-origin: 50% 100%;
    width: 300%;
    margin-left: 300%;
    margin-top: -200%;
  }
}
.box_all {
  margin-top: 11%;
  position: relative;
  padding-top: 5px;
}
/*---------------------------
	 數量
----------------------------*/
.point01 {
  top: 82px;
  left: 99px;
  text-align: right;
  font-size: 36px;
  color: #eced00;
  font-weight: bold;
  position: absolute;
  text-shadow: 1px 5px 4px #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  display: flex;
}
.point02 {
  width: 60px;
  top: 169px;
  left: 200px;
  text-align: center;
  font-size: 26px;
  color: #ffa042;
  font-weight: bold;
  position: absolute;
  text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
.point03 {
  width: 60px;
  top: 252px;
  left: 200px;
  text-align: center;
  font-size: 26px;
  color: #ffa042;
  font-weight: bold;
  position: absolute;
  text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
.point04 {
  width: 60px;
  top: 395px;
  left: 200px;
  text-align: center;
  font-size: 31px;
  color: #75fff7;
  font-weight: bold;
  position: absolute;
  text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
.point05 {
  width: 60px;
  top: 503px;
  left: 200px;
  text-align: center;
  font-size: 31px;
  color: #75fff7;
  font-weight: bold;
  position: absolute;
  text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
/*--.point08 {
  width: 80px;
  left: 30%;
  text-align: center;
  font-size: 24px;
  color: #ffffff;
  font-weight: bold;
  position: absolute;
}--*/
/*---------------------------
	 按鈕
----------------------------*/
.menu {
  display: inline-block;
  position: relative;
  margin-top: -44%;
  left: 80%;
  width: 378px;
  height: 690px;
}
/*第一批按鈕*/
.menu .btn_1 {
  margin-left: -7%;
  margin-top: 8%;
}
.menu .btn_1 li {
  margin-bottom: 18px;
}
.menu .btn_1 li a {
  margin: -10px auto;
  width: 300px;
  height: 90px;
  display: block;
  position: relative;
  transition-duration: 1.5s;
  -webkit-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
}
.menu .btn_1 li.btn01 {
  height: 90px;
  display: block;
  position: relative;
  background-image: url(../images/btn04.png);
  background-repeat: no-repeat;
  margin-left: 30px;
}
.menu .btn_1 li.btn02 a {
  background: url(../images/btn01.png);
  width: 250px;
  height: 75px;
}
.menu .btn_1 li.btn03 a {
  background: url(../images/btn02.png);
  width: 250px;
  height: 75px;
}
.menu .btn_1 li.btn04 a {
  background: url(../images/btn14.png);
  width: 250px;
  height: 75px;
}
.menu .btn_1 li.btn05 a {
  background: url(../images/btn05.png);
  background-repeat: no-repeat;
  width: 250px;
  height: 75px;
}
.menu .btn_1 li.btn06 a {
  background: url(../images/btn15.png);
  background-repeat: no-repeat;
  width: 250px;
  height: 75px;
}
.menu .btn_1 li.btn02 a:hover, .menu .btn_1 li.btn03 a:hover, .menu .btn_1 li.btn04 a:hover, .menu .btn_1 li.btn05 a:hover, .menu .btn_1 li.btn06 a:hover, .btn_start:hover, .btn07 a:hover, .btn08 a:hover, .btn10 a:hover {
  -webkit-filter: brightness(1.05);
  filter: brightness(1.55);
}
/*---------------------------
	 福袋
----------------------------*/
.small_box {
  width: 670px;
  height: 650px;
  position: relative;
  margin-left: 10%;
}
.box {
  /*  background: url(../images/box.png);*/
  width: 140px;
  height: 140px;
  margin: 4px 13px;
  float: left;
}
.box img {
  margin: 10px 15px;
  /*  animation: Shakelf ease-in-out 1.3s infinite;*/
}
.box p {
  margin: 0;
  width: 110px;
  height: 75px;
  font-size: 20px;
  font-weight: bold;
  font-family: 微軟正黑體;
  text-align: center;
  padding: 55px 15px 0px 15px;
}
.btn09 {
  /*  background: url(../images/btn09.png);*/
  width: 94px;
  height: 27px;
  position: relative;
  top: 100px;
  left: 23px;
  display: block;
}
.btn08 a {
  margin-top: -9%;
  position: absolute;
  margin-left: 3%;
}
.bag_qty {
  width: 190px;
  height: 800px;
  top: 7%;
  left: 74%;
  text-align: center;
  font-size: 19px;
  font-size: 24px;
  color: #b02b2b;
  font-weight: bold;
  position: absolute;
}
.btn10 a {
  background: url(../images/btn10.png);
  width: 154px;
  height: 41px;
  position: relative;
  top: 6px;
  display: block;
}
.btn11 a {
  background: url(../images/btn10.png);
  width: 154px;
  height: 48px;
  position: relative;
  top: -23px;
  left: 20px;
  display: block;
}
.btn11 a {
  background: url(../images/btn10.png);
  width: 154px;
  height: 48px;
  position: relative;
  top: -8px;
  left: 20px;
  display: block;
}
.btn07 a {
  background: url(../images/btn07.png);
  width: 190px;
  height: 58px;
  display: block;
}
.btn11 {
  margin-top: 8%;
}
.title {
  position: absolute;
  z-index: 1;
  margin-top: 4%;
  margin-left: 37%;
}
.btn10 {
  margin-bottom: 20px;
  /* margin: 0 auto; */
  text-align: center;
  padding: 0;
  display: inline-block;
}
/*----Pay----*/
#pay, #pay01, #pay02 {
  width: 70%;
  line-height: 2;
  font-size: 18px;
  color: #ffffff;
  position: relative;
  color: #5d2300;
  font-weight: 600;
}
.pay, .pay02 {
  height: 100%;
  text-align: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 4% auto 4% auto;
  width: 70%;
}
.pay01 {
  overflow-y: scroll;
  height: 100%;
  text-align: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 4% auto 4% auto;
  width: 70%;
}
.pay img, .pay01 img, .pay02 img {
  margin-bottom: 5%;
}
.pay h1, .pay01 h1, .pay02 h1 {
  text-align: center;
  font-size: 49px;
  color: #ffe685;
  font-weight: bold;
  margin-top: -1%;
}
.pay p, .pay01 p, .pay02 p {
  /* position: absolute; */
  text-align: center;
  font-size: 21px;
  top: 30%;
  /* left: 0; */
  /* right: 0; */
  color: #ffebbe;
  width: 79%;
  margin: -46px auto;
  line-height: 32px;
}
.pay span, .pay01 span, .pay02 span {
  color: #ff671d;
  margin: 0 10px;
  font-size: 25px;
}
.pay h4, .pay01 h4, .pay02 h4 {
  position: absolute;
  top: 170px;
  left: 0;
  right: 0;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: #461f0d;
}
.pay_btn {
  display: inline-block;
  position: absolute;
  top: 202px;
  left: 0;
  right: 0;
}
.pay_btn li {
  display: inline-block;
}

#close {
     position: fixed;
    z-index: 2;
    top: 14%;
    left: auto;
    right: -13%;
    display: inline-block;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border: none;
    background: transparent;
    cursor: pointer;
    transform-origin: center center;
    background-color: #120059e3;
  border: 2px solid #200000a3;
	
}
#close:before {
  transform: rotate(45deg);
}
#close:after {
  transform: rotate(-45deg);
}
#close:hover {
  filter: brightness(1.8);
  -webkit-filter: brightness(1.8);
  -moz-filter: brightness(1.8);
}
#close:before, #close:after {
      content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #ffffff;
    border-radius: 5px;
}

.middle {
  width: 770px;
  height: 315px;
  background-color: #530000;
  border: 4px solid #ae0000a3;
  border-radius: 20px;
  margin: 16% auto;
  box-shadow: -1px 11px 20px 1px #000000e8;
}
/*----Table----*/
.middle table {
  border-spacing: 0px;
  border-collapse: collapse;
  width: 45%;
  margin: 1% auto;
  margin-top: 64px;
}
.middle td {
  width: 10%;
}
.middle table td {
  border: 1px solid #000000;
  font-size: 19px;
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  color: #1b0000;
  vertical-align: middle;
}
.middle table.table {
  width: 100%;
  margin: 0 auto;
  font-size: 14px;
  background: #c5a283
}
.middle table:first-child td:first-child {
  width: 23%
}
.middle table img {
  margin-top: 10px;
  margin-bottom: 18px;
}
div#tab11, div#tab9, div#tab8 {
  height: 1400px;
}
.middle table td p {
  color: #000000;
}
.icon_img {
  margin-left: 30px;
}
/*---------------------------
	FOOTER
----------------------------*/
#footer {
     margin-top: 10%;
  width: 100%;
  height: 80 px;
  color: #fff;
  font-size: 12px;
  background: #000000
}
#footer p {
  margin: 0 auto;
}
.copyright {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}
.copyright table {
  margin: 0 auto 0 auto
}
.copyright table td {
  padding-right: 8px
}
.copyright .about {
  line-height: 20px;
}
.copyright table span {
  color: #fff;
}
.copyright table .t {
  padding-left: 0;
  font-size: 11px;
  line-height: 15px;
}