@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html * {
  font-family: "Microsoft JhengHei";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  background-color: #820000;
  color: #373737;
  font-size: 18px;
  font-weight: bold;
}

* {
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-decoration: none;
}

.wrap {
  width: 100%;
  min-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

.header {
  width: 100%;
  height: 1160px;
  background: url(../images/header.jpg) no-repeat center top;
}

#J-sparks {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.logo {
  position: absolute;
  display: block;
  width: 255px;
  height: 173px;
  background: url("../images/logo.png") no-repeat;
  left: 20px;
  top: 10px;
  z-index: 100;
}

.social-btns {
  position: absolute;
  z-index: 100;
  width: 94px;
  height: 376px;
  top: 0;
  right: 30px;
  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;
  padding-top: 135px;
  padding-bottom: 40px;
  background: url("../images/social-btn-bg.png") center no-repeat;
}
.social-btns a {
  display: block;
  width: 57px;
  height: 57px;
}
.social-btns a.mem_btn {
  background: url("../images/social-btn1.png") center no-repeat;
}
.social-btns a.home_btn {
  background: url("../images/social-btn2.png") center no-repeat;
}
.social-btns a.fb_btn {
  background: url("../images/social-btn3.png") center no-repeat;
}

.m-social-btns {
  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;
  gap: 10px;
  margin-top: 20px;
}
.m-social-btns a {
  display: block;
  width: 57px;
  height: 57px;
  border-bottom: none !important;
}
.m-social-btns a.mem_btn {
  background: url("../images/social-btn1.png") center no-repeat;
}
.m-social-btns a.home_btn {
  background: url("../images/social-btn2.png") center no-repeat;
}
.m-social-btns a.fb_btn {
  background: url("../images/social-btn3.png") center no-repeat;
}

.container {
  width: 100%;
  height: auto;
  padding-bottom: 30px;
  padding-top: 30px;
}

.title {
  position: absolute;
  left: 50%;
  margin-left: -527px;
  bottom: 0;
  width: 1054px;
  height: 367px;
  background: url("../images/title.png") center no-repeat;
}

.event-period {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.subtitle {
  width: 100%;
  text-align: center;
  margin: auto;
  margin-bottom: 20px;
  z-index: 12;
}
.subtitle .subtitle-m {
  display: none;
}

.content-box {
  width: 1242px;
  margin: 0 auto 30px auto;
}
.content-box .content-top {
  width: 1242px;
  height: 98px;
  z-index: 10;
  background: url("../images/content-top.png") center no-repeat;
}
.content-box .content-middle {
  width: 1242px;
  height: auto;
  padding: 0 100px;
  z-index: 10;
  background: url("../images/content-middle.png") center repeat-y;
}
.content-box .content-bottom {
  width: 1242px;
  height: 98px;
  z-index: 10;
  background: url("../images/content-bottom.png") center no-repeat;
}

.footer {
  width: 100%;
  height: 130px;
  background: #300000;
  color: #c48181;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.red {
  color: #9c0000;
}

.cont-d-list {
  font-size: 18px;
  color: #373737;
  line-height: 1.5;
}
.cont-d-list > li {
  margin-bottom: 5px;
}

.word-style1 {
  font-weight: bold;
  font-size: 20px;
  color: #6e0900;
  margin-bottom: 20px;
}

.btn-login {
  display: block;
  width: 234px;
  height: 46px;
  background: url("../images/btn-login.png") center no-repeat;
  outline: none;
  border: none;
  margin: 0 auto;
  cursor: pointer;
  -webkit-transition: -webkit-filter 0.3s ease;
  transition: -webkit-filter 0.3s ease;
  transition: filter 0.3s ease;
  transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}
.btn-login:hover {
  -webkit-filter: brightness(1.2);
          filter: brightness(1.2); /* 變亮 20% */
}

.total-topup-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 12;
}
.total-topup-info p {
  font-size: 24px;
  color: #222222;
  font-weight: bold;
  margin: 0;
}

.mem-id {
  color: #535353;
}

