@charset "UTF-8";
@import url("animatedheadline.css");
.main .games .tab-content .guess .coin .hand, .main .games .tab-content .gua .hand {
  width: 210px;
  height: 220px;
  position: absolute;
  position: absolute;
  left: 150px;
  bottom: -100px;
  z-index: 5;
  background: url("../_img/hand.png") 0 0 no-repeat;
  background-size: 100%;
  -webkit-animation: hand 0.5s steps(2) infinite;
          animation: hand 0.5s steps(2) infinite;
  opacity: 0;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

@media (max-width: 1024px) {
  .main .games .tab-content .guess .coin .hand, .main .games .tab-content .gua .hand {
    width: 20.6vw;
    height: 21.5vw;
    left: 15vw;
    bottom: -10vw;
    -webkit-animation-name: hand2;
            animation-name: hand2;
  }
}

.mobile .main .games .tab-content .guess .coin .hand, .main .games .tab-content .guess .coin .mobile .hand, .mobile .main .games .tab-content .gua .hand, .main .games .tab-content .gua .mobile .hand {
  display: none;
}

@-webkit-keyframes hand {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -440px;
  }
}

@keyframes hand {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -440px;
  }
}

@-webkit-keyframes hand2 {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -43vw;
  }
}

@keyframes hand2 {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -43vw;
  }
}

/*==========================================================================
    defualt
 ==========================================================================*/
* {
  outline: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100.1%;
}

html.disable {
  overflow: hidden;
}

body {
  background-color: #224165;
  color: #fff;
  font-size: 28px;
  line-height: 1.6em;
  font-family: 'cwTeXYen', Heiti TC, Microsoft JhengHei, "微軟正黑體", Verdana;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}

@media (max-width: 1024px) {
  body {
    font-size: 2.8vw;
  }
}

input, textarea, button, select {
  font-family: 'cwTeXYen', 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;
  -webkit-box-shadow: none;
          box-shadow: none;
}

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1024px;
  margin: auto;
}

.clearfix:after {
  content: '';
  display: block;
  clear: both;
}

.wp {
  min-height: 100%;
  min-width: 320px;
  position: relative;
  background: url("../_img/banner.png?v=20210113") top center no-repeat, url("../_img/bg.png") top center repeat-y;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .wp {
    background-size: 187%;
  }
}

.wp .yellow {
  color: #ffe26e;
}

.wp .blue {
  color: #00ccff;
}

.wp .red {
  color: #ff5f5f;
}

a {
  text-decoration: none;
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
}

p {
  margin: 0;
}

/*==========================================================================
    animation
 ==========================================================================*/
.fade-in {
  opacity: 0;
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
}

.fade-in.show {
  opacity: 1;
}

.fade-up {
  opacity: 0;
  -webkit-transform: translateY(50px);
          transform: translateY(50px);
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
  transition: opacity 1s, transform 1s, -webkit-transform 1s;
}

.fade-up.show {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.fade-down {
  opacity: 0;
  -webkit-transform: translateY(-50px);
          transform: translateY(-50px);
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
  transition: opacity 1s, transform 1s, -webkit-transform 1s;
}

.fade-down.show {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.fade-left {
  opacity: 0;
  -webkit-transform: translateX(-100px);
          transform: translateX(-100px);
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
  transition: opacity 1s, transform 1s, -webkit-transform 1s;
}

.fade-left.show {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.fade-right {
  opacity: 0;
  -webkit-transform: translateX(100px);
          transform: translateX(100px);
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
  transition: opacity 1s, transform 1s, -webkit-transform 1s;
}

.fade-right.show {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.fade-zoom {
  opacity: 0 !important;
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
  transition: opacity 1s, transform 1s, -webkit-transform 1s;
}

.fade-zoom.show {
  opacity: 1 !important;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.fade-rotate {
  opacity: 0 !important;
  -webkit-transform: rotate(-360deg);
          transform: rotate(-360deg);
  -webkit-transition: opacity 1s, -webkit-transform 1.5s;
  transition: opacity 1s, -webkit-transform 1.5s;
  transition: opacity 1s, transform 1.5s;
  transition: opacity 1s, transform 1.5s, -webkit-transform 1.5s;
}

.fade-rotate.show {
  opacity: 1 !important;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}

@-webkit-keyframes whirl {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
}

@keyframes whirl {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
}

@-webkit-keyframes coin {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -2200px;
  }
}

@keyframes coin {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -2200px;
  }
}

@-webkit-keyframes coin2 {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -215.2vw;
  }
}

@keyframes coin2 {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -215.2vw;
  }
}

@-webkit-keyframes coin-result {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -550px;
  }
}

@keyframes coin-result {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -550px;
  }
}

@-webkit-keyframes coin-result2 {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -53.8vw;
  }
}

@keyframes coin-result2 {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -53.8vw;
  }
}

@-webkit-keyframes bounceIn {
  0% {
    -webkit-transform: translateY(-200px);
            transform: translateY(-200px);
    opacity: 0;
  }
  20% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 1;
  }
  30% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    -webkit-transform: translateY(-200px);
            transform: translateY(-200px);
    opacity: 0;
  }
  20% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 1;
  }
  30% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes bounceIn2 {
  0% {
    -webkit-transform: translateY(-20vw);
            transform: translateY(-20vw);
    opacity: 0;
  }
  20% {
    -webkit-transform: translateY(5vw);
            transform: translateY(5vw);
    opacity: 1;
  }
  30% {
    -webkit-transform: translateY(-2vw);
            transform: translateY(-2vw);
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(2vw);
            transform: translateY(2vw);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounceIn2 {
  0% {
    -webkit-transform: translateY(-20vw);
            transform: translateY(-20vw);
    opacity: 0;
  }
  20% {
    -webkit-transform: translateY(5vw);
            transform: translateY(5vw);
    opacity: 1;
  }
  30% {
    -webkit-transform: translateY(-2vw);
            transform: translateY(-2vw);
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(2vw);
            transform: translateY(2vw);
    opacity: 1;
  }
  50% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes gua {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -1384px;
  }
}

@keyframes gua {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -1384px;
  }
}

@-webkit-keyframes gua2 {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -135.2vw;
  }
}

