﻿@charset "utf-8";
/* CSS Document */

html {
    font-size: 1em;
}

@media (max-width: 767px) {
  .visible-xs {
    display: block !important;

  }

  .hidden-xs {
    display: none !important;
  }

}
@media (min-width: 768px) {
  .visible-xs {
    display: none !important;

  }

}
@media (min-width: 768px) {
  .hero-bg {
    background-image: url('../images/bg.jpg');
    background-size: 100%;
    background-position: center;
    background-attachment: inherit;
    background-repeat: no-repeat;
    min-height: 650px;
  }


}
@media (max-width: 768px) {

  .hero-bg {
    position: relative;

    background-image: url('../images/bg-xs.jpg');
    background-color: #071a3d;

    background-size: auto 110%;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  .hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: radial-gradient(
      circle at 50% 35%,
      rgba(46, 104, 210, 0.16) 0%,
      rgba(46, 104, 210, 0) 55%
    );
  }

  .hero-bg > * {
    position: relative;
    z-index: 1;
  }

}


.accordion-content .py-4{
  text-align: left;
  font-size: 1.1em;
}

.accordion-content .text-base {
    font-size: 1.8em;
    line-height: 1.5rem;
}


/* 全局與容器設定 */
    .notice-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* 2欄等寬 */
      gap: 20px;                            /* 卡片間距 */
      max-width: 1000px;                    /* 最大寬度 */
      margin: 0 auto;
      padding: 20px;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      box-sizing: border-box;
    }

    /* 單一卡片樣式 */
    .notice-card {
      background-color: #ffffff;             /* 淺藍灰色背景 */
      border-radius: 16px;                   /* 圓角邊框 */
      padding: 24px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); /* 輕微陰影 */
      border-color: rgb(226 232 240 / 0.8);
    }

    /* 圖示外框（淡色圓形） */
    .card-icon-wrapper {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #eeeefc;             /* 淡紫色/藍色小圓圈背景 */
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      font-size: 18px;
    }

    /* 卡片標題 */
    .card-title {
      font-size: 1.5em;
      font-weight: 700;
      color: #1a1a1a;
      margin: 0 0 12px 0;
    }

    /* 卡片內文 */
    .card-text {
      font-size: 1.2em;
      color: #555555;
      line-height: 1.6;
      margin: 0;
    }

    /* 響應式微調：螢幕寬度小於 768px 時轉為單欄 */
    @media (max-width: 768px) {
      .notice-grid {
        grid-template-columns: 1fr;
      }
    }



    .items-center a{
      margin: 2px 0 2px 0;
      font-size: 1.2em;
    }

 
   #terms-section p{
          font-size: 15px;
    }


.p-6 a {
    margin: 2% auto;
}

/* 
.to-green-600 {
    --tw-gradient-to: #067078 var(--tw-gradient-to-position);
}

.via-green-500 {
    --tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), #067078 var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.from-green-400 {
    --tw-gradient-from: #067078 var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(192 132 252 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
} */


.tracking-wider {
    letter-spacing: 0.05em;
    padding-left: 5px;
        color: #1b2335;
}

.brands-overview p{
font-size: 1em;
}


.brands p{font-size: 1.2em;}

section h3{
  text-align: center;
  font-size: 1.125rem;
  margin: 10px auto;
}

/* .brands .h-full{
  min-height: 300px;

} */

/* 修正卡片高度一致與 Swiper 分頁圓點主題色 */
  .brands-swiper .swiper-slide {
    height: auto;
    display: flex;
  }
  .brands-swiper .swiper-pagination-bullet-active {
    background-color: #d97706 !important; /* amber-600 */
  }

  .container{
    margin: 0 auto;
  }


@media (min-width: 768px) {

  .icon-cards .gap-4 {
   font-size: 1.2em;
   /* gap: 0rem; */
}


    }


    @media (max-width: 768px) {

  .icon-cards{
  display: inline-block !important;
  }

   .icon-cards .p-3 {
    margin-bottom: 5px;
}

     .icon-cards .icon{
        font-size: 1.5em;
        margin: 10px auto;
  }

   .icon-cards h3{
        font-size: 1.2em;
        line-height: 25px;
  }

    .icon-steps h3{
               font-size: 1.1em;
        line-height: 25px;
  }

    }

    .nav-bar a{
          margin: 2px;
    }

     .nav-bar {
          margin: 5% auto;
    }

    .bg-amber-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(245 158 11 / 80%) !important;
}


.coupon h3{
    margin: 10px auto 10px auto;
}

.coupon .notice{
  padding-bottom: 5px;
  line-height: 30px;
}


/* =========================================
   四大特色 Icon Cards
========================================= */

.icon-cards {
  align-items: start;
}


/* =========================================
   單一卡片
========================================= */

