/* AI测验获客系统 - 样式文件 v=202604271135 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 微信生态适配 */
    -webkit-overflow-scrolling: touch; /* iOS 微信滑动流畅 */
}

#app {
    width: 100%;
    max-width: 480px;
    min-height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

/* 隐藏滚动条 */
#app::-webkit-scrollbar {
    display: none;
}

/* 移动端适配 */
@media screen and (max-width: 480px) {
    body {
        overflow-x: hidden;
        background: #f5f5f5;  /* 改为浅灰/白色，不再漏出紫色 */
    }
    
    #app {
        border-radius: 0;
        max-width: 100vw;
        width: 100vw;
        min-height: 100vh;
        background: white;  /* 确保白色背景，不透明 */
        box-shadow: none;
    }
    
    .page {
        padding: 15px 10px;
        min-height: 100vh;
        width: 100%;
        overflow-x: hidden;
        background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.15) 100%);
    }
}

.page {
    padding: 40px 15px 80px;
    min-height: 600px;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.15) 100%);
}

/* 答题页背景 */
#答题页 {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 50%, #f5f3ff 100%) !important;
}

.page.active {
    display: flex;
}

/* ==================== 封面页样式 ==================== */
.封面背景 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.封面背景图 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    display: block;
}

.封面遮罩 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.8) 100%);
}

.封面内容 {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 60px 25px 30px;
    color: white;
    text-align: center;
    overflow-y: auto;
}

.品牌标识 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.品牌图标 {
    font-size: 20px;
}

.品牌名称 {
    font-size: 14px;
    font-weight: 600;
}

.主标题 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.副标题 {
    font-size: 13px;
    color: #667eea;  /* 改为品牌紫色，与页面搭配 */
    font-weight: 600;  /* 稍微减细 */
    margin-bottom: 25px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);  /* 白色阴影，让紫字在深色背景上清晰 */
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.95);  /* 白色背景底 */
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
}

.特性卡片 {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.特性项 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 13px;
}

.特性图标 {
    font-size: 16px;
}

.数据展示 {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.数据项 {
    text-align: center;
}

.数据数字 {
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 3px;
}

.数据标签 {
    font-size: 11px;
    opacity: 0.8;
}

.安全提示 {
    margin-top: 15px;
    font-size: 11px;
    opacity: 0.7;
}

/* 开始按钮 */
.开始按钮 {
    padding: 15px 40px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.开始按钮:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 87, 108, 0.5);
}

.按钮箭头 {
    transition: transform 0.3s ease;
}

.开始按钮:hover .按钮箭头 {
    transform: translateX(5px);
}

.标题 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.副标题 {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* ==================== 痛点问题页样式 - 电影级毛玻璃 ==================== */
.痛点背景 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.85) 100%);
}

.痛点背景图 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) blur(3px) saturate(1.3);
    opacity: 0.5;
}

/* 毛玻璃遮罩层 */
.痛点遮罩 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
}

.星空动画 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(102, 126, 234, 0.8), transparent),
        radial-gradient(2px 2px at 50px 160px, rgba(240, 147, 251, 0.6), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(102, 126, 234, 0.8), transparent),
        radial-gradient(3px 3px at 160px 120px, rgba(255,255,255,0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.6;
    animation: 星空闪烁 4s ease-in-out infinite;
}

@keyframes 星空闪烁 {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* 月亮装饰 */
.痛点背景::before {
    content: '🌙';
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 60px;
    opacity: 0.3;
    animation: 月亮浮动 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

@keyframes 月亮浮动 {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.痛点内容 {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.2) 50%, rgba(240, 147, 251, 0.1) 100%);
    border-radius: 24px;
    margin: 15px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.25);
}

/* 进度指示器 */
.进度指示 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0;
}

.进度点 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

.进度点.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.进度线 {
    width: 40px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 5px;
}

.痛点标题 {
    font-size: 26px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(102, 126, 234, 0.5);
    letter-spacing: -0.5px;
}

.痛点副标题 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.痛点选项列表 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.痛点选项卡片 {
    display: flex;
    align-items: center;
    padding: 16px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.痛点选项卡片::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.痛点选项卡片:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.痛点选项卡片:hover::before {
    opacity: 1;
}

.痛点选项卡片.已选择 {
    border-color: rgba(102, 126, 234, 0.8);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.3) 100%);
    box-shadow: 
        0 0 30px rgba(102, 126, 234, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: 卡片选中光效 0.6s ease;
}

@keyframes 卡片选中光效 {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.8); }
    50% { box-shadow: 0 0 40px 10px rgba(102, 126, 234, 0.4); }
    100% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.6); }
}

.痛点图标 {
    font-size: 28px;
    margin-right: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8e0ff 100%);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.痛点选项卡片:hover .痛点图标 {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.25);
}

.痛点信息 {
    flex: 1;
}

