/* ============================================================
   AI 小龍蝦 · 四大主流幣
   ------------------------------------------------------------
   這個頁面沿用 navigator.css 的 nav-page / nav-header 骨架，
   這裡只補這個頁面專屬的區塊樣式。

   色系跟全站一致：深藍底 + 金色強調。
   ============================================================ */

/* ---------- 頁首徽章 ---------- */

/*
 * 頁首小圖：黃金美元徽章。
 * 蓋掉 navigator.css 對 .nav-header-icon 的預設尺寸與 blend。
 */
.ai-badge-icon {
  mix-blend-mode: normal;
  object-fit: contain;
}

/*
 * 導覽列上的徽章白邊處理。
 *
 * 圖片本身是「圓形徽章 + 白色方形背景」，
 * 白底放在任何底色上都會露出來。
 *
 * 用 mix-blend-mode: multiply：
 *   白色（#fff）在任何底色上相乘結果都等於底色，
 *   所以白色部分會完全消失；
 *   金色徽章比底色深，會保留原色。
 *
 * 這是處理「白底圖片」最簡單可靠的方式，
 * 不需要另外做透明背景的圖。
 */
.nav-header-icon-box .ai-badge-icon,
.ai-hero-badge {
  mix-blend-mode: multiply;
}

/* ---------- 主視覺 ---------- */

/*
 * 主視覺也一併壓縮，讓整頁更緊湊。
 *
 * 徽章 132 → 104px、上下內距 26/24 → 18/16px、
 * 標題 23 → 20px。省下的高度讓 V10 說明與
 * 第一張幣種卡片能更早出現。
 */
.ai-hero {
  position: relative;
  margin-bottom: 26px;
  padding: 26px 18px 24px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 50% 8%, rgba(212, 175, 55, 0.16), transparent 62%),
    var(--navy-700);
  text-align: center;
  overflow: hidden;
}

/* 背後的柔光：讓徽章有「發光」的感覺 */
.ai-hero-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.32), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.ai-hero-badge {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 4px auto 14px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(212, 175, 55, 0.42));
}

.ai-hero-title {
  position: relative;
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gold-200);
}

.ai-hero-note {
  position: relative;
  margin: 7px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.ai-hero-desc {
  position: relative;
  margin: 15px auto 0;
  max-width: 420px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

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

.ai-section {
  margin-bottom: 24px;
}

.ai-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.ai-section-ico {
  font-size: 15px;
}

.ai-section-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--gold-300);
}

/* ---------- 入金方案卡片 ---------- */

.ai-plan {
  position: relative;
  margin-top: 12px;
  padding: 14px 14px 12px;
  border-radius: 11px;
  border: 1px solid rgba(243, 186, 47, 0.48);
  background:
    linear-gradient(135deg, rgba(243, 186, 47, 0.16), rgba(243, 186, 47, 0.05));
  /*
   * 恢復左對齊。
   * 外層 .ai-coin-body 是 text-align: center（為了圓章與幣名的置中），
   * 但方案內容是表格式資訊，左對齊才好讀。
   */
  text-align: left;
}

/* 左上角標籤 */
.ai-plan-tag {
  position: absolute;
  top: -9px;
  left: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d98a, #d4af37);
  color: #1a1200;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

/* 入金金額 / 投資期間：兩欄 */
.ai-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 4px;
}

/*
 * 入金金額 / 投資期間：與「連本帶利」同一套黃底黑字。
 *
 * 為什麼三塊要用同一個樣式：
 *   這三個數字是方案的完整資訊（投多少、投多久、拿回多少），
 *   原本只有第三塊亮，前兩塊灰暗，看起來像「只有最後一個重要」。
 *   統一成黃底後，整張卡片讀起來是一個完整方案。
 */
.ai-plan-item {
  padding: 9px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7e3a1, #e6c35c);
  text-align: center;
}

.ai-plan-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: rgba(26, 18, 0, 0.72);
}

.ai-plan-value {
  margin-top: 3px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.2;
  color: #1a1200;
}

.ai-plan-unit {
  font-size: 10px;
  font-weight: 800;
  color: rgba(26, 18, 0, 0.72);
}

