/* ==========================================================================
   LabcTV — 官方網站樣式
   深色影院風格 · 繁體中文 · 響應式
   ========================================================================== */

:root {
  --bg: #06070b;
  --bg-2: #080a10;
  --panel: #0d1017;
  --gold: #f0c97f;
  --gold-bright: #ffe6b8;
  --gold-deep: #c1934c;
  --cream: #f6f1e6;
  --muted: #a3aab5;
  --muted-2: #8a919c;
  --line: rgba(240, 201, 127, 0.16);
  --line-soft: rgba(246, 241, 230, 0.08);
  --container: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sans: "PingFang TC", "PingFang HK", "Microsoft JhengHei", "Noto Sans TC",
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: opacity 0.35s var(--ease);
}

/* 非繁中語言：語言包載入完成前先隱藏內容，避免閃爍 */
html.i18n-pending body {
  opacity: 0;
}

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

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

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

button {
  font-family: inherit;
}

::selection {
  background: var(--gold);
  color: #16100a;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 影片顆粒質感 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--gold);
  color: #16100a;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 0;
}

.container {
  width: min(var(--container), 100% - clamp(36px, 8vw, 112px));
  margin-inline: auto;
}

/* ---------- 共用元件 ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-rule {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 201, 127, 0.2), var(--gold));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
    border-color 0.4s var(--ease), color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.btn-arrow {
  width: 17px;
  height: 17px;
  transition: transform 0.4s var(--ease);
}

.btn-gold {
  background: linear-gradient(180deg, #ffe3ac 0%, #edc078 55%, #e2ad60 100%);
  color: #1a1206;
  font-weight: 700;
  box-shadow: 0 14px 34px -14px rgba(240, 201, 127, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -14px rgba(240, 201, 127, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-gold:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-ghost {
  border-color: rgba(246, 241, 230, 0.22);
  color: rgba(246, 241, 230, 0.9);
  background: rgba(246, 241, 230, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(240, 201, 127, 0.6);
  color: var(--gold);
  background: rgba(240, 201, 127, 0.07);
}

.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 12.5px;
}

/* ---------- 頁首 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 7, 11, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 40px -24px #000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  width: min(var(--container), 100% - clamp(36px, 8vw, 112px));
  margin-inline: auto;
}

.logo-image {
  width: 36px;
  height: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-word {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--cream);
}

.brand-word i {
  font-style: normal;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: rgba(246, 241, 230, 0.68);
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.4s var(--ease);
}

.nav a:hover {
  color: var(--gold);
}

.nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

/* 語言切換器 */
.lang-switch {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--muted-2);
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  color: var(--cream);
  border-color: rgba(240, 201, 127, 0.45);
  background: rgba(240, 201, 127, 0.06);
}

.lang-globe {
  width: 15px;
  height: 15px;
  flex: none;
}

.lang-now {
  white-space: nowrap;
}

.lang-caret {
  width: 10px;
  height: 10px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.lang-btn[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: 176px;
  padding: 6px;
  display: grid;
  gap: 2px;
  background: rgba(13, 16, 23, 0.96);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted-2);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-menu button:hover {
  color: var(--cream);
  background: rgba(246, 241, 230, 0.06);
}

.lang-menu button.on {
  color: var(--gold);
}

.lang-menu button.on::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 7.5vw, 96px) clamp(44px, 6vw, 76px);
}

.hero-glow {
  position: absolute;
  top: -30%;
  right: -12%;
  width: 880px;
  height: 880px;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(240, 201, 127, 0.16) 0%,
    rgba(240, 201, 127, 0.05) 42%,
    transparent 66%
  );
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: linear-gradient(
    90deg,
    rgba(246, 241, 230, 0.045) 1px,
    transparent 1px
  );
  background-size: clamp(84px, 12vw, 168px) 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 0 70px rgba(240, 201, 127, 0.12);
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}

.lede {
  max-width: 31em;
  margin: 0;
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.95;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 34px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(246, 241, 230, 0.52);
}

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

.hero-meta .ico {
  width: 17px;
  height: 17px;
  color: rgba(240, 201, 127, 0.8);
}

/* 主視覺螢幕 */
.hero-visual {
  position: relative;
}

.screen {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0c12;
  border: 1px solid rgba(240, 201, 127, 0.28);
  box-shadow: 0 44px 100px -32px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.5) inset, 0 0 70px -24px rgba(240, 201, 127, 0.35);
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  filter: saturate(0.94) contrast(1.03);
}

