/* ===========================================================================
   akitsora.com —— 官網樣式
   ---------------------------------------------------------------------------
   刻意只做深色。這個網站的視覺基調來自遊戲美術（金色 × 近黑），
   淺色版本會變成另一個品牌，而不是同一個品牌的另一種模式。

   不用網頁字型：中文網頁字型動輒好幾 MB，而且 Google Fonts 在部分市場
   （我們的主要市場之一）連不上，字會整頁跳一次。系統字型堆疊在
   Windows / macOS / iOS / Android 上都有可接受的襯線與無襯線可用。
   =========================================================================== */

:root {
  --ink: #0a0810;
  --ink-2: #100d18;
  --surface: #16121f;
  --surface-2: #1d1828;
  --line: rgba(255, 255, 255, 0.09);
  --line-gold: rgba(240, 192, 74, 0.22);

  --gold: #f0c04a;
  --gold-soft: #fbe49a;
  --gold-dim: #c8902a;

  --text: #ebe7f0;
  --muted: #9c95ab;
  --faint: #6d6680;

  --ok: #5fbf8f;
  --warn: #e0a94a;
  --danger: #e0705f;

  --serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PingFang TC",
    "Microsoft JhengHei", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
    "Noto Sans TC", "Microsoft JhengHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.28;
  margin: 0;
  letter-spacing: .01em;
}
p { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #14100c; padding: 10px 18px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* --- 頁首 ---------------------------------------------------------------- */

.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 8, 16, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand:hover { color: inherit; }
.brand img { width: 38px; height: 38px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  letter-spacing: .16em; color: var(--gold);
}
.brand-sub { font-size: 9.5px; letter-spacing: .3em; color: var(--faint); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--muted); font-size: 14.5px; padding: 8px 14px; border-radius: 6px;
  transition: color .16s, background .16s; white-space: nowrap;
}
/* ⚠ 這條要排除那兩顆自己有配色的：`.nav a:hover` 的權重比 `.hdr-cta` 高，
   會把金色背景換成半透明白，而 .hdr-cta 的深色文字帶 !important 蓋不掉 ——
   結果就是滑上去整個字消失。語言切換鈕同理（金色會被換成一般文字色）。 */
.nav a:not(.hdr-cta):not(.lang):hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: var(--gold); }

.lang {
  font-size: 13px; color: var(--muted); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; margin-left: 8px;
}
.lang:hover { border-color: var(--line-gold); color: var(--gold); }

.hdr-cta {
  background: var(--gold); color: #16110a !important; font-weight: 700; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; margin-left: 10px; white-space: nowrap;
}
.hdr-cta:hover { background: var(--gold-soft); }

.burger {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 8px; width: 42px; height: 38px; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger svg { width: 20px; height: 20px; }

@media (max-width: 1000px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 10px var(--gut) 22px; margin: 0; display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .lang, .hdr-cta { margin: 12px 0 0; text-align: center; }
}

/* --- 通用區塊 ------------------------------------------------------------- */

.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-alt { background: var(--ink-2); }

.eyebrow {
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 18px; font-weight: 600;
}
.h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.h3 { font-size: clamp(19px, 2vw, 23px); margin-bottom: 10px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 18.5px); max-width: 62ch; }
/* ⚠ ch 這個單位是「0」這個字元的寬度，中文字大約是它的兩倍寬 ——
   同一個 62ch 在英文版是 75 個字，在中文版只有 30 個字，段落會被壓成細長條。
   中文改用 em（一個中文字約等於 1em）。 */
