/* 1. 基础与布局；2. 首屏与按钮；3. 浮动组件；4. 领取步骤；5. 响应式 */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            background: #f0f2f5;
            padding-bottom: 80px;
        }

        .container {
            max-width: 520px;
            margin: 0 auto;
            background: #ffffff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url('stac/taipei-night-background.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            color: white;
            padding: 32px 24px 28px;
            text-align: left;
            position: relative;
        }

        .hero-badge {
            background: rgba(255, 215, 0, 0.2);
            display: inline-block;
            padding: 6px 14px;
            border-radius: 40px;
            font-size: 12px;
            font-weight: 500;
            backdrop-filter: blur(2px);
            margin-bottom: 16px;
            letter-spacing: 1px;
        }

        .hero h1 {
            font-size: 28px;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 12px;
        }

        .hero p {
            font-size: 16px;
            opacity: 0.9;
            margin-bottom: 24px;
        }

        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 24px;
            margin-top: 12px;
            font-size: 13px;
            background: rgba(0, 0, 0, 0.2);
            padding: 8px 16px;
            border-radius: 60px;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }

        .floating-counter {
            position: fixed;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1002;
            display: flex;
            flex-direction: column;
            gap: 12px;
            pointer-events: none;
        }

        .counter-card {
            background: linear-gradient(145deg, #1e2a2a, #0f1a1a);
            backdrop-filter: blur(8px);
            border-radius: 28px;
            padding: 12px 12px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(255, 215, 0, 0.3);
            pointer-events: auto;
            min-width: 110px;
            border: 1px solid rgba(255, 200, 50, 0.5);
            animation: counterGlow 0.8s ease-in-out infinite alternate;
        }

        @keyframes counterGlow {
            0% {
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(255, 215, 0, 0.3);
                transform: scale(1);
            }

            100% {
                box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 100, 0, 0.6);
                transform: scale(1.02);
            }
        }

        .counter-number {
            font-size: 28px;
            font-weight: 800;
            color: #FFC057;
            line-height: 1.2;
            letter-spacing: 1px;
        }

        .counter-label {
            font-size: 11px;
            color: #e0e0e0;
            font-weight: 500;
            margin-top: 4px;
        }

        .countdown-box {
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(12px);
            border-radius: 28px;
            padding: 10px 12px;
            text-align: center;
            border-left: 3px solid #ff884d;
            border-right: 3px solid #ff884d;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            pointer-events: auto;
        }

        .countdown-title {
            font-size: 10px;
            font-weight: 600;
            color: #ffaa66;
            letter-spacing: 1px;
            margin-bottom: 6px;
        }

        .countdown-timer {
            font-size: 20px;
            font-weight: 800;
            font-family: monospace;
            color: #fff;
            background: #2c2c2c;
            padding: 4px 8px;
            border-radius: 40px;
            display: inline-block;
            letter-spacing: 2px;
        }

        .flash {
            animation: pulseRed 0.6s ease-out;
        }

        @keyframes pulseRed {
            0% {
                text-shadow: 0 0 0px #ffaa44;
                transform: scale(1);
            }

            50% {
                text-shadow: 0 0 12px #ff6600;
                transform: scale(1.08);
                color: #ffcc55;
            }

            100% {
                text-shadow: 0 0 0px #ffaa44;
                transform: scale(1);
            }
        }

        @media (max-width: 640px) {
            .floating-counter {
                right: 8px;
                top: auto;
                bottom: 100px;
                transform: none;
                flex-direction: row;
                gap: 8px;
            }

            .counter-card {
                min-width: 95px;
                padding: 8px 8px;
            }

            .counter-number {
                font-size: 22px;
            }

            .countdown-box {
                padding: 6px 10px;
            }

            .countdown-timer {
                font-size: 16px;
            }
        }

        .section {
            padding: 28px 20px;
            border-bottom: 1px solid #eee;
        }

        .section-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 12px;
            color: #1e2a32;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .card-list {
            background: #f8fafc;
            border-radius: 20px;
            padding: 16px;
            margin-top: 12px;
        }

        .check-item {
            display: flex;
            gap: 12px;
            align-items: center;
            margin-bottom: 14px;
            font-size: 15px;
            font-weight: 500;
        }

        .check-icon {
            background: #FFC057;
            color: white;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
        }

        .btn {
            display: block;
            text-align: center;
            background: #FFC057;
            color: #1e3a2f;
            padding: 16px;
            border-radius: 60px;
            text-decoration: none;
            font-weight: 800;
            font-size: 18px;
            margin-top: 20px;
            transition: all 0.2s;
            border: none;
            width: 100%;
            cursor: pointer;
        }

        .small-text {
            font-size: 12px;
            text-align: center;
            margin-top: 12px;
            color: #6b7280;
            line-height: 1.6;
        }

        .avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background-size: cover;
            background-position: center;
            background-color: #ddd;
            flex-shrink: 0;
        }

        .fixed-btn {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: #FFC057;
            color: #1e3a2f;
            text-align: center;
            padding: 16px;
            font-weight: 800;
            font-size: 18px;
            z-index: 1000;
            box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
            cursor: pointer;
            border: none;
        }

        .popup-container {
            position: fixed;
            bottom: 100px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 360px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            z-index: 1001;
            pointer-events: none;
        }

        .popup-item {
            display: flex;
            align-items: center;
            background: white;
            padding: 10px 12px;
            border-radius: 28px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
            font-size: 13px;
            gap: 10px;
            border-left: 4px solid #FFC057;
            pointer-events: auto;
            animation: fadeUp 0.25s ease;
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(15px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== 步驟引導區 ===== */
        .steps-section {
            background: #f8faff;
            padding: 28px 20px;
            border-bottom: 1px solid #eee;
        }

        .steps-section .section-title {
            justify-content: center;
            text-align: center;
        }

        .step-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 16px;
            flex-wrap: wrap;
        }

        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: #fff;
            border-radius: 20px;
            padding: 16px 14px 14px;
            flex: 1;
            min-width: 80px;
            max-width: 130px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
            border: 1px solid #eef2f6;
            transition: transform 0.2s;
        }

        .step-item:hover {
            transform: translateY(-4px);
        }

        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(145deg, #06C755, #049a44);
            color: #fff;
            font-size: 18px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
        }

        .step-icon {
            font-size: 28px;
            margin-bottom: 4px;
        }

        .step-label {
            font-size: 13px;
            font-weight: 600;
            color: #1e2a32;
            text-align: center;
            line-height: 1.3;
        }

        .step-label small {
            display: block;
            font-weight: 400;
            font-size: 11px;
            color: #6c757d;
            margin-top: 2px;
        }

        .step-arrow {
            font-size: 22px;
            color: #06C755;
            font-weight: 300;
        }

        @media (max-width: 420px) {
            .step-item {
                min-width: 70px;
                padding: 12px 10px;
            }

            .step-number {
                width: 34px;
                height: 34px;
                font-size: 15px;
            }

            .step-icon {
                font-size: 22px;
            }

            .step-label {
                font-size: 12px;
            }

            .step-arrow {
                font-size: 16px;
            }
        }