/* 連本帶利：整張卡片的重點，字最大 */
.ai-plan-total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: 11px;
  padding: 9px 10px 8px;
  /*
   * 字改成黑色後，底色必須是淺色才看得見。
   * 用金色漸層當底（與上方的入金方案標籤同色系），
   * 黑字在上面的對比最高。
   */
  border-radius: 8px;
  background: linear-gradient(135deg, #f7e3a1, #e6c35c);
}

/*
 * 三處文字全部改黑色（#1a1200）。
 * 黑色要看得清楚，下方九連本帶利整塊必須是淺底，
 * 所以 .ai-plan-total 也補上淺金底與圓角。
 */
.ai-plan-total-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #1a1200;
}

.ai-plan-total-value {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: #1a1200;
  text-shadow: none;
  /*
   * 報酬率改成上下兩行：
   *   一天
   *   0.3% ~ 0.5%
   * 用 flex column 讓兩行靠左對齊，
   * 避免手機上「一天 0.3% ~ 0.5%」擠成一長條而換行錯位。
   */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

/* 上排：「一天」小字 */
.ai-rate-per {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  opacity: 0.78;
}

/* 下排：百分比大字 */
.ai-rate-val {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.ai-plan-total-unit {
  font-size: 12px;
  font-weight: 800;
  color: #1a1200;
}

/*
 * 每日報酬率：接在「16,700 台幣」後面同一行。
 * 字比主數字小一階、深色半透明，
 * 確保它只是補充資訊，不搶 16,700 的焦點。
 */
.ai-plan-rate {
  margin-left: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(26, 18, 0, 0.66);
  white-space: nowrap;
}

.ai-plan-note {
  margin-top: 7px;
  text-align: center;
  font-size: 9.5px;
  color: var(--text-muted);
}

/* ---------- 等級 / 次數說明 ---------- */

/*
 * 與入金金額、投資期間、報酬率同一套黃底黑字。
 * 四個幣種共用這組樣式，視覺上整張卡片是一致的一塊。
 */
.ai-plan-tier {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 9px;
}

.ai-plan-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7e3a1, #e6c35c);
  font-size: 10.5px;
  font-weight: 800;
  color: rgba(26, 18, 0, 0.72);
}

.ai-plan-tier-row strong {
  font-size: 12px;
  font-weight: 900;
  color: #1a1200;
  letter-spacing: 0.4px;
}

/* ---------- V10 解鎖橫幅 ---------- */

/*
 * 頁面頂部的說明：V10 解鎖四大主流幣。
 * 放在四大幣區塊之前，先講清楚規則再看細節。
 *
 * 三段字級都放大：
 *   徽章 11 → 15px
 *   標題 15 → 22px
 *   說明 11.5 → 14px
 * 因為這是整頁最重要的前提（沒到 V10 就看不到四檔），
 * 原本的字級在手機上一眼掃過去很容易漏掉。
 */
.ai-unlock {
  margin-bottom: 20px;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid rgba(240, 197, 61, 0.5);
  background: linear-gradient(135deg, rgba(240, 217, 138, 0.16), rgba(240, 197, 61, 0.06));
  text-align: center;
}

.ai-unlock-badge {
  display: inline-block;
  margin-bottom: 9px;
  padding: 4px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe89a, #f0c53d);
  color: #1a1200;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.ai-unlock-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 1.5px;
  color: var(--gold-200);
}

.ai-unlock-desc {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
}

/* 手機上縮一點，避免 22px 標題擠成三行 */
@media (max-width: 480px) {
  .ai-unlock {
    padding: 15px 13px;
  }

  .ai-unlock-badge {
    font-size: 13px;
    padding: 3px 14px;
  }

  .ai-unlock-title {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .ai-unlock-desc {
    font-size: 12.5px;
  }

  /*
   * 手機上的報酬率兩行：
   *   上排「一天」縮到 11px
   *   下排百分比維持 22px 但不再縮行距
   * 讓兩行在窄螢幕上仍有清楚的層級。
   */
  .ai-rate-per {
    font-size: 11px;
  }

  .ai-rate-val {
    font-size: 22px;
  }
}

/* ---------- 入金資格 / 錢包 / 按鈕 ---------- */

/*
 * 入金金額的資格狀態。
 *
 * 背景已經改成跟「連本帶利」一樣的黃底黑字（不再用灰暗表示），
 * 所以資格改由「外框顏色」暗示：
 *   未達資格 → 外框虛線灰
 *   符合資格 → 外框實線綠 + 微光
 *
 * 為什麼不再用灰暗：
 *   使用者要求三個數字都是黃底黑字，
 *   若又灰暗會互相打架，看起來像壞掉。
 */
.ai-deposit-amt {
  position: relative;
  transition: all 0.3s;
  outline: 1px dashed rgba(26, 18, 0, 0.25);
  outline-offset: 1px;
}

.ai-deposit-amt.eligible {
  outline: 2px solid rgba(46, 204, 113, 0.85);
  outline-offset: 1px;
  box-shadow: 0 3px 14px rgba(46, 204, 113, 0.4);
}

/* 錢包資訊列 */
.ai-wallet {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(10, 14, 20, 0.34);
}

.ai-wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10.5px;
  color: var(--text-muted);
}

.ai-wallet-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--gold-300);
  letter-spacing: 0.4px;
}