@keyframes gua2 {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -135.2vw;
  }
}

/*==========================================================================
    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;
}*/
.btn {
  display: inline-block;
  width: 490px;
  height: 180px;
  background: center no-repeat;
  background-size: contain;
  font-size: 0;
}

@media (max-width: 1024px) {
  .btn {
    width: 47.9vw;
    height: 17.6vw;
  }
}

.btn.btn-download {
  background-image: url("../_img/btn-download.png");
}

.btn.btn-download:hover {
  background-image: url("../_img/btn-download2.png");
}

.btn.btn-play {
  background-image: url("../_img/btn-play.png");
}

.btn.btn-play:hover {
  background-image: url("../_img/btn-play2.png");
}

.btn.btn-size {
  background-image: url("../_img/btn-size.png");
}

.btn.btn-size:hover {
  background-image: url("../_img/btn-size2.png");
}

.btn.btn-size.is-active {
  background-image: url("../_img/btn-size3.png");
}

.btn.btn-guess {
  background-image: url("../_img/btn-guess.png");
}

.btn.btn-guess:hover {
  background-image: url("../_img/btn-guess2.png");
}

.btn.btn-guess.is-active {
  background-image: url("../_img/btn-guess3.png");
}

.btn.btn-gua {
  background-image: url("../_img/btn-gua.png");
}

.btn.btn-gua:hover {
  background-image: url("../_img/btn-gua2.png");
}

.btn.btn-gua.is-active {
  background-image: url("../_img/btn-gua3.png");
}

.btn.btn-history {
  width: 300px;
  height: 115px;
  background-image: url("../_img/btn-history.png?v=20201229");
}

@media (max-width: 1024px) {
  .btn.btn-history {
    width: 29.3vw;
    height: 11.3vw;
  }
}

.btn.btn-history:hover {
  background-image: url("../_img/btn-history2.png?v=20201229");
}

.btn.btn-history[disabled], .btn.btn-history[disabled="disabled"] {
  background-image: url("../_img/btn-history3.png?v=20201229");
  cursor: no-drop;
}

.btn.btn-logout {
  width: 300px;
  height: 115px;
  background-image: url("../_img/btn-logout.png?v=20210113");
}

@media (max-width: 1024px) {
  .btn.btn-logout {
    width: 29.3vw;
    height: 11.3vw;
  }
}

.btn.btn-logout:hover {
  background-image: url("../_img/btn-logout2.png?v=20210113");
}

.btn.btn-logout[disabled], .btn.btn-logout[disabled="disabled"] {
  background-image: url("../_img/btn-logout3.png?v=20210113");
  cursor: no-drop;
}

.btn.btn-exchange {
  width: 300px;
  height: 115px;
  background-image: url("../_img/btn-exchange.png");
}

@media (max-width: 1024px) {
  .btn.btn-exchange {
    width: 30vw;
    height: 11.5vw;
  }
}

.btn.btn-exchange:hover {
  background-image: url("../_img/btn-exchange2.png");
}

.btn.btn-open {
  width: 300px;
  height: 115px;
  background-image: url("../_img/btn-open.png");
}

@media (max-width: 1024px) {
  .btn.btn-open {
    width: 30vw;
    height: 11.5vw;
  }
}

.btn.btn-open:hover {
  background-image: url("../_img/btn-open2.png");
}

.btn.btn-igift {
  width: 630px;
  height: 115px;
  background-image: url("../_img/btn-igift.png");
}

@media (max-width: 1024px) {
  .btn.btn-igift {
    width: 63vw;
    height: 11.5vw;
  }
}

.btn.btn-igift:hover {
  background-image: url("../_img/btn-igift2.png");
}

.btn.btn-entity {
  width: 630px;
  height: 115px;
  background-image: url("../_img/btn-entity.png");
}

@media (max-width: 1024px) {
  .btn.btn-entity {
    width: 63vw;
    height: 11.5vw;
  }
}

.btn.btn-entity:hover {
  background-image: url("../_img/btn-entity2.png");
}

.btn.btn-ok {
  width: 300px;
  height: 115px;
  background-image: url("../_img/btn-ok.png");
}

@media (max-width: 1024px) {
  .btn.btn-ok {
    width: 30vw;
    height: 11.5vw;
  }
}

.btn.btn-ok:hover {
  background-image: url("../_img/btn-ok2.png");
}

.btn.btn-change {
  width: 300px;
  height: 115px;
  background-image: url("../_img/btn-change.png");
}

@media (max-width: 1024px) {
  .btn.btn-change {
    width: 30vw;
    height: 11.5vw;
  }
}

.btn.btn-change:hover {
  background-image: url("../_img/btn-change2.png");
}

.btns {
  margin-bottom: 20px;
  font-size: 0;
}

@media (max-width: 1024px) {
  .btns {
    margin-bottom: 2vw;
  }
}

.table {
  width: 100%;
  margin-top: 20px;
  border: 2px solid #fff;
  border-spacing: 8px;
  font-size: 40px;
  line-height: normal;
}

@media (max-width: 1024px) {
  .table {
    margin-top: 2vw;
    border-width: 0.2vw;
    border-spacing: 0.8vw;
    font-size: 3.6vw;
  }
}