.screen-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(6, 7, 11, 0.94) 0%,
      rgba(6, 7, 11, 0.4) 30%,
      rgba(6, 7, 11, 0) 58%
    ),
    linear-gradient(100deg, rgba(6, 7, 11, 0.55) 0%, transparent 46%);
}

.sprocket {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15px;
  z-index: 2;
  background: rgba(3, 4, 6, 0.72);
  border-inline: 1px solid rgba(246, 241, 230, 0.1);
}

.sprocket::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 4px;
  right: 4px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(246, 241, 230, 0.32) 0 7px,
    transparent 7px 22px
  );
}

.sprocket-l { left: 0; }
.sprocket-r { right: 0; }

.now-playing {
  position: absolute;
  left: 30px;
  right: 96px;
  bottom: 26px;
  z-index: 3;
}

.np-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.np-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(240, 201, 127, 0.9);
}

.np-title {
  margin: 8px 0 6px;
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.np-meta {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 230, 0.6);
}

.play-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  color: #1a1206;
  background: linear-gradient(180deg, #ffe6b4, #e6b76c);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(240, 201, 127, 0.55);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  transform: translateX(1px);
}

.play-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 16px 40px -8px rgba(240, 201, 127, 0.75);
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 3;
  border: 0 solid rgba(240, 201, 127, 0.55);
  pointer-events: none;
}

.corner-tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.corner-tr { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.corner-bl { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }
.corner-br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }

.screen-caption {
  margin: 16px 0 0;
  text-align: right;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 230, 0.38);
}

/* ---------- 海報滾動帶 ---------- */

.reel {
  position: relative;
  padding-block: 18px;
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #080a10 0%, #06070b 100%);
}

.reel::before,
.reel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 7vw, 96px);
  z-index: 2;
  pointer-events: none;
}

.reel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 10%, transparent);
}

.reel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 10%, transparent);
}

.reel-track {
  display: flex;
  width: max-content;
  animation: reel-scroll 62s linear infinite;
}

.reel-track:hover {
  animation-play-state: paused;
}

@keyframes reel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reel-group {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

.reel-item {
  position: relative;
  flex: none;
  width: clamp(104px, 10vw, 138px);
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(246, 241, 230, 0.09);
}

.reel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.85);
  transition: filter 0.5s var(--ease), transform 0.7s var(--ease);
}

.reel-item:hover img {
  filter: brightness(1) saturate(1);
  transform: scale(1.06);
}

.reel-item span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(6, 7, 11, 0.66);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(240, 201, 127, 0.9);
}

/* ---------- 區塊共用 ---------- */

.section {
  position: relative;
  padding-block: clamp(72px, 8.5vw, 120px);
}

.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  padding-bottom: 28px;
  margin-bottom: clamp(34px, 4vw, 54px);
  border-bottom: 1px solid var(--line-soft);
}