/* 出金那列用虛線隔開，表示與入金同一組設定 */
.ai-wallet-row-out {
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px dashed rgba(212, 175, 55, 0.24);
}

/*
 * 完整錢包地址列。
 *
 * 42 碼很長，用等寬字 + 自動換行；
 * 複製鍵固定右側，避免手機上被擠壓。
 */
.ai-wallet-addr {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 9px;
  border-radius: 7px;
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.ai-wallet-addr code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--gold-200);
  word-break: break-all;
}

.ai-wallet-copy {
  flex-shrink: 0;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid var(--gold-500);
  background: rgba(212, 175, 55, 0.16);
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  color: var(--gold-200);
  transition: all 0.2s;
}

.ai-wallet-copy:hover {
  background: rgba(212, 175, 55, 0.28);
}

.ai-wallet-copy.done {
  background: rgba(46, 204, 113, 0.22);
  border-color: rgba(46, 204, 113, 0.6);
  color: #7ee2a8;
}

/* 資格狀態提示 */
.ai-dep-status {
  margin-top: 9px;
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.ai-dep-status.ok {
  background: rgba(46, 204, 113, 0.14);
  color: #7ee2a8;
}

.ai-dep-status.no {
  background: rgba(224, 46, 46, 0.12);
  color: #e0a9a9;
}

/* 入金按鈕 */
.ai-dep-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 9px;
  padding: 11px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #1a1200;
  background: linear-gradient(135deg, #ffe89a, #f0c53d);
  box-shadow: 0 4px 14px rgba(240, 197, 61, 0.34);
  transition: all 0.2s;
}

.ai-dep-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(240, 197, 61, 0.46);
}

.ai-dep-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
  box-shadow: none;
  transform: none;
}

.ai-dep-btn-arrow {
  font-size: 15px;
}

/* 贖回按鈕：外框樣式，與入金的主按鈕區隔 */
.ai-redeem-btn {
  width: 100%;
  margin-top: 7px;
  padding: 10px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.ai-redeem-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-200);
  background: rgba(212, 175, 55, 0.08);
}

/* ---------- 方案時間軸 ---------- */

/*
 * 入金 / 到期 / 出金三個時間。
 *
 * 用左標籤右數值的兩欄式排列，
 * 手機上標籤固定寬度、時間靠右，
 * 比上下堆疊更容易一眼看出對應關係。
 *
 * 配色與「入金金額」一致：黃底黑字。
 * 這是客戶最常回頭看的資訊（我什麼時候投的、錢什麼時候到），
 * 用跟金額同樣醒目的樣式，視線會直接落在這裡。
 */
.ai-time-box {
  margin-top: 9px;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid rgba(240, 197, 61, 0.6);
  background: linear-gradient(135deg, #f7e3a1, #e6c35c);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-time-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.ai-time-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #4a3708;
  white-space: nowrap;
}

.ai-time-val {
  font-size: 11.5px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #1a1200;
  text-align: right;
  word-break: break-all;
}

/*
 * 尚未發生的時間用半透明深色，
 * 避免與已完成的深黑混淆，但仍要在黃底上看得清楚。
 */
.ai-time-val.pending {
  color: rgba(46, 32, 4, 0.55);
  font-weight: 700;
}

/* 已完成（到期可領、已出金）用深綠，在黃底上對比足夠 */
.ai-time-val.done {
  color: #14663a;
  font-weight: 900;
}

.ai-time-tx {
  padding-top: 6px;
  border-top: 1px dashed rgba(74, 55, 8, 0.3);
}

/*
 * 交易編號：純文字顯示，不開外部連結。
 * 用等寬字體方便客服核對，
 * 過長時自動換行，不會撐破卡片。
 */
.ai-time-txcode {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: #1a1200;
  text-align: right;
  word-break: break-all;
}

/* ---------- BNB 換算機 ---------- */

.ai-calc {
  margin-top: 12px;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid rgba(243, 186, 47, 0.34);
  background: rgba(243, 186, 47, 0.07);
}

.ai-calc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(243, 186, 47, 0.22);
  /*
   * 標題放大：11.5px → 15px。
   * 這是整個換算機的主標，原本跟下方的資料列一樣大，
   * 使用者一眼看不出「這塊在算什麼」，所以拉開層級。
   */
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--gold-300);
}