html[lang="zh-Hant"] .lead { max-width: 39em; }
html[lang="zh-Hant"] .prose { max-width: 38em; }
html[lang="zh-Hant"] .note { max-width: 42em; }
html[lang="zh-Hant"] .ftr-brand p { max-width: 20em; }
.note { color: var(--faint); font-size: 13.5px; line-height: 1.7; }
.prose p + p { margin-top: 16px; }
.prose { color: var(--muted); max-width: 68ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 700; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: background .16s, border-color .16s, color .16s;
}
.btn-gold { background: var(--gold); color: #16110a; }
.btn-gold:hover { background: var(--gold-soft); color: #16110a; }
.btn-ghost { border-color: var(--line-gold); color: var(--gold); background: none; }
.btn-ghost:hover { background: rgba(240, 192, 74, 0.08); color: var(--gold-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* --- 首頁英雄區 ----------------------------------------------------------- */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(240, 192, 74, 0.13), transparent 62%),
    radial-gradient(80% 60% at 12% 100%, rgba(88, 60, 140, 0.24), transparent 70%),
    var(--ink);
}
/* 右側立繪。原本這裡是一組 repeating-conic-gradient 放射線，換掉了 ——
   錐狀漸層疊遮罩在全頁光柵化時貴到會拖垮整頁截圖，而且它做的事
   （呼應日輪）遊戲美術本來就有一張現成的。 */
/* ⚠ 尺寸由**高度**決定，不是寬度。用 width 定尺寸的話，立繪的高度就由
   原圖比例決定（510:900，很瘦長），只要英雄區不夠高就會從上面被切掉 ——
   而被切掉的正好是頭跟日輪光環。改成「高度不超過英雄區」之後，
   寬度由 aspect-ratio 推出來，任何視窗高度下都完整。 */
.hero-art {
  position: absolute; right: max(2vw, calc(50% - 620px)); bottom: 0;
  height: min(94%, 660px); aspect-ratio: 510 / 900;
  pointer-events: none; user-select: none;
  mask-image: linear-gradient(180deg, #000 58%, transparent 96%);
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 96%);
  opacity: .92;
}
.hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
@media (max-width: 1024px) { .hero-art { display: none; } }
/* 立繪出現的時候，文字欄要收窄到不會跑到她身上。
   只靠斷點是不夠的 —— 900～1000px 那一段立繪還在、而標題已經撐滿了。 */
@media (min-width: 1025px) {
  .hero-in > * { max-width: min(720px, 64%); }
  .hero-in .btn-row { max-width: none; }
}
/* ⚠ 用 padding-block，不要用 padding 簡寫 —— 這兩個元素同時掛著 .wrap，
   而 .wrap 的左右留白就是靠 padding 給的。寫成 `padding: a 0 b` 會把它清成 0，
   窄視窗下整段文字直接貼齊螢幕邊緣（而寬視窗下因為 max-width 有 auto margin，
   看起來完全正常 —— 所以這個錯在桌機上測不出來）。 */
.hero-in { position: relative; padding-block: clamp(64px, 11vw, 128px) clamp(56px, 8vw, 96px); }
.hero h1 {
  /* 英文版的第二行「Money that never goes missing.」比中文長得多，
     vw 係數是照它抓的 —— 照中文抓的話英文會滿出去。 */
  font-size: clamp(32px, 5.2vw, 64px); line-height: 1.16; letter-spacing: -.005em;
  overflow-wrap: break-word;
  margin-bottom: 24px;
  background: linear-gradient(178deg, #fff8e6 12%, var(--gold) 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(16px, 1.7vw, 19.5px); max-width: 60ch; }

/* --- 數字帶 --------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stat { background: var(--surface); padding: 26px 24px; }
.stat dt { font-size: 12.5px; color: var(--faint); letter-spacing: .06em; margin-bottom: 8px; }
.stat dd {
  margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700; color: var(--gold); line-height: 1.15;
}
.stat dd small { font-size: 15px; color: var(--muted); font-family: var(--sans); font-weight: 400; margin-left: 4px; }

/* --- 主張三塊 ------------------------------------------------------------- */

.pillars { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 44px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 28px; position: relative;
}
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), transparent 82%);
}
.pillar h3 { font-size: 21px; margin-bottom: 8px; }
.pillar .p-lead { color: var(--gold); font-size: 14.5px; margin-bottom: 16px; font-weight: 600; }
.pillar p + p { margin-top: 13px; }
.pillar p { color: var(--muted); font-size: 14.8px; line-height: 1.8; }

/* --- 遊戲卡（照 ATG 的做法：hover 出試玩／資訊） --------------------------- */

.game-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.gcard {
  position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--surface); isolation: isolate;
}
.gcard-art { position: relative; aspect-ratio: 1200 / 630; overflow: hidden; background: #0d0a14; }
.gcard-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gcard:hover .gcard-art img, .gcard:focus-within .gcard-art img { transform: scale(1.045); }
.gcard-veil {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: rgba(8, 6, 13, 0.74); opacity: 0; transition: opacity .22s ease;
}
.gcard:hover .gcard-veil, .gcard:focus-within .gcard-veil { opacity: 1; }
.gcard-veil .btn { min-width: 168px; }
.gcard-body { padding: 22px 24px 26px; }
.gcard-body h3 { font-size: 22px; }
.gcard-en { color: var(--faint); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
.gcard-desc { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.gcard-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12px; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 11px; letter-spacing: .02em;
}
.tag-gold { color: var(--gold); border-color: var(--line-gold); }

/* 觸控裝置沒有 hover，按鈕直接常駐在卡片下方 */
.gcard-touch { display: none; gap: 10px; padding: 0 24px 24px; }
@media (hover: none) {
  .gcard-veil { display: none; }
  .gcard-touch { display: flex; }
  .gcard-touch .btn { flex: 1; padding: 11px 14px; font-size: 14px; }
}

/* --- 步驟 ----------------------------------------------------------------- */

.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); margin-top: 40px; }
.step { border-top: 2px solid var(--line-gold); padding-top: 20px; }
.step-n { font-family: var(--mono); font-size: 12.5px; color: var(--gold-dim); letter-spacing: .14em; }
.step h3 { font-size: 18px; margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* --- 錢包三態 ------------------------------------------------------------- */

.cases { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); margin-top: 36px; }
.case { background: var(--surface); border: 1px solid var(--line); border-left-width: 3px; border-radius: 12px; padding: 24px 24px; }
.case-ok { border-left-color: var(--ok); }
.case-warn { border-left-color: var(--warn); }
.case-danger { border-left-color: var(--danger); }
.case code {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em;
  color: var(--faint); text-transform: uppercase;
}
.case h3 { font-size: 19px; margin: 6px 0 10px; }
.case p { color: var(--muted); font-size: 14.5px; }

