/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif;
    /* 背景渐变色，模拟原图底部淡淡的粉橘色 */
    background: linear-gradient(to bottom, #fff0eb 0%, #fff 30%, #fff5f0 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
}

.container {
    width: 100%;
    max-width: 400px; /* 限制最大宽度，适配移动端 */
    padding: 0 20px;
    text-align: center;
}

/* 顶部提示条 */
.top-banner {
    background-color: #ff6b52;
    color: white;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* 主标题 */
.main-title {
    color: #b55e3f; /* 深棕橘色 */
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* 副标题按钮 */
.sub-banner {
    background-color: #d84a2e;
    color: white;
    padding: 12px 0;
    border-radius: 25px; /* 胶囊形状 */
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(216, 74, 46, 0.2);
}

/* 二维码卡片容器 */
.qr-card {
    background-color: white;
    border: 1px solid #ffcbbd; /* 浅粉色边框 */
    border-radius: 15px;
    padding: 15px; /* 卡片内边距 */
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* 二维码图片区域 */
.qr-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* 保持正方形 */
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.qr-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px; /* 让二维码稍微离边框远一点 */
}

/* 模拟中间的放大镜图标 */
.qr-icon-overlay {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-icon-overlay svg {
    width: 30px;
    height: 30px;
    color: #333;
}

/* 二维码下方的红色文字条 */
.qr-footer {
    background-color: #fe6b56;
    color: white;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 15px;
}

/* 底部文字 */
.bottom-text {
    color: #d66143;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.8;
}