/*
  ══════════════════════════════════════════════
  設計備註 · DESIGN NOTES
  ──────────────────────────────────────────────
  整體色調：深墨 × 舊報紙米黃 × 警示紅
  意圖：「新聞紙的嚴肅感」加上「抗議海報的緊迫感」
  避免：科技藍、漸層紫、過度精緻感
  （過度精緻會讓人覺得這是商業產品，不是公民運動）

  字體備註：
  目前用 Noto Serif TC（標題）+ Noto Sans TC（內文）
  可以考慮換成：
  - 瀑布標題：思源黑體 ExtraBold（更有力量感）
  - 或找一套有點「手工印刷」質感的中文字體
    例如 jf-openhuninn（免費開源台灣字體）
    https://justfont.com/huninn/
  ══════════════════════════════════════════════
*/

:root {
  --ink:   #0e0e14;
  --paper: #f7f2e8;
  --red:   #c0311a;
  --warm:  #e6e0d4;
  --mid:   #756d64; /* Darkened from #888078 for better contrast */
  --dim:   #555050;
  --soft:  #eee8dc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

/* grain — 讓畫面有紙質感，不像螢幕產品 */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 8000;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 48px;
  display: flex; justify-content: space-between; align-items: center;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
nav.scrolled {
  background: rgba(247,242,232,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14,14,20,0.06);
  padding: 12px 48px;
}
nav.hidden {
  transform: translateY(-100%);
}
.nav-brand {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900; font-size: 16px;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo {
  height: 28px; width: auto;
}
.nav-brand em { color: var(--red); font-style: normal; }

.nav-links { display: flex; gap: 48px; list-style: none; }
.nav-links a { 
  font-size: 13px; color: var(--mid); text-decoration: none; 
  transition: all .3s; position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
  background: var(--red); transition: width .3s;
}
.nav-links a.active::after { width: 100%; }

/* --- Mobile Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column; justify-content: space-between;
  width: 32px; height: 20px;
  background: none; border: none; cursor: pointer;
  padding: 0; z-index: 1100;
}
.menu-toggle span {
  width: 100%; height: 2px;
  background-color: var(--ink);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-origin: center;
}
.nav.scrolled .menu-toggle span { background-color: var(--ink); }

/* --- HUD — 當主要導覽列隱藏時顯示的精簡位置標示 --- */
.nav-status-hud {
  position: fixed; top: 0; right: 48px;
  z-index: 1001; /* 比 nav 更高 */
  background: rgba(14, 14, 20, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 10px 24px;
  border-radius: 0 0 16px 16px;
  font-family: 'Noto Serif TC', serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.12em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(-10px);
}
.nav-status-hud.revealed {
  opacity: 1;
  top: 0;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   幕一：憤怒與認出
   ──────────────────────────────────────────────
   設計備註：
   英雄區不解釋「這個計畫是什麼」
   而是先讓訪客認出自己的處境
   第一句話必須是他們心裡已經有的感受
   ══════════════════════════════════════════════ */
.act1 {
  min-height: 100vh;
  background: var(--paper); /* Switched to light theme for readability */
  color: var(--ink);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 80px;
  position: relative;
  overflow: hidden;
}

/* 大字背景裝飾
   備註：這個「偏見」二字是氛圍用，不是資訊
   可以考慮換成動態打字效果，或換成真實新聞標題的快速輪播
   （顯示真實的聳動標題會比抽象文字更有衝擊力） */
.act1-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Noto Serif TC', serif;
  font-weight: 900;
  font-size: clamp(160px, 22vw, 320px);
  color: rgba(14,14,20,0.03); /* Dark ink with very low opacity */
  white-space: nowrap;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

.act1-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

/* 即時計數器區
   ══════════════════════════════════════════════
   設計備註（重要）：
   這是整個頁面最關鍵的元素
   讓訪客第一眼看到的不是「關於我們」，而是一個正在運作的數字
   數字代表：這件事是真實的、有人在做、你也是其中一個

   目前是靜態假數據 + JS 動畫模擬
   理想實現：從 Cloudflare KV 拿真實數字
   - 今日分析篇數（每兩小時更新）
   - 累計貢獻人次
   - 當前在線貢獻中的裝置數

   如果數字太小（初期），可以先顯示「累計分析篇數」
   比「今日貢獻人次」更容易累積到看起來有說服力的量級
   ══════════════════════════════════════════════ */
.live-bar {
  display: flex; gap: 0;
  margin-bottom: 56px;
  border: 1px solid rgba(14,14,20,0.06);
  align-self: flex-start;
}
.live-stat {
  padding: 20px 32px;
  border-right: 1px solid rgba(14,14,20,0.06);
  min-width: 180px;
}
.live-stat:last-child { border-right: none; }
.live-pulse {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--red); margin-bottom: 10px;
  text-transform: uppercase;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.live-num {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900; font-size: 36px; line-height: 1;
  display: block; color: var(--ink);
}
.live-label {
  font-size: 11px; color: var(--mid);
  margin-top: 6px; letter-spacing: 0.08em;
  display: block;
}

/* 主標題
   備註：主詞是「你」——訪客是主角，不是這個計畫 */
.act1-h1 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.act1-h1 .red { color: var(--red); }
.act1-h1 .ghost {
  -webkit-text-stroke: 1.5px rgba(14,14,20,0.15);
  color: transparent;
}

.act1-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.9;
  color: var(--dim); /* Switched to clear dark grey for visibility */
  max-width: 560px;
  margin-bottom: 48px;
  font-weight: 400;
}
.act1-sub strong { color: var(--ink); font-weight: 700; }

.act1-cta {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}

.btn-main {
  background: var(--red); color: #fff;
  padding: 16px 40px; font-size: 14px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.08em;
  transition: background .18s; display: inline-block;
}
.btn-main:hover { background: #a8280f; }

.btn-line {
  font-size: 13px; color: var(--mid);
  text-decoration: none; letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(14,14,20,0.15);
  padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.btn-line:hover { color: var(--ink); border-color: var(--ink); }

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 32px; right: 48px;
  font-size: 11px; color: var(--mid);
  letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.scroll-hint::before {
  content: '';
  display: block; width: 1px; height: 40px;
  background: rgba(14,14,20,0.08); /* Adjusted for light background */
}

/* ══════════════════════════════════════════════
   幕二：憤怒的聲音
   ──────────────────────────────────────────────
   設計備註：
   三個引言不是為了「說明問題存在」
   甩是讓訪客產生「這說的就是我」的認出感
   認出感是參與動機的起點

   進階建議：
   可以把引言做成可以「加一」的按鈕
   「這也是我的感受 +1」→ 數字即時累積
   這樣引言區本身就變成一個參與行為
   ══════════════════════════════════════════════ */
.act2 {
  background: var(--paper); padding: 120px 0;
  position: relative; overflow: hidden;
}
.act2::before {
  content: '"';
  font-family: 'Noto Serif TC', serif;
  font-size: 500px; line-height: 0.8;
  position: absolute; top: -20px; left: -20px;
  color: var(--red); opacity: 0.04;
  pointer-events: none;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 48px; }

.voices { display: flex; flex-direction: column; gap: 0; }

.voice {
  display: grid; grid-template-columns: 80px 1fr;
  border-top: 1px solid rgba(14,14,20,0.08);
  padding: 40px 0;
  transition: background .18s;
  cursor: default;
}
.voice:last-child { border-bottom: 1px solid rgba(14,14,20,0.08); }
.voice:hover { background: var(--soft); margin: 0 -48px; padding: 40px 48px; }

.voice-mark {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900; font-size: 48px;
  color: var(--red); opacity: 0.25; line-height: 1;
  padding-top: 4px;
}

.voice-body p {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65; color: var(--ink);
  font-weight: 400;
}

/* +1 按鈕備註：
   目前是裝飾性的，如果要做成真實功能
   需要一個輕量的後端計數（Cloudflare Worker 就夠）
   按下去之後數字 +1，下次訪客看到的是累積的數字
   這個設計讓「憤怒」變成一個可量化的社會訊號 */
.voice-react {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-size: 12px; color: var(--mid);
  cursor: pointer; width: fit-content;
  padding: 6px 12px; border: 1px solid var(--warm);
  transition: all .18s; user-select: none;
}
.voice-react:hover { border-color: var(--red); color: var(--red); }
.voice-react.clicked { background: var(--red); color: #fff; border-color: var(--red); }
.voice-num { font-weight: 700; }

.voice-src { font-size: 12px; color: var(--mid); margin-top: 8px; letter-spacing: 0.08em; }

/* 過渡句
   備註：這句話是從「認出」轉向「可能性」的樞紐
   不要急著說解決方案，先讓憤怒有個著落點 */
.bridge {
  margin-top: 80px; padding-top: 64px;
  border-top: 2px solid var(--ink);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.bridge-left h2 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.4; /* Increased line-height for mixed sizes */
}
.bridge-left h2 em { color: var(--red); font-style: normal; }
.bridge-left h2 .low {
  font-size: 0.55em;
  color: var(--mid);
  font-weight: 400;
  vertical-align: 0.2em;
  display: inline-block;
  margin: 0 0.2em;
}
@media (max-width: 900px) {
  .bridge-left h2 .low { display: block; margin: 0.5em 0; }
}
.bridge-right p {
  font-size: 15px; line-height: 2.1; color: var(--dim);
  margin-bottom: 20px;
}
.bridge-right p:last-child { margin-bottom: 0; }
.bridge-right strong { color: var(--ink); font-weight: 500; }

/* ══════════════════════════════════════════════
   幕二．五：啟示
   ──────────────────────────────────────────────
   設計備註：
   不解釋技術，解釋「有一個不同的可能性」
   用三個對比卡片：舊世界 vs 這個計畫的邏輯
   ══════════════════════════════════════════════ */
.contrast {
  background: var(--ink); color: var(--paper);
  padding: 100px 0;
}

.contrast-intro {
  max-width: 600px; margin: 0 auto 64px;
}
.eyebrow {
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: var(--red); display: block; flex-shrink: 0;
}
.contrast-intro h2 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2; color: var(--paper);
}

.contrast-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.c-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.04);
  display: flex; flex-direction: column; gap: 16px;
  transition: background .18s;
}
.c-card:hover { background: rgba(255,255,255,0.07); }
.c-card.this-one {
  background: rgba(192,49,26,0.12);
  border: 1px solid rgba(192,49,26,0.35);
}
.c-card.this-one:hover { background: rgba(192,49,26,0.18); }

.c-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.c-icon { 
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
}
.c-icon svg { width: 100%; height: 100%; fill: currentColor; }
.c-title { font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.95); line-height: 1.3; }
.c-desc { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,0.6); flex: 1; text-align: left; }
.c-card.this-one .c-desc { color: rgba(255,255,255,0.85); }
.c-tag {
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--red); text-transform: uppercase;
  margin-top: auto;
}
.c-card.this-one .c-tag { color: #ff7055; }

/* ══════════════════════════════════════════════
   具體場景：意義落地
   ──────────────────────────────────────────────
   設計備註（重要）：
   「影響力」不能只說「媒體偏見會減少」這種大話
   要用具體的生活場景讓人想像自己用這個工具的樣子

   場景選擇原則：
   - 要是台灣人日常真的會遇到的情境
   - LINE 群組轉傳假消息是最高頻的場景
   - 投票前查看媒體立場也是強動機
   ══════════════════════════════════════════════ */
.scenes {
  background: var(--soft); padding: 110px 0;
}
.scenes-intro { max-width: 680px; margin-bottom: 64px; }
.scenes-intro h2 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2; margin-top: 16px;
}