.table tr td {
  padding: 10px;
  background-color: #fff;
  color: #000;
}

@media (max-width: 1024px) {
  .table tr td {
    padding: 1vw;
  }
}

.table tr td:first-of-type {
  width: 30%;
  background-color: #5adaff;
}

::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #b5b5b5;
}

::-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #b5b5b5;
}

::-o-placeholder {
  /* Mozilla Firefox 19+ */
  color: #b5b5b5;
}

::-ms-placeholder {
  /* Internet Explorer 10+ */
  color: #b5b5b5;
}

::-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #b5b5b5;
}

.open-box {
  cursor: pointer;
}

.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;
  -webkit-transition: opacity 0.5s, visibility 0.5s, left 0s 0.5s;
  transition: opacity 0.5s, visibility 0.5s, left 0s 0.5s;
}

.fixed-box.show {
  left: 0;
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.5s, visibility 0.5s;
  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.8);
}

.fixed-box .block {
  display: table;
  width: 100%;
}

.fixed-box .block .middle {
  display: table-cell;
  vertical-align: middle;
  height: 100vh;
  padding: 80px 30px;
  position: relative;
}

@media (max-width: 1024px) {
  .fixed-box .block .middle {
    padding: 60px 3vw;
  }
}

.fixed-box .inner {
  width: 940px;
  padding: 460px 0 70px 0;
  margin: auto;
  position: relative;
  z-index: 2;
  background: url("../_img/box-top.png") top center no-repeat, url("../_img/box-bottom.png") bottom center no-repeat;
  background-size: contain;
  color: #fff;
  font-size: 48px;
  line-height: 1.5em;
  text-align: center;
}

@media (max-width: 1024px) {
  .fixed-box .inner {
    width: 94vw;
    padding: 44.8vw 0 6.7vw 0;
    font-size: 4.8vw;
  }
}

.fixed-box .inner .title {
  display: table;
  margin: auto;
  position: relative;
  z-index: 10;
  color: #feddbd;
  font-size: 48px;
  font-weight: bold;
  line-height: normal;
}

@media (max-width: 1024px) {
  .fixed-box .inner .title {
    font-size: 4.8vw;
  }
}

.fixed-box .inner .title + * {
  margin-top: 30px;
}

@media (max-width: 1024px) {
  .fixed-box .inner .title + * {
    margin-top: 3vw;
  }
}

.fixed-box .inner .pic {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.fixed-box .inner .btn {
  position: relative;
  z-index: 10;
}

.fixed-box .inner .small {
  font-size: 38px;
}

@media (max-width: 1024px) {
  .fixed-box .inner .small {
    font-size: 3.8vw;
  }
}

.fixed-box .inner .content {
  padding: 0 100px;
  background: url("../_img/box-bg.png") center repeat-y;
}

@media (max-width: 1024px) {
  .fixed-box .inner .content {
    padding: 0 10vw;
    background-size: 100.4%;
  }
}

.fixed-box .inner .content a {
  color: #f2cc49;
  -webkit-transition: text-shadow 0.5s;
  transition: text-shadow 0.5s;
}

.fixed-box .inner .content a:hover {
  text-shadow: 0 0 5px #f2cc49;
}

@media (max-width: 1024px) {
  .fixed-box .inner .content a:hover {
    text-shadow: 0 0 0.5vw #f2cc49;
  }
}

.fixed-box .inner .content .yellow {
  color: #f0ff00;
}

.fixed-box .inner .close-btn {
  width: 55px;
  height: 55px;
  position: absolute;
  right: 60px;
  top: 420px;
  z-index: 3;
  background: url("../_img/X.png") center no-repeat;
  background-size: contain;
  cursor: pointer;
  font-size: 0;
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}

@media (max-width: 1024px) {
  .fixed-box .inner .close-btn {
    width: 5.4vw;
    height: 5.4vw;
    right: 7.5vw;
    top: 42vw;
  }
}

.fixed-box .inner .close-btn:hover {
  -webkit-transform: scale(1.05) rotate(0.02deg);
          transform: scale(1.05) rotate(0.02deg);
}

.terms .inner {
  color: #feddbd;
  font-size: 36px;
  text-align: justify;
}

@media (max-width: 1024px) {
  .terms .inner {
    font-size: 3.6vw;
  }
}

.winner .inner .pic {
  position: relative;
}

.winner .inner .pic:before {
  content: '';
  width: 745px;
  height: 745px;
  margin: -372.5px 0 0 -372.5px;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  background: url("../_img/light.png") center no-repeat;
  background-size: contain;
  -webkit-animation: whirl 0.5s steps(2) infinite;
          animation: whirl 0.5s steps(2) infinite;
}

@media (max-width: 1024px) {
  .winner .inner .pic:before {
    width: 74.5vw;
    height: 74.5vw;
    margin: -37.25vw 0 0 -37.25vw;
  }
}

.winner .inner .pic .bag {
  width: 510px;
  height: 535px;
  margin: 0 auto 50px auto;
  position: relative;
  z-index: 2;
  background: url("../_img/bag.png") center no-repeat;
  background-size: contain;
}

@media (max-width: 1024px) {
  .winner .inner .pic .bag {
    width: 51vw;
    height: 53.5vw;
    margin-bottom: 5vw;
  }
}

/* ==========================================================================
* header
 ==========================================================================*/
#header {
  width: 100%;
  height: 108px;
  min-width: 320px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  background-color: #224165;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
          box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

@media (max-width: 1024px) {
  #header {
    height: 10.5vw;
  }
}

#header .container {
  padding: 0 20px;
  position: relative;
}

