
/* ------------- banner 開始 ------------------ */

/* 1. Banner 外部容器 */
.banner-container {
  position: relative;
  width: 100%;
  max-width: 1920px; 
  margin: 0 auto;
  overflow: hidden; 
}

/* 2. 背景圖片：負責撐開容器比例 */
.banner-bg {
  width: 100%;
  height: auto;
  display: block;
}


.banner-container .banner-bg-mobile{
    display: none;
}
.banner-bg-mobile {
  width: 100%;
  height: auto;
  display: block;
}


@media (max-width: 768px){
    .banner-container .banner-bg-mobile{
        display: block;
    }
    .banner-bg{
        display: none;
    }
}

/* 火箭定位 */
.rocket-icon {
  position: absolute;
  top: 8%;   
  left: 55%;  
  width: 23%; 
  height: auto;
  
  animation: floatUpDown 1.5s ease-in-out infinite alternate;
}

/* 火箭上下搖動設定 */
@keyframes floatUpDown {
  0% {
    
    transform: translateY(0px) rotate(0deg);
  }
  100% {
   
    transform: translateY(-25px) rotate(2deg); 
  }
}


@media (max-width: 768px){
    .rocket-icon {
        width: 38%;
        top: 22%;
        left: 57%;
    }

}


/* 按鈕定位 */
.banner-btn {
  position: absolute;
  bottom: 12%;      
  left: 50%;          
  transform: translateX(-50%); 
  z-index: 10;     
  display: inline-block;
  transition: all 0.3s ease;
}


.banner-btn .btn-img {
  width: 300px;     
  height: auto;      
  display: block;    
}


.banner-btn:hover {
  transform: translateX(-50%) translateY(-3px); 
  filter: brightness(1.1);                    
}

@media (max-width: 1100px){
  .banner-btn{
    bottom: 5%;
  }
  .banner-btn .btn-img{
    width: 200px;
  }

}


@media (max-width: 768px) {
  .banner-btn {
    bottom: 12%;     
  }
  
  
}


@media (max-width: 550px){
  .banner-btn{
    bottom: 8%;
  }


}

/* ------------- banner 結束 ------------------ */






/* ------------- 背景圖層 開始 ------------------ */


