/* ==========================================================================
   0. 全域與重置設定 (Global & Reset)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Gen+Jyuu+Gothic+X+Monospace:wght@700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: "PingFang TC", "Helvetica Neue", Helvetica, Arial, "Microsoft JhengHei", sans-serif;
    line-height: 1.5;
    background-color: #000;
    color: #333;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

section[id] {
    scroll-margin-top: 80px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* 修復：.header-bg / .bg-container 為 position:absolute，其定位基準（containing block）
   必須是 <main>，而非往上落到 <body>。否則手機版因 body 有 padding-top（見手機 media query），
   會造成背景圖層（kv-bg1/bg2/bg3）與實際內容產生固定偏移，在捲動到該區塊時看起來像跳動/挪移。 */
main {
    position: relative;
}


/* ==========================================================================
   1. 主視覺區塊 (Hero Section)
   ========================================================================== */
.campaign-main {
    overflow: hidden;
    position: relative;
    background-size: cover;
}

.action-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transform: translateY(-50%);
    margin-bottom: -10px;
}

.btn-bind-main img {
    width: 452px;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
}

.btn-bind-main:hover img {
    transform: scale(1.05);
}

.hero-section {
    position: relative;
    padding: 30px 10px 0;
    z-index: 5;
}

.hero-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
}

.hero-left {
    position: relative;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.img-boxman {
    position: relative;
    z-index: 2;
    width: 85%;
    height: auto;
    display: block;
    top: 12px;
}

.img-tips {
    position: absolute;
    top: -16%;
    left: 40%;
    width: 70%;
    max-width: 220px;
    height: auto;
    z-index: 1;
}

.hero-right {
    flex: 0 0 58%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0;
    width: 100%;
}

.main-title .title-a {
    width: 586px;
}

.main-title .title-b {
    width: 670px;
    height: auto;
    display: block;
}

.hero-actions .btn-bind {
    display: inline-block;
}

.hero-actions .btn-bind img {
    width: 100%;
    max-width: 320px;
    height: auto;
    animation: btnPulse 1.5s infinite ease-in-out;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-actions .btn-bind:hover img {
    animation-play-state: paused;
    transform: scale(1.08);
    filter: brightness(1.1);
}

@keyframes btnPulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.1);
        filter: brightness(1.11);
    }
}


/* ==========================================================================
   2. 優惠與活動詳情區塊 (Benefits & Promo Cards)
   ========================================================================== */
.benefits-section {
    padding: 0px auto;
    position: relative;
    z-index: 5;
}

.benefit-card {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 46px;
    background: linear-gradient(0deg, #cdf0a9 0%, #ffffff 50%);
    border-radius: 60px 60px 0px 0px;
    padding: 30px 4px 150px 0px;
    box-shadow:
        inset 0 30px 100px rgba(255, 255, 255, 0.8),
        0 10px 25px rgba(87, 182, 72, 0.5);
    max-width: 1034px;
    margin: 0 auto;
    z-index: 2;
}

/* 1. 父容器 (div.benefit-item) 設定定位、貼齊圖片與圓角裁剪 */
.benefit-card .benefit-item:first-child {
    position: relative;
    display: inline-block;
    /* 讓容器寬高緊貼內部圖片 */
    overflow: hidden;
    /* 關鍵：將流動的光束裁切在圖片圓角邊界內 */
}

/* 確保內部圖片為區塊元素，避免底部產生縫隙 */
.benefit-card .benefit-item:first-child img {
    display: block;
    width: 100%;
    height: auto;
}

/* 2. 在 div 容器上建立斜向半透明白色光束 */
.benefit-card .benefit-item:first-child::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 60%;
    height: 200%;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.25) 30%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.25) 70%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(20deg);
    animation: shineSweep 4s infinite ease-in-out;
    pointer-events: none;
    /* 避免阻擋點擊事件 */
}