.ai-calc-ico {
  font-size: 15px;
  flex-shrink: 0;
}

.ai-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.ai-calc-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--text-primary);
  word-break: break-all;
}

/* 兩列結果：可買 BNB / 等同台幣 */
.ai-calc-row-hl {
  margin-top: 5px;
  padding-top: 8px;
  border-top: 1px dashed rgba(243, 186, 47, 0.26);
}

.ai-calc-row-hl span {
  font-weight: 700;
  color: var(--gold-400, #c8a83c);
}

.ai-calc-row-hl strong {
  font-size: 15px;
  font-weight: 900;
  color: var(--gold-200);
}

.ai-calc-note {
  margin-top: 9px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: right;
}

/* 載入中／失敗時的灰字 */
.ai-calc-row strong.loading {
  color: var(--text-muted);
}


.ai-coins {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ================================================================== */
/*  入金順序流程圖                                                      */
/* ================================================================== */

/*
 * 為什麼要有這塊：
 *   四種幣的門檻是遞增的（500 → 1,000 → 2,000 → 5,000），
 *   而且必須依序完成才能投入下一種。
 *   卡片本身看不出這個規則，
 *   所以在最上方用一條流程圖先講清楚。
 */

.ai-flow {
  /*
   * 與頁面上方「V10 解鎖 4 大主流貨幣」橫幅同一套配色：
   *   深色底（略透金）、金色邊框、淺金標題、次要灰說明。
   * 兩塊講的是同一件事（解鎖順序），
   * 視覺一致才不會讓人以為是不同系統。
   */
  margin-bottom: 12px;
  padding: 14px 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(240, 197, 61, 0.5);
  background: linear-gradient(
    135deg,
    rgba(240, 217, 138, 0.16),
    rgba(240, 197, 61, 0.06)
  );
}

.ai-flow-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.ai-flow-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-200);
  letter-spacing: 0.5px;
}

.ai-flow-note {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ai-flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  position: relative;
}

.ai-flow-no {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe89a, #f0c53d);
  border: 1px solid rgba(240, 197, 61, 0.6);
  color: #1a1200;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-flow-coin {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  /*
   * 暗綠。
   * 比淺綠沉穩，在深色底上像是「已亮起的指示燈」，
   * 不會像淺綠那樣搶走標題的注意力。
   */
  color: #4caf7d;
}

.ai-flow-coin.bnb,
.ai-flow-coin.usdt,
.ai-flow-coin.eth,
.ai-flow-coin.btc {
  color: #4caf7d;
}

.ai-flow-amt {
  font-size: 10px;
  color: #3f9268;
  white-space: nowrap;
  font-weight: 700;
}

.ai-flow-arrow {
  /*
   * 深黑箭頭。
   *
   * 用 #1a1206（帶極淡暖調的深黑）而不是純黑 #000000，
   * 純黑在深色底上會顯得突兀、像破洞；
   * 這個色調與頁面其他深色元素同一家族，退得更自然。
   *
   * 字級放大到 18px（原 13px），
   * 因為 13px 的箭頭在手機上太細、看不出方向感。
   */
  color: #1a1206;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  padding-bottom: 14px;
  font-weight: 900;
}

/* 窄螢幕：金額縮小，避免擠壓 */
@media (max-width: 420px) {
  .ai-flow {
    padding: 12px 10px 14px;
  }
  .ai-flow-note {
    font-size: 10px;
  }
  .ai-flow-coin {
    font-size: 12px;
  }
  .ai-flow-amt {
    font-size: 9px;
  }
  .ai-flow-arrow {
    font-size: 16px;
  }
}

