/* *,
*::before,
*::after {
  box-sizing: border-box;
} */

@import url("https://fonts.googleapis.com/css?family=Noto+Sans+TC:400,500,700,900&display=swap&subset=chinese-traditional");
:root {
  --purple: #4c4184;
  --orange: #FF7B00;
  --white: #fff;
  --black: #2D2926;
  --yellow: #FFED46;
  --grey: #848685;
  --white_grey: #c4c5c4;
  --shadow: 0 8px 32px 0 rgba(0,0,0,0.22),
        0 1.5px 0 #fff,
        0 1.5px 8px 0 rgba(0,0,0,0.10),
        0 0.5px 1.5px 0 rgba(0,0,0,0.10);

  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  

}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: transparent;
  scroll-behavior: smooth;
  font-family: var(--font-family-sans-serif);
  /* font-size: clamp(16px, 2.5vw, 22px); */
}
/* @media (min-width: 768px) and (max-width: 1024px) {
  html {
    font-size: clamp(18px, 3vw, 28px);
  }
}
/* @media (min-width: 1025px) {
  html {
    font-size: clamp(18px, 1.8vw, 24px);
  }
}  */

/*嘗試調整*/
/* LOGO 固定 */
.logo-fixed {
  position: absolute;
  top: 50px;
  left: 32px;
  height: 48px;
  width: auto;
  z-index: 1100;
  display: block;
}

/* 桌機選單 */
.header {
  position: fixed;
  top: 40px;
  left: 65%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: 90vw;
  height: clamp(50px, 5vw, 60px);
  background: #fff;
  border-radius: clamp(30px, 4vw, 40px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.22), 0 1.5px 0 #fff,
    0 1.5px 8px 0 rgba(0, 0, 0, 0.1), 0 0.5px 1.5px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 0 clamp(16px, 2.5vw, 32px);
  font-family: var(--font-family-sans-serif);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(5px, 0.8vw, 10px);
}
.header-nav-item {
  display: flex;
  align-items: center;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: #2d2926;
  font-weight: 700;
  cursor: pointer;
  padding: 0 clamp(4px, 0.6vw, 8px);
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
}
.header-nav-icon {
  display: inline-block;
  width: clamp(24px, 2.5vw, 28px);
  height: clamp(24px, 2.5vw, 28px);
  margin-right: clamp(8px, 1vw, 12px);
  vertical-align: middle;
  transition: 0.2s;
}
.header-nav-item.active {
  /* active 樣式 */
  background: #ffd84a;
  color: #4c4184;
}
.header-nav-item.hovered:not(.active) {
  /* hover 樣式 */
  background: #ffd84a;
  color: #4c4184;
}

/* === FatNav 手機選單樣式 === */
.fat-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 48px 16px;
  box-sizing: border-box;
  background: url("./image_20250612/bg_yellow_pattern.png") no-repeat center
    center;
  background-size: cover;
  background-color: #ffd84a;
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-x: hidden;
}

.fat-nav.is-open {
  display: flex;
}

/* === FatNav 開啟按鈕（漢堡） === */
.fat-nav__hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-image: url("./image_20250612/icon_menu.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 2100;
  cursor: pointer;
  display: none; /* 僅在小螢幕顯示 */
  box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 1.5px 0 #fff;
  border-radius: 50%;
  background-color: #fff;
}

/* === FatNav 關閉按鈕 === */
.fat-nav__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: url("./image_20250612/icon_close.svg") no-repeat center center;
  background-size: 20px 20px;
  border-radius: 50%;
  z-index: 2101;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  display: none;
}

/* === FatNav 主內容區塊 === */
.fat-nav__wrapper {
  margin-top: 80px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: var(--font-family-sans-serif);
}

.fat-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.fat-nav ul li {
  width: 100%;
}

.fat-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: white;
  border-radius: 999px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  padding: 16px 24px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d2926;
  text-decoration: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: background 0.3s ease;
  overflow: hidden;
}

.fat-nav a:hover {
  background-color: #ffe066;
  color: #4c4184;
}

.fat-nav .header-nav-icon {
  width: 28px;
  height: 28px;
  margin-right: 16px;
  flex-shrink: 0;
}


