@charset "UTF-8";
@media (max-width: 1200px) {
  #socials {
    left: 0;
  }
}
@media (max-width: 810px) {
  #socials {
    padding-top: 1em;
  }
}
/*==========================================================================
    defualt
 ==========================================================================*/
/*@import url("https://www.xin-stars.com/css/Event/_css/plugins.css");*/
* {
  outline: 0;
  box-sizing: border-box;
}

*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100.1%;
  background-color: #0f053f;
}

html.disable {
  overflow: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Noto Sans TC", Heiti TC, Microsoft JhengHei, "微軟正黑體", Verdana;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  background-color: #0f053f;
  opacity: 0;
  transition: opacity 0.3s;
}
body.is-open {
  opacity: 1;
}

input, textarea, button, select {
  font-family: "Noto Sans TC", Heiti TC, Microsoft JhengHei, "微軟正黑體", Verdana;
}

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: none;
}

@-webkit-keyframes autofill {
  to {
    color: #000;
    background-color: #fff;
  }
}
input:-webkit-autofill {
  -webkit-animation-name: autofill;
  -webkit-animation-fill-mode: both;
}

button {
  cursor: pointer;
  border: none;
  box-shadow: none;
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.hidden {
  display: none;
}

.container {
  max-width: 1024px;
  margin: auto;
}
@media (max-width: 1030px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.bg-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 16em);
  z-index: -5;
  width: 32em;
  margin: 0 auto;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.bg-area img {
  width: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

.sparkle {
  display: none;
}
@supports (mix-blend-mode: multiply) {
  .sparkle {
    display: block;
    position: absolute;
    z-index: 1;
  }
}

a {
  text-decoration: none;
  transition: color 0.5s;
}

p {
  margin: 0;
}

.notice {
  margin-top: 0.5em;
}

/*==========================================================================
    animation
 ==========================================================================*/
.fade-in {
  opacity: 0;
  transition: opacity 1s;
}
.fade-in.show {
  opacity: 1;
}

.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s, transform 1s;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-down {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 1s, transform 1s;
}
.fade-down.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1s, transform 1s;
}
.fade-left.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1s, transform 1s;
}
.fade-right.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-zoom {
  opacity: 0 !important;
  transform: scale(0.8);
  transition: opacity 1s, transform 1s;
}
.fade-zoom.show {
  opacity: 1 !important;
  transform: scale(1);
}

.fade-rotate {
  opacity: 0 !important;
  transform: rotate(-360deg);
  transition: opacity 1s, transform 1.5s;
}
.fade-rotate.show {
  opacity: 1 !important;
  transform: rotate(0deg);
}

.d3 {
  transition-delay: 0.3s;
}

.z-2 {
  position: relative;
  z-index: -2 !important;
}

/*==========================================================================
    public
 ==========================================================================*/
ul.no-style {
  margin: 0;
  padding: 0;
}
ul.no-style > li {
  list-style: none;
}

@media (max-width: 767px) {
  .for-desktop {
    display: none !important;
  }
}

.for-mobile {
  display: none !important;
}
@media (max-width: 767px) {
  .for-mobile {
    display: block !important;
  }
}

@-webkit-keyframes autofill {
  to {
    color: #000;
    background: #fff;
  }
}
@-webkit-keyframes autofill2 {
  to {
    color: #000;
    background: transparent;
  }
}
input:-webkit-autofill {
  -webkit-animation-name: autofill;
  -webkit-animation-fill-mode: both;
}