@media (max-width: 1024px) {
  #header .container {
    padding: 0 2vw;
  }
}

#header .logo {
  float: left;
  display: block;
  width: 340px;
  height: 90px;
  margin-top: 12px;
  background: url("../_img/logo.png") center no-repeat;
  background-size: contain;
}

@media (max-width: 1024px) {
  #header .logo {
    width: 33.2vw;
    height: 9vw;
    margin-top: 1.2vw;
  }
}

#header .follow {
  float: right;
  margin-top: 9px;
  text-align: center;
}

@media (max-width: 991px) {
  #header .follow {
    margin-top: 0.9vw;
  }
}

#header .follow a {
  display: inline-block;
  vertical-align: middle;
  width: 90px;
  height: 90px;
  margin: 0 -2px;
  background: 0 0 no-repeat;
  background-size: contain;
}

@media (max-width: 1024px) {
  #header .follow a {
    width: 8.8vw;
    height: 8.8vw;
    margin: 0 -0.2vw;
  }
}

#header .follow a.fb {
  background-image: url("../_img/icon-fb.png");
}

#header .follow a.fb:hover {
  background-image: url("../_img/icon-fb-hover.png");
}

#header .follow a.youtube {
  background-image: url("../_img/icon-youtube.png");
}

#header .follow a.youtube:hover {
  background-image: url("../_img/icon-youtube-hover.png");
}

#header .follow a.line {
  background-image: url("../_img/icon-line.png");
}

#header .follow a.line:hover {
  background-image: url("../_img/icon-line-hover.png");
}

#header .follow a.home {
  background-image: url("../_img/icon-home.png");
}

#header .follow a.home:hover {
  background-image: url("../_img/icon-home-hover.png");
}

/* ==========================================================================
* main
 ==========================================================================*/
.main {
  padding-top: 108px;
  position: relative;
  z-index: 2;
  text-align: center;
}

@media (max-width: 1024px) {
  .main {
    padding-top: 10.8vw;
  }
}

.main > .container {
  position: relative;
  z-index: 10;
}

.main .banner {
  padding-top: 875px;
  margin-bottom: -55px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .main .banner {
    padding-top: 86vw;
    margin-bottom: -6vw;
  }
}

.main .banner .slogan {
  width: 1065px;
  height: 460px;
  margin-left: -532.5px;
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 2;
  background: url("../_img/banner-slogan.png?v=20210113") center no-repeat;
  background-size: contain;
}

@media (max-width: 1024px) {
  .main .banner .slogan {
    width: 104.1vw;
    height: 45vw;
    margin-left: -52.05vw;
    top: 1vw;
  }
}

.main .banner .rewards {
  width: 1000px;
  height: 1175px;
  margin-left: -500px;
  position: absolute;
  left: 50%;
  top: 383px;
  z-index: 3;
  background: url("../_img/banner-rewards.png") center no-repeat;
  background-size: contain;
  -webkit-transition-delay: 0.5s;
          transition-delay: 0.5s;
}

@media (max-width: 1024px) {
  .main .banner .rewards {
    width: 97.7vw;
    height: 114.8vw;
    margin-left: -48.85vw;
    top: 37vw;
  }
}

.main .section {
  width: 1207px;
  margin: 0 -91.5px;
  padding: 210px 0 200px 0;
  position: relative;
  font-size: 40px;
  line-height: 1.5em;
  text-align: center;
  font-weight: bold;
  text-shadow: -2px -2px 0 #132648, 0 -2px 0 #132648, 2px -2px 0 #132648, 2px 0 0 #132648, 2px 2px 0 #132648, 0 2px 0 #132648, -2px 2px 0 #132648, -2px 0 0 #132648, 0 0 3px #132648, 0 0 3px #132648, 0 0 3px #132648, 0 0 3px #132648, 0 0 3px #132648, 0 0 3px #132648, 0 0 5px #132648, 0 0 5px #132648, 0 0 5px #132648;
}

@media (max-width: 1024px) {
  .main .section {
    width: 117.9vw;
    margin: 0 -9.2vw;
    padding: 20.6vw 0 20vw 0;
    font-size: 4vw;
  }
}

@media (max-width: 767px) {
  .main .section {
    text-shadow: -1px -1px 0 #132648, 0 -1px 0 #132648, 1px -1px 0 #132648, 1px 0 0 #132648, 1px 1px 0 #132648, 0 1px 0 #132648, -1px 1px 0 #132648, -1px 0 0 #132648;
  }
}

.main .section:before, .main .section:after {
  content: '';
  display: block;
  width: 100%;
  position: absolute;
  left: 0;
  z-index: 1;
  background-size: contain !important;
}

.main .section:before {
  height: 210px;
  top: 0;
  background: url("../_img/section-head.png") center top no-repeat;
}

@media (max-width: 1024px) {
  .main .section:before {
    height: 20.6vw;
  }
}

.main .section:after {
  height: 206px;
  bottom: 0;
  background: url("../_img/section-footer.png") center bottom no-repeat;
}

@media (max-width: 1024px) {
  .main .section:after {
    height: 20.2vw;
  }
}

.main .section .tri {
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
  margin: -5px 0 0 5px;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #ffffff;
}

@media (max-width: 1024px) {
  .main .section .tri {
    margin: -0.5vw 0 0 -0.5vw;
    border-width: 1vw 0 1vw 1.8vw;
  }
}

.main .section .block {
  min-height: 480px;
  padding: 40px 180px 40px 190px;
  position: relative;
  z-index: 2;
  background: url("../_img/section-top.png") center top no-repeat, url("../_img/section-bg.png") center top repeat-y;
  background-size: contain;
}

