html, body {
  /* overflow-x: hidden;  */
  width: 100%;


}




/* --- 基礎背景與字體配置 --- */
.promo-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 60px 50px;
  font-family: 'Noto Sans TC', "Microsoft JhengHei", "微軟正黑體", sans-serif;
  background-color: #fff4e0;
  border-radius: 40px;
}

/* 金幣與標題絕對水平、垂直置中 */
.section-title {
  display: flex;
  align-items: center;       
  justify-content: center;   
  gap: 12px;
  font-size: 3rem;
  color: #222;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1;            
}

.title-icon {
  width: 54px;
  height: 54px;
  display: inline-block;
  vertical-align: middle;    
}

/* --- 桌機版三排絕對等高排版 --- */
.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch; 
}

.promo-card {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.139);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
  margin-top: 15px;
}

/* 短版置中膠囊標籤 */
.card-header-wrapper {
  display: flex;
  justify-content: center;
  margin-top: -20px;
  position: relative;
  z-index: 2;
}

.card-header-tag {
  background-color: #ff8200;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 10px 30px;
  border-radius: 100px;
  min-width: 250px; 
  text-align: center;
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.2);
  white-space: nowrap;
  transition: all 0.3s ease; 
}

.card-body {
  padding: 25px 24px 0px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
}

.card-top-zone {
  height: 110px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 大字與行李箱樣式 */
.hero-rate {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff8200;
}

.rate-label {
  font-size: 1rem;
  line-height: 1.3;
  color: #333;
  font-weight: bold;
  text-align: right;
  margin-right: 8px;
}

.rate-num {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  font-family: "Arial" !important;
}

.rate-percent {
  font-size: 2rem;
  font-weight: bold;
  margin-left: 4px;
  align-self: flex-end;
  margin-bottom: 12px;
}

.hero-gift {
  text-align: center;
  color: #ff8200;
}
.gift-title,.gift-subtitle {
  font-size: 2.2rem;
  line-height: 1.5;
  font-weight: 900;
  font-family: "Arial" !important;
}


/* 實線與日期區塊 */
.card-date-block {
  border-top: 1.5px solid #e0e0e0; 
  padding-top: 12px;
  margin: 15px 0 20px 0;
  text-align: center;
}

.promo-date {
  color: #979797;
  font-size: 1.05rem;
  margin: 0;
  font-weight: 500;
}

/* 清單列表內文（16px） */
.promo-list {
  padding-left: 18px;
  margin: 0 0 20px 0;
  color: #333;
  font-size: 16px; 
  line-height: 1.6;
}
.promo-list li {
  margin-bottom: 10px;
  list-style-type: disc;
  text-align: start;
}
.promo-list.list-sub {
  margin-top: 10px;
}


.promo-table {

  width: 100%;
  border-collapse: separate; 
  border-spacing: 0; 
  margin-bottom: 20px;
  font-size: 16px; 
  
  border: 1px solid #ccc; 
  border-radius: 12px; 
  overflow: hidden; 

}
.promo-table th, .promo-table td {

  border-right: 1px solid #ccc;  
  border-bottom: 1px solid #ccc; 
  padding: 10px 12px;
  text-align: left;

}


.promo-table th:last-child, 
.promo-table td:last-child {
  border-right: none;
}

.promo-table tbody tr:last-child td {
  border-bottom: none;
}
.promo-table th {
  background-color: #e6e6e6;
  color: #444;
  font-weight: bold;
}

.promo-table td {
  color: #333;
}





/* 注意事項置底機制 */
.card-footer {
  margin-top: auto; 
  padding-top: 25px;
  text-align: center;
}

.slider-dots {
  display: none;
}

.obank-suitcase{
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    margin: 0 auto;
}

.obank-suitcase img{
    width: 100%;
    object-fit: cover;
}



.promo-section-bg{
  background-image: url("../img/bg01.png"); 
}

.promo-section-bg-1{
  background-image: url("../img/bg02.png"); 

}
.promo-section-bg , .promo-section-bg-1{
  background-size: cover; 
  background-position: center;  
  background-repeat: no-repeat; 
  background-color: transparent; 
}



@media (max-width: 1300px) and (min-width: 901px) {
  .promo-section {
    padding: 50px 30px; 
  }
  .card-container {
    gap: 16px; 
  }
  .card-body {
    padding: 25px 16px 0px 16px; 
  }
  .card-header-tag {
    min-width: 180px;  
    font-size: 1.3rem; 
    padding: 8px 20px;
  }
  .promo-list {
    font-size: 14px;  
  }
  .promo-table {
    font-size: 14px; 
  }
  .promo-table th, .promo-table td {
    padding: 8px 6px; 
  }
}



@media (max-width: 900px) {
  .card-slider-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px; 
    cursor: grab; 
  }
  
  .card-slider-wrapper:active {
    cursor: grabbing;
  }
  
  /* 隱藏滾動條線 */
  .card-slider-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .card-slider-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

 
  .card-container {
    display: flex;
    grid-template-columns: none;
    gap: 12px;                  
    padding: 20px 0px 20px 12px; 
    align-items: stretch; 
  }

  
  .card-container::after {
    content: "";
    flex: 0 0 12px; 
    scroll-snap-align: none;
  }

 
  .promo-card {
    flex: 0 0 94%; 
    scroll-snap-align: center;
    user-select: none;
  }
  
  .card-header-tag {
    min-width: 200px; 
    font-size: 1.4rem;
  }

  /* 滑動進度點 */
  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
  }

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1c7bd;
    transition: all 0.3s ease;
  }

  .dot.active {
    background-color: #ff8200;
    width: 24px;
    border-radius: 5px;
  }
}

