@charset "UTF-8";
/*網頁全共用設定*/
/*網路字體引用CSS設定*/
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
/*思源黑體 套用名字 Noto Sans TC */
/*股溝的ICONFONT*/
/*@import url("https://fonts.googleapis.com/icon?family=Material+Icons");*/
/*font-awesome4-7 iconfont*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css);
/* =============== base 頁面基本設定 ============ */
html,
body {
  font-family: "Noto Sans TC", "PingFang TC", Microsoft JhengHei, "微軟正黑體", Helvetica, sans-serif;
  position: relative;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 16px;
} /*font-size:100%是為將網頁字體設定成16px，這個文字大小設定會連動到下面的body的字體設定唷*/
html {
  scroll-behavior: smooth;
}

body {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
  word-break: break-all;
}
a:hover, a:focus {
  text-decoration: none;
}

label a {
  display: block;
}

img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border: 0;
  /*image-rendering:-moz-crisp-edges;*/ /* Firefox        */
  image-rendering: -o-crisp-edges; /* Opera          */
  image-rendering: -webkit-optimize-contrast; /* Safari         */
  image-rendering: optimize-contrast; /* CSS3 Proposed  */
  -ms-interpolation-mode: nearest-neighbor; /* IE8+           */
} /*圖片更銳利化*/
/* 應用於GIF和PNG圖片; 防止邊緣模糊 */
img[src$=".gif"],
img[src$=".png"] {
  image-rendering: auto;
}

