@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
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: #140f11;
  color: #373737;
  font-size: 12px;
  font-weight: bold;
  height: 100%;
}

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

video {
  -webkit-filter: brightness(1.1) saturate(1.03);
          filter: brightness(1.1) saturate(1.03);
}

.promo-btn {
  display: block;
  position: fixed;
  width: 232px;
  height: 213px;
  bottom: 10px;
  right: 10px;
  z-index: 50;
  -webkit-animation: heartbeat 1.2s infinite;
          animation: heartbeat 1.2s infinite;
  -webkit-transform-origin: center center;
          transform-origin: center center;
  -webkit-transition: -webkit-filter 0.3s;
  transition: -webkit-filter 0.3s;
  transition: filter 0.3s;
  transition: filter 0.3s, -webkit-filter 0.3s;
  background: url("../images/promo-btn.png") center no-repeat;
}
.promo-btn:hover {
  -webkit-filter: brightness(1.08);
          filter: brightness(1.08);
}

@-webkit-keyframes heartbeat {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  14% {
    -webkit-transform: scale(1.04);
            transform: scale(1.04);
  }
  28% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  42% {
    -webkit-transform: scale(1.02);
            transform: scale(1.02);
  }
  56% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes heartbeat {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  14% {
    -webkit-transform: scale(1.04);
            transform: scale(1.04);
  }
  28% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  42% {
    -webkit-transform: scale(1.02);
            transform: scale(1.02);
  }
  56% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
.wrap {
  margin: 0 auto;
  overflow: hidden;
  -webkit-transform-origin: top left;
          transform-origin: top left;
  min-width: 1280px;
}

.container {
  width: 100%;
  min-width: 1280px;
  margin: 0 auto;
}

.header::before,
.sec:not(.sec5)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1920/97;
  background: url("../images/hr-bg.png") no-repeat center;
  background-size: 100% 100%;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
  pointer-events: none;
  z-index: 30;
}

.top-menu {
  position: fixed;
  top: 50%;
  left: 10px;
  width: 140px;
  padding: 7px;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(253, 252, 248, 0.86), rgba(244, 245, 230, 0.78));
  backdrop-filter: blur(14px);
  -webkit-box-shadow: 0 6px 22px rgba(24, 49, 67, 0.1);
          box-shadow: 0 6px 22px rgba(24, 49, 67, 0.1);
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translate(-12px, -50%);
          transform: translate(-12px, -50%);
  -webkit-transition: opacity 0.3s ease, visibility 0.3s, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, -webkit-transform 0.3s ease;
}

.top-menu.show {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
}

#menu {
  counter-reset: chapter;
}

#menu a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  min-height: 48px;
  margin: 4px 0;
  padding: 10px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #3e5665;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
  -webkit-transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#menu a::before {
  counter-increment: chapter;
  content: counter(chapter, decimal-leading-zero);
  color: #667f8d;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: normal;
}

#menu a:hover,
#menu a.active {
  color: #655333;
  border-color: rgba(182, 151, 92, 0.24);
  background: linear-gradient(100deg, rgba(245, 226, 182, 0.56), rgba(255, 250, 235, 0.2));
}

#menu a.active::before {
  content: "◆";
  color: #9b773b;
  text-shadow: none;
}

#menu a:focus-visible {
  outline: 2px solid #647f90;
  outline-offset: 2px;
}

#menu a:last-child {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 40px;
  margin-top: 12px;
  border-top: 1px solid rgba(87, 116, 132, 0.16);
  border-radius: 0 0 9px 9px;
  color: #526b7b;
  font-size: 12px;
  letter-spacing: 0.12em;
}

