/* ========================= 
	   Global & Reset
	========================= */
*{margin:0;padding:0;box-sizing:border-box}
body{
  background:#000 url(https://www.dell.com/community/assets/community/687062f5-603c-4f5f-ab9d-31aa7cacb376/2-cab0fedb-6100-4398-be2c-541c6bc46d9e-47657581.png) center top / cover no-repeat fixed;
  color:#fff;font-family:sans-serif;padding-top:73px
}

:root { --topbar-h: 180px; }         /* 想高一點就改這裡（桌機） */
body  { padding-top: var(--topbar-h); }

/* 整張圖的 clickable banner */
.topbar-banner{
  position: fixed;
  left: 0; right: 0; top: 0;
  height: var(--topbar-h);
  z-index: 999;
  background: url(https://www.dell.com/community/assets/community/687062f5-603c-4f5f-ab9d-31aa7cacb376/photo_20250819_190555-0f256311-25fa-4f9c-862b-46a8418b28a8-1391903551.jpg) center / cover no-repeat;
  display: block;
  cursor: pointer;
}


/* iOS 安全區：頂欄高度 + 內容上方留白一起補齊 */
@supports (padding: max(0px)){
  body{
    padding-top: calc(var(--topbar-h) + env(safe-area-inset-top));
  }
  .topbar-banner{
    height: calc(var(--topbar-h) + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
}

/* 手機可以用另一個高度（可調） */
@media (max-width: 768px){
  :root{ --topbar-h: 180px; }        /* 手機頂欄高度 */
}

/* 想檢查範圍時可暫時打開： */
/* .topbar-banner { outline: 1px dashed rgba(255,255,255,.3); } */


/* =========================
   Hero (looped visual) + CTA
========================= */
.video-container{position:relative;width:100%;max-height:100%;overflow:hidden}
.video-container video{width:100%;height:auto;display:block}
.cta-button{position:absolute;left:50%;transform:translateX(-50%);z-index:10}
@media (max-width:767px){.cta-button{bottom:80px;top:auto;width:220px}}
@media (min-width:768px){.cta-button{bottom:380px;top:auto;width:360px}}
@media (min-width:1200px){.cta-button{bottom:300px;width:420px}}
.cta-button img{width:100%;height:auto;display:block}

/* =========================
   Full-width sections (story)
========================= */
.full-width-img{width:100%}
.full-width-img img{width:100vw;max-width:100%;height:auto;display:block}

.anchor-offset{position:relative;top:-80px;visibility:hidden;height:0}

/* ============ 中段影片區（非滿版，多段連播） ============ */
.trailer-sec{ padding:28px 12px 36px; }
.trailer-wrap{ width:min(96vw, 1200px); margin:0 auto; }
.trailer-title{ font-size:20px; margin:0 0 12px; padding:8px 12px; background:#111; border:1px solid #222; border-radius:8px; }
.player-box{ position:relative; width:100%; aspect-ratio:16/9; border:1px solid #222; border-radius:12px; overflow:hidden; background:#000; }
.player-box video{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#000; opacity:0; transition:opacity .22s linear; }
.player-box video.active{ opacity:1; z-index:2; }

/* 控制列預設不顯示 */
.player-ctrl{ display:none; }

/* 播放蓋板（大圓形播放鈕） */
.gate{
  position:absolute; inset:0;
  display:grid; place-items:center;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.35));
  border:0; cursor:pointer;
  z-index:5;
}
.gate::before{
  content:""; width:96px; height:96px; border-radius:50%;
  background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.45);
}
.gate::after{
  content:""; position:absolute;
  border-style:solid; border-width:18px 0 18px 30px; border-color:transparent transparent transparent #000;
  margin-left:6px; width:0; height:0;
}
.gate.hide{ display:none; }

/* =========================
   Footer
========================= */
/*.landing-footer{width:100%;background:#1e1416;padding:80px 16px 100px;position:relative;overflow:hidden}
.landing-footer .wrap{max-width:1500px;min-height:600px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px}
.lf-icon{width:108px;height:108px;border-radius:20px;object-fit:cover;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.lf-btns{display:flex;gap:22px;flex-wrap:wrap;justify-content:center}
.lf-legal{max-width:760px;text-align:center;color:rgba(255,255,255,.7);line-height:1.8;font-size:14px;margin-top:10px}
.lf-copy{text-align:center;color:rgba(255,255,255,.65);margin-top:14px;font-size:13px}*/

/* 影片封面（海報） */
.player-box .poster{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;            /* 想避免裁切可改成 contain */
  z-index:4;
  transition:opacity .22s ease;
  background:#000;
}
.player-box .poster.hide{ opacity:0; pointer-events:none; }

/* 讓頂欄不固定、隨頁面滾動 */
.topbar-banner{
  position: static;   /* 取消 fixed */
  height: var(--topbar-h);
}

/* 之前為了 fixed 才加的上方留白，現在關掉 */
body{
  padding-top: 0;
}

/* 若你有寫 iPhone 瀏海安全區的那段，也一併覆蓋掉 */
@supports (padding: max(0px)){
  body{ padding-top: 0; }
  .topbar-banner{ padding-top: 0; height: var(--topbar-h); }
}

/* === Responsive Topbar Banner（1095×270 等比）=== */
:root{
  --topbar-img: url(https://www.dell.com/community/assets/community/687062f5-603c-4f5f-ab9d-31aa7cacb376/photo_20250819_190555-0f256311-25fa-4f9c-862b-46a8418b28a8-1391903551.jpg);
  --topbar-ratio: 1095 / 270; /* 原圖寬/高 */
}

/* 基本：現代瀏覽器用 aspect-ratio 自動等比縮放 */
.topbar-banner{
  display:block;
  width:100%;
  aspect-ratio: var(--topbar-ratio);
  background: var(--topbar-img) center / cover no-repeat;
  cursor:pointer;
  position: static;          /* 不固定在頂端 */
  margin: 0 auto 8px;        /* 與下方留點距離 */
}

/* 舊機 fallback：不支援 aspect-ratio 時，用 padding 比例撐高 */
@supports not (aspect-ratio: 1 / 1){
  .topbar-banner{
    position: relative;
    background: var(--topbar-img) center / cover no-repeat;
  }
  .topbar-banner::before{
    content:"";
    display:block;
    /* 270 / 1095 * 100% = 24.6575% */
    padding-top: 24.6575%;
  }
}

/* 把以前 fixed 版留下的高度 / 安全區設定一律取消 */
body{ padding-top: 0 !important; }
@supports (padding: max(0px)){
  body{ padding-top: 0 !important; }
  .topbar-banner{ padding-top: 0 !important; }
}

/* 若 app.css 前面有以下寫法，這段會蓋掉它們：
   :root{ --topbar-h: ... }
   .topbar-banner{ position:fixed; height:var(--topbar-h); ... }
   @supports (padding: max(0px)){ body{ padding-top: calc(...) } ... } */

/* （FIX：移除一個多餘的大括號，避免之後規則被截斷） */


/* === Topbar：用 <img> 等比縮放，全面相容 === */
.topbar-banner{
  display: block;
  width: 100%;
  position: static !important;   /* 一定不固定在頂端 */
  margin: 0 auto 8px;
  line-height: 0;                /* 避免圖片下方空隙 */
  background: none !important;   /* 取消舊的背景圖做法 */
  height: auto !important;       /* 把舊的固定高度壓掉 */
  padding-top: 0 !important;     /* 把安全區殘留壓掉 */
}
.topbar-banner img{
  display: block;
  width: 100%;
  height: auto;                  /* 等比縮放 */
}

/* 以前為 fixed/變數頂欄預留的上邊距，統一關掉 */
body{ padding-top: 0 !important; }
@supports (padding: max(0px)){
  body{ padding-top: 0 !important; }
}

/* 浮動下載列：置底、水平置中、支援 iOS 安全區 */
.download-cta{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(16px, env(safe-area-inset-bottom) + 16px); /* iOS 瀏海安全區 */
  z-index: 9999;

  display: flex;
  gap: 12px;
  width: min(94vw, 560px);
  pointer-events: none; /* 只讓按鈕可點，避免擋到背景 */
}

/* 按鈕本體：讓圖片自適應寬度 */
.download-cta .btn{
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  pointer-events: auto;  /* 恢復可點 */
  text-decoration: none;
}

.download-cta .btn img{
  display: block;
  width: 100%;
  height: auto;
}

/* iOS Safari 兼容微調（偵測 WebKit） */
@supports (-webkit-touch-callout: none) {
  .download-cta{
    bottom: calc(env(safe-area-inset-bottom) + 16px);
  }
}

/* 若頁面上有任何會造成固定定位失效的父層（transform/filter/perspective/backdrop-filter），請取消 */
.no-transform { transform: none !important; }

/* === 固定底部下載列 === */
#download-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: max(12px, env(safe-area-inset-bottom) + 12px);
  z-index: 99999;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(94vw, 560px);
  margin: 0 auto;
  padding: 0 12px;
  pointer-events: none;           /* 只讓按鈕可點 */
}
#download-cta .btn{
  pointer-events: auto;
  display: inline-flex;
  align-items:center; justify-content:center;
  text-decoration: none; border: 0; background: transparent;
}
#download-cta .btn img{
  display:block; height:48px; width:auto; max-width:100%;
}

/* iOS 調整 */
@supports (-webkit-touch-callout: none) {
  #download-cta{ bottom: calc(env(safe-area-inset-bottom) + 12px); }
}

/* 保命：別讓會影響 fixed 的屬性出現在 html/body */
html, body { transform: none !important; }

/* ===== iOS-only 修補：只在 Safari/iOS 命中 ===== */
@supports (-webkit-touch-callout: none) {
  /* 1) 讓 iOS 一定有舞台高度（不吃你原本的 max-height:100% 限制） */
  .video-container{ position: relative; width: 100%; height: auto; max-height: none; overflow: hidden; }
  .video-container::before{ content:""; display:block; padding-top:56.25%; } /* 16:9 舞台 */
  .video-container > video{
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }

  /* 2) 只在 iOS 取消 fixed 背景，避免吃掉影片合成層 */
  body{ background-attachment: scroll !important; }
}

/* iOS 專用安全模式：只影響 iOS，不動 Android */
@supports (-webkit-touch-callout: none) {
  /* 讓 hero 有固定比例舞台，避免 iOS 認為高度=0 而不畫面 */
  .video-container { position:relative; width:100%; height:auto; max-height:none; overflow:hidden; }
  .video-container::before { content:""; display:block; padding-top:56.25%; } /* 16:9 */
  #heroVid {
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover; background:#000; display:block;
  }
  /* iOS 對 fixed 背景比較敏感，避免吃掉影片合成層 */
  body { background-attachment: scroll !important; }
  /* 診斷小浮窗 */
  #iosDebug {
    position:fixed; top:8px; left:8px; z-index:99999;
    background:rgba(0,0,0,.6); color:#0f0; padding:6px 8px; font-size:12px;
    border:1px solid rgba(0,255,0,.35); border-radius:6px; line-height:1.3;
  }
}