.scene-list { display: flex; flex-direction: column; gap: 2px; }

.scene {
  background: var(--paper);
  display: grid; grid-template-columns: 120px 1fr;
  gap: 0; overflow: hidden;
  transition: background .18s;
}
.scene:hover { background: #ebe5d8; }

.scene-num-col {
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif TC', serif;
  font-weight: 900; font-size: 48px;
  color: var(--red); opacity: 0.5;
  flex-shrink: 0;
}

.scene-body { padding: 36px 40px; }
.scene-tag {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 12px;
}
.scene-body h4 {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px; font-weight: 700;
  line-height: 1.35; margin-bottom: 12px;
}
.scene-body p { font-size: 14px; line-height: 1.9; color: var(--dim); }
.scene-body .act1-h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(42px, 8vw, 68px); 
  font-weight: 900; line-height: 1.15;
  color: var(--ink); margin-bottom: 32px;
}
.act1-sub {
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.8; color: var(--mid);
  margin-bottom: 48px; max-width: 600px;
}
.scene-body strong { color: var(--ink); font-weight: 500; }

/* ══════════════════════════════════════════════
   幕三：召喚
   ──────────────────────────────────────────────
   設計備註（最重要）：
   這裡的語氣不是「你可以參與」（選項）
   而是「這件事需要你」（使命）

   關鍵文案邏輯：
   不說「我們提供工具，你可以使用」
   而說「每一個缺席的人，就是少一份算力、少一個聲音」
   讓不參與感覺像是一種損失，而不是一個中性選擇

   參考：Wikipedia 募款頁面的文案結構
   ══════════════════════════════════════════════ */
