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

        body {
            font-family: 'Arial', sans-serif;
            background: #f5f5f5;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .loading-container {
            text-align: center;
            max-width: 600px;
            width: 100%;
        }

        /* 動畫區域 */
        .animation-area {
            width: 300px;
            height: 200px;
            background: transparent;
            margin: 0 auto 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .loading-animation {
            width: 100%;
            height: 100%;
            background-image: url('loading-frame-1.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            /* 初始狀態不啟動動畫 */
        }

        .loading-animation.animated {
            animation: frameAnimation 2s infinite;
        }

        /* PNG序列動畫 */
        @keyframes frameAnimation {
    0%    { background-image: url('../images/loading動畫_1.png'); }
    5.88% { background-image: url('../images/loading動畫_2.png'); }
    11.76% { background-image: url('../images/loading動畫_3.png'); }
    17.64% { background-image: url('../images/loading動畫_4.png'); }
    23.52% { background-image: url('../images/loading動畫_5.png'); }
    29.40% { background-image: url('../images/loading動畫_6.png'); }
    35.28% { background-image: url('../images/loading動畫_7.png'); }
    41.16% { background-image: url('../images/loading動畫_8.png'); }
    47.04% { background-image: url('../images/loading動畫_9.png'); }
    52.92% { background-image: url('../images/loading動畫_10.png'); }
    58.80% { background-image: url('../images/loading動畫_11.png'); }
    64.68% { background-image: url('../images/loading動畫_12.png'); }
    70.56% { background-image: url('../images/loading動畫_13.png'); }
    76.44% { background-image: url('../images/loading動畫_14.png'); }
    82.32% { background-image: url('../images/loading動畫_15.png'); }
    88.20% { background-image: url('../images/loading動畫_16.png'); }
    94.08% { background-image: url('../images/loading動畫_17.png'); }
    100%  { background-image: url('../images/loading動畫_17.png'); }
}

        /* 載入標籤 */
        .loading-label {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            margin-bottom: 20px;
            letter-spacing: 2px;
        }

        /* 網站相關文字 */
        .website-info {
            margin-bottom: 40px;
        }

        .website-info h2 {
            font-size: 28px;
            color: #333;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .website-info p {
            font-size: 16px;
            color: #666;
            line-height: 1.6;
            max-width: 500px;
            margin: 0 auto;
        }

        /* 進度條區域 */
        .progress-area {
            margin-top: 40px;
        }

        .progress-bar {
            width: 100%;
            max-width: 400px;
            height: 8px;
            background: #e0e0e0;
            border-radius: 4px;
            margin: 0 auto 15px;
            overflow: hidden;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #4CAF50, #45a049);
            border-radius: 4px;
            width: 0%;
            transition: width 0.3s ease;
            position: relative;
        }

        .progress-fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .progress-text {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }

        .progress-status {
            font-size: 14px;
            color: #666;
            font-style: italic;
        }

        /* 載入完成後的樣式 */
        .loading-complete {
            opacity: 0;
            transform: translateY(-20px);
            transition: all 0.5s ease;
        }

        /* 響應式設計 */
        @media (max-width: 768px) {
            .animation-area {
                width: 250px;
                height: 150px;
            }

            .loading-label {
                font-size: 20px;
            }

            .website-info h2 {
                font-size: 24px;
            }

            .website-info p {
                font-size: 14px;
            }

            .progress-text {
                font-size: 16px;
            }
        }

        /* 備用動畫（如果PNG圖片未載入） */
        .fallback-animation {
            width: 60px;
            height: 60px;
            border: 4px solid #e0e0e0;
            border-top: 4px solid #4CAF50;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

