.kv {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to right,
    rgb(32 0 139) 0%,
    rgb(44 0 172) 50%,
    rgb(51 0 202) 100%
  );
}

.kv img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}
.kv h1 {
  margin: 0;
  padding: 0;
  line-height: 0;
  text-indent: -9999px;
}
.kv__logo {
  max-width: 250px;
  margin: auto;
  /* filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); */
  position: relative;
  z-index: 5;
  margin-bottom: -7%;
}

.kv__img {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.kv__bg {
  position: relative;
  z-index: 0;
}

.kv__title {
  position: relative;
  z-index: 4;
  opacity: 0;
  -webkit-transform: translate3d(-48px, 0, 0);
  transform: translate3d(-48px, 0, 0);
  -webkit-animation: kvTitleReveal 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.18s
    forwards;
  animation: kvTitleReveal 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.kv__img.kv__img--1,
.kv__img.kv__img--2 {
  z-index: 2;
  will-change: transform;
  -webkit-animation: kvFloatY 3.5s ease-in-out infinite;
  animation: kvFloatY 3.5s ease-in-out infinite;
}

.kv__img.kv__img--2 {
  -webkit-animation-delay: -1.75s;
  animation-delay: -1.75s;
}
.kv .star {
  position: absolute;
}

.kv .star-1 {
  width: 5%;
  top: 10%;
  left: 15%;
  -webkit-animation: rotate 5s linear infinite;
  animation: rotate 5s linear infinite;
}

@media (min-width: 996px) {
  .kv__logo {
    position: absolute;
    top: 5%;
    left: 5%;
    z-index: 3;
    max-width: 250px;
    margin: 0;
    margin-bottom: 0;
  }

  .kv .star-1 {
    width: 40px;
    top: 25%;
    left: 20%;
  }

  .kv__title {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
  }
}

.kv .star-2 {
  width: 6.5%;
  top: 15%;
  left: 55%;
  -webkit-animation: rotate 3s linear infinite;
  animation: rotate 3s linear infinite;
}

@media (min-width: 996px) {
  .kv .star-2 {
    width: 40px;
    top: 25%;
    left: 60%;
  }
}

.kv .star-3 {
  width: 5%;
  right: 5%;
  bottom: 15%;
  -webkit-animation: rotate 4s linear infinite;
  animation: rotate 4s linear infinite;
}

@media (min-width: 996px) {
  .kv .star-3 {
    width: 40px;
    right: 20%;
    bottom: 20%;
  }
}

@-webkit-keyframes rotate {
  0%,
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  0%,
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes kvTitleReveal {
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes kvTitleReveal {
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@-webkit-keyframes kvFloatY {
  0%,
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  50% {
    -webkit-transform: translate3d(0, -16px, 0);
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes kvFloatY {
  0%,
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  50% {
    -webkit-transform: translate3d(0, -16px, 0);
    transform: translate3d(0, -16px, 0);
  }
}

.plan {
  --radius: 20px;
  padding-bottom: 5%;
}

.plan__card {
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  text-align: center;
  color: #222;
  margin-bottom: 20px;
  border: 3px solid #803bff;
}

@media (min-width: 996px) {
  .plan__card {
    --radius: 50px;
    position: relative;
    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;
    margin-bottom: 45px;
    overflow: hidden;
  }
  .plan__card::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 24%;
    height: 150%;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    background: #803bff;
  }
}

.plan__badge {
  padding: 15px 0;
  border-bottom: #333 1px solid;
  width: 60%;
  margin: 0 auto;
  max-width: 250px;
}

@media (min-width: 996px) {
  .plan__badge {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 15%;
    flex: 0 0 15%;
    border: none;
  }
  .plan__badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: 110%;
    width: 2px;
    height: 100%;
    background: #803bff;
  }
}

.plan__combo {
  padding: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (min-width: 996px) {
  .plan__combo {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 55%;
    flex: 0 0 55%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

@media (min-width: 996px) {
  .plan__pd {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 45%;
    flex: 0 0 45%;
  }
}

.plan__pd h4 {
  padding-bottom: 10px;
  line-height: 1.2;
}

.plan__pd h4 span {
  display: block;
  font-size: 80%;
}

.plan__pd ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
}

.plan__pd li {
  border: #803bff 1px solid;
  padding: 10px;
  border-radius: 10px;
  font-size: 16px;
}

.plan-plus {
  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;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  background: #803bff;
  color: #fff;
  margin: 20px auto;
}

.plan__gift {
  position: relative;
}

@media (min-width: 996px) {
  .plan__gift {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    color: #fff;
  }
}

.plan__gift::before {
  content: "";
  position: absolute;
  inset: 0 0 0 -10%;
  width: 150%;
  height: 150%;
  background: url("../images/bg-card.jpg") top left no-repeat;
  background-size: cover;
  -webkit-transform: rotate(-5deg);
  transform: rotate(-5deg);
}

@media (min-width: 996px) {
  .plan__gift::before {
    -webkit-transform: rotate(5deg);
    transform: rotate(5deg);
    top: -22%;
    left: 5%;
  }
}

.plan__gift figure {
  position: relative;
  padding: 25px;
  font-weight: bold;
  text-transform: uppercase;
}

.plan__gift figure img {
  margin: 0 auto;
  max-width: 130px;
}

@media (min-width: 996px) {
  .plan__gift figure {
    font-size: 16px;
  }
  .plan__gift figure figcaption {
    width: 90%;
    margin: 0 auto;
    max-width: auto;
  }
}

.plan__btns a {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (min-width: 996px) {
  .plan__btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
  }
}

.wtb {
  padding: 45px 0;
}

.wtb h2 {
  text-align: center;
  padding-bottom: 40px;
}

.popup {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: none;
}

.popup__inner {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 90%;
  margin: 0 auto;
  max-width: 1000px;
  height: auto;
  overflow: visible;
  background: transparent;
  color: #222;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.popup__wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.28);
  background: #f4f2f8;
  -webkit-box-shadow:
    0 28px 72px rgba(24, 11, 48, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  box-shadow:
    0 28px 72px rgba(24, 11, 48, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.popup__close {
  position: absolute;
  z-index: 30;
  left: auto;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

/* index1：關閉鈕為 inner 直接子層，在 wrapper 框外 */
.popup__inner > .popup__close {
  top: -12px;
  right: -12px;
}

/* index：關閉鈕在 wrapper 內，置於標題區右上（避免 overflow 裁切） */
.popup__wrapper > .popup__close {
  top: 10px;
  right: 10px;
}

.popup__close::before {
  font-family: "msi-icons" !important;
  content: "\ea02";
  color: #fff;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  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;
  background: linear-gradient(
    140deg,
    #5b21b6 0%,
    #6d28d9 35%,
    #7c3aed 70%,
    #a78bfa 100%
  );
  -webkit-box-shadow:
    0 3px 12px rgba(91, 33, 182, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow:
    0 3px 12px rgba(91, 33, 182, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  -webkit-transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  cursor: pointer;
}

.popup__close:hover::before {
  background: linear-gradient(
    145deg,
    #4c1d95 0%,
    #6d28d9 45%,
    #8b5cf6 85%,
    #c4b5fd 100%
  );
  -webkit-box-shadow:
    0 5px 18px rgba(76, 29, 149, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  box-shadow:
    0 5px 18px rgba(76, 29, 149, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.popup__close:active::before {
  -webkit-transform: scale(0.96);
  transform: scale(0.96);
}

@media (min-width: 996px) {
  .popup__inner > .popup__close {
    top: 20px;
    right: -47px;
    width: 48px;
    height: 48px;
  }

  .popup__wrapper > .popup__close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
  }

  .popup__close::before {
    width: 100%;
    height: 100%;
    font-size: 26px;
  }
}

/* 關閉鈕在 wrapper 內時，標題右側預留空間 */
.popup__wrapper:has(> .popup__close) .popup__header {
  padding-right: 52px;
}

.popup__header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  margin: 0;
  padding: 18px 20px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(
    105deg,
    #4c1d95 0%,
    #5b21b6 35%,
    #7c3aed 78%,
    #8b5cf6 100%
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

@media (min-width: 996px) {
  .popup__header {
    font-size: 30px;
  }

  .popup__wrapper:has(> .popup__close) .popup__header {
    padding-right: 64px;
  }
}

.popup__content {
  height: 80vh;
  overflow-y: auto;
  padding: 25px;
  background: #f7f5fb;
  scrollbar-width: thin;
  scrollbar-color: #9d7bf0 rgba(124, 58, 237, 0.08);
}

.popup__content::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.popup__content::-webkit-scrollbar-track {
  background: rgba(124, 58, 237, 0.06);
  border-radius: 100px;
}

.popup__content::-webkit-scrollbar-thumb {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#a78bfa),
    color-stop(50%, #8b5cf6),
    to(#6d28d9)
  );
  background: linear-gradient(to bottom, #c4b5fd 0%, #8b5cf6 45%, #6d28d9 100%);
  border-radius: 100px;
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.popup__content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #ddd6fe 0%, #7c3aed 50%, #5b21b6 100%);
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

@media (min-width: 996px) {
  .popup__content {
    padding: 50px;
  }
}

.terms {
  font-size: 17px;
  line-height: 1.8;
  font-weight: normal;
}

.terms-title {
  font-weight: bold;
  font-size: 20px;
  padding-bottom: 15px;
  margin-top: 25px;
}

.terms ul {
  margin-left: 20px;
}

.terms ul li {
  list-style: disc;
  padding: 5px 0;
}

.terms ol {
  margin-left: 25px;
}

.terms ol li {
  list-style: lower-roman;
}

.terms h4 {
  padding: 15px 0;
}

.terms a {
  color: #dc1a92;
  text-decoration: underline;
}

.terms a:hover {
  text-decoration: none;
}

.terms h3.terms__title {
  margin: 2rem 0 0;
  padding: 0.7rem 1rem 0.7rem 1rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: #4c1d95;
  border-left: 4px solid #7c3aed;
  background: linear-gradient(
    90deg,
    rgba(124, 58, 237, 0.14) 0%,
    rgba(124, 58, 237, 0.04) 50%,
    transparent 100%
  );
}

.terms h3.terms__title:first-of-type {
  margin-top: 0;
}

.terms p {
  margin: 0 0 1.35rem;
  padding: 0 0.25rem 0 1.15rem;
  color: #3d3d45;
  font-size: 16px;
  line-height: 1.78;
  font-weight: 400;
  border-left: 2px solid rgba(124, 58, 237, 0.2);
}

.terms h3.terms__title + p {
  margin-top: 0.75rem;
  border-left-color: rgba(124, 58, 237, 0.12);
}

.terms ul,
.terms ol {
  margin: 0.35rem 0 1.5rem;
  padding-left: 1.5rem;
  color: #35353d;
}

.terms h3.terms__title + ul {
  margin-top: 0.5rem;
}

.terms ul li,
.terms ol li {
  padding: 0.35rem 0;
}

.terms table {
  display: table;
  margin-top: 10px;
  width: 100%;
}

.terms table th {
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#dc7d6e),
    color-stop(#e6ac75),
    to(#ea5a5a)
  );
  background: linear-gradient(to right, #dc7d6e, #e6ac75, #ea5a5a);
  padding: 10px;
  color: #fff;
}

.terms table td {
  border: #ccc 1px solid;
  padding: 10px;
}

.redeemBox .redeem {
  padding: 25px 25px 40px;
  text-align: center;
}

.redeemBox .redeem a {
  color: #dc1a9b;
  text-decoration: underline;
}

.redeemBox .redeem a:hover {
  text-decoration: none;
}

.diablo {
  text-align: center;
}

.diablo a {
  color: #c2962f;
}

.diablo a:hover {
  text-decoration: underline;
}

.diablo .redeem__step {
  font-weight: bold;
  padding-bottom: 20px;
  margin-top: 40px;
}

.diablo .redeem__step span {
  display: inline-block;
  background: linear-gradient(
    45deg,
    rgba(129, 32, 103, 0.5),
    rgba(255, 98, 161, 0.5)
  );
  border-radius: 20px;
  padding: 10px;
  color: #fff;
}

.diablo .redeem__step:first-child {
  margin-top: 0;
}

.diablo .redeem__text {
  width: 90%;
  margin: 0 auto;
  max-width: 800px;
}

.diablo .redeem__note {
  opacity: 0.6;
  padding-top: 15px;
  font-size: 14px;
}

.project {
  position: relative;
  color: #fff;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#dfdfdf),
    color-stop(50%, #f1f1f1),
    to(#ffffff)
  );
  background: linear-gradient(to bottom, #dfdfdf 0%, #f1f1f1 50%, #ffffff);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}

.project img {
  max-width: 100%;
  vertical-align: bottom;
}

.project picture {
  display: block;
}

.project section {
  position: relative;
  z-index: 2;
}

.project .common-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-width: 1330px;
  padding: 25px;
}

.project .common-title span {
  font-size: var(--title-xl);
  color: transparent;
  background: linear-gradient(95deg, #ecdf88, #feca0f, #fce730, #f1fdff);
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.project .common-btn {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
  line-height: 1;
  outline: none;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 2px;
  cursor: pointer;
  border-top-left-radius: 14px;
  border-bottom-right-radius: 14px;
  -webkit-filter: drop-shadow(0 6px 18px rgba(91, 33, 182, 0.38));
  filter: drop-shadow(0 6px 18px rgba(91, 33, 182, 0.38));
}

.project .common-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(
    circle at center,
    #e9d5ff 0%,
    #a78bfa 35%,
    #7c3aed 62%,
    #4c1d95 100%
  );
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: 1s all ease-in-out;
  transition: 1s all ease-in-out;
}

.project .common-btn::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 2px;
  background: linear-gradient(155deg, #1a0b2e 0%, #2d1b4e 48%, #150822 100%);
  border-radius: inherit;
}

.project .common-btn span {
  position: relative;
  z-index: 3;
  display: block;
  background: linear-gradient(
    118deg,
    #5b21b6 0%,
    #6d28d9 18%,
    #7c3aed 42%,
    #9333ea 68%,
    #a78bfa 100%
  );
  padding: 18px 22px;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  -webkit-box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  -webkit-transition: 1s all ease-in-out;
  transition: 1s all ease-in-out;
  text-align: center;
}

.project .common-btn:hover span {
  background: linear-gradient(
    125deg,
    #4c1d95 0%,
    #6d28d9 38%,
    #8b5cf6 72%,
    #c4b5fd 100%
  );
}

.project .common-btn:hover::before {
  -webkit-transform: translate(-50%, -50%) scale(100);
  transform: translate(-50%, -50%) scale(100);
}

.project .light {
  position: relative;
  z-index: 10;
  margin-top: -20px;
  height: 40px;
  background: url("../images/light.png") center center repeat-x;
}

.project .intro {
  width: 100%;
  margin: 0 auto;
  max-width: 1000px;
  padding: 45px 25px;
  text-align: center;
}

.project .intro h2 {
  text-align: center;
  padding: 25px;
  font-size: 20px;
  font-weight: bold;
  color: #000;
}
.project .intro p {
  color: #000;
}
@media (min-width: 996px) {
  .project .intro h2 {
    font-size: 24px;
  }
}

.project .intro strong {
  color: #803bff;
}

.project .wtb {
  margin: 60px 0;
}
/*# sourceMappingURL=main.css.map */