/* 3. 掃光動畫：前 30% 時間掃過，後續時間停留等待形成週期 */
@keyframes shineSweep {
    0% {
        left: -150%;
    }

    30% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.title-divider {
    width: 100%;
    max-width: 1520px;
    height: 5px;
    background-color: #FEDD6B;
    border: none;
    border-radius: 3px;
    margin: 40px auto;
}

.promo-yellow-card {
    max-width: 1034px;
    margin: -62px auto 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff6d1 60%, #fedd6b 100%);
    border-radius: 0 0 60px 60px;
    padding: 50px 60px 60px 30px;
    box-shadow:
        inset 0px 0px 40px 30px rgba(255, 255, 255, 0.8),
        0 10px 25px rgba(87, 182, 72, 0.3);
    position: relative;
    z-index: 6;
    overflow: visible !important;
}

.promo-yellow-card::before {
    content: "";
    position: absolute;
    top: -62px;
    left: 0;
    width: 100%;
    height: 63px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q500,100 1000,0 L1000,100 L0,100 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.benefit-action {
    position: absolute;
    top: -76px;
    left: 58%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
    width: max-content;
}

.link-details {
    background: transparent; /* 去除灰色背景 */
    color: #ea1717;
    font-size: 32px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 2px solid #ea1717;
    text-decoration: none;
    margin-bottom: 14px;
    cursor: pointer; /* 強制變更鼠標為手型 */
}

.badge-arrow {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-color: #ea1717;
    border-radius: 50%;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='10 18 16 12 10 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(50%) center;
    background-size: 16px 16px;
    text-decoration: none;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0px 0px 12px;
}

.promo-text {
    text-align: left;
    z-index: 2;
}

.promo-title {
    margin: 0px 0 10px 0px;
}

.promo-title a {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.3s ease;
    cursor: pointer;
}

.promo-title a img {
    display: block;
    max-width: 100%;
    height: auto;
}

.promo-title a:hover {
    transform: translateX(10px);
}

.promo-desc {
    color: #505050;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.promo-image {
    position: absolute;
    right: 50px;
    bottom: 0px;
    z-index: 1;
    pointer-events: none;
}

.img-boxman-gift {
    width: 351px;
    height: auto;
    display: block;
}


/* ==========================================================================
   3. 活動詳情彈窗 (Modal)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 16px;
    box-sizing: border-box;
    transform: none;
}

.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    border-radius: 24px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.modal-close-icon {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-title {
    color: #2b7fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-align: left;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    text-align: left;
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.6;
}

.modal-body::-webkit-scrollbar {
    width: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 10px;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section-title {
    color: #2b7fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px 0;
}

.blue-bar {
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #2b7fff;
    border-radius: 2px;
}

.path-box {
    background-color: #f0f9ff;
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 10px;
    font-size: 13px;
    color: #333333;
}

.path-box p {
    margin: 4px 0;
}

.faq-item {
    margin-top: 16px;
}

.faq-question {
    color: #2b7fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.faq-answer {
    margin: 0;
    padding-left: 22px;
    color: #555555;
    font-size: 13.5px;
}

.faq-answer a {
    color: #2b7fff;
    text-decoration: underline;
    word-break: break-all;
}

.modal-close-btn {
    width: 100%;
    padding: 12px 0;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
    background-color: #222222;
}


/* ==========================================================================
   4. 綁定教學區塊 (Steps Section)
   ========================================================================== */
.steps-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 5;
}

.steps-container {
    display: grid;
    grid-template-columns: minmax(0, 623px) 390px;
    grid-template-areas:
        "title phone"
        "list phone";
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.steps-list-title {
    grid-area: title;
    text-align: left;
    margin-bottom: 10px;
    width: 100%;
}

.steps-list-title img {
    margin: 0 !important;
    max-width: 623px;
    width: 100%;
    height: auto;
    display: block;
}

.steps-list {
    grid-area: list;
    display: flex;
    flex-direction: column;
    gap: 0px;
    position: relative;
    z-index: 2;
}

.step-item {
    cursor: pointer;
    width: 81%;
    transition: transform 0.2s ease;
}

.step-item:hover {
    transform: translateX(6px);
}

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

.phone-mockup {
    grid-area: phone;
    position: relative;
    z-index: 10;
    top: 20px;
    margin-left: -80px;
    width: 468px;
    flex-shrink: 0;
    filter: drop-shadow(16px 22px 14px rgba(255, 189, 21, 0.70));
}

.phone-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.phone-screen-container {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    border-radius: 36px;
}

.screen-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.screen-img.active {
    opacity: 1;
}


/* ==========================================================================
   5. 底部結語與品牌 Logo (Footer Highlight)
   ========================================================================== */
.footer-highlight {
    color: #fff;
    padding: 20px 0;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
}

.footer-mascot img {
    width: 280px;
    transform: translateY(30px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.footer-title {
    margin: 0;
}

.footer-title img {
    max-width: 441px;
    width: 100%;
    height: auto;
    display: block;
}

.footer-highlight .partner-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
}

.partner-logos img {
    height: 112px;
    width: 100%;
    display: block;
}


/* ==========================================================================
   6. 活動注意事項 (Terms & Conditions)
   ========================================================================== */
.terms-section {
    color: #fff;
    padding: 40px 0 0 0;
    position: relative;
    z-index: 5;
}

.terms-box {
    position: relative;
    width: 100%;
    max-width: 1034px;
    border: 4px solid #dcff86;
    border-radius: 36px;
    background-color: #000000;
    padding: 80px 40px 40px;
    margin: 50px auto 0;
    box-sizing: border-box;
}

.terms-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    border: 4px solid #dcff86;
    border-radius: 50px;
    padding: 18px 70px;
    text-align: center;
    color: #dcff86;
    font-family: "Gen Jyuu Gothic X Monospace", "源柔ゴシックX等幅", "Gen Jyuu Gothic Monospace", sans-serif;
    font-size: 48px;
    letter-spacing: 1px;
    white-space: nowrap;
    margin: 0;
}

/* 列表歸零與層級設定整併 */
.terms-content ul,
.terms-content>ul {
    list-style: none !important;
    padding-left: 0;
    margin: 0;
}

.terms-content>ul>li {
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.6;
}

.terms-content>ul>li>ul {
    list-style: none !important;
    padding-left: 24px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.terms-content>ul>li>ul>li {
    margin-bottom: 10px;
    color: #e0e0e0;
}

.terms-content>ul>li>ul>li>ul {
    list-style: none !important;
    padding-left: 16px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.terms-content>ul>li>ul>li>ul>li {
    position: relative;
    padding-left: 14px;
    color: #d1d5db;
    line-height: 1.6;
}

.terms-content>ul>li>ul>li>ul>li::before {
    content: "·";
    position: absolute;
    left: 0;
    top: -1px;
    font-weight: bold;
    color: #d1d5db;
}

.sub-terms-list,
.bullet-list {
    list-style: none !important;
    padding-left: 0;
    margin-top: 6px;
    margin-bottom: 6px;
}

.sub-terms-list>li {
    list-style: none !important;
    margin-bottom: 12px;
    color: #e0e0e0;
}

.sub-terms-list .sub-num {
    color: #ffffff;
    font-weight: 600;
}

.bullet-list {
    padding-left: 12px;
}

.bullet-list li {
    list-style: none !important;
    position: relative;
    padding-left: 14px;
    color: #d1d5db;
    line-height: 1.6;
}

.bullet-list li::before {
    content: "·";
    position: absolute;
    left: 0;
    top: -1px;
    font-weight: bold;
    color: #d1d5db;
}

.terms-content a,
.terms-link {
    color: #38bdf8;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.terms-content a:hover,
.terms-link:hover {
    color: #7dd3fc;
}


/* ==========================================================================
   7. 側邊膠囊導覽與浮動按鈕 (Side Nav & Floating CTA)
   ========================================================================== */
.side-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    width: 124px;
}

.side-nav-capsule {
    width: 124px;
    height: 520px;
    box-sizing: border-box;
    background-image: url('../images/M02/CTA-bg.webp');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    padding: 52px 10px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    width: 100%;
    text-align: center;
}

.nav-links li:not(:last-child)::after {
    content: "";
    display: block;
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.25);
    margin: 12px auto;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1px;
    display: block;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffe600;
}

.btn-side-bind {
    width: 100%;
    display: block;
    margin-bottom: 14px;
    transition: transform 0.2s ease;
}

.btn-side-bind:hover {
    transform: scale(1.04);
}

.btn-side-bind img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-side-top,
.side-nav .btn-side-top {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    margin-bottom: 20px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.btn-side-top:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.btn-side-top .top-icon {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}

.btn-side-top .top-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.mobile-float-cta {
    display: none;
}


/* ==========================================================================
   8. 置頂藍色導覽列 (Secondary Blue Header)
   ========================================================================== */
.secondary-blue-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #026bb4;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.secondary-blue-header.is-visible {
    transform: translateY(0);
    visibility: visible;
}

.blue-header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-group .logo-combined {
    height: 36px;
    width: auto;
    display: block;
}

.header-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.header-nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: border-color 0.25s ease;
}

.header-nav-menu a:hover {
    color: #ffe600;
}

.header-cta-btn a {
    display: inline-flex;
    align-items: center;
    height: 41px;
    padding: 2px 0px 2px 16px;
    background: #0066c0;
    border: 2px solid #ffffff;
    border-radius: 25px;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color 0.25s ease;
}

.header-cta-btn a:hover {
    border-color: #ffe600;
}

.cta-text {
    color: #ffe600;
    font-weight: 800;
    font-size: 20px;
    margin-right: 10px;
    white-space: nowrap;
}

.cta-badge {
    background-color: #ffffff;
    color: #0066c0;
    font-weight: 700;
    font-size: 20px;
    padding: 4px 16px;
    border-radius: 20px;
    transition: background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.header-cta-btn a:hover .cta-badge {
    background-color: #ffe600;
}

/* 預設（桌機端）：完全隱藏手機專用元件 */
.hamburger-btn,
.menu-overlay,
.nav-drawer {
    display: none;
}

/* 錨點定位補償 */
#benefits,
#new-member,
#steps,
#terms {
    scroll-margin-top: 70px;
}


/* ==========================================================================
   9. 桌機背景視覺 (Desktop Backgrounds)
   ========================================================================== */
.header-bg {
    width: 100%;
    max-width: 2560px;
    height: 600px;
    background: linear-gradient(180deg, #FFBA00 0%, #FFD259 20%, #FFFFFF 100%);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -2;
    pointer-events: none;
}

.bg-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 2560px;
    z-index: 1;
    pointer-events: none;
}

.bg-layer {
    width: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    position: relative;
}

/* ==========================================================================
   圓球背景動畫 (層級定位：z-index: -1)
   ========================================================================== */

/* 1. 漂浮父容器：鎖定於 header-bg 與 kv-bg1 之間的層級 */
.floating-dec-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 2560px;
    height: 600px;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* 2. 圓球基礎設定 (啟用 GPU 硬體加速，消除開啟時的渲染微卡頓) */
.float-item {
    position: absolute;
    bottom: -60px;
    height: auto;
    opacity: 1;
    animation-name: floatUp;
    animation-duration: var(--speed, 8s);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    will-change: transform;
    /* 關鍵：開啟硬體加速，讓載入瞬間流暢無縫 */
}

/* 3. 各圓球左右水平位置、尺寸、飄升速度變數與【負數延遲】
      改為負數 delay，網頁開啟瞬間氣泡就已散佈在畫面不同高度，完全無須等待！ */
.dec-1 {
    left: 6%;
    width: 55px;
    --speed: 7.5s;
    animation-duration: var(--speed);
    animation-delay: -0.5s;
}

.dec-2 {
    left: 22%;
    width: 40px;
    --speed: 9.0s;
    animation-duration: var(--speed);
    animation-delay: -2.5s;
}

.dec-3 {
    left: 38%;
    width: 65px;
    --speed: 8.0s;
    animation-duration: var(--speed);
    animation-delay: -5.0s;
}

.dec-4 {
    left: 52%;
    width: 35px;
    --speed: 10s;
    animation-duration: var(--speed);
    animation-delay: -1.8s;
}

.dec-5 {
    left: 68%;
    width: 50px;
    --speed: 7.0s;
    animation-duration: var(--speed);
    animation-delay: -4.0s;
}

.dec-6 {
    left: 82%;
    width: 70px;
    --speed: 9.5s;
    animation-duration: var(--speed);
    animation-delay: -6.2s;
}

.dec-7 {
    left: 92%;
    width: 35px;
    --speed: 8.5s;
    animation-duration: var(--speed);
    animation-delay: -3.0s;
}

.dec-8 {
    left: 15%;
    width: 60px;
    --speed: 11s;
    animation-duration: var(--speed);
    animation-delay: -7.5s;
}

/* 4. 往上飄升動畫定義 (勻速直線升起，加大左右 S 型位移) */
@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) scale(0.8);
    }

    30% {
        transform: translateY(-240px) translateX(55px) scale(0.95);
    }

    65% {
        transform: translateY(-520px) translateX(-50px) scale(1.05);
    }

    100% {
        transform: translateY(-800px) translateX(35px) scale(1.1);
    }
}