.痛点主文字 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.痛点描述 {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.痛点箭头 {
    font-size: 20px;
    color: #ccc;
    transition: all 0.3s ease;
}

.痛点选项卡片:hover .痛点箭头 {
    color: #667eea;
    transform: translateX(5px);
}

.痛点选项 {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #333;
    width: 100%;
    text-align: left;
}

.痛点选项:hover {
    background: #e3f2fd;
    border-color: #2196f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.痛点选项:active {
    transform: scale(0.98);
}

.痛点选项.已选择 {
    background: #e3f2fd;
    border-color: #2196f3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.痛点文字 {
    flex: 1;
    font-weight: 500;
}

.特性列表 {
    margin: 30px 0;
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.特性项 {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
    padding: 8px;
    background: white;
    border-radius: 5px;
}

.开始按钮 {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.开始按钮:hover {
    transform: scale(1.02);
}

.免责声明 {
    font-size: 12px;
    color: #999;
    margin-top: 20px;
}

/* 答题页样式 */
.答题容器 {
    width: 100%;
}

/* 优化后的进度条 */
.进度条 {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.进度条::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: 进度光泽 2s infinite;
}

@keyframes 进度光泽 {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.进度 {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.进度::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
    border-radius: 0 4px 4px 0;
}

.题目数 {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    text-align: right;
}

.题目内容 {
    margin: 10px 0;
}

.题目文本 {
    font-size: 16px;
    color: #667eea;  /* 改为品牌紫色，与下一题按钮一致 */
    margin-bottom: 15px;
    font-weight: 700;  /* 加粗 */
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(102, 126, 234, 0.2);  /* 紫色阴影 */
}

.选项列表 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 10px;
}

/* 选项列表滚动条 */
.选项列表::-webkit-scrollbar {
    width: 3px;
}

.选项列表::-webkit-scrollbar-track {
    background: transparent;
}

.选项列表::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 2px;
}

.选项按钮 {
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.选项按钮:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.2) 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.选项按钮.已选择 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.5),
        0 0 0 3px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.03);
    animation: 选中脉冲 0.6s ease;
}

@keyframes 选中脉冲 {
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 30px 10px rgba(102, 126, 234, 0.3);
    }
    100% { 
        transform: scale(1.03); 
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    }
}