.content-section {
  width: 100%;
  min-height: 100vh; 
  
  background: 
    url("../img/bg01.png") center top / 100% auto repeat-y,
    linear-gradient(to bottom, #004767 0%, #032d4a 100%) center / 100% 100% no-repeat scroll;

  background-color: #0a1128; 
  /* padding: 60px 5vw;  */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;   
  justify-content: flex-start;  /
}

/* RWD 大螢幕微調 */
@media (min-width: 1200px) {
  .content-section {
    background: 
      url("../img/bg01.png") center top / 1920px auto repeat-y,
      linear-gradient(to bottom, #004767 0%, #032d4a 100%) center / 100% 100% no-repeat scroll;
    

  }
}




/* ------------- 背景圖層 結束 ------------------ */






/* ------------- 火箭按鈕 開始 ------------------ */

/* 外層容器：左右置中，上下放行 */
.rocket-menu {
  display: flex;
  justify-content: center; 
  align-items: flex-start; 
  gap: 90px; 
  padding: 40px 20px; 
  flex-wrap: wrap; 
}

/* 膠囊按鈕主體 */
.rocket-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none; 
  background-color: #cbd7e2; 
  border-radius: 50px; 
  padding: 0 35px 0 0; 
  height: 55px; 
  position: relative;
  transition: background-color 0.3s ease;
  
  /* 確保火箭雖然大隻，但按鈕整體垂直對齊依舊完美 */
  margin-top: 35px; 
}

/* 火箭圖片的外包裝 */
.rocket-img-wrap {
  position: relative;
  width: 130px;  
  height: 130px; 
  margin-left: -45px; 
  top: -5px; 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* 防止圖片被 flex 壓縮變形 */
}

/* 火箭圖片本體 */
.rocket-img {
  width: 100%;
  height: auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* 按鈕文字 */
.rocket-text {
  color: #004767; 
  font-size: 30px; 
  font-weight: 800;
  letter-spacing: 2px;
  margin-left: 10px;
  user-select: none;
  white-space: nowrap; 
}

/* =================  動態效果 (Hover) ================= */

.rocket-btn:hover {
  background-color: #e2ecf5; 
}

/* 火箭放大 1.15  */
.rocket-btn:hover .rocket-img {
  transform: scale(1.15) translate(6px, -6px);
}



@media screen and (max-width: 700px) {
    .rocket-menu{
        gap: 60px;
    }

}
@media screen and (max-width: 600px) {
    .rocket-img-wrap{
        width: 80px;
    }

}
@media screen and (max-width: 600px) {
    .rocket-menu{
        gap: 0px;
    }
    .rocket-btn{
        margin: 20px 30px;
    }
    
}

@media screen and (max-width: 550px) {
  .rocket-text{
    font-size: 25px;
  }
  .rocket-menu{
    padding-bottom: 0px;
  }

}


/* ---------------------⬇⬇⬇ 第一區塊 開始 ⬇⬇⬇------------------------------- */

/* ------------- 活動區塊總體設定 ------------------ */
.activity-section {
  width: 100%;
  max-width: 1400px; 
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* 大標題 */
.section-title {
  color: #ffffff;
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #ffffff;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* 主要三欄容器 */
.activity-container {
  display: flex;
  flex-direction: column; 
  align-items: center;
  position: relative;
  width: 100%;
}

/* ------------- 中間玻璃質感資訊框 ------------------ */
.info-card {
  width: 100%;
  max-width: 1020px; 
  background: linear-gradient( rgba(255, 255, 255, 0.434) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgb(255, 255, 255);
  border-radius: 20px;
  padding: 30px 160px; 
  box-sizing: border-box;
  color: #ffffff;
  z-index: 2;
}

.card-title {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* ------------- 📱 手機版 RWD 預設排版（小於 768px） ------------- */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;         
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  flex-direction: column; 
  gap: 6px;            
  font-size: 18px;         
  line-height: 1.6;
}

.info-label {

  color: #ffffff;
  text-shadow: 0.5px 0 0 #ffffff; 
  width: auto;      
  min-width: auto;
  text-align: left;       
  text-align-last: left; 
}

.info-text {
  text-align: justify; 
  color: #ffffff;
}

/* ------------- 🖥️ 桌機版 RWD 排版（螢幕大於 768px 時變回左右） ------------- */
@media (min-width: 768px) {

  
  .card-title {
    font-size: 28px;      
  }

  .info-list {
    gap: 20px;      
  }

  .info-item {
    display: grid;  
    grid-template-columns: 135px 1fr; 
    align-items: flex-start;
    font-size: 18px;
    line-height: 1.7;
  }

  .info-label {
    width: 135px;         
    min-width: 135px;
    text-align: justify;
    text-align-last: justify; 
  }

  .info-text {
    text-align: justify;  
  }
}

@media (max-width: 768px) {
    .info-card {
        padding: 20px 40px;
    }

}

/* ------------- 表格樣式 ------------------ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 18px;
  table-layout: fixed; 
}

.info-table th, 
.info-table td {
  width: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 15px 30px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.5;
  box-sizing: border-box; 
  word-break: break-all; 
}


.info-table th, 
.info-table td {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px){
    .info-table th, 
    .info-table td{
        padding: 15px;
    } 
}

.highlight-rate {
  font-size: 22px;
  font-weight: 900;
}


/* ------------- 裝飾圖片（太空人與金幣） ------------------ */
.deco-astronaut, .deco-coins {
  width: 180px; 
  margin: 20px 0;
}

.deco-astronaut img, .deco-coins img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 990px){
    .deco-astronaut, .deco-coins  {
        display: none;
    }

}


@media (min-width: 992px) {
  .activity-container {
    flex-direction: row; 
    justify-content: center;
    align-items: flex-end; 
    padding: 0 40px; 
    box-sizing: border-box;
  }

  .deco-astronaut {
    width: 350px; 
    position: absolute;
    left: -60px;
    bottom: -10%;
    margin: 0;
    z-index: 3;
    animation: floatAnimation 3s ease-in-out infinite; 
  }

  .deco-coins {
    width: 220px; 
    position: absolute;
    right: 90px;
    bottom: -90px; 
    margin: 0;
    z-index: 3;
  }
}

@keyframes floatAnimation {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}




/* ------------- 全新注意事項按鈕 ------------------ */
.custom-btn-wrapper {
  text-align: center;
  margin-top: 40px;
}

.custom-notice-btn {
  display: inline-block;
  background-color: #FF8200;
  color: #ffffff;
  border: none;
  font-size: 20px;
  font-weight: 900;
  padding: 12px 60px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border: 1px solid #ffffff;
  text-decoration: none;
}

.custom-notice-btn:hover {
  background-color: #FF8200;
  color: #ffffff;
}

/* ----------⬇⬇⬇  彈跳視窗全螢幕遮罩  開始 ⬇⬇⬇--------------- */
/* 全螢幕半透明黑色遮罩 */
.custom-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.custom-modal-overlay.show {
  display: flex;
}

/* 白色卡片主體 */
.custom-modal-content {
  background-color: #ffffff;
  width: 100%;
  max-width: 850px;
  max-height: 85vh;
  border-radius: 20px;
  padding: 50px 10px 40px 40px; 
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: customFadeIn 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

/* 右上角關閉按鈕 X */
.custom-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  background: none; border: none;
  font-size: 36px;
  color: #FF8200;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
  z-index: 10;
}
.custom-modal-close:hover { transform: scale(1.2); }

/* 標題與內文排版 (從隱藏區複製過來後依然完美套用) */
.custom-modal-title {
  color: #FF8200;
  font-size: 26px;
  font-weight: 900;
  text-align: center;
  margin-top: 0;
  margin-bottom: 25px;
  padding-right: 30px;
}

.custom-modal-body {
  /* max-height: 55vh; */
  overflow-y: auto;
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
  padding-right: 20px;
}

/* 條款數字完美對齊 */
.obank-text-level .list-row {
  display: flex;          
  align-items: flex-start; 
  margin-bottom: 16px; 
}
.obank-text-level .num {
  flex-shrink: 0;    
  font-weight: bold;     
  width: 24px;
}
.obank-text-level .text {
  flex: 1;                
  text-align: justify;    
}

/* 精緻橘色滑軌 */
.custom-modal-body::-webkit-scrollbar { width: 8px; }
.custom-modal-body::-webkit-scrollbar-track { background: rgba(255, 115, 0, 0.05); border-radius: 10px; }
.custom-modal-body::-webkit-scrollbar-thumb { background-color: #ff7300; border-radius: 10px; border: 1px solid #ffffff; }
.custom-modal-body { scrollbar-width: thin; scrollbar-color: #ff7300 rgba(255, 115, 0, 0.05); }

@keyframes customFadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}



/* ----------⬆⬆⬆ 彈跳視窗全螢幕遮罩  結束 ⬆⬆⬆----------------- */




/* 彈跳內容 */

.obank-text-level .level-1 { margin-left: 0; }
.obank-text-level .level-1 .num-2 { 
  width: 80px; 
} 


/* 第一層 */
.obank-text-level .level-1 { margin-left: 0; }
.obank-text-level .level-1 .num { width: 28px; } 

/* 第二層（ */
.obank-text-level .level-2 { margin-left: 35px; }
.obank-text-level .level-2 .num { width: 35px; }







/* ----------⬇⬇⬇  第二區塊 開始  開始 ⬇⬇⬇--------------- */
.pt-2{
    width: 100%;
    overflow: hidden;
}
.pt-2 img{
    width: 100%;
    object-fit: cover;
}


.space-block2{
    width: 100%;
    height: auto;
    background: #cbd7e2;

    background: 
    url("../img/bg02.png") center top / 100% auto repeat-y,
    linear-gradient(to bottom, #fff9f4 0%, #ffebd6 100%) center / 100% 100% no-repeat scroll;
    padding-bottom: 100px;
}




/* 標題 */
.title-container-style {
  width: 100%;
  display: flex;
  justify-content: center; 
}

/* 2. 膠囊標題本體 */
.custom-capsule-title {
  /* 基礎形狀與背景（橘底白字） */
  background-color: #FF8200;   
  color: #ffffff;             
  font-size: 32px;            
  font-weight: 900;           
  text-align: center;
  display: inline-block;      
  
  /* 膠囊圓角與長寬留白 */
  padding: 14px 65px;         
  border-radius: 50px;        
  
  /* 黑色粗邊框 */
  border: 2px solid #222222;  
       
}

@media screen and (max-width: 550px){
    .custom-capsule-title {
        font-size: 25px;
        margin-top: 20px;
    }

}


.bonus-section {
  width: 100%;
  max-width: 1200px;
  margin: 0px auto; 
  padding: 40px 20px;
  box-sizing: border-box;
}

/* ✨ 核心修正：將 relative 綁在 bonus-container，作為金豬定位的母體 */
.bonus-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; 
  width: 100%;
}

/* ------------- 橘色標題白底卡片 ------------------ */
.bonus-card {
  width: 100%;
  max-width: 1050px;
  background-color: #ffffff;
  border: 2px solid #222222; 
  border-radius: 20px;
  overflow: hidden; 
  z-index: 2;
}

.bonus-card-header {
  background-color: #FF8200; 
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  text-align: center;
  padding: 20px;
  letter-spacing: 1px;
}

/* 內部資訊清單排版 */
.bonus-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px; 
  padding: 30px 40px; 
}

.bonus-info-item {
  display: flex;
  flex-direction: column; 
  gap: 4px;
  font-size: 18px;
  line-height: 1.7;
  color: #222222; 
}

/* 標題自然靠左 */
.bonus-info-label {
  font-weight: bold;
  text-align: left; 
  flex-shrink: 0;
}

.bonus-info-text {
  flex-grow: 1;
  text-align: justify; 
}



/* 注意事項按鈕 */

.custom-notice-block{
    margin: 0 auto;
    background: #151515;
    text-align: center;

    display: flex;
    justify-content: center; 
    max-width: 250px;
    width: 100%;
    

}






/* ------------- 預設金豬火箭樣式（手機/平板版） ------------------ */
.deco-pig-rocket {
  width: 50%;            
  max-width: 200px;     
  margin-top: 20px;     
  position: static;      
  z-index: 3;
}

.deco-pig-rocket img {
  width: 100%;           
  height: auto;
  display: block;
}




/* 金豬定位 */
.deco-pig-rocket {
    width: 28%;           
    max-width: 320px; 
    position: absolute;     /* 啟動絕對定位 */
    right: -20px;            
    bottom: -150px;          
    
    margin: 0;
    z-index: 3;
  }

@media screen and (max-width: 900px){
    .deco-pig-rocket{
        display: none;
    }

}


@media (min-width: 992px) {
  /* 1. 桌機版白框內縮還原，讓文字集中 */
  .bonus-info-list {
    padding: 40px 150px; 
  }
  
  /* 2. 桌機版還原「標題左、內容右」的橫向排列 */
  .bonus-info-item {
    flex-direction: row;
    gap: 0;
  }
  



}







/* ----------⬇⬇⬇  下半部月球  開始 ⬇⬇⬇--------------- */
.pt3{
    width: 100%;
    overflow: hidden;
}
.pt3 img{
    width: 100%;
    object-fit: cover;
    
}

/* ----------⬆⬆⬆ 下半部月球  結束 ⬆⬆⬆----------------- */





/* ----------⬇⬇⬇  第3區塊 開始 ⬇⬇⬇--------------- */

.content-section-block3 .section-title{
    margin-top: 100px;

}


/* ----- 區塊總體設定 ------ */
.intro-section {
  width: 100%;
  max-width: 1100px; 
  margin: 0 auto;
  padding: 60px 30px;
  font-family: "Microsoft JhengHei", sans-serif;
  box-sizing: border-box;
}

/* -----標題與太空人排版 ------ */
.intro-header {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  margin-bottom: 20px; 
  margin-top: 40px;
}

.header-text {
  color: #ffffff;
  font-size: 28px;
  font-weight: 900; /* 極粗體 */
  text-align: center;
  line-height: 1.4;
  margin: 10px 0;
  letter-spacing: 1px;
}



.header-astronaut {
    width: 180px; 
    position: relative;
    top: -55px; 
    z-index: 3;
}

.header-astronaut img {
  width: 100%;
  height: auto;
  display: block;
}




/* -----感資訊框 --------- */
.intro-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 255, 255, 0.8); 
  border-radius: 24px;
  padding: 30px 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.card-saving-img {
  width: 220px; /* 手機版左圖大小 */
}
.card-saving-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右邊文字內容區 */
.card-content {
  color: #ffffff;
  width: 100%;
}

.content-subtitle {
  font-size: 22px;
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.content-desc-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}

.intro-section p{
  font-size: 18px;
  font-weight: 700;
}



/* ----按鈕 ---------- */
.intro-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.orange-btn {
  display: inline-block;
  background-color: #FF8200;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  padding: 12px 70px;
  border-radius: 50px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border: 1px solid #ffffff;
}

.orange-btn:hover {
  /* background-color: #ffa454; */
  color: #ffffff;
}


@media (min-width: 850px) {

    
  
  /* 標題與太空人橫向並排，且讓太空人壓在白框線上 */
  .intro-header {
    flex-direction: row;
    height: 140px; 
    margin-bottom: -15px; 
  }

  .header-text {
    font-size: 36px; 
    margin: 0;
    width: 35%; 
  }
  .text-left {
    text-align: right;
    padding-right: 30px; 
  }
  .text-right {
    text-align: left;
    padding-left: 30px; 
  }


  /* 資訊框改為橫向左右兩欄 (左圖、右文) */
  .intro-card {
    flex-direction: row;
    padding: 50px 50px 50px 40px;
    gap: 40px;
  }

  .card-saving-img {
    width: 280px;
    flex-shrink: 0; 
  }

  .card-content {
    flex-grow: 1;
  }
  
  .content-subtitle {
    font-size: 26px; 
  }

}

@media (max-width: 850px){
    .header-astronaut{
        top: 0px;
    }
    .intro-section{
        padding-top: 0px;
    }

}

@media (max-width: 550px){
  .intro-header{
    margin-top: 0;
  }
  .content-section-block3 .section-title{
    padding: 0px 25px;
  }

}


/* ----------⬆⬆⬆ 第3區塊  結束 ⬆⬆⬆----------------- */







/* ----------⬇⬇⬇  第4區塊 開始 ⬇⬇⬇--------------- */

.process-section {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 30px;
  font-family: "Microsoft JhengHei", sans-serif;
  box-sizing: border-box;
}

/* 大標題 */
.section-title {
  color: #ffffff;
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffffff;
  margin: 12px auto 0;
  border-radius: 2px;
}


.content-section-block3 .section-title2{
    margin-top: 0px;
    font-family: 'Noto Sans TC', "Microsoft JhengHei", "微軟正黑體", sans-serif;

}

/* --------- 玻璃外框架----------- */
.process-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  
  padding: 40px 5px; 
  
  box-sizing: border-box;
  position: relative; 
}

/* ---------- 輪播滾動 ---------- */
.process-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  overflow-x: auto; 
  scroll-behavior: smooth; 
  scroll-snap-type: x mandatory; 
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}
.process-container::-webkit-scrollbar {
  display: none; 
}

/* ------- 步驟卡片內容樣式 ------------- */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
  padding: 0 15px; 
  
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: center; 
}