/*嘗試調整*/
body { padding-top: 0; }
.bg-section {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.bg-section img {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: 0;
}
.title {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #fff;
  font-size: 2rem;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 0.5rem 2rem;
  pointer-events: none;
  font-weight: bold;
  letter-spacing: 2px;
}
.three-mission {
  position: relative;
  background:transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0 64px 0;
  gap: 30px;
  /* border: 1px solid #000000; */
  height:auto; 
  z-index: 2;
  margin-bottom: -150px;  
  font-family: var(--font-family-sans-serif);
}
.three_mission2_web{
  max-width: 800px; 
  margin-bottom:32px; 
  display:block;
}

.mission-one-area,
.mission-two-area,
.mission-three-area {
  display: flex;
  align-items: flex-start;
  max-width: 900px;
}
.mission-badge-ellipse {
  background: #4b2994;
  color: #ffe600;
  font-weight: 900;
  font-size: 2rem;
  border-radius: 80px 0 0 80px;
  padding: 10px 10px;
  margin-left: -90px;
  /* margin-top: 5px; */
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  text-align: center;
  line-height: 1.1;
  z-index: -1;
  min-width: 80px;
  font-style: italic;
}
.mission-card {
  display: flex;
  align-items: flex-start;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 32px 40px;
  min-width: 340px;
  max-width: 600px;
  width: 100%;
  margin-bottom: 16px;
  position: relative;
}
.mission-card-yellow {
  background: #ffe600;
  border-radius: 20px;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 0;
  overflow: visible;
  margin-bottom: 32px;
  width: 900px;
  max-width: 98vw;
  position: relative;
  padding-bottom: 70px;
}
.mission-card-purple { 
  background: #4C4184; 
  color: #fff;
  border-radius: 20px;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 0;
  overflow: visible;
  margin-bottom: 32px;
  width: 900px;
  max-width: 98vw;
  position: relative;
  padding-bottom: 70px;

}
.mission-badge {
  background: #5a4fcf;
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  border-radius: 50%;
  width: 64px; height: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin-right: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  text-align: center;
  line-height: 1.1;
}
.mission-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.mission-img img {
  width: 80px; height: auto;
  margin-bottom: 8px;
}

.mission-desc {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.mission-note {
  display: block;
  color: #ffe600;
  font-weight: bold;
  margin-top: 4px;
}
.mission-btn {
  display: inline-block;
  background: #222;
  color: #ffe600;
  font-weight: 900;
  border-radius: 24px;
  padding: 12px 32px;
  text-decoration: none;
  font-size: 1.1rem;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s;
}
.mission-btn:hover { background: #5a4fcf; color: #fff; }


.highlight { color: var(--orange); }

.first-section {
  position: relative;
}
.first-section .slogan-img {
  position: absolute;
  top: 8vw;
  left: 15vw;
  width: 36vw;
  max-width: 550px;
  z-index: 2;
}
.first-section .figure-img {
  position: absolute;
  left: 12vw;
  top: 23vw;
  bottom: 0;
  /* width: clamp(180px, 22vw, 420px); */
  width: 60vw;
  max-width: 320px;
  z-index: 10;
  animation: bounce-in-from-left 1.5s ease-out forwards,float-up-down 3s ease-in-out 1.3s infinite;;
}
.first-section .card-img {
  position: absolute;
  top: 8vw;
  right: 8vw;
  width: 24vw;
  /* height: 30vw; */
  max-width: 400px;
  z-index: 2;
  animation: fly-in-from-right 0.8s ease-out 0.5s forwards, float-up-down 3s ease-in-out 1.3s infinite;
  opacity: 0;
}

@keyframes bounce-in-from-left {
  0% {
    opacity: 0;
    transform: translateX(-500px);
  }
  60% {
    opacity: 1;
    transform: translateX(30px);
  }
  80% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes fly-in-from-right {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float-up-down {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

.promo-box { 
  position: absolute;
  right: 4vw;
  top: 25vw;
  background:transparent;
  z-index: 20;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
} 

.promo-btn {
  display: inline-block;
  background: url('./image_20250612/cta_open.png') center center / cover no-repeat;
  /* color: #ffe600; */
  /* font-size: 2.2rem; */
  /* font-weight: 900; */
  border: none;
  /* border-radius: px; */
  padding: 36px 48px;
  text-align: center;
  text-decoration: none;
  /* box-shadow: 0 6px 32px rgba(60,40,120,0.25), 0 1.5px 0 #fff; */
  cursor: pointer;
  /* overflow: hidden; */
  transition: box-shadow 0.2s, transform 0.2s;
  letter-spacing: 0.04em;
  position: relative;
  object-fit: contain;
  padding: 90px 90px;
}
.promo-btn::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  border-radius: 48px;
  background: linear-gradient(120deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.08) 60%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.promo-btn:hover {
  box-shadow: 0 12px 40px rgba(60,40,120,0.32), 0 1.5px 0 #fff;
  transform: translateY(-2px) scale(1.03);
}
.bg-section .copyright{
  color: #000000;
  font-size: clamp(10px, 1vw, 12px);
  z-index: 20;
  position: absolute;
  bottom: 28vh;
  right: clamp(5px, 4vw, 5px);
  width: 30vw;
  min-width: 200px;
  text-align: right;
  font-family: var(--font-family-sans-serif);
}

.figure-carl-group {
  position: absolute;
  right: 4vw;
  bottom: 0;
  width: 30vw;
  margin-left: 50%;
  margin-top: 100px;
  transform: translateX(-50%);
  max-width: 1000px;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
}
.figure-bob {
  position: absolute;
  left: 4vw;
  bottom: 0;
  width: 22vw;
  max-width: 500px;
  margin-top: 120px;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
}
.bonus-area-img{
  max-width: 700px;
  display: block;
}
.bonus-area {
  display: flex;
  align-items: flex-start;
  margin: 20px auto 0 auto;
  max-width: 900px;
  width: 95vw;
}

.bonus-card {
  background: #F3F3F3;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  display: flex;
  align-items: center;
  padding: 32px 40px;
  min-height: 180px;
  flex: 1;
  margin-left: auto;
  position: relative;
}
.bonus-badge {
  background: #ffe600;
  color: #222;
  font-weight: 900;
  font-size: 2rem;
  border-radius: 80px 0 0 80px;
  padding: 10px 10px;
  position: absolute;
  margin-left: -130px;
  margin-top: -100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  text-align: center;
  line-height: 1.1;
  z-index: -2;
  min-width: 80px;
  font-style: italic;
  
}
.bonus-img {
  width: 250px;
  height: 200px;
  background: transparent;
  border-radius: 20px;
  margin-right: 32px;
  flex-shrink: 0;
  object-fit: contain;
  overflow: hidden;
}
.bonus-img-item {
  border-radius: 10px;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.13); */
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.bonus-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bonus-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bonus-icon {
  font-size: 1.3em;
  margin-right: 6px;
}
.bonus-desc {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 8px;
}
.bonus-link {
  color: #5a4fcf;
  font-weight: 700;
  text-decoration: underline;
  font-size: 1.08rem;
  margin-top: 4px;
}

.footer-bg-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-top: 32px;
  font-family: var(--font-family-sans-serif);
}
.footer-bg-img {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  z-index: 1;
}
.footer-on-bg {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: 3vw;
  padding-right: 3vw;
  overflow-x: auto;
}
.footer-left {
  max-width: 60%;
  min-width: 240px;
  text-align: left;
  box-sizing: border-box;
  word-break: break-word;
}
.footer-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.footer-desc {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #fff;
}
.footer-desc a {
  color: #fff;
  text-decoration: underline;
  word-break: break-all;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  box-sizing: border-box;
}
.footer-icons {
  display: flex;
  flex-direction: row;
  gap: 28px;
  /* margin-bottom: px; */
}
.footer-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border 0.2s;
  flex-shrink: 0;
  flex-grow: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.footer-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
}
.footer-icon:hover {
  color: var(--yellow);
  /* background: #fffbe6; */
}
.footer-copyright {
  font-size: 1.08rem;
  color: #fff;
  text-align: left;
  line-height: 1.5;
  margin-bottom: 30px;
}


.hot-activity-area {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  margin: 48px 0 0 0;
  flex-wrap: wrap;
  z-index: 10;
  position: relative;
}
.hot-activity-card {
  background: #eaeaea;
  border-radius: 32px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.13);
  width: 420px;
  max-width: 95vw;
  padding: 10px 24px 10px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 16px;
}

.hot-activity-area-carousel {
  position: relative;
  z-index: 2;
  margin-bottom: -250px;
}
.hot-activity-img {
  width: 100%;
  display: flex;
  /* object-fit: contain; */
  justify-content: center;
  /* margin-bottom: 8px; */
}
.hot-activity-img img {
  max-width: 450px;
  /* max-height: 600px; */
  /* height: auto; */
  /* object-fit: contain; */
  border-radius: 20px;
  /* border: 1px solid #222; */
  box-shadow: 0 2px 8px rgba(0,0,0,0.13); 
}

.hot-activity-copyright {
  font-size: 0.95rem;
  color: #888;
  text-align: right;
  width: 100%;
  margin-top: 8px;
}

.hot-activity-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px; /* 可依需求調整 */
}

.hot-activity-logo {
  display: block;
  margin: 0 auto 32px auto; /* 置中且與下方區塊有間距 */
  width: 340px;             /* 可依需求調整 */
  max-width: 90vw;
}

.floating-open-btn {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 9999;
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, #4b2994 60%, #ffe600 100%);
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  border: none;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  text-decoration: none;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  font-family: var(--font-family-sans-serif);
}
.floating-open-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  background: linear-gradient(135deg, #ffe600 60%, #4b2994 100%);
  color: #4b2994;
}

.carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.carousel-viewport {
  width: 980px; /* 2張卡片寬度+間距，依你設計調整 */
  height: 380px;
  overflow: hidden;
  position: relative;
}
.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  /* 不要設 width: 100% */
  gap: 24px;
}
.hot-activity-card {
  flex: 0 0 420px; /* 固定寬度 */
}
.hot-activity-card:last-child {
  margin-right: 0;
}

.carousel-btn.prev { left: -24px; }
.carousel-btn.next { right: -24px; }
.carousel-btn:hover { background: #ffe600; color: #222; }
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e1e0e0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18), 0 1px 0 #fff inset;
  /* 0 2px 6px 是外陰影，0 1px 0 #fff inset 是內亮邊 */
  /* border: 2.5px solid #ffe600; */
  transition: background 0.2s, border 0.2s;
  display: inline-block;
  cursor: pointer;
}
.dot.active {
  background: #fee600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18), 0 1px 0 #fff inset;
  /* border: 2.5px solid #4b2994; */
}

