
        /*@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&display=swap');*/

       * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html, body {
        height: 100%;
        width: 100%;
        overflow: hidden;
        touch-action: none;           /* 防止意外滾動 */
    }

    body {
        font-family: 'Noto Sans TC', sans-serif;
        background: #000;
        position: relative;
    }

    /* 底部滾動圖片層 - 使用 fixed 更穩定 */
    .scroll-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        animation: scrollUp 35s linear infinite;
        z-index: 1;
        will-change: transform;       /* 提升動畫效能 */
    }

    .scroll-bg img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        flex-shrink: 0;
    }

    @keyframes scrollUp {
        0% { transform: translateY(0); }
        100% { transform: translateY(-50%); }
    }

    /* 中層遮罩 */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(139, 0, 139, 0.78),
            rgba(0, 0, 0, 0.88)
        );
        z-index: 2;
    }

    /* Logo */
    .logo {
        position: fixed;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 20;
        color: white;
        font-size: 22px;
        font-weight: 700;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }

    /* 頂層模態框 - 改用 fixed + 更好的居中方式 */
    .modal {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 380px;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 24px;
        padding: 32px 24px;
        text-align: center;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        z-index: 10;
        transition: all 0.3s ease;
        /* 防止 iOS 彈性滾動影響 */
        overscroll-behavior: none;
    }

    .modal.shake {
        animation: shake 0.4s ease;
    }

    @keyframes shake {
        0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
        20% { transform: translate(-50%, -50%) rotate(-8deg); }
        40% { transform: translate(-50%, -50%) rotate(8deg); }
        60% { transform: translate(-50%, -50%) rotate(-5deg); }
        80% { transform: translate(-50%, -50%) rotate(5deg); }
    }

    .modal h1 {
        font-size: 28px;
        margin-bottom: 8px;
        color: #5a0066;
    }

    .modal .subtitle {
        font-size: 15px;
        color: #666;
        margin-bottom: 32px;
    }

    .modal .question {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.4;
        min-height: 80px;
        margin-bottom: 40px;
        color: #222;
    }

    .buttons {
        display: flex;
        gap: 16px;
    }

    .btn {
        flex: 1;
        padding: 16px;
        border: none;
        border-radius: 50px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-yes {
        background: linear-gradient(135deg, #ff2d95, #9c27b0);
        color: white;
    }

    .btn-no {
        background: #f0f0f0;
        color: #555;
    }

    .progress {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-bottom: 24px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background: #ddd;
        border-radius: 50%;
        transition: all 0.3s;
    }

    .dot.active {
        background: #9c27b0;
        transform: scale(1.3);
    }