/* 移除svg 縮放設定 */
button,
a,
input:focus,
button:focus {
  outline: none !important;
} /*連結或點擊的按鈕 不顯示外虛線*/
p {
  margin: 0;
  padding: 0;
  letter-spacing: 1.2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* =============== 主內容區寬度 ============ */
.wrapper {
  max-width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

.header {
  width: 100%;
  position: relative;
}

.main {
  width: 100%;
  position: relative;
}

.container {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.title-wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

.section {
  padding: 6rem 1rem 4rem;
}

.section-title {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin: 0 30px 15px;
  font-size: 4rem;
  text-align: center;
  font-weight: bold;
  color: #b3000e;
  line-height: 1.3; /* 加大行高，避免字級縮小後、中文字的框線 (::after) 跟文字擠在一起不好看 */
}
.section-title span {
  font-size: 6rem;
}
.section-title::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 30%;
  background-color: #ffcf48;
  bottom: 0;
  left: -30px;
  right: -30px;
}

.section-subtitle {
  font-size: 1.875rem;
  text-align: center;
  color: #333333;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

/* --------- breakpoints -------- */
@media screen and (max-width: 800px) {
  .section-title {
    margin: 0 10px 12px;
  }
  .section-title::after {
    left: -20px;
    right: -20px;
  }
}
@media screen and (max-width: 600px) {
  .title-wrapper {
    margin-bottom: 1rem;
  }
  .section-title {
    font-size: 3.375rem;
  }
  .section-subtitle {
    font-size: 1.625rem;
  }
}
@media screen and (max-width: 485px) {
  .section {
    padding: 5rem 1rem 3rem;
  }
  .section-title {
    margin: 0 3px 10px;
    font-size: 2.6rem;
  }
  .section-title::after {
    left: -12px;
    right: -12px;
    height: 26%;
  }
  .section-subtitle {
    font-size: 1.25rem;
    padding: 0 6px;
  }
}
/* =================== navbar =================== */
.navbar-fixed-top {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 99;
}

.navbar-fixed-top {
  top: 0;
  border-width: 0 0 1px;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid #ffece9;
}
.navbar .inner-navbar {
  max-width: 1500px;
  width: 100%;
  height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
}
.navbar .inner-navbar-logo {
  margin-right: auto;
  padding-left: 15px;
}
.navbar .inner-navbar-logo img {
  width: 80%;
}
.navbar .inner-navbar-burger {
  display: none;
}
.navbar .inner-navbar-menu {
  /* 項目區 */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-right: 15px;
}
.navbar .inner-navbar-menu .navbar-list {
  /* 項目列表 */
  padding: 0 10px;
  line-height: 0;
}
.navbar .inner-navbar-menu .navbar-list .navbar-link {
  /* 項目連結 */
  color: #333333;
  font-weight: bold;
  font-size: 22px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.navbar .inner-navbar-menu .navbar-list.severBtn {
  background-color: #b3000e;
  padding: 20px 10px;
  border-radius: 12px;
}
.navbar .inner-navbar-menu .navbar-list.severBtn .navbar-link {
  /* 項目連結 */
  color: #fff;
}
.navbar .inner-navbar-btn {
  /* 立即開戶 */
  color: #333333;
  padding: 10px;
  font-weight: bold;
  font-size: 22px;
  margin: 0 0;
  margin-left: 2%;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  text-align: center;
}

/* --------- breakpoints -------- */
@media screen and (max-width: 1000px) {
  .navbar .inner-navbar {
    max-width: 100%;
    height: 60px;
  }
  .navbar .inner-navbar-logo {
    margin: 0 auto;
    text-align: center;
    -ms-flex-preferred-size: 200px;
        flex-basis: 200px;
    padding-left: 0;
  }
  .navbar .inner-navbar-logo img {
    width: 100%;
  }
  .navbar .inner-navbar-menu {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 0;
    height: calc(100vh - 45px);
    position: absolute;
    top: 45px;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 99;
    padding-right: 0;
  }
  .navbar .inner-navbar-menu .navbar-list {
    width: 80%;
    text-align: center;
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
    border-right: none;
    border-bottom: 2px solid #b3000e;
  }
  .navbar .inner-navbar-menu .navbar-list:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .navbar .inner-navbar-menu .navbar-list .navbar-link {
    display: block;
    padding: 1.5rem;
  }
  .navbar .inner-navbar-menu .navbar-list.severBtn {
    padding: 0.5%;
    width: 80%;
    border-radius: 0;
    text-align: center;
  }
  .navbar .inner-navbar-btn {
    display: none;
    margin-left: 0;
  }
  /* 點擊後展開的效果 */
  .show-nav .inner-navbar-menu {
    width: 100%;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  .show-nav .navbar-list {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    border-right: none;
  }
  /* Toggle menu  漢堡選單menu */
  .navbar .inner-navbar .inner-navbar-burger {
    display: block;
    position: absolute;
    padding: 0;
    width: 35px;
    height: 35px;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
    margin-left: 2%;
  }
  .bar {
    display: block;
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background: #b3000e;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  .bar::before,
  .bar::after {
    content: "";
    width: 25px;
    height: 3px;
    position: absolute;
    left: 0;
    background: #b3000e;
    border-radius: 3px;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  .bar::before {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
  }
  .bar::after {
    -webkit-transform: translateY(8px);
            transform: translateY(8px);
  }
  .show-nav .bar {
    width: 0;
    background: transparent;
  }
  .show-nav .bar::before {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .show-nav .bar::after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
}
@media screen and (max-width: 300px) {
  .navbar .inner-navbar-logo img {
    width: 65%;
  }
}
/* --------- breakpoints /end -------- */
/* =====================================================================
   外層卡片：粉紅漸層背景，背景互動特效（Canvas / 追蹤球）畫在這一層裡
   ===================================================================== */
.header {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #fed9d9;
  background-image: radial-gradient(circle at 85% 5%, #ffffff 0%, rgba(255, 255, 255, 0) 45%), linear-gradient(155deg, #fed9d9 0%, #e9a2a0 100%);
  background-repeat: no-repeat;
  padding: 3rem 0px;
  isolation: isolate;
  /* 讓 mix-blend-mode 之類的效果只在卡片內部生效，不影響外部頁面 */
}
@media screen and (max-width: 500px) {
  .header {
    padding: 1.5rem 0px;
  }
}

/* 背景特效專用的畫布/容器，鋪滿整張卡片、疊在最底層 */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-layer canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 卡片內容統一疊在背景特效之上 */
.hero-content {
  position: relative;
  z-index: 2;
}

/* =====================================================================
   上半部容器：包住人物動畫（hero-people）+ 標題／搜尋列（hero-content）。
   宣告 position: relative，讓 .hero-people 的絕對定位改成「相對這個區塊」，
   不再相對整個 .header（.header 底下還有 hero-declare 那段，範圍不該算進去）。
   ===================================================================== */
.hero-top {
  position: relative;
  width: 100%;
}

/* =====================================================================
   標題與人物視覺群組 (一體化縮放核心)
   ===================================================================== */
.hero-title-group {
  position: relative;
  /* 以標題寬度作為基準容器寬度 (支援小螢幕自動縮小) */
  width: min(600px, 85vw);
  margin: 0 auto 12px;
  /* 預留人物探頭空間，防止被外層 overflow 裁切 */
  padding-top: clamp(40px, 8vw, 80px);
}

/* =====================================================================
   人物插畫：疊在 .hero-top 右上角，帶輕微擺盪動畫
   改用 width + aspect-ratio 明確給定。
   ===================================================================== */
.hero-people {
  position: absolute;
  top: 0%;
  left: 70%;
  z-index: 3;
  width: min(450px, 55vw);
  aspect-ratio: 1/1;
  height: auto;
  -webkit-transform-origin: bottom center;
          transform-origin: bottom center;
  padding: 0 15px;
}
@media screen and (max-width: 1000px) {
  .hero-people {
    top: -8%;
    left: 65%;
  }
}
@media screen and (max-width: 450px) {
  .hero-people {
    top: 6.5%;
    left: 57%;
  }
}
@media screen and (max-width: 330px) {
  .hero-people {
    top: 15%;
    left: 55%;
  }
}

/* =====================================================================
   標題圖檔
   ===================================================================== */
.hero-title {
  display: block;
  width: min(600px, 70vw);
  height: auto;
  margin: 0 auto 8px;
  position: relative;
  right: 10%;
  z-index: 2;
}
@media screen and (max-width: 1000px) {
  .hero-title {
    right: 15%;
  }
}

/* =====================================================================
   搜尋列（輸入框 + 放大鏡圖示）
   ===================================================================== */
.hero-search-wrap {
  max-width: min(800px, 90vw);
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 1000px) {
  .hero-search-wrap {
    margin: 0 2%;
  }
}

.hero-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 70px;
  height: 70px;
  color: #333333;
  pointer-events: none;
}
@media screen and (max-width: 650px) {
  .hero-search-icon {
    width: 45px;
    height: 45px;
    left: 12px;
  }
}
@media screen and (max-width: 320px) {
  .hero-search-icon {
    width: 32px;
    height: 32px;
    left: 10px;
  }
}

.hero-search-divider {
  position: absolute;
  left: 96px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 2px;
  height: 60px;
  background: #333333;
  opacity: 0.65;
  pointer-events: none;
}
@media screen and (max-width: 650px) {
  .hero-search-divider {
    height: 40px;
    left: 65px;
  }
}
@media screen and (max-width: 320px) {
  .hero-search-divider {
    height: 28px;
    left: 48px;
  }
}

.hero-search-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 110px;
  padding: 15px 20px 15px 52px;
  font-size: 56px;
  font-weight: bold;
  color: #333333;
  background: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 4px solid #333333;
  border-radius: 50px;
}
@media screen and (max-width: 650px) {
  .hero-search-input {
    font-size: 30px;
    height: 70px;
  }
}
@media screen and (max-width: 400px) {
  .hero-search-input {
    font-size: 1.35rem;
    height: 64px;
  }
}

.hero-typing-text {
  white-space: pre;
  padding-left: 60px;
  letter-spacing: 2px;
}
@media screen and (max-width: 650px) {
  .hero-typing-text {
    padding-left: 25px;
  }
}
@media screen and (max-width: 330px) {
  .hero-typing-text {
    padding-left: 5px;
  }
}

/* 打字游標：模擬真人打字時會閃爍的那條直線，跟在目前已打出的文字後面 */
.hero-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: #333333;
  margin-left: 2px;
  vertical-align: middle;
  -webkit-animation: heroCursorBlink 0.9s step-start infinite;
          animation: heroCursorBlink 0.9s step-start infinite;
}

@-webkit-keyframes heroCursorBlink {
  50% {
    opacity: 0;
  }
}

@keyframes heroCursorBlink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-typing-cursor {
    -webkit-animation: none;
            animation: none;
  }
}
/* =====================================================================
   官方提醒小字
   ===================================================================== */
.hero-hint {
  width: min(780px, 85vw);
  margin: 20px auto 0;
  text-align: left;
  font-size: 24px;
  color: #333333;
}
.hero-hint span {
  color: #b3000e;
}
@media screen and (max-width: 1000px) {
  .hero-hint {
    margin-top: 4%;
  }
}
@media screen and (max-width: 400px) {
  .hero-hint {
    font-size: 20px;
  }
}

/* =====================================================================
   反詐騙聲明框
   ===================================================================== */
.hero-declare {
  width: min(1300px, 80vw);
  margin: 60px auto 0;
  background: #fff;
  border-radius: 12px;
  border: 2px solid #b3000e;
  -webkit-box-shadow: -10px 0px #b3000e;
          box-shadow: -10px 0px #b3000e;
  padding: 24px 34px;
}
@media screen and (max-width: 1000px) {
  .hero-declare {
    -webkit-box-shadow: 0px 10px #b3000e;
            box-shadow: 0px 10px #b3000e;
    margin-top: 30px;
    padding: 24px;
  }
}
@media screen and (max-width: 340px) {
  .hero-declare {
    padding: 20px 15px;
  }
}

.hero-declare__body {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.7;
  color: #333333;
  margin: 0;
}
@media screen and (max-width: 400px) {
  .hero-declare__body {
    font-size: 22px;
  }
}

/* =================== marquee =================== */
.marquee-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: 100%;
  padding: 12px 0;
  gap: 2rem; /* 兩組內容之間的間距 */
  background-color: #b3000e;
  margin-top: 100px; /* 扣除navbar的高度 */
}

.marquee-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  gap: 2rem; /* 項目與項目之間的間距 */
  font-size: 20px;
  /* 動畫綁定：等速 (linear)、無限循環 (infinite) */
  -webkit-animation: marquee-scroll 20s linear infinite;
          animation: marquee-scroll 20s linear infinite;
  will-change: transform; /* 硬體加速，防止掉幀 */
}

.marquee-item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.75rem; /* 圖片與文字的間距 */
  white-space: nowrap;
  color: #fff;
  letter-spacing: 1px;
}

.item-img {
  -o-object-fit: cover;
     object-fit: cover;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

/* 核心關鍵影格：從 0 位移到 -100% (含 gap 補償) */
@-webkit-keyframes marquee-scroll {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(calc(-100% - 2rem));
            transform: translateX(calc(-100% - 2rem)); /* 需扣除 gap 的距離 */
  }
}
@keyframes marquee-scroll {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(calc(-100% - 2rem));
            transform: translateX(calc(-100% - 2rem)); /* 需扣除 gap 的距離 */
  }
}
@media screen and (max-width: 1000px) {
  .marquee-wrapper {
    margin-top: 60px; /* 扣除navbar的高度 */
  }
}
/* =================== main =================== */
/* ===================== 共用區 =====================  */
/* ---------- 箭頭文字說明 ---------- */
.identification-note {
  line-height: 1.75;
}
.identification-note__text {
  color: #42515b;
  font-size: 24px;
}
.identification-note__text img {
  width: 22px;
  vertical-align: middle;
  padding-right: 10px;
}

@media screen and (max-width: 640px) {
  .identification-note__text {
    font-size: 20px;
  }
  .identification-note__text img {
    width: 18px;
  }
}
/* ---------- 查看更多按鈕 ---------- */
.more-btn-wrap {
  text-align: center;
  padding-top: 30px;
  position: relative;
}

.more-btn {
  display: inline-block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #b3000e;
  border: none;
  border-radius: 30px;
  padding: 12px 40px;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: -webkit-filter 0.2s ease, -webkit-transform 0.2s ease;
  transition: -webkit-filter 0.2s ease, -webkit-transform 0.2s ease;
  transition: filter 0.2s ease, transform 0.2s ease;
  transition: filter 0.2s ease, transform 0.2s ease, -webkit-filter 0.2s ease, -webkit-transform 0.2s ease;
}

.more-btn:hover {
  -webkit-filter: brightness(1.12);
          filter: brightness(1.12);
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
}

/* 無障礙需求 */
.more-btn:focus-visible {
  outline: 2px solid #b3000e;
  outline-offset: 3px;
}

@media screen and (max-width: 640px) {
  .more-btn-wrap {
    width: 100%;
  }
  .more-btn {
    width: 80%;
    padding: 10px 30px;
    font-size: 24px;
  }
}
/* ===================== 防偽辨識 ===================== */
.anti-counterfeiting {
  background-color: #f6f6f6;
}

.verify-panel {
  width: 100%;
  max-width: 1300px;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* ---------- 輸入列：輸入框 + 按鈕相連 ---------- */
.verify-input-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 2px solid #333333;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  width: 100%;
  -webkit-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}

.verify-input-row:focus-within {
  border: 2px solid #b3000e;
}

.verify-input {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 20px;
  font-size: 20px;
  color: #333333;
  width: auto;
  background: #fff;
}

.verify-input::-webkit-input-placeholder {
  color: #42515b;
  opacity: 1;
}

.verify-input::-moz-placeholder {
  color: #42515b;
  opacity: 1;
}

.verify-input:-ms-input-placeholder {
  color: #42515b;
  opacity: 1;
}

.verify-input::-ms-input-placeholder {
  color: #42515b;
  opacity: 1;
}

.verify-input::placeholder {
  color: #42515b;
  opacity: 1;
}

.verify-btn {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: #b3000e;
  color: #fff;
  font-size: 28px;
  padding: 0 40px;
  cursor: pointer;
  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;
  white-space: nowrap;
  letter-spacing: 0.05em;
  -webkit-transition: background-color 0.15s ease, opacity 0.15s ease, -webkit-filter 0.15s ease;
  transition: background-color 0.15s ease, opacity 0.15s ease, -webkit-filter 0.15s ease;
  transition: background-color 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
  transition: background-color 0.15s ease, filter 0.15s ease, opacity 0.15s ease, -webkit-filter 0.15s ease;
}
.verify-btn:hover {
  opacity: 0.8;
}

/* ---------- 查詢網址回顯區塊：完整顯示使用者輸入的原始內容，不受輸入框寬度限制 ---------- */
.verify-queried-wrap {
  display: none; /* 預設隱藏，有驗證結果時才跟著顯示 */
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #42515b;
  border-radius: 8px;
  font-size: 20px;
}

.verify-queried-wrap.is-visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.verify-queried-label {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: #333333;
  white-space: nowrap;
  padding-top: 1px;
}

.verify-queried-value {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  color: #333333;
  word-break: break-all; /* 網址太長時強制換行，完整顯示，不會被裁切 */
  line-height: 1.6;
}

.verify-copy-btn {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #f6f6f6;
  border: 1px solid #333333;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 18px;
  color: #333333;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0.8;
}
.verify-copy-btn:hover {
  opacity: 1;
}

/* ---------- 驗證結果提示框 (通用) ---------- */
.verify-result {
  display: none; /* 預設隱藏，驗證後才顯示其中一個 */
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 20px;
  line-height: 1.6;
  margin-top: 16px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.verify-result.is-visible {
  display: block;
}

.verify-result__section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.verify-result__icon {
  width: 30px;
  height: 30px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.verify-result__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 6px;
}

/* 成功 (綠色) */
.verify-result--success {
  background-color: #eaf3de;
  border: 1.5px solid #639922;
  color: #27500a;
}

/* 失敗/錯誤 (紅色) */
.verify-result--error {
  background-color: #ffece9;
  border: 1.5px solid #b3000e;
  color: #b3000e;
}

/* 錯誤框內的回報連結 */
.verify-report-link {
  color: #b3000e;
  text-decoration: underline;
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-transition: all 0.15s ease;
  transition: all 0.15s ease;
}
.verify-report-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ---------- 虛線分隔線 ---------- */
.verify-divider {
  border: none;
  height: 2px;
  background-image: repeating-linear-gradient(to right, #42515b 0, #42515b 6px, transparent 6px, transparent 12px);
  margin: 28px 0 22px 0;
}

/* ---------- RWD 響應式適配 ---------- */
@media screen and (max-width: 1199px) {
  .verify-result__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
@media screen and (max-width: 800px) {
  .verify-panel {
    padding: 20px 16px;
  }
  /* 輸入列轉為全寬堆疊連體佈局（如圖二無縫相連） */
  .verify-input-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    border: 1.5px solid #333333;
    gap: 0;
  }
  .verify-input {
    padding: 18px 10px;
    font-size: 22px;
  }
  .verify-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: 22px;
    padding: 0 40px;
  }
  .verify-queried-wrap {
    font-size: 18px;
  }
  .verify-queried-wrap.is-visible {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .verify-copy-btn {
    padding: 4px 12px;
    font-size: 18px;
    width: 100%;
  }
  .verify-result {
    font-size: 18px;
    padding: 8px 10px;
  }
  .verify-result__icon {
    width: 25px;
    height: 25px;
  }
}
/* ===================== 正確辨識 ===================== */
.official-guide-card {
  max-width: 1400px;
  margin: 0 auto;
  background-color: #f6f6f6;
  border-radius: 12px;
  padding: 40px 50px;
}

.guide-section {
  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;
  gap: 30px;
}

.guide-section.align-start {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.guide-section__main {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0; /* 防止網址過長破壞 flex 佈局 */
}

.guide-section__main.w-full {
  width: 100%;
}

.guide-section__action {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.guide-section__action.more-btn-wrap .more-btn {
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 24px;
}

.guide-divider {
  border: none;
  height: 1px;
  background-color: #333333;
  margin: 24px 0;
}

.guide-section__title {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-size: 28px;
  color: #333333;
  margin-bottom: 14px;
  line-height: 1.2;
}
.guide-section__title::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0px;
  bottom: 0;
  height: 30%;
  background-color: #ffcf48;
}

.guide-section__desc {
  font-size: 24px;
  color: #333333;
  line-height: 1.65;
  word-break: break-word;
}

.dot-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.dot-list li {
  position: relative;
  padding-left: 20px;
  font-size: 24px;
  color: #333333;
  line-height: 2.2;
  word-break: break-all;
}
.dot-list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  background-color: #333333;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-list .align-inline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px;
}

.text-link-red {
  color: #b3000e;
  text-decoration: none;
}

.text-link-red:hover {
  text-decoration: underline;
}

.cert-badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  padding: 1px 10px;
  border: 1px solid #b3000e;
  font-size: 18px;
  color: #42515b;
  border-radius: 2px;
  background-color: #fff;
  vertical-align: middle;
}

.cert-lock {
  color: #42515b;
}

.social-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.social-item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  text-decoration: none;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
}

.social-icon-box {
  width: 80px;
  height: 80px;
  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;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  overflow: hidden;
}

.social-icon-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.social-link {
  color: #b3000e;
  font-size: 24px;
  word-break: break-all;
}

.social-item:hover .social-link {
  text-decoration: underline;
}

@media screen and (max-width: 640px) {
  .official-guide-card {
    padding: 24px 18px;
    margin: 10px auto;
  }
  .guide-section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .guide-section__action.more-btn-wrap {
    width: 100%;
    padding-top: 0;
  }
  .guide-section__action.more-btn-wrap .more-btn {
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
    font-size: 20px;
  }
  .guide-section__title {
    font-size: 24px;
  }
  .guide-section__title::after {
    right: -10px;
  }
  .guide-section__desc {
    font-size: 20px;
  }
  .dot-list li {
    font-size: 20px;
  }
  .dot-list li::before {
    width: 8px;
    height: 8px;
    top: 18px;
  }
  .social-link {
    font-size: 20px;
  }
  .social-icon-box {
    width: 70px;
    height: 70px;
  }
}
/* ===================== 常見手法 ===================== */
.anti-common-way {
  background-color: #f6f6f6;
}

.horizontal-scroll-container {
  position: relative;
  height: 300vh; /* 保底值，避免 JS 執行前畫面閃爍；實際高度會被 JS 依卡片橫移距離精算後改寫 */
}

.sticky-viewport {
  position: sticky;
  top: 0;
  height: min(100vh, 740px); /* 上限縮小，跟卡片高度搭配，避免上下留白隨螢幕變高而愈拉愈大 */
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
}
@media screen and (max-width: 400px) {
  .sticky-viewport {
    height: min(100vh - 40px, 740px);
  }
}
@media screen and (max-width: 340px) {
  .sticky-viewport {
    height: min(100vh - 20px, 740px);
  }
}

/* 專門負責裁切橫向卡片列溢出範圍，跟 sticky 定位的責任分開 */
.track-mask {
  overflow: hidden;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.horizontal-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 36px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  will-change: transform;
  /* padding-left 由 JS 動態計算，確保第一張卡片一開始就會經過視口中心，才有機會被選取 */
}

.case-card {
  width: min(340px, 80vw); /* 響應式：手機等窄螢幕會等比縮小，不會超出視口寬度 */
  height: min(480px, 70vh); /* 響應式：矮螢幕（如手機橫向）也會等比縮小，不會被 overflow:hidden 裁掉 */
  background: #fff;
  border-radius: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  overflow: hidden;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-transform-origin: center center;
          transform-origin: center center;
  will-change: transform;
  outline: 3px solid transparent; /* 預先留好框線寬度，切換時卡片不會跳動 */
  outline-offset: 3px;
  -webkit-transition: outline-color 0.2s ease;
  transition: outline-color 0.2s ease;
}

.case-card.is-active {
  outline-color: #333333;
}

.case-card__number {
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 55px;
  background: #333333;
  color: #fff;
  font-size: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-bottom-right-radius: 50px;
  z-index: 2;
}

.case-card__top {
  -webkit-box-flex: 1.35;
      -ms-flex: 1.35;
          flex: 1.35;
  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;
  padding: 32px 24px 16px;
  background: #fff;
}
@media screen and (max-width: 340px) {
  .case-card__top {
    padding: 20px 24px 10px;
  }
}

.case-card__img-wrap {
  width: min(240px, 100%);
  margin: 20px auto 10px;
  border-radius: 6px;
  overflow: hidden;
  will-change: transform;
}
@media screen and (max-width: 340px) {
  .case-card__img-wrap {
    margin-bottom: 0;
  }
}

.case-card__img-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  pointer-events: none;
}