/* --- 狀態機 --------------------------------------------------------------- */

.states { margin-top: 34px; display: grid; gap: 12px; }
.state {
  display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.state:last-child { border-bottom: 0; }
.state b { font-family: var(--mono); font-size: 13px; color: var(--gold); letter-spacing: .05em; }
.state span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 620px) { .state { grid-template-columns: 1fr; gap: 4px; } }

/* --- 條列與雙欄清單 -------------------------------------------------------- */

.ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.ul li { position: relative; padding-left: 24px; color: var(--muted); font-size: 15px; }
.ul li::before {
  content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold-dim);
}
.ul li b, .ul li strong { color: var(--text); font-weight: 700; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card h3 { font-size: 17.5px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* --- 遊戲頁 --------------------------------------------------------------- */

.ghero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.ghero-bg { position: absolute; inset: 0; }
.ghero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.ghero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 16, .55) 0%, rgba(10, 8, 16, .82) 55%, var(--ink) 100%);
}
/* 兩側立繪，照實機的配置（左素戔嗚、右天照）。bg-main 本身接近純黑，
   單靠它撐不起英雄區 —— 遊戲裡真正在看的就是這兩張。

   ⚠ 內容欄有 1180px，而立繪各佔 340px：在 1280px 左右的視窗上，兩側根本
     沒有放得下立繪的餘白。所以立繪壓在背景層、上面再蓋一道由左往右的暗幕，
     而不是靠「視窗夠寬才顯示」—— 那個門檻設多少都會有一段區間是壓到字的。 */