#menu a:last-child::before {
  content: "↑";
  color: inherit;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .top-menu, #menu a {
    -webkit-transition: none;
    transition: none;
  }
}
.social-btns {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
  padding-top: 30px;
  padding-right: 30px;
}
.social-btns a {
  display: block;
  width: 53px;
  height: 53px;
  margin-right: 10px;
  opacity: 1;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.social-btns a img {
  display: block;
  width: 100%;
  height: 100%;
}
.social-btns a:hover {
  -webkit-filter: brightness(1.2);
          filter: brightness(1.2);
}

.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: 5px;
}
.m-social-btns a {
  display: block;
  width: 53px;
  height: 53px;
  padding: 0 !important;
  border-bottom: none !important;
}

.inner {
  width: 1280px;
  height: 100%;
  margin: 0 auto;
  z-index: 20;
}

.header {
  width: 100%;
  height: 980px;
}
.header .inner {
  padding-top: 50px;
}

.kv-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.kv-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(60%, rgba(0, 0, 0, 0)), to(rgba(20, 32, 31, 0.9)));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 60%, rgba(20, 32, 31, 0.9) 100%);
}

.kv-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.logo {
  display: block;
  width: 376px;
  height: 145px;
  margin: 0 auto;
}

.tit-box {
  text-align: center;
}

.header-title {
  width: 749px;
  height: 309px;
  margin: 0 auto;
  top: -20px;
}

.sec1 {
  width: 100%;
  height: 727px;
  background: url("../images/sec1-bg.jpg") no-repeat center;
}
.sec1 .inner {
  padding-top: 90px;
}

.sec1-cont {
  width: 1028px;
  height: 231px;
  background: url("../images/sec1-word.png") no-repeat center;
  margin: 0 auto;
}

.sec2 {
  overflow: visible;
  padding-top: 30px;
}

.sec2-video-wrap {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sec2-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.sec2-bg-video {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.sec2 .inner {
  overflow: visible;
}

.sec2 .tit-box,
.sec2-intro,
.sec2-characters {
  z-index: 4;
}

.sec2-video-button {
  z-index: 10;
}

.sec2-intro {
  top: 15px;
}

.sec2 .tit-box img {
  max-width: 100%;
}

.sec2-intro {
  width: 1060px;
  max-width: 92%;
  margin: -28px auto 0;
  color: #f3f8ff;
  font-size: 18px;
  line-height: 1.65;
  text-align: center;
  text-shadow: 0 0 5px #36a6ff, 0 2px 5px #061126;
}

.sec2-intro span {
  color: #ffd76a;
}

.sec2-video-button {
  display: block;
  width: 193px;
  height: 195px;
  margin: 7px auto -12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sec2-video-button img {
  display: block;
  width: 100%;
  -webkit-animation: sec2-play-spin 12s linear infinite;
          animation: sec2-play-spin 12s linear infinite;
  -webkit-filter: drop-shadow(0 0 10px rgba(91, 196, 255, 0.9));
          filter: drop-shadow(0 0 10px rgba(91, 196, 255, 0.9));
}

.sec2-video-button::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: rgba(166, 225, 255, 0.2);
  -webkit-box-shadow: 0 0 20px #5ecbff;
          box-shadow: 0 0 20px #5ecbff;
  -webkit-animation: sec2-play-pulse 1.8s ease-in-out infinite;
          animation: sec2-play-pulse 1.8s ease-in-out infinite;
}

.sec2-video-button:hover img {
  -webkit-filter: brightness(1.25) drop-shadow(0 0 14px #77dcff);
          filter: brightness(1.25) drop-shadow(0 0 14px #77dcff);
}

.sec2-video-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
  border-radius: 50%;
}

.sec2-characters {
  display: grid;
  grid-template-columns: repeat(4, 273px);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  gap: 8px;
  -webkit-perspective: 1400px;
          perspective: 1400px;
  top: -47px;
}

.sec2-character {
  display: block;
  width: auto;
  min-width: 0;
  max-width: 100%;
  opacity: 0;
  -webkit-transform: translateX(-42px) rotateY(-88deg);
          transform: translateX(-42px) rotateY(-88deg);
  -webkit-transform-origin: left center;
          transform-origin: left center;
  -webkit-transition: opacity 0.65s ease var(--reveal-delay), -webkit-transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay);
  transition: opacity 0.65s ease var(--reveal-delay), -webkit-transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay);
  transition: opacity 0.65s ease var(--reveal-delay), transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay);
  transition: opacity 0.65s ease var(--reveal-delay), transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay), -webkit-transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay);
}