.case-card__title {
  color: #b3000e;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  will-change: transform;
}
@media screen and (max-width: 340px) {
  .case-card__title {
    font-size: 24px;
  }
}

.case-card__bottom {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background: #333333;
  padding: 10px 22px 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.case-card__desc {
  color: #fff;
  font-size: 22px;
  line-height: 1.5;
  text-align: justify;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 360px) {
  .case-card__desc {
    font-size: 18px;
  }
}

.case-scroll-btn-wrap {
  position: absolute;
  bottom: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 10;
  width: 100%;
  text-align: center;
}
@media screen and (max-width: 340px) {
  .case-scroll-btn-wrap {
    bottom: 0px;
    width: 70%;
  }
}

/* =====================================================================
   操作提示：置中疊在卡片正中間，半透明滑鼠滾輪手勢圖示。
   一開始顯示、使用者捲動一小段後自動淡出，之後不再出現。
   ===================================================================== */
.scroll-hint {
  position: absolute;
  inset: 0;
  z-index: 15;
  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;
  gap: 12px;
  background: rgba(53, 53, 53, 0.65);
  color: #fff;
  pointer-events: none;
  opacity: 1;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}
.scroll-hint.is-hidden {
  opacity: 0;
}
.scroll-hint span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
}

.scroll-hint__arrow--up {
  -webkit-animation: scrollHintUp 1.6s ease-in-out infinite;
          animation: scrollHintUp 1.6s ease-in-out infinite;
  -webkit-transform-origin: center;
          transform-origin: center;
}