.kv-bg1 {
    background-image: url('../images/BG/KV-BG1.webp');
    height: 1144px;
    margin-top: 40px;
    z-index: 1;
}

.bg2 {
    background-image: url('../images/BG/BG2.webp');
    background-size: 2560px auto;
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    height: 1380px;
    margin-top: -394px;
    margin-bottom: -120px;
    position: relative;
    z-index: 2;
}

.bg3 {
    background-image: url('../images/BG/BG3.webp');
    background-size: 2560px auto;
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    height: 953px;
    margin-top: -700px;
    position: relative;
    z-index: 1;
}


/* ==========================================================================
   10. 平板響應式適配 (iPad / Tablet: 768px ~ 1024px)
   ========================================================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        position: relative;
        padding: 20px 0;
        z-index: 5;
    }

    .hero-container {
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        gap: 50px;
        padding: 2vw 30px;
    }

    .hero-left {
        flex: 0 0 40% !important;
        max-width: 210px !important;
        position: relative;
    }

    .img-boxman {
        width: 100% !important;
        left: 0 !important;
    }

    .img-tips {
        top: -18% !important;
        left: 28% !important;
        width: 90% !important;
    }

    .hero-right {
        flex: 0 0 64% !important;
        gap: 18px;
    }

    .main-title .title-a {
        width: 100% !important;
        max-width: 500px !important;
    }

    .main-title .title-b {
        width: 100% !important;
        max-width: 700px !important;
    }

    .hero-actions .btn-bind {
        width: 100% !important;
        max-width: 300px !important;
    }

    .side-nav {
        display: none !important;
    }

    .benefits-section {
        padding: 40px 32px !important;
        box-sizing: border-box !important;
    }

    .benefit-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 50px 50px 0 0;
        padding: 20px 20px 160px 20px;
        gap: 32px;
        background: linear-gradient(0deg, #cdf0a9 0%, #ffffff 50%);
        box-shadow:
            inset 0 30px 100px rgba(255, 255, 255, 0.8),
            0 10px 25px rgba(87, 182, 72, 0.5);
    }

    .phone-mockup {
        grid-area: phone;
        width: 106%;
        max-width: 440px;
        top: 0;
        margin-left: -30px !important;
        filter: drop-shadow(6px 10px 8px rgba(255, 189, 21, 0.6));
    }

    .header-nav-menu,
    .header-cta-btn {
        display: none !important;
    }

    .hamburger-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 24px !important;
        height: 18px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 9999 !important;
    }

    .hamburger-btn .bar {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background-color: #ffffff !important;
        border-radius: 2px !important;
        transition: all 0.3s ease;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.65) !important;
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1),
            visibility 0.4s linear 0s !important;
        z-index: 9998 !important;
    }

    .menu-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0s,
            visibility 0s linear 0s !important;
    }

    .nav-drawer {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 50vw;
        max-width: 360px;
        min-width: 260px;
        height: 100vh;
        background-color: #111111 !important;
        transform: translateX(105%);
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
            visibility 0.5s ease;
        z-index: 9999 !important;
        padding: 20px;
        box-sizing: border-box;
        box-shadow: none !important;
        visibility: hidden;
    }

    .nav-drawer.active {
        transform: translateX(0) !important;
        box-shadow: -10px 0 25px rgba(0, 0, 0, 0.5) !important;
        visibility: visible !important;
    }

    .menu-header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 20px;
    }

    .close-btn {
        width: 38px;
        height: 38px;
        background-color: #0d76d2 !important;
        border: none;
        border-radius: 8px;
        color: #ffffff !important;
        font-size: 20px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .menu-list {
        list-style: none;
        padding: 0;
        margin: 10px 0 0 0;
        width: 100%;
    }

    .menu-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        text-align: center;
    }

    .menu-list a {
        display: block;
        padding: 18px 0;
        color: #ffffff !important;
        font-size: 18px;
        font-weight: 700;
        text-decoration: none;
        letter-spacing: 1.5px;
    }

    .promo-image {
        position: absolute !important;
        right: 20px !important;
        /* 靠右邊距留白 */
        bottom: 0 !important;
        /* 貼齊黃色卡片底邊 */
        width: 250px !important;
        /* 關鍵修復：給予明確寬度 (可依需求微調 220px~270px) */
        z-index: 1 !important;
    }

    /* 2. 圖片填滿容器 */
    .img-boxman-gift {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .promo-title {
        max-width: 85%;
        margin: 0px 0 10px 0px;
    }

    .promo-text {
        max-width: 100% !important;
    }

    .promo-desc {
        font-size: 30px !important;
    }

    .steps-list-title img {
        max-width: 70% !important;
        /* 可依平板視覺自由調整圖片大小 */
        margin: 0 auto 2px !important;
    }

    .partner-logos,
    .footer-highlight .partner-logos {
        grid-area: logos;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        margin-right: 30px;
        margin-left: 20px;
        flex-wrap: nowrap;
    }

    .footer-highlight {
        top: 1px;
    }

    .partner-logos img {
        height: 110px !important;
        width: auto !important;
        max-width: none;
        object-fit: contain;
        flex-shrink: 0;
        display: block;
    }


}