/* ---------- 金色大龍蝦形象圖（卡片區塊內第五項） ---------- */

/*
 * 位於 .ai-coins 內部，與四張幣種卡共用 gap: 10px 的節奏。
 *
 * 設計考量：
 *   1. 不加邊框、不加背景 → 讓它像「卡片之後的收尾」而非第六張卡
 *   2. 金色柔光 → 與整頁金色系呼應
 *   3. 上方多留一點空間 → 與 BTC 卡片稍微拉開，形成分組感
 */
.ai-mascot {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding: 0 8px;
}

.ai-mascot-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  /* 金色柔光，讓圖片與深色底自然融合 */
  filter: drop-shadow(0 8px 24px rgba(212, 175, 55, 0.28));
}

@media (max-width: 420px) {
  .ai-mascot {
    margin-top: 6px;
  }
  .ai-mascot-img {
    max-width: 200px;
  }
}

/* ---------- BTC 旗艦方案 ---------- */

/*
 * 門檻 41,000U、獲利 164,000U，是本頁最高階的方案。
 *
 * 為什麼用金色邊框 + 微亮背景：
 *   四張入門卡都是用素色邊框，
 *   這張用金色框起來，一眼就能分辨「這是更高階的選項」。
 *
 * 內部的資料列直接沿用 ai-plan-grid / ai-plan-total，
 * 格式與 BNB / USDT / ETH / BTC 四張卡完全一致，
 * 使用者不用重新適應排版。
 */
.ai-premium {
  margin-top: 6px;
  padding: 16px 16px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(240, 197, 61, 0.65);
  background: linear-gradient(
    150deg,
    rgba(240, 217, 138, 0.14),
    rgba(240, 197, 61, 0.05)
  );
  box-shadow: 0 4px 18px rgba(240, 197, 61, 0.1);
}

.ai-premium-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ai-premium-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe89a, #f0c53d);
  color: #1a1200;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.ai-premium-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-200);
  letter-spacing: 0.5px;
}

/*
 * 旗艦方案內的按鈕與時間框。
 *
 * 直接沿用 ai-dep-btn / ai-time-box，
 * 只需要補上「與上方內容的間距」，
 * 讓它跟四張入門卡的節奏一致。
 */
.ai-premium .ai-dep-status {
  margin-top: 14px;
}

.ai-premium .ai-dep-btn {
  margin-top: 10px;
  width: 100%;
}

.ai-premium .ai-redeem-btn {
  margin-top: 10px;
  width: 100%;
}

.ai-premium .ai-time-box {
  margin-top: 12px;
}

@media (max-width: 420px) {
  .ai-premium {
    padding: 14px 12px 16px;
  }
  .ai-premium-title {
    font-size: 14px;
  }
}

/* ---------- BTC 尊榮方案（紅色系，最高階） ---------- */

/*
 * 82,000U / 14 個月，是整頁最高階的方案。
 *
 * 為什麼用紅色而不是金色：
 *   旗艦方案已經是金色，尊榮若也用金色，
 *   兩張卡在深色頁面上幾乎看不出差別。
 *   紅色是整頁唯一的暖色，
 *   在黑色底上一眼就能鎖定，層級最清楚。
 */
.ai-vip {
  border: 2px solid rgba(255, 90, 90, 0.85);
  background: linear-gradient(
    150deg,
    rgba(255, 90, 90, 0.16),
    rgba(180, 30, 40, 0.07)
  );
  box-shadow:
    0 6px 26px rgba(255, 70, 70, 0.22),
    inset 0 1px 0 rgba(255, 170, 170, 0.16);
}