.act3 {
  background: var(--paper); padding: 110px 0;
}

.act3-headline {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.1;
  margin-bottom: 24px;
}
.act3-headline em { color: var(--red); font-style: normal; }

.act3-body {
  font-size: 16px; line-height: 2.1; color: var(--dim);
  max-width: 620px; margin-bottom: 64px;
}
.act3-body strong { color: var(--ink); font-weight: 500; }

/* 參與方式
   備註：三種方式的排序邏輯是「零門檻 → 低門檻 → 有意願者」
   不要把「需要技術」的事放第一個
   讓門檻最低的事最顯眼 */
.join-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px;
  margin-bottom: 56px;
}
.join-card {
  background: var(--soft); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .18s; position: relative;
}
.join-card:hover { background: var(--warm); }
.join-card.primary { background: var(--ink); color: var(--paper); }
.join-card.primary:hover { background: #1a1a22; }

.j-step {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red);
}
.join-card.primary .j-step { color: rgba(255,255,255,0.3); }

.j-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px; font-weight: 700; line-height: 1.3;
}
.j-desc { font-size: 13px; line-height: 1.9; color: var(--dim); flex: 1; }
.join-card.primary .j-desc { color: rgba(255,255,255,0.45); }

.j-action {
  font-size: 12px; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); border-bottom: 1px solid var(--ink);
  align-self: flex-start; padding-bottom: 2px;
  margin-top: 6px; transition: gap .18s;
}
.j-action:hover { gap: 10px; }
.join-card.primary .j-action { color: var(--paper); border-color: var(--paper); }