/* 插圖區域控制 */
.step-phone-img {
  width: 100%;
  max-width: 400px; 
  height: auto;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.step-phone-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 開/刷/賺 圓形徽章 */
.step-badge {
  width: 65px;
  height: 65px;
  background-color: #cbd7e2; 
  color: #032d4a; 
  font-size: 30px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-family: 'Noto Sans TC', "Microsoft JhengHei", "微軟正黑體", sans-serif;
}

/* 標題與 Step 字樣 */
.step-meta {
  margin-bottom: 15px;
}
.step-num {
  display: block;
  font-size: 18px;
  font-weight: bold;
  opacity: 0.8;
  margin-bottom: 4px;
}
.step-name {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
  letter-spacing: 1px;
}

/* 底部描述文字（靠左排隊） */
.step-desc-list, .step-desc-text {
  line-height: 1.6;
  width: 100%;
  max-width: 250px; 
  margin: 0 auto;
  text-align: left; 
  opacity: 0.9;
}
.step-desc-list {
  padding-left: 20px; 
}
.step-desc-list li ,.step-desc-text{
  font-size: 18px;
  font-weight: 700;
  
}

/* ---------左右箭頭------------- */
.slide-arrow {
  position: absolute;
  /* 1. 垂直置中 */
  top: 50%;
  background-color: rgba(255, 255, 255, 0.701);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #2b2b2b;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  
  transition: background-color 0.2s, transform 0.2s;
}

/* 左箭頭：向外拉 */
.prev-arrow { 
  left: -20px; 
  transform: translateY(-50%);
}

/* 右箭頭：向外拉  */
.next-arrow { 
  right: -20px; 
  transform: translateY(-50%);
}

/* 互動效果 */
.slide-arrow:hover { 
  
  transform: translateY(-50%) ; 
}


@media (min-width: 850px) {
  .process-card {
    padding: 60px 40px; 
  }

  .slide-arrow {
    display: none !important;
  }

  .process-container {
    overflow-x: visible;
    justify-content: space-between;
    scroll-snap-type: none;
  }

  .process-step {
    width: 31% !important;
    padding: 0 !important;
  }
}





/* ----------⬇⬇⬇  第5區塊 開始 ⬇⬇⬇--------------- */


.withdraw-section {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 30px;
  font-family: "Microsoft JhengHei", sans-serif;
  box-sizing: border-box;
}

/* ------------- 玻璃質感外框架------------------ */
.withdraw-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 40px 5px; 
  box-sizing: border-box;
  position: relative; 
}