@media (max-width: 1024px) {
  .main .section .block {
    min-height: 48vw;
    padding: 4vw 18vw 4vw 19vw;
  }
}

.main .info .btns {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
}

.main .info .date {
  width: 850px;
  margin: 30px -30px -50px -5px;
  background: url("../_img/date-bg.png") center no-repeat;
  background-size: contain;
  font-size: 30px;
  line-height: 75px;
}

@media (max-width: 1024px) {
  .main .info .date {
    width: 83.1vw;
    margin: 3vw -3vw -5vw -0.8vw;
    font-size: 3vw;
    line-height: 7.5vw;
  }
}

.main .info .date strong {
  font-size: 40px;
  font-family: 'Arial';
}

@media (max-width: 1024px) {
  .main .info .date strong {
    font-size: 4vw;
  }
}

.main .info .block:after {
  content: '';
  display: block;
  width: 100%;
  height: 176px;
  position: absolute;
  left: 0;
  bottom: -233px;
  z-index: 0;
  background: url("../_img/section-gold.png") center no-repeat;
  background-size: contain;
}

@media (max-width: 1024px) {
  .main .info .block:after {
    height: 17.2vw;
    bottom: -22.3vw;
  }
}

.main .games .tabs {
  position: absolute;
  width: 100%;
  left: 0;
  top: -150px;
  z-index: 5;
}

@media (max-width: 1024px) {
  .main .games .tabs {
    top: -15vw;
  }
}

.main .games .tabs .btn {
  width: 340px;
  height: 125px;
}

@media (max-width: 1024px) {
  .main .games .tabs .btn {
    width: 32.3vw;
    height: 12.4vw;
  }
}

.main .games select::-ms-expand {
  display: none !important;
}

.main .games select {
  width: 679px;
  height: 109px;
  margin: auto;
  padding: 0 30px;
  -webkit-appearance: none;
  /*隱藏箭頭*/
  -moz-appearance: none;
  /*Firefox*/
  background: url("../_img/select.png") center no-repeat;
  background-size: contain;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  color: #000;
  font-size: 60px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .main .games select {
    width: 66.4vw;
    height: 10.7vw;
    padding: 0 3vw;
    font-size: 6vw;
  }
}

.main .games select[disabled], .main .games select[disabled="disabled"] {
  background-image: url("../_img/select2.png");
  color: #888;
  cursor: no-drop;
  opacity: 1;
}

.main .games .tab-content {
  margin-top: 30px;
  position: relative;
  color: #fff;
  text-shadow: none;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .main .games .tab-content {
    margin-top: 3vw;
  }
}

.main .games .tab-content .login-area {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.7);
}

.main .games .tab-content .login-area .btn-login {
  width: 705px;
  height: 115px;
  background: url("../_img/btn-login.png") center no-repeat;
  background-size: contain;
}

@media (max-width: 1024px) {
  .main .games .tab-content .login-area .btn-login {
    width: 70.5vw;
    height: 11.5vw;
  }
}

.main .games .tab-content .login-area .btn-login:hover {
  background-image: url("../_img/btn-login2.png");
}

.main .games .tab-content .login-area .terms {
  margin-top: 20px;
  font-size: 45px;
  font-weight: normal;
  -webkit-transition: text-shadow 0.5s;
  transition: text-shadow 0.5s;
}

@media (max-width: 1024px) {
  .main .games .tab-content .login-area .terms {
    margin-top: 2vw;
    font-size: 4.5vw;
  }
}

.main .games .tab-content .login-area .terms:hover {
  text-shadow: 0 0 10px #fff;
}

@media (max-width: 1024px) {
  .main .games .tab-content .login-area .terms:hover {
    text-shadow: 0 0 1vw #fff;
  }
}

.main .games .tab-content .game {
  display: none;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .main .games .tab-content .game {
    padding: 2vw;
  }
}

.main .games .tab-content .game .you-sure {
  display: none;
  width: 100%;
  height: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.7);
}

.main .games .tab-content .game .you-sure p {
  color: #feddbd;
  font-size: 48px;
  text-shadow: -2px -2px 0 #000, 0 -2px 0 #000, 2px -2px 0 #000, 2px 0 0 #000, 2px 2px 0 #000, 0 2px 0 #000, -2px 2px 0 #000, -2px 0 0 #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 5px #000, 0 0 5px #000, 0 0 5px #000;
}

@media (max-width: 1024px) {
  .main .games .tab-content .game .you-sure p {
    font-size: 4.8vw;
  }
}

@media (max-width: 767px) {
  .main .games .tab-content .game .you-sure p {
    text-shadow: -1px -1px 0 #000, 0 -1px 0 #000, 1px -1px 0 #000, 1px 0 0 #000, 1px 1px 0 #000, 0 1px 0 #000, -1px 1px 0 #000, -1px 0 0 #000;
  }
}

.main .games .tab-content .game .you-sure .btn {
  margin-top: 30px;
}

@media (max-width: 1024px) {
  .main .games .tab-content .game .you-sure .btn {
    margin-top: 3vw;
  }
}

.main .games .tab-content .game .you-sure .btn:first-of-type {
  margin-right: 30px;
}

@media (max-width: 1024px) {
  .main .games .tab-content .game .you-sure .btn:first-of-type {
    margin-right: 3vw;
  }
}

.main .games .tab-content .game p {
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .main .games .tab-content .game p {
    margin-bottom: 2vw;
  }
}

.main .games .tab-content .cards {
  position: relative;
  font-size: 0;
}

