* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            /* 更换字体为更圆润清新的非衬线字体 */
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
        }

        body {
            /* 将深色渐变背景改为非常浅的灰蓝色渐变，提升明度 */
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            color: #333; /* 文字主色改为深灰色，提高可读性 */
            line-height: 1.6;
            min-height: 100vh;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 导航栏样式 - 改为浅色透明毛玻璃效果 */
        .navbar {
            background: rgba(255, 255, 255, 0.9); /* 半透明白色背景 */
            backdrop-filter: blur(10px);
            padding: 15px 0;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); /* 更轻量的阴影 */
            border-bottom: 1px solid rgba(255, 255, 255, 0.7);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            /* 主色调改为更清新的青色 */
            color: #2fb8ac;
            font-size: 26px;
            font-weight: 700;
            text-decoration: none;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
        }

        .logo::before {
            content: "✦ ";
            font-size: 20px;
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 30px;
            position: relative;
        }

        .nav-links a {
            color: #666; /* 导航文字颜色加深 */
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 8px 0;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            /* 下划线也改用主色调 */
            background-color: #2fb8ac;
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: #2fb8ac; /* 悬停色改为主色调 */
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a.active {
            color: #2fb8ac;
        }

        .nav-links a.active::after {
            width: 100%;
        }

        /* 查询区域样式 - 改为白色卡片式设计 */
        .balance-query {
            padding: 60px 0;
            margin: 40px auto;
            max-width: 650px;
        }

        .query-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .query-header h2 {
            color: #2c3e50; /* 标题使用更深的蓝色 */
            font-size: 32px;
            margin-bottom: 15px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .query-header p {
            color: #7f8c8d; /* 副标题使用中灰色 */
            font-size: 18px;
        }

        .query-form {
            /* 表单背景改为白色，增加轻微阴影和圆角 */
            background: #ffffff;
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.9);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .query-form:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #2c3e50; /* 标签文字颜色加深 */
            font-size: 16px;
        }

        .form-control {
            width: 100%;
            padding: 16px 20px;
            /* 输入框边框改为更细的浅灰色 */
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: #f9f9f9; /* 输入框背景改为浅灰色 */
            color: #333; /* 输入文字颜色改为深色 */
        }

        .form-control:focus {
            border-color: #2fb8ac; /* 聚焦边框色改为主色调 */
            outline: none;
            box-shadow: 0 0 0 3px rgba(47, 184, 172, 0.2);
            background: #fff;
        }

        .form-control::placeholder {
            color: #aaa; /* placeholder颜色调浅 */
        }

        .captcha-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .captcha-img {
            height: 50px;
            flex: 0 0 120px;
            /* 验证码区域样式调整 */
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            background: linear-gradient(45deg, #f5f7fa, #e4e8f0);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Courier New', monospace;
            font-size: 22px;
            font-weight: bold;
            color: #2fb8ac; /* 验证码文字颜色改为主色调 */
            cursor: pointer;
            user-select: none;
            transition: all 0.3s ease;
        }

        .captcha-img:hover {
            transform: scale(1.03);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .btn-submit {
            width: 100%;
            padding: 16px;
            /* 按钮背景色改为清新的青色渐变 */
            background: linear-gradient(45deg, #2fb8ac, #1e9c91);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
            letter-spacing: 1px;
        }

        .btn-submit:hover {
            background: linear-gradient(45deg, #1e9c91, #17857c);
            transform: translateY(-2px);
            box-shadow: 0 7px 20px rgba(47, 184, 172, 0.4);
        }

        .btn-submit:active {
            transform: translateY(0);
        }

        .query-result {
            margin-top: 40px;
            padding: 30px;
            border-radius: 12px;
            background: #ffffff; /* 结果区域背景改为白色 */
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.9);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .result-heading {
            font-size: 22px;
            color: #2fb8ac; /* 结果标题颜色改为主色调 */
            margin-bottom: 20px;
            font-weight: 600;
            text-align: center;
            letter-spacing: 0.5px;
        }

        .result-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .result-item {
            display: flex;
            flex-direction: column;
            padding: 15px;
            background: rgba(245, 247, 250, 0.7); /* 结果项背景改为浅灰色 */
            border-radius: 8px;
            border-left: 3px solid #2fb8ac; /* 左边框改为主色调 */
        }

        .result-label {
            font-size: 14px;
            color: #7f8c8d; /* 标签文字颜色改为中灰色 */
            margin-bottom: 5px;
        }

        .result-value {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50; /* 值文字颜色改为深蓝色 */
        }

        .card-status-active {
            color: #2fb8ac; /* 激活状态颜色改为主色调 */
        }

        .card-status-used {
            color: #ff6b6b; /* 已使用状态颜色改为珊瑚红 */
        }

        .hidden-item {
            display: none !important;
        }

        /* 页脚样式 - 调整为浅色 */
        .footer {
            background: rgba(255, 255, 255, 0.9); /* 页脚背景改为半透明白色 */
            backdrop-filter: blur(10px);
            color: #666; /* 页脚文字颜色改为灰色 */
            padding: 50px 0 25px;
            margin-top: 80px;
            border-top: 1px solid rgba(255, 255, 255, 0.7);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 22px;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 12px;
            color: #2fb8ac; /* 页脚标题颜色改为主色调 */
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background: #2fb8ac; /* 下划线改为主色调 */
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        .footer-column ul li::before {
            content: "•";
            color: #2fb8ac; /* 列表项圆点颜色改为主色调 */
            font-weight: bold;
            display: inline-block;
            width: 20px;
        }

        .footer-column a {
            color: #7f8c8d; /* 链接颜色改为中灰色 */
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-column a:hover {
            color: #2fb8ac; /* 链接悬停颜色改为主色调 */
            padding-left: 5px;
        }

        .footer-column p {
            line-height: 1.8;
            color: #7f8c8d; /* 段落文字颜色改为中灰色 */
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.5);
            color: #7f8c8d;
            font-size: 15px;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .balance-query {
                margin: 20px;
                padding: 30px 0;
            }

            .query-form {
                padding: 30px;
            }

            .result-details {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 480px) {
            .query-form {
                padding: 25px;
            }

            .captcha-container {
                flex-direction: column;
                align-items: stretch;
            }

            .captcha-img {
                width: 100%;
                margin-top: 10px;
            }
        }