/* iOS 強制關 fixed 背景＋固定舞台比例（最後一條規則，確保覆蓋） */
@supports (-webkit-touch-callout: none) {
  body { background-attachment: scroll !important; }
  .video-container { position:relative; overflow:hidden; }
  .video-container::before { content:""; display:block; padding-top:56.25%; }
  .video-container > video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
}

/* === Hero 視訊舞台：預設 16:9，可切 cover/contain，可調焦點 === */
.video-container{
  /* 預設比例：16:9；若想先用 4:3 改成 4/3、9:16 改 9/16 */
  aspect-ratio: var(--hero-ratio, 9/16);
  position: relative;
  width: 100%;
  max-width: 1200px;           /* 想滿版就刪掉這行 */
  margin: 0 auto;
  overflow: hidden;
}

/* 影片鋪滿舞台 */
.video-container > video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: var(--hero-fit, cover);     /* cover = 充滿（可能裁切）；contain = 全部可見（會留黑邊） */
  object-position: var(--focal-x, 50%) var(--focal-y, 50%); /* 可自訂焦點 */
  background: #000;                        /* contain 時黑邊 */
}

/* CTA 以舞台底部為基準，隨裝置大小微調（保留你的參數） */
.cta-button{
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: clamp(12px, 20vw, 80px); z-index: 10;
  width: clamp(180px, 28vw, 420px);
}