.下一题按钮 {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.下一题按钮:hover {
    transform: scale(1.02);
}

.下一题按钮:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* 答题按钮组 */
.答题按钮组 {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.上一题按钮 {
    flex: 1;
    padding: 15px;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.上一题按钮:hover {
    background: #e0e0e0;
    transform: scale(1.02);
}

/* ==================== 结果页样式 - 一屏显示优化 ==================== */
.结果容器 {
    text-align: center;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 5px;
}

/* 结果页滚动条美化 */
.结果容器::-webkit-scrollbar {
    width: 4px;
}

.结果容器::-webkit-scrollbar-track {
    background: transparent;
}

.结果容器::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 2px;
}

/* 锁定内容区 */
.锁定内容区 {
    margin: 20px 0;
}

.锁定模糊 {
    position: relative;
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

.锁定遮罩 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.锁定图标 {
    font-size: 32px;
    margin-bottom: 8px;
}

.锁定遮罩 span:last-child {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
}

/* 详细内容区 */
.详细内容区 {
    margin: 20px 0;
}

/* 分数圆环 */
.分数卡片 {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(102, 126, 234, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.05) inset;
    position: relative;
    overflow: hidden;
}

.分数卡片::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.分数圆环 {
    position: relative;
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.分数圆环 svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    display: block;
}

.分数圆环底 {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 8;
}

.分数圆环进度 {
    fill: none;
    stroke: url(#分数渐变);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
}

.分数数字 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.分数数字 span:first-child {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.分数总分 {
    font-size: 14px;
    color: #999;
}

.分数评价 {
    margin-top: 15px;
    font-size: 15px;
    color: #333;
    font-weight: 600;
    text-align: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.结果标题 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.结果类型 {
    font-size: 36px;
    color: #667eea;
    font-weight: bold;
    margin: 30px 0;
}

.结果详情 {
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.结果详情 h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.结果详情 p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 10px 0;
}

.继续按钮 {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
}

/* 留资表单 */
.留资表单 {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.留资表单 h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.表单说明 {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.输入框 {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.提交按钮 {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
}

.隐私说明 {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* 微结果页样式 */
.结果内容 {
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* 分享页样式 */
.分享容器 {
    text-align: center;
}

.分享标题 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.分享说明 {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.分享按钮 {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

/* 解锁提示样式 */
.解锁提示 {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.解锁提示 h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.解锁选项 {
    margin: 15px 0;
}

.解锁卡片 {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.解锁图标 {
    font-size: 48px;
    margin-bottom: 10px;
}

.解锁标题 {
    font-size: 18px;
    color: #667eea;
    font-weight: bold;
    margin-bottom: 8px;
}

.解锁说明 {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.解锁按钮 {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.解锁按钮:hover {
    transform: scale(1.02);
}

.解锁按钮:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.分隔符 {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.分隔符::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.分隔符 span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

.分享进度 {
    margin-top: 15px;
    text-align: center;
}

.分享进度 .进度条 {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

.分享进度 .进度 {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s;
}

.分享进度 p {
    font-size: 14px;
    color: #666;
}

/* 完整报告样式 */
.完整报告 {
    margin-top: 30px;
    text-align: left;
}

.报告头部 {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.报告头部 h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.报告类型 {
    font-size: 28px;
    font-weight: bold;
}

.报告内容 {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
}

.报告模块 {
    margin: 25px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.报告模块 h3 {
    font-size: 18px;
    color: #667eea;
    margin-bottom: 15px;
    font-weight: bold;
}

.报告模块 p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

.推荐模块 {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border: 2px solid #ffb6c1;
}

.推荐卡片 {
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.推荐卡片 h4 {
    font-size: 16px;
    color: #667eea;
    margin-bottom: 10px;
}

.推荐卡片 p {
    font-size: 14px;
    color: #666;
    margin: 8px 0;
}

.优惠信息 {
    color: #ff6b6b !important;
    font-weight: bold !important;
    font-size: 15px !important;
}

/* 雷达图样式 */
.雷达图 {
    margin-top: 15px;
}

.雷达维度 {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.维度名称 {
    width: 60px;
    font-size: 14px;
    color: #666;
    font-weight: bold;
}

.维度进度条 {
    flex: 1;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    margin: 0 15px;
    overflow: hidden;
}

.维度进度 {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    transition: width 0.5s;
}

.维度分数 {
    width: 50px;
    font-size: 13px;
    color: #999;
    text-align: right;
}

.小输入框 {
    margin-bottom: 8px !important;
}

/* 推荐专区样式 */
.推荐专区 {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    color: white;
}

.推荐标题 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.推荐产品列表 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.推荐产品卡片 {
    background: white;
    border-radius: 12px;
    padding: 20px;
    color: #333;
    position: relative;
}

.产品类型标签 {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.产品标题 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.产品描述 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.产品价格 {
    font-size: 15px;
    color: #f5576c;
    font-weight: bold;
    margin-bottom: 8px;
}

.产品优惠 {
    font-size: 13px;
    color: #4caf50;
    font-weight: 500;
    margin-bottom: 12px;
}

.立即查看按钮 {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.立即查看按钮:hover {
    transform: scale(1.02);
}

.推荐底部提示 {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.9;
}

/* 倒计时区域样式 */
.倒计时区域 {
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #f5576c 100%);
    border-radius: 8px;
    color: white;
    animation: 紧迫感闪烁 2s infinite;
}

.紧迫感提示 {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
}

.倒计时提示 {
    font-size: 13px;
    text-align: center;
    opacity: 0.9;
}

#名额数字 {
    font-size: 18px;
    font-weight: bold;
    color: #ffeb3b;
}

#倒计时 {
    font-size: 18px;
    font-weight: bold;
    color: #ffeb3b;
    font-family: monospace;
}

/* 旧版推荐卡片样式 */
.推荐卡片 {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    color: white;
}

.推荐卡片 h4 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.推荐卡片 p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.优惠信息 {
    color: #ffeb3b !important;
    font-weight: bold;
    margin-top: 15px !important;
    text-align: center;
    font-size: 15px !important;
}

.基础结果 {
    margin-bottom: 30px;
}

/* 分享海报弹窗样式 */
.弹窗,
.分享海报弹窗 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.弹窗遮罩 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.弹窗内容 {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: 弹窗弹出 0.3s ease-out;
}

@keyframes 弹窗弹出 {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.分享海报头部 {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.分享海报头部 h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.关闭按钮 {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.关闭按钮:hover {
    color: #333;
}

.分享海报主体 {
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    /* 微信生态适配：禁止长按弹出菜单 */
    -webkit-touch-callout: none;
    user-select: none;
    pointer-events: none;
}

.海报标题 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.海报副标题 {
    font-size: 14px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.海报二维码 {
    background: white;
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    margin: 20px 0;
}

.海报说明 {
    font-size: 16px;
    margin: 15px 0 5px;
    font-weight: bold;
}

.海报提示 {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.海报底部 {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.海报品牌 {
    font-size: 12px;
    opacity: 0.7;
}

.分享海报操作 {
    padding: 20px;
    text-align: center;
}

.保存按钮 {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    margin-bottom: 10px;
}

.保存按钮:hover {
    transform: scale(1.02);
}

.微信分享按钮 {
    width: 100%;
    padding: 15px;
    background: #07c160;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.微信分享按钮:hover {
    transform: scale(1.02);
}

.保存提示 {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* 移动端优化 */
/* ==================== 响应式设计 - 适配各种屏幕 ==================== */

/* 小屏幕手机 (320px - 480px) */

/* 超小屏幕 (小于 360px) */

/* 大屏幕手机/平板 (481px - 768px) */

/* 平板横屏/小桌面 (769px - 1024px) */

/* 桌面大屏 (大于 1024px) */

/* 横屏模式优化 */

/* iPhone X/11/12/13/14 刘海屏适配 */
@supports (padding-top: env(safe-area-inset-top)) {
    .page {
        padding-top: max(20px, env(safe-area-inset-top));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* 暗黑模式适配 */

/* 情绪激励样式 */
.情绪激励 {
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    color: #667eea;
    font-weight: bold;
    animation: 淡入 0.3s ease-out;
    border: 1px solid #e0e0e0;
}

@keyframes 淡入 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 社交分享区样式 */
.社交分享区 {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    text-align: center;
}

.炫耀文案 {
    margin-bottom: 20px;
}

.炫耀文本 {
    font-size: 18px;
    color: #667eea;
    font-weight: bold;
    margin-bottom: 10px;
}

.炫耀副文本 {
    font-size: 14px;
    color: #999;
}

.社交标签 {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.标签 {
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
}

.分享统计 {
    margin-top: 15px;
    font-size: 13px;
    color: #999;
}

.分享统计 span {
    color: #667eea;
    font-weight: bold;
}

/* 答题动画优化 */
.选项按钮 {
    animation: 选项弹入 0.4s ease-out;
}

@keyframes 选项弹入 {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.选项按钮:nth-child(1) { animation-delay: 0.1s; }
.选项按钮:nth-child(2) { animation-delay: 0.2s; }
.选项按钮:nth-child(3) { animation-delay: 0.3s; }
.选项按钮:nth-child(4) { animation-delay: 0.4s; }

/* 结果页动画 */
.结果类型 {
    animation: 放大淡入 0.6s ease-out;
}

@keyframes 放大淡入 {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.报告模块 {
    animation: 逐条显示 0.5s ease-out;
}

.报告模块:nth-child(1) { animation-delay: 0.1s; }
.报告模块:nth-child(2) { animation-delay: 0.2s; }
.报告模块:nth-child(3) { animation-delay: 0.3s; }
.报告模块:nth-child(4) { animation-delay: 0.4s; }
.报告模块:nth-child(5) { animation-delay: 0.5s; }
.报告模块:nth-child(6) { animation-delay: 0.6s; }

@keyframes 逐条显示 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 进度条动画增强 */
.进度 {
    position: relative;
    overflow: hidden;
}

.进度::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: 光泽 2s infinite;
}

@keyframes 光泽 {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 按钮点击效果 */
.开始按钮:active,
.下一题按钮:active,
.解锁按钮:active,
.分享按钮:active {
    transform: scale(0.98);
}

/* 留资表单优化 */
.输入框:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 紧迫感提示 */
.紧迫感提示 {
    color: #ff6b6b;
    font-size: 13px;
    font-weight: bold;
    margin-top: 10px;
    animation: 闪烁 2s infinite;
}

@keyframes 闪烁 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 解锁卡片悬停效果 */
.解锁卡片 {
    transition: all 0.3s ease;
}

.解锁卡片:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

/* ==================== 留资区域样式 ==================== */
.留资区 {
    margin: 20px 0;
}

.留资卡片 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.留资标题 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.留资副标题 {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.留资表单行 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.留资输入 {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.留资输入:focus {
    border-color: #667eea;
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.留资按钮 {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.留资按钮:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.分享成功区,
.留资成功区 {
    margin: 20px 0;
    padding: 25px;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px solid #4caf50;
    text-align: center;
}

.成功卡片 {
    text-align: center;
}

.成功卡片 .成功图标 {
    font-size: 48px;
    margin-bottom: 10px;
}

.成功卡片 h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 8px;
}

.成功主文案 {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.成功后续 {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    text-align: left;
}

.后续步骤 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.步骤图标 {
    font-size: 18px;
    flex-shrink: 0;
}

.步骤文字 {
    flex: 1;
}

.成功小提示 {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

/* ==================== 解锁选择区样式 - 一屏显示优化 ==================== */
.解锁选择区 {
    margin: 15px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.2) 50%, rgba(240, 147, 251, 0.1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.解锁标题 {
    font-size: 20px;
    color: #2d3748;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

.解锁副标题 {
    font-size: 14px;
    color: #718096;
    margin-bottom: 20px;
    text-align: center;
}

.解锁选项列表 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.解锁选项 {
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 255, 0.95) 100%);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.解锁选项:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 255, 1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

.解锁选项头部 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.解锁选项图标 {
    font-size: 20px;
}

.解锁选项名称 {
    font-size: 16px;
    font-weight: bold;
    color: #2d3748;
    flex: 1;
}

.解锁选项标签 {
    padding: 2px 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 11px;
    border-radius: 10px;
}

.解锁选项标签.免费标签 {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.解锁选项描述 {
    font-size: 13px;
    color: #718096;
    margin-bottom: 12px;
}

.留资表单紧凑 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.留资表单紧凑 .留资输入 {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.留资表单紧凑 .留资按钮 {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.紧迫感紧凑 {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #999;
}

.分享预览 {
    padding: 12px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-radius: 8px;
    text-align: center;
}

.分享预览文字 {
    font-size: 14px;
    color: #4caf50;
    font-weight: 500;
}

.解锁成功区 {
    margin: 20px 0;
    padding: 25px;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px solid #4caf50;
    text-align: center;
}

/* ==================== 合规功能样式 ==================== */
.合规提示 {
    margin-top: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.合规提示 a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    margin: 0 5px;
}

.合规提示 a:hover {
    color: #fff;
}

.合规弹窗内容 {
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
}

.合规内容 {
    padding: 20px;
    overflow-y: auto;
    max-height: 60vh;
}

.合规章节 {
    margin-bottom: 20px;
}

.合规章节 h4 {
    font-size: 15px;
    color: #667eea;
    margin-bottom: 10px;
    font-weight: 600;
}

.合规章节 p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.合规章节 ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.合规章节 li {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.合规底部 {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.合规底部 p {
    font-size: 12px;
    color: #999;
    margin: 5px 0;
}

/* ==================== 海报弹窗样式 ==================== */
.海报弹窗内容 {
    max-width: 360px;
    width: 90%;
}

.弹窗头部 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.弹窗头部 h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.关闭按钮 {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.关闭按钮:hover {
    color: #333;
}

/* ==================== 叙事海报样式 - 电影质感 ==================== */
.海报画布 {
    width: 280px;
    height: 500px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(180deg, #0d1b2a 0%, #1b263b 50%, #415a77 100%);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

/* 星空背景 */
.海报星空 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.海报星星 {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: 星星闪烁 3s ease-in-out infinite;
}

.海报星星:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.海报星星:nth-child(2) { top: 15%; left: 80%; animation-delay: 0.5s; }
.海报星星:nth-child(3) { top: 25%; left: 50%; animation-delay: 1s; }
.海报星星:nth-child(4) { top: 60%; left: 15%; animation-delay: 1.5s; }
.海报星星:nth-child(5) { top: 70%; left: 85%; animation-delay: 2s; }

@keyframes 星星闪烁 {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* 月光效果 */
.海报月光 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(20px);
}

/* 内容区 */
.海报内容 {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    box-sizing: border-box;
}

/* 出品方 */
.海报出品方 {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* 主视觉 */
.海报主视觉 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.海报插画 {
    position: relative;
    width: 120px;
    height: 120px;
}

.海报月亮 {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 60px;
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.海报云朵 {
    position: absolute;
    bottom: 30px;
    left: 0;
    font-size: 40px;
    opacity: 0.6;
}

.海报人物剪影 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 50px;
    opacity: 0.8;
}

/* 主标题 */
.海报主标题 {
    text-align: center;
    margin-bottom: 15px;
}

.海报标题行1 {
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 8px;
    margin-bottom: 8px;
}

.海报标题行2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* 副标题 */
.海报副标题 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.海报分隔点 {
    color: rgba(255, 255, 255, 0.3);
}

/* 描述语 */
.海报描述语 {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* 底部 */
.海报底部 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.海报二维码框 {
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.海报扫码提示 {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* 旧海报样式兼容 */
.海报背景 {
    text-align: center;
    color: white;
}

.海报品牌 {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
    display: block;
}

.海报结果 {
    margin: 20px 0;
}

.海报图标 {
    font-size: 60px;
    margin-bottom: 10px;
}

.海报类型 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.海报分数 {
    font-size: 20px;
}

.海报分数 span:first-child {
    font-size: 36px;
    font-weight: bold;
}

.海报总分 {
    font-size: 14px;
    opacity: 0.8;
}

.海报描述 {
    font-size: 14px;
    opacity: 0.95;
    margin: 15px 0;
    padding: 0 10px;
}

.海报二维码区 {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.海报二维码 {
    background: white;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.海报扫码提示 {
    font-size: 12px;
    opacity: 0.9;
}

.海报操作 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.保存海报按钮 {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.保存海报按钮:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.海报提示 {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 0;
}

/* ========== 温暖治愈动画效果 ========== */

/* 心形粒子飘动动画 */
@keyframes 心形飘动 {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0.5) rotate(20deg);
        opacity: 0;
    }
}

/* 温暖反馈出现动画 */
@keyframes 温暖出现 {
    0% {
        transform: scale(0.8) translateY(10px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* 温暖反馈消失动画 */
@keyframes 温暖消失 {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    100% {
        transform: scale(0.9) translateY(-10px);
        opacity: 0;
    }
}

/* 选项按钮温暖效果 */
.选项按钮 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.选项按钮:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.选项按钮.已选择 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.选项按钮.已选择::before {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    animation: 勾选出现 0.3s ease;
}

@keyframes 勾选出现 {
    0% { transform: translateY(-50%) scale(0); }
    50% { transform: translateY(-50%) scale(1.2); }
    100% { transform: translateY(-50%) scale(1); }
}

/* 题目切换动画 */
@keyframes 题目滑入 {
    0% {
        transform: translateX(30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.题目文本 {
    animation: 题目滑入 0.5s ease;
}

/* 进度条里程碑动画 */
@keyframes 里程碑庆祝 {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.进度条.里程碑 {
    animation: 里程碑庆祝 0.5s ease;
}

/* 温柔脉冲效果 */
@keyframes 温柔脉冲 {
    0%, 100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
}

.下一题按钮:not(:disabled) {
    animation: 温柔脉冲 2s infinite;
}

/* ==================== 场景化图文题目样式 ==================== */

/* 场景背景 */
.场景背景 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.场景图 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    filter: blur(3px);
}

.场景遮罩 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: 1;
}

/* 场景题目容器 - 严格一屏显示 */
.场景题目容器 {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #f0f4ff 0%, #f8f9ff 50%, #f5f3ff 100%);
    border-radius: 20px;
    padding: 15px 20px;
    margin: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: none;
    box-sizing: border-box;
}

/* 答题头部 */
.答题头部 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.答题头部 .进度条 {
    flex: 1;
    margin-left: 8px;
}

.返回按钮 {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid white;
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.4),
        0 0 0 2px rgba(102, 126, 234, 0.2);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.返回按钮::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: 返回按钮脉冲 2s ease-in-out infinite;
}

@keyframes 返回按钮脉冲 {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.返回按钮:hover {
    transform: scale(1.1);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.5),
        0 0 0 3px rgba(102, 126, 234, 0.3);
}

.返回按钮:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.进度信息 {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.进度信息 span:first-child {
    color: #667eea;
    font-weight: bold;
}

/* 场景插画 - 优化高度和质感 */
.场景插画 {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    border-radius: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    animation: 背景流动 8s ease infinite;
}

/* 背景流动动画 */
@keyframes 背景流动 {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 装饰星星 */
.场景插画 .装饰星星 {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    animation: 星星闪烁 2s ease-in-out infinite;
}

.场景插画 .装饰星星:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.场景插画 .装饰星星:nth-child(2) { top: 25%; right: 15%; animation-delay: 0.5s; }
.场景插画 .装饰星星:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 1s; }
.场景插画 .装饰星星:nth-child(4) { bottom: 30%; right: 10%; animation-delay: 1.5s; }

@keyframes 星星闪烁 {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* 光晕效果 */
.场景插画::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: 光晕扩散 3s ease-in-out infinite;
}

@keyframes 光晕扩散 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.3; }
}

@keyframes 光晕流动 {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* 场景标题 */
.场景标题 {
    font-size: 18px;
    color: #667eea;  /* 改为品牌紫色，与下一题按钮搭配 */
    text-align: center;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
    visibility: visible;
    text-shadow: 0 1px 3px rgba(102, 126, 234, 0.3);  /* 紫色阴影 */
}

/* 场景描述区 */
.场景描述区 {
    margin-bottom: 10px;
}

/* 场景描述 */
.场景描述文字 {
    font-size: 12px;
    color: #764ba2;  /* 深紫色，与标题形成层次 */
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.4;
    display: block;
    visibility: visible;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(118, 75, 162, 0.1);
}

/* 图文选项 - 优化布局 */
.图文选项列表 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
    padding: 5px;
}

.图文选项 {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border: 2px solid rgba(102, 126, 234, 0.15);
    border-radius: 16px;
    padding: 20px 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.图文选项::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.图文选项:hover::before {
    left: 100%;
}

.图文选项:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #e8ebff 0%, #e0e4ff 100%);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.图文选项.已选择 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: scale(1.05);
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: 图文选中脉冲 0.6s ease;
}

@keyframes 图文选中脉冲 {
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.8);
    }
    50% { 
        transform: scale(1.08); 
        box-shadow: 0 0 40px 15px rgba(102, 126, 234, 0.4);
    }
    100% { 
        transform: scale(1.05); 
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
    }
}

.图文选项.已选择 .选项图标 {
    transform: scale(1.2);
}

.图文选项.已选择 .选项文字 {
    color: white;
}

.图文选项.已选择 .选项描述 {
    color: rgba(255, 255, 255, 0.9);
}

/* 选项图标 */
.选项图标 {
    font-size: 28px;
    margin-bottom: 5px;
    display: block;
    transition: all 0.3s ease;
}

/* 选项文字 */
.选项文字 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

/* 选项描述 */
.选项描述 {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* 页面切换动画 - 电影级 */
.页面退出 {
    animation: 页面退出动画 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.页面进入 {
    animation: 页面进入动画 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes 页面退出动画 {
    0% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.95) translateX(-30px);
        filter: blur(5px);
    }
}

@keyframes 页面进入动画 {
    0% {
        opacity: 0;
        transform: scale(1.05) translateX(30px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0);
        filter: blur(0);
    }
}

/* 题目切换动画 */
.页面滑出 {
    animation: 滑出动画 0.3s ease forwards;
}

.页面滑入 {
    animation: 滑入动画 0.4s ease forwards;
}

@keyframes 滑出动画 {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50px);
    }
}

@keyframes 滑入动画 {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 电影感转场 */
.电影转场 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.电影转场.显示 {
    opacity: 1;
    pointer-events: all;
}

.转场内容 {
    text-align: center;
    color: white;
}

.转场图标 {
    font-size: 60px;
    margin-bottom: 20px;
    animation: 转场弹跳 0.6s ease;
}

.转场文字 {
    font-size: 20px;
    font-weight: 500;
}

@keyframes 转场弹跳 {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* 进度里程碑特效 */
.进度里程碑 {
    position: absolute;
    top: -30px;
    right: 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    animation: 里程碑弹出 0.5s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

@keyframes 里程碑弹出 {
    0% { transform: scale(0) translateY(10px); opacity: 0; }
    50% { transform: scale(1.1) translateY(-5px); }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* 贴心提示气泡 */
.贴心提示 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 20px;
    padding: 15px 20px;
    margin: 15px 0;
    position: relative;
    animation: 提示飘入 0.5s ease;
}

.贴心提示::before {
    content: '💝';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 20px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.贴心提示文字 {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding-left: 10px;
}

@keyframes 提示飘入 {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* 结果海报样式 */
.结果海报 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.结果海报::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: 海报光晕 4s ease-in-out infinite;
}

@keyframes 海报光晕 {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.海报标题 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.海报类型 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.海报描述 {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.海报标签 {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

/* ==================== 响应式设计 - 必须放在最后 ==================== */

/* ==================== Responsive Design ==================== */

@media (max-width: 480px) {
    #app {
        max-width: 100%;
        min-height: 100vh;
        border-radius: 0;
    }
    
    .page {
        padding: 15px 10px;
        min-height: 100vh;
        width: 100%;
        box-sizing: border-box;
        background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.15) 100%);
    }
    
    /* 答题页背景 */
    #答题页 {
        background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 50%, #f5f3ff 100%);
    }
    
    .主标题 {
        font-size: 28px;
    }
    
    .场景题目容器 {
        padding: 12px 15px 20px;
        margin: 5px 0;
        border-radius: 15px;
        height: calc(100vh - 40px);
        max-height: calc(100vh - 40px);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg, #f0f4ff 0%, #f8f9ff 50%, #f5f3ff 100%);
    }
    
    .答题头部 {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    
    .返回按钮 {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .场景插画 {
        height: 100px;
        font-size: 48px;
        margin-bottom: 10px;
    }
    
    .场景标题 {
        font-size: 16px;
        margin-bottom: 8px;
        color: #667eea;  /* 紫色，与下一题按钮搭配 */
        text-shadow: 0 1px 3px rgba(102, 126, 234, 0.3);
        font-weight: 700;
    }
    
    .场景描述 {
        font-size: 13px;
        margin-bottom: 12px;
        color: #764ba2;  /* 深紫色 */
        font-weight: 600;
    }
    
    .图文选项列表 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .图文选项 {
        padding: 14px 10px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 14px;
    }
    
    .选项图标 {
        font-size: 32px;
        margin-bottom: 6px;
    }
    
    .选项文字 {
        font-size: 13px;
        color: #333;
        font-weight: 600;
    }
    
    .选项描述 {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .下一题按钮 {
        padding: 8px;
        font-size: 13px;
        margin-top: 6px;
        flex-shrink: 0;
    }
    
    .痛点选项卡片 {
        padding: 15px;
    }
    
    .痛点图标 {
        font-size: 36px;
        width: 50px;
    }
    
    .结果海报 {
        padding: 20px;
    }
    
    .海报类型 {
        font-size: 24px;
    }
    
    .弹窗内容 {
        width: 95%;
        border-radius: 15px;
        margin: 20px auto;
    }
    
    .海报标题 {
        font-size: 20px;
    }
    
    .海报二维码 {
        padding: 10px;
    }
    
    .海报二维码 img {
        width: 180px !important;
        height: 180px !important;
    }
}

@media (max-width: 360px) {
    .主标题 {
        font-size: 24px;
    }
    
    .副标题 {
        font-size: 14px;
    }
    
    .场景插画 {
        height: 120px;
        font-size: 48px;
    }
    
    .图文选项 {
        padding: 12px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .选项图标 {
        font-size: 32px;
    }

    .选项文字 {
        font-size: 13px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    #app {
        max-width: 100%;
    }
    
    .图文选项列表 {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #app {
        max-width: 600px;
    }
}

/* ==================== 提示消息样式 - 修复文字溢出 ==================== */
.提示消息 {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 80%;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.5;
}

.提示消息.显示 {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
    .提示消息 {
        max-width: 90%;
        padding: 10px 20px;
        font-size: 13px;
        bottom: 80px;
    }
}

@media (min-width: 1025px) {
    #app {
        max-width: 480px;
        margin: 20px auto;
        min-height: 800px;
    }
    
    .page {
        min-height: 800px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .page {
        padding: 15px 20px;
    }
    
    .场景插画 {
        height: 100px;
        font-size: 48px;
    }
    
    .图文选项列表 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .图文选项 {
        padding: 12px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
    
    #app {
        background: #1e1e2e;
        color: #fff;
    }
    
    .场景题目容器 {
        background: rgba(30, 30, 46, 0.95);
        /* 保留一屏显示样式 */
        height: calc(100vh - 40px);
        max-height: calc(100vh - 40px);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .题目文本 {
        color: #667eea;  /* 紫色，与下一题按钮一致 */
        font-weight: 700;
        text-shadow: 0 1px 3px rgba(102, 126, 234, 0.2);
    }
    
    .图文选项 {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .选项文字 {
        color: #fff;
    }
}

/* ========== 移动端性能优化（禁用高耗能特效）========== */
@media screen and (max-width: 480px) {
    /* 禁用 backdrop-filter（最耗GPU的特效） */
    *,
    .答案分析,
    .题目容器,
    .解锁弹窗,
    .转场覆盖,
    .图文答题区域 {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* 禁用无限旋转/循环动画 */
    .海报光晕,
    .光晕层,
    .进度条光泽,
    .返回按钮脉冲效果,
    .星星 {
        animation: none !important;
    }

    /* 心形粒子特效禁用（JS创建，CSS层面限制） */
    .心形粒子 {
        display: none !important;
    }

    /* 简化选项hover过渡，减少重排 */
    .选项按钮,
    .图文选项,
    .痛点选项卡片 {
        transition: background 0.2s ease !important;
        transform: none !important;
    }

    /* 禁用转场动画的模糊效果 */
    .页面退出,
    .页面进入 {
        filter: none !important;
    }

    /* 进度条光泽动画禁用 */
    .进度条填充::after {
        animation: none !important;
        display: none !important;
    }
}

/* ==================== 电影级海报样式 ==================== */
.海报背景电影 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(165deg, #0f0f1a 0%, #1a1a2e 40%, #16213e 70%, #0f0f1a 100%);
    overflow: hidden;
}

.海报光晕电影 {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.15) 30%, transparent 70%);
    pointer-events: none;
}

.海报光晕左 {
    position: absolute;
    top: 20%;
    left: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.海报光晕右 {
    position: absolute;
    bottom: 10%;
    right: -20%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.海报内容电影 {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 25px 25px 20px;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

.海报顶栏 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.海报品牌电影 {
    font-size: 10px;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: 500;
}

.海报分隔线电影 {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
}

.海报主标题电影 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.海报标题小 {
    font-size: 14px;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.海报标题大字 {
    font-size: 42px;
    letter-spacing: 4px;
    font-weight: 700;
    background: linear-gradient(180deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.海报标题副 {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    margin-top: 8px;
}

/* 海报姓名区 */
.海报姓名区 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
}

.海报姓名标签 {
    font-size: 8px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
}

.海报姓名值 {
    font-size: 18px;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 1px;
}

.海报类型区 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.海报类型标签 {
    font-size: 9px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.5);
}

.海报类型名 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
}

/* 海报核心问题 */
.海报核心问题 {
    font-size: 10px;
    color: rgba(255, 200, 100, 0.9);
    margin-top: 6px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 200px;
}

/* 海报改善建议 */
.海报改善建议 {
    font-size: 10px;
    color: rgba(100, 220, 180, 0.9);
    margin-top: 4px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 200px;
}

/* 确保海报底部固定 */
.海报主标题电影 {
    flex: 0 0 auto;
}

.海报姓名区 {
    flex: 0 0 auto;
}

.海报装饰电影 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}

.海报装饰线 {
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.海报装饰点 {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4af37;
}

.海报底部电影 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    margin-top: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.海报底部左,
.海报底部右 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.海报底标签 {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

.海报底值 {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

.海报二维码电影 {
    padding: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    min-width: 72px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#二维码容器电影 {
    width: 60px;
    height: 60px;
    display: block !important;
}

#二维码容器电影 img,
#二维码容器电影 canvas {
    width: 60px !important;
    height: 60px !important;
    display: block !important;
}

/* 海报操作按钮优化 */
.海报操作 {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.保存海报按钮 {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #d4af37 0%, #b8942d 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.保存海报按钮:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.保存海报按钮:active {
    transform: translateY(0);
}




