/*
 * dg66hk 門面（登入前的 SEO 頁）—— 全站唯一一支樣式表。
 *
 * 視覺跟會員前台（/action/，frontend-web templates/dg66hk）同一套**白底米白金**
 *（2026-10-10 Owner:「原本是白色系，改回來白底，對比度要對」—— 推翻 10-08 的深色黑金，回到舊香港站 dg-hk.css 的色系）:
 *   色票、字型、間距、圓角、頁首 / 頁尾 / 手機底部列的尺寸都照前台 base.css 與
 *   AppHeader / AppFooter / BottomNav 的 module.css 抄值，不另引色相。
 *   前台改了色票，這裡要跟著改（兩邊各一份，沒有共用檔）。
 *
 * 版面系統（本站自己一套，天條 37）:
 *   限寬 --wrap 1200 置中，兩側 --gutter 20px
 *   區塊只設 margin-top（天條 38）:電腦 --sec 56px、991 以下 --sec-m 36px
 *   字級:H1 40 / 30（serif）、H2 28 / 24、H3 20 / 18、內文 16
 *   斷點:576 · 768 · 992（頁首導覽出現、底部列消失）· 1200
 *
 * 對比（米白 #faf8f3 / 白卡）:主文 #231e16 15.6:1、次文 #4a4237 9.3:1、三級字 #6b6356 5.6:1、
 *   深金字 #765a1a 6.1:1、金鈕深字 ≥6.2:1、Telegram 藍鈕白字 5.4:1、Telegram 藍字 6.1:1。
 *   #c0983e 在白底只有 2.7:1 —— 只當線條、圓點、按鈕底，不寫字;要被看見的金框用 --g-line（3.8:1）。
 *   手機底部列維持深色帶子（舊香港站 .hk-bnav 原樣），上面的字用 --nav-ink / --nav-on。
 */

:root {
  --n0: #faf8f3;
  --n1: #f6f2e9;
  --n2: #ffffff;
  --n3: #f3ede0;
  --n4: #e3dccc;
  --card: linear-gradient(165deg, #ffffff, #fdfbf7);
  --page: radial-gradient(1100px 520px at 88% -8%, rgba(192, 152, 62, 0.1), transparent 62%),
    linear-gradient(180deg, #fdfbf6 0, #faf8f3 720px);

  --g: #c0983e;
  --g-hi: #765a1a;
  --g-lo: #d3b778;
  --g-line: #9a7a2c;
  --g-ink: #231e16;
  --g-soft: rgba(192, 152, 62, 0.12);
  --g-bar: linear-gradient(92deg, #9a7a2c, #c0983e 46%, #d6b968);
  --btn-gold: linear-gradient(180deg, #e8cf8f 0%, #d6b968 46%, #c0983e 100%);
  --btn-gold-hi: linear-gradient(180deg, #f0dca8 0%, #e0c47e 46%, #cba449 100%);
  --btn-gold-sh: 0 0 0 1px #9a7a2c, inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 12px rgba(125, 97, 31, 0.22);
  --btn-gold-sh-hi: 0 0 0 1px #8a6a1f, inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 18px rgba(125, 97, 31, 0.3);

  --line: #e3dccc;
  --line3: #ece6da;
  --tg: #2aabee;      /* Telegram 藍:只當圓點這類裝飾（白底 2.6:1，不寫字、不配白字） */
  --tg-ink: #0a6399;  /* 淺底上的 Telegram 藍字 / 圖示 */
  --tg-btn: #1a6fa8;  /* Telegram 按鈕底，配白字 5.4:1 */
  --tg-btn-hi: #155d8d;

  --nav-dark: rgba(13, 12, 10, 0.97);
  --nav-ink: #d8d0c0;
  --nav-on: #e6c87a;

  --t1: #231e16;
  --t2: #4a4237;
  --t3: #6b6356;

  --font: 'Noto Sans TC', -apple-system, 'Segoe UI', 'Microsoft JhengHei', sans-serif;
  --font-display: 'Noto Serif TC', 'Songti TC', serif;

  --sec: 56px;
  --sec-m: 36px;
  --wrap: 1200px;
  --gutter: 20px;
  --r1: 10px;
  --r2: 14px;
  --r3: 20px;
  --hd: 68px;
  --bnav: 64px;
  --tap: 44px;
}

/* ── reset / 元素基底 ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--n0);
  background-image: var(--page);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--t1);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--g-hi);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--g-line);
  outline-offset: 2px;
}

.ico {
  display: inline-block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r1);
  background: var(--btn-gold);
  color: var(--g-ink);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
  color: var(--g-ink);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── 頁首（照前台 AppHeader）─────────────────────────── */
.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.hd::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 122, 44, 0.55) 50%, transparent);
}

.hd-in {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--hd);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  color: var(--t1);
}

.brand:hover {
  color: var(--t1);
}

.brand-emblem {
  width: auto;
  height: 30px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-en {
  color: var(--g-hi);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-zh {
  color: var(--t2);
  font-size: 12px;
  letter-spacing: 0.32em;
}

.nav {
  display: none;
}

.menu {
  display: flex;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 0 14px;
  color: var(--t2);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--t1);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--g-bar);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link[aria-current='page'] {
  color: var(--g-hi);
}

.nav-link[aria-current='page']::after {
  transform: scaleX(1);
}

/* Telegram 客服（Owner 2026-10-10）:圓點是 CSS 畫的、圖示是 inline 紙飛機線條，都不用品牌圖檔 */
.tg-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tg);
  box-shadow: 0 0 0 3px rgba(42, 171, 238, 0.18);
}