@media (max-width: 800px){
  .promo-section {
    padding: 60px 0px;
    border-radius: 0;
  }
}




/* -------------------------------------------- */

.wrapper{
  width: 100%;
  height: 100vh;
  background-image: url("../img/bg03.jpg");
  background-size: cover; 
  background-position: center;  
  background-repeat: no-repeat; 
  background-color: transparent; 
  margin-bottom: 50px;


}


/* --- 新台幣優利區塊背景 --- */
.nt-promo-section {
  background-color: #f0f0f0; 
  position: relative;        
  margin-top: 40px;         
}

/* --- 紙飛機：隨視窗縮小自動內移 --- */
.title-decor-airplane {
  position: absolute;
  top: 15px;                 
  right: -3vw;          
  max-width: 20vw;     
  width: 300px;        
  height: auto;
  pointer-events: none;      
  z-index: 5;             
}

@media (max-width: 1501px) {
  .title-decor-airplane{
    display: none;
  }

}







/* -------------------3333------------------------- */


.forex-promo-section {
  background-color: #fff4e0; 
  position: relative;
  margin-top: 40px;          
}


@media (min-width: 901px) {
  .card-container-2-items {
    max-width: 900px; 
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr); 
  }
}


.forex-promo-section .section-title {
  position: relative;
}

.title-decor-airplane-left {
  position: absolute;
  left: -270px;        
  top: 250px;                 
  width: 400px;           
  height: auto;
  pointer-events: none;      
  z-index: 5;
}

/* --- RWD 手機版微調 --- */
@media (max-width: 1100px){
  .title-decor-airplane-left{
    width: 250px;
    left: -170px;
  }
  

}
@media (max-width: 900px) {
  .title-decor-airplane-left {
    display: none;             
  }
}





/* -------------------------------------- */
/* --- 好康優惠區塊專屬底層樣式 --- */

.promo-section-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
}


.currency-tip {
  color: #999;
  font-size: 0.95rem;
  font-weight: 500;
  align-self: flex-end; 
  margin-right: 10px;
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  .promo-section-footer {

    flex-direction: column-reverse; 
    gap: 15px;
  }
  .currency-tip {
    align-self: center; 
    margin-right: 0;
    font-size: 0.85rem;
  }
}




@media (max-width: 1024px){
  .rate-num-1{
    font-size: 3.5rem;
  }

}



/* --------------注意事項--------------- */
.obank-h4{
  margin: 90px auto 30px;
  text-align: center;
  font-size: 35px;
  font-weight: 700;
}
.obank-h4 span{
  color: #ff8200;
}


/* -------------第四區塊 底部------------ */




/* @media (max-width: 500px){
  .wrapper-box{
    margin-bottom: 130px;
  }

}

@media (max-width: 400px){
  .wrapper-box{
    margin-bottom: 160px;
  }

} */