.popup-amount {
  padding: 0 10px;
  color: #820000;
}

.btn-logout {
  display: block;
  width: 138px;
  height: 46px;
  background: url("../images/btn-logout.png") center no-repeat;
  outline: none;
  border: none;
  margin-left: auto;
  cursor: pointer;
  -webkit-transition: -webkit-filter 0.3s ease;
  transition: -webkit-filter 0.3s ease;
  transition: filter 0.3s ease;
  transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}
.btn-logout:hover {
  -webkit-filter: brightness(1.2);
          filter: brightness(1.2); /* 變亮 20% */
}

.gift-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  list-style: none;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 20px;
  padding: 0;
  margin: 30px 0 0 0;
  z-index: 15;
}
.gift-list li {
  width: 240px;
  height: 252px;
}

.gift-list1 {
  background: url("../images/gift-1.png") center no-repeat;
}

.gift-list2 {
  background: url("../images/gift-2.png") center no-repeat;
}

.gift-list3 {
  background: url("../images/gift-3.png") center no-repeat;
}

.gift-list4 {
  background: url("../images/gift-4.png") center no-repeat;
}

.gift-list5 {
  background: url("../images/gift-5.png") center no-repeat;
}

.gift-list6 {
  background: url("../images/gift-6.png") center no-repeat;
}

.gift-list7 {
  background: url("../images/gift-7.png") center no-repeat;
}

.gift-list8 {
  background: url("../images/gift-8.png") center no-repeat;
}

.btn-claim {
  width: 138px;
  height: 46px;
  outline: none;
  border: none;
  background: url("../images/btn-claim.png") center no-repeat;
  cursor: pointer;
  position: absolute;
  left: 50%;
  margin-left: -69px;
  bottom: 40px;
  -webkit-transition: -webkit-filter 0.3s ease;
  transition: -webkit-filter 0.3s ease;
  transition: filter 0.3s ease;
  transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}
.btn-claim:hover {
  -webkit-filter: brightness(1.2);
          filter: brightness(1.2); /* 變亮 20% */
}

.btn-claimed {
  width: 138px;
  height: 46px;
  outline: none;
  border: none;
  background: url("../images/btn-claimed.png") center no-repeat;
  position: absolute;
  left: 50%;
  margin-left: -69px;
  bottom: 40px;
}

.btn-locked {
  width: 138px;
  height: 46px;
  outline: none;
  border: none;
  background: url("../images/btn-locked.png") center no-repeat;
  position: absolute;
  left: 50%;
  margin-left: -69px;
  bottom: 40px;
}

.card-popup-wrapper {
  position: absolute;
  width: 100%;
  bottom: 90px;
  text-align: center;
  font-weight: bold;
  color: #6d2b00;
  font-size: 12px;
}

.card-link {
  text-decoration: underline;
  color: #d80000; /* 紅色 */
  font-weight: bold;
  cursor: pointer;
  -webkit-animation: redColorFlash 0.3s infinite alternate;
          animation: redColorFlash 0.3s infinite alternate;
}

@-webkit-keyframes redColorFlash {
  from {
    color: #d80000; /* 深紅 */
  }
  to {
    color: #ff6b6b; /* 亮紅 / 粉紅偏紅 */
  }
}