/* iOS 舊機 fallback：不支援 aspect-ratio 時，用 padding 撐高（16:9） */
@supports not (aspect-ratio: 1 / 1){
  .video-container{ height: auto; }
  .video-container::before{ content:""; display:block; padding-top: 56.25%; } /* 9/16 → 177.78%；4/3 → 75% */
  .video-container > video{ position:absolute; inset:0; }
}

/* iOS 兼容：關掉 fixed 背景的干擾（避免黑屏 / 合成層問題） */
@supports (-webkit-touch-callout: none){
  body{ background-attachment: scroll !important; }
}

/* === iOS：頂欄與內容的安全區一致，避免頂欄與影片之間出現空檔 === */
:root{ --topbar-h: 73px; } /* 你的頂欄高度 */

body{ padding-top: var(--topbar-h); } /* 非劉海機 / 非 iOS 先用基本值 */

@supports (padding: max(0px)){
  /* iOS（有 safe area）同時補給「body 與頂欄」，兩邊對稱就不會有縫 */
  body{
    padding-top: calc(var(--topbar-h) + env(safe-area-inset-top));
  }
  .topbar{
    height: calc(var(--topbar-h) + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
}

/* 影片容器貼齊，不留預設間距；消除 1px 取樣縫： */
.video-container{ margin-top: 0; position: relative; }
.topbar{ margin-bottom: 0; }
.video-container{ margin-top: -1px; } /* ← 若仍看到髮絲縫，這行會吃掉它 */

/* 影片舞台（保險）：確保滿版接縫不露底色 */
.video-container{ aspect-ratio: 9/16; overflow:hidden; }
.video-container > video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover; background:#000;
}

/* iOS 的 fixed 背景 bug：改成 scroll，避免滾動時邊界出現縫隙 */
@supports (-webkit-touch-callout: none){
  body{ background-attachment: scroll !important; }
}

/* === Mobile Topbar height override === */
@media (max-width: 768px){
  :root{
    --topbar-h: 90px;         /* 想多高改這裡 */
  }
  .topbar-banner{
    /* 把之前的 auto / aspect-ratio 蓋掉 */
    height: var(--topbar-h) !important;
    aspect-ratio: auto !important;
    overflow: hidden;
  }
  .topbar-banner img{
    /* 讓圖片填滿容器高度，不會拉壞比例 */
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
  }
}

/* === Mobile Topbar 無縫覆蓋（放在所有 topbar 規則最後）=== */
@media (max-width: 768px){
  :root{ --topbar-h: 90px; }  /* 想多高改這裡 */

  .topbar-banner{
    height: var(--topbar-h) !important;
    aspect-ratio: auto !important;   /* 關掉之前的等比模式 */
    margin: 0 !important;            /* ← 把舊的 8px 下邊距蓋掉 */
    line-height: 0 !important;       /* 清掉可能的基線空隙 */
    overflow: hidden;
    display: block;
  }
  .topbar-banner img{
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    vertical-align: top;             /* 雙保險，避免基線 */
  }

  /* 如果首頁影片容器本身有上邊距，也一起清掉 */
  .video-container{
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;        /* 防止任何上邊框造成細縫 */
  }
}

/* 只影響 Android、手機寬度（你原來的行為保留） */
@media (max-width: 767px){
  html.is-android .cta-button{
    bottom: calc(160px) !important;  /* 原本 80px → 提高 32px；自行調整 */
  }
}
/* 若只想調整首屏那顆，精準一點用 id：#download-btn-hero.cta-button */


/* iOS 內建播放鈕隱藏（備援） */
@supports (-webkit-touch-callout: none) {
  video::-webkit-media-controls-start-playback-button,
  video::-webkit-media-controls-overlay-play-button,
  video::-webkit-media-controls-play-button,
  video::-webkit-media-controls-panel{
    display:none !important; opacity:0 !important;
    -webkit-appearance:none !important; appearance:none !important;
  }
}

/* 自家覆蓋層：只有需要時才顯示 */
#iosAutoplayOverlay{
  position:absolute; inset:0; display:none;
  align-items:center; justify-content:center;
  background:rgba(0,0,0,.35); z-index:9999;
}
#iosAutoplayOverlay.show{ display:flex; }
#iosAutoplayOverlay .tap2play{
  padding:10px 16px; border:0; border-radius:999px;
  background:#fff; color:#111; font-weight:700;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}