/* ------------- 輪播滾動------------------ */
.withdraw-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  overflow-x: auto; 
  scroll-behavior: smooth; 
  scroll-snap-type: x mandatory; 
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}
.withdraw-container::-webkit-scrollbar {
  display: none; 
}

/* ------------- 步驟卡片內容樣式 ------------------ */
.withdraw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 0 15px;
  
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: center; 
}

/* 💡 橘色膠囊步驟標籤 */
.withdraw-badge {
  background-color: #FF8200; 
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  padding: 6px 24px;
  border-radius: 50px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(255, 115, 0, 0.3);
  letter-spacing: 1px;
  white-space: nowrap;
}

/* 插圖區域控制 */
.withdraw-phone-img {
  width: 100%;
  max-width: 280px; 
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.withdraw-phone-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------左右箭頭卡在邊框線一半上 ------------- */
.withdraw-arrow {
  position: absolute;
  top: 50%; 
  background-color: rgba(255, 255, 255, 0.701);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #2b2b2b;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
}

.withdraw-prev { 
  left: -20px; 
  transform: translateY(-50%);
}
.withdraw-next { 
  right: -20px; 
  transform: translateY(-50%);
}

.withdraw-arrow:hover { 
  background-color: rgba(255, 255, 255, 0.45); 
  transform: translateY(-50%) scale(1.1); 
}


@media (min-width: 850px) {
  .withdraw-card {
    padding: 60px 40px;
  }

  .withdraw-arrow {
    display: none !important; 
  }

  .withdraw-container {
    overflow-x: visible;
    justify-content: space-between;
    scroll-snap-type: none;
  }

  .withdraw-step {
    width: 31% !important;
    padding: 0 !important;
  }
}


/* ----------⬆⬆⬆ 第5區塊  結束 ⬆⬆⬆----------------- */






/* ----------⬇⬇⬇  第6區塊 開始 ⬇⬇⬇--------------- */


.terms-section {
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #001d30;
}

.terms-section-block{
    width: 100%;
    max-width: 1000px; 
    margin: 0 auto;

}

/* 大標題樣式 */
.section-title {
  color: #ffffff;
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffffff;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* 條款文字通用樣式 */
.terms-subtitle {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
.terms-p {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
  letter-spacing: 0.5px;
}

/* ------------- 核心隱藏與展開排版 ------------- */

/* 隱藏核取方塊 */
.terms-checkbox {
  display: none;
}

/* 預覽文字區 */
.terms-preview {
  width: 100%;
}

/* 隱藏內容 */
.terms-full-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0, 1, 0, 1), opacity 0.4s ease;
}


.terms-checkbox:checked ~ .terms-full-content {
  max-height: 2000px;
  opacity: 1;
  padding-top: 5px; 
  transition: max-height 0.8s ease-in-out, opacity 0.5s ease;
}


/* --------- */
.obank-text-level-2{
  color: #ffffff;
}


/* -----------閱讀更多按鈕（永遠在最底部） ------------- */
.read-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 25px auto 0 auto; 
  color: #FF8200; 
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  user-select: none;
  width: fit-content;
  padding: 10px 20px;
  cursor: pointer;
}