/* 設備說明
   備註：這個說明很重要但不能讓它打斷召喚的氣氛
   所以放在參與卡片下面，用比較低調的視覺處理
   如果訪客有疑慮，他自己會看；沒疑慮的人可以直接往下走 */
.device-note {
  background: var(--soft); padding: 24px 28px;
  max-width: 680px; border-left: 3px solid var(--warm);
}
.device-note p { font-size: 13px; line-height: 1.9; color: var(--dim); }
.device-note p + p { margin-top: 10px; }

/* ══════════════════════════════════════════════
   開源與信任
   ──────────────────────────────────────────────
   設計備註：
   這一段不是「功能說明」，是「信任基礎」
   用「我們沒有秘密」作為結尾，比用「功能列表」作為結尾更有力量
   因為對這個受眾而言，透明度本身就是一種承諾
   ══════════════════════════════════════════════ */
.trust {
  background: var(--ink); color: var(--paper);
  padding: 100px 0; text-align: center;
}
.trust-h2 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1; margin-bottom: 20px;
  color: var(--paper);
}
.trust-p {
  font-size: 15px; line-height: 2.1;
  color: rgba(255,255,255,0.65);
  max-width: 520px; margin: 0 auto 48px;
}

.trust-grid {
  display: flex; justify-content: center; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 64px;
}
.trust-point {
  padding: 64px 48px; text-align: left;
  border-right: 1px solid rgba(255,255,255,0.07);
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  transition: background 0.3s;
}
.trust-point:hover { background: rgba(255,255,255,0.02); }
.trust-point:last-child { border-right: none; }

.tp-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.tp-icon {
  width: 52px; height: 52px;
  background: rgba(184,36,36,0.1);
  color: var(--red);
  padding: 12px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  animation: breathing 4s ease-in-out infinite;
}
.tp-icon svg { width: 100%; height: 100%; fill: currentColor; }
.tp-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px; font-weight: 900; color: var(--paper);
  margin-bottom: 0; /* Removed margin since it's in header */
}

@keyframes breathing {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; box-shadow: 0 0 20px rgba(184,36,36,0.2); }
}
.tp-desc { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,0.6); }