.section-index {
  margin: 0 0 6px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

.section-title .eyebrow {
  margin: 0 0 10px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-note {
  margin: 0 0 4px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
}

.section-note a {
  color: var(--gold);
  border-bottom: 1px solid rgba(240, 201, 127, 0.4);
}

/* ---------- 片庫分類 ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.cat-card {
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--panel);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
    background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 201, 127, 0.4);
  background: #0f131c;
  box-shadow: 0 30px 60px -34px #000;
}

.cat-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0c12;
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.94);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}

.cat-card:hover .cat-media img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1);
}

.cat-num {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border: 1px solid rgba(246, 241, 230, 0.2);
  border-radius: 999px;
  background: rgba(6, 7, 11, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(246, 241, 230, 0.85);
}

.cat-body {
  padding: 18px 8px 10px;
}

.cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.cat-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cat-head span {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.cat-body p {
  margin: 10px 0 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cat-tags li {
  padding: 4px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 230, 0.5);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.cat-card:hover .cat-tags li {
  border-color: rgba(240, 201, 127, 0.3);
  color: rgba(240, 201, 127, 0.9);
}

/* ---------- 特色 ---------- */

.section-features {
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(
    180deg,
    rgba(240, 201, 127, 0.025) 0%,
    transparent 40%,
    transparent 100%
  );
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 44px);
}

.feature {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.feature::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 46px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.feature-num {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.feature-ico {
  width: 34px;
  height: 34px;
  color: rgba(240, 201, 127, 0.85);
}

.feature h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.feature p {
  margin: 0;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

/* ---------- 下載 ---------- */

.section-download {
  padding-block: clamp(56px, 7vw, 96px) clamp(72px, 8.5vw, 120px);
}

.dl-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 4.4vw, 62px);
  border: 1px solid rgba(240, 201, 127, 0.22);
  border-radius: 26px;
  background: radial-gradient(
      620px 520px at 8% 6%,
      rgba(240, 201, 127, 0.1) 0%,
      transparent 68%
    ),
    linear-gradient(155deg, #0e1118 0%, #080a10 56%, #0b0e15 100%);
  box-shadow: 0 50px 120px -60px #000;
}

.dl-copy {
  position: relative;
  z-index: 1;
}

.dl-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.dl-lede {
  max-width: 33em;
  margin: 0 0 30px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.platform-list {
  display: grid;
  gap: 12px;
  max-width: 470px;
}

.platform {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border: 1px solid rgba(246, 241, 230, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}

.platform:hover {
  transform: translateX(4px);
  border-color: rgba(240, 201, 127, 0.45);
  background: rgba(240, 201, 127, 0.055);
}

.platform-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(240, 201, 127, 0.28);
  border-radius: 50%;
  color: var(--gold);
}

.platform-ico svg {
  width: 22px;
  height: 22px;
}

.platform-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.platform-text small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.platform-go {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--gold);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.platform-go svg {
  width: 18px;
  height: 18px;
}

.platform:hover .platform-go {
  opacity: 1;
  transform: translateX(3px);
}

.dl-foot {
  margin: 20px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.dl-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 10px;
}

.phone-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(240, 201, 127, 0.2) 0%,
    rgba(240, 201, 127, 0.05) 45%,
    transparent 68%
  );
  filter: blur(14px);
}

.phone {
  position: relative;
  width: clamp(268px, 22vw, 288px);
  aspect-ratio: 9 / 19.2;
  padding: 9px;
  border-radius: 42px;
  border: 1px solid rgba(246, 241, 230, 0.18);
  background: linear-gradient(160deg, #262a33 0%, #0a0c10 26%, #0a0c10 74%, #1d2027 100%);
  box-shadow: 0 46px 90px -34px #000, inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 70px -18px rgba(240, 201, 127, 0.28);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px 14px 12px;
  border-radius: 34px;
  overflow: hidden;
  background: #080a0f;
  border: 1px solid #000;
}

.app-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 230, 0.5);
}

.status-dots {
  display: flex;
  gap: 3px;
}

.status-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(246, 241, 230, 0.35);
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.app-brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.app-brand i {
  font-style: normal;
  color: var(--gold);
}

.app-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(255, 230, 184, 0.9), rgba(193, 147, 76, 0.9));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.app-feature {
  position: relative;
  margin-top: 14px;
  aspect-ratio: 16 / 10;
  border-radius: 11px;
  overflow: hidden;
  background: #0a0c12;
}

.app-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 11, 0.92), transparent 62%);
}

.app-feature-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(6, 7, 11, 0.6);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.app-feature-title {
  position: absolute;
  left: 11px;
  bottom: 10px;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.app-row-title {
  margin: 16px 0 9px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.45);
}

.app-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.app-row figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: #0a0c12;
}

.app-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.app-tabs {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(246, 241, 230, 0.06);
}

.app-continue {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 7px;
  border: 1px solid rgba(246, 241, 230, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
}

.ac-thumb {
  flex: none;
  width: 32px;
  height: 42px;
  border-radius: 5px;
  overflow: hidden;
  background: #0a0c12;
}

.ac-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-info {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.ac-info strong {
  overflow: hidden;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ac-info small {
  font-size: 7px;
  letter-spacing: 0.03em;
  color: rgba(246, 241, 230, 0.45);
}

.ac-bar {
  height: 2px;
  margin-top: 2px;
  border-radius: 2px;
  background: rgba(246, 241, 230, 0.12);
  overflow: hidden;
}

.ac-bar i {
  display: block;
  width: 64%;
  height: 100%;
  background: var(--gold);
}

.ac-play {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(240, 201, 127, 0.5);
  border-radius: 50%;
  color: var(--gold);
}

.ac-play svg {
  width: 14px;
  height: 14px;
}

.app-tabs span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(246, 241, 230, 0.22);
}

.app-tabs .on {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(240, 201, 127, 0.8);
}

/* ---------- 常見問題 ---------- */

.section-faq {
  border-top: 1px solid var(--line-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 112px;
}

.faq-head h2 {
  margin: 10px 0 18px;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
}

.faq-list {
  border-top: 1px solid var(--line-soft);
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 4px;
  border: 0;
  background: none;
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.faq-q:hover {
  color: var(--gold);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.faq-icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-0.5px);
}

.faq-icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-0.5px);
}

.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: translateX(-0.5px) rotate(90deg);
  opacity: 0;
}