.btn-arrow {
  display: inline-block;
  font-size: 14px;
  transition: transform 0.3s ease; 
}

/* 當開關被勾選（展開）時，自動將按鈕內的文字換成「收合條款」並翻轉箭頭 */
.terms-checkbox:checked ~ .read-more-btn .btn-text {
  font-size: 0;
}
.terms-checkbox:checked ~ .read-more-btn .btn-text::before {
  content: "收合條款";
  font-size: 18px; 
}
.terms-checkbox:checked ~ .read-more-btn .btn-arrow {
  transform: rotate(180deg); /* 箭頭朝上 */
}



/* ----------⬇⬇⬇  第7區塊 開始 ⬇⬇⬇--------------- */

/* ------------- FAQ 區塊總體設定 ------------------ */
.faq-section {
  width: 100%;
  max-width: 1200px; 
  margin: 0 auto;
  padding: 60px 20px;
  font-family: "Microsoft JhengHei", sans-serif;
  box-sizing: border-box;
}

/* QA 大標題 */
.faq-title {
  color: #FF8200; 
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  font-family: 'Noto Sans TC', "Microsoft JhengHei", "微軟正黑體", sans-serif;
}
.faq-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #FF8200;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* 手風琴間距 */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 15px; 
}

/* 手風琴外框 */
.faq-item {
  width: 100%;
  background-color: #ffffff; 
  border: 1.5px solid #333333; 
  border-radius: 10px; 
  box-sizing: border-box;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}