.mission-main {
  width: 100%;
  box-sizing: border-box;
  padding: 32px 32px 0 0;
  
}

.mission-header {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-right: 16px;
  min-width: 100px;
  margin-left: 0;
  margin-bottom: 12px;
  margin-top: 0;
}
.mission-title-img {
  height: 90px;
  width: auto;
  margin-top: -90px;
  display: block;
  margin-bottom: 0;
}

.mission-body {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
  margin-left: 100px;
}

.mission-desc {
  font-size: 1.1rem;
  color: #222;
  line-height: 1.7;
}
.mission-link {
  color: #4b2994;
  text-decoration: underline;
  font-size: 1rem;
  margin-left: 8px;
}
.mission-footer {
  background: #222;
  border-radius: 0 0 20px 20px;
  padding: 10px 0;
  margin-top: 0;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.mission-btn-black {
  background: none;
  color: #ffe600;
  font-size: 1.5rem;
  font-weight: 900;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.icon-thumb {
  display: inline-block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
}
.mission-product-img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  margin-left: -80px;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.mission-desc-area {
  background: transparent;
  border-radius: 16px;
  color: #222;
  font-family: var(--font-family-sans-serif);
  max-width: 530px;
  margin-top: -100px;
  margin-left: 20px;
}

.mission-two-area .mission-desc-title,
.mission-two-area .mission-desc-limit,
.mission-two-area .mission-desc-achieve,
.mission-two-area .mission-desc-task,
.mission-two-area .mission-badge-ellipse {
  color: #fff;
}

.mission-two-area .mission-badge-ellipse {
  background-color: #382969;
}
.mission-two-area .mission-desc-highlight,
.mission-two-area .mission-desc-link {
  color: #ffe600;
}
.mission-desc-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.mission-desc-highlight {
  color: #ff9900;
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 900;
  text-decoration: underline;
  margin-left: 8px;
}

.mission-desc-limit {
  font-size: 1.1rem;
  color: #666;
  margin-left: auto;
  font-weight: 400;
}

.mission-desc-divider {
  border-top: 2px dashed #bdb76b;
  margin: 18px 0;
}

.mission-desc-task,
.mission-desc-achieve {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.mission-desc-note {
  text-align: right;
  margin-bottom: 10px;
}

.mission-desc-link {
  color: var(--purple);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: underline;
}

.cloud-bank-offer {
  padding: 32px 24px 24px 24px;
  /* margin-top: 32px; */
  /* 保持你原本的樣式，或微調 max-width 以適應橫向排列 */
  max-width: 500px;
  margin-left: 200px;
  /* margin-right: auto; */
  font-family: var(--font-family-sans-serif);
  
}

.cloud-bank-title {
  background: var(--purple);
  color: var(--yellow);
  font-size: 2rem;
  font-weight: bold;
  border-radius: 80px;
  padding: 16px 0 8px 0;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}

.cloud-bank-period {
  color: var(--yellow);
  font-size: 1rem;
  font-weight: normal;
  margin-top: 4px;
}

.cloud-bank-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: -10px;
  
}

.cloud-bank-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 8px;
}

.cloud-bank-currency {
  font-size: 2.5rem;
  color: #222;
  font-weight: bold;
  width: 40px;
  text-align: left;
  flex-shrink: 0;
  margin-top: 8px;
}


.cloud-bank-rate,
.cloud-bank-info .highlight,
.card-reward-rate .highlight,
.auto-discount-number {
  display: block;
  font-size: 6rem;
  color:var(--yellow);
  text-align:center;
  align-items: center;
  font-family: "Rubik Mono One", monospace;
  transform: scaleX(0.8);
  margin-bottom: -20px;
  white-space: nowrap;
  text-shadow: 
  -15px -2px 0 #222,
  2px -2px 0 #222,
  -2px 2px 0 #222,
  2px 2px 0 #222,
  0px -2px 0 #222,
  0px 2px 0 #222,
  2px 0px 0 #222,
  -2px 0px 0 #222;
  
}

.cloud-bank-desc {
  font-size: 1rem;
  color: #222;
  margin-top: 20px;
  /* text-align: center; */
  /* align-items: center; */
  /* margin-bottom: 0; */
  margin-left: 50px;
}

.cloud-bank-btn {
  background: #e0e0e0;
  color: #222;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  margin-right: 50px;
  display: block;
  transition: background 0.2s;
  align-self: flex-end;
}
.cloud-bank-btn:hover {
  background: #ccc;
}

.activity-home{
  position: relative;
  z-index: 2;
  margin-top: -150px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1024px;
}

.activity-home-img1 {
  display: block;
  margin-left: auto;
  /* margin-right: clamp(400px,1vw,500px); */
  margin-bottom: 50px;
  max-width: 600px;
}

.activity-home-row {
  display: flex;
  align-items: flex-start; /* 或 center，看你想要的垂直對齊 */
  gap: 24px; /* 圖片與優惠區塊的間距，可依需求調整 */
  /* margin: 32px 0; */
  position: relative;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
  margin-bottom: -200px;
  justify-content: center;
}

.activity-home-img3 {
  max-width: 400px;
  height: auto;
  display: block;
  margin: 50px auto 20px auto;
}

.card-reward-offer {
  background:transparent;
  border-radius: 24px;
  padding: 0 24px 24px 24px;
  max-width: 900px;
  margin-right: 200px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: var(--font-family-sans-serif);
}

.card-reward-offer .activity-home-img2 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
  height: auto;
  flex-shrink: 0;
}