/* ==========================================================================
   11. 手機響應式適配 (Mobile: <= 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {

    .floating-dec-container {
        height: 100vw;
    }

    .float-item {
        transform: scale(0.7);
        animation-duration: calc(var(--speed, 8s) * 1.5) !important;
    }

    :root {
        --navy-text: #FFFFFF;
        --white-bg: rgba(0, 0, 0, 0.8);
        --purple-accent: #0f6eb1;
        --divider-color: #FFFFFF;
    }

    /* --- 頂部 Header & 導覽 drawer --- */
    .secondary-blue-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 40px;
        z-index: 1000;
        transform: translateY(0) !important;
        visibility: visible !important;
        transition: none !important;
        box-shadow: none;
    }

    body {
        padding-top: 40px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
        position: relative;
    }

    .header-logo-group .logo-combined {
        height: 28px;
        width: auto;
    }

    .header-nav-menu,
    .header-cta-btn {
        display: none !important;
    }

    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 23px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .hamburger-btn .bar {
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        border-radius: 2px;
    }

    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1001;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 50%;
        max-width: 360px;
        height: 100vh;
        background-color: var(--white-bg);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1002;
        padding: 24px 20px;
        box-sizing: border-box;
    }

    .nav-drawer.active {
        transform: translateX(0);
    }

    .menu-header {
        display: flex;
        justify-content: flex-end;
    }

    .close-btn {
        width: 40px;
        height: 40px;
        background-color: var(--purple-accent);
        border: none;
        border-radius: 10px;
        color: #ffffff;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: opacity 0.2s ease;
    }

    .close-btn:hover {
        opacity: 0.9;
    }

    .menu-list {
        list-style: none;
        padding: 0;
        margin: 20px 0 0 0;
    }

    .menu-list li {
        border-bottom: 1px solid var(--divider-color);
        text-align: center;
    }

    .menu-list a {
        display: block;
        padding: 18px 0;
        color: var(--navy-text);
        font-size: 1.2rem;
        font-weight: 700;
        text-decoration: none;
        letter-spacing: 1.5px;
        transition: color 0.2s ease;
    }

    .menu-list a:hover {
        color: var(--purple-accent);
    }

    /* --- Hero 區塊 --- */
    .hero-container {
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        gap: 0;
        padding: 3vw 0 3vw 0;
    }

    .hero-section {
        padding: 10px 0 0 0;
    }

    .hero-left {
        flex: 0 0 33% !important;
        max-width: 220px;
        position: relative;
    }

    .img-boxman {
        position: relative;
        z-index: 2;
        width: 80%;
        height: auto;
        left: -5%;
        top: 10%;
    }

    .img-tips {
        position: absolute;
        top: -20%;
        left: 34%;
        width: 70%;
        height: auto;
        z-index: 1;
    }

    .hero-right {
        flex: 0 0 65% !important;
        gap: 4px;
    }

    .main-title {
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px;
    }

    .main-title .title-a {
        width: 90%;
        max-width: 420px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .main-title .title-b {
        width: 100%;
        max-width: 480px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .hero-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-actions .btn-bind {
        display: block;
        width: 65%;
        max-width: 260px;
        margin: 0 auto;
    }

    .hero-actions .btn-bind img {
        width: 100% !important;
        height: auto;
        display: block;
    }

    /* --- 優惠區塊 --- */
    .container,
    .hero-container,
    .benefits-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .benefit-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 25px 25px 0 0;
        padding: 10px 10px 50px 10px;
        gap: 16px;
        background: linear-gradient(0deg, #cdf0a9 0%, #ffffff 50%);
        box-shadow:
            inset 0 30px 100px rgba(255, 255, 255, 0.8),
            0 10px 25px rgba(87, 182, 72, 0.5);
    }

    .title-divider {
        width: 100%;
        height: 2px;
        border-radius: 3px;
        margin: 18px auto;
    }

    .promo-yellow-card {
        border-radius: 0 0 25px 25px;
        margin-top: 0px;
        padding: 0 16px 0 10px;
        padding-right: 4px !important;
        /* 縮減右側 Padding */
        background: linear-gradient(180deg, #ffffff 0%, #fff6d1 60%, #fedd6b 100%);
        box-shadow:
            inset 0px 0px 20px 10px rgba(255, 255, 255, 0.8),
            0 10px 25px rgba(87, 182, 72, 0.3);
        padding-bottom: 0 !important;
        /* 確保卡片底部留有邊距 */
        /* 註：此處原有 overflow:hidden，但桌機版 .promo-yellow-card 使用 overflow:visible !important，
           !important 的優先權不受 media query 影響，會一律蓋過這裡，等同無效宣告，故移除。
           若之後真的需要在手機裁切內容，請改在外層另包一層 wrapper 做 overflow:hidden，
           避免直接影響會讓上方波浪裝飾 (::before) 被裁掉。 */
    }

    .promo-yellow-card::before {
        top: -34px;
        height: 35px;
        overflow: hidden;
    }

    .benefit-action {
        top: -8vw;
        left: 60%;
        gap: 8px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .benefit-action img {
        height: 12vw;
        width: auto;
    }

    .link-details {
        font-size: 15px;
        border-bottom-width: 1px;
        gap: 4px;
        margin-bottom: -3%;
    }

    .badge-arrow {
        width: 16px;
        height: 16px;
        background-size: 10px 10px;
    }

    .promo-content {
        display: flex !important;
        align-items: flex-end !important;
        /* 文字與吉祥物底部貼齊 */
        justify-content: space-between !important;
    }

    .promo-text {
        flex: 0 0 65% !important;
        max-width: 65% !important;
        padding-bottom: 30px !important;
        /* 適度縮減底部內距 */
        padding-top: 18px !important;
        z-index: 2 !important;
    }

    .promo-title {
        margin: 0 0 4px 0;
    }

    .promo-title a {
        font-size: 21px;
        font-weight: 300;
        gap: 4px;
        white-space: nowrap;
    }

    .promo-title-arrow {
        width: 16px;
        height: 16px;
        background-size: 12px 12px;
    }

    .promo-desc {
        font-size: 14px !important;
        /* 微調手機端字級為 14px，縮短單行長度 */
        line-height: 1.5 !important;
        color: #505050;
        word-break: keep-all !important;
        /* 確保中文詞彙完整不亂斷行 */
    }

    .promo-image {
        position: relative !important;
        margin-right: -44px;
        flex: 0 0 38% !important;
        max-width: 160px !important;
        flex-shrink: 0 !important;
        z-index: 1 !important;
    }

    .img-boxman-gift {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* --- 步驟教學區塊 --- */

    .steps-section {
        padding: 24px 0 36px 0;
        text-align: center;
        position: relative;
        z-index: 5;
    }

    .steps-container {
        display: grid;
        grid-template-columns: 42% 58%;
        grid-template-areas:
            "list title"
            "list phone";
        align-items: start;
    }

    .steps-list-title {
        grid-area: title;
        margin-bottom: 8px;
    }

    .steps-list-title img {
        width: 100%;
        max-width: 185px;
        margin: 0 auto !important;
    }

    .steps-list {
        grid-area: list;
        width: 110%;
        gap: 2px;
        padding-right: 4px;
    }

    .step-item {
        width: 100% !important;
    }

    .step-item:hover {
        transform: none !important;
    }

    .phone-mockup {
        grid-area: phone;
        width: 104%;
        max-width: 460px;
        top: 0;
        margin-left: -20px !important;
        filter: drop-shadow(6px 10px 8px rgba(255, 189, 21, 0.6));
    }

    /* --- 底部結語與品牌 Logo --- */
    .footer-container {
        display: grid;
        grid-template-columns: 36% 64%;
        grid-template-areas:
            "mascot title"
            "logos logos";
        align-items: center;
        gap: 0px;
        padding: 0px;
        padding-left: 12px !important;
    }

    .footer-mascot {
        grid-area: mascot;
        display: flex;
        justify-content: flex-start;
        transform: translateY(-48px);
        margin-left: 8px;
    }

    .footer-mascot img {
        width: 100%;
        max-width: 180px;
        height: auto;
        display: block;
    }

    .footer-title {
        width: 90%;
        grid-area: title;
        display: flex;
        justify-content: flex-start;
    }

    .footer-title img {
        width: 100%;
        max-width: 500px;
        height: auto;
        display: block;
    }

    .partner-logos,
    .footer-highlight .partner-logos {
        grid-area: logos;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        margin-right: 20px;
    }

    .partner-logos img {
        height: 80px;
        width: auto;
        display: block;
    }

    .footer-highlight {
        padding: 10vw 2vw 6vw 2vw;
    }

    /* --- 注意事項 --- */
    .terms-section {
        padding: 0;
    }

    .terms-box {
        width: 95% !important;
        margin: 35px auto 0;
        border-width: 2.5px;
        border-radius: 30px;
        padding: 50px 20px;
    }

    .terms-title {
        padding: 14px 40px;
        border-width: 2.5px;
        border-radius: 100px;
        max-width: 100%;
    }

    .terms-title img {
        max-width: 180px;
    }

    /* --- 側邊導覽 & 浮動 CTA --- */
    .side-nav {
        position: fixed !important;
        right: 8px !important;
        bottom: 20px !important;
        top: auto !important;
        transform: none !important;
        width: auto !important;
        z-index: 1001;
        transition: bottom 0.35s ease;
    }

    body:has(.mobile-float-cta.is-visible) .side-nav {
        bottom: 100px !important;
    }

    .side-nav-capsule {
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column;
        align-items: flex-end !important;
    }

    .nav-links,
    .btn-side-bind {
        display: none !important;
    }

    .btn-side-top {
        display: flex !important;
        margin-bottom: 10px !important;
        width: 48px;
        height: 48px;
        background-color: rgba(0, 0, 0, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        z-index: 1002;
    }

    .btn-side-top .top-icon {
        width: 16px;
        height: 16px;
        margin-bottom: 1px;
    }

    .btn-side-top .top-text {
        font-size: 10px;
    }

    .mobile-float-cta {
        display: block;
        position: fixed;
        bottom: 0;
        right: 0;
        z-index: 1000;
        width: 58vw;
        max-width: 230px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(20px);
        transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    }

    .mobile-float-cta.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-float-cta img {
        width: 100%;
        height: auto;
        display: block;
    }

    .mobile-float-cta:active {
        transform: scale(0.96);
    }

   /* --- 手機版背景 --- */
    .header-bg {
        height: 60vw;
        max-height: 100vw;
        background: linear-gradient(180deg, #FFBA00 0%, #FFD259 40%, #FFFFFF 100%);
    }

    .kv-bg1 {
        background-image: url('../images/BG/KV-BG1-m.webp');
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        height: auto !important;
        min-height: 174vw;
        margin-top: 0;
        width: 100%;
    }

    .bg2 {
        background-image: url('../images/BG/BG2-m.webp');
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        width: 100%;
        height: auto !important;
        aspect-ratio: 750 / 1114;
        position: relative;
        z-index: 2;
        margin-top: -56vw !important;
        transform: translateZ(0);
        will-change: transform;
    }

    .bg3 {
        background-image: url('../images/BG/BG3-m.webp');
        background-size: 100% 100% !important;
        background-repeat: no-repeat;
        background-position: center top;
        width: 100%;
        height: auto !important;
        aspect-ratio: 750 / 699;
        min-height: unset !important;
        margin-top: -52vw !important;
        z-index: 1;
        position: relative;
        transform: translateZ(0);
        will-change: transform;
    }
}

/* ===== 1. 外層裁切容器 (關鍵修復：徹底解鎖右側黑邊與滾動條) ===== */
.footer-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    /* 關鍵：強制裁切 140vw/160vw 伸出視窗右側的藍底 */
    position: relative;
}

/* ===== 底部藍色弧形區塊 ===== */
.blue-curve-footer {
    position: relative;
    width: 100%;
    /* 關鍵：設定為 140vw (左右兩側各 20vw 延伸至視窗外) */
    background-color: #0a7cc4;
    color: #ffffff;
    padding: 40px;
    text-align: center;
    margin-top: 0px;
    /* 向上抽拉覆蓋上方區塊底邊 */
    z-index: 10;
    /* 左右兩端擴展至視窗外後，中間留在畫面上的弧線會非常平滑飽滿 */
    border-radius: 100px 0 0 0;

}

.footer-text-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.blue-footer-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.blue-footer-desc {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

/* 手機端 RWD 微調 */
@media screen and (max-width: 768px) {
    .blue-curve-footer {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 60px;
        /* 左右兩端擴展至視窗外後，中間留在畫面上的弧線會非常平滑飽滿 */
        border-radius: 50px 0 0 0;
    }

    /* 4. 防止側邊選單在手機版定位時產生隱形寬度溢出 */
    .side-nav {
        max-width: 100vw !important;
        right: 8px !important;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-desc {
        font-size: 13px;
    }
}