.sec2-character.show {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
}

.sec2-character:nth-child(1),
.sec2-character:nth-child(4) {
  top: -30px;
}

.sec2-blue-gradient {
  position: absolute;
  z-index: 1;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  height: 614px;
  background: url("../images/sec2-bluebg.png") no-repeat center bottom;
  background-size: 1920px 614px;
  pointer-events: none;
}

.sec2-snowflakes {
  position: absolute;
  z-index: 3;
  inset: 0 calc(50% - 50vw) 0;
  width: 100vw;
  pointer-events: none;
}

.sec2-snowflake {
  position: absolute;
  display: block;
  opacity: 0;
  -webkit-transform: translateY(55px) scale(0.65);
          transform: translateY(55px) scale(0.65);
  -webkit-transition: opacity 1s ease var(--snow-delay), -webkit-transform 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) var(--snow-delay);
  transition: opacity 1s ease var(--snow-delay), -webkit-transform 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) var(--snow-delay);
  transition: opacity 1s ease var(--snow-delay), transform 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) var(--snow-delay);
  transition: opacity 1s ease var(--snow-delay), transform 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) var(--snow-delay), -webkit-transform 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) var(--snow-delay);
}

.sec2-snowflake.show {
  opacity: 1;
  -webkit-transform: translateY(0) scale(1);
          transform: translateY(0) scale(1);
}

.sec2-snowflake img {
  display: block;
  width: 100%;
  -webkit-animation: sec2-snow-spin 18s linear infinite;
          animation: sec2-snow-spin 18s linear infinite;
}

.snowflake-1 {
  left: 3%;
  bottom: 98px;
  width: 77px;
}

.snowflake-2 {
  left: 8%;
  bottom: 245px;
  width: 180px;
}

.snowflake-3 {
  left: 31%;
  bottom: 42px;
  width: 99px;
}

.snowflake-4 {
  left: 47%;
  bottom: 14px;
  width: 76px;
}

.snowflake-5 {
  left: 63%;
  bottom: 2px;
  width: 121px;
}

.snowflake-6 {
  left: 83%;
  bottom: 70px;
  width: 86px;
}

.snowflake-7 {
  left: 95%;
  bottom: 178px;
  width: 63px;
}

.video-popup {
  position: fixed;
  z-index: 1000;
  inset: 0;
  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;
  padding: 24px;
  background: rgba(2, 8, 20, 0.88);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.25s ease, visibility 0.25s ease;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.video-popup-panel {
  width: min(1000px, 92vw);
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 2px solid rgba(155, 220, 255, 0.85);
  border-radius: 12px;
  background: #071326;
  -webkit-box-shadow: 0 0 35px rgba(80, 190, 255, 0.55);
          box-shadow: 0 0 35px rgba(80, 190, 255, 0.55);
}

.video-popup-frame,
.video-popup-frame iframe {
  width: 100%;
  height: 100%;
}

.video-popup-frame iframe {
  display: block;
  border: 0;
}

.video-popup-placeholder {
  position: absolute;
  inset: 0;
  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;
  color: #cbeaff;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.video-popup.has-video .video-popup-placeholder {
  display: none;
}

.video-popup-close {
  position: absolute;
  z-index: 2;
  top: max(18px, 50% - min(28.1vw, 281px) - 52px);
  right: max(18px, 50% - min(46vw, 500px));
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  font: 34px/38px Arial, sans-serif;
  border: 1px solid #bdeaff;
  border-radius: 50%;
  background: rgba(7, 19, 38, 0.9);
  cursor: pointer;
}

.video-popup-close:hover {
  background: #2380ad;
}

body.popup-open {
  overflow: hidden;
}

@-webkit-keyframes sec2-play-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes sec2-play-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@-webkit-keyframes sec2-play-pulse {
  0%, 100% {
    opacity: 0.35;
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
  }
  50% {
    opacity: 0.85;
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
  }
}
@keyframes sec2-play-pulse {
  0%, 100% {
    opacity: 0.35;
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
  }
  50% {
    opacity: 0.85;
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
  }
}
@-webkit-keyframes sec2-snow-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes sec2-snow-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sec2-video-button img,
  .sec2-video-button::after,
  .sec2-snowflake img {
    -webkit-animation: none;
            animation: none;
  }
  .sec2-character,
  .sec2-snowflake {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
    -webkit-transition: none;
    transition: none;
  }
}
.sec2 {
  width: 100%;
  height: 1110px;
  background: url("../images/sec2-bg.jpg") no-repeat center;
}
.sec2 .inner {
  padding-top: 30px;
}