.card-reward-section {
  text-align: center;
  margin-bottom: 8px;
}

.card-reward-title {
  background: var(--purple);
  color: var(--yellow);
  font-size: 2rem;
  font-weight: bold;
  border-radius: 80px;
  padding: 10px 0 6px 0;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.card-reward-period {
  color: var(--yellow);
  font-size: 1rem;
  font-weight: normal;
  margin-top: 2px;
}

.card-reward-rate {
  font-size: 2.5rem;
  font-weight: 900;
  color: #222;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
  font-family:"Roboto";
  gap: 8px;
  
}

.card-reward-max {
  font-size: 2.5rem;
  color: #222;
  font-weight: bold;
  margin-right: 4px;
}


.card-reward-desc {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0;
  margin-top: 4px;
  line-height: 1.5;
}

.card-reward-btn {
  background: #e0e0e0;
  color: #222;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  margin-top: -20px;
  display: block;
  transition: background 0.2s;
}
.card-reward-btn:hover {
  background: #ccc;
}

.auto-discount-block {
  border-radius: 24px;
  padding: 10px 32px 20px 32px;
  margin: 0 auto 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.auto-discount-row {
  display: flex;
  align-items: flex-end;
  width: 100%;
  gap: 10px;
  justify-content: center;
}

.auto-discount-label {
  font-size: 2.2rem;
  color: #222;
  font-weight: bold;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}

.auto-discount-title {
  font-size: 2.2rem;
  color: #222;
  font-weight: bold;
  line-height: 1.1;
  text-align: left;
  white-space: nowrap;
}

.auto-discount-note {
  font-size: 1.2rem;
  color: #222;
  margin-top: 16px;
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  text-align: left;
}


/*CTA按鈕*/
/* 動畫定義 - 果凍感 */
@keyframes jelly {
  0%,
  100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.1, 0.9);
  }
  50% {
    transform: scale(0.95, 1.05);
  }
  70% {
    transform: scale(1.05, 0.95);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2),
      0 0 12px rgba(125, 100, 200, 0.25);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.35),
      0 0 24px rgba(125, 100, 200, 0.4);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  }
}