.feature-card {
  position: relative;

  /* Icon 與文字從上方開始排列 */
  align-items: flex-start;

  /* 48px Icon + 上下 padding 約 24px */
  min-height: 72px;

  overflow: hidden;
  cursor: pointer;

  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    min-height 0.35s ease;
}


/* =========================================
   Icon
========================================= */

.feature-card .icon {
  flex-shrink: 0;
}


/* =========================================
   右側文字區
========================================= */



.feature-content {
  flex: 1;
  min-width: 0;
}


/* =========================================
   H3 標題
   桌機 / 手機皆與 Icon 垂直置中
========================================= */

.feature-content h3 {
  margin: 0;

  /* 與左側 48px Icon 等高 */
  min-height: 48px;

  display: flex;
  align-items: center;

  font-weight: 700;
  line-height: 1.4;
}


/* =========================================
   說明文字：預設收合
========================================= */

.feature-desc {
  display: block;

  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;

  opacity: 0;
  overflow: hidden;

  transform: translateY(-6px);

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.35s ease,
    margin-top 0.35s ease;
}


/* =========================================
   H3 標題
========================================= */

.feature-content h3 {
  margin: 0;

  font-weight: 700;
  line-height: 1.4;
}


/* =========================================
   說明文字
   預設收合
========================================= */

.feature-desc {
  display: block;

  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;

  opacity: 0;
  overflow: hidden;

  transform: translateY(-6px);

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.35s ease,
    margin-top 0.35s ease;
}


/* =========================================
   桌機
   Hover 時展開說明
========================================= */

@media (hover: hover) and (pointer: fine) {

  .feature-card:hover .feature-desc {
    max-height: 100px;

    margin-top: 6px;

    opacity: 1;

    transform: translateY(0);
  }

}


/* =========================================
   手機 / 平板
   點擊卡片後展開
========================================= */

@media (hover: none) {

  .feature-card:focus .feature-desc,
  .feature-card:focus-within .feature-desc {
    max-height: 100px;

    margin-top: 6px;

    opacity: 1;

    transform: translateY(0);
  }

}


/* =========================================
   Focus
   移除瀏覽器預設外框
========================================= */

.feature-card:focus {
  outline: none;
}



/* =====================================================
   HERO CTA 按鈕
   立體陰影 / Hover / 點擊變色
===================================================== */


/* 共用按鈕 */
.hero-btn {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 190px;
  padding: 15px 28px;

  border-radius: 14px;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none !important;

  cursor: pointer;

  transform: translateY(0);

  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}


/* =====================================================
   第一顆：金黃色
===================================================== */

.hero-btn-primary {
  color: #172033 !important;

  border: 1px solid rgba(255, 214, 85, 0.95);

  background:
    linear-gradient(
      135deg,
      #ffd55a 0%,
      #fbbf24 45%,
      #f59e0b 100%
    );

  /* 立體底部陰影 */
  box-shadow:
    0 7px 0 #c77b00,
    0 12px 22px rgba(245, 158, 11, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.60);
}


/* 上方高光 */
.hero-btn-primary::before {
  content: "";

  position: absolute;
  top: 2px;
  left: 10%;
  right: 10%;

  height: 42%;

  border-radius: 12px;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.42),
      rgba(255,255,255,0)
    );

  pointer-events: none;
}


/* Hover */
.hero-btn-primary:hover {
  color: #111827 !important;

  background:
    linear-gradient(
      135deg,
      #ffe482 0%,
      #facc15 45%,
      #f59e0b 100%
    );

  transform: translateY(-3px);

  box-shadow:
    0 9px 0 #b96e00,
    0 16px 28px rgba(245, 158, 11, 0.38),
    inset 0 1px 0 rgba(255,255,255,0.70);
}


/* 點擊：變深 + 下沉 */
.hero-btn-primary:active {
  color: #ffffff !important;

  background:
    linear-gradient(
      135deg,
      #d97706,
      #b45309
    );

  transform: translateY(5px);

  box-shadow:
    0 2px 0 #8b4b00,
    0 6px 12px rgba(0,0,0,0.25),
    inset 0 2px 5px rgba(0,0,0,0.16);
}


/* =====================================================
   第二顆：橘紅色
===================================================== */

.hero-btn-secondary {
  color: #ffffff !important;

  border: 1px solid rgba(255, 145, 105, 0.95);

  background:
    linear-gradient(
      135deg,
      #ff9a76 0%,
      #ff7959 50%,
      #f25f45 100%
    );

  box-shadow:
    0 7px 0 #b73f2c,
    0 12px 22px rgba(242, 95, 69, 0.26),
    inset 0 1px 0 rgba(255,255,255,0.50);
}


/* 上方高光 */
.hero-btn-secondary::before {
  content: "";

  position: absolute;
  top: 2px;
  left: 10%;
  right: 10%;

  height: 42%;

  border-radius: 12px;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.35),
      rgba(255,255,255,0)
    );

  pointer-events: none;
}


