/* ==========================================================
   i58D Seller Lite V1.0 - Lotto Ticket Center
   與 union_index.less 同品牌：黑 / 金 / 紫
========================================================== */
/* ---------- 品牌色 ---------- */
/* ---------- 共用 ---------- */
.seller-page {
  background: #F8FAFC;
  padding: 28px 16px 60px;
}
.section-header {
  text-align: center;
  margin-bottom: 34px;
}
.section-header .section-icon {
  font-size: 34px;
  display: block;
  margin-bottom: 8px;
}
.section-header .section-subtitle {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #FFF5CC;
  color: #D4A300;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: 34px;
  font-weight: 900;
  color: #111111;
  margin: 0 0 14px;
  line-height: 1.3;
}
.section-header .section-desc {
  max-width: 720px;
  margin: auto;
  font-size: 17px;
  color: #64748B;
  line-height: 1.8;
}
/* ==========================================================
   Hero
========================================================== */
.seller-hero {
  background: linear-gradient(135deg, #111111 0%, #2A0845 100%);
  border-radius: 30px;
  padding: 56px 36px;
  text-align: center;
  color: white;
  margin-bottom: 42px;
}
.seller-hero .hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: #FFD54A;
  color: #111111;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 22px;
}
.seller-hero h1 {
  color: #FFD54A;
  font-size: 46px;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(255, 213, 74, 0.2);
}
.seller-hero .hero-desc {
  max-width: 760px;
  margin: auto;
  font-size: 20px;
  line-height: 1.9;
  color: #F8F8F8;
}
.seller-hero .hero-desc strong {
  color: #FFD54A;
}
.seller-hero .hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}
/* ==========================================================
   共用 Button
========================================================== */
.btn-primary,
.btn-purple,
.btn-dark,
.btn-green,
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.25s;
}
.btn-primary:hover,
.btn-purple:hover,
.btn-dark:hover,
.btn-green:hover,
.btn-gold:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: #FFD54A;
  color: #111111;
}
.btn-purple {
  background: #6D28D9;
  color: white;
}
.btn-dark {
  background: #27272A;
  color: white;
}
.btn-green {
  background: #16A34A;
  color: white;
}
.btn-gold {
  background: linear-gradient(135deg, #FFD54A, #F59E0B);
  color: #111111;
}
/* ==========================================================
   Dashboard
========================================================== */
.dashboard-section {
  margin-bottom: 48px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dashboard-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}
.dashboard-card .icon {
  font-size: 34px;
  margin-bottom: 10px;
}
.dashboard-card small {
  display: block;
  color: #64748B;
  font-size: 14px;
  margin-bottom: 12px;
}
.dashboard-card .number {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
}
.dashboard-card p {
  font-size: 14px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.6;
}
.dashboard-card.gold .number {
  color: #D4A300;
}
.dashboard-card.purple .number {
  color: #6D28D9;
}
.dashboard-card.orange .number {
  color: #EA580C;
}
.dashboard-card.green .number {
  color: #16A34A;
}
.dashboard-card .money {
  font-size: 30px;
}
/* ==========================================================
   聯盟店資訊
========================================================== */
.shop-info-section {
  margin-bottom: 42px;
}
.shop-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}
.shop-card .shop-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.shop-card .shop-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #FFF7DA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}
.shop-card .shop-tag {
  display: inline-block;
  padding: 5px 14px;
  background: #FEF3C7;
  color: #B45309;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.shop-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 6px;
}
.shop-card p {
  color: #64748B;
  font-size: 15px;
  margin: 0;
}
.shop-card .status {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}
.shop-card .status.success {
  background: #DCFCE7;
  color: #166534;
}
/* ==========================================================
   今日提醒
========================================================== */
.notice-section {
  margin-bottom: 52px;
}
.notice-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #FFF8E1;
  border-left: 6px solid #FFD54A;
  border-radius: 22px;
  padding: 24px;
}
.notice-card .notice-icon {
  font-size: 36px;
}
.notice-card h3 {
  color: #111111;
  font-size: 22px;
  margin-bottom: 10px;
}
.notice-card p {
  color: #5B4300;
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}
/* ==========================================================
   發送樂透券工作台
========================================================== */
.send-ticket-section {
  margin-bottom: 56px;
}
.send-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.send-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}
.send-card .send-icon {
  font-size: 46px;
  margin-bottom: 18px;
}
.send-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 12px;
}
.send-card p {
  color: #64748B;
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 15px;
}
.send-card small {
  display: block;
  margin-top: 16px;
  color: #94A3B8;
  font-size: 13px;
}
.send-card input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  font-size: 17px;
  margin-bottom: 16px;
  outline: none;
  box-sizing: border-box;
}
.send-card input:focus {
  border-color: #6D28D9;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.15);
}
.send-card button {
  width: 100%;
}
.qr-card {
  border-top: 5px solid #16A34A;
}
.phone-card {
  border-top: 5px solid #6D28D9;
}
/* ==========================================================
   消費金額快速送券
========================================================== */
.send-amount-section {
  margin-bottom: 60px;
}
.amount-card {
  background: #FFFFFF;
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.amount-card label {
  display: block;
  color: #64748B;
  font-size: 15px;
  margin-bottom: 12px;
  font-weight: 700;
}
.amount-card input {
  width: 100%;
  padding: 18px 20px;
  border-radius: 16px;
  border: 2px solid #E5E7EB;
  font-size: 28px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 28px;
  box-sizing: border-box;
}
.amount-card input:focus {
  border-color: #D4A300;
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 213, 74, 0.18);
}
.amount-card .ticket-result {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.amount-card .ticket-box {
  background: #FFF8D8;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
}
.amount-card .ticket-box small {
  display: block;
  color: #6B7280;
  font-size: 14px;
  margin-bottom: 10px;
}
.amount-card .ticket-box .ticket-number {
  font-size: 38px;
  font-weight: 900;
  color: #6D28D9;
}
.amount-card .ticket-box .ticket-price {
  font-size: 34px;
  font-weight: 900;
  color: #EA580C;
}
.amount-card .btn-primary {
  width: 100%;
  font-size: 20px;
  padding: 18px;
}
/* ==========================================================
   店員操作流程
========================================================== */
.workflow-section {
  margin-bottom: 60px;
}
.workflow-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.workflow-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.workflow-item .step-no {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #6D28D9;
  color: white;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.workflow-item h4 {
  font-size: 19px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 6px;
}
.workflow-item p {
  color: #64748B;
  line-height: 1.8;
  margin: 0;
  font-size: 15px;
}
/* ==========================================================
   補充樂透額度中心
========================================================== */
.credit-center-section {
  margin-bottom: 64px;
}
.credit-balance-card {
  background: linear-gradient(135deg, #111111, #321152);
  border-radius: 28px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  color: white;
  margin-bottom: 30px;
}
.credit-balance-card small {
  display: block;
  color: #D1D5DB;
  margin-bottom: 8px;
  font-size: 14px;
}
.credit-balance-card .balance-number {
  font-size: 42px;
  font-weight: 900;
  color: #FFD54A;
}
.credit-balance-card .balance-money {
  font-size: 34px;
  font-weight: 900;
  color: #A7F3D0;
}
/* ---------- 套餐 ---------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}
.package-card {
  background: #FFFFFF;
  border: 2px solid transparent;
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
}
.package-card .tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #E5E7EB;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.package-card .hot {
  background: #FEE2E2;
  color: #DC2626;
}
.package-card .recommend {
  background: #EDE9FE;
  color: #6D28D9;
}
.package-card .vip {
  background: #FEF3C7;
  color: #B45309;
}
.package-card h3 {
  font-size: 28px;
  color: #111111;
  margin-bottom: 10px;
  font-weight: 900;
}
.package-card p {
  font-size: 18px;
  font-weight: 700;
  color: #64748B;
  margin: 0;
}
.package-card:hover {
  transform: translateY(-4px);
  border-color: #D4A300;
}
.package-card.active {
  border-color: #D4A300;
  background: #FFF8D8;
  box-shadow: 0 8px 20px rgba(255, 213, 74, 0.25);
}
/* ---------- 自訂張數 ---------- */
.custom-credit-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}
.custom-credit-card h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
  color: #111111;
  font-weight: 900;
}
.custom-credit-card .counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.custom-credit-card .counter button {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: #6D28D9;
  color: white;
  font-size: 22px;
  cursor: pointer;
}
.custom-credit-card .counter button:hover {
  background: #8B5CF6;
}
.custom-credit-card .counter input {
  width: 140px;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  border: 2px solid #E5E7EB;
  border-radius: 16px;
  padding: 10px 0;
  outline: none;
}
.custom-credit-card .credit-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.custom-credit-card .credit-summary div {
  background: #FFFDF4;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}
.custom-credit-card .credit-summary div small {
  display: block;
  color: #64748B;
  margin-bottom: 8px;
}
.custom-credit-card .credit-summary div strong {
  font-size: 26px;
  font-weight: 900;
  color: #111111;
}
.custom-credit-card .credit-summary div .gold {
  color: #D4A300;
}
.custom-credit-card .btn-gold {
  width: 100%;
  font-size: 20px;
  padding: 18px;
}
/* ==========================================================
   為什麼聯盟店要發樂透券
========================================================== */
.benefit-section {
  margin-bottom: 64px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(229, 231, 235, 0.8);
  transition: 0.25s;
}
.benefit-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: #FFF8D8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.benefit-card h3 {
  color: #111111;
  font-size: 21px;
  font-weight: 900;
  margin: 0 0 10px;
}
.benefit-card p {
  color: #64748B;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}
/* ==========================================================
   最近發券紀錄
========================================================== */
.history-section {
  margin-bottom: 64px;
}
.history-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.history-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.history-table th,
.history-table td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid #E5E7EB;
  font-size: 15px;
  white-space: nowrap;
}
.history-table th {
  background: #F8FAFC;
  color: #475569;
  font-weight: 800;
}
.history-table td {
  color: #334155;
}
.history-table tbody tr {
  transition: 0.2s;
}
.history-table tbody tr:hover {
  background: #FFFBEB;
}
.history-table tbody tr:last-child td {
  border-bottom: none;
}
.history-table .status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.history-table .status.success {
  background: #DCFCE7;
  color: #166534;
}
.history-footer {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #FFF8D8;
  color: #6B4F00;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}
.history-footer strong {
  color: #EA580C;
  font-weight: 900;
}
/* ==========================================================
   Demo Center
========================================================== */
.demo-section {
  margin-bottom: 64px;
}
.demo-card {
  background: #FFFFFF;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.demo-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
  margin-bottom: 24px;
}
.demo-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.demo-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.demo-buttons a {
  min-width: 240px;
}
/* ==========================================================
   FAQ
========================================================== */
.faq-section {
  margin-bottom: 30px;
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.faq-item {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  border-left: 4px solid #6D28D9;
}
.faq-item h4 {
  color: #111111;
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
  line-height: 1.5;
}
.faq-item p {
  color: #64748B;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}
/* ==========================================================
   表單 / Button 補強
========================================================== */
button {
  font-family: inherit;
}
.btn-primary,
.btn-purple,
.btn-dark,
.btn-green,
.btn-gold {
  border: 0;
  cursor: pointer;
  box-sizing: border-box;
}
.btn-primary:focus-visible,
.btn-purple:focus-visible,
.btn-dark:focus-visible,
.btn-green:focus-visible,
.btn-gold:focus-visible {
  outline: 3px solid rgba(109, 40, 217, 0.35);
  outline-offset: 3px;
}
.btn-primary:hover {
  background: #FFE477;
}
.btn-purple:hover {
  background: #8B5CF6;
}
.btn-dark:hover {
  background: #3F3F46;
}
.btn-green:hover {
  background: #15803D;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #FFE477, #F59E0B);
}
/* ==========================================================
   RWD
   PC：751px 以上
   Mobile：750px 以下
========================================================== */
/* 頁面容器在大型螢幕不要無限制拉寬 */
.seller-page {
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}
/* ==========================================================
   Mobile：750px 以下
========================================================== */
@media (max-width: 750px) {
  .seller-page {
    padding: 16px 10px 40px;
  }
  /* ------------------------------------------------------
       Section Header
    ------------------------------------------------------ */
  .section-header {
    margin-bottom: 24px;
  }
  .section-header .section-icon {
    font-size: 30px;
  }
  .section-header .section-subtitle {
    font-size: 12px;
    padding: 5px 12px;
    margin-bottom: 10px;
  }
  .section-header h2 {
    font-size: clamp(25px, 6vw, 30px);
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .section-header .section-desc {
    font-size: 14px;
    line-height: 1.7;
  }
  /* ------------------------------------------------------
       Hero
    ------------------------------------------------------ */
  .seller-hero {
    padding: 34px 18px;
    border-radius: 20px;
    margin-bottom: 30px;
  }
  .seller-hero .hero-badge {
    padding: 7px 14px;
    font-size: 12px;
    margin-bottom: 16px;
  }
  .seller-hero h1 {
    font-size: clamp(27px, 7vw, 32px);
    line-height: 1.35;
    margin-bottom: 14px;
  }
  .seller-hero .hero-desc {
    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.8;
  }
  .seller-hero .hero-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }
  .seller-hero .hero-buttons a {
    width: 100%;
    min-width: 0;
  }
  /* ------------------------------------------------------
       Section spacing
    ------------------------------------------------------ */
  .dashboard-section,
  .shop-info-section,
  .notice-section,
  .send-ticket-section,
  .send-amount-section,
  .workflow-section,
  .credit-center-section,
  .benefit-section,
  .history-section,
  .demo-section {
    margin-bottom: 40px;
  }
  /* ------------------------------------------------------
       Dashboard
    ------------------------------------------------------ */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dashboard-card {
    padding: 22px 16px;
    border-radius: 18px;
  }
  .dashboard-card .icon {
    font-size: 30px;
  }
  .dashboard-card .number {
    font-size: 32px;
  }
  .dashboard-card .money {
    font-size: 27px;
  }
  /* ------------------------------------------------------
       Shop Info
    ------------------------------------------------------ */
  .shop-card {
    padding: 20px;
    border-radius: 20px;
    flex-direction: column;
  }
  .shop-card .shop-left {
    gap: 14px;
    width: 100%;
  }
  .shop-card .shop-logo {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 28px;
    flex-shrink: 0;
  }
  .shop-card h3 {
    font-size: 20px;
  }
  .shop-card p {
    font-size: 14px;
    line-height: 1.6;
  }
  .shop-card .shop-right {
    width: 100%;
    margin-left: 0;
  }
  .shop-card .status {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  /* ------------------------------------------------------
       Notice
    ------------------------------------------------------ */
  .notice-card {
    gap: 12px;
    padding: 18px;
    border-left-width: 4px;
    border-radius: 18px;
  }
  .notice-card .notice-icon {
    font-size: 28px;
    flex-shrink: 0;
  }
  .notice-card h3 {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  .notice-card p {
    font-size: 14px;
    line-height: 1.8;
  }
  /* ------------------------------------------------------
       Send Ticket
    ------------------------------------------------------ */
  .send-grid {
    grid-template-columns: 1fr;
  }
  .send-card {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .send-card .send-icon {
    font-size: 40px;
  }
  .send-card h3 {
    font-size: 21px;
  }
  /* ------------------------------------------------------
       Amount / Ticket
    ------------------------------------------------------ */
  .amount-card {
    padding: 22px 16px;
    border-radius: 20px;
  }
  .amount-card input {
    font-size: 24px;
    padding: 15px 16px;
  }
  .amount-card .ticket-result {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }
  .amount-card .ticket-box {
    padding: 20px;
  }
  .amount-card .ticket-box .ticket-number {
    font-size: 34px;
  }
  .amount-card .ticket-box .ticket-price {
    font-size: 30px;
  }
  .amount-card .btn-primary {
    font-size: 17px;
    padding: 16px;
  }
  /* ------------------------------------------------------
       Workflow
    ------------------------------------------------------ */
  .workflow-item {
    gap: 12px;
    padding: 18px;
  }
  .workflow-item .step-no {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }
  .workflow-item h4 {
    font-size: 17px;
    line-height: 1.5;
  }
  .workflow-item p {
    font-size: 14px;
    line-height: 1.7;
  }
  /* ------------------------------------------------------
       Credit Center
    ------------------------------------------------------ */
  .credit-balance-card {
    padding: 24px 20px;
    border-radius: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .credit-balance-card .balance-number {
    font-size: 36px;
  }
  .credit-balance-card .balance-money {
    font-size: 29px;
  }
  /* ------------------------------------------------------
       Package
    ------------------------------------------------------ */
  .package-grid {
    /*
         * Mobile 仍然維持兩欄
         * 避免卡片在手機上變得過高
         */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .package-card {
    padding: 18px 10px;
    border-radius: 18px;
  }
  .package-card .tag {
    padding: 4px 8px;
    font-size: 10px;
    margin-bottom: 10px;
  }
  .package-card h3 {
    font-size: clamp(20px, 6vw, 22px);
    margin-bottom: 6px;
  }
  .package-card p {
    font-size: 15px;
  }
  /* ------------------------------------------------------
       Custom Credit
    ------------------------------------------------------ */
  .custom-credit-card {
    padding: 22px 16px;
    border-radius: 20px;
  }
  .custom-credit-card h3 {
    font-size: 21px;
    margin-bottom: 18px;
  }
  .custom-credit-card .counter {
    gap: 10px;
    margin-bottom: 22px;
  }
  .custom-credit-card .counter button {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }
  .custom-credit-card .counter input {
    width: clamp(90px, 30vw, 110px);
    font-size: 24px;
  }
  .custom-credit-card .credit-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .custom-credit-card .credit-summary div {
    padding: 15px;
  }
  .custom-credit-card .credit-summary div strong {
    font-size: 23px;
  }
  .custom-credit-card .btn-gold {
    font-size: 17px;
    padding: 16px;
  }
  /* ------------------------------------------------------
       Benefit
    ------------------------------------------------------ */
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .benefit-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .benefit-card .icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
    margin-bottom: 14px;
  }
  .benefit-card h3 {
    font-size: 19px;
  }
  .benefit-card p {
    font-size: 14px;
  }
  /* ------------------------------------------------------
       History
    ------------------------------------------------------ */
  .history-card {
    padding: 14px;
    border-radius: 18px;
    overflow-x: auto;
  }
  .history-table {
    min-width: 520px;
  }
  .history-table th,
  .history-table td {
    padding: 13px 10px;
    font-size: 13px;
  }
  .history-footer {
    font-size: 13px;
    padding: 13px 12px;
  }
  /* ------------------------------------------------------
       Demo Center
    ------------------------------------------------------ */
  .demo-card {
    padding: 12px;
    border-radius: 20px;
  }
  .demo-video {
    border-radius: 14px;
    margin-bottom: 16px;
  }
  .demo-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .demo-buttons a {
    width: 100%;
    min-width: 0;
  }
  /* ------------------------------------------------------
       FAQ
    ------------------------------------------------------ */
  .faq-list {
    grid-template-columns: 1fr;
  }
  .faq-item {
    padding: 20px 18px;
    border-radius: 18px;
  }
  .faq-item h4 {
    font-size: 17px;
  }
  .faq-item p {
    font-size: 14px;
  }
}