.fixed-box {
  width: 100%;
  height: 100%;
  position: fixed;
  left: -100%;
  top: 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.5s, visibility 0.5s, left 0s 0.5s;
}
.fixed-box.show {
  left: 0;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s, visibility 0.5s;
}
.fixed-box .mask {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
}
.fixed-box .block {
  display: table;
  width: 100%;
}
.fixed-box .block .middle {
  display: table-cell;
  vertical-align: middle;
  height: 100vh;
  padding: 80px 0;
  position: relative;
}
.fixed-box .inner {
  width: 1000px;
  height: 688px;
  margin: auto;
  padding: 100px;
  position: relative;
  z-index: 2;
  background: url("https://www.xin-stars.com/img/Event/20200422_PiggyBank/box-bg.png") center no-repeat;
  background-size: contain;
  color: #fff5d7;
  font-size: 60px;
  line-height: 70px;
  text-align: center;
}
@media (max-width: 1030px) {
  .fixed-box .inner {
    width: 97.1vw;
    height: 66.8vw;
    padding: 10vw;
    font-size: 5.8vw;
    line-height: 7vw;
  }
}
.fixed-box .inner .close-btn {
  width: 140px;
  height: 140px;
  position: absolute;
  right: -20px;
  top: -20px;
  z-index: 3;
  background: url("https://www.xin-stars.com/img/Event/20200422_PiggyBank/X.png") center no-repeat;
  background-size: contain;
  cursor: pointer;
  transition: transform 0.5s;
}
@media (max-width: 1030px) {
  .fixed-box .inner .close-btn {
    width: 13.6vw;
    height: 13.6vw;
    right: -1vw;
    top: -1vw;
  }
}
.fixed-box .inner .close-btn:hover {
  transform: scale(1.05);
}
.fixed-box .inner p {
  font-size: 49px;
}
@media (max-width: 1030px) {
  .fixed-box .inner p {
    font-size: 4.9vw;
  }
}
.fixed-box .inner .pic {
  margin-top: 30px;
}
@media (max-width: 1030px) {
  .fixed-box .inner .pic {
    margin-top: 3vw;
  }
}
.fixed-box .inner .pic img {
  max-width: 45%;
  max-height: 45%;
}
.fixed-box .inner .btn-gash {
  display: block;
  width: 480px;
  height: 192px;
  margin-left: -240px;
  position: absolute;
  left: 50%;
  bottom: -100px;
  background: url("https://www.xin-stars.com/img/Event/20200422_PiggyBank/btn-gash.png") center no-repeat;
  background-size: contain;
}
@media (max-width: 1030px) {
  .fixed-box .inner .btn-gash {
    width: 46.6vw;
    height: 18.7vw;
    margin-left: -23.3vw;
    bottom: -10vw;
  }
}
.fixed-box .inner .btn-gash:hover {
  background-image: url("https://www.xin-stars.com/img/Event/20200422_PiggyBank/btn-gash2.png");
}
.fixed-box.winning .inner {
  margin-top: 300px;
  padding-top: 300px;
  color: #fff;
  font-size: 80px;
  line-height: 100px;
}
@media (max-width: 1030px) {
  .fixed-box.winning .inner {
    margin-top: 30vw;
    padding-top: 30vw;
    font-size: 8vw;
    line-height: 10vw;
  }
}
.fixed-box.winning .inner:before {
  content: "";
  display: block;
  width: 100%;
  height: 633px;
  position: absolute;
  left: 0;
  top: -300px;
  background: url("https://www.xin-stars.com/img/Event/20200422_PiggyBank/box-winning.png?v=20200408") center no-repeat;
  background-size: contain;
}
@media (max-width: 1030px) {
  .fixed-box.winning .inner:before {
    height: 61.5vw;
    top: -30vw;
  }
}
.fixed-box.topup_notyet .inner {
  margin-bottom: 80px;
  padding-top: 80px;
}
@media (max-width: 1030px) {
  .fixed-box.topup_notyet .inner {
    margin-bottom: 8vw;
    padding-top: 8vw;
  }
}

/* ==========================================================================
* header
 ==========================================================================*/
#header {
  z-index: 99;
  background-color: #d70079;
}

/* ==========================================================================
* main
 ==========================================================================*/
.main {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 14em;
}
.main .btns a {
  display: inline-block;
  vertical-align: middle;
  width: 46%;
  height: auto;
  padding-bottom: 18%;
  background: center no-repeat;
  background-size: contain;
  transition: background 0.2s;
}
.main .btns a.btn-download {
  background-image: url("../../../img/Event/20200422_PiggyBank/btn-download.png");
}
.main .btns a.btn-download:hover {
  background-image: url("../../../img/Event/20200422_PiggyBank/btn-download2.png");
}
.main .btns a.btn-play {
  background-image: url("../../../img/Event/20200422_PiggyBank/btn-play.png");
}
.main .btns a.btn-play:hover {
  background-image: url("../../../img/Event/20200422_PiggyBank/btn-play2.png");
}

.preload {
  display: none;
}

/* ==========================================================================
* footer
 ==========================================================================*/
#footer {
  margin-top: 0;
  z-index: 2;
  background-color: transparent;
  text-align: center;
  padding-top: 1em;
  position: relative;
}

/* header-text 獲獎跑馬燈 */
.header-text {
  width: 100%;
  /*padding: 15px;*/
  position: fixed;
  left: 0;
  top: -100%;
  z-index: 80;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 35px;
  text-align: center;
  font-weight: bold;
  line-height: 1.5em;
  transition: top 1s;
}
@media (max-width: 1030px) {
  .header-text {
    font-size: 3.5vw;
  }
}
.header-text .ah-headline {
  font-family: "微軟正黑體", Heiti TC, Microsoft JhengHei, Verdana;
  overflow: hidden;
  display: inline;
}
.header-text .ah-headline.slide .ah-words-wrapper {
  vertical-align: middle;
}
.header-text .ah-headline > span {
  padding: 10px 0;
}
.header-text .ah-words-wrapper {
  width: 100% !important;
  text-align: center !important;
}
.header-text.active {
  top: 108px;
}
@media (max-width: 1030px) {
  .header-text.active {
    top: 10.8vw;
  }
}
.header-text .gift {
  padding: 0 10px !important;
}
.header-text .phone-num, .header-text .gift {
  color: #fdf400;
}
@media (max-width: 767px) {
  .header-text .phone-num, .header-text .gift {
    padding: 0 5px !important;
  }
}/*# sourceMappingURL=main.css.map */