.nav-link .tg-ico {
  color: var(--tg);
  font-size: 18px;
}

.hd-side {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.hd-trial {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: var(--tap);
  padding: 0 8px;
  color: var(--t2);
  font-size: 15px;
  font-weight: 500;
}

.hd-trial .ico {
  font-size: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: var(--tap);
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* ── 按鈕（頁首小鈕 .pill 與內容大鈕 .btn 共用兩種底）───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn .ico {
  font-size: 20px;
}

.gold {
  background: var(--btn-gold);
  box-shadow: var(--btn-gold-sh);
  color: var(--g-ink);
}

.gold:hover {
  background: var(--btn-gold-hi);
  box-shadow: var(--btn-gold-sh-hi);
  color: var(--g-ink);
}

.ghost {
  border-color: var(--g-line);
  background: var(--n2);
  color: var(--g-hi);
}

.ghost:hover {
  border-color: var(--g-line);
  background: var(--g-soft);
  color: var(--t1);
}

/* Telegram 按鈕:深一階的 Telegram 藍配白字（--tg-btn #1a6fa8 對白 5.4:1;原色 #2aabee 配白字只有 2.6:1） */
.tg-btn {
  background: var(--tg-btn);
  color: #ffffff;
}

.tg-btn:hover {
  background: var(--tg-btn-hi);
  color: #ffffff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── 共用排版 ─────────────────────────────────────────── */
main {
  display: block;
}

.sec {
  margin-top: var(--sec);
}

.eyebrow {
  color: var(--g-hi);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.h1 {
  margin-top: 6px;
  color: var(--t1);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.h1-sub {
  display: block;
  margin-top: 8px;
  color: var(--g-hi);
  font-size: 22px;
  letter-spacing: 0.08em;
}

.h2 {
  margin-top: 4px;
  color: var(--t1);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.h3 {
  color: var(--t1);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.lead {
  max-width: 40em;
  margin-top: 14px;
  color: var(--t2);
  font-size: 17px;
  line-height: 1.8;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.sec-note {
  color: var(--t3);
  font-size: 15px;
}

.more {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: var(--tap);
  color: var(--g-hi);
  font-size: 16px;
  font-weight: 500;
}

.more .ico {
  font-size: 18px;
}

.prose p + p {
  margin-top: 12px;
}

.prose p,
.prose li {
  color: var(--t2);
}

.prose strong {
  color: var(--t1);
}

.dots li {
  position: relative;
  padding-left: 20px;
  color: var(--t2);
}

.dots li + li {
  margin-top: 8px;
}

.dots li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g);
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--card);
}

.link-gold {
  color: var(--g-hi);
  text-decoration: underline;
  text-decoration-color: rgba(118, 90, 26, 0.45);
  text-underline-offset: 3px;
}

.link-gold:hover {
  color: var(--t1);
}

/* 麵包屑 */
.crumb {
  margin-top: 22px;
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: var(--t3);
  font-size: 14px;
}

.crumb li + li::before {
  content: '›';
  margin-right: 4px;
  color: var(--g-lo);
}

.crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--t2);
}

.crumb a:hover {
  color: var(--g-hi);
}

/* 內頁頁首 */
.page-head {
  margin-top: 10px;
}

/* ── 首頁主視覺（滿版背景，內容限寬）──────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line3);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}

/*
 | 白底版（2026-10-10）:照片靠右、左側一層米白漸層把字托住 —— 字用一般的深色 token。
 | 米白不透明度:左 97% → 50% 處 94% → 72% 處 70% → 右緣 15%。字最寬到 680px（1024 寬時約在 66% 處，
 | 那裡米白 ≥78%）;就算照片是全黑，70% 米白上的次文 #4a4237 仍有 4.6:1、主文 7.6:1。
 | 下緣再一層米白收進頁面底，不留一條硬邊。
 */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 248, 243, 0.97) 0%, rgba(250, 248, 243, 0.94) 50%, rgba(250, 248, 243, 0.7) 72%, rgba(250, 248, 243, 0.15) 100%),
    linear-gradient(180deg, transparent 70%, rgba(250, 248, 243, 0.9) 100%);
}