.faq-a {
  height: 0;
  overflow: hidden;
  transition: height 0.42s var(--ease);
}

.faq-a p {
  max-width: 46em;
  margin: 0;
  padding: 0 4px 26px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
}

/* ---------- 結尾 CTA ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 156px);
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

.final-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(240, 201, 127, 0.15) 0%,
    rgba(240, 201, 127, 0.04) 42%,
    transparent 70%
  );
}

.final-inner {
  position: relative;
  z-index: 1;
}

.final-inner .eyebrow {
  justify-content: center;
  margin-bottom: 18px;
}

.final-inner h2 {
  margin: 0 0 36px;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.final-inner h2 em {
  font-style: normal;
  color: var(--gold);
}

.final-inner .hero-actions {
  justify-content: center;
  margin-top: 0;
}

/* ---------- 頁尾 ---------- */

.site-footer {
  padding-top: clamp(52px, 6vw, 82px);
  border-top: 1px solid var(--line-soft);
  background: #05060a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 58px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.footer-brand .brand-word {
  font-size: 17px;
}

.footer-brand p {
  max-width: 26em;
  margin: 18px 0 22px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--muted);
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: rgba(246, 241, 230, 0.55);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.social a:hover {
  color: var(--gold);
  border-color: rgba(240, 201, 127, 0.5);
  transform: translateY(-2px);
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer-col h3 {
  margin: 0 0 18px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 預告視窗 ---------- */

.trailer {
  width: min(880px, calc(100% - 40px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 201, 127, 0.28);
  border-radius: 18px;
  background: #0a0c12;
  color: var(--cream);
  box-shadow: 0 60px 130px -40px #000;
}

.trailer::backdrop {
  background: rgba(4, 5, 8, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.trailer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(246, 241, 230, 0.2);
  border-radius: 50%;
  background: rgba(6, 7, 11, 0.65);
  color: var(--cream);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.trailer-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.trailer-close svg {
  width: 18px;
  height: 18px;
}

.trailer-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080a0f;
}

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

.trailer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 11, 0.85), transparent 55%);
}

.trailer-stamp {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 5px 10px;
  border: 1px solid rgba(240, 201, 127, 0.5);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold);
  background: rgba(6, 7, 11, 0.5);
}

.trailer-body {
  padding: clamp(20px, 3vw, 32px);
}

.trailer-body h3 {
  margin: 8px 0 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.trailer-meta {
  margin: 0 0 16px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 230, 0.55);
}