.floating-open-btn {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 9999;
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, #6d58ab, #4f3d88);
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;

  /* 初始 box-shadow */
  box-shadow: inset -6px -6px 12px rgba(255, 255, 255, 0.1),
    inset 6px 6px 12px rgba(0, 0, 0, 0.25), 0 6px 20px rgba(0, 0, 0, 0.25);

  transform: scale(1);
  transition: transform 0.3s ease, background 0.3s ease;

  /* 新增動畫：閃光 + jelly */
  animation: jelly 1.2s ease-in-out infinite, glow 1.5s ease-in-out infinite;
}

.floating-open-btn:hover {
  animation: none; /* 停止所有動畫 */
  transform: scale(1.06);
  background: linear-gradient(145deg, #7c66c0, #5c47a0);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.25),
    0 0 18px rgba(125, 100, 200, 0.3);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.text-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 1px; /* 文字和 icon 的間距 */
}

/* 預設（桌機）不顯示 換行*/
.mobile-br {
  display: none;
}

.debit-menu-img{
  width: 100%;
  height: auto;
}

/* 箭頭漂浮動畫 */
@keyframes float-right {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

@keyframes float-left {
  0%, 100% {
    transform: translateX(0) scaleX(-1);
  }
  50% {
    transform: translateX(-5px) scaleX(-1);
  }
}

.mission-btn-black img.icon-thumb:first-child {
  animation: float-right 1s ease-in-out infinite;
}

.mission-btn-black img.icon-thumb:last-child {
  animation: float-left 1s ease-in-out infinite;
}

.mission-btn-black:hover img.icon-thumb {
  animation-duration: 0.5s;
}

/* ==========================================================================
   RWD (Consolidated)
   orientation: portrait 平板直向
   orientation: landscape 平板橫向
   ========================================================================== */

@media (max-width: 1200px) {
  .header {
    left: 60%;
  }
  .first-section .figure-img {
    right: 5%;
  }
  .first-section .card-img {
    right: 25%;
  }
}

@media (max-width: 992px) {
  
  .logo-fixed {
    height: 40px;
    top: 20px;
    left: 20px;
  }
  .header {
    padding: 0 20px;
    display: none;
  }
  .fat-nav__hamburger {
    display: block;
    top: 20px;
  }
  .activity-home {
    margin-top: 20px;
    margin-left: 0;
  }
  .activity-home-img1 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
  }
  .first-section .slogan-img {
    width: 60%;
    top: 15%;
  }
  .first-section .figure-img {
    height: auto;
    right: 0;
  }
  .first-section .card-img {
    width: 45%;
    bottom: 5%;
    right: 15%;
  }
  .activity-home-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0;
  }
  .cloud-bank-offer, .card-reward-offer {
    width: 90%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .three-mission {
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
  }
  .mission-one-area, .mission-two-area, .mission-three-area {
    width: 100%;
    max-width: 450px;
    position: static;
    /* margin-bottom: 2rem; */
  }
  .figure-carl-group {
    width: 80%;
    bottom: -10%;
  }
  .bonus-area {
    flex-direction: column;
    align-items: center;
    width: 85vw;
    max-width: 700px;
  }
}

@media (max-width: 900px) {
  
  .footer-on-bg {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 4vw 32px 4vw;
  }
  .footer-right {
    align-items: flex-start;
    margin-top: 32px;
    text-align: left;
  }
  .footer-icons {
    justify-content: flex-start;
  }
  .footer-copyright {
    text-align: left;
  }
  .hot-activity-area {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .hot-activity-card {
    width: 98vw;
    max-width: 98vw;
    padding: 20px 6vw 16px 6vw;
  }
  .cloud-bank-btn {
    margin-right: auto;
  }
}

/* === 響應式控制（手機／平板） === */
@media (max-width: 800px) {
  .header {
    display: none;
  }

  .fat-nav__hamburger {
    display: block;
    top: 15px;
    right: 15px;
  }

  .fat-nav.is-open + .fat-nav__hamburger {
    display: none !important;
  }

  .fat-nav.is-open .fat-nav__close {
    display: block !important;
  }
}

@media (min-width: 769px) {
  .mission-desc-highlight-row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;   /* 或 center，依你需求 */
    gap: 0.5em;              /* 可依需求調整間距 */
    position: static;
    margin-top: 0;
    margin-bottom: 0;
  }
  .mission-desc-highlight {
    margin-top: 0;
    margin-right: 0;
    position: static;
    background: none;
    padding-right: 0;
  }
  .mission-desc-limit {
    margin-left: 0.5em;
    position: static;
    max-width: none;
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .carousel .hot-activity-card {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
  }
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }
  .activity-home-img1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px; /* 可依需求調整 */
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .logo-fixed {
    top: 15px;
    left: 15px;
    height: 30px;
  }
  .first-section .slogan-img {
    width: 90%;
  }
  .first-section .card-img {
    width: 90%;
  }
  .cloud-bank-offer, .card-reward-offer {
    width: 95%;
  }
  .cloud-bank-item, .auto-discount-row {
    flex-direction: row;
    align-items: center;
    /* text-align: center; */
  }
  .cloud-bank-currency {
    /* writing-mode: horizontal-tb; */
    border-right: none;
    padding: 5px;
    margin-bottom: 10px;
  }
  .auto-discount-label {
    margin-bottom: 5px;
  }
  
  .bonus-card {
    flex-direction: column;
  }
  .bonus-img {
    width: 100%;
    margin-bottom: 1rem;
  }
  .footer-on-bg {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    margin-top: 1rem;
  }
}


/* 手機版大眾平板直向（螢幕寬度 1366px） */
@media (max-width: 1366px) and (orientation: portrait){
  /* 以下全部複製原本 max-width: 820px 的手機版內容 */

  .fat-nav.is-open .fat-nav__close {
    display: block !important;
  }
  .bg-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: visible;
  }
  .bg-section picture,
  .bg-section img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: -1;
    object-fit: contain;
  }
  .first-section {
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 0 2rem 0;
    z-index: 1;
  }
  .first-section .slogan-img {
    order: 1;
    position: static;
    width: 80%;
    margin: 0 auto 1.5rem auto;
    display: block;
    padding-top: 0;
    right: auto;
    visibility: visible;
    z-index: 2;
  }
  .first-section .figure-img {
    order: 3;
    position: static;
    height: auto;
    width: 60%;
    margin: 0 auto;
    display: block;
    margin-bottom: -800px;
    z-index: 2;
  }
  .first-section .card-img {
    order: 2;
    position: static;
    width: 80%;
    display: block;
    margin: 0 auto 1.5rem auto;
    transform: none;
    bottom: auto;
    left: auto;
    right: auto;
    opacity: 1;
    z-index: 2;
  }
  .bg-section .copyright{
    margin-top: auto;
    width: 100%;
    text-align: center;
    color: #000;
    font-size: clamp(10px, 1vw, 12px);
    z-index: 20;
    padding-bottom: 100px;
    position: static;
    transform: none;
    left: auto;
    top: auto;
  }
  .activity-home {
    position: relative;
    z-index: 2;
    margin-left: 0;
    margin-top: clamp(100px, 2vw, 150px);
    margin-bottom: clamp(-50px, -5vw, -50px);
  }
  .activity-home-row {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
    background-color: transparent;
  }
  .activity-home-img1,
  .activity-home-img3 {
    width: 90%;
  }
  .cloud-bank-offer,
  .card-reward-offer {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
  }
  .cloud-bank-offer{
    margin-top: -50px;
  }
  .cloud-bank-item, .auto-discount-row {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .auto-discount-row {
    display: flex;
    align-items: flex-end;
    width: 100%;
    gap: 5px;
    justify-content: center;
  }
  .cloud-bank-currency {
    font-size: 2rem;
    padding: 5px;
    margin-bottom: 10px;
  }
  .cloud-bank-info{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0px;  
  }
  .cloud-bank-desc,
  .auto-discount-note{
    font-size: 1rem;
    margin-left: 0px;
  }
  .cloud-bank-rate,
  .auto-discount-number,
  .card-reward-rate .highlight {
    font-size: 4rem;
    text-align: right;
    align-items: center;
  }
  .auto-discount-label,
  .auto-discount-title{
    margin-top: 15px;
    font-size: 1.5rem;
  }
  .auto-discount-note{
    max-width: 100%;
    padding: 0;
    margin-left: 0;
  }
  .activity-home-img2{
    width: 60%;
    margin-bottom: 20px;
  }
  .card-reward-section{
    margin-bottom: 30px;
  }
  .card-reward-rate{
    margin-top: 10px;
    gap: 0;
  }
  .card-reward-max{
    font-size: 1.5rem;
  }
  .card-reward-desc{
    font-size: 1rem;
  }
  .figure-bob {
    width: 60% !important;
    left: auto ; 
    right: auto ;
    bottom: 0 ;
    margin-bottom: 0 ;
    margin-top: 0 ;
    margin-left: 0 ;
    margin-right: 0 ;
    position: static ;
    display: block ;
    z-index: 1 ;
  }
  .three-mission {
    padding: 32px 0px 32px 0px;
    box-sizing: border-box;
    width: 100%;
    gap: 5px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(-400px, -120vw, -200px);
    margin-bottom: clamp(20px, 4vw, 60px);
  }
  .three_mission2_web {
    max-width: 90vw;
    margin-bottom:0;
  }
  .mission-one-area, 
  .mission-two-area, 
  .mission-three-area {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .mission-badge-ellipse {
    margin-top: 10px;
    z-index: 100;
    margin-right: -100px;
    align-items: flex-start;
    margin-right: 0 ;
    margin-left: 0 ;
    min-width: 80px;
  }
  .mission-title-img {
    z-index: 10;
    margin-top: 0.8rem;
    margin-left: 0 ;
    max-width: 200px;
  }
  .mission-card {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    min-height: unset;
  }
  .mission-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: auto;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
  .mission-main {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 6.5rem;
  }
  .mission-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 8px;
    gap: 0;
  }
  .mission-body {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
  .mission-product-img {
    margin-left: 0;
    width: 70%;
  }
  .mission-desc-area {
    font-size: 16px;
    margin-left: 0;
    margin-top: 0;
    width: 100%;
  }
  .mission-desc-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.1em;
  }
  .mission-desc-main {
    font-size: 1.8rem;
    font-weight: 900;
    color: #222;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .mission-desc-highlight {
    color: #ff9900;
    font-size: 2.2rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1.1;
  }
  .mission-desc-limit {
    color: #888;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.2;
    display: inline-block;
    vertical-align: bottom;
    text-align: right;
  }
  .mission-two-area .mission-desc-main {
    color: #fff;
  }
  .mobile-br {
    display: inline;
  }
  .mobile-br::after {
    content: "\A";
    white-space: pre;
  }
  
  .bonus-img {
    display: block;
    margin-left: auto;
    margin-top: 1rem;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    width: 90%;
    height: auto;
  }
  .bonus-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 1.8rem;
    padding: 24px 32px;
  }
  .bonus-badge{
    position: absolute;
    z-index: 0;
    display: block;
    border-radius: 80px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    top: -2rem;
    margin-top: 0;
    margin-left: auto;
    margin-right: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
  .bonus-badge br,
  .mission-desc-main br{
    display: none;
  }
  .hot-activity-area-carousel {
    margin-top: clamp(-400px, -130vw, -200px);
    margin-bottom: clamp(-100px, -20vw, -20px);
  }
  .hot-activity-logo {
    width: 70%;
  }
  .carousel-viewport {
    width: 90%;
    height: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
  }
  .carousel .hot-activity-card {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    flex: 0 0 100%;
    background: #eaeaea;
    border-radius: 32px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.13);
    padding: 10px ;
  }
  .hot-activity-img img {
    width: 100%; 
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }
  .carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.4,.8,.4,1);
    will-change: transform;
    overflow: none;
    gap: 0;
  }
  
  
}