/* iOS 內建起播鈕盡量隱掉（備援） */
@supports (-webkit-touch-callout: none) {
  video::-webkit-media-controls-start-playback-button,
  video::-webkit-media-controls-overlay-play-button,
  video::-webkit-media-controls-play-button,
  video::-webkit-media-controls-panel{
    display:none !important; opacity:0 !important;
    -webkit-appearance:none !important; appearance:none !important;
  }
}

.video-container{ position:relative; width:100%; aspect-ratio:9/16; overflow:hidden; background:#000; }
.video-container video,
.video-container img.hero-media{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }

/* === FINAL OVERRIDES (do not remove) === */
html, body { margin:0; padding:0; height:auto; overflow-x:hidden; overflow-y:auto; }
.video-container{ position:relative; width:100%; aspect-ratio:9/16; overflow:hidden; background:#000; }
.video-container video,
.video-container img.hero-media{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.landing-footer {
  text-align: center;     /* 讓底部區塊內容置中 */
  padding: 20px;          /* 上下留一點空隙 */
}

.landing-footer .lf-legal {
  font-size: 14px;        /* 文字大小可調 */
  line-height: 1.6;       /* 行距更舒適 */
  color: #ccc;            /* 可自行調整顏色 */
  max-width: 800px;       /* 避免文字太長一行 */
  margin: 0 auto;         /* 置中對齊 */
}


/* === CTA 置底：最終覆蓋（不改動原參數，只覆蓋） === */
.video-container{ position:relative !important; }

/* 鎖定：只要是「舞台裡」的那顆 .cta-button，就貼底 */
.video-container > .cta-button{
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: auto !important;
  bottom: 38px !important;         /* 想更靠下可改 16px、12px */
  z-index: 10 !important;
}

/* 手機微調 */
@media (max-width: 767px){
  .video-container > .cta-button{
    bottom: 38px !important;
  }
}

/* Android 先前的鎖定規則（如 html.is-android .cta-button ...）統一蓋掉 */
html.is-android .video-container > .cta-button{
  bottom: 38px !important;
  top: auto !important;
}
/* 不論父層是什麼，只要是 #download-btn-hero 這顆就生效 */
#download-btn-hero.cta-button {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: auto !important;
  bottom: 38px !important;   /* 這裡改就一定會動 */
  z-index: 9999 !important;
}

/* 手機額外控制 */
@media (max-width: 767px) {
  #download-btn-hero.cta-button {
    bottom: 38px !important;
  }
}
#download-btn-hero.cta-button {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: auto !important;
  bottom: 120px !important;  /* 這裡改就會動 */
  z-index: 9999 !important;
}
/* === Hero CTA ultimate override（貼在最底，專治手機 Chrome 不動）=== */

