<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>系统提示</title>
    <meta charset="utf-8">
    <link rel="shortcut icon" href="/at/client/resource/images/favicon.ico" type="image/x-icon">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <style>
        :root {
            --primary-grad: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            --bg-grad: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
            --card-bg: rgba(255, 255, 255, 0.85);
            --text-main: #2c3e50;
            --header-bg: transparent;
            --header-text: #333333;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            --icon-color: #ff6b6b;
        }

        body.dark-mode {
            --primary-grad: linear-gradient(135deg, #e64980 0%, #c2255c 100%);
            --bg-grad: linear-gradient(135deg, #1f0c11 0%, #3b131f 100%);
            --card-bg: rgba(30, 20, 20, 0.75);
            --text-main: #e0e0e0;
            --header-text: #e0e0e0;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            --icon-color: #ff6b6b;
        }

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

        body {
            background: var(--bg-grad);
            color: var(--text-main);
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            transition: background 0.5s ease, color 0.3s;
            background-attachment: fixed;
        }

        .header {
            width: 100%;
            background: var(--header-bg);
            color: var(--header-text);
            text-align: center;
            padding: 20px 0;
            font-size: 18px;
            font-weight: 600;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: color 0.3s;
        }

        .theme-toggle {
            position: absolute;
            right: 20px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            width: 36px;
            height: 36px;
            font-size: 18px;
            cursor: pointer;
            color: inherit;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.3s, background 0.3s;
        }

        .theme-toggle:active {
            transform: scale(0.9);
        }

        .content-card {
            background: var(--card-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            width: 88%;
            max-width: 400px;
            margin-top: 60px;
            border-radius: 20px;
            padding: 50px 30px;
            box-shadow: var(--card-shadow);
            text-align: center;
            transition: background 0.5s, box-shadow 0.3s;
        }

        .icon-box {
            position: relative;
            width: 80px;
            height: 80px;
            margin: 0 auto 30px;
        }

        .icon-box svg {
            width: 100%;
            height: 100%;
            stroke: var(--icon-color);
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            filter: drop-shadow(0 0 8px rgba(255, 107, 107, 0.4));
            animation: shake 3s infinite ease-in-out;
        }

        @keyframes shake {
            0%, 100% {
                transform: rotate(0deg) scale(1);
            }
            10%, 30%, 50%, 70%, 90% {
                transform: rotate(-5deg) scale(1.02);
            }
            20%, 40%, 60%, 80% {
                transform: rotate(5deg) scale(1.02);
            }
        }

        .status-title {
            font-size: 20px;
            font-weight: 600;
            letter-spacing: 1px;
            margin-bottom: 20px;
            color: var(--text-main);
        }

        .status-desc {
            font-size: 15px;
            color: var(--text-main);
            opacity: 0.8;
            line-height: 1.6;
        }
    </style>
</head>
<body>

<div class="header">
    <span>系统提示</span>
    <button class="theme-toggle" id="themeBtn" onclick="toggleTheme()">🌙</button>
</div>

<div class="content-card">
    <div class="icon-box">
        <svg viewBox="0 0 24 24">
            <circle cx="12" cy="12" r="10"></circle>
            <line x1="12" x2="12" y1="8" y2="12"></line>
            <line x1="12" x2="12.01" y1="16" y2="16"></line>
        </svg>
    </div>

    <div class="status-title">抱歉，出错了</div>
    <div class="status-desc">未知错误，请联系管理员！</div>
</div>

<script>
    function toggleTheme() {
        const body = document.body;
        const themeBtn = document.getElementById('themeBtn');
        body.classList.toggle('dark-mode');
        themeBtn.innerText = body.classList.contains('dark-mode') ? '☀️' : '🌙';

        if (body.classList.contains('dark-mode')) {
            themeBtn.style.background = 'rgba(0, 0, 0, 0.3)';
        } else {
            themeBtn.style.background = 'rgba(255, 255, 255, 0.2)';
        }
    }
</script>
</body>
</html>