/* Hover */
.hero-btn-secondary:hover {
  color: #ffffff !important;

  background:
    linear-gradient(
      135deg,
      #ffaf90,
      #ff8064,
      #f5654d
    );

  transform: translateY(-3px);

  box-shadow:
    0 9px 0 #a83b2a,
    0 16px 28px rgba(242, 95, 69, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.60);
}


/* 點擊 */
.hero-btn-secondary:active {
  background:
    linear-gradient(
      135deg,
      #d94b35,
      #b93827
    );

  transform: translateY(5px);

  box-shadow:
    0 2px 0 #8c2f22,
    0 6px 12px rgba(0,0,0,0.25),
    inset 0 2px 5px rgba(0,0,0,0.18);
}


/* =====================================================
   Icon 動畫
===================================================== */

.hero-btn i {
  position: relative;

  transition:
    transform 0.25s ease;
}

.hero-btn:hover i {
  transform: translateX(4px);
}


/* =====================================================
   手機
===================================================== */

@media (max-width: 767px) {

  .hero-btn {
    width: 100%;
    min-width: 0;

    padding: 14px 22px;

    font-size: 15px;

    /* 手機稍微減少厚度 */
    box-shadow:
      0 5px 0 rgba(0,0,0,0.24),
      0 9px 18px rgba(0,0,0,0.18);
  }

  .hero-btn:active {
    transform: translateY(4px);
  }

}





/* =====================================================
   品牌卡片－立即查看優惠 立體按鈕
===================================================== */

/* =====================================================
   複製優惠碼按鈕
   Hover 閃光 + 浮起 + 立體陰影
===================================================== */

.copy-code-btn {
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(255, 220, 90, 0.95);

  background:
    linear-gradient(
      135deg,
      #ffe27a 0%,
      #facc15 45%,
      #f59e0b 100%
    ) !important;

  color: #172033 !important;

  box-shadow:
    0 5px 0 #b97700,
    0 8px 16px rgba(245, 158, 11, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.65);

  transform: translateY(0);

  transition:
    transform 0.22s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


/* =========================================
   閃光層
========================================= */

.copy-code-btn::before {
  content: "";

  position: absolute;
  top: -60%;
  left: -70%;

  width: 45%;
  height: 220%;

  transform: rotate(25deg);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.15),
      rgba(255,255,255,0.85),
      rgba(255,255,255,0.15),
      transparent
    );

  opacity: 0;

  pointer-events: none;
}


/* =========================================
   Hover
========================================= */

.copy-code-btn:hover {
  background:
    linear-gradient(
      135deg,
      #fff0a5 0%,
      #facc15 45%,
      #f59e0b 100%
    ) !important;

  transform: translateY(-3px);

  box-shadow:
    0 7px 0 #a76700,
    0 13px 24px rgba(245, 158, 11, 0.38),
    inset 0 1px 0 rgba(255,255,255,0.75);
}


/* Hover 時閃光由左往右掃過 */
.copy-code-btn:hover::before {
  opacity: 1;

  animation: copyBtnShine 0.75s ease-out;
}


/* =========================================
   閃光動畫
========================================= */

@keyframes copyBtnShine {

  0% {
    left: -70%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    left: 140%;
    opacity: 0;
  }

}


/* =========================================
   Icon 小動畫
========================================= */

.copy-code-btn i {
  position: relative;
  z-index: 2;

  transition:
    transform 0.25s ease;
}


.copy-code-btn span {
  position: relative;
  z-index: 2;
}


.copy-code-btn:hover i {
  transform:
    translateY(-1px)
    rotate(-5deg)
    scale(1.08);
}


/* =========================================
   點擊效果
========================================= */

.copy-code-btn:active {
  background:
    linear-gradient(
      135deg,
      #d97706,
      #b45309
    ) !important;

  color: #ffffff !important;

  transform: translateY(3px) scale(0.98);

  box-shadow:
    0 1px 0 #854d0e,
    0 4px 8px rgba(0,0,0,0.22),
    inset 0 2px 5px rgba(0,0,0,0.15);
}


/* =========================================
   Focus
========================================= */

.copy-code-btn:focus-visible {
  outline: 3px solid rgba(251, 191, 36, 0.35);
  outline-offset: 4px;
}


.logo-wrap{
  padding: 5px;
  display: inline-block;
}


.items-center a:hover,.items-center a:active,.items-center a:visited {
   color: #f4f4f4;

}



.section-title{
  font-size: 2.5em;
  margin: 1% auto 2% auto;
  font-weight: 800;
  color: #0e182e;
}


a:focus, a:hover {
    color:inherit;
    opacity: .8;
    text-decoration: underline;
}