.main .games .tab-content .cards .win, .main .games .tab-content .cards .lose {
  width: 85px;
  height: 85px;
  margin-left: -42.5px;
  position: absolute;
  left: 50%;
  z-index: 5;
  background: center no-repeat;
  background-size: contain;
  opacity: 0;
  -webkit-transform: scale(0.6);
          transform: scale(0.6);
  pointer-events: none;
  -webkit-transition: opacity 0.5s 0.6s, -webkit-transform 0.5s 0.6s;
  transition: opacity 0.5s 0.6s, -webkit-transform 0.5s 0.6s;
  transition: opacity 0.5s 0.6s, transform 0.5s 0.6s;
  transition: opacity 0.5s 0.6s, transform 0.5s 0.6s, -webkit-transform 0.5s 0.6s;
}

@media (max-width: 1024px) {
  .main .games .tab-content .cards .win, .main .games .tab-content .cards .lose {
    width: 8.5vw;
    height: 8.5vw;
    margin-left: -4.25vw;
  }
}

.main .games .tab-content .cards .win {
  margin-top: -42.5px;
  top: 50%;
  background-image: url("../_img/game-size/win.png");
}

@media (max-width: 1024px) {
  .main .games .tab-content .cards .win {
    margin-top: -4.25vw;
  }
}

.main .games .tab-content .cards .lose {
  top: 40px;
  background-image: url("../_img/game-size/lose.png");
}

@media (max-width: 1024px) {
  .main .games .tab-content .cards .lose {
    top: 4vw;
  }
}

.main .games .tab-content .cards .lose:after {
  content: '';
  display: block;
  width: 210px;
  height: 195px;
  margin-left: -105px;
  position: absolute;
  left: 50%;
  top: 50px;
  background: url("../_img/game-size/lose-xinbaby.png") center no-repeat;
  background-size: contain;
  opacity: 0;
  -webkit-transition: top 1s 1s, opacity 1s 1s;
  transition: top 1s 1s, opacity 1s 1s;
}

@media (max-width: 1024px) {
  .main .games .tab-content .cards .lose:after {
    width: 21vw;
    height: 19.5vw;
    margin-left: -10.5vw;
  }
}

.main .games .tab-content .cards .mr120 {
  margin-right: 120px;
}

@media (max-width: 1024px) {
  .main .games .tab-content .cards .mr120 {
    margin-right: 12vw;
  }
}

