<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网站升级中 & 传递爱心</title>
    <style>
        :root {
            --primary: #ff4757;
            --secondary: #ff7f50;
            --bg-gradient-1: #1e293b;
            --bg-gradient-2: #0f172a;
            --glass-bg: rgba(30, 41, 59, 0.6);
            --glass-border: rgba(255, 255, 255, 0.1);
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        }

        body {
            min-height: 100vh;
            background: linear-gradient(135deg, var(--bg-gradient-1), var(--bg-gradient-2));
            display: flex;
            align-items: center;
            justify-content: center;
            background-attachment: fixed;
            position: relative;
            overflow: hidden;
            color: var(--text-main);
        }

        /* Ambient background bubbles */
        .ambient {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.3;
            z-index: 0;
            animation: float 20s infinite ease-in-out alternate;
        }
        .ambient-1 {
            width: 300px;
            height: 300px;
            background: #ff4757;
            top: -50px;
            left: -100px;
        }
        .ambient-2 {
            width: 400px;
            height: 400px;
            background: #3742fa;
            bottom: -100px;
            right: -100px;
            animation-delay: -5s;
        }

        @keyframes float {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(50px, 50px) scale(1.1); }
        }

        .container {
            position: relative;
            z-index: 10;
            width: 90%;
            max-width: 580px;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 3rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            text-align: center;
            animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
            transform: translateY(20px);
        }

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

        .heart-container {
            margin-bottom: 1.5rem;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: rgba(255, 71, 87, 0.1);
            box-shadow: 0 0 30px rgba(255, 71, 87, 0.2);
            position: relative;
        }

        .heart-container::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: transparent;
            border: 1px solid rgba(255, 71, 87, 0.5);
            animation: ripple-out 2s infinite ease-out;
        }

        @keyframes ripple-out {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(1.5); opacity: 0; }
        }

        .heart {
            width: 36px;
            height: 36px;
            fill: var(--primary);
            animation: heartbeat 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
            filter: drop-shadow(0 0 10px rgba(255, 71, 87, 0.6));
        }

        @keyframes heartbeat {
            0% { transform: scale(1); }
            15% { transform: scale(1.3); }
            30% { transform: scale(1); }
            45% { transform: scale(1.15); }
            60% { transform: scale(1); }
        }

        h1 {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            background: linear-gradient(to right, #ffffff, #a5b4fc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.5px;
        }

        .status {
            display: inline-flex;
            align-items: center;
            font-size: 0.95rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            padding: 0.6rem 1.2rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .status-dot {
            width: 8px;
            height: 8px;
            background-color: #2ed573;
            border-radius: 50%;
            margin-right: 10px;
            box-shadow: 0 0 10px #2ed573;
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {
            0% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(46, 213, 115, 0); }
            100% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
        }

        .divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            margin: 2rem 0;
        }

        .charity-title {
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .charity-title svg {
            width: 22px;
            height: 22px;
            fill: currentColor;
            color: #ffa502;
        }

        .charity-desc {
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 1.8rem;
        }

        .links-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            border-radius: 14px;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;
            box-shadow: 0 10px 20px -10px rgba(255, 71, 87, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .btn-primary:before {
            content: '';
            position: absolute;
            top: 0; left: -100%; width: 50%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transform: skewX(-20deg);
            transition: 0.6s;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 25px -10px rgba(255, 71, 87, 0.7);
        }
        
        .btn-primary:hover:before {
            left: 150%;
        }

        .btn-outline {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-main);
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.25);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
        }

        .footer {
            margin-top: 2.5rem;
            font-size: 0.85rem;
            color: #64748b;
        }

        .time {
            font-family: inherit;
            background: rgba(0, 0, 0, 0.3);
            color: #e2e8f0;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 6px;
            letter-spacing: 1px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            display: inline-block;
            margin-left: 5px;
        }

        @media (max-width: 600px) {
            .container {
                padding: 2.5rem 1.5rem;
                width: 95%;
            }
            .links-grid {
                grid-template-columns: 1fr;
            }
            h1 {
                font-size: 1.8rem;
            }
        }
    </style>
</head>
<body>

    <div class="ambient ambient-1"></div>
    <div class="ambient ambient-2"></div>

    <div class="container">
        <div class="heart-container">
            <svg class="heart" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
            </svg>
        </div>

        <h1>网站升级维护中</h1>
        
        <div class="status">
            <div class="status-dot"></div>
            <span>系统正在进行优化，稍后即恢复访问</span>
        </div>

        <div class="divider"></div>

        <div class="charity-title">
            <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                <path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/>
            </svg>
            传递爱心 · 寻找走失儿童
        </div>

        <p class="charity-desc">
            在我们短暂分别的这几分钟里，您可以帮助扩散寻亲信息。<br>
            您的每一次关注，都可能是一个家庭团圆的希望。
        </p>

        <div class="links-grid">
            <a href="http://www.baobeihuijia.com/" target="_blank" class="btn btn-primary" rel="noopener noreferrer">
                宝贝回家寻亲网
            </a>
            <a href="http://www.rangaihuijia.com/" target="_blank" class="btn btn-primary" rel="noopener noreferrer">
                让爱回家公益
            </a>
            <a href="http://gongyi.qq.com/" target="_blank" class="btn btn-outline" rel="noopener noreferrer">
                腾讯联合公益
            </a>
            <a href="http://volunteer.cdn-go.cn/404/latest/404.html" target="_blank" class="btn btn-outline" rel="noopener noreferrer">
                404寻亲计划
            </a>
        </div>

        <div class="footer">
            预计恢复时间 <span class="time" id="countdown">获取中...</span>
            <div style="margin-top: 15px; font-size: 0.8rem; opacity: 0.7;">
                感谢您的理解与温情守候
            </div>
        </div>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', () => {
            // 设置一个随机的倒计时（例如15-30分钟）
            let timeInSeconds = Math.floor(Math.random() * (30 - 15 + 1) + 15) * 60;
            const display = document.querySelector('#countdown');

            function updateTimer() {
                const minutes = Math.floor(timeInSeconds / 60);
                let seconds = timeInSeconds % 60;
                
                seconds = seconds < 10 ? '0' + seconds : seconds;
                display.textContent = `${minutes}:${seconds}`;
                
                if (timeInSeconds > 0) {
                    timeInSeconds--;
                } else {
                    display.textContent = "即将恢复";
                }
            }

            updateTimer();
            setInterval(updateTimer, 1000);

            // 按钮点击波纹效果 (Ripple Effect)
            const buttons = document.querySelectorAll('.btn');
            buttons.forEach(btn => {
                btn.addEventListener('mousedown', function(e) {
                    const rect = this.getBoundingClientRect();
                    const x = e.clientX - rect.left;
                    const y = e.clientY - rect.top;

                    const ripple = document.createElement('span');
                    ripple.style.position = 'absolute';
                    ripple.style.background = 'rgba(255, 255, 255, 0.4)';
                    ripple.style.width = '100px';
                    ripple.style.height = '100px';
                    ripple.style.borderRadius = '50%';
                    ripple.style.transform = 'translate(-50%, -50%) scale(0)';
                    ripple.style.left = `${x}px`;
                    ripple.style.top = `${y}px`;
                    ripple.style.animation = 'ripple 0.6s ease-out';
                    ripple.style.pointerEvents = 'none';

                    this.appendChild(ripple);

                    setTimeout(() => {
                        ripple.remove();
                    }, 600);
                });
            });

            // 添加波纹动画CSS
            const style = document.createElement('style');
            style.innerHTML = `
                @keyframes ripple {
                    to { transform: translate(-50%, -50%) scale(3); opacity: 0; }
                }
            `;
            document.head.appendChild(style);
        });
    </script>
</body>
</html>