/* 隱藏各瀏覽器預設的 details 三角形箭頭 */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; }

.faq-summary {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  outline: none;
  user-select: none;
}

/* 數字與文字的 Flex 容器 */
.faq-question-wrap {
  display: flex;
  flex-direction: row;
  align-items: flex-start; 
  text-align: left;
  flex-grow: 1;
  padding-right: 15px;
  color: #333333; 
  transition: color 0.25s ease; 
}

/*  數字對齊 */
.faq-num {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  width: 35px; 
  flex-shrink: 0; 
}

/* 問題主文字 */
.faq-text {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}

/* 右側 CSS 向量 ∨ 箭頭 */
.faq-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #333333;
  border-bottom: 2px solid #333333;
  transform: rotate(45deg); 
  transition: transform 0.3s ease, border-color 0.25s ease;
  flex-shrink: 0; 
  margin-right: 4px;
}


.faq-item[open] {
  border-color: #FF8200; 
}
.faq-item[open] .faq-question-wrap {
  color: #FF8200; 
}
.faq-item[open] .faq-arrow {
  border-color: #FF8200; 
  transform: rotate(-135deg); 
}

/* 展開內文區域 */
.faq-content {
  padding: 0 24px 20px 24px; 
  border-top: 1px dashed #e0e0e0; 
  background-color: #fafafa; 
  animation: faqFadeIn 0.35s ease-out;
}
.faq-content p {
  color: #555555;
  font-size: 15px;
  line-height: 1.7;
  margin: 15px 0 0 0;
  text-align: justify;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 768px) {
  .faq-section { padding: 40px 15px; }
  .faq-title,.section-title { font-size: 28px; }
  .faq-summary { padding: 15px 16px; }
  .faq-num {width: 30px; } 
 
  .faq-content { padding: 0 16px 15px 16px; }
}