@keyframes redColorFlash {
  from {
    color: #d80000; /* 深紅 */
  }
  to {
    color: #ff6b6b; /* 亮紅 / 粉紅偏紅 */
  }
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.show {
  visibility: visible;
  opacity: 1;
}

.popup-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.popup img {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  border: 4px solid #fff;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 20px #000;
          box-shadow: 0 0 20px #000;
  opacity: 0;
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.popup.show img {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.hr-line {
  width: 1034px;
  height: 39px;
  background: url("../images/hr-line.png") center no-repeat;
  margin: 30px auto;
}

.notice-title {
  width: 240px;
  height: 33px;
  margin-bottom: 20px;
  background: url("../images/notice-title.png") center no-repeat;
}

.notice-list {
  font-size: 18px;
  color: #89715d;
  line-height: 1.5;
  padding-bottom: 10px;
  z-index: 12;
}
.notice-list > li {
  margin-left: 1em;
  margin-bottom: 5px;
}

.cont-s {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  z-index: 12;
}
.cont-s .subtitle-s {
  margin-right: 20px;
}

.cont-d {
  z-index: 12;
}
.cont-d .word {
  padding-left: 1em;
  padding-right: 1em;
  line-height: 1.5;
}

.cont-d-list {
  font-size: 18px;
  color: #373737;
  line-height: 1.5;
}
.cont-d-list > li {
  margin-left: 1em;
  margin-bottom: 5px;
}

.sec2-gift-list {
  width: 100%;
  background: #b59568;
  color: #fff;
  border-radius: 15px;
  padding: 40px 30px 30px 30px;
  margin-top: 50px;
  margin-bottom: 30px;
  z-index: 12;
}

.sec2-gift-list-title {
  width: 507px;
  height: 44px;
  background: url("../images/gift-title1.png") center no-repeat;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  top: -23px;
}

.sec3-gift-list {
  width: 50%;
  background: #b59568;
  color: #fff;
  border-radius: 15px;
  padding: 40px 30px 30px 30px;
  margin: 50px auto 30px auto;
  z-index: 12;
}

.sec3-gift-list-title {
  width: 507px;
  height: 44px;
  background: url("../images/gift-title2.png") center no-repeat;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  top: -23px;
}

.sec3-gift-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.sec3-gift-table tr, .sec3-gift-table td {
  border: 1px solid #e7d5bc;
  text-align: center;
}
.sec3-gift-table td {
  padding: 5px;
}

.sec1-pic {
  position: absolute;
  right: -379px;
  bottom: 14px;
  width: 558px;
  height: 995px;
  z-index: 11;
  pointer-events: none;
  background: url("../images/sec1-pic.png") center no-repeat;
}

.sec2-pic {
  position: absolute;
  left: -319px;
  bottom: 130px;
  width: 508px;
  height: 970px;
  z-index: 11;
  background: url("../images/sec2-pic.png") center no-repeat;
}

.sec2-pic2 {
  position: absolute;
  right: -29px;
  top: 0px;
  width: 180px;
  height: 273px;
  z-index: 11;
  background: url("../images/sec2-pic2.png") center no-repeat;
}

.sec3-pic {
  position: absolute;
  right: -134px;
  bottom: 212px;
  width: 521px;
  height: 800px;
  z-index: 11;
  background: url("../images/sec3-pic.png") center no-repeat;
}

.sec1-pic-bg {
  position: absolute;
  left: -656px;
  top: -230px;
  width: 881px;
  height: 1572px;
  background: url("../images/sec1-pic-bg.png") center no-repeat;
  z-index: 2;
}

.sec2-pic-bg {
  position: absolute;
  right: -656px;
  top: -230px;
  width: 965px;
  height: 1843px;
  background: url("../images/sec2-pic-bg.png") center no-repeat;
  z-index: 2;
}

.sec3-pic-bg {
  position: absolute;
  left: -426px;
  top: -60px;
  width: 850px;
  height: 1307px;
  background: url("../images/sec3-pic-bg.png") center no-repeat;
  z-index: 2;
}

.shine-wrapper {
  width: 100px;
  height: 100px;
  position: relative;
  display: inline-block;
}

.shine-star {
  width: 100%;
  height: auto;
  -webkit-animation: shineFlash 1.5s infinite ease-in-out;
          animation: shineFlash 1.5s infinite ease-in-out;
  -webkit-transform-origin: center center;
          transform-origin: center center;
}

.shine1 {
  position: absolute;
  top: 133px;
  left: 30px;
}

.shine2 {
  position: absolute;
  top: 183px;
  left: 80px;
  -webkit-transform: scale(0.3);
          transform: scale(0.3);
}
.shine2 img {
  -webkit-animation: shineFlash 2.5s infinite ease-in-out;
          animation: shineFlash 2.5s infinite ease-in-out;
}

.shine3 {
  position: absolute;
  top: -13px;
  left: 303px;
}
.shine3 img {
  -webkit-animation: shineFlash 1.8s infinite ease-in-out;
          animation: shineFlash 1.8s infinite ease-in-out;
}

.shine4 {
  position: absolute;
  top: 168px;
  left: 358px;
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
}
.shine4 img {
  -webkit-animation: shineFlash 2.4s infinite ease-in-out;
          animation: shineFlash 2.4s infinite ease-in-out;
}

.shine5 {
  position: absolute;
  top: 160px;
  left: 653px;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
}
.shine5 img {
  -webkit-animation: shineFlash 2.5s infinite ease-in-out;
          animation: shineFlash 2.5s infinite ease-in-out;
}

.shine6 {
  position: absolute;
  top: 83px;
  left: 871px;
}
.shine6 img {
  -webkit-animation: shineFlash 1.2s infinite ease-in-out;
          animation: shineFlash 1.2s infinite ease-in-out;
}

.shine7 {
  position: absolute;
  top: 177px;
  left: 920px;
  -webkit-transform: scale(0.7);
          transform: scale(0.7);
}
.shine7 img {
  -webkit-animation: shineFlash 1.9s infinite ease-in-out;
          animation: shineFlash 1.9s infinite ease-in-out;
}

@-webkit-keyframes shineFlash {
  0%, 100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  50% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
}

@keyframes shineFlash {
  0%, 100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  50% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
}
.card-popup-wrapper-m {
  display: none;
}

.fadein-target-right {
  opacity: 0;
  -webkit-transform: translateX(30px);
          transform: translateX(30px);
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease, -webkit-transform 0.6s ease;
}

.fadein-target-left {
  opacity: 0;
  -webkit-transform: translateX(-30px);
          transform: translateX(-30px);
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease, -webkit-transform 0.6s ease;
}

.fadein-target-right.show, .fadein-target-left.show {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

/* 漢堡選單按鈕 */
.hamburger {
  display: none;
  position: fixed;
  top: 15px;
  right: -100%;
  opacity: 0;
  width: 40px;
  height: 40px;
  background: #684d08;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  z-index: 1000;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: white;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.hamburger div::before,
.hamburger div::after {
  content: "";
  width: 25px;
  height: 3px;
  background: white;
  position: absolute;
  left: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.hamburger div::before {
  top: -8px;
}

.hamburger div::after {
  top: 8px;
}

/* 漢堡選單開啟時變叉叉 */
.hamburger.active div {
  background: transparent;
}

.hamburger.active div::before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  top: 0;
}

.hamburger.active div::after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  top: 0;
}

.gold-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #240000 !important;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  -webkit-transition: all 3.5s ease-in-out;
  transition: all 3.5s ease-in-out;
  background: url("../images/gold.jpg") center no-repeat;
}

/* 亮光動畫 */
.gold-btn::before {
  content: "";
  position: absolute;
  width: 503px;
  height: 348px;
  background: url("../images/gold_btn_light.png") center no-repeat;
  top: -200%;
  left: -700%;
  -webkit-transition: all 3.5s ease-in-out;
  transition: all 3.5s ease-in-out;
}

/* 添加閃爍動畫 */
@-webkit-keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 50%;
  }
  100% {
    left: 100%;
  }
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 50%;
  }
  100% {
    left: 100%;
  }
}
.gold-btn::before {
  -webkit-animation: shimmer 2s infinite linear;
          animation: shimmer 2s infinite linear;
}