/* iPad Air 和 mini 專用調整 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .fat-nav.is-open .fat-nav__close {
    display: block !important;
  }
  
  /* 只針對 iPad 調整背景圖片，不影響手機版 */
  .bg-section{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    position: relative;
    min-height: 70vh;
    height: 100vh;
    overflow: hidden;
    justify-content: flex-end;
  }

  .bg-section picture img {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    object-position: center;
    z-index: 0;
  }

  .bg-section picture,
  .bg-section img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: -1;
    object-fit: contain;
  }

  .first-section {
    margin-top: 3rem;
  }

  /* .first-section .card-img,
  .first-section .figure-img{
    height: auto;
    max-width: 500px;
  } */

  .bg-section .copyright{
    position: absolute;
    bottom: clamp(200px, 30vw, 250px);
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    margin-top: 10rem;
    font-size: clamp(12px, 1vw, 16px);
  }
  .activity-home{
    margin-top: clamp(-300px, -13vw, 0px);
    margin-bottom: clamp(-800px, -30vw, -200px);  
  }
  .activity-home-img1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    max-width: 600px;
  }
  .cloud-bank-btn {
    margin-right: auto;
  }
  .three_mission2_web{
      max-width: 600px;
  }

  .figure-carl-group {
    position: absolute;
    right: 4vw;
    bottom: 0;
    width: 30vw;
    margin-left: 50%;
    margin-top: 460px;
    transform: translateX(-50%);
    max-width: 1000px;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
  }

  .three-mission {
    padding: 32px 0px 32px 0px;
    box-sizing: border-box;
    width: 100%;
    gap: 5px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(-220px, -40vw, -100px);
    margin-bottom: clamp(-250px, -40vw, 0px);
  }

  .mission-one-area, 
  .mission-two-area, 
  .mission-three-area {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .bonus-area {
    width: 80vw;
    max-width: 570px;
  }
  .bonus-area-img{
    display: block;           /* 圖片本身用 block */
    width: 180%;              /* 放大圖片 */
    max-width: 500px;         /* 最大寬度限制 */
    height: auto;
    position: relative;       /* 讓 left/top 有效 */
    left: 50%;                /* 往右移到容器中線 */
    transform: translateX(-50%); /* 再往左移一半寬度，達到真正置中 */
    margin: 0;                /* 移除 margin-right/left */
  }
  .figure-bob {
    position: absolute;
    left: 4vw;
    bottom: 0;
    width: 22vw;
    max-width: 500px;
    margin-top: 350px;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
  }
  
  
  /* iPad 版的 hot-section 調整 */
  .hot-activity-area-carousel {
    margin-top: clamp(-250px, -35vw, -100px);
    margin-bottom: clamp(-50px, -15vw, -20px);
  }
  
  .hot-activity-logo {
    width: 60%;
    max-width: 400px;
  }
  
  .carousel-viewport {
    /* width: 90%; */
    max-width: 75%;
  }
  
  .carousel .hot-activity-card {
    width: 100%;
    max-width: 500px;
    background: #eaeaea;
    border-radius: 32px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.13);
    padding: 10px;
  }
 
}