/* FOOTER */
footer {
  background: #080810; padding: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.f-brand {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900; font-size: 18px;
  color: #fff; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.f-logo {
  height: 32px; width: auto;
  filter: brightness(0) invert(1); /* Optional: if you want it pure white in footer, but here we'll keep colors */
  filter: none;
}
.f-brand em { color: var(--red); font-style: normal; }
.f-copyright {
  font-size: 13px; color: rgba(255,255,255,0.45);
  text-align: center; line-height: 1.6;
}
.f-copyright a { color: rgba(255,255,255,0.7); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
.f-links { display: flex; gap: 24px; align-items: center; margin-top: 8px; }
.f-social { display: flex; gap: 24px; }
.f-social a {
  width: 44px; height: 44px;
  color: rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: floating 3s ease-in-out infinite;
}
.f-social a:nth-child(2) { animation-delay: 0.5s; }
.f-social a:nth-child(3) { animation-delay: 1s; }

.f-social a:hover {
  color: var(--red);
  transform: translateY(-5px) scale(1.2);
  filter: drop-shadow(0 0 8px rgba(184,36,36,0.5));
}
.f-social a svg { width: 24px; height: 24px; fill: currentColor; }

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.f-note { font-size: 11px; color: rgba(255,255,255,0.16); letter-spacing: 0.1em; margin-top: 12px; }

/* ══════ SCROLL ANIMATION ══════ */
.r {
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.r.in { opacity: 1; transform: none; }

/* ══════ RESPONSIVE ══════ */
@media (max-width: 900px) {
  nav { padding: 12px 24px; }
  
  .menu-toggle { 
    display: flex;
    position: relative;
    padding: 12px;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    gap: 4px;
  }
  .menu-toggle span { width: 22px; margin: 2px 0; }
  
  .nav.menu-open .menu-toggle {
    background: none;
    border-color: transparent;
  }
  
  .nav.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(247,242,232,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 40px;
    z-index: 1050;
    opacity: 0; pointer-events: none;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(-20px);
  }
  .nav.menu-open .nav-links {
    opacity: 1; pointer-events: auto;
    transform: translateY(0);
  }
  
  .nav-links a { font-size: 20px; font-weight: 700; color: var(--ink); }

  .act1-content { padding: 0 24px; text-align: center; align-items: center; }
  .act1-cta { flex-direction: column; width: 100%; gap: 16px; }
  .btn-main, .btn-line { width: 100%; text-align: center; }

  .live-bar { flex-direction: column; }
  .live-stat { min-width: unset; width: 100%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); padding: 24px 0; }
  .live-stat:last-child { border-bottom: none; }

  .container { padding: 0 24px; }
  .bridge { grid-template-columns: 1fr; gap: 40px; }
  .contrast-grid { grid-template-columns: 1fr; }
  .scene { grid-template-columns: 1fr; gap: 12px; }
  .scene-num-col { font-size: 48px; opacity: 0.1; position: absolute; top: -10px; right: 0; }
  .join-grid { grid-template-columns: 1fr; }
  .trust-grid { flex-direction: column; align-items: stretch; }
  .trust-point { max-width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 32px 0; }
  .trust-point:last-child { border-bottom: none; }
  
  footer { padding: 48px 24px; flex-direction: column; text-align: center; gap: 32px; }
  .f-brand { justify-content: center; }
  .f-social { justify-content: center; }
  
  .nav-status-hud {
    right: 20px; font-size: 12px; padding: 8px 16px;
  }
}

@media (max-width: 600px) {
  .act1-h1 { text-align: center; }
  .info-float { bottom: 20px; left: 20px; }
  .info-card { width: calc(100vw - 40px); left: 0; }
  
  .nav-status-hud {
    left: 50%; right: auto; transform: translateX(-50%) translateY(-10px);
    border-radius: 0 0 12px 12px;
  }
  .nav-status-hud.revealed { transform: translateX(-50%) translateY(0); }
}

/* ══════ INFO FLOAT ══════ */
.info-float {
  position: fixed; bottom: 32px; left: 32px; z-index: 1000;
}
.info-btn {
  height: 48px; min-width: 48px;
  background: var(--ink);
  color: var(--red);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 12px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  gap: 0;
  overflow: hidden;
}
.info-btn:hover {
  transform: scale(1.05);
  border-color: var(--red);
}
.info-btn.expanded {
  gap: 8px;
  padding: 0 20px;
}
.info-btn svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

.info-label {
  font-size: 13px; font-weight: 700; color: #fff;
  max-width: 0; opacity: 0;
  white-space: nowrap;
  transition: all 0.5s ease;
}
.info-btn.expanded .info-label {
  max-width: 100px;
  opacity: 1;
}
.info-card {
  position: absolute; bottom: 64px; left: 0;
  width: 340px;
  background: rgba(14, 14, 20, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.info-card.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.info-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.info-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px; font-weight: 700; color: #fff;
}
.info-badge {
  background: #3498db; color: #fff;
  font-size: 10px; padding: 2px 10px; border-radius: 4px;
  font-weight: 700; letter-spacing: 0.1em;
}
.info-close {
  cursor: pointer; color: rgba(255,255,255,0.3); font-size: 18px;
  transition: color 0.2s;
}
.info-close:hover { color: #fff; }

.info-body {
  font-size: 14px; line-height: 1.85; color: rgba(255,255,255,0.65);
}
.info-body b { color: #fff; font-weight: 700; }
.info-body p { margin-bottom: 16px; }
.info-body a { color: var(--red); text-decoration: none; border-bottom: 1px dashed rgba(192,49,26,0.4); transition: border-color 0.2s; }
.info-body a:hover { border-bottom-style: solid; }

@media (max-width: 600px) {
  .info-float { bottom: 20px; left: 20px; }
  .info-card { width: calc(100vw - 40px); left: 0; }
}