.ghero-fig { position: absolute; bottom: 0; height: min(96%, 620px); aspect-ratio: 510 / 900;
  width: auto; object-fit: contain; object-position: bottom center; pointer-events: none;
  mask-image: linear-gradient(180deg, #000 62%, transparent 97%);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 97%); }
/* ⚠ 左邊的素戔嗚一身深藍黑，壓在近黑背景加上暗幕底下等於不存在（實際被指出過）。
   解法不是把暗幕拿掉 —— 文字就在他上面，拿掉會變成兩邊都看不清。
   而是把他從背景裡「拉出來」：提亮、加一圈冷色的外光，讓輪廓有邊。
   右邊的天照本來就是紅白配金光環，不需要這一道。 */
.ghero-fig-l {
  /* 視窗越窄，內容欄離左邊越近，他就越容易壓到遊戲 logo。
     用 clamp 連續往左推，不用斷點 —— 斷點在切換的那一刻會跳一下。 */
  left: clamp(-110px, calc(50vw - 770px), 0px); opacity: .88;
  filter: brightness(1.28) saturate(1.12) drop-shadow(0 0 42px rgba(126, 100, 208, 0.5));
}
.ghero-fig-r { right: 0; opacity: .82; }
@media (max-width: 760px) { .ghero-fig-l { display: none; } .ghero-fig-r { opacity: .34; } }
/* 暗幕改輕，讓兩個角色都看得見；文字的可讀性改由字身的陰影撐著。
   這樣在「文字剛好蓋在角色身上」的那段視窗寬度（約 1200～1800px）也成立 ——
   靠斷點切換的話，中間一定有一段是壓在一起的。 */
.ghero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(96deg,
    rgba(10, 8, 16, 0.62) 0%, rgba(10, 8, 16, 0.74) 34%,
    rgba(10, 8, 16, 0.5) 62%, rgba(10, 8, 16, 0.14) 84%, transparent 100%);
}
.ghero-in > *:not(.btn-row) { text-shadow: 0 2px 20px rgba(6, 4, 10, 0.95), 0 1px 3px rgba(6, 4, 10, 0.9); }
.ghero-logo { filter: drop-shadow(0 6px 28px rgba(6, 4, 10, 0.8)); }
.ghero-in { position: relative; padding-block: clamp(48px, 8vw, 92px) clamp(36px, 5vw, 60px); }
.ghero-in > * { max-width: min(660px, 68%); }
@media (max-width: 760px) { .ghero-in > * { max-width: 100%; } }
.ghero-in .btn-row { max-width: none; }
.ghero-logo { max-width: min(430px, 74vw); margin-bottom: 22px; }
.ghero h1 { font-size: clamp(28px, 4.6vw, 46px); margin-bottom: 10px; }
.ghero-en { color: var(--gold-dim); letter-spacing: .2em; font-size: 13px; text-transform: uppercase; margin-bottom: 20px; }
.crumb { font-size: 13px; color: var(--faint); margin-bottom: 22px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--gold); }