/* 特殊項目：iPad  mini 直向調整 */
@media (min-width: 768px) and (max-width: 819px) and (orientation: portrait) {
  .bg-section .copyright {
    bottom: 133px; /* 或你覺得合適的距離 */
  }
  .figure-carl-group{
    margin-top: 350px;
  }
  .figure-bob{
    margin-top: 280px;
    max-width: 450px;
  }
}


/* 特殊項目：iPad Pro 12.9 直向（螢幕寬度至少1024px 最多 1366px） */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
  .header {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  body, html {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  .fat-nav__hamburger {
    display: block !important;
  }
  .header.desktop-only {
    display: none !important;
  }
  .bg-section .copyright {
    font-size: clamp(16px, 1vw, 12px);
    position: absolute;
    text-align: center;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    text-align: center !important;
   
  }
  .first-section {
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0 2rem 0;
    z-index: 1;
    margin-top: 5rem;
    margin-bottom: -10rem;
  }
  .first-section .slogan-img{
    max-width: 65%;
  }
  .first-section .card-img,
  .first-section .figure-img{
    /* width: 100%; */
    max-width: 50%;
  }
  .activity-home{
    margin-top: clamp(-300px, -13vw, 0px);
    margin-bottom: clamp(-800px, -43vw, -200px);  
  }
  .figure-carl-group{
    margin-top: 550px;
    width: 100%;
  }
  .cloud-bank-btn {
    margin-right: auto;
  }

  .three-mission {
    padding: 32px 0px 32px 0px;
    box-sizing: border-box;
    width: 100%;
    gap: 5px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(-250px, -90vw, -400px);
    margin-bottom: clamp(-400px, -50vw, -400px);
  }
  .mission-one-area, .mission-two-area, .mission-three-area{
    max-width: 700px;
  }
  .mission-product-img{
    width: 400px;
  }
  .three_mission2_web,
  .bonus-area-img {
    max-width: 800px;
  }
  .bonus-area {
    width: 80vw;
    max-width: 670px;
  }
  .figure-bob {
    position: absolute;
    left: 4vw;
    bottom: 0;
    max-width: 500px;
    margin-top: 450px;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
  }
  .hot-activity-logo {
    width: 60%;
    max-width: 500px;
}
  .hot-activity-area-carousel {
    margin-top: clamp(-350px, -40vw, -200px);
    margin-bottom: clamp(-200px, -20vw, -120px);
  }
}






/* 大眾平板橫向（螢幕寬度 1366px） */
@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  
  .header desktop-only{
    top: 20px;
  }
  .first-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 2vw; /* 圖片間距可調整 */
    /* padding: 100px 2vw 2vw 2vw; */
  }
  .bg-section .copyright {
    bottom: 30vh;
    right: clamp(0px, 3vw, 20px);
    text-align: right;
    font-size: clamp(10px, 12px, 8px);
    font-family: var(--font-family-sans-serif);
}
  
}