.scroll-hint__arrow--down {
  -webkit-animation: scrollHintDown 1.6s ease-in-out infinite;
          animation: scrollHintDown 1.6s ease-in-out infinite;
  -webkit-transform-origin: center;
          transform-origin: center;
}

@-webkit-keyframes scrollHintUp {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
    opacity: 1;
  }
}

@keyframes scrollHintUp {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
    opacity: 1;
  }
}
@-webkit-keyframes scrollHintDown {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    -webkit-transform: translateY(6px);
            transform: translateY(6px);
    opacity: 1;
  }
}
@keyframes scrollHintDown {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    -webkit-transform: translateY(6px);
            transform: translateY(6px);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .horizontal-scroll-container {
    height: auto !important;
  }
  .sticky-viewport {
    position: static;
    height: auto;
    overflow: visible;
  }
  .horizontal-track {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    width: auto;
    padding: 20px !important;
    -webkit-transform: none !important;
            transform: none !important;
  }
  .case-card {
    -webkit-transform: none !important;
            transform: none !important;
  }
  .case-scroll-btn-wrap {
    position: static;
    -webkit-transform: none;
            transform: none;
    margin: 16px auto;
  }
}
@media screen and (max-width: 768px) {
  .anti-identification .identification-note {
    text-align: left;
  }
}
@media screen and (max-width: 340px) {
  .horizontal-track {
    gap: 26px;
    padding-right: 60vw;
  }
}
/* ===================== 防詐妙計 ===================== */
.anti-brilliant-plan {
  background-color: #ffece9;
}