/* 側邊選單 */
.menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: rgba(36, 28, 10, 0.9);
  color: white;
  padding-top: 60px;
  -webkit-transition: left 0.3s ease;
  transition: left 0.3s ease;
  z-index: 999;
}

.menu.active {
  left: 0;
}

.menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 15px;
  font-size: 18px;
  border-bottom: 1px solid #555;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

/* 內部滾動按鈕 */
.scroll-btn {
  display: block;
  color: white;
  text-decoration: none;
  padding: 15px;
  font-size: 18px;
  border-bottom: 1px solid #555;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
  cursor: pointer;
}

.scroll-btn:hover {
  background: #555;
}

.event-period-m {
  display: none;
}

@media (max-width: 767px) {
  .wrap {
    min-width: 0;
  }
  .header {
    height: auto;
    padding-top: 95.44%;
    background: url("../images/header-m.jpg") no-repeat center;
    background-size: cover;
  }
  .title {
    display: none;
  }
  .event-period {
    display: none;
  }
  .event-period-m {
    display: block;
    margin-bottom: 20px;
  }
  .event-period-m img {
    width: 100%;
  }
  .logo {
    display: none;
  }
  .social-btns {
    display: none;
  }
  .subtitle .subtitle-pc {
    display: none;
  }
  .subtitle .subtitle-m {
    width: 100%;
    display: block;
  }
  .content-top, .content-bottom {
    display: none;
  }
  .container {
    padding: 0 2%;
  }
  .content {
    display: block;
    margin-bottom: 20px;
  }
  .content-box {
    width: 100%;
  }
  .content-middle {
    width: 95% !important;
    margin: 0 auto;
    background-color: #fff8e4 !important; /* 淡奶油色 */
    border-radius: 10px;
    border: 6px solid #ebbf6b; /* 金色外框 */
    padding: 4% !important;
    z-index: 12;
  }
  .sec1-pic, .sec2-pic, .sec2-pic2, .sec3-pic, .sec1-pic-bg, .sec2-pic-bg, .sec3-pic-bg {
    display: none;
  }
  .gift-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0;
  }
  .gift-list li {
    width: 49%;
    height: auto;
    background-size: contain;
    padding-top: 51.31%;
    margin-bottom: 2%;
  }
  .gift-list8 {
    background: url("../images/gift-8-m.png") center no-repeat;
  }
  .gift-list7 {
    background: url("../images/gift-7-m.png") center no-repeat;
  }
  .card-popup-wrapper {
    display: none;
  }
  .hr-line {
    width: 100%;
    padding-top: 6.25%;
    background: url("../images/hr-line-m.png") center no-repeat;
    margin: 30px auto;
    background-size: contain;
  }
  .btn-claim, .btn-claimed, .btn-locked {
    width: 65%;
    height: auto;
    background-size: contain;
    padding-top: 51.31%;
    bottom: 4%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    margin-left: 0;
  }
  .total-topup-info {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .total-topup-info p {
    width: 100%;
  }
  .total-topup-info button {
    margin: 20px auto 0 auto;
  }
  .sec2-gift-list-title {
    background: url("../images/gift-title1-m.png") center no-repeat;
  }
  .sec3-gift-list-title {
    background: url("../images/gift-title2-m.png") center no-repeat;
  }
  .sec2-gift-list-title, .sec3-gift-list-title {
    width: 100%;
    background-size: contain;
    padding-top: 8.51%;
  }
  .sec3-gift-list {
    width: 100%;
  }
  .sec2-gift-list {
    padding: 8% 5% 5% 5%;
  }
  .title-box {
    margin-bottom: 2%;
  }
  .title-box img {
    width: 100%;
  }
  body {
    font-size: 1em !important;
  }
  .cont-s {
    display: block;
    z-index: 12;
  }
  .cont-s .word {
    padding: 0 0 0 15px;
  }
  .cont-d .word {
    width: 100% !important;
  }
  .cont-d {
    margin-bottom: 5%;
  }
  .hamburger {
    right: 15px;
    opacity: 1;
  }
  #J-sparks {
    display: none;
  }
  .logout-btn {
    width: 100%;
    height: 50px;
    position: relative;
    margin: 0 auto;
    top: 0;
    right: 0;
    margin-bottom: 20px;
    background: #8d857b;
    color: #fff;
    font-size: 18px;
    text-indent: 0; /* 將文字推到可視範圍外 */
  }
  .card-popup-wrapper-m {
    display: block;
  }
}