/* ============================================================
   青園盃羽球賽｜活動報名一頁式網站
   色票（Annie 提供 2026-08-25）：
   深海軍藍 #162453 主色大字 / 寶石藍 #244e97 區塊輔助
   皇家藍 #4267d3 圖示層次 / 電光青 #47def6 弧線強調
   淺青綠 #a8e2df 漸層輔助 / 亮粉紅 #ff7fff 少量點綴
   ============================================================ */
:root {
  --navy: #162453;
  --gem: #244e97;
  --royal: #4267d3;
  --cyan: #47def6;
  --mint: #a8e2df;
  --pink: #ff7fff;
  --ink: #162453;
  --paper: #f5f8fe;
  --white: #ffffff;
  --line: rgba(22, 36, 83, .12);
  --font-en: "Saira", "Noto Sans TC", sans-serif;
  --font-tc: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* html 底色＝頁尾深藍，並關掉 iOS 彈性回彈：捲到底不會露出白底 */
html { scroll-behavior: smooth; background: #0e1734; overscroll-behavior-y: none; }
body { overscroll-behavior-y: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-tc);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--cyan); color: var(--navy); }

.container { width: min(1180px, 92vw); margin: 0 auto; position: relative; }

/* ---------- 進場動畫 ---------- */
.intro {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(71, 222, 246, .22), transparent 60%),
    linear-gradient(160deg, #ffffff 0%, #eef4ff 45%, #dcebfb 100%);
  will-change: transform;
}
.intro.is-done { pointer-events: none; }
.intro__inner { width: min(1180px, 88vw); }
.intro__row { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 40px); }
.intro__mask { overflow: hidden; height: 1em; font-family: var(--font-en); font-weight: 800; font-style: italic; font-size: clamp(64px, 15vw, 190px); line-height: 1; color: var(--navy); }
.intro__roll span { display: block; height: 1em; line-height: 1; font-variant-numeric: tabular-nums; }
.intro__meta { padding-bottom: clamp(6px, 1.4vh, 18px); }
.intro__label { font-size: clamp(14px, 2vw, 20px); font-weight: 700; letter-spacing: .3em; color: var(--gem); white-space: nowrap; }
.intro__sub { margin-top: 6px; font-family: var(--font-en); font-style: italic; font-weight: 600; font-size: clamp(9px, 1.1vw, 12px); letter-spacing: .26em; color: var(--royal); white-space: nowrap; }
.intro__bar { margin-top: clamp(18px, 3vh, 34px); height: 2px; background: rgba(22, 36, 83, .12); overflow: hidden; }
.intro__bar span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--royal), var(--cyan)); }
@media (max-width: 560px) {
  .intro__row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .intro__meta { padding-bottom: 0; }
  .intro__label { letter-spacing: .18em; }
}

/* ---------- 導覽列 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  transition: background .35s, box-shadow .35s, transform .4s;
}
.nav.is-scrolled { background: rgba(245, 248, 254, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
/* 手機首屏滿版展示：捲離首屏才滑入導覽列 */
@media (max-width: 1024px) {
  .nav.nav--peek { transform: translateY(-110%); box-shadow: none; }
}
.nav__brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .06em; }
.nav__brand .tc { font-size: 17px; color: var(--navy); }
.nav__brand .en { font-family: var(--font-en); font-style: italic; font-size: 12px; color: var(--royal); letter-spacing: .18em; }
.nav__links { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); list-style: none; }
.nav__li-cta { display: none; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--gem); position: relative; padding: 4px 0; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .12em;
  color: var(--white); background: var(--navy); border: 0; border-radius: 999px;
  padding: 10px 22px; position: relative; overflow: hidden; transition: color .3s;
}
.nav__cta span { position: relative; z-index: 1; }
.nav__cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--royal), var(--cyan)); transform: translateX(-101%); transition: transform .4s var(--ease-out); }
.nav__cta:hover::before { transform: translateX(0); }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 95; }
.nav__burger i, .nav__burger i::before, .nav__burger i::after {
  content: ""; display: block; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--navy); transition: transform .3s, top .3s, opacity .3s;
}
.nav__burger i { top: 21px; }
.nav__burger i::before { top: -7px; left: 0; }
.nav__burger i::after { top: 7px; left: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(71, 222, 246, .28), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(168, 226, 223, .5), transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #eef4ff 45%, #dcebfb 100%);
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__streaks { position: absolute; inset: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; text-align: center; padding: 120px 5vw 90px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: clamp(13px, 1.5vw, 17px); letter-spacing: .3em; color: var(--gem);
}
.hero__eyebrow span { white-space: nowrap; }
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: clamp(24px, 5vw, 64px); height: 2px; background: linear-gradient(90deg, transparent, var(--royal)); flex: none; }
.hero__eyebrow::after { background: linear-gradient(90deg, var(--royal), transparent); }
@media (max-width: 640px) {
  /* 手機改上下兩行置中，不出現詭異斷行 */
  .hero__eyebrow { flex-direction: column; gap: 6px; letter-spacing: .22em; }
  .hero__eyebrow::before, .hero__eyebrow::after { display: none; }
  .hero__eyebrow-en { font-size: 13px; }
  .hero__eyebrow-tc { font-size: 12.5px; color: var(--royal); }
}
.hero__title-wrap { position: relative; display: flex; justify-content: center; margin: clamp(8px, 2vh, 24px) auto; filter: drop-shadow(0 22px 40px rgba(36, 78, 151, .22)); }
.hero__title-art { width: min(640px, 84vw); max-height: 44svh; object-fit: contain; }
.hero__brandline { font-size: clamp(15px, 2vw, 21px); font-weight: 500; letter-spacing: .42em; text-indent: .42em; color: var(--navy); }
.hero__info {
  margin: clamp(20px, 4vh, 40px) auto 0; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px;
  font-family: var(--font-en); font-weight: 600; font-size: clamp(15px, 2.2vw, 22px); letter-spacing: .05em; color: var(--navy);
  padding: 14px 26px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255, 255, 255, .65); backdrop-filter: blur(8px);
}
.hero__info .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.hero__cta-row { margin-top: clamp(22px, 4vh, 40px); display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: .14em;
  border-radius: 999px; padding: 16px 38px; border: 2px solid var(--navy);
  position: relative; overflow: hidden; transition: color .3s, border-color .3s;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--royal) 30%, var(--cyan)); transform: translateX(-101%); transition: transform .45s var(--ease-out); }