.spec { width: 100%; border-collapse: collapse; margin-top: 28px; }
.spec th, .spec td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14.8px; vertical-align: top; }
.spec th { color: var(--faint); font-weight: 400; width: 40%; white-space: nowrap; }
.spec td { color: var(--text); }
.spec td b { color: var(--gold); font-family: var(--serif); font-size: 17px; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.spec-wrap .spec { margin: 0; }

.pay { width: 100%; border-collapse: collapse; min-width: 480px; }
.pay th, .pay td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pay thead th { color: var(--faint); font-weight: 400; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.pay thead th:first-child { text-align: left; }
.pay td { text-align: right; font-family: var(--mono); color: var(--gold); font-size: 14px; }
.pay td:first-child { text-align: left; font-family: var(--sans); color: var(--text); }
.pay tbody tr:last-child th, .pay tbody tr:last-child td { border-bottom: 0; }
.pay-sym { display: flex; align-items: center; gap: 13px; }
.pay-sym img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.pay-kind { display: block; font-size: 11.5px; color: var(--faint); letter-spacing: .05em; }

.special { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 30px; }
.special-item { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.special-item img { width: 62px; height: 62px; object-fit: contain; flex: none; }
.special-item h3 { font-size: 17px; margin-bottom: 6px; }
.special-item p { color: var(--muted); font-size: 14px; }

.feat { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 34px; }
.feat-item { border-left: 2px solid var(--line-gold); padding: 4px 0 4px 20px; }
.feat-item h3 { font-size: 17.5px; margin-bottom: 8px; }
.feat-item p { color: var(--muted); font-size: 14.5px; }

/* --- 表單 ----------------------------------------------------------------- */

.form { display: grid; gap: 18px; margin-top: 30px; max-width: 640px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .f2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); letter-spacing: .03em; }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
  color: var(--text); font-family: var(--sans); font-size: 15px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--line-gold); outline: none; }

.contact-lines { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 34px; }
.contact-line { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.contact-line dt { font-size: 12.5px; color: var(--faint); letter-spacing: .08em; margin-bottom: 6px; }
.contact-line dd { margin: 0; font-size: 17px; }

/* --- 認證狀態橫幅 --------------------------------------------------------- */

.status-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: rgba(224, 169, 74, 0.07); border: 1px solid rgba(224, 169, 74, 0.3);
  border-radius: 12px; padding: 18px 22px; margin-top: 26px;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); flex: none; }
.status-banner strong { color: var(--warn); font-size: 15.5px; }

/* --- 頁尾 ----------------------------------------------------------------- */

.ftr { border-top: 1px solid var(--line); background: var(--ink-2); padding: 56px 0 34px; margin-top: 0; }
.ftr-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .ftr-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr-top { grid-template-columns: 1fr; } }
.ftr h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr ul a { color: var(--muted); font-size: 14.5px; }
.ftr ul a:hover { color: var(--gold); }
.ftr-brand p { color: var(--faint); font-size: 13.5px; margin-top: 14px; max-width: 34ch; }
.ftr-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; align-items: center;
}
.ftr-bottom p { color: var(--faint); font-size: 12.5px; max-width: 74ch; line-height: 1.7; }
.age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--faint);
  color: var(--faint); font-size: 12px; font-weight: 700; flex: none;
}

/* --- 試玩狀態列 ----------------------------------------------------------- */

.demo-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(14px);
  background: var(--surface-2); border: 1px solid var(--line-gold); color: var(--text);
  padding: 13px 22px; border-radius: 999px; font-size: 14.5px; z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: calc(100vw - 32px); text-align: center;
}
.demo-toast[data-show="true"] { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- 實機截圖畫廊 --------------------------------------------------------- */

.shots {
  display: grid; gap: 26px; margin-top: 30px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line); background: #0d0a14;
  /* 舞台是 1920×900，先把比例寫出來，圖還沒載入時版面就不會跳 */
  aspect-ratio: 1920 / 900; object-fit: cover;
}
.shot figcaption { margin-top: 12px; }
.shot figcaption b { display: block; font-family: var(--serif); font-size: 16.5px; color: var(--text); }
.shot figcaption span { display: block; color: var(--muted); font-size: 14px; margin-top: 5px; }

/* 第一張獨佔一整行 —— 主遊戲盤面是最該被看清楚的那一張 */
@media (min-width: 860px) {
  .shots > .shot:first-child { grid-column: 1 / -1; }
  .shots > .shot:first-child figcaption { max-width: 62ch; }
  /* 首頁只放兩張，第一張再獨佔一行的話第二張會孤零零地佔三分之一。 */
  .shots-even > .shot:first-child { grid-column: auto; }
  .shots-even { grid-template-columns: 1fr 1fr; }
}