.hero-in {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-copy {
  max-width: 680px;
}

.hero .actions {
  margin-top: 28px;
}

.hero .btn {
  min-width: 180px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  color: var(--t2);
  font-size: 15px;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts .ico {
  color: var(--g-hi);
  font-size: 18px;
}

/* ── 遊戲卡 ───────────────────────────────────────────── */
.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.game {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--n2);
  box-shadow: 0 14px 32px -18px rgba(35, 30, 22, 0.45);
  color: var(--t1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.game:hover {
  border-color: rgba(192, 152, 62, 0.7);
  box-shadow: 0 0 0 1px rgba(192, 152, 62, 0.35), 0 20px 40px -16px rgba(125, 97, 31, 0.3);
  color: var(--t1);
  transform: translateY(-3px);
}

.game-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--n0);
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game:hover .game-media img {
  transform: scale(1.05);
}

.game-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}

.game-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.game-en {
  color: var(--g-hi);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.game-desc {
  color: var(--t2);
  font-size: 16px;
  line-height: 1.65;
}

/* ── 特色（四格）──────────────────────────────────────── */
.perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.perk {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--card);
}

.perk-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(192, 152, 62, 0.5);
  border-radius: 50%;
  background: var(--g-soft);
  color: var(--g-hi);
  font-size: 24px;
}

.perk-ico.is-tg {
  border-color: rgba(26, 111, 168, 0.45);
  background: rgba(42, 171, 238, 0.1);
  color: var(--tg-ink);
}

.perk p {
  color: var(--t2);
}

.perk .num {
  color: var(--g-hi);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── 優惠（首頁摘要卡 / 優惠頁內文）──────────────────── */
.promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.promo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--card);
  color: var(--t1);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.promo:hover {
  border-color: rgba(192, 152, 62, 0.7);
  color: var(--t1);
  transform: translateY(-2px);
}

.promo-big {
  color: var(--g-hi);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.promo p {
  color: var(--t2);
}

.promo-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--g-hi);
  font-size: 15px;
  font-weight: 700;
}

.offer-list {
  display: grid;
  gap: 20px;
}

.offer {
  scroll-margin-top: calc(var(--hd) + 16px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--card);
}

.offer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
}

.offer .promo-big {
  font-size: 34px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--n3);
  color: var(--t2);
  font-size: 14px;
}

.offer-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 36px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line3);
}

.offer-body .h3 {
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--g-hi);
}

.example {
  margin-top: 12px;
  padding: 12px 16px;
  border-left: 3px solid var(--g-line);
  border-radius: 0 var(--r1) var(--r1) 0;
  background: var(--n3);
  color: var(--t2);
  font-size: 15px;
}

/* ── 步驟 ─────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.steps.is-col {
  grid-template-columns: 1fr;
  gap: 14px;
}

.step {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--card);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn-gold);
  color: var(--g-ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.step p {
  margin-top: 4px;
  color: var(--t2);
}

/* ── CTA 色帶（滿版）──────────────────────────────────── */
.cta {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(800px 300px at 85% 0%, rgba(192, 152, 62, 0.14), transparent 70%), var(--n1);
}

.cta-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.cta p {
  margin-top: 8px;
  color: var(--t2);
}