.trailer-note {
  max-width: 46em;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

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

@media (max-width: 640px) {
  .trailer-media {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- 進場動畫 ---------- */


html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 響應式 ---------- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

  .hero-visual {
    width: 100%;
    max-width: 720px;
  }

  .section-head {
    grid-template-columns: auto 1fr;
  }

  .section-note {
    grid-column: 2;
    margin-top: 14px;
  }

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

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .dl-panel {
    grid-template-columns: 1fr;
  }

  .dl-visual {
    order: 2;
    padding-block: 26px 6px;
  }

  .phone {
    width: 272px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-head {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px clamp(20px, 6vw, 48px) 22px;
    background: rgba(6, 7, 11, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
      visibility 0.35s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    width: 100%;
    padding: 15px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav a::after {
    display: none;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: block;
  }

  .lang-btn {
    padding: 8px;
    gap: 0;
  }

  .lang-now,
  .lang-caret {
    display: none;
  }

  .header-inner {
    height: 66px;
  }

  html {
    scroll-padding-top: 78px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }

  .hero-copy h1 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .hero-meta {
    gap: 8px 16px;
    font-size: 11px;
  }

  .screen {
    aspect-ratio: 5 / 4;
    border-radius: 14px;
  }

  .now-playing {
    left: 22px;
    right: 84px;
    bottom: 20px;
  }

  .play-btn {
    width: 46px;
    height: 46px;
    right: 18px;
    bottom: 18px;
  }

  .play-btn svg {
    width: 20px;
    height: 20px;
  }

  .reel-item {
    width: 100px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .section-index {
    margin-bottom: 0;
  }

  .section-note {
    grid-column: 1;
    margin-top: 4px;
  }

  .cat-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    gap: 16px;
  }

  .cat-media {
    aspect-ratio: 4 / 3;
  }

  .dl-panel {
    padding: 24px 20px 32px;
    border-radius: 20px;
  }

  .platform {
    padding: 13px 14px;
  }

  .platform-text strong {
    font-size: 14px;
  }

  .dl-visual .phone {
    width: 236px;
  }

  .phone-glow {
    width: 340px;
    height: 340px;
  }

  .app-continue {
    display: none;
  }

  .faq-q {
    gap: 16px;
    font-size: 14px;
    padding: 18px 2px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ---------- 下載頁面 ---------- */

.dl-page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7.5vw, 108px) clamp(48px, 6.5vw, 92px);
}

.dl-page-glow {
  position: absolute;
  pointer-events: none;
}

.dl-page-glow.a {
  top: -30%;
  right: -10%;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(240, 201, 127, 0.15) 0%, transparent 68%);
}

.dl-page-glow.b {
  bottom: -30%;
  left: -20%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(100, 140, 255, 0.08) 0%, transparent 68%);
}

.dl-page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
}

.dl-page-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.dl-page-copy h1 em {
  font-style: normal;
  color: var(--gold);
}

.dl-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.dl-platform {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel);
  text-decoration: none;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.dl-platform:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 201, 127, 0.4);
  background: #10141d;
  box-shadow: 0 30px 60px -38px #000, 0 0 60px -30px rgba(240, 201, 127, 0.4);
}

.dl-plat-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240, 201, 127, 0.18) 0%, rgba(240, 201, 127, 0.04) 100%);
  border: 1px solid rgba(240, 201, 127, 0.28);
  color: var(--gold);
}

.dl-plat-ico svg {
  width: 34px;
  height: 34px;
}

.dl-plat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dl-plat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.dl-plat-info strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.dl-plat-info small {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}

.dl-plat-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 3px 9px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(240, 201, 127, 0.4);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(240, 201, 127, 0.06);
}

.dl-smallprint {
  margin: 26px 0 0;
  font-size: 12px;
  color: var(--muted-2);
}

.dl-smallprint a {
  color: var(--gold);
  border-bottom: 1px solid rgba(240, 201, 127, 0.4);
}

/* 右側視覺 */
.dl-page-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.dl-device {
  position: relative;
  width: min(480px, 100%);
}

.dl-device-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(240, 201, 127, 0.28);
  box-shadow: 0 44px 100px -32px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 0 80px -28px rgba(240, 201, 127, 0.35);
}

.dl-device-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
}

.dl-device-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 7, 11, 0.85) 0%,
    rgba(6, 7, 11, 0.2) 45%,
    transparent 70%
  );
}

.dl-device-chip {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(6, 7, 11, 0.7);
  border: 1px solid rgba(240, 201, 127, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  white-space: nowrap;
}

.dl-device-chip svg {
  width: 14px;
  height: 14px;
}

.dl-qr {
  position: absolute;
  right: -24px;
  bottom: -30px;
  width: 150px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(240, 201, 127, 0.35);
  box-shadow: 0 20px 50px -20px #000, 0 0 30px -10px rgba(240, 201, 127, 0.4);
  text-align: center;
}

.dl-qr-svg {
  width: 100%;
  height: auto;
  display: block;
}

.dl-qr-label {
  margin: 8px 0 0;
  font-size: 9px;
  line-height: 1.5;
  color: #1a1206;
  letter-spacing: 0.02em;
}

/* 安裝步驟 */
.dl-section {
  border-top: 1px solid var(--line-soft);
}

.dl-section-soft {
  background: linear-gradient(180deg, transparent 0%, rgba(240, 201, 127, 0.025) 50%, transparent 100%);
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.install-col {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel);
}

.install-plat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.install-plat svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.install-steps {
  list-style: none;
  counter-reset: step;
}

.install-steps li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}

.install-steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

.step-num {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: rgba(240, 201, 127, 0.06);
  border: 1px solid rgba(240, 201, 127, 0.25);
}

.step-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.step-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.step-body strong {
  color: var(--cream);
  font-weight: 600;
}

/* 系統需求 */
.spec-table {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 24px;
  font-size: 14px;
  border-top: 1px solid var(--line-soft);
  color: rgba(246, 241, 230, 0.82);
}