.sec3 {
  width: 100%;
  height: 4099px;
  background: url("../images/sec3-bg.jpg") no-repeat center;
}
.sec3 .inner {
  padding-top: 60px;
}

.sec3-intro {
  width: 1160px;
  max-width: 94%;
  margin: -20px auto 50px;
  color: #49647a;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.55;
  text-align: center;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.sec3-cont1 {
  width: 1295px;
  height: 1534px;
  background: url("../images/sec3-paper1.png") no-repeat center;
  margin: 0 auto;
  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-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2px;
  padding-top: 14px;
}

.sec3-rule-title {
  display: block;
  width: 389px;
  height: 90px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin-top: -40px;
}

.sec3-rule-description {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin: 10px auto 10px;
  color: #5b5147;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}

.sec3-rule-card {
  display: block;
  width: auto;
  max-width: 896px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin-bottom: 15px;
}

.sec3-rule-demo {
  width: 896px;
  height: 469px;
}

.sec3-rule-demo-base {
  display: block;
  width: 100%;
  height: 100%;
}

.sec3-rule-demo-gif {
  position: absolute;
  z-index: 2;
  left: 22.85%;
  top: 55.4%;
  width: 31.25%;
  height: auto;
}

.sec3-cont2 {
  width: 1280px;
  height: 1429px;
  background: url("../images/sec3-paper2.png") no-repeat center;
  margin: 0 auto;
  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-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  padding-top: 14px;
  margin-top: 40px;
}

.sec3-method-title {
  display: block;
  width: 389px;
  height: 90px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin-top: -40px;
  margin-bottom: 40px;
}

.sec3-method-card {
  display: block;
  width: auto;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin-bottom: 40px;
}

.sec3-method-normal {
  max-width: 831px;
}

.sec3-method-upgrade {
  max-width: 913px;
}

.sec3-cont3 {
  width: 1280px;
  height: 515px;
  background: url("../images/sec3-paper3.png") no-repeat center;
  margin: 0 auto;
  display: flow-root;
  margin-top: 40px;
}

.sec3-eye-title {
  display: block;
  width: 389px;
  height: 90px;
  margin: -17px auto 2px;
}

.sec3-eye-layout {
  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;
  gap: 12px;
  width: 100%;
  margin-top: 40px;
}

.sec3-eye-card {
  display: block;
  width: 434px;
  height: 301px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.sec3-eye-rabbit {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -75px;
  display: block;
  width: 273px;
  height: 357px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.sec4 {
  width: 100%;
  height: 1265px;
  background: url("../images/sec4-bg.jpg") no-repeat center;
}
.sec4 .inner {
  padding-top: 60px;
}

.sec4-letter {
  z-index: 3;
  width: 1161px;
  height: 891px;
  margin: 0 auto 0;
  padding-top: 48px;
  background: url("../images/sec4-cont-bg.png") no-repeat center;
}

.sec4-photo-wrap {
  width: 1018px;
  height: 589px;
  margin: 0 auto;
}

.sec4-photo {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transform: translate(-100px, -70px) rotate(-2deg);
          transform: translate(-100px, -70px) rotate(-2deg);
  -webkit-transition: opacity 0.7s ease, -webkit-transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: opacity 0.7s ease, -webkit-transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: opacity 0.7s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: opacity 0.7s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), -webkit-transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-filter: drop-shadow(0 8px 7px rgba(71, 52, 30, 0.22));
          filter: drop-shadow(0 8px 7px rgba(71, 52, 30, 0.22));
}

.sec4-paperclip {
  position: absolute;
  z-index: 4;
  top: -77px;
  right: 6px;
  width: 89px;
  height: 134px;
  opacity: 0;
  -webkit-transform: translateY(-20px) rotate(8deg);
          transform: translateY(-20px) rotate(8deg);
  -webkit-transition: opacity 0.28s ease 0.85s, -webkit-transform 0.55s cubic-bezier(0.15, 0.9, 0.25, 1.25) 0.85s;
  transition: opacity 0.28s ease 0.85s, -webkit-transform 0.55s cubic-bezier(0.15, 0.9, 0.25, 1.25) 0.85s;
  transition: opacity 0.28s ease 0.85s, transform 0.55s cubic-bezier(0.15, 0.9, 0.25, 1.25) 0.85s;
  transition: opacity 0.28s ease 0.85s, transform 0.55s cubic-bezier(0.15, 0.9, 0.25, 1.25) 0.85s, -webkit-transform 0.55s cubic-bezier(0.15, 0.9, 0.25, 1.25) 0.85s;
  -webkit-filter: drop-shadow(0 3px 2px rgba(73, 55, 20, 0.25));
          filter: drop-shadow(0 3px 2px rgba(73, 55, 20, 0.25));
}

.sec4-photo.show,
.sec4-paperclip.show {
  opacity: 1;
  -webkit-transform: translate(0, 0) rotate(0);
          transform: translate(0, 0) rotate(0);
}

.sec4-letter-copy {
  width: 980px;
  margin: 12px auto 0;
  color: #4a443d;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.65;
  text-align: left;
}

.sec4-letter-copy p + p {
  margin-top: 4px;
}

.sec4-side-character {
  position: absolute;
  z-index: 5;
  display: block;
  pointer-events: none;
}

.sec4-side-character-left {
  top: 220px;
  left: -185px;
  width: 280px;
  height: 949px;
}

.sec4-side-character-right {
  right: -242px;
  bottom: 53px;
  width: 386px;
  height: 286px;
}

@media (prefers-reduced-motion: reduce) {
  .sec4-photo,
  .sec4-paperclip {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
    -webkit-transition: none;
    transition: none;
  }
}
.sec5 {
  width: 100%;
  height: 1441px;
  background: url("../images/sec5-bg.jpg") no-repeat center;
}
.sec5 .inner {
  padding-top: 80px;
}

.sec5-intro {
  z-index: 4;
  width: 900px;
  max-width: 90%;
  margin: -20px auto 0px;
  color: #496277;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.sec5-main-picture {
  z-index: 2;
  display: block;
  width: 1178px;
  height: 884px;
  margin: 0 auto;
}

.sec5-side-picture {
  position: absolute;
  z-index: 5;
  display: block;
  pointer-events: none;
}

.sec5-side-picture-left {
  top: 85px;
  left: -120px;
  width: 330px;
  height: 451px;
}

.sec5-side-picture-right {
  top: 493px;
  right: -185px;
  width: 346px;
  height: 789px;
}

/* 漢堡選單按鈕 */
.hamburger {
  display: none;
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(229, 201, 139, 0.8);
  border-radius: 5px 15px 5px 15px;
  background: linear-gradient(145deg, rgba(28, 54, 72, 0.98), rgba(7, 20, 34, 0.98));
  -webkit-box-shadow: 0 6px 20px rgba(0, 8, 20, 0.35);
          box-shadow: 0 6px 20px rgba(0, 8, 20, 0.35);
  cursor: pointer;
  z-index: 1002;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #e5c98b;
  -webkit-transition: top 0.25s ease, opacity 0.2s ease, -webkit-transform 0.25s ease;
  transition: top 0.25s ease, opacity 0.2s ease, -webkit-transform 0.25s ease;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease, -webkit-transform 0.25s ease;
}

.hamburger span {
  position: relative;
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger span::before {
  top: -7px;
}

.hamburger span::after {
  top: 7px;
}

.hamburger.active span {
  background: transparent;
}

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

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

.hamburger:focus-visible {
  outline: 2px solid #fff1bd;
  outline-offset: 3px;
}

.menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(1, 7, 15, 0.65);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 998;
}

/* 側邊選單 */
.menu {
  display: none;
  position: fixed;
  inset: 0 auto 0 0;
  width: min(82vw, 320px);
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  border-right: 1px solid rgba(229, 201, 139, 0.55);
  background: linear-gradient(165deg, rgba(25, 53, 72, 0.99), rgba(5, 18, 32, 0.99));
  -webkit-box-shadow: 18px 0 45px rgba(0, 7, 18, 0.45);
          box-shadow: 18px 0 45px rgba(0, 7, 18, 0.45);
  visibility: hidden;
  -webkit-transform: translateX(-105%);
          transform: translateX(-105%);
  -webkit-transition: visibility 0.3s, -webkit-transform 0.3s ease;
  transition: visibility 0.3s, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, visibility 0.3s;
  transition: transform 0.3s ease, visibility 0.3s, -webkit-transform 0.3s ease;
  z-index: 1001;
}

.menu.active {
  visibility: visible;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.m-menu-logo {
  display: block;
  width: 165px;
  height: 114px;
  margin: 0 auto 14px;
  background: url("../images/logo.png") no-repeat center/contain;
}

.m-menu-links {
  border-top: 1px solid rgba(229, 201, 139, 0.28);
}

.scroll-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 50px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(229, 201, 139, 0.18);
  color: #dce9ef;
  font-size: 16px;
  letter-spacing: 0.08em;
  -webkit-transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.scroll-btn::before {
  content: "◆";
  margin-right: 10px;
  color: #8ca6b5;
  font-size: 8px;
}

.scroll-btn:hover,
.scroll-btn.active {
  padding-left: 21px;
  color: #fff0c6;
  background: -webkit-gradient(linear, left top, right top, from(rgba(211, 172, 91, 0.22)), to(transparent));
  background: linear-gradient(90deg, rgba(211, 172, 91, 0.22), transparent);
}

.scroll-btn.active::before {
  color: #f0cf82;
  text-shadow: 0 0 8px #f0cf82;
}

.scroll-btn:focus-visible {
  outline: 2px solid #f0cf82;
  outline-offset: -2px;
}

.scroll-btn-top {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 8px;
  color: #d8bf88;
}

.scroll-btn-top::before {
  content: "↑";
  font-size: 15px;
}

.menu .m-social-btns {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.menu .m-social-btns a {
  width: 46px;
  height: 46px;
  padding: 0 !important;
}

.menu .m-social-btns img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

body.menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .hamburger span,
  .hamburger span::before,
  .hamburger span::after,
  .menu,
  .menu-backdrop {
    -webkit-transition: none;
    transition: none;
  }
}
.fade-in {
  opacity: 0;
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, transform 1s ease;
  transition: opacity 1s ease, transform 1s ease, -webkit-transform 1s ease;
}

.fade-in-up {
  opacity: 0;
  -webkit-transform: translateY(-20px);
          transform: translateY(-20px);
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, transform 1s ease;
  transition: opacity 1s ease, transform 1s ease, -webkit-transform 1s ease;
}

.fade-in-down {
  opacity: 0;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, transform 1s ease;
  transition: opacity 1s ease, transform 1s ease, -webkit-transform 1s ease;
}

.fade-in-left {
  opacity: 0;
  -webkit-transform: translateX(-30px);
          transform: translateX(-30px);
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, transform 1s ease;
  transition: opacity 1s ease, transform 1s ease, -webkit-transform 1s ease;
}

.fade-in-right {
  opacity: 0;
  -webkit-transform: translateX(30px);
          transform: translateX(30px);
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, transform 1s ease;
  transition: opacity 1s ease, transform 1s ease, -webkit-transform 1s ease;
}

.fade-in-blur {
  opacity: 0;
  -webkit-filter: blur(12px);
          filter: blur(12px);
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
  -webkit-transition: opacity 1.2s ease, -webkit-filter 1.2s ease, -webkit-transform 1.2s ease;
  transition: opacity 1.2s ease, -webkit-filter 1.2s ease, -webkit-transform 1.2s ease;
  transition: opacity 1.2s ease, filter 1.2s ease, transform 1.2s ease;
  transition: opacity 1.2s ease, filter 1.2s ease, transform 1.2s ease, -webkit-filter 1.2s ease, -webkit-transform 1.2s ease;
  will-change: opacity, filter, transform;
}

.fade-in.show, .fade-in-left.show, .fade-in-down.show, .fade-in-up.show, .fade-in-right.show {
  opacity: 1;
  -webkit-transform: translateX(0) scale(1);
          transform: translateX(0) scale(1);
}

.fade-in-blur.show {
  opacity: 1;
  -webkit-filter: blur(0);
          filter: blur(0);
  -webkit-transform: scale(1);
          transform: scale(1);
}

.horse-title-floating.show {
  -webkit-animation-name: horse-title-floating;
          animation-name: horse-title-floating;
  -webkit-animation-duration: 3s;
          animation-duration: 3s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-delay: calc(var(--fade-delay, 0s) + 1s);
          animation-delay: calc(var(--fade-delay, 0s) + 1s);
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}

/* 主視覺下載區：QR Code + 兩欄平台按鈕 */
.download-area {
  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;
  gap: 20px;
  width: 493px;
  max-width: 100%;
  margin: -7px auto 0;
}

.download-qrcode {
  display: block;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 125px;
          flex: 0 0 125px;
  width: 125px;
  height: 124px;
}

.download-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 348px;
  min-width: 0;
}

.download-button {
  display: block;
  border-radius: 10px;
}

.download-button img {
  display: block;
  width: 100%;
  height: auto;
}

.download-button[href]:hover {
  -webkit-filter: brightness(1.15);
          filter: brightness(1.15);
}

.download-button:focus-visible {
  outline: 3px solid #fff4a8;
  outline-offset: 4px;
}

/* 金色魔法光芒與向下流動的捲動提示 */
.scroll-cue {
  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-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 120px;
  margin: 70px auto 0;
  padding: 12px 0;
  color: #fff2bc;
  border-radius: 50%;
  text-shadow: 0 2px 5px #253329, 0 0 12px #b57b22;
}

.scroll-cue-magic {
  display: block;
  width: 88px;
  height: 82px;
  background: radial-gradient(ellipse, rgba(255, 217, 111, 0.22), transparent 68%);
}

.scroll-cue-star {
  position: absolute;
  top: 4px;
  left: 39px;
  width: 10px;
  height: 16px;
  background: #fff5c7;
  clip-path: polygon(50% 0, 65% 38%, 100% 50%, 65% 62%, 50% 100%, 35% 62%, 0 50%, 35% 38%);
  -webkit-animation: scroll-cue-sparkle 2.4s ease-in-out infinite;
          animation: scroll-cue-sparkle 2.4s ease-in-out infinite;
}

.scroll-cue-magic::before,
.scroll-cue-magic::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff3b6;
  -webkit-box-shadow: 0 0 8px 2px rgba(255, 211, 95, 0.7);
          box-shadow: 0 0 8px 2px rgba(255, 211, 95, 0.7);
  -webkit-animation: scroll-cue-sparkle 2.4s ease-in-out infinite;
          animation: scroll-cue-sparkle 2.4s ease-in-out infinite;
}

.scroll-cue-magic::before {
  left: 12px;
  top: 34px;
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s;
}

.scroll-cue-magic::after {
  right: 12px;
  top: 52px;
  -webkit-animation-delay: -1.6s;
          animation-delay: -1.6s;
}

.scroll-cue-chevron {
  position: absolute;
  top: 24px;
  left: 29px;
  width: 30px;
  height: 30px;
  border-right: 3px solid #fff2bb;
  border-bottom: 3px solid #fff2bb;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-filter: drop-shadow(0 0 5px #e9b64f);
          filter: drop-shadow(0 0 5px #e9b64f);
  -webkit-animation: scroll-cue-flow 2s ease-in-out infinite;
          animation: scroll-cue-flow 2s ease-in-out infinite;
}

.scroll-cue-chevron:last-child {
  top: 40px;
  -webkit-animation-delay: 0.22s;
          animation-delay: 0.22s;
}

.scroll-cue-label {
  font-size: 13px;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
}

.scroll-cue:hover {
  color: #fff;
  background: rgba(255, 223, 132, 0.08);
}

.scroll-cue:focus-visible {
  outline: 2px solid #ffe4a0;
  outline-offset: 4px;
}

@-webkit-keyframes scroll-cue-flow {
  0%, 100% {
    opacity: 0.3;
    -webkit-transform: translateY(-5px) rotate(45deg);
            transform: translateY(-5px) rotate(45deg);
  }
  50% {
    opacity: 1;
    -webkit-transform: translateY(5px) rotate(45deg);
            transform: translateY(5px) rotate(45deg);
  }
}

@keyframes scroll-cue-flow {
  0%, 100% {
    opacity: 0.3;
    -webkit-transform: translateY(-5px) rotate(45deg);
            transform: translateY(-5px) rotate(45deg);
  }
  50% {
    opacity: 1;
    -webkit-transform: translateY(5px) rotate(45deg);
            transform: translateY(5px) rotate(45deg);
  }
}
@-webkit-keyframes scroll-cue-sparkle {
  0%, 100% {
    opacity: 0.3;
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
}
@keyframes scroll-cue-sparkle {
  0%, 100% {
    opacity: 0.3;
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
}
@media (max-width: 768px) {
  .scroll-cue {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-star,
  .scroll-cue-chevron,
  .scroll-cue-magic::before,
  .scroll-cue-magic::after {
    -webkit-animation: none;
            animation: none;
  }
}

/* sec2 navigation theme */
.top-menu.is-sec2 {
  background: linear-gradient(155deg, rgba(22, 49, 72, 0.88), rgba(9, 27, 47, 0.86));
  border-color: rgba(166, 210, 232, 0.26);
  box-shadow: 0 6px 22px rgba(3, 16, 30, 0.16);
}
.top-menu.is-sec2 #menu a { color: #d9e8ef; }
.top-menu.is-sec2 #menu a::before { color: #99b7ca; }
.top-menu.is-sec2 #menu a:last-child { color: #bdd3e0; border-top-color: rgba(166, 210, 232, 0.2); }
.top-menu.is-sec2 #menu a:hover,
.top-menu.is-sec2 #menu a.active {
  color: #fff0cc;
  border-color: rgba(222, 194, 135, 0.34);
  background: linear-gradient(100deg, rgba(213, 181, 112, 0.2), rgba(213, 181, 112, 0.05));
}
.top-menu.is-sec2 #menu a.active::before { color: #e8ce97; }
.top-menu.is-sec2 #menu a:focus-visible { outline-color: #c7e6f5; }