/* ── 客服 ─────────────────────────────────────────────── */
.cs-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}

.qr {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: #ffffff;
}

.qr img {
  width: 200px;
  height: 200px;
  image-rendering: pixelated;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--t2);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.cs-num {
  margin-top: 4px;
  color: var(--g-hi);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.cs-card .actions {
  margin-top: 18px;
}

.cs-cards {
  display: grid;
  gap: 16px;
}

.cs-ico {
  display: grid;
  place-items: center;
  width: 224px;
  height: 224px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--n2);
  color: var(--g-hi);
}

.cs-ico svg {
  width: 88px;
  height: 88px;
  stroke-width: 1.4;
}

.cs-line {
  margin-top: 6px;
  color: var(--t2);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--n2);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 20px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .ico {
  color: var(--g-hi);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.faq details[open] summary .ico {
  transform: rotate(180deg);
}

.faq .h3 {
  font-size: 17px;
  font-weight: 500;
}

.faq-a {
  padding: 0 20px 18px;
  color: var(--t2);
}

/* ── 關於 ─────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
}

.split-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r2);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fact {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--n2);
}

.fact p {
  margin-top: 6px;
  color: var(--t2);
}

.notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.age-big {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--g-line);
  border-radius: 50%;
  color: var(--g-hi);
  font-size: 18px;
  font-weight: 700;
}

/* ── 404 ──────────────────────────────────────────────── */
.nf {
  padding-top: 72px;
  text-align: center;
}

.nf .lead {
  margin-left: auto;
  margin-right: auto;
}

.nf .actions {
  justify-content: center;
  margin-top: 28px;
}

/* ── 頁尾（照前台 AppFooter，單行）─────────────────────── */
.ft {
  margin-top: var(--sec);
  border-top: 1px solid var(--line3);
  background: var(--n0);
}

.ft-in {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* 最後一塊是滿版 CTA 色帶時，頁尾直接接上，不再隔一段深底（天條 37:尾區塊另行處理） */
main:has(> .cta:last-child) + .ft {
  margin-top: 0;
  border-top: 0;
}

.age {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--g-lo);
  border-radius: 50%;
  color: var(--g-hi);
  font-size: 12px;
  font-weight: 700;
}

.ft-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  color: var(--t3);
  font-size: 14px;
  line-height: 1.6;
}

.ft-sep {
  color: var(--g-lo);
}

.ft-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 4px;
}

.ft-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 6px;
  color: var(--t2);
}

.ft-links a:first-child {
  padding-left: 0;
}

.ft-links a:hover {
  color: var(--g-hi);
}

/* ── 手機 / 平板底部固定列（照前台 BottomNav）───────────── */
.bnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--nav-dark);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -6px 20px rgba(35, 30, 22, 0.18);
}

.bnav::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 152, 62, 0.6) 50%, transparent);
}

.bnav ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 640px;
  height: var(--bnav);
  margin: 0 auto;
}

.bnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  min-height: var(--tap);
  color: var(--nav-ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

/* 底部列是深色帶子:目前頁 / 主要動作用淺金 --nav-on（--g-hi 在白底版是深金，放這裡看不見） */
.bnav a:hover,
.bnav a[aria-current='page'] {
  color: var(--nav-on);
}

.bnav .ico {
  font-size: 23px;
}

.bnav .is-tg .ico {
  color: var(--tg);
}

.bnav .is-primary {
  justify-content: flex-end;
  padding-bottom: 9px;
  color: var(--nav-on);
  font-weight: 700;
}

.bnav .badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-top: -22px;
  border: 3px solid #0d0c0a; /* 跟深色帶子同色 */
  border-radius: 50%;
  background: var(--btn-gold);
  box-shadow: 0 6px 18px rgba(192, 152, 62, 0.35);
  color: var(--g-ink);
}

.bnav .badge .ico {
  font-size: 21px;
}

/* ── 斷點 ─────────────────────────────────────────────── */

