<?php
/*****************************************************************************************/
/*                                * 免责声明 *                                            */
/*                                                                                       */
/* 作者：听风资源库 *                                                                           */
/* 1. 本软件由作者独立开发，仅供个人学习和研究使用。                                        */
/* 2. 禁止用于非法用途，否则一切法律后果由用户自行承担，作者不负责。                         */
/* 3. 未经作者许可，禁止商业交易、倒卖、转载、分发、修改、反向工程或用于未经授权的用途。      */
/* 4. 若软件源码或内容侵犯您权益，请及时联系作者处理并删除。                                 */
/* 5. 本声明最终解释权归作者所有，使用即视为同意声明内容。                                   */
/* 6. 联系方式邮箱：7691442@qq.com                                                          */
/******************************************************************************************/

if (strpos($_SERVER['REQUEST_URI'], '/admin') === 0) {
    header('Location: admin/index.php');
    exit;
}

echo '<!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>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
            background: linear-gradient(135deg, #4f6ef7 0%, #7c5cfc 50%, #a855f7 100%);
            margin: 0;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            color: #333;
            position: relative;
            overflow: hidden;
        }
        body::before {
            content: "";
            position: fixed;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 0%, transparent 50%),
                        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.07) 0%, transparent 40%);
            animation: bgShift 12s ease-in-out infinite alternate;
            pointer-events: none;
        }
        @keyframes bgShift {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(3%, 3%) rotate(5deg); }
        }
        @keyframes cardIn {
            from { opacity: 0; transform: translateY(30px) scale(0.95); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }
        .card {
            position: relative;
            background: rgba(255, 255, 255, 0.93);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            padding: 48px 36px;
            text-align: center;
            max-width: 420px;
            width: 100%;
            animation: cardIn 0.6s ease;
            border: 1px solid rgba(255,255,255,0.3);
        }
        .icon-wrap {
            width: 72px;
            height: 72px;
            background: linear-gradient(135deg, #4f6ef7, #a855f7);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            box-shadow: 0 8px 24px rgba(79,110,247,0.3);
            animation: float 3s ease-in-out infinite;
        }
        .icon-wrap svg {
            width: 36px;
            height: 36px;
            fill: #fff;
        }
        .card h1 {
            font-size: 26px;
            color: #1e293b;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: 1px;
        }
        .card h1 span {
            background: linear-gradient(135deg, #4f6ef7, #a855f7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .subtitle {
            font-size: 14px;
            color: #94a3b8;
            margin-bottom: 32px;
            line-height: 1.6;
        }
        .divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
            margin-bottom: 28px;
        }
        .contact {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 28px;
            background: linear-gradient(135deg, #4f6ef7, #7c5cfc);
            color: #fff;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 500;
            text-decoration: none;
            box-shadow: 0 4px 16px rgba(79,110,247,0.3);
            transition: all 0.25s ease;
        }
        .contact:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(79,110,247,0.4);
        }
        .contact:active {
            transform: scale(0.97);
        }
        .footer-text {
            margin-top: 24px;
            font-size: 12px;
            color: #cbd5e1;
        }
        @media (max-width: 480px) {
            .card {
                padding: 36px 24px;
                border-radius: 20px;
            }
            .card h1 {
                font-size: 22px;
            }
            .icon-wrap {
                width: 60px;
                height: 60px;
            }
            .icon-wrap svg {
                width: 30px;
                height: 30px;
            }
        }
    </style>
</head>
<body>
    <div class="card">
        <div class="icon-wrap">
            <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                <path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/>
            </svg>
        </div>
        <h1>欢迎使用 <span>听风付费进群系统</span></h1>
        <p class="subtitle">高效稳定的群组管理解决方案</p>
        <div class="divider"></div>
        <a class="contact" href="javascript:;">
            <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path>
            </svg>
            客服QQ：7691442
        </a>
        <p class="footer-text">Powered by 听风资源库</p>
    </div>
</body>
</html>';
exit;
?>