.main .games .tab-content .cards .card {
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

.main .games .tab-content .cards .card:before {
  content: '';
  width: 450px;
  height: 450px;
  margin: -225px 0 0 -225px;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  background: url("../_img/light.png") center no-repeat;
  background-size: contain;
  -webkit-animation: whirl 0.5s steps(2) infinite;
          animation: whirl 0.5s steps(2) infinite;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s 1s, visibility 0.5s 1s;
  transition: opacity 0.5s 1s, visibility 0.5s 1s;
}

@media (max-width: 1024px) {
  .main .games .tab-content .cards .card:before {
    width: 45vw;
    height: 45vw;
    margin: -22.5vw 0 0 -22.5vw;
  }
}

.main .games .tab-content .cards .card .group {
  width: 234px;
  height: 328px;
  position: relative;
  z-index: 2;
  background-color: #000;
  border-radius: 15px;
  border: 1px solid #555;
  -webkit-box-shadow: 0 0 10px #000;
          box-shadow: 0 0 10px #000;
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: -webkit-box-shadow 0.5s, -webkit-transform 0.8s 0.3s;
  transition: -webkit-box-shadow 0.5s, -webkit-transform 0.8s 0.3s;
  transition: box-shadow 0.5s, transform 0.8s 0.3s;
  transition: box-shadow 0.5s, transform 0.8s 0.3s, -webkit-box-shadow 0.5s, -webkit-transform 0.8s 0.3s;
}

@media (max-width: 1024px) {
  .main .games .tab-content .cards .card .group {
    width: 22.9vw;
    height: 32.1vw;
    border-radius: 1.5vw;
  }
}

.main .games .tab-content .cards .card .group .front, .main .games .tab-content .cards .card .group .back {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.main .games .tab-content .cards .card .group .front {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.main .games .tab-content .cards .card .group .back {
  background: url("../_img/game-size/back.png") center no-repeat;
  background-size: contain;
  z-index: 2;
  -webkit-transition: opacity 0s 0.3s;
  transition: opacity 0s 0.3s;
}

.main .games .tab-content .cards .card .group img {
  width: 100%;
  height: 100%;
}

.main .games .tab-content .cards .card:hover .group {
  -webkit-box-shadow: 0 0 10px #ffe26e;
          box-shadow: 0 0 10px #ffe26e;
}

.main .games .tab-content .cards .card.is-active .group {
  -webkit-box-shadow: 0 0 20px red;
          box-shadow: 0 0 20px red;
}

.main .games .tab-content .cards.is-disabled.is-win .win {
  -webkit-transform: scale(1);
          transform: scale(1);
  opacity: 1;
}

.main .games .tab-content .cards.is-disabled.is-win .card.is-active:before {
  opacity: 1;
  visibility: visible;
}

.main .games .tab-content .cards.is-disabled.is-lose .lose {
  -webkit-transform: scale(1);
          transform: scale(1);
  opacity: 1;
}

.main .games .tab-content .cards.is-disabled.is-lose .lose:after {
  top: 100px;
  opacity: 1;
}

@media (max-width: 1024px) {
  .main .games .tab-content .cards.is-disabled.is-lose .lose:after {
    top: 10vw;
  }
}

.main .games .tab-content .cards.is-disabled .card .group {
  -webkit-box-shadow: 0 0 10px #000;
          box-shadow: 0 0 10px #000;
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  cursor: no-drop;
}

@media (max-width: 1024px) {
  .main .games .tab-content .cards.is-disabled .card .group {
    -webkit-box-shadow: 0 0 1vw #000;
            box-shadow: 0 0 1vw #000;
  }
}

.main .games .tab-content .cards.is-disabled .card .group div {
  opacity: 0.5;
}

.main .games .tab-content .cards.is-disabled .card .group .back {
  opacity: 0;
}

.main .games .tab-content .cards.is-disabled .card.is-active .group div {
  opacity: 1;
}

.main .games .tab-content .guess {
  padding: 20px 0 40px 0;
  position: relative;
}

@media (max-width: 1024px) {
  .main .games .tab-content .guess {
    padding: 2vw 0 4vw 0;
  }
}

.main .games .tab-content .guess .win, .main .games .tab-content .guess .lose {
  display: none;
  position: absolute;
  background-size: contain !important;
  pointer-events: none;
}

.main .games .tab-content .guess .win {
  width: 450px;
  height: 450px;
  margin: -225px 0 0 -225px;
  left: 50%;
  top: 50%;
  z-index: 1;
  background: url("../_img/light.png") center no-repeat;
  -webkit-animation: whirl 0.5s steps(2) infinite;
          animation: whirl 0.5s steps(2) infinite;
}

@media (max-width: 1024px) {
  .main .games .tab-content .guess .win {
    width: 45vw;
    height: 45vw;
    margin: -22.5vw 0 0 -22.5vw;
  }
}

.main .games .tab-content .guess .lose {
  width: 100%;
  height: 62px;
  left: 0;
  bottom: 0;
  z-index: 10;
  background: url("../_img/game-guess/lose.png") center no-repeat;
  -webkit-transform: translateY(-200px);
          transform: translateY(-200px);
  opacity: 0;
}

@media (max-width: 1024px) {
  .main .games .tab-content .guess .lose {
    height: 6.2vw;
  }
}

.main .games .tab-content .guess button {
  width: 215px;
  height: 152px;
  margin-top: -76px;
  padding: 0;
  position: absolute;
  top: 50%;
  border: 6px solid #fff;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 48px;
  text-align: center;
  -webkit-transition: -webkit-box-shadow 0.5s;
  transition: -webkit-box-shadow 0.5s;
  transition: box-shadow 0.5s;
  transition: box-shadow 0.5s, -webkit-box-shadow 0.5s;
}

@media (max-width: 1024px) {
  .main .games .tab-content .guess button {
    width: 21.5vw;
    height: 15.2vw;
    margin-top: -7.6vw;
    border-width: 0.6vw;
    border-radius: 1vw;
    font-size: 4.5vw;
  }
}

.main .games .tab-content .guess button.btn-positive {
  left: 0;
}

.main .games .tab-content .guess button.btn-negative {
  right: 0;
}

.main .games .tab-content .guess button:not([disabled="disabled"]):hover {
  -webkit-box-shadow: 0 0 10px #ffe26e;
          box-shadow: 0 0 10px #ffe26e;
}

.main .games .tab-content .guess button.is-active {
  color: #fffc00;
  border-color: #fffc00;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.main .games .tab-content .guess .coin {
  width: 275px;
  height: 275px;
  margin: auto;
  position: relative;
  z-index: 5;
  background: url("../_img/game-guess/coin.png") 0 0 no-repeat;
  background-size: 100%;
  -webkit-animation: coin 1s steps(8) infinite;
          animation: coin 1s steps(8) infinite;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .main .games .tab-content .guess .coin {
    width: 26.9vw;
    height: 26.9vw;
    -webkit-animation-name: coin2;
            animation-name: coin2;
  }
}

.main .games .tab-content .guess .coin:hover .hand {
  opacity: 1;
}

.main .games .tab-content .guess .coin.is-run {
  -webkit-animation-duration: 0.1s;
          animation-duration: 0.1s;
}

.main .games .tab-content .guess .coin.heads, .main .games .tab-content .guess .coin.tails {
  -webkit-animation: coin-result 0.5s steps(2) forwards;
          animation: coin-result 0.5s steps(2) forwards;
}

@media (max-width: 1024px) {
  .main .games .tab-content .guess .coin.heads, .main .games .tab-content .guess .coin.tails {
    -webkit-animation-name: coin-result2;
            animation-name: coin-result2;
  }
}

.main .games .tab-content .guess .coin.heads {
  background-image: url("../_img/game-guess/coin-heads.png");
}

.main .games .tab-content .guess .coin.tails {
  background-image: url("../_img/game-guess/coin-tails.png");
}

.main .games .tab-content .guess.is-disabled button {
  cursor: no-drop;
}

.main .games .tab-content .guess.is-disabled .coin {
  cursor: auto;
}

.main .games .tab-content .guess.is-disabled .coin .hand {
  display: none;
}

.main .games .tab-content .guess.is-win .win {
  display: block;
}

.main .games .tab-content .guess.is-lose .lose {
  display: block;
  -webkit-animation: bounceIn 1.5s forwards;
          animation: bounceIn 1.5s forwards;
}

.main .games .tab-content .gua {
  width: 746px;
  height: 346px;
  margin: auto;
  position: relative;
  background: url("../_img/game-gua/gua.jpg") 0 0 no-repeat;
  background-size: 100%;
  -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
          box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  -webkit-transition: -webkit-box-shadow 0.5s;
  transition: -webkit-box-shadow 0.5s;
  transition: box-shadow 0.5s;
  transition: box-shadow 0.5s, -webkit-box-shadow 0.5s;
}

@media (max-width: 1024px) {
  .main .games .tab-content .gua {
    width: 72.9vw;
    height: 33.8vw;
  }
}

.main .games .tab-content .gua:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  border: 6px solid #fff;
}

@media (max-width: 1024px) {
  .main .games .tab-content .gua:before {
    border-width: 0.6vw;
  }
}

.main .games .tab-content .gua div {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  background: center no-repeat;
  background-size: contain;
  opacity: 0;
  -webkit-transition: opacity 0.5s 0.6s;
  transition: opacity 0.5s 0.6s;
  pointer-events: none;
}

.main .games .tab-content .gua div.win {
  background-image: url("../_img/game-gua/win.png");
}

.main .games .tab-content .gua div.lose {
  background-image: url("../_img/game-gua/lose.png");
}

.main .games .tab-content .gua .hand {
  left: auto;
  right: 80px;
  top: auto;
}

@media (max-width: 1024px) {
  .main .games .tab-content .gua .hand {
    right: 8vw;
  }
}

.main .games .tab-content .gua:hover {
  -webkit-box-shadow: 0 0 10px #ffe26e;
          box-shadow: 0 0 10px #ffe26e;
}

.main .games .tab-content .gua:hover .hand {
  opacity: 1;
}

.main .games .tab-content .gua.is-disabled {
  cursor: no-drop;
  -webkit-animation: gua 0.5s steps(4) forwards;
          animation: gua 0.5s steps(4) forwards;
}

@media (max-width: 1024px) {
  .main .games .tab-content .gua.is-disabled {
    -webkit-animation-name: gua2;
            animation-name: gua2;
  }
}

.main .games .tab-content .gua.is-disabled .hand {
  display: none;
}

.main .games .tab-content .gua.is-win .win {
  opacity: 1;
}

.main .games .tab-content .gua.is-lose .lose {
  opacity: 1;
}

.main .games .footer-btns {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -120px;
  z-index: 5;
  text-align: center;
}

@media (max-width: 1024px) {
  .main .games .footer-btns {
    bottom: -12vw;
  }
}

.main .games .footer-btns .btn {
  display: inline-block;
  vertical-align: middle;
}

.main .games .footer-btns .btn-logout {
  margin-left: 15px;
}

@media (max-width: 1024px) {
  .main .games .footer-btns .btn-logout {
    margin-left: 1.5vw;
  }
}

.main .games #game-size {
  background: #0b2e57;
  background: -webkit-gradient(linear, left top, left bottom, from(#0b2e57), to(#0054a0));
  background: linear-gradient(to bottom, #0b2e57 0%, #0054a0 100%);
}

.main .games #game-guess {
  background: #073500;
  background: -webkit-gradient(linear, left top, left bottom, from(#073500), to(#196900));
  background: linear-gradient(to bottom, #073500 0%, #196900 100%);
}

.main .games #game-gua {
  background: #390043;
  background: -webkit-gradient(linear, left top, left bottom, from(#390043), to(#780080));
  background: linear-gradient(to bottom, #390043 0%, #780080 100%);
}

.main .notice {
  padding: 40px;
  position: relative;
  text-align: justify;
  background: #224165 url("../_img/footer-bg-pic.png") center no-repeat;
}

@media (max-width: 1024px) {
  .main .notice {
    padding: 4vw;
    background-size: 187%;
  }
}

.main .notice:before {
  content: '';
  display: block;
  width: 100%;
  height: 120px;
  position: absolute;
  left: 0;
  top: -119px;
  z-index: 0;
  background: url("../_img/footer-bg-top.png") top center no-repeat;
}

@media (max-width: 1024px) {
  .main .notice:before {
    height: 12vw;
    top: -11.9vw;
  }
}

.main .notice .container {
  position: relative;
  z-index: 2;
}

.main .notice .title {
  margin: 0 0 20px 0;
  height: 65px;
  font-size: 0;
  background: url("../_img/notice-title.png") center no-repeat;
  background-size: contain;
}

@media (max-width: 1024px) {
  .main .notice .title {
    margin-bottom: 2vw;
    height: 6.4vw;
  }
}

.main .notice ul > li {
  text-indent: -44px;
  margin-left: 44px;
}

@media (max-width: 1024px) {
  .main .notice ul > li {
    text-indent: -4.4vw;
    margin-left: 4.4vw;
  }
}

.preload {
  display: none;
}

/* ==========================================================================
* footer
 ==========================================================================*/
#footer {
  margin-top: -5px;
  padding-bottom: 100px;
  background: #224165 url("../_img/footer-bg.png") bottom center no-repeat;
  position: relative;
  z-index: 5;
  text-align: center;
}

@media (max-width: 1024px) {
  #footer {
    padding-bottom: 10vw;
    background-size: 187%;
  }
}

#footer .wanin, #footer .yoecard, #footer .level {
  display: inline-block;
  vertical-align: baseline;
}

#footer .wanin {
  width: 360px;
  height: 120px;
  background: url("../_img/wanin.png") center no-repeat;
  background-size: contain;
}

@media (max-width: 1024px) {
  #footer .wanin {
    width: 36vw;
    height: 12vw;
  }
}

#footer .yoecard {
  width: 173px;
  height: 88px;
  margin: 0 20px;
  background: url("../_img/yoecard.png") center no-repeat;
  background-size: contain;
}

@media (max-width: 1024px) {
  #footer .yoecard {
    width: 17.3vw;
    height: 8.8vw;
    margin: 0 2vw;
  }
}

#footer .level {
  width: 72px;
  margin-left: 10px;
}

@media (max-width: 1024px) {
  #footer .level {
    width: 7.2vw;
    margin-left: 1vw;
  }
}

#footer .level img {
  width: 100%;
}

/* 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;
  -webkit-transition: top 1s;
  transition: top 1s;
}

@media (max-width: 1024px) {
  .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: 1024px) {
  .header-text.active {
    top: 10.2vw;
  }
}

.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 */