/* 1) 先確認我們真的命中那顆 hero CTA（加框方便你確認）*/
#download-btn-hero.cta-button{
  outline: 2px solid rgba(255,0,0,.35) !important; /* 看得到紅框=命中成功，可刪 */
}

/* 2) 桌機維持絕對定位（你原本要的邏輯） */
@media (min-width: 768px){
  #download-btn-hero.cta-button{
    position: absolute !important;
    left: 50% !important; transform: translateX(-50%) !important;
    top: auto !important;
    /* 這裡隨你改，桌機就會動 */
    inset: auto auto 120px auto !important;  /* 等於 bottom:120px */
    z-index: 10000 !important;
  }
}

/* 3) 手機（含 Android Chrome）：改用 fixed 直接錨在視窗，保證會動 */
@media (max-width: 767px){
  #download-btn-hero.cta-button{
    position: fixed !important;          /* ← 手機改 fixed，100% 會動 */
    left: 50% !important; transform: translateX(-50%) !important;
    top: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;  /* 改這裡就會動 */
    z-index: 100000 !important;          /* 蓋過所有浮動列 */
    pointer-events: auto !important;
  }

  /* 如果頁面同時有浮動下載列，避免它擋住 hero CTA（只在手機下壓低它層級或往下移） */
  #download-cta{ z-index: 9999 !important; }
}