.spec-row:first-child {
  border-top: 0;
}

.spec-head {
  background: rgba(240, 201, 127, 0.05);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.spec-row span:first-child {
  color: rgba(246, 241, 230, 0.55);
}

/* 下載 FAQ */
.dl-faq-head {
  text-align: center;
  margin-bottom: 44px;
}

.dl-faq-head h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.25;
}

.dl-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
}

.dl-faq {
  padding: 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--panel);
}

.dl-faq h3 {
  position: relative;
  margin: 0 0 12px;
  padding-left: 32px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.dl-faq h3 span {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(240, 201, 127, 0.1);
  border: 1px solid rgba(240, 201, 127, 0.28);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.dl-faq p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
}

.dl-faq-cta {
  margin: 40px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.dl-faq-cta a {
  color: var(--gold);
  border-bottom: 1px solid rgba(240, 201, 127, 0.4);
}

/* 下載頁面響應式 */
@media (max-width: 1080px) {
  .dl-page-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .dl-page-visual {
    order: -1;
  }

  .dl-device {
    max-width: 420px;
  }

  .dl-qr {
    right: -6px;
    bottom: -24px;
    width: 140px;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .dl-page-hero {
    padding-block: 44px 56px;
  }

  .dl-platforms {
    grid-template-columns: 1fr;
  }

  .dl-platform {
    grid-template-columns: 48px 1fr;
    padding: 18px 20px;
  }

  .dl-plat-ico {
    width: 48px;
    height: 48px;
  }

  .dl-plat-ico svg {
    width: 30px;
    height: 30px;
  }

  .dl-plat-badge {
    position: static;
    align-self: flex-start;
    margin-top: 10px;
  }

  .dl-device {
    max-width: 340px;
  }

  .dl-qr {
    position: static;
    width: 112px;
    margin: 20px auto 0;
    padding: 10px;
  }

  .dl-qr-label {
    font-size: 8px;
  }

  .dl-device-chip {
    bottom: 20px;
    font-size: 9.5px;
    padding: 8px 14px;
  }

  .spec-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px 18px;
    font-size: 13px;
  }

  .spec-row span:first-child {
    grid-column: 1 / -1;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
  }

  .spec-head {
    display: none;
  }
}

/* ---------- 法律文件頁面 ---------- */

.legal-hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 76px) clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 640px;
  height: 640px;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(240, 201, 127, 0.12) 0%,
    transparent 66%
  );
}

.legal-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.legal-meta {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.legal-doc {
  padding-bottom: clamp(60px, 8vw, 100px);
}

.legal-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 112px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--panel);
}

.toc-title {
  margin: 0 0 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
  margin-bottom: 2px;
}

.legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.legal-toc a::before {
  content: counter(toc);
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gold);
  min-width: 18px;
  text-align: center;
  opacity: 0.7;
}

.legal-toc a:hover {
  color: var(--cream);
  border-bottom-color: rgba(246, 241, 230, 0.15);
}

.legal-body {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--cream);
}

.legal-lead {
  margin: 0 0 40px;
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(240, 201, 127, 0.04);
  font-size: 14.5px;
  line-height: 2;
  color: rgba(246, 241, 230, 0.85);
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: 110px;
}

.legal-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cream);
}

.legal-section h3 {
  margin: 24px 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.legal-section p {
  margin: 0 0 14px;
  color: rgba(246, 241, 230, 0.82);
}

.legal-section ul {
  margin: 0 0 14px;
  padding-left: 22px;
  list-style: none;
}

.legal-section ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: rgba(246, 241, 230, 0.82);
}

.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.legal-section ul li strong {
  color: var(--cream);
  font-weight: 600;
}

.legal-section code {
  padding: 2px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--gold);
}

.legal-section a {
  color: var(--gold);
  border-bottom: 1px solid rgba(240, 201, 127, 0.4);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.legal-section a:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

.legal-contact {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(240, 201, 127, 0.04) 0%,
    rgba(240, 201, 127, 0.01) 100%
  );
}

.legal-contact p {
  margin: 4px 0;
}

.legal-contact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cream);
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc {
    position: static;
    padding: 16px 18px;
  }

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

@media (max-width: 560px) {
  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-body {
    font-size: 14.5px;
  }

  .legal-lead {
    padding: 14px 16px;
    font-size: 13.5px;
  }
}

/* ---------- 無障礙：減少動態 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reel-track {
    animation: none;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