@media (max-width: 550px){
  .faq-section{
    padding: 40px 30px;
  }

}






/* ----------⬇⬇⬇  第8區塊 開始  開始 ⬇⬇⬇--------------- */

.slogan-section {
width: 100%;
box-sizing: border-box;
}


.slogan-container {
width: 100%;
max-width: 1000px;
margin: 0 auto;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 40px; 
}

/* -----------左側人物圖控制 ------------------ */
.slogan-graphic {
width: 100%;
max-width: 260px;
flex-shrink: 0;
}
.slogan-graphic img {
width: 100%;
height: auto;
display: block;
}

/* ----------右側內容區控制 ------------------ */
.slogan-content {
display: flex;
flex-direction: column;
align-items: flex-start; 
gap: 20px;
}

/* 文字圖片控制 */
.slogan-text-img {
width: 100%;
max-width: 380px;
}
.slogan-text-img img {
width: 100%;
height: auto;
display: block;
}

/* ---------按鈕樣式 ------------- */
.cta-button {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: #222222;
color: #ffffff;
font-size: 18px;
font-weight: bold;
letter-spacing: 1.5px;
text-decoration: none;
padding: 14px 45px;
border-radius: 50px;
transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
outline: none;
-webkit-tap-highlight-color: transparent;
}

/* 按鈕懸浮與點擊效果 */
.cta-button:hover {
  background-color: #FF8200;
  color: #ffffff;
  }
.cta-button:active {
  transform: translateY(0);
}



@media (max-width: 768px) {
.slogan-container {
flex-direction: column; 
gap: 30px;
text-align: center;
}

.slogan-content {
order: 1; 
align-items: center; 
}

.slogan-graphic {
order: 2;
max-width: 220px;
margin: 10px auto 0 auto;
}

.slogan-text-img {
max-width: 320px;
}

.cta-button {
font-size: 16px;
padding: 12px 40px;
width: 100%;
max-width: 260px; 
box-sizing: border-box;
}
}