@charset "UTF-8";
html, body, #main {
  background: linear-gradient(to bottom, #100b67, #0764e7 45em);
  background-color: #0764e7;
  color: #fff;
  overflow-x: hidden;
  min-width: auto !important;
}

#main {
  overflow: hidden;
}

#header {
  background: transparent;
}

#footer {
  background: transparent;
}

.bg-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -5;
  width: 100%;
  max-width: 32em;
  margin: 0 auto;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background: linear-gradient(to bottom, #100b67, #0764e7 45em);
}
.bg-area img {
  width: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.bg-area .bg-center {
  flex: 1 1 auto;
  position: relative;
  top: -0.02em;
  background: url(/img/Event/202610-EasyWallet/bg-bottom.png);
  background-size: cover;
  background-position: center;
}

#article {
  max-width: 1000px;
  left: 50%;
  transform: translate(-50%);
  position: relative;
  top: 0;
}

.container {
  position: relative;
  z-index: -1;
}

#socials {
  filter: drop-shadow(0 0.05em 0.15em rgba(0, 0, 0, 0.5));
}

/*浮動*/
.side-container {
  position: fixed;
  left: 50%;
  transform: translate(-50%);
  top: 2.25em;
  z-index: 5;
  pointer-events: none;
  width: 100%;
  max-width: 26em;
  opacity: 1;
}
.side-container .side-btn {
  pointer-events: all;
  display: block;
  margin-left: auto;
  margin-right: 0.25em;
  width: 3.15em;
  opacity: 1;
  transition: opacity 0.5s;
}
@media (max-width: 900px) {
  .side-container .side-btn {
    opacity: 0;
    pointer-events: none;
  }
}

/*banner*/
#main-banner {
  margin-top: 1.6em;
  max-width: 1000px;
  left: 50%;
  transform: translate(-50%);
  position: relative;
}
#main-banner .title {
  width: 100%;
  height: auto;
}
#main-banner .btn-guide {
  display: block;
  width: 80%;
  max-width: 40em;
  margin: 0.1em auto 0.3em;
  aspect-ratio: 783/105;
  background: url(/img/Event/202610-EasyWallet/btn-guide.png) center/100% 100% no-repeat;
  filter: drop-shadow(0 0.1em 0.2em rgba(0, 0, 0, 0.4));
  transition: filter 0.15s, transform 0.15s;
}
#main-banner .btn-guide:hover, #main-banner .btn-guide:active {
  background-image: url(/img/Event/202610-EasyWallet/btn-guide-hover.png);
  filter: drop-shadow(0 0.1em 0.25em rgba(0, 0, 0, 0.5)) brightness(1.03);
}

/*main*/
section {
  max-width: 967px;
  width: 100%;
  margin: 0 auto 0.6em;
  position: relative;
}
section img.bg {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 每個 section 的背景圖已包含標題與內容文字，寬高比需與圖片原始尺寸一致，避免疊加的按鈕位置跑掉 */
#section-cashback {
  aspect-ratio: 967/521;
}

#section-coupon {
  aspect-ratio: 967/381;
}

#section-notice {
  aspect-ratio: 967/495;
  margin-bottom: 1em;
}

/* 疊加在背景圖上的「活動詳情」小按鈕，位置以背景圖實際像素比例換算 */
.btn-small {
  position: absolute;
  right: 5.4%;
  width: 16.75%;
  aspect-ratio: 163/58;
  background: url(/img/Event/202610-EasyWallet/btn-small.png) center/100% 100% no-repeat;
  transition: filter 0.15s;
}
.btn-small:hover, .btn-small:active {
  background-image: url(/img/Event/202610-EasyWallet/btn-small-hover.png);
}
.btn-small.row1 {
  top: 21.7%;
}
.btn-small.row2 {
  top: 39%;
}
.btn-small.row3 {
  top: 55.9%;
}

/* 疊加在背景圖上的大按鈕（下載 / 活動詳情前往了解） */
.btn-download,
.btn-detail {
  position: absolute;
  left: 5.4%;
  width: 89.2%;
  aspect-ratio: 783/105;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0.1em 0.2em rgba(0, 0, 0, 0.4));
  transition: filter 0.15s, transform 0.15s;
}
.btn-download:hover, .btn-download:active,
.btn-detail:hover,
.btn-detail:active {
  filter: drop-shadow(0 0.1em 0.25em rgba(0, 0, 0, 0.5)) brightness(1.03);
}

.btn-download {
  top: 71.8%;
  background-image: url(/img/Event/202610-EasyWallet/btn-download.png);
}
.btn-download:hover, .btn-download:active {
  background-image: url(/img/Event/202610-EasyWallet/btn-download-hover.png);
}

.btn-detail {
  top: 59.5%;
  background-image: url(/img/Event/202610-EasyWallet/btn-detail.png);
}
.btn-detail:hover, .btn-detail:active {
  background-image: url(/img/Event/202610-EasyWallet/btn-detail-hover.png);
}

/*==============*/
/* MODAL STYLES */
.modal {
  font: 400 60px/1.5 Arial, Helvetica, sans-serif;
  display: none;
}
.modal.active {
  display: flex;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal .mask {
  z-index: -3;
  position: fixed;
  top: -50vh;
  left: -50vw;
  bottom: -50vh;
  right: -50vw;
  background: rgba(0, 0, 0, 0.75);
  animation: fade 0.4s ease-out;
}
@supports (backdrop-filter: blur(0.1em)) {
  .modal .mask {
    backdrop-filter: blur(0.1em);
    background: rgba(8, 8, 8, 0.8);
    transition: backdrop-filter 0.5s ease-out;
  }
}

/* 關閉鈕改為錨定在 .modal-content 自己的右上角，
   不論內容是短文字還是長圖片，位置都固定在同一個相對角落，不再跑位 */
.btn-close {
  font: inherit;
  font-weight: 700;
  display: block;
  position: absolute;
  z-index: 2;
  top: -0.5em;
  right: -0.4em;
  width: 1.4em;
  height: 1.4em;
  border: none;
  margin: 0;
  background: url(/img/Event/202610-EasyWallet/close.png) no-repeat center/contain;
  overflow: hidden;
  outline: none;
  cursor: pointer;
  transition: filter 0.2s;
}
.btn-close:hover, .btn-close:focus, .btn-close:active {
  filter: brightness(1.1) drop-shadow(0 0.1em 0.05em rgba(24, 8, 24, 0.5));
}
@media (max-width: 576px) {
  .btn-close {
    width: 1em;
    height: 1em;
  }
}

.modal-overflow {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  max-height: 100vh;
  scrollbar-width: none;
}
.modal-overflow::-webkit-scrollbar {
  width: 0px;
}

.modal-window {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 6em;
  max-width: 20em;
  margin: 0 auto;
}

.modal-content {
  padding: 0.5em 0;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  border: 4px solid #FFFFFF;
  border-radius: 0.5em;
  width: 12em;
  margin: 1em auto;
  z-index: 0;
  color: white;
}
@media (max-width: 991px) {
  .modal-content {
    width: 12em;
  }
}
@media (max-width: 767px) {
  .modal-content {
    width: 85%;
  }
}
.modal-content h3 {
  font-size: 1em;
  padding-top: 0.5em;
}
@media (max-width: 576px) {
  .modal-content h3 {
    font-size: 0.8em;
  }
}
@media (max-width: 395px) {
  .modal-content h3 {
    font-size: 0.5em;
  }
}

.modal-content.guide img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding-bottom: 0.4em;
}
@media (max-width: 767px) {
  .modal-content.guide img {
    padding-bottom: 0;
  }
}/*# sourceMappingURL=main.css.map */