.rules-wrap {
  width: 100%;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.rule-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px 40px;
  text-align: center;
  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;
}

.rule-card__number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #b3000e;
  color: #b3000e;
  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;
  line-height: 1;
  text-align: center;
  margin-bottom: 16px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.rule-card__number span {
  font-size: 44px;
  font-weight: bold;
  display: block;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}

.rule-card__title {
  font-size: 28px;
  font-weight: bold;
  color: #b3000e;
  margin-bottom: 10px;
  line-height: 1.4;
}

.rule-card__desc {
  font-size: 22px;
  color: #42515b;
  line-height: 1.5;
  text-align: justify;
}

/* 平板：5 張卡片改 3+2 排列 */
@media screen and (max-width: 1200px) {
  .rules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 手機：單欄堆疊，卡片維持直式排列（數字 → 紅字標題 → 灰字說明，由上到下） */
@media screen and (max-width: 640px) {
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .rule-card {
    padding: 24px 20px;
  }
}
/* ===================== 緊急應變 ===================== */
.anti-emergency-guide {
  background-color: #f6f6f6;
}

.steps-wrap {
  width: 100%;
}

.steps-panel {
  border-radius: 12px;
  padding: 20px 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas: "c1 c2 c3 c4";
  gap: 5px;
}

.step-card {
  background: #b3000e;
  border-radius: 12px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 0 -2px; /* 讓箭頭視覺上稍微貼近卡片，數值配合下方箭頭寬度微調 */
}

.step-card__head {
  background: #b3000e;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  padding: 10px 12px 0px;
}

.step-card__body {
  padding: 15px;
  margin: 8px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background-color: #fff;
  border-radius: 12px;
  text-align: justify;
}

.step-card__title {
  color: #333333;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.4;
}

.step-card__desc {
  color: #42515b;
  font-size: 22px;
  line-height: 1.5;
}

.step-card__title strong,
.step-card__desc strong {
  font-weight: bold;
}

.step-arrow {
  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: #b3000e;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.step-arrow svg {
  display: block;
}

/* 定位：c1~c4 為卡片，a1~a3 為卡片間的箭頭 */
.c1 {
  grid-area: c1;
}

.c2 {
  grid-area: c2;
}

.c3 {
  grid-area: c3;
}

.c4 {
  grid-area: c4;
}

.a1 {
  grid-area: a1;
}

.a2 {
  grid-area: a2;
}

.a3 {
  grid-area: a3;
}

/* 桌機：一整排橫向排列，箭頭朝右 */
@media screen and (min-width: 1300px) {
  .steps-grid {
    grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
    grid-template-areas: "c1 a1 c2 a2 c3 a3 c4";
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
}
/* 平板：2x2 排列，中間用向下箭頭銜接兩排 */
@media screen and (min-width: 641px) and (max-width: 1299px) {
  .steps-grid {
    grid-template-columns: 1fr 32px 1fr;
    grid-template-areas: "c1 a1 c2" "a2 a2 a2" "c3 a3 c4";
    row-gap: 4px;
    -webkit-column-gap: 0;
       -moz-column-gap: 0;
            column-gap: 0;
  }
  .a2 svg {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
  }
}
/* 手機：單欄堆疊，箭頭全部朝下 */
@media screen and (max-width: 640px) {
  .steps-panel {
    padding: 10px 0px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "c1" "a1" "c2" "a2" "c3" "a3" "c4";
    row-gap: 4px;
  }
  .step-arrow svg {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
  }
  .step-card {
    margin: 0;
  }
}
/* ===================== 反詐資源 ===================== */
.tabs-wrap {
  width: 100%;
  margin: 0 auto;
}

/* ---------- Tab 按鈕 ---------- */
.tab-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.tab-btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: none;
  padding: 4px 4px 0px;
  font-size: 28px;
  color: #42515b;
  cursor: pointer;
  position: relative;
  -webkit-transition: color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tab-btn::after {
  content: "";
  display: block;
  width: 150px;
  height: 5px;
  border-radius: 12px;
  background-color: #42515b;
}

.tab-btn:hover {
  color: #b3000e;
}
.tab-btn:hover::after {
  background-color: #b3000e;
}

/* 無障礙需求 */
.tab-btn:focus-visible {
  outline: 2px solid #b3000e;
  outline-offset: 2px;
  border-radius: 12px;
}

.tab-btn[aria-selected=true] {
  color: #b3000e;
  border-bottom-color: #b3000e;
}
.tab-btn[aria-selected=true]::after {
  background-color: #b3000e;
}

@media screen and (max-width: 640px) {
  .tab-btn::after {
    width: auto;
  }
}
@media screen and (max-width: 450px) {
  .tab-btn {
    font-size: 24px;
  }
}
@media screen and (max-width: 350px) {
  .tab-btn {
    font-size: 20px;
  }
}
/* ---------- 面板切換動畫 ---------- */
.tab-panel {
  display: none;
}

.tab-panel[data-active=true] {
  display: block;
  -webkit-animation: fadeIn 0.25s ease;
          animation: fadeIn 0.25s ease;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(4px);
            transform: translateY(4px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(4px);
            transform: translateY(4px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
/* ---------- 骨架載入狀態（首次渲染前短暫顯示，避免空白閃爍） ---------- */
.skeleton-row {
  height: 60px;
  border-radius: 12px;
  background: -webkit-gradient(linear, left top, right top, color-stop(25%, #f0f0f0), color-stop(37%, #f7f7f7), color-stop(63%, #f0f0f0));
  background: linear-gradient(90deg, #f0f0f0 25%, #f7f7f7 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  -webkit-animation: shimmer 1.4s ease infinite;
          animation: shimmer 1.4s ease infinite;
  margin-bottom: 8px;
}

@-webkit-keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
/* ---------- 樣式 1：條列式列表 ---------- */
.list-row {
  max-width: 1300px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  padding: 25px 35px;
  text-decoration: none;
  color: #42515b; /* 文字跟箭頭的預設色統一從這裡繼承 */
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}

.list-row:nth-child(odd) {
  background: #f6f6f6;
}

.list-row:hover {
  background: #ebebeb;
  color: #b3000e;
}

/* 無障礙需求 */
.list-row:focus-visible {
  outline: 2px solid #b3000e;
  outline-offset: -2px;
}

.list-row__title {
  font-size: 24px;
  line-height: 1.4;
}

.list-row__arrow {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.list-row:hover .list-row__arrow {
  -webkit-transform: translateX(3px);
          transform: translateX(3px);
}

@media screen and (max-width: 640px) {
  .list-row {
    padding: 20px;
  }
  .list-row__title {
    font-size: 22px;
    line-height: 1.75;
  }
  .list-row__arrow {
    width: 15px;
    height: 20px;
  }
}
/* ---------- 樣式 2：左右並行文字連結 ---------- */
.link-grid {
  display: grid;
  max-width: 1400px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.link-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  padding: 18px 25px;
  background: #f6f6f6;
  border-radius: 12px;
  text-decoration: none;
  color: #42515b; /* 文字跟 icon 的預設色統一從這裡繼承 */
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}

.link-item:hover {
  background: #ebebeb;
  color: #b3000e;
}

.link-item:focus-visible {
  outline: 2px solid #b3000e;
  outline-offset: 2px;
}

.link-item__title {
  font-size: 24px;
  line-height: 1.5;
}

.link-item__icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-width: 640px) {
  .link-item {
    padding: 15px;
  }
  .link-item__title {
    font-size: 22px;
  }
}
@media screen and (max-width: 560px) {
  .link-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------- 樣式 3：卡片 3 欄 ---------- */
.card-panel {
  border-radius: 12px;
  padding: 24px;
}

@media screen and (max-width: 640px) {
  .card-panel {
    padding: 10px;
  }
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media screen and (max-width: 720px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 580px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
.info-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: #fff;
  border-radius: 12px;
  border: 2px solid #f6f6f6;
  overflow: hidden;
  -webkit-transition: -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  transition: -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  transition: box-shadow 0.2s ease, transform 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
}

.info-card:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

.info-card__img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.info-card__img-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.info-card__body {
  padding: 14px 14px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.info-card__title {
  font-size: 24px;
  color: #333333;
  font-weight: normal;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.info-card__yt-btn {
  margin-top: auto;
  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: 6px;
  background: #ffece9;
  color: #b3000e;
  font-size: 24px;
  padding: 10px 12px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}

@media screen and (max-width: 640px) {
  .info-card__title {
    font-size: 22px;
  }
  .info-card__yt-btn {
    font-size: 20px;
  }
}
.info-card:focus-within {
  outline: 2px solid #b3000e;
  outline-offset: 2px;
}

/* ---------- 空狀態（資料為空陣列時的 fallback，擴充時保護畫面不會壞掉） ---------- */
.empty-state {
  text-align: center;
  padding: 48px 16px;
  color: #f6f6f6;
  font-size: 14px;
}

/* ===================== 聯絡我們===================== */
.contact-us {
  background-color: #ffece9;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(470px, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.contact-grid .contact-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: rgba(219, 43, 25, 0.2);
  border: 1.5px solid #db2b19;
  border-radius: 12px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.contact-grid .contact-card .contact-icon {
  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;
  width: 70px;
  height: 70px;
  background-color: #db2b19;
  border-radius: 12px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.contact-grid .contact-card .contact-icon .js-lottie-icon {
  width: 65px;
  height: 65px;
  -o-object-fit: contain;
     object-fit: contain;
}
.contact-grid .contact-card .contact-text {
  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;
  gap: 6px;
  color: #333333;
  font-size: 24px;
}
.contact-grid .contact-card .contact-text .contact-info {
  font-weight: bold;
}
.contact-grid .contact-card .contact-text .contact-info a {
  color: #333333;
  text-decoration: underline;
}

/* --------- breakpoints -------- */
@media screen and (max-width: 650px) {
  .contact-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (max-width: 450px) {
  .contact-grid .contact-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 15px 10px;
  }
  .contact-grid .contact-card .contact-text {
    gap: 3px;
    font-size: 22px;
  }
}
/* =============== footer============ */
footer.footer {
  text-align: left;
  font-size: 14px;
  background-color: #b3000e;
  color: #fff;
  line-height: 1.75;
}
footer.footer p {
  padding: 20px;
}

/* =============== 返回頂部 ============ */
.go-top {
  display: none; /* 預設隱藏，由 jQuery fadeIn 控制顯示 */
  position: fixed;
  bottom: 150px;
  right: 3%;
  width: 80px;
  height: 80px;
  z-index: 999;
  cursor: pointer;
  /* 彈性佈局：圖示與文字垂直居中 */
  -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;
  /* 視覺優化：圓角、背景與陰影 */
  background-color: #333333;
  color: #ffffff;
  border-radius: 50%;
  /* 滑鼠懸停與點擊轉場效果 */
  -webkit-transition: background-color 0.2s ease, -webkit-transform 0.1s ease;
  transition: background-color 0.2s ease, -webkit-transform 0.1s ease;
  transition: background-color 0.2s ease, transform 0.1s ease;
  transition: background-color 0.2s ease, transform 0.1s ease, -webkit-transform 0.1s ease;
  /* 消除 iOS 點擊灰色高亮 */
  -webkit-tap-highlight-color: transparent;
}

/* 2. 滑鼠懸停與 Focus 效果 */
/* 桌機懸停 */
@media (hover: hover) {
  .go-top:hover,
  .go-top:focus-visible {
    background-color: #b3000e;
    outline: none;
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
  }
}
/* 3. 點擊瞬間按壓回饋 (解決反應過慢的心理感覺) */
.go-top:active {
  -webkit-transform: translateY(1px) scale(0.92);
          transform: translateY(1px) scale(0.92); /* 點擊瞬間微縮下壓 */
  background-color: #b3000e;
}

/* 4. 圖示與文字細節 */
.go-top i {
  font-size: 20px;
  line-height: 1;
  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: 5px;
}

.go-top i span {
  font-size: 22px;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 1000px) {
  /* 1. 防止最下方內容被按鈕遮擋，在 body 留出空間 */
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
  .go-top {
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    position: relative; /* 先固定在下方 */
    /* 2. 結合 iOS 安全區域算高：基礎高度 56px + 手勢小白條高度 */
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom); /* 將文字內容往上推避開手勢條 */
    border-radius: 0%;
  }
  /* 3. 覆蓋 iOS 手機端的 Hover 狀態，防止顏色殘留 */
  .go-top:hover {
    -webkit-transform: none;
            transform: none;
    background-color: #333333;
  }
  .go-top:active {
    -webkit-transform: none;
            transform: none;
    background-color: #b3000e; /* 按下瞬間變色即可 */
  }
  /* 4. 圖示與文字細節 */
  .go-top i {
    font-size: 20px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .go-top i span {
    font-size: 22px;
  }
}/*# sourceMappingURL=style.css.map */