.btn--primary:hover::before { transform: translateX(0); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { border-color: var(--royal); color: var(--royal); }
.btn > * { position: relative; z-index: 1; }
.btn .arrow { font-family: var(--font-en); font-style: italic; transition: transform .3s; }
.btn:hover .arrow { transform: translateX(5px); }
.hero__scrollcue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; font-family: var(--font-en); font-size: 11px; letter-spacing: .35em; color: var(--gem); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scrollcue::after { content: ""; width: 2px; height: 42px; background: linear-gradient(var(--royal), transparent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 跑馬燈 ---------- */
.marquee { overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); background: var(--white); }
.marquee--navy { background: var(--navy); border: 0; }
.marquee__track { display: flex; width: max-content; gap: 48px; padding-right: 48px; animation: marquee 26s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__track span {
  font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: clamp(16px, 2.4vw, 26px);
  letter-spacing: .12em; color: var(--gem); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px;
}
.marquee--navy .marquee__track span { color: rgba(255, 255, 255, .85); }
.marquee__track span::after { content: "●"; font-size: 9px; color: var(--pink); }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- 區塊骨架 ---------- */
.section { position: relative; padding: clamp(72px, 12vh, 130px) 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--gem { background: linear-gradient(165deg, #eaf1ff, #f5f8fe 70%); }
.sec-head { margin-bottom: clamp(36px, 6vh, 64px); position: relative; }
.sec-head__num {
  font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: clamp(52px, 9vw, 110px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(66, 103, 211, .35);
  position: absolute; top: -0.45em; left: -0.06em; z-index: 0; pointer-events: none;
}
.section--navy .sec-head__num { -webkit-text-stroke-color: rgba(71, 222, 246, .35); }
.sec-head__en { font-family: var(--font-en); font-style: italic; font-weight: 700; font-size: 13px; letter-spacing: .32em; color: var(--royal); text-transform: uppercase; position: relative; z-index: 1; }
.section--navy .sec-head__en { color: var(--cyan); }
.sec-head__title { position: relative; z-index: 1; font-size: clamp(28px, 4.6vw, 44px); font-weight: 900; letter-spacing: .08em; line-height: 1.3; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__num { left: 50%; transform: translateX(-50%); }

/* 進場動畫初始狀態全由 JS 設定（無 JS 時內容照常可見） */

/* ---------- 02 活動緣起 ---------- */
.origin { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.origin__title { font-size: clamp(30px, 4.8vw, 52px); font-weight: 900; letter-spacing: .1em; line-height: 1.4; }
.origin__title em { font-style: normal; background: linear-gradient(100deg, var(--royal), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.origin__deco { margin-top: 26px; height: 60px; }
.origin__body p { margin-bottom: 1.4em; font-size: clamp(15px, 1.8vw, 17px); color: #2c3a6e; }
.origin__body p:last-child { margin-bottom: 0; font-weight: 700; color: var(--navy); font-size: clamp(17px, 2vw, 20px); letter-spacing: .12em; }

/* ---------- 03 獎勵辦法 ---------- */
.prizes { position: relative; }
.prize-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prize-card {
  position: relative; border-radius: 20px; padding: 30px 24px 26px; overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .4s var(--ease-out), border-color .4s;
}
.prize-card:hover { transform: translateY(-8px); border-color: var(--cyan); }
.prize-card--gold { background: linear-gradient(170deg, rgba(71, 222, 246, .22), rgba(66, 103, 211, .12)); border-color: rgba(71, 222, 246, .5); }
.prize-card__rank { font-size: 18px; font-weight: 900; letter-spacing: .3em; color: var(--mint); }
.prize-card--gold .prize-card__rank { color: var(--cyan); }
.prize-card__en { font-family: var(--font-en); font-style: italic; font-weight: 700; font-size: 11px; letter-spacing: .22em; color: rgba(255, 255, 255, .45); text-transform: uppercase; }
.prize-card__amount { margin-top: 18px; font-family: var(--font-en); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; color: var(--white); font-variant-numeric: lining-nums tabular-nums; }
.prize-card__amount small { font-family: var(--font-tc); font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .65); display: block; margin-bottom: 4px; letter-spacing: .1em; }
.prize-card__shadowNum { position: absolute; right: -6px; bottom: -26px; font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 110px; line-height: 1; color: rgba(255, 255, 255, .05); pointer-events: none; }
.prize-note {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border-radius: 16px; padding: 20px 26px; background: rgba(255, 255, 255, .07); border: 1px dashed rgba(168, 226, 223, .4);
}
.prize-note__rank { font-weight: 900; letter-spacing: .18em; color: var(--mint); font-size: 17px; }
.prize-note__amount { font-family: var(--font-en); font-weight: 800; font-size: 26px; color: var(--white); }
.prize-note__amount small { font-family: var(--font-tc); font-size: 13px; font-weight: 500; margin-left: 6px; color: rgba(255,255,255,.7); }
.prize-note__memo { width: 100%; font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.prizes__subtitle { text-align: center; margin-bottom: 30px; font-size: 15px; letter-spacing: .2em; color: var(--mint); font-weight: 500; }

/* ---------- 04 活動資訊一覽 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px;
  position: relative; overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s;
}
.info-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(22, 36, 83, .25); }
.info-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--royal), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.info-card:hover::before { transform: scaleX(1); }
.info-card--wide { grid-column: span 2; }
.info-card__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--royal); }
.info-card__label svg { width: 17px; height: 17px; flex: none; }
.info-card__value { margin-top: 10px; font-size: clamp(15px, 1.7vw, 17px); font-weight: 700; color: var(--navy); line-height: 1.7; }
.info-card__value small { display: block; font-weight: 400; font-size: 13.5px; color: #4a5787; margin-top: 2px; }

/* ---------- 05 競賽組別 ---------- */
.division-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.division-card { border-radius: 22px; overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.division-card__head { padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; color: var(--white); background: linear-gradient(120deg, var(--navy), var(--gem)); position: relative; overflow: hidden; }
.division-card--mix .division-card__head { background: linear-gradient(120deg, var(--gem), var(--royal)); }
.division-card__head::after { content: ""; position: absolute; right: -30px; top: -40px; width: 140px; height: 140px; border: 2px solid rgba(71, 222, 246, .35); border-radius: 50%; }
.division-card__name { font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; letter-spacing: .14em; }
.division-card__name small { display: block; font-family: var(--font-en); font-style: italic; font-size: 12px; letter-spacing: .26em; font-weight: 700; color: var(--cyan); margin-top: 4px; }
.division-card__slots { text-align: right; font-family: var(--font-en); font-weight: 800; font-size: 30px; line-height: 1; }
.division-card__slots small { display: block; font-family: var(--font-tc); font-size: 12px; font-weight: 500; letter-spacing: .2em; color: rgba(255, 255, 255, .75); margin-top: 4px; }
.division-card__body { padding: 24px 28px 28px; display: grid; gap: 16px; }
.division-card__row strong { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .2em; color: var(--royal); margin-bottom: 5px; }
.division-card__row strong::before { content: ""; width: 14px; height: 2px; background: var(--cyan); }
.division-card__row p { font-size: 15px; color: #2c3a6e; }
.rules-card { border-radius: 22px; background: var(--white); border: 1px solid var(--line); padding: 30px 32px; margin-bottom: 20px; }
.rules-card__title { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 900; letter-spacing: .16em; color: var(--navy); margin-bottom: 16px; }
.rules-card__title .en { font-family: var(--font-en); font-style: italic; font-size: 11px; letter-spacing: .26em; color: var(--royal); font-weight: 700; }
.rules-card ol { list-style: none; display: grid; gap: 12px; counter-reset: rule; }
.rules-card ol li { position: relative; padding-left: 40px; font-size: 15px; color: #2c3a6e; counter-increment: rule; }
.rules-card ol li::before {
  content: counter(rule, decimal-leading-zero); position: absolute; left: 0; top: 2px;
  font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 15px; color: var(--royal);
}
.rules-card--checkin ol li::before { color: var(--gem); }
.rules-card__time { display: inline-block; margin-bottom: 14px; padding: 8px 18px; border-radius: 999px; background: linear-gradient(100deg, var(--navy), var(--gem)); color: var(--white); font-weight: 700; letter-spacing: .1em; font-size: 14.5px; }

/* ---------- 06 賽制說明 ---------- */
.format { position: relative; }
.format__court { position: absolute; inset: 0; pointer-events: none; opacity: .35; }
.format-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.format-item {
  border-radius: 20px; padding: 26px 24px; min-height: 150px;
  background: linear-gradient(170deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14); position: relative; overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease-out);
}
.format-item:hover { border-color: var(--cyan); transform: translateY(-5px); }
.format-item__num { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 14px; letter-spacing: .18em; color: var(--cyan); }
.format-item p { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.format-item strong { color: var(--white); font-weight: 700; }

/* ---------- 07 活動當日流程 ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 130px; }
.timeline::before { content: ""; position: absolute; left: 104px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__progress { position: absolute; left: 104px; top: 6px; width: 2px; height: 0; background: linear-gradient(var(--royal), var(--cyan)); z-index: 1; }
.timeline-item { position: relative; padding: 0 0 26px 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -31px; top: 9px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--royal); z-index: 2; transition: background .3s, box-shadow .3s;
}
.timeline-item.is-hit::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(71, 222, 246, .2); }
.timeline-item__time {
  position: absolute; left: -160px; top: 4px; width: 118px; text-align: right;
  font-family: var(--font-en); font-weight: 700; font-size: 15px; color: var(--gem); font-variant-numeric: tabular-nums;
}
.timeline-item__desc { font-size: 15.5px; color: #2c3a6e; }
.timeline-item--key .timeline-item__desc { font-weight: 700; color: var(--navy); }
.timeline-note { max-width: 820px; margin: 34px auto 0; font-size: 11.5px; color: #6a76a5; text-align: center; }

/* ---------- 08 報名辦法與流程 ---------- */
.signup-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.signup-meta__card { border-radius: 18px; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); }
.signup-meta__card strong { display: block; font-size: 13px; letter-spacing: .24em; color: var(--royal); margin-bottom: 8px; }
.signup-meta__card p { font-size: clamp(16px, 1.9vw, 18px); font-weight: 700; color: var(--navy); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step-card { position: relative; border-radius: 20px; padding: 58px 22px 24px; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s; }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(22, 36, 83, .25); }
.step-card__num {
  position: absolute; top: 14px; left: 20px; font-family: var(--font-en); font-style: italic; font-weight: 800;
  font-size: 34px; line-height: 1; background: linear-gradient(120deg, var(--royal), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-card__arrow { position: absolute; top: 20px; right: 18px; width: 22px; height: 22px; color: var(--mint); }
.step-card p { font-size: 14.5px; color: #2c3a6e; }
.bank-box { margin-top: 40px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(22, 36, 83, .18); background: var(--navy); color: var(--white); }
.bank-box__head { display: flex; align-items: center; gap: 12px; padding: 18px 28px; background: linear-gradient(100deg, var(--gem), var(--royal)); font-weight: 900; letter-spacing: .2em; font-size: 16px; }
.bank-box__head svg { width: 20px; height: 20px; }
.bank-box__body { display: grid; grid-template-columns: repeat(4, auto); gap: 14px 34px; padding: 26px 28px; }
.bank-box__item strong { display: block; font-size: 12px; letter-spacing: .22em; color: var(--mint); margin-bottom: 6px; }
.bank-box__item p { font-family: var(--font-en); font-weight: 700; font-size: 17px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.bank-box__item p.tc { font-family: var(--font-tc); }
.signup-extra { margin-top: 22px; display: grid; gap: 8px; }
.signup-extra li { list-style: none; position: relative; padding-left: 22px; font-size: 12.5px; color: #4a5787; }
.signup-extra li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--pink); }
.signup-statuslink { margin-top: 36px; text-align: center; }

/* ---------- 09 報名須知 ---------- */
.notice-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: start; }
.notice-card { border-radius: 22px; background: var(--white); border: 1px solid var(--line); padding: 30px 32px; }
.notice-card__title { font-size: 18px; font-weight: 900; letter-spacing: .14em; color: var(--navy); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.notice-card__title svg { width: 20px; height: 20px; color: var(--royal); flex: none; }
.notice-card ul { list-style: none; display: grid; gap: 11px; }
.notice-card ul li { position: relative; padding-left: 22px; font-size: 14.5px; color: #2c3a6e; }
.notice-card ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--cyan); }
.notice-card--forfeit { border: 1px solid rgba(255, 127, 255, .45); background: linear-gradient(170deg, #fff, #fef4ff); }
.notice-card--forfeit ul li::before { background: var(--pink); }
.notice-card--forfeit .notice-card__title svg { color: var(--pink); }
.notice-download { margin-top: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ---------- 10 常見問題 ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--white); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: var(--royal); box-shadow: 0 16px 36px -22px rgba(22, 36, 83, .3); }
.faq-item summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 26px; cursor: pointer; font-weight: 700; font-size: clamp(15px, 1.8vw, 16.5px); color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 20px; color: var(--royal); flex: none; }
.faq-item summary .plus { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--royal); position: relative; transition: transform .35s var(--ease-out), background .3s; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--royal); transition: background .3s; }
.faq-item summary .plus::before { width: 11px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 11px; }
.faq-item[open] summary .plus { transform: rotate(135deg); background: var(--royal); }
.faq-item[open] summary .plus::before, .faq-item[open] summary .plus::after { background: var(--white); }
.faq-item__a { display: flex; gap: 16px; padding: 0 26px 22px; font-size: 15px; color: #2c3a6e; }
.faq-item__a .a { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 20px; color: var(--cyan); flex: none; line-height: 1.4; }

/* ---------- 11 個資聲明 ---------- */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.privacy-card { border-radius: 20px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); padding: 28px 26px; }
.privacy-card h3 { font-size: 16px; font-weight: 900; letter-spacing: .16em; color: var(--cyan); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.privacy-card h3 svg { width: 18px; height: 18px; flex: none; }
.privacy-card p { font-size: 12.5px; line-height: 2; color: rgba(255, 255, 255, .78); text-align: justify; }

/* ---------- 12 報名表單 ---------- */
/* 上緣接個資區（--navy）、下緣接頁尾（#0e1734），全程無斷色 */
.form-section { background: linear-gradient(180deg, var(--navy) 0%, #1b2f6b 45%, #14224e 78%, #0e1734 100%); color: var(--white); }
.form-shell { max-width: 900px; margin: 0 auto; border-radius: 26px; background: var(--white); color: var(--ink); padding: clamp(28px, 5vw, 56px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .55); }
.form-block { margin-bottom: 36px; }
.form-block:last-of-type { margin-bottom: 0; }
.form-block__title { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 900; letter-spacing: .18em; color: var(--navy); margin-bottom: 20px; }
.form-block__title::before { content: ""; width: 8px; height: 22px; border-radius: 3px; background: linear-gradient(var(--royal), var(--cyan)); }
.form-block__title .en { font-family: var(--font-en); font-style: italic; font-size: 11px; letter-spacing: .24em; color: var(--royal); font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label { font-size: 14px; font-weight: 700; color: var(--navy); letter-spacing: .06em; }
.field > label .req { color: var(--pink); margin-left: 4px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select {
  appearance: none; -webkit-appearance: none; width: 100%;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  padding: 13px 16px; font-family: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--royal); background: var(--white); box-shadow: 0 0 0 4px rgba(66, 103, 211, .15); }
.field.is-error input, .field.is-error select { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 127, 255, .15); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234267d3' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-block; padding: 11px 26px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 14.5px; font-weight: 500; color: #4a5787; background: var(--paper);
  transition: all .25s; user-select: none;
}
.radio-pill input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); font-weight: 700; }
.radio-pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(66, 103, 211, .25); }
.radio-pill:hover span { border-color: var(--royal); }
.group-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.group-choice .radio-pill span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px; border-radius: 16px; text-align: center; font-size: 16px; font-weight: 700; color: var(--navy); }
.group-choice .radio-pill span small { font-family: var(--font-en); font-style: italic; font-size: 11px; letter-spacing: .2em; font-weight: 700; color: var(--royal); }
.group-choice .radio-pill input:checked + span small { color: var(--cyan); }
.field__hint { font-size: 11.5px; color: #6a76a5; }
.consent { margin-top: 34px; border-top: 1px dashed var(--line); padding-top: 26px; }
.consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14.5px; color: #2c3a6e; line-height: 1.9; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 5px; accent-color: var(--royal); }
.form-submit { margin-top: 30px; text-align: center; }
.form-submit .btn { border: 0; width: min(420px, 100%); justify-content: center; font-size: 17px; padding: 18px 38px; }
.form-note { margin-top: 16px; text-align: center; font-size: 11.5px; color: #6a76a5; }

/* ---------- 頁尾 ---------- */
.footer { background: #0e1734; color: var(--white); position: relative; overflow: hidden; }
.footer__cta { text-align: center; padding: clamp(80px, 14vh, 150px) 5vw clamp(60px, 9vh, 100px); position: relative; }
.footer__ask { font-size: clamp(26px, 5vw, 48px); font-weight: 900; letter-spacing: .12em; line-height: 1.5; }
.footer__slogan { margin-top: 14px; font-size: clamp(14px, 1.8vw, 18px); letter-spacing: .4em; text-indent: .4em; color: var(--mint); }
.footer__cta .btn { margin-top: 38px; }
.footer__meta { border-top: 1px solid rgba(255, 255, 255, .12); padding: 34px 5vw clamp(150px, 15vw, 210px); display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: center; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .65); }
.footer__meta strong { color: rgba(255, 255, 255, .9); font-weight: 700; margin-right: 8px; letter-spacing: .14em; }
.footer__meta a { text-decoration: none; }
.footer__bigword { position: absolute; left: 50%; bottom: -1.5vw; transform: translateX(-50%); width: 100%; text-align: center; font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: clamp(48px, 11vw, 150px); line-height: 1; letter-spacing: .02em; color: rgba(255, 255, 255, .05); white-space: nowrap; pointer-events: none; }

/* ---------- 可點擊地址／電話 ---------- */
.maplink { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(66, 103, 211, .55); transition: color .25s, border-color .25s; }
.maplink:hover { color: var(--royal); border-bottom-color: var(--royal); }
/* 電話：可點但不畫底線 */
.tellink { color: inherit; text-decoration: none; border-bottom: 0; transition: color .25s; }
.tellink:hover { color: var(--royal); }
.footer__meta .tellink:hover { color: var(--cyan); }
.subpage__footnote .tellink { border-bottom: 0; }

/* ---------- thanks / status 頁 ---------- */
.subpage { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 110px 5vw 60px; position: relative; overflow: hidden; background: linear-gradient(160deg, #ffffff 0%, #eef4ff 45%, #dcebfb 100%); }
.subpage__card { position: relative; z-index: 2; width: min(640px, 100%); border-radius: 26px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 40px 90px -50px rgba(22, 36, 83, .5); padding: clamp(32px, 6vw, 56px); text-align: center; }
.status-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .12em; }
.status-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-tag--pending { background: rgba(255, 127, 255, .12); color: #c24ac2; }
.status-tag--ok { background: rgba(71, 222, 246, .15); color: #0e7f97; }
.subpage__title { margin-top: 20px; font-size: clamp(24px, 4vw, 34px); font-weight: 900; letter-spacing: .1em; color: var(--navy); line-height: 1.5; }
.subpage__body { margin-top: 18px; font-size: 15px; color: #2c3a6e; text-align: center; }
.subpage__body p + p { margin-top: .8em; }
.subpage__actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.subpage__en { position: absolute; z-index: 1; top: 12vh; left: 50%; transform: translateX(-50%); font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: clamp(60px, 14vw, 170px); color: rgba(66, 103, 211, .07); white-space: nowrap; pointer-events: none; }
.subpage__footnote { position: static; z-index: 2; margin-top: 30px; padding: 0 16px 6px; text-align: center; font-size: 11.5px; line-height: 2; color: #6a76a5; }
.subpage__footnote .fn { display: inline-block; white-space: nowrap; margin: 0 8px; }
@media (max-width: 640px) { .subpage__footnote .fn { display: block; margin: 0; } .subpage__footnote br { display: none; } }
@media (max-width: 640px) {
  /* padding-bottom 需讓開右下角浮動按鈕（58px＋間距） */
  .footer__meta { flex-direction: column; gap: 8px; font-size: 12px; padding-bottom: 185px; }
  .footer__meta p { white-space: nowrap; }
}
.subpage__footnote strong { color: var(--navy); font-weight: 700; margin-right: 6px; letter-spacing: .1em; }
.subpage__footnote .tellink { border-bottom-color: rgba(106, 118, 165, .4); }
.status-form { margin-top: 26px; display: grid; gap: 16px; text-align: left; }
.status-result { margin-top: 10px; text-align: center; }
.status-result[hidden] { display: none; }

/* ---------- 收合元件（fold） ---------- */
.fold { border: 1px solid var(--line); border-radius: 18px; background: var(--white); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.fold + .fold { margin-top: 14px; }
.fold.is-open { border-color: var(--royal); box-shadow: 0 16px 36px -24px rgba(22, 36, 83, .3); }
.fold__head {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: none; border: 0; padding: 18px 24px;
  font-family: inherit; font-size: 16px; font-weight: 900; letter-spacing: .14em; color: var(--navy);
}
.fold__head .en { font-family: var(--font-en); font-style: italic; font-size: 10.5px; letter-spacing: .24em; color: var(--royal); font-weight: 700; }
.fold__head .plus { margin-left: auto; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--royal); position: relative; transition: transform .35s var(--ease-out), background .3s; }
.fold__head .plus::before, .fold__head .plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--royal); transition: background .3s; }
.fold__head .plus::before { width: 10px; height: 1.5px; }
.fold__head .plus::after { width: 1.5px; height: 10px; }
.fold.is-open .fold__head .plus { transform: rotate(135deg); background: var(--royal); }
.fold.is-open .fold__head .plus::before, .fold.is-open .fold__head .plus::after { background: var(--white); }
.fold__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.fold.is-open .fold__body { grid-template-rows: 1fr; }
.fold__inner { overflow: hidden; min-height: 0; }
.fold__content { padding: 0 24px 22px; }
.fold--navy { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); }
.fold--navy.is-open { border-color: var(--cyan); box-shadow: none; }
.fold--navy .fold__head { color: var(--cyan); }
.fold--navy .fold__head .en { color: rgba(255, 255, 255, .45); }
.fold--navy .fold__head .plus { border-color: var(--cyan); }
.fold--navy .fold__head .plus::before, .fold--navy .fold__head .plus::after { background: var(--cyan); }
.fold--navy.is-open .fold__head .plus { background: var(--cyan); }
.fold--navy.is-open .fold__head .plus::before, .fold--navy.is-open .fold__head .plus::after { background: var(--navy); }
.fold .rules-card { border: 0; border-radius: 0; padding: 0; margin: 0; background: transparent; }
.fold .notice-card { border: 0; border-radius: 0; padding: 0; background: transparent; }
.fold .privacy-card { border: 0; border-radius: 0; padding: 0; background: transparent; }

/* ---------- 複製帳號 ---------- */
.bank-copy {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(71, 222, 246, .12); border: 1px dashed rgba(71, 222, 246, .5); border-radius: 10px;
  padding: 6px 12px; margin: -4px 0;
  font-family: var(--font-en); font-weight: 700; font-size: 17px; letter-spacing: .04em;
  color: var(--white); cursor: pointer; transition: background .25s, border-color .25s;
  font-variant-numeric: tabular-nums; position: relative;
}
.bank-copy:hover { background: rgba(71, 222, 246, .22); border-color: var(--cyan); }
.bank-copy svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }
.bank-copy__done {
  position: absolute; left: 50%; top: -30px; transform: translateX(-50%) translateY(4px);
  background: var(--cyan); color: var(--navy); font-family: var(--font-tc); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.bank-copy.is-copied .bank-copy__done { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 自訂游標（桌機） ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 200; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; background: var(--royal); margin: -4px 0 0 -4px; }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(71, 222, 246, .8); margin: -17px 0 0 -17px; transition: width .25s, height .25s, margin .25s, border-color .25s, opacity .25s; }
.cursor-ring.is-hover { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-color: var(--pink); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- 3D tilt ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- 右下角懸浮按鈕（正圓形） ---------- */
.fab { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 3vh, 28px); z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 12px; }
/* 捲離首屏才滑入；純 transition 控制（配 .fab.is-on） */
.fab .fab__btn { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(26px); }
.fab.is-on .fab__btn { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.fab.is-on .fab__btn--primary { transition-delay: .08s; }
.fab.is-on .fab__btn--primary:hover { transition-delay: 0s; }
.fab__btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; border-radius: 50%;
  text-decoration: none; text-align: center;
  font-weight: 700; font-size: 13.5px; line-height: 1.4; letter-spacing: .08em;
  box-shadow: 0 10px 30px -8px rgba(22, 36, 83, .45);
  transition: transform .3s var(--ease-out), box-shadow .3s, background .3s, color .3s, border-color .3s, opacity .35s, visibility .35s;
}
.fab__label { position: relative; z-index: 1; }
.fab__btn--primary { background: linear-gradient(135deg, var(--gem), var(--royal)); color: var(--white); }
.fab__btn--primary:hover { background: linear-gradient(135deg, var(--royal), var(--cyan)); transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 38px -10px rgba(66, 103, 211, .65); }
.fab__btn--ghost { background: rgba(255, 255, 255, .95); color: var(--navy); border: 1.5px solid var(--line); backdrop-filter: blur(8px); }
.fab__btn--ghost:hover { border-color: var(--royal); color: var(--royal); transform: translateY(-4px) scale(1.06); }
.fab.is-on .fab__btn.is-off { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(26px); transition-delay: 0s; }
/* 動效 01：立即報名脈衝光環（雙圈） */
.fab__btn--pulse::before, .fab__btn--pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(71, 222, 246, .75); opacity: 0; pointer-events: none;
}
.fab.is-on .fab__btn--pulse::before { animation: fab-ring 2.4s ease-out infinite; }
.fab.is-on .fab__btn--pulse::after { animation: fab-ring 2.4s ease-out 1.2s infinite; }
@keyframes fab-ring {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}
/* 動效 02：立即報名週期性招手（tada） */
.fab.is-on .fab__btn--pulse .fab__label { display: inline-block; animation: fab-tada 5s ease-in-out 2s infinite; }
@keyframes fab-tada {
  0%, 12%, 100% { transform: rotate(0) scale(1); }
  2% { transform: rotate(-6deg) scale(1.08); }
  4% { transform: rotate(6deg) scale(1.12); }
  6% { transform: rotate(-5deg) scale(1.12); }
  8% { transform: rotate(4deg) scale(1.1); }
  10% { transform: rotate(0) scale(1.05); }
}
@media (max-width: 560px) {
  .fab__btn { width: 58px; height: 58px; font-size: 12px; letter-spacing: .05em; }
}

/* ---------- 表單連動：鎖定的選項 ---------- */
.radio-pill.is-disabled { pointer-events: none; }
.radio-pill.is-disabled span { opacity: .32; background: #eceff7; border-style: dashed; text-decoration: line-through; }

/* ---------- 微動效批次（Kinetics 風格） ---------- */
/* 動效 03：冠軍卡光暈呼吸 */
.prize-card--gold { animation: gold-breathe 3.2s ease-in-out infinite; }
@keyframes gold-breathe {
  0%, 100% { box-shadow: 0 0 0 rgba(71, 222, 246, 0); }
  50% { box-shadow: 0 0 34px -4px rgba(71, 222, 246, .45); }
}
/* 動效 04：資訊卡 hover 圖示彈跳 */
.info-card:hover .info-card__label svg { animation: icon-hop .5s var(--ease-out); }
@keyframes icon-hop { 0% { transform: translateY(0); } 40% { transform: translateY(-5px) scale(1.15); } 100% { transform: translateY(0); } }
/* 動效 05：組別卡頭圓弧慢轉 */
.division-card__head::after { animation: arc-spin 14s linear infinite; }
@keyframes arc-spin { to { transform: rotate(360deg); } }
/* 動效 06：步驟卡編號漸層流動 */
.step-card__num { background-size: 250% 100%; animation: num-flow 4s ease-in-out infinite alternate; }
@keyframes num-flow { from { background-position: 0% 0; } to { background-position: 100% 0; } }
/* 動效 07：匯款卡圖示緩慢搖擺 */
.bank-box__head svg { transform-origin: 50% 90%; animation: icon-sway 3.4s ease-in-out infinite; }
@keyframes icon-sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(7deg); } }
/* 動效 08：FAQ 題目 hover 滑移 */
.faq-item summary { transition: padding-left .3s var(--ease-out); }
.faq-item:not([open]) summary:hover { padding-left: 34px; }
/* 動效 09：跑馬燈 hover 暫停 */
.marquee:hover .marquee__track { animation-play-state: paused; }
/* 動效 10：選項選中彈跳 */
.radio-pill input:checked + span { animation: pill-pop .35s var(--ease-out); }
@keyframes pill-pop { 0% { transform: scale(.92); } 55% { transform: scale(1.06); } 100% { transform: scale(1); } }
/* 動效 11：頁尾 CTA 呼吸陰影 */
.footer__cta .btn--primary { animation: cta-breathe 3s ease-in-out infinite; }
@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 0 0 rgba(71, 222, 246, 0); }
  50% { box-shadow: 0 0 30px -4px rgba(71, 222, 246, .4); }
}
/* 動效 12：複製鈕虛線框流動 */
.bank-copy:hover { animation: copy-nudge .4s var(--ease-out); }
@keyframes copy-nudge { 0% { transform: scale(1); } 50% { transform: scale(1.04); } 100% { transform: scale(1); } }
/* 動效 13：hero 資訊卡 hover 浮起 */
.hero__info { transition: transform .35s var(--ease-out), box-shadow .35s; }
.hero__info:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(22, 36, 83, .3); }
/* 動效 14：導覽 brand hover 英文字滑出 */
.nav__brand .en { transition: letter-spacing .35s var(--ease-out), color .3s; }
.nav__brand:hover .en { letter-spacing: .3em; color: var(--cyan); }
/* 動效 15：查詢/送出等主鈕按壓回彈 */
.btn:active, .fab__btn:active, .nav__cta:active { transform: scale(.95); transition-duration: .1s; }

/* ---------- 裝飾 ---------- */
.deco-arc { position: absolute; pointer-events: none; }
.skew-band { position: relative; }

/* ---------- RWD ---------- */
@media (max-width: 1024px) {
  .prize-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .format-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bank-box__body { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  /* iOS Safari：nav 的 backdrop-filter 會讓子層 fixed 失效，
     改用 absolute（相對貼頂的 .nav）+ visibility，杜絕收合時溢出殘字 */
  .nav__links {
    position: absolute; top: 0; left: 0; width: 100%; height: 100svh;
    z-index: 92; flex-direction: column; justify-content: center; gap: 26px;
    background: linear-gradient(165deg, #f8faff, #e8f0fc);
    visibility: hidden; opacity: 0; pointer-events: none;
    transform: translateY(-3%);
    transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s;
  }
  .nav__links.is-open {
    visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0);
    transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s 0s;
  }
  .nav__links a { font-size: 19px; font-weight: 700; color: var(--navy); }
  .nav__li-cta { display: block; }
  .nav__links .nav__links-cta { margin-top: 10px; padding: 14px 40px; border-radius: 999px; background: var(--navy); color: var(--white); letter-spacing: .16em; display: inline-block; }
  .nav__links .nav__links-cta::after { display: none; }
  .nav__burger { display: block; }
  .nav__burger.is-open i { background: transparent; }
  .nav__burger.is-open i::before { top: 0; transform: rotate(45deg); }
  .nav__burger.is-open i::after { top: 0; transform: rotate(-45deg); }
  .nav__cta { display: none; }
}
@media (max-width: 860px) {
  .origin { grid-template-columns: 1fr; }
  .division-grid { grid-template-columns: 1fr; }
  .notice-wrap { grid-template-columns: 1fr; }
  .signup-meta { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .group-choice { grid-template-columns: 1fr; }
  .timeline { padding-left: 0; padding-top: 4px; }
  .timeline::before, .timeline__progress { left: 5px; }
  .timeline-item { padding-left: 30px; }
  .timeline-item::before { left: 0; }
  .timeline-item__time { position: static; width: auto; text-align: left; display: block; margin-bottom: 2px; }
}
@media (max-width: 560px) {
  .prize-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prize-card { padding: 20px 16px; }
  .prize-card__amount { font-size: 22px; white-space: nowrap; }
  .prize-card__amount small { font-size: 11px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card--wide { grid-column: auto; }
  .format-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bank-box__body { grid-template-columns: 1fr; }
  .hero__info { flex-direction: column; gap: 6px; }
  .hero__info .dot { display: none; }
  .btn { padding: 14px 28px; font-size: 15px; }

  /* ── 手機閱讀密度統一（圓角 16px、內距收斂、字級微降） ── */
  .fold, .faq-item, .info-card, .division-card, .notice-card, .step-card,
  .signup-meta__card, .format-item, .prize-card { border-radius: 16px; }
  .bank-box, .form-shell, .division-card { border-radius: 18px; }
  .fold__head { padding: 16px 18px; font-size: 15px; letter-spacing: .1em; gap: 8px; }
  .fold__head .en { font-size: 9.5px; letter-spacing: .18em; }
  .fold__head .plus { width: 22px; height: 22px; }
  .fold__content { padding: 0 18px 18px; }
  .rules-card { padding: 0; }
  .rules-card ol { gap: 10px; }
  .rules-card ol li { padding-left: 30px; font-size: 14px; line-height: 1.8; }
  .rules-card__time {
    display: block; text-align: center; white-space: nowrap;
    font-size: clamp(11px, 3.5vw, 14px); letter-spacing: .02em;
    padding: 10px 6px; border-radius: 12px; margin-bottom: 12px;
  }
  .notice-card { padding: 20px 18px; }
  .notice-card__title { font-size: 16px; letter-spacing: .08em; gap: 8px; margin-bottom: 12px; }
  .notice-card ul { gap: 9px; }
  .notice-card ul li { font-size: 13.5px; padding-left: 18px; line-height: 1.8; }
  .privacy-card p { font-size: 12px; }
  .division-card__head { padding: 20px; }
  .division-card__body { padding: 18px 20px 22px; gap: 13px; }
  .division-card__row p { font-size: 14px; line-height: 1.8; }
  .info-card { padding: 18px; }
  .info-card__value { font-size: 15px; }
  .step-card { padding: 50px 18px 18px; }
  .step-card p { font-size: 14px; }
  .format-item { padding: 20px 18px; min-height: 0; }
  .format-item p { font-size: 14px; }
  .faq-item summary { padding: 16px 18px; gap: 10px; font-size: 14.5px; line-height: 1.7; }
  .faq-item summary .q, .faq-item__a .a { font-size: 17px; }
  .faq-item__a { padding: 0 18px 16px; font-size: 14px; gap: 10px; }
  .signup-meta__card { padding: 18px 20px; }
  .signup-meta__card p { font-size: 15px; }
  .bank-box__head { padding: 14px 20px; font-size: 15px; letter-spacing: .14em; }
  .bank-box__body { padding: 20px; gap: 13px; }
  .prize-note { padding: 16px 18px; }
  .form-shell { padding: 26px 18px; border-radius: 20px; }
  .form-block__title { font-size: 15px; letter-spacing: .12em; }
  .timeline-item__desc { font-size: 14px; }
  .sec-head__title { letter-spacing: .06em; }
  .subpage__card { padding: 28px 20px; border-radius: 20px; }
}