/* 4) 若你的 HTML 不是用 id，而是單純 .cta-button，也一起兜底（避免父層不是 .video-container）*/
@media (max-width: 767px){
  .cta-button.hero, .hero .cta-button{
    position: fixed !important;
    left: 50% !important; transform: translateX(-50%) !important;
    top: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    z-index: 100000 !important;
  }
}

/* 5) 防止其他規則用古早的 inset/transform 把位置鎖死，先把不必要的方向清掉 */
#download-btn-hero.cta-button{
  right: auto !important; left: 50% !important;
  top: auto !important;   /* 確保只吃 bottom */
}

/* 6) Android 裝置標記時，確保不被舊規則覆蓋 */
html.is-android #download-btn-hero.cta-button{
  bottom: calc(32px + env(safe-area-inset-bottom)) !important;
  position: fixed !important;
}
/* === HERO CTA：行動版＆桌機最終覆蓋（放最底）=== */
#download-btn-hero.cta-button{
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: auto !important;
  bottom: 120px !important;       /* 想更高就加大、想更低就減少 */
  z-index: 100000 !important;     /* 壓過底部浮動列 */
  pointer-events: auto !important;
}

/* 若手機版你想以視窗為基準（避免父層高低變動），打開這段 */
@media (max-width: 767px){
  #download-btn-hero.cta-button{
    position: fixed !important;   /* ← 這招最穩，手機一定會動 */
    bottom: calc(120px + env(safe-area-inset-bottom)) !important; /* 改這個數字調高低 */
  }
}

/* 診斷：確保沒有 top 被別的規則設定 */
#download-btn-hero.cta-button{ right:auto !important; top:auto !important; }

/* 若頁面同時有固定底列，避免被覆蓋/擋點擊 */
#download-cta{ z-index: 9999 !important; }
/* === Hero CTA 最終覆蓋（不管 JS 怎麼改，保證位置可控）=== */
#download-btn-hero.cta-button {
  position: fixed !important;       /* ← 手機就用 fixed，最穩 */
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: auto !important;
  bottom: calc(50px + env(safe-area-inset-bottom)) !important;  /* ← 這個數字調高低 */
  z-index: 100000 !important;
  pointer-events: auto !important;
  outline: none !important; /* 如果還留著紅框就刪掉 */
}
/* === Hero CTA：只在影片舞台內定位，不隨卷動 === */
.video-container { position: relative !important; }   /* 父層提供定位基準 */

#download-btn-hero.cta-button{
  position: absolute !important;   /* ← 關鍵：不要 fixed */
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: auto !important;
  bottom: 50px !important;         /* 想高/低就在這裡改數字 */
  z-index: 10000 !important;
}

/* 手機也一樣用 absolute，避免跟著視窗走 */
@media (max-width: 767px){
  #download-btn-hero.cta-button{
    position: absolute !important; /* 把任何 fixed 都蓋掉 */
    bottom: 60px !important;       /* 手機想高低就調這個 */
  }
}
