:root {
    --primary-color: #124E91; /* 深蓝/警蓝 */
    --secondary-color: #2b5f9e; /* 稍浅一点的蓝色，用于渐变 */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #f0f2f5; /* 浅灰背景，更商务/政务 */
    --white: #ffffff;
    --border-radius: 4px; /* 政务风格圆角通常较小，显得严谨 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-color);
    background-image: linear-gradient(to bottom, #e6e9f0 0%, #eef1f5 100%);
    color: var(--text-color);
}

.container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 90%;
    width: 420px;
    overflow: hidden;
    position: relative;
    border-top: 5px solid var(--primary-color); /* 顶部蓝条，增加庄重感 */
}

/* 徽章样式模拟 */
.header-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.badge {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.8);
    /* 模拟警徽或国徽的轮廓 */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.badge::after {
    content: "★";
    color: #fff;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}


.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px 30px;
    color: var(--white);
}

.header-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-subtitle {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 400;
}

.content {
    padding: 40px 30px 20px;
    text-align: left;
}

.text-paragraph {
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;
    font-weight: 400;
}

.qr-wrapper {
    padding: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-box {
    padding: 10px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.qr-code {
    width: 180px;
    height: 180px;
    display: block;
}

.qr-tip {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 1px;
}

.footer {
    border-top: 1px solid #eee;
    padding: 15px;
    background-color: #f9f9f9;
}

.footer p {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
}

/* 移动端适配 */
@media (max-width: 480px) {
    body {
        background-color: var(--white); /* 移动端背景白色 */
        align-items: flex-start; /* 顶部对齐 */
    }

    .container {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        border-radius: 0;
        border-top: none; /* 移动端去掉顶部条，或者保留看喜好 */
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }
    
    .header {
        padding: 50px 20px 40px;
        flex-shrink: 0;
        /* 移动端头部可以稍微平一点 */
    }

    .content {
        padding: 30px 25px;
    }

    .qr-wrapper {
        padding-bottom: 40px;
        flex-shrink: 0;
    }

    .header-title {
        font-size: 24px;
    }

    .footer {
        margin-top: auto; /* 底部固定 */
        background-color: transparent;
        border-top: none;
        padding-bottom: 20px;
    }
}
