/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9fafb;
    color: #333;
}

/* 顶部导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #e4e5e6;
}
.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #1a0dab;
    text-decoration: none;
}
.navbar .login-btn {
    color: #1a0dab;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    border: 1px solid #1a0dab;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.navbar .login-btn:hover {
    background-color: #1a0dab;
    color: #fff;
}

/* 内容区域 */
.content-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center; /* 整体居中对齐 */
}
.resource-title {
    color: #1a0dab;
    text-decoration: none;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 10px;
}
.resource-meta {
    color: #545454;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex; /* 使用 Flexbox 实现并排布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直对齐 */
    gap: 10px; /* 使用 gap 简化间距设置 */
}
.qr-code {
    margin-top: 20px;
    display: inline-block; /* 确保二维码和提示文字整体居中 */
}
.qr-code img {
    width: 150px;
    height: 150px;
    border: 2px solid #1a0dab; /* 添加外框 */
    border-radius: 8px;
    display: block; /* 防止图片下方出现多余空白 */
    margin: 0 auto; /* 图片居中 */
}
.qr-tip {
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
    background-color: #1a0dab; /* 高亮背景色 */
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
}

/* 手机端按钮样式 */
.mobile-button {
    display: none; /* 默认隐藏 */
    margin-top: 20px;
    text-align: center; /* 按钮居中显示 */
}
.mobile-button a {
    color: #fff;
    background-color: #cc3d00;
    border: none;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.mobile-button a:hover {
    background-color: #e6b800;
}

/* 返回首页按钮样式 */
.home-button {
    margin-top: 15px;
    text-align: center;
}

.home-button a {
    color: #1a0dab;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border: 1px solid #1a0dab;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-button a:hover {
    background-color: #1a0dab;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 手机端显示按钮 */
    .mobile-button {
        display: block; /* 显示按钮 */
    }
}

/* 免责声明样式 */
.disclaimer {
    margin-top: 20px;
    font-size: 12px; /* 字号不要太大 */
    line-height: 1.5; /* 行高增加可读性 */
    color: #545454; /* 文字颜色为浅灰色 */
    background-color: #f5f5f5; /* 浅灰色背景 */
    padding: 10px; /* 内边距 */
    border-radius: 4px; /* 小圆角 */
    text-align: left; /* 左对齐 */
    white-space: pre-line; /* 支持换行符 */
}