/* iPad Pro 12.9 橫向（螢幕寬度 1366px） */
@media (min-width: 1200px) and (max-width: 1366px) and (orientation: landscape) {
  .first-section .slogan-img {
    width: clamp(350px, 33vw, 550px); /* 更小的寬度設定 */
    margin-top: clamp(20px, 2vw, 40px); /* 上方間距也可略縮小 */
  }
  .first-section .card-img {
    width: clamp(300px, 5vw, 400px);
    right: clamp(0px, 3vw, 20px);
    margin-top: clamp(20px, 2vw, 80px);
    z-index: 100;
  }
  .first-section .figure-img{
    width: clamp(300px, 4vw, 500px);
    margin-top: clamp(50px, 1vw, 80px);
    /* max-width: 20%; */
  } 
  .figure-carl-group{
    max-width: 60%;
  }
  .figure-bob{
    max-width: 30%;
  }
  .activity-home-img1 {
    max-width: 500px;
    margin-top: clamp(50px, 2vw, 80px);
    /* width: clamp(300px, 50vw, 600px); */
  }
  
}

/* iPad Air/mini 橫向（768px~1199px） */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: landscape) {
  .logo-fixed{
    height: 40px;
  }
  .header{
    transform: translateX(-38%);
    max-width: 57%;
  }
  
  .first-section .slogan-img {
    width: clamp(320px, 38vw, 500px); /* 稍微縮小，避免太大 */
    margin-top:clamp(20px, 2vw, 40px);
  }
  .first-section .card-img {
    right: clamp(0px, 3vw, 20px);
    width: clamp(320px, 30vw, 600px);
  }
  .first-section .figure-img{
    width: clamp(320px, 3vw, 600px);
    margin-top: clamp(60px, 10vw, 220px);
  } 
  .figure-carl-group {
    max-width: 65%;
  }
  .figure-bob{
    max-width: 35%;
  }
  .activity-home-img1 {
    /* margin-right: clamp(200px,1vw,300px); */
  }
  
}

/* 特殊項目：iPad mini 橫向（768px~834px） */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  .first-section .card-img {
    width: clamp(300px, 35vw, 600px);
    right: clamp(0px, 1vw, 5px);
    margin-top: clamp(40px, 12vw, 120px);
  }
  .first-section .figure-img{ 
    width: clamp(220px, 28vw, 600px);
    /* margin-top: clamp(60px, 12vw, 220px); */
  } 
  .activity-home-row{
    gap: 0;
    margin-bottom: -130px;
  }
  .activity-home-img1{
    margin-right: 50px;
  }
  .mission-one-area, 
  .mission-two-area, 
  .mission-three-area{
    margin-left: 50px;
    width: 85vw;
    max-width: 830px;
  }
  .bonus-area {
    flex-direction: column;
    align-items: center;
    width: 85vw;
    max-width: 800px;
  }

}

/* 特殊項目：iPad Air 橫向（820px~1180px） */
@media (min-width: 820px) and (max-width: 1180px) and (orientation: landscape) {

  .first-section .card-img {
    right: clamp(0px, 3vw, 10px);
    margin-top: clamp(30px, 4vw, 60px);
  }
  
}