.ai-vip .ai-premium-badge {
  background: linear-gradient(135deg, #ff8a8a, #d32020);
  color: #fff5f5;
  box-shadow: 0 0 16px rgba(220, 40, 40, 0.5);
}

.ai-vip .ai-premium-title {
  color: #ff9b9b;
  font-size: 16px;
  letter-spacing: 1px;
}

/*
 * 獲利金額區塊：黃底黑字。
 *
 * 為什麼統一用黃底黑字：
 *   旗艦與尊榮兩張卡都要放「買入數量 + 獲利金額」，
 *   用同一套樣式讀起來最順，
 *   而且黃底黑字對比度約 10:1，
 *   是整頁最清楚的組合（深色底上淺字只有 3~4:1）。
 */
.ai-vip-total {
  background: linear-gradient(165deg, #f7e3a1 0%, #e6c35c 100%);
  border: 1px solid #c9a227;
  border-radius: 10px;
  padding: 12px 14px;
}

.ai-vip-total .ai-plan-total-label {
  color: #1a1206;
  font-weight: 800;
}

.ai-vip-total .ai-rate-per {
  color: #1a1206;
  font-weight: 900;
}

.ai-vip-total .ai-rate-val {
  color: #4a3a12;
  font-weight: 700;
}

@media (max-width: 420px) {
  .ai-vip .ai-premium-title {
    font-size: 15px;
  }
}

.ai-coin {
  /*
   * 改成上下排列：
   *   上：幣種圓章（置中）
   *   下：名稱、說明、入金方案（全寬）
   *
   * 為什麼不用左右排列：
   *   原本 badge 佔左側 42px + 間距 13px + 內距 15px，
   *   等於入金方案左邊空出 70px 的白邊，
   *   在手機上會讓方案卡片被擠得很窄。
   *   改成上下排列後，方案可以吃滿整個寬度。
   */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 16px 15px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.022);
  transition: all 0.2s;
}

.ai-coin:hover {
  border-color: var(--border-strong);
  background: rgba(212, 175, 55, 0.06);
}

/* 幣種圓章：各幣用不同的低飽和色，避免四張卡片長得一樣 */
.ai-coin-badge {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  margin: 0 auto;
}

.ai-coin-badge.btc  { background: rgba(247, 147, 26, 0.16);  color: #f7931a; border: 1px solid rgba(247, 147, 26, 0.42); }
.ai-coin-badge.eth  { background: rgba(98, 126, 234, 0.16);  color: #8c9ef0; border: 1px solid rgba(98, 126, 234, 0.42); }
.ai-coin-badge.bnb  { background: rgba(243, 186, 47, 0.16);  color: #f3ba2f; border: 1px solid rgba(243, 186, 47, 0.42); font-size: 11px; letter-spacing: 0.4px; }
.ai-coin-badge.usdt { background: rgba(38, 161, 123, 0.16);  color: #4ec9a0; border: 1px solid rgba(38, 161, 123, 0.42); }

.ai-coin-body {
  flex: 1;
  min-width: 0;
  /* 內容全寬、文字置中，配合上方置中的圓章 */
  width: 100%;
  text-align: center;
}

.ai-coin-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--text-primary);
}

/*
 * 「一人限定一次」標籤：接在 BNB 後面。
 * 用紅底白字，一眼就知道是限制條件，
 * 但字級壓到 9px，不會蓋過幣名。
 */
.ai-coin-limit {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(224, 46, 46, 0.9);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.3px;
  vertical-align: middle;
  white-space: nowrap;
}

.ai-coin-cn {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold-400, #c8a83c);
}

.ai-coin-desc {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-muted);
  /* 說明文字留一點左右呼吸空間，避免貼齊卡片邊緣 */
  padding: 0 4px;
}

/* ---------- 運作步驟 ---------- */

.ai-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ai-steps li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.055);
  border: 1px solid var(--border-subtle);
}

.ai-step-num {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0d98a, #d4af37);
  color: #1a1200;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.ai-step-text {
  flex: 1;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---------- 風險提醒 ---------- */

.ai-warn {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(224, 46, 46, 0.07);
  border: 1px solid rgba(224, 46, 46, 0.3);
  font-size: 11.5px;
  line-height: 1.75;
  color: #e0a9a9;
}

.ai-warn-ico {
  flex-shrink: 0;
  font-size: 13px;
}

/* ---------- 返回 ---------- */

.ai-back {
  display: block;
  padding: 13px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: rgba(212, 175, 55, 0.08);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-200);
  transition: all 0.2s;
}

.ai-back:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-500);
}

/* ---------- 手機 ---------- */

@media (max-width: 480px) {
  .ai-hero {
    padding: 22px 14px 20px;
  }

  .ai-hero-badge {
    width: 112px;
    height: 112px;
  }

  .ai-hero-title {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .ai-coin {
    padding: 12px 13px;
  }

  .ai-coin-badge {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .ai-step-text {
    font-size: 11.5px;
  }
}