/* 平板（992~1199）:欄距收一點、特色改兩欄 */
@media (max-width: 1199.98px) {
  .games,
  .promos,
  .perks {
    gap: 16px;
  }

  .perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-link {
    padding: 0 10px;
  }

  /*
   | 白底版:768~1199 字跟照片並排的空間變窄 —— 字收到 560px（768 寬時到 73% 處），
   | 米白漸層的實心段拉長到 60%、78% 處仍有 82%，字底下不會露出照片的亮點或暗部。
   */
  .hero-copy {
    max-width: 560px;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(250, 248, 243, 0.97) 0%, rgba(250, 248, 243, 0.95) 60%, rgba(250, 248, 243, 0.82) 78%, rgba(250, 248, 243, 0.3) 100%),
      linear-gradient(180deg, transparent 70%, rgba(250, 248, 243, 0.9) 100%);
  }
}

/* 991 以下:底部列出現，body 留位置;區塊上間距縮成 --sec-m */
@media (max-width: 991.98px) {
  body {
    padding-bottom: calc(var(--bnav) + env(safe-area-inset-bottom) + 15px);
  }

  .sec,
  .ft {
    margin-top: var(--sec-m);
  }

  .h1 {
    font-size: 34px;
  }

  .hero-in {
    min-height: 460px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split-media {
    max-width: 560px;
  }

  .cta-in {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-body {
    grid-template-columns: 1fr;
  }
}

/* 平板直向（768~991）:遊戲卡三欄太擠 → 兩欄 */
@media (max-width: 991.98px) and (min-width: 768px) {
  .games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 手機 */
@media (max-width: 767.98px) {
  .h1 {
    font-size: 30px;
  }

  .h1-sub {
    font-size: 18px;
  }

  .h2 {
    font-size: 24px;
  }

  .h3 {
    font-size: 18px;
  }

  .lead {
    font-size: 16px;
  }

  .sec-head {
    margin-bottom: 16px;
  }

  .sec-note {
    display: none;
  }

  /* 主視覺:圖放上面、字放下面，不在小螢幕上把字疊在圖上 */
  .hero {
    border-bottom: 0;
  }

  .hero-media {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 3;
  }

  .hero-media::after {
    /* 字從照片下緣往上疊 56px（約 81% 處起）:米白在 78% 處就收滿，字底下是實心米白 */
    background: linear-gradient(180deg, transparent 35%, rgba(250, 248, 243, 0.9) 68%, rgba(250, 248, 243, 1) 78%);
  }

  .hero-in {
    min-height: 0;
    margin-top: -56px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
  }

  .hero .btn {
    min-width: 0;
  }

  .btn {
    min-height: 50px;
    padding: 0 14px;
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .hero-facts {
    gap: 6px 16px;
    font-size: 14px;
  }

  .games {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* 手機一欄:圖改寬一點的比例，文字跟在旁邊 */
  .game {
    flex-direction: row;
  }

  .game-media {
    flex: 0 0 38%;
    aspect-ratio: auto;
  }

  .game-body {
    padding: 14px 14px 14px 16px;
  }

  .game-name {
    font-size: 18px;
  }

  .game-en {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .game-desc {
    font-size: 15px;
  }

  .perks,
  .promos,
  .steps,
  .facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .perk {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }

  .perk-ico {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .promo,
  .panel,
  .offer {
    padding: 20px 18px;
  }

  .promo-big {
    font-size: 26px;
  }

  .offer .promo-big {
    font-size: 28px;
  }

  .cta .actions,
  .page-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cs-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* 手機掃不到自己的螢幕:按鈕排前面，QR 縮小放後面 */
  .cs-card .qr {
    order: 2;
    justify-self: start;
    padding: 8px;
  }

  .cs-card .qr img {
    width: 140px;
    height: 140px;
  }

  .cs-num {
    font-size: 26px;
  }

  .cs-card .actions {
    display: grid;
  }

  .cs-ico {
    order: 2;
    justify-self: start;
    width: 120px;
    height: 120px;
  }

  .cs-ico svg {
    width: 56px;
    height: 56px;
  }

  .faq summary {
    padding: 12px 16px;
  }

  .faq-a {
    padding: 0 16px 16px;
  }

  .ft-in {
    align-items: flex-start;
  }

  .ft-sep {
    display: none;
  }

  .nf {
    padding-top: 40px;
  }
}

@media (max-width: 379.98px) {
  .brand-text {
    display: none;
  }
}

@media (min-width: 992px) {
  .nav {
    display: block;
  }

  .hd-trial {
    display: inline-flex;
  }

  .brand-emblem {
    height: 40px;
  }

  .brand-en {
    font-size: 18px;
  }

  .bnav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
