﻿/**
 * 帮追页面 V2 样式
 * 基于fission.css，添加渐进积分+随机惊喜特效
 */

/* ========== 动画定义 ========== */
@keyframes float3D {
    0%, 100% { 
        transform: translateY(0) rotateY(0deg) scale(1);
        filter: drop-shadow(0 10px 20px rgba(255, 107, 53, 0.4));
    }
    25% { 
        transform: translateY(-15px) rotateY(90deg) scale(1.05);
        filter: drop-shadow(0 20px 30px rgba(255, 107, 53, 0.5));
    }
    50% { 
        transform: translateY(-5px) rotateY(180deg) scale(1);
        filter: drop-shadow(0 15px 25px rgba(255, 107, 53, 0.45));
    }
    75% { 
        transform: translateY(-20px) rotateY(270deg) scale(1.08);
        filter: drop-shadow(0 25px 35px rgba(255, 107, 53, 0.55));
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-80px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes surpriseZoom {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes voicePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(33, 150, 243, 0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== 顶部3D金币区域 ========== */
.hero-section {
    position: relative;
    padding: 20px 15px 50px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #FF6B35 0%, #FF5000 30%, #F5F5F5 30%);
}

.hero-section .header-back {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(255,255,255,0.9) !important;
    border-radius: 50% !important;
    z-index: 100 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

.hero-section .header-back svg {
    fill: #FF6B35 !important;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 18px;
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-amount-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px 40px;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-amount-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.hero-amount {
    font-size: 36px;
    font-weight: bold;
    color: #FF6B35;
}

.hero-amount-unit {
    font-size: 20px;
    margin-right: 2px;
}

/* ========== 进度卡片 ========== */
.progress-card {
    background: white;
    margin: -30px 15px 15px;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.user-info-card {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35, #FF8C00);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 12px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.user-status {
    font-size: 12px;
    color: #666;
}

.stage-goal-hint {
    font-size: 12px;
    color: #FF6B35;
    font-weight: 600;
    margin-top: 4px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.stage-goal-hint.stage2 {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    color: #388E3C;
}

.stage-goal-hint strong {
    color: inherit;
    font-weight: 700;
}

.reward-tag {
    background: rgba(255,255,255,0.7);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.savings-hint {
    background: rgba(56, 142, 60, 0.15);
    color: #388E3C;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.highlight {
    color: #FF6B35;
    font-weight: bold;
}

/* 旧进度条样式 - 隐藏（改用方案B主副进度条） */
.progress-header,
.circle-progress-3d,
.progress-svg,
.progress-bg,
.progress-bar,
.circle-3d-inner,
.circle-number,
.circle-label,
.progress-info,
.progress-title,
.progress-bar-3d,
.progress-bar-fill,
.progress-text {
    /* display: none; */
}

.progress-header {
    display: none;  /* 隐藏旧的进度条，改用新的主副进度条设计 */
}

.circle-progress-3d {
    width: 80px;
    height: 80px;
    position: relative;
    margin-right: 15px;
    flex-shrink: 0;
}

/* SVG圆环 */
.progress-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: #E0E0E0;
    stroke-width: 6;
}

.progress-bar {
    fill: none;
    stroke: #FF6B35;
    stroke-width: 6;
    stroke-linecap: round;
    /* 用dasharray模拟进度 */
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    transition: stroke-dashoffset 0.5s ease;
}

.circle-3d-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.circle-number {
    font-size: 22px;
    font-weight: bold;
    color: #FF6B35;
    line-height: 1;
    margin-bottom: 2px;
}

.circle-label {
    font-size: 9px;
    color: #999;
    line-height: 1;
    white-space: nowrap;
}

.progress-info {
    flex: 1;
}

.progress-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.progress-bar-3d {
    height: 12px;
    background: #E0E0E0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #FF8C00);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 12px;
    color: #666;
}

/* ========== 第一阶段进度：左侧圆形数字 + 右侧进度条 ========== */
.first-stage-progress {
    display: flex;
    gap: 16px;
    align-items: center;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFF5E6 100%);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.first-stage-left {
    flex-shrink: 0;
}

.stage-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F65 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.stage-circle.achieved {
    background: linear-gradient(135deg, #52C41A 0%, #73D13D 100%);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.stage-num {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.stage-label {
    font-size: 11px;
    opacity: 0.9;
    margin-top: 2px;
}

.first-stage-right {
    flex: 1;
    min-width: 0;
}

.stage-reward {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    border-radius: 10px;
    border-left: 4px solid #FF6B35;
}

.stage-reward.achieved {
    background: linear-gradient(135deg, #F6FFED 0%, #E8F5D8 100%);
    border-left-color: #52C41A;
    color: #52C41A;
}

.stage-reward strong {
    color: #FF6B35;
    font-weight: 700;
}

.stage-reward.achieved strong {
    color: #52C41A;
}

.reward-highlight {
    color: #52C41A;
    font-weight: 700;
    background: rgba(82, 196, 26, 0.15);
    padding: 1px 6px;
    border-radius: 4px;
}

.first-stage-bar-wrap {
    margin-bottom: 8px;
}

.first-stage-bar {
    height: 10px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 5px;
    overflow: hidden;
}

.first-stage-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35 0%, #FF8F65 100%);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.stage-progress-info {
    font-size: 13px;
    color: #666;
}

.stage-progress-info strong {
    color: #FF6B35;
    font-weight: 700;
}

.done-text {
    color: #52C41A;
    font-weight: 600;
}

/* ========== 合并进度卡片：左侧圆形 + 右侧阶段进度 ========== */
.merged-progress-card {
    display: flex;
    gap: 16px;
    align-items: stretch;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFF5E6 100%);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.merged-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.merged-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.merged-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.merged-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F65 100%);
    color: #fff;
}

.merged-badge.achieved {
    background: linear-gradient(135deg, #9C27B0 0%, #AB47BC 100%);
}

.merged-status {
    font-size: 12px;
    color: #666;
}

.merged-target {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.merged-bar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.merged-bar {
    flex: 1;
    height: 10px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 5px;
    overflow: hidden;
}

.merged-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.merged-count {
    font-size: 13px;
    font-weight: 600;
    color: #FF6B35;
    white-space: nowrap;
}

.merged-participants {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

/* 副提示：第二阶段预览 */
.sub-progress-hint {
    background: linear-gradient(135deg, #F6FFED 0%, #E8F5D8 100%);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid rgba(82, 196, 26, 0.2);
}

.sub-hint-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.sub-hint-icon {
    font-size: 16px;
}

.sub-hint-title {
    font-size: 13px;
    color: #52C41A;
    font-weight: 600;
}

.sub-hint-content {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.sub-hint-content strong {
    color: #FF6B35;
    font-weight: 700;
}

.old-commission {
    text-decoration: line-through;
    color: #999;
}

.new-commission {
    color: #52C41A;
    font-weight: 700;
}

.sub-hint-savings {
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
}

/* ========== 方案C：游戏化进度条 ========== */
.game-progress-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.game-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.game-icon {
    font-size: 22px;
    animation: gameIconPulse 2s ease-in-out infinite;
}

@keyframes gameIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.game-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 当前等级 */
.current-rank {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.rank-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.rank-badge.rank-bronze {
    background: linear-gradient(135deg, #CD7F32 0%, #8B5A2B 100%);
    box-shadow: 0 3px 15px rgba(205, 127, 50, 0.4);
}

.rank-badge.rank-silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
    box-shadow: 0 3px 15px rgba(192, 192, 192, 0.4);
}

.rank-badge.rank-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 3px 15px rgba(255, 215, 0, 0.4);
}

.rank-badge.rank-diamond {
    background: linear-gradient(135deg, #B9F2FF 0%, #00D4FF 50%, #9B59B6 100%);
    box-shadow: 0 3px 15px rgba(0, 212, 255, 0.5);
    animation: diamondGlow 2s ease-in-out infinite;
}

@keyframes diamondGlow {
    0%, 100% { box-shadow: 0 3px 15px rgba(0, 212, 255, 0.5); }
    50% { box-shadow: 0 3px 25px rgba(0, 212, 255, 0.8), 0 0 40px rgba(155, 89, 182, 0.4); }
}

.rank-level {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

/* 经验值进度条 */
.exp-progress-wrap {
    margin-bottom: 16px;
}

.exp-progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
    position: relative;
}

.exp-progress-fill::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 4px;
    right: 4px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    border-radius: 2px;
}

.exp-fill-bronze {
    background: linear-gradient(90deg, #CD7F32 0%, #DDA15E 100%);
}

.exp-fill-silver {
    background: linear-gradient(90deg, #808080 0%, #C0C0C0 100%);
}

.exp-fill-gold {
    background: linear-gradient(90deg, #FFA500 0%, #FFD700 100%);
}

.exp-fill-diamond {
    background: linear-gradient(90deg, #9B59B6 0%, #00D4FF 100%);
}

.exp-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

/* 升级奖励预览 */
.rewards-preview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rewards-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 10px;
}

.rewards-cards {
    display: flex;
    gap: 8px;
}

.reward-card {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.reward-card.unlocked {
    background: linear-gradient(135deg, rgba(82, 196, 26, 0.2) 0%, rgba(82, 196, 26, 0.1) 100%);
    border-color: rgba(82, 196, 26, 0.4);
}

.reward-card.locked {
    opacity: 0.6;
    filter: grayscale(50%);
}

.reward-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.reward-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 4px;
}

.reward-status {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.reward-card.unlocked .reward-status {
    color: #52C41A;
    font-weight: 600;
}

/* 社会认同 */
.game-social {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.game-social strong {
    color: #FFD700;
    font-weight: 700;
}

/* 达标领取提示 */
.achievement-claim-tip {
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #F6FFED 0%, #D4F5D8 100%);
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    color: #52C41A;
    font-weight: 600;
    animation: claimPulse 2s ease-in-out infinite;
}

.achievement-claim-tip a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 700;
}

@keyframes claimPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(82, 196, 26, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(82, 196, 26, 0); }
}

.btn-help-3d {
    width: 100%;
    padding: 20px 16px;
    background: linear-gradient(135deg, #FF6B35, #FF5000);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    transition: all 0.3s ease;
    animation: btnPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 按钮脉动动画 */
@keyframes btnPulse {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
        transform: translateY(0);
    }
    50% { 
        box-shadow: 0 12px 35px rgba(255, 107, 53, 0.7);
        transform: translateY(-2px);
    }
}

/* 按钮光泽流动效果 */
.btn-help-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btnShine 2.5s ease-in-out infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-help-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

.btn-help-3d:active {
    transform: scale(0.97) translateY(0);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* 已帮追状态 - 绿色引导分享 */
.btn-help-3d:disabled {
    background: linear-gradient(135deg, #52c41a, #389e0d);
    box-shadow: 0 6px 20px rgba(82, 196, 26, 0.4);
    cursor: pointer;
    animation: shareGuidePulse 2s ease-in-out infinite;
}

@keyframes shareGuidePulse {
    0%, 100% { 
        box-shadow: 0 6px 20px rgba(82, 196, 26, 0.4);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(82, 196, 26, 0.6);
    }
}

.btn-help-3d.already-helped {
    background: linear-gradient(135deg, #52c41a, #389e0d);
    font-size: 15px;
    padding: 16px 14px;
    gap: 8px;
}

/* 发起人分享状态 - 蓝色 */
.btn-help-3d.owner-share {
    background: linear-gradient(135deg, #1890ff, #096dd9);
}

.btn-icon {
    font-size: 20px;
}

.btn-hint {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-hint-tag {
    background: linear-gradient(135deg, #FF6B35, #FF8C00);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    animation: hintPulse 2s ease-in-out infinite;
}

.btn-hint-extra {
    color: #4CAF50;
    font-weight: 500;
}

@keyframes hintPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========== 积分钱包 ========== */
.points-section {
    margin: 15px;
}

.points-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.why-help-banner {
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFF5F0, #FFF0E6);
    border-radius: 12px;
    padding: 16px;
    margin: -16px -16px 16px -16px;
    position: relative;
}

.why-help-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35, #FF5000, #FF6B35);
    border-radius: 12px 12px 0 0;
}

.why-help-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* 悬浮帮我催按钮 */
.floating-help-btn {
    position: fixed;
    top: 300px;
    right: 12px;
    width: 64px;
    height: 64px;
    z-index: 1000;
    cursor: pointer;
}

.floating-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 87, 34, 0.4);
    border-radius: 50%;
    animation: pulseRing 1.5s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.floating-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FF5722, #E64A19);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.5);
    transition: all 0.3s ease;
}

.floating-inner:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
}

.floating-inner:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.floating-icon {
    font-size: 20px;
    line-height: 1;
}

.floating-text {
    font-size: 10px;
    color: white;
    font-weight: bold;
    margin-top: 2px;
}

.why-help-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.my-points-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.my-points-display.compact {
    justify-content: space-between;
    align-items: center;
}

.points-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.vip-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.limit-text {
    font-size: 11px;
    color: #FF6B35;
    background: #FFF0E6;
    padding: 2px 8px;
    border-radius: 10px;
}

.points-num {
    font-size: 26px;
    font-weight: bold;
    color: #FF6B35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

@keyframes pointsGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 107, 53, 0.3); }
    50% { text-shadow: 0 0 20px rgba(255, 107, 53, 0.6), 0 0 30px rgba(255, 107, 53, 0.4); }
}

.points-unit {
    font-size: 14px;
    color: #999;
}

.vip-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

.vip-badge.vip-bronze {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: white;
}

.vip-badge.vip-silver {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    color: white;
}

.vip-badge.vip-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
}

.vip-badge.vip-diamond {
    background: linear-gradient(135deg, #B9F2FF, #00BCD4);
    color: #006064;
}

.points-benefits {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.points-benefits.compact {
    margin: 12px 0;
    gap: 8px;
}

.benefit-item {
    flex: 1;
    background: #FFF9E6;
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    min-width: 0;
    margin: 0 4px;
}

.benefit-item.compact {
    padding: 6px 4px;
}

.benefit-item.compact .benefit-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

.benefit-item.compact .benefit-name {
    font-size: 11px;
}

.benefit-item.compact .benefit-desc {
    display: none;
}

.benefit-item.highlight {
    background: linear-gradient(135deg, #FF5722, #FF7043);
    color: white;
    animation: highlightPulse 2s ease-in-out infinite;
    position: relative;
}

@keyframes highlightPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4); }
}

.benefit-item.highlight::after {
    content: '🔥';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 14px;
}

.benefit-item.highlight .benefit-name,
.benefit-item.highlight .benefit-desc {
    color: white;
}

.benefit-item.highlight .benefit-icon {
    font-size: 20px;
}

.benefit-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.benefit-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.benefit-desc {
    font-size: 11px;
    color: #666;
    font-weight: bold;
}

.benefit-item.highlight .benefit-desc {
    font-size: 12px;
    color: #fff;
}

/* ========== 社交证明栏（心理学核心） ========== */
.social-proof-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(90deg, #FFF5F0, #FFEDE0);
    border-radius: 20px;
    margin-top: 0;
    margin-bottom: 8px;
    border: 1px dashed #FF6B35;
    animation: socialProofSlide 0.5s ease-out;
}

@keyframes socialProofSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.social-icon {
    font-size: 16px;
    animation: fireBounce 1s ease-in-out infinite;
}

@keyframes fireBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.social-text {
    font-size: 13px;
    color: #666;
}

.social-text strong {
    color: #FF6B35;
    font-size: 15px;
}

.social-divider {
    color: #ddd;
}

.highlight-text {
    color: #FFD700 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.limit-info {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.limit-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.limit-label {
    font-size: 12px;
    color: #666;
}

.limit-num {
    font-size: 16px;
    font-weight: bold;
    color: #FF6B35;
}

.limit-unit {
    font-size: 10px;
    color: #999;
}

/* ========== 实时帮追动态 ========== */
.live-section {
    margin: 15px;
}

.live-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-left: 4px solid #FF6B35;
}

.live-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #FF6B35;
    border-radius: 50%;
    margin-right: 8px;
    animation: livePulse 1s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 107, 53, 0.5);
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.live-scroll {
    max-height: 150px;
    overflow-y: auto;
}

.live-item {
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.live-item:last-child {
    border-bottom: none;
}

.live-name {
    color: #333;
    font-weight: 500;
}

.live-amount {
    color: #FF6B35;
    font-weight: bold;
}

.live-points {
    color: #FFD700;
    font-size: 12px;
    font-weight: bold;
}

/* ========== 帮追排行榜 ========== */
.rank-section {
    margin: 15px;
}

.rank-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.rank-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.rank-list {
    max-height: 200px;
    overflow-y: auto;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-item.top {
    background: linear-gradient(90deg, #FFF9E6, #FFF3E0);
    margin: 0 -16px;
    padding: 10px 16px;
    border-radius: 8px;
}

.rank-medal {
    width: 24px;
    font-size: 16px;
    text-align: center;
}

.rank-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35, #FF8C00);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 10px;
}

.rank-info {
    flex: 1;
}

.rank-name {
    font-size: 13px;
    color: #333;
}

.rank-bonus {
    text-align: right;
}

.rank-money {
    font-size: 14px;
    font-weight: bold;
    color: #FF6B35;
}

.rank-points {
    font-size: 10px;
    color: #FFD700;
}

/* ========== 弹窗 ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.show {
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@media (max-height: 600px) {
    .modal-overlay.show {
        align-items: flex-start;
        padding-top: 20px;
    }
    .modal-box {
        max-height: 90vh;
        overflow-y: auto;
    }
}

.modal-box {
    background: white;
    border-radius: 24px;
    padding: 30px 20px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.surprise-tag {
    background: linear-gradient(135deg, #FF6B35, #FF5000);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
    animation: pulse 1s infinite;
}

.points-highlight {
    margin-bottom: 16px;
    position: relative;
}

.points-highlight.surprise {
    animation: surpriseZoom 0.5s ease-out;
}

.points-earned {
    font-size: 48px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    line-height: 1.2;
}

.points-highlight.surprise .points-earned {
    color: #FF6B35;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.8);
}

.points-label {
    font-size: 14px;
    color: #999;
}

.compare-panel {
    background: rgba(255, 152, 0, 0.08);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
    border-left: 4px solid #FF9800;
}

.compare-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}

.compare-label {
    font-size: 13px;
    color: #666;
}

.compare-diff {
    font-size: 18px;
    font-weight: bold;
    color: #FF9800;
}

.compare-diff.less {
    color: #FF9800;
}

.compare-diff.more {
    color: #4CAF50;
}

.compare-unit {
    font-size: 13px;
    color: #666;
}

.compare-hint {
    font-size: 12px;
    color: #999;
}

.modal-breakdown {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: #666;
}

.breakdown-row:last-child {
    border-top: 1px solid #eee;
    margin-top: 6px;
    padding-top: 12px;
}

.modalAmount,
.modalTotalSaved {
    font-weight: bold;
    color: #FF6B35;
}

.modalMyPoints {
    font-weight: bold;
    color: #FFD700;
}

.voice-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.voice-btn:active {
    transform: scale(0.98);
}

.voice-btn.playing {
    animation: voicePulse 1.5s infinite;
}

.voice-icon {
    font-size: 18px;
}

.modal-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FF6B35, #FF5000);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:active {
    transform: scale(0.98);
}

/* ========== 分享邀请弹窗内容 ========== */
.share-invite-box {
    text-align: center;
    padding: 8px 0;
}

.share-invite-title {
    font-size: 16px;
    font-weight: bold;
    color: #FF5722;
    margin-bottom: 8px;
}

.share-invite-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 6px;
}

.share-invite-tips {
    font-size: 12px;
    color: #999;
}

/* ========== 分享引导 ========== */
.share-guide {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.75) 100%);
    display: none;
    flex-direction: column;
    align-items: flex-end;
    padding: 80px 20px 40px;
    z-index: 10000;
    box-sizing: border-box;
}

.share-guide.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

/* 右上角虚线框 - 指示分享按钮位置 */
.share-guide::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 54px;
    height: 44px;
    border: 3px dashed #07c160;
    border-radius: 8px;
    animation: pulse-border 1.5s ease infinite;
    pointer-events: none;
    z-index: 10001;
}

/* 箭头指向右上角 */
.share-arrow {
    font-size: 70px;
    animation: bounce 1s infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
    margin-right: 70px;
    margin-top: 60px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* 虚线框脉动动画 */
@keyframes pulse-border {
    0%, 100% { border-color: #07c160; }
    50% { border-color: #0ff; }
}

.share-text {
    color: white;
    font-size: 22px;
    font-weight: bold;
    margin-top: 25px;
    text-align: center;
    width: 100%;
}

.share-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
    width: 100%;
}

/* ========== 加载状态 ========== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading.show {
    display: flex;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FF6B35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 12px;
    color: #666;
    font-size: 14px;
}

.loading-overlay-content {
    text-align: center;
}

/* ========== Toast ========== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

/* ========== 粒子特效 ========== */
.particle {
    position: absolute;
    pointer-events: none;
    animation: particleFloat 1s ease-out forwards;
}

/* ========== 多层次视觉反馈系统 ========== */

/* 1. 帮追金额数字跳动动画 */
@keyframes numberBounce {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); color: #FFD700; }
    50% { transform: scale(1.35); color: #FF5722; }
    75% { transform: scale(1.15); color: #FF9800; }
    100% { transform: scale(1); }
}

.savedAmount.animate {
    animation: numberBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 帮追人数跳动动画 */
@keyframes countBounce {
    0%, 100% { transform: translateY(0); }
    15% { transform: translateY(-10px); }
    30% { transform: translateY(-5px); }
    45% { transform: translateY(-8px); }
    60% { transform: translateY(-3px); }
    75% { transform: translateY(-6px); }
}

.helpCount.animate {
    animation: countBounce 0.5s ease;
}

/* 进度条增长动画 */
@keyframes progressGlow {
    0% { box-shadow: 0 0 5px #FF5722; }
    30% { box-shadow: 0 0 15px #FF5722, 0 0 25px #FF9800; }
    60% { box-shadow: 0 0 25px #FF5722, 0 0 35px #FF9800, 0 0 45px #FFB74D; }
    100% { box-shadow: 0 0 5px #FF5722; }
}

.cardProgressFill.animate {
    animation: progressGlow 1.2s ease;
    transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 进度条平滑增长 */
.cardProgressFill {
    transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. 惊喜粒子特效 */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.particle {
    position: absolute;
    font-size: 20px;
    pointer-events: none;
    animation: particleFloat 1s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0.3) rotate(360deg);
    }
}

/* 粒子颜色变体 */
.particle.gold { color: #FFD700; }
.particle.orange { color: #FF5722; }
.particle.pink { color: #E91E63; }
.particle.green { color: #4CAF50; }
.particle.blue { color: #2196F3; }
.particle.purple { color: #9C27B0; }

/* 3. 实时帮追动态新条目滑入动画 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.live-item-new {
    animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(90deg, #FFF3E0, transparent);
    border-radius: 8px;
    padding: 10px 8px !important;
    margin: -2px 0;
    border-left: 3px solid #FF6B35;
    position: relative;
    overflow: hidden;
}

.live-item-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.15), transparent);
    animation: newItemShine 0.8s ease-out;
}

@keyframes newItemShine {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

/* 4. 按钮点击波纹效果 */
.btn-help-3d {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 2. 积分数字滚动动画 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.points-num.animate {
    animation: countUp 0.5s ease-out;
    color: #FFD700;
}

/* 3. 进度条弹性动画 */
@keyframes progressBounce {
    0% { transform: scaleX(1); }
    50% { transform: scaleX(1.05); }
    100% { transform: scaleX(1); }
}

.progress-bar-fill.animate {
    animation: progressBounce 0.5s ease-out;
}

/* 4. 帮追数字脉冲动画 */
@keyframes cutPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.circle-number.animate {
    animation: cutPulse 0.3s ease-out;
    color: #FF5722;
}

/* 5. 视觉层次增强阴影 */
.hero-amount-box, .progress-card, .points-card, .live-card, .rank-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-amount-box:hover, .progress-card:hover, .points-card:hover, .live-card:hover, .rank-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 6. 成功徽章动画 */
.badge-success {
    position: relative;
    overflow: hidden;
}

.badge-success::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    animation: badgeShine 2s infinite;
}

@keyframes badgeShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* 7. 渐变呼吸边框 */
.border-glow {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.border-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, #FF6B35, #FF8C00, #FF6B35);
    border-radius: inherit;
    z-index: -1;
    animation: borderPulse 2s infinite;
    background-size: 200% 100%;
}

@keyframes borderPulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 8. 微交互反馈 */
.feedback-shake {
    animation: shake 0.5s ease-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.feedback-bounce {
    animation: bounce 0.5s ease-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 9. 视觉聚焦效果 */
.focus-glow {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    transition: box-shadow 0.3s ease;
}

.focus-glow:hover {
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.7);
}

/* 10. 加载进度条动画 */
.loading-bar {
    height: 4px;
    background: linear-gradient(90deg, #FF6B35 0%, #FF8C00 50%, #FF6B35 100%);
    background-size: 200% 100%;
    animation: loadingMove 2s infinite linear;
    border-radius: 2px;
}

@keyframes loadingMove {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== 积分详情按钮 ========== */
.btn-points-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    border: 1px solid #FFD54F;
    border-radius: 8px;
    color: #FF8F00;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-points-detail:hover {
    background: linear-gradient(135deg, #FFECB3, #FFE082);
    transform: translateY(-1px);
}

.btn-points-detail svg {
    fill: #FF8F00;
}

/* ========== 积分详情弹窗 ========== */
.points-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 10000;
}

.points-modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.points-modal-box {
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.points-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: white;
}

.points-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.points-modal-close {
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.points-modal-close:hover {
    background: #e0e0e0;
}

.points-modal-content {
    padding: 20px;
}

/* 积分详情头部 */
.points-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    border-radius: 12px;
    margin-bottom: 16px;
}

.points-total {
    display: flex;
    flex-direction: column;
}

.points-total .points-num {
    font-size: 32px;
    font-weight: bold;
    color: #FF8F00;
    line-height: 1;
}

.points-total .points-label {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.vip-badge-large {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: bold;
}

.vip-badge-large.vip-bronze {
    background: linear-gradient(135deg, #D7CCC8, #A1887F);
    color: white;
}

.vip-badge-large.vip-silver {
    background: linear-gradient(135deg, #CFD8DC, #90A4AE);
    color: white;
}

.vip-badge-large.vip-gold {
    background: linear-gradient(135deg, #FFD54F, #FFA000);
    color: white;
}

.vip-badge-large.vip-diamond {
    background: linear-gradient(135deg, #E1F5FE, #03A9F4);
    color: white;
}

/* 积分详情列表 */
.points-detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.points-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.points-detail-item:hover {
    background: #f0f0f0;
    transform: translateX(4px);
}

.detail-icon {
    font-size: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.detail-content {
    flex: 1;
}

.detail-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.detail-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.detail-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF9800, #FF5722);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

/* 积分详情提示 */
.points-detail-tip {
    margin-top: 16px;
    padding: 12px;
    background: #E3F2FD;
    border-radius: 8px;
    font-size: 12px;
    color: #1976D2;
    text-align: center;
}

/* ========== 新动态通知 ========== */
#newLiveNotification {
    transition: opacity 0.3s ease;
}

#newLiveNotification .notification-icon {
    font-size: 16px;
}

#newLiveNotification .notification-close {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    margin-left: 8px;
}

#newLiveNotification .notification-close:hover {
    color: white;
}

/* 新动态高亮 */
.live-item-new {
    animation: liveItemNew 0.5s ease-out;
    background: rgba(255, 107, 53, 0.08);
    padding: 12px 10px !important;
    border-radius: 8px;
    margin: -2px 0;
}

@keyframes liveItemNew {
    0% { 
        background: rgba(255, 107, 53, 0.3);
        transform: scale(1.05);
    }
    100% { 
        background: rgba(255, 107, 53, 0.08);
        transform: scale(1);
    }
}

.live-time {
    margin-left: auto;
    font-size: 11px;
    color: #999;
}

/* 通知滑入动画 */
@keyframes slideInFromTop {
    from { 
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ========== 心理学优化：目标梯度效应 ========== */
.remaining-amount {
    font-size: 28px;
    font-weight: bold;
    color: #FF6B35;
    margin: 8px 0;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
}

/* ========== 心理学优化：积分价值具体化 ========== */
.my-points-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.my-points-label {
    font-size: 14px;
    color: #666;
}

.my-points-value {
    font-size: 20px;
    font-weight: bold;
    color: #FF8F00;
}

.my-points-value .myPoints {
    font-size: 24px;
}

.my-points-value-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

/* ========== 心理学优化：胶囊式积分图标 ========== */
.points-benefits-compact {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    justify-content: center;
}

.benefit-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
}

.benefit-pill.highlight {
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    color: #FF8F00;
    font-weight: bold;
}

/* ========== 心理学优化：行动召唤区域 ========== */
.action-section {
    padding: 15px;
    text-align: center;
}

.action-section .btn-help-3d {
    width: 100%;
    max-width: 320px;
    height: 52px;
    font-size: 18px;
    border-radius: 26px;
    background: linear-gradient(135deg, #FF6B35, #FF5000);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.action-section .btn-hint {
    margin-top: 10px;
    font-size: 13px;
    color: #999;
}

.action-section .btn-hint-tag {
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    color: #FF8F00;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

/* ========== 拼多多风格胜利弹窗系统 ========== */

/* 全屏胜利弹窗遮罩 */
.victory-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    animation: overlayFadeIn 0.4s ease;
}

.victory-modal-overlay.show {
    display: flex;
}

/* ========== 即将免单弹窗（拼多多风格） ========== */
.approaching-free-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    animation: overlayFadeIn 0.4s ease;
}

.approaching-free-overlay.show {
    display: flex;
}

.approaching-main {
    position: relative;
    background: linear-gradient(180deg, #FF6B35 0%, #FF3B30 100%);
    border-radius: 24px;
    padding: 0;
    text-align: center;
    max-width: 310px;
    width: 85%;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(255, 59, 48, 0.5);
    animation: approachingPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes approachingPop {
    0% { transform: scale(0.8) translateY(50px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* 背景装饰 */
.approaching-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    pointer-events: none;
}

/* 顶部 */
.approaching-header {
    padding: 24px 20px 16px;
}

.approaching-icon {
    font-size: 48px;
    margin-bottom: 8px;
    animation: approachingBounce 0.6s ease infinite alternate;
}

@keyframes approachingBounce {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.approaching-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 帮追结果 */
.approaching-result {
    background: rgba(255,255,255,0.15);
    margin: 0 20px;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.result-icon {
    font-size: 32px;
}

.result-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.result-label {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.result-amount {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.result-points {
    font-size: 12px;
    color: #FFE082;
}

/* 进度条 */
.approaching-progress {
    padding: 20px;
}

.progress-track {
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 6px;
    position: relative;
    overflow: visible;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.progress-marker {
    position: absolute;
    top: -4px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    animation: markerPulse 1s ease infinite;
}

@keyframes markerPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}

.label-current {
    font-weight: bold;
}

.label-target {
    opacity: 0.8;
}

/* 即将免单提示 */
.approaching-tip {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    margin: 0 20px 20px;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tip-icon {
    font-size: 32px;
}

.tip-text {
    font-size: 16px;
    color: white;
    font-weight: bold;
    line-height: 1.5;
}

.tip-number {
    font-size: 28px;
    font-weight: bold;
    color: #FF3B30;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 按钮 */
.approaching-buttons {
    padding: 0 20px 20px;
}

.btn-approaching-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    color: #C62828;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-approaching-primary:active {
    transform: scale(0.98);
}

.btn-approaching-secondary {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
}

.btn-approaching-secondary:active {
    background: rgba(255,255,255,0.1);
}

/* 底部说明 */
.approaching-footer {
    background: rgba(0,0,0,0.1);
    padding: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.approaching-footer strong {
    color: #FFD700;
}

/* 关闭按钮 */
.approaching-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    cursor: pointer;
    z-index: 10;
}

/* 彩屑 */
.approaching-confetti {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.approaching-confetti-item {
    position: absolute;
    animation: confettiFall 2s ease-out forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== 即将免单弹窗 V2（心理学优化版） ========== */
.approaching-free-overlay.v2 {
    background: rgba(0, 0, 0, 0.85);
}

.approaching-free-overlay.v2.show .approaching-main.v2 {
    animation: approachingPopV2 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes approachingPopV2 {
    0% { transform: scale(0.7) translateY(100px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* 星空背景 */
.approaching-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(2px 2px at 20px 30px, white, transparent),
                radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
                radial-gradient(1px 1px at 90px 40px, white, transparent),
                radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.6), transparent),
                radial-gradient(1px 1px at 160px 120px, white, transparent);
    background-size: 200px 150px;
    animation: starsTwinkle 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes starsTwinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* V2 弹窗主体 */
.approaching-main.v2 {
    position: relative;
    background: linear-gradient(180deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    max-width: 300px;
    width: 88%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 80px rgba(79, 172, 254, 0.2),
                inset 0 0 60px rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
}

/* 顶部提示 */
.approaching-top-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    animation: fadeSlideDown 0.5s ease-out;
}

.hint-highlight {
    color: #FFD700;
    font-weight: bold;
}

.hint-divider {
    color: rgba(255,255,255,0.3);
}

.hint-normal {
    color: rgba(255,255,255,0.7);
}

@keyframes fadeSlideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 核心大字 */
.approaching-big-title {
    margin: 20px 0 24px;
    animation: titleGlow 2s ease-in-out infinite;
}

.title-glow {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #4FC3F7, #29B6F6, #03A9F4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(79, 195, 247, 0.5));
    letter-spacing: 4px;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(79, 195, 247, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(79, 195, 247, 0.8)); }
}

/* V2 进度条 */
.approaching-progress-v2 {
    margin-bottom: 24px;
    animation: fadeSlideDown 0.5s ease-out 0.2s backwards;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.progress-dot-v2 {
    width: 36px;
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-dot-v2.active {
    background: linear-gradient(90deg, #4FC3F7, #29B6F6);
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

.progress-dot-v2.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: dotShine 1.5s ease-in-out infinite;
}

@keyframes dotShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-text {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* V2 按钮 */
.approaching-buttons-v2 {
    margin-bottom: 20px;
    animation: fadeSlideDown 0.5s ease-out 0.3s backwards;
}

.btn-approaching-primary-v2 {
    position: relative;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #4FC3F7, #03A9F4);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.4);
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-approaching-primary-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.5);
}

.btn-approaching-primary-v2:active {
    transform: scale(0.98);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btnShine 2s ease-in-out infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-approaching-primary-v2 .btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-approaching-primary-v2:hover .btn-arrow {
    transform: translateX(4px);
}

/* 社会认同 */
.approaching-social-proof {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    animation: fadeSlideDown 0.5s ease-out 0.4s backwards;
}

.approaching-social-proof strong {
    color: #FFD700;
}

/* V2 关闭按钮 */
.approaching-close-v2 {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.approaching-close-v2:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* V2 粒子效果 */
.approaching-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.approaching-particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloatV2 3s ease-out forwards;
}

@keyframes particleFloatV2 {
    0% {
        transform: translateY(100%) scale(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* 弹窗容器 */
.victory-modal-container {
    position: relative;
    background: linear-gradient(135deg, #FF3B30, #FF9500);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    max-width: 320px;
    width: 85%;
    box-shadow: 0 20px 60px rgba(255, 59, 48, 0.6),
                0 0 0 15px rgba(255, 255, 255, 0.1);
    animation: victoryPopUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes victoryPopUp {
    0% { transform: scale(0.3) rotate(-10deg); opacity: 0; }
    70% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* 弹窗头部 */
.victory-modal-header {
    margin-bottom: 20px;
}

.victory-icon {
    font-size: 80px;
    color: #FFFFFF;
    text-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
    animation: iconFloat 1.5s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.victory-title {
    font-size: 32px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    margin: 15px 0;
    letter-spacing: 1px;
}

.victory-subtitle {
    font-size: 18px;
    color: #FFECB3;
    margin-bottom: 25px;
}

/* 核心成就区域 */
.victory-achievement {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 25px;
    margin: 20px 0;
    border: 3px dashed rgba(255, 255, 255, 0.3);
}

.achievement-amount {
    font-size: 48px;
    font-weight: bold;
    color: #FFEC3D;
    text-shadow: 0 4px 12px rgba(255, 236, 61, 0.5);
    animation: amountShine 2s infinite;
    margin-bottom: 5px;
}

@keyframes amountShine {
    0%, 100% { text-shadow: 0 4px 12px rgba(255, 236, 61, 0.5); }
    50% { text-shadow: 0 4px 20px rgba(255, 236, 61, 0.8), 0 0 30px rgba(255, 236, 61, 0.4); }
}

.achievement-label {
    font-size: 16px;
    color: #FFECB3;
    margin-bottom: 15px;
}

/* 进度提升 */
.victory-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    margin: 15px 0;
}

.progress-up {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.progress-up-icon {
    font-size: 24px;
    color: #4CD964;
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.progress-up-text {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: bold;
}

.progress-bar-big {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill-big {
    height: 100%;
    background: linear-gradient(90deg, #4CD964, #34C759);
    border-radius: 6px;
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 奖励区域 */
.victory-rewards {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.reward-title {
    font-size: 18px;
    color: #FFECB3;
    margin-bottom: 15px;
    font-weight: bold;
}

.reward-items {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.reward-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 10px;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: rewardFlip 0.6s ease-out backwards;
}

@keyframes rewardFlip {
    0% { transform: rotateY(90deg); opacity: 0; }
    100% { transform: rotateY(0); opacity: 1; }
}

.reward-item:nth-child(1) { animation-delay: 0.2s; }
.reward-item:nth-child(2) { animation-delay: 0.4s; }
.reward-item:nth-child(3) { animation-delay: 0.6s; }

.reward-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.reward-name {
    font-size: 14px;
    color: #FFFFFF;
    font-weight: bold;
}

.reward-value {
    font-size: 20px;
    color: #FFEC3D;
    font-weight: bold;
}

/* 操作按钮 */
.victory-actions {
    margin-top: 25px;
}

.btn-victory-primary {
    background: linear-gradient(135deg, #4CD964, #34C759);
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    padding: 16px 40px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(76, 217, 100, 0.4);
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 15px;
}

.btn-victory-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(76, 217, 100, 0.6);
}

.btn-victory-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 14px 30px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-victory-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* 特效元素 */
.victory-sparkle {
    position: absolute;
    font-size: 20px;
    color: #FFEC3D;
    pointer-events: none;
    animation: sparkleFly 1.5s ease-out forwards;
}

@keyframes sparkleFly {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--sparkle-x, 100px), var(--sparkle-y, -100px)) rotate(360deg);
        opacity: 0;
    }
}

.confetti {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    pointer-events: none;
    animation: confettiFall 2s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(400px) rotate(720deg);
        opacity: 0;
    }
}

/* 弹窗类型变体 */
.victory-modal-container.type-milestone {
    background: linear-gradient(135deg, #5AC8FA, #34C759);
    box-shadow: 0 20px 60px rgba(90, 200, 250, 0.6),
                0 0 0 15px rgba(255, 255, 255, 0.1);
}

.victory-modal-container.type-reward {
    background: linear-gradient(135deg, #FF9500, #FFCC00);
    box-shadow: 0 20px 60px rgba(255, 149, 0, 0.6),
                0 0 0 15px rgba(255, 255, 255, 0.1);
}

.victory-modal-container.type-bonus {
    background: linear-gradient(135deg, #AF52DE, #FF2D55);
    box-shadow: 0 20px 60px rgba(175, 82, 222, 0.6),
                0 0 0 15px rgba(255, 255, 255, 0.1);
}

/* ========== 拼多多风格奖励弹窗 (新版) ========== */

/* 顶部和底部装饰 */
.victory-top-decoration {
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1;
}

.decoration-left, .decoration-right {
    font-size: 24px;
    color: #FFEC3D;
    animation: twinkle 1.5s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

.victory-bottom-decoration {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: dotPulse 2s infinite;
}

.decoration-dot:nth-child(1) { animation-delay: 0s; }
.decoration-dot:nth-child(2) { animation-delay: 0.3s; }
.decoration-dot:nth-child(3) { animation-delay: 0.6s; }
.decoration-dot:nth-child(4) { animation-delay: 0.9s; }

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* 弹窗主内容布局 */
.victory-main-content {
    position: relative;
    z-index: 2;
}

.victory-icon-wrapper {
    margin-bottom: 15px;
    text-align: center;
}

.victory-icon-ring {
    display: inline-flex;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.4);
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(255, 193, 7, 0.6);
    animation: ringGlow 2s infinite alternate;
}

@keyframes ringGlow {
    0% { box-shadow: 0 0 40px rgba(255, 193, 7, 0.6); }
    100% { box-shadow: 0 0 60px rgba(255, 193, 7, 0.8), 0 0 80px rgba(255, 193, 7, 0.4); }
}

.victory-icon {
    font-size: 50px;
    color: #FFFFFF;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 标题区域 */
.victory-title-section {
    text-align: center;
    margin-bottom: 25px;
}

.victory-title {
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FFFFFF, #FFECB3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.victory-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

/* 奖励卡片 */
.victory-reward-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    padding: 25px 20px;
    margin: 20px 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.victory-reward-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    animation: cardShine 3s infinite linear;
}

@keyframes cardShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.reward-card-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.reward-card-content {
    text-align: center;
}

.achievement-amount {
    font-size: 56px;
    font-weight: 900;
    color: #FFEC3D;
    text-shadow: 0 4px 15px rgba(255, 236, 61, 0.6);
    line-height: 1;
    margin-bottom: 5px;
    animation: amountPulse 1.5s infinite alternate;
}

@keyframes amountPulse {
    0% { transform: scale(1); text-shadow: 0 4px 15px rgba(255, 236, 61, 0.6); }
    100% { transform: scale(1.05); text-shadow: 0 6px 20px rgba(255, 236, 61, 0.8), 0 0 30px rgba(255, 236, 61, 0.4); }
}

.achievement-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.reward-card-footer {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 10px;
}

/* 进度卡片 */
.victory-progress-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    display: none; /* 默认隐藏，需要时显示 */
}

.progress-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.progress-icon {
    font-size: 24px;
    color: #4CD964;
}

.progress-title {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 500;
}

.progress-bar-big-wrapper {
    position: relative;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #4CD964, #34C759);
    border-radius: 10px;
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.progress-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #FFFFFF;
    font-weight: bold;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 额外奖励网格 */
.victory-extra-rewards {
    margin: 25px 0;
    display: none; /* 默认隐藏，有额外奖励时显示 */
}

.extra-rewards-title {
    font-size: 18px;
    color: #FFECB3;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.extra-rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.reward-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: rewardFlip 0.6s ease-out backwards;
}

.reward-icon {
    font-size: 28px;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.reward-name {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
    font-weight: 500;
}

.reward-value {
    font-size: 18px;
    color: #FFEC3D;
    font-weight: 700;
}

/* 操作按钮区域 */
.victory-action-buttons {
    margin: 30px 0 20px;
}

.btn-victory-primary {
    background: linear-gradient(135deg, #FF3B30, #FF9500);
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 59, 48, 0.4);
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-victory-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 59, 48, 0.6);
}

.btn-victory-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    animation: btnShine 2s infinite linear;
}

@keyframes btnShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-victory-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 16px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-victory-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
    font-size: 20px;
}

.btn-text {
    font-weight: 600;
}

/* 底部提示 */
.victory-bottom-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.hint-icon {
    font-size: 20px;
    color: #FFEC3D;
}

.hint-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .victory-modal-container {
        padding: 30px 20px;
        width: 90%;
    }
    
    .victory-title {
        font-size: 28px;
    }
    
    .achievement-amount {
        font-size: 48px;
    }
    
    .extra-rewards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .btn-victory-primary,
    .btn-victory-secondary {
        padding: 16px 15px;
        font-size: 16px;
    }
    
    .victory-icon-ring {
        width: 80px;
        height: 80px;
    }
    
    .victory-icon {
        font-size: 40px;
    }
}

/* ========== 达标进度区域 ========== */
.achievement-section {
    padding: 16px;
    margin: 12px 16px;
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    border-radius: 16px;
    border: 2px solid #FFD54F;
}

.achievement-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.achievement-icon {
    font-size: 20px;
    animation: achievementPulse 1.5s ease-in-out infinite;
}

@keyframes achievementPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.achievement-title {
    font-size: 16px;
    font-weight: bold;
    color: #FF8F00;
}

.achievement-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.achievement-progress-bar {
    height: 12px;
    background: #E0E0E0;
    border-radius: 6px;
    overflow: hidden;
    margin: 12px 0;
}

.achievement-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF9800, #FF5722);
    border-radius: 6px;
    transition: width 0.5s ease;
    position: relative;
}

.achievement-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.achievement-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.achievement-count {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.achievement-count .currentCount {
    color: #FF5722;
    font-weight: bold;
    font-size: 18px;
}

.achievement-count .targetCount {
    color: #666;
}

.achievement-target {
    font-size: 12px;
    color: #FF8F00;
}

.achievement-hint {
    font-size: 14px;
    color: #FF5722;
    font-weight: bold;
    text-align: center;
    padding: 8px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border-radius: 8px;
    margin-top: 8px;
}

.btn-share-achievement {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FF5722, #E64A19);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
    transition: all 0.3s ease;
}

.btn-share-achievement:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
}

.btn-share-achievement:active {
    transform: scale(0.98);
}

/* ========== 简短达标提示（替代大面积卡片） ========== */
.compact-achievement-hint {
    margin-top: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    border-radius: 20px;
    border: 1px solid #FFD54F;
}

.hint-progress-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hint-dots {
    display: flex;
    gap: 6px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E0E0E0;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.5);
}

.progress-dot.qualified {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.hint-text-small {
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

.hint-text-small a {
    color: #4CAF50;
    font-weight: bold;
    text-decoration: underline;
}

.hint-text-small a:hover {
    color: #388E3C;
}

/* ========== 动态阶段卡片（替换式） ========== */
.dynamic-stage-card {
    margin-top: 12px;
}

.stage-current {
    background: linear-gradient(135deg, #FFF9E6, #FFF3CD);
    border-radius: 12px;
    padding: 14px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stage-achieved {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.stage-achieved-icon {
    font-size: 32px;
    margin-bottom: 6px;
}

.stage-achieved-title {
    font-size: 16px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 4px;
}

.stage-achieved-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.stage-achieved-helps {
    font-size: 11px;
    color: #999;
}

.stage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.stage-badge {
    font-size: 10px;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.stage-status {
    font-size: 10px;
    color: #999;
}

.stage-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.stage-desc {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
}

.stage-progress-bar {
    height: 6px;
    background: #E0E0E0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.stage-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.stage-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    margin-bottom: 6px;
}

.stage-participants {
    font-size: 10px;
    color: #999;
    padding-top: 6px;
    border-top: 1px dashed #ddd;
}

/* ========== 第二阶段进度条 ========== */
.stage2-progress {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #A5D6A7;
    animation: fadeIn 0.5s ease;
}

.stage2-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stage2-icon {
    font-size: 18px;
}

.stage2-title {
    font-size: 14px;
    font-weight: bold;
    color: #2E7D32;
}

.stage2-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.stage2-bar-bg {
    flex: 1;
    height: 10px;
    background: #E0E0E0;
    border-radius: 5px;
    overflow: hidden;
}

.stage2-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF9800, #FF5722);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.stage2-bar-text {
    font-size: 14px;
    font-weight: bold;
    color: #E65100;
    white-space: nowrap;
}

.stage2-current {
    color: #FF5722;
}

.stage2-target {
    color: #666;
}

.stage2-desc {
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* ========== 第三阶段进度条 ========== */
.stage3-progress {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #64B5F6;
    animation: fadeIn 0.5s ease;
}

.stage3-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stage3-icon {
    font-size: 18px;
}

.stage3-title {
    font-size: 14px;
    font-weight: bold;
    color: #1565C0;
}

.stage3-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.stage3-bar-bg {
    flex: 1;
    height: 10px;
    background: #E0E0E0;
    border-radius: 5px;
    overflow: hidden;
}

.stage3-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.stage3-bar-text {
    font-size: 14px;
    font-weight: bold;
    color: #2E7D32;
    white-space: nowrap;
}

.stage3-current {
    color: #4CAF50;
}

.stage3-target {
    color: #666;
}

.stage3-desc {
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* ========== 第四阶段进度条 ========== */
.stage4-progress {
    background: linear-gradient(135deg, #F3E5F5, #E1BEE7);
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #AB47BC;
    animation: fadeIn 0.5s ease;
}

.stage4-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stage4-icon {
    font-size: 18px;
}

.stage4-title {
    font-size: 14px;
    font-weight: bold;
    color: #7B1FA2;
}

.stage4-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.stage4-bar-bg {
    flex: 1;
    height: 10px;
    background: #E0E0E0;
    border-radius: 5px;
    overflow: hidden;
}

.stage4-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #9C27B0, #E91E63);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.stage4-bar-text {
    font-size: 14px;
    font-weight: bold;
    color: #7B1FA2;
    white-space: nowrap;
}

.stage4-current {
    color: #9C27B0;
}

.stage4-target {
    color: #666;
}

.stage4-desc {
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* ========== 里程碑弹窗（拼多多风格） ========== */
.milestone-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    animation: fadeIn 0.3s ease;
}

.milestone-modal {
    position: relative;
    width: 280px;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    overflow: hidden;
    animation: milestonePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes milestonePop {
    0% { transform: scale(0.5) rotate(-5deg); opacity: 0; }
    70% { transform: scale(1.05) rotate(2deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.milestone-content {
    position: relative;
    z-index: 2;
}

.milestone-icon-ring {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    animation: iconBounce 0.8s ease-out;
}

@keyframes iconBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.milestone-icon {
    font-size: 40px;
    animation: iconShake 0.5s ease-out 0.3s;
}

@keyframes iconShake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.milestone-title {
    font-size: 26px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
    animation: titleSlide 0.5s ease-out 0.2s backwards;
}

@keyframes titleSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.milestone-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    animation: titleSlide 0.5s ease-out 0.3s backwards;
}

.milestone-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
    animation: statsSlide 0.5s ease-out 0.4s backwards;
}

@keyframes statsSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #FFEB3B;
    text-shadow: 0 2px 6px rgba(255, 235, 59, 0.4);
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.milestone-btn {
    width: 100%;
    padding: 14px 20px;
    background: white;
    color: #333;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: btnSlide 0.5s ease-out 0.5s backwards;
}

@keyframes btnSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.milestone-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.milestone-btn:active {
    transform: scale(0.98);
}

/* 彩屑容器 */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.confetti-particle {
    position: absolute;
    top: -20px;
    border-radius: 50%;
    animation: confettiFall 2s ease-in forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(350px) rotate(720deg);
        opacity: 0;
    }
}

/* 弹窗淡出动画 */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ========== 达标弹窗特殊样式 ========== */
.victory-modal-container.type-qualified {
    background: linear-gradient(135deg, #FF5722, #E91E63, #9C27B0);
    box-shadow: 0 20px 60px rgba(255, 87, 34, 0.6),
                0 0 0 15px rgba(255, 255, 255, 0.1);
}

.victory-modal-container.type-qualified .victory-title {
    font-size: 36px;
    background: linear-gradient(135deg, #FFEB3B, #FFC107, #FF9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: qualifiedTitle 1s ease-in-out infinite alternate;
}

@keyframes qualifiedTitle {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.victory-modal-container.type-qualified .achievement-amount {
    font-size: 64px;
    color: #FFEB3B;
    text-shadow: 0 4px 20px rgba(255, 235, 59, 0.8);
}

.victory-modal-container.type-qualified .achievement-label {
    font-size: 20px;
    color: white;
    font-weight: bold;
}

/* 优惠券样式 */
.victory-coupon-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-radius: 16px;
    padding: 20px;
    margin: 15px 0;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.victory-coupon-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    animation: cardShine 3s infinite linear;
}

.victory-coupon-card .coupon-name {
    font-size: 18px;
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

.victory-coupon-card .coupon-status {
    font-size: 24px;
    color: #4CAF50;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.victory-coupon-card .coupon-value {
    font-size: 32px;
    color: #FFEB3B;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(255, 235, 59, 0.5);
}

.victory-coupon-card .coupon-expire {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
}

/* 达标成功特效 */
@keyframes qualifiedCelebrate {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.victory-modal-container.type-qualified {
    animation: qualifiedCelebrate 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========== 达标瞬间特殊动画 ========== */

/* 达标区域庆祝闪烁 */
@keyframes achievementGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
        background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    }
    50% {
        box-shadow: 0 0 30px rgba(76, 175, 80, 0.8), 0 0 50px rgba(255, 193, 7, 0.4);
        background: linear-gradient(135deg, #FFF9C4, #FFECB3);
    }
}

.achievement-celebrate {
    animation: achievementGlow 0.5s ease-in-out 3;
}

/* 页面震动效果 */
@keyframes celebrateShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.celebrate-shake {
    animation: celebrateShake 0.5s ease-in-out;
}

/* 券图标入场动画 */
@keyframes couponIconEntrance {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.3) rotate(10deg);
        opacity: 1;
    }
    70% {
        transform: scale(0.9) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.coupon-icon-entrance {
    animation: couponIconEntrance 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 金额放大跳动动画 */
@keyframes amountZoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    40% {
        transform: scale(1.4);
        opacity: 1;
        color: #FFD700;
    }
    60% {
        transform: scale(0.8);
        color: #FF9800;
    }
    80% {
        transform: scale(1.1);
        color: #FFEB3B;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.amount-zoom-in {
    animation: amountZoomIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 达标进度条庆祝动画 */
@keyframes progressCelebrate {
    0% { width: var(--previous-width, 0%); }
    100% { width: var(--current-width, 100%); }
}

.achievement-fill-celebrate {
    animation: progressCelebrate 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #CDDC39);
    background-size: 200% 100%;
    animation: progressCelebrate 1s cubic-bezier(0.34, 1.56, 0.64, 1),
               gradientShift 0.5s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ========== 帮追成功弹窗 (cut-success-modal) ========== */
.cut-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;  /* 默认隐藏 */
    align-items: center;
    justify-content: center;
}

/* 显示弹窗 */
.cut-success-modal.show {
    display: flex;
    animation: cutSuccessFadeIn 0.3s ease;
}

@keyframes cutSuccessFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cut-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    animation: overlayFadeIn 0.3s ease;
}

.cut-success-content {
    position: relative;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53, #FFB347);
    border-radius: 24px;
    padding: 30px 25px;
    max-width: 320px;
    width: 85%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.5),
                0 0 0 8px rgba(255, 255, 255, 0.1);
    animation: cutSuccessPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

@keyframes cutSuccessPop {
    0% { transform: scale(0.7) translateY(50px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.cut-success-icon {
    font-size: 60px;
    margin-bottom: 10px;
    animation: cutBounce 0.8s ease infinite alternate;
}

@keyframes cutBounce {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

.cut-success-title {
    font-size: 28px;
    font-weight: 900;
    color: white;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.cut-success-result {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
}

.cut-result-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cut-result-item:last-child {
    margin-bottom: 0;
}

.cut-result-icon {
    font-size: 24px;
}

.cut-result-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.cut-result-amount {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.cut-result-points {
    font-size: 20px;
    font-weight: bold;
    color: #4FC3F7;
    text-shadow: 0 2px 8px rgba(79, 195, 247, 0.4);
}

.cut-success-progress {
    margin-bottom: 20px;
}

.cut-progress-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cut-progress-current {
    font-size: 20px;
    font-weight: bold;
    color: #FFD700;
}

.cut-progress-sep {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.cut-progress-target {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.cut-progress-tip {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
}

.cut-progress-tip strong {
    color: #FFD700;
    font-size: 18px;
}

.cut-success-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #C62828;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.cut-success-btn:active {
    transform: scale(0.98);
}

.cut-success-btn-secondary {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cut-success-btn-secondary:active {
    background: rgba(255, 255, 255, 0.1);
}

.cut-success-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.cut-success-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========== 任务列表区域 ========== */
.task-list-section {
    padding: 0 15px 15px;
}

.task-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.task-list-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.task-list-subtitle {
    font-size: 12px;
    color: #999;
}

.task-list-card {
    background: white;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.task-item:last-child {
    margin-bottom: 0;
}

.task-item:active {
    transform: scale(0.98);
}

.task-item.completed {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-color: #a5d6a7;
}

.task-item.locked {
    opacity: 0.6;
}

.task-item.ad-task {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-color: #ffcc80;
}

.task-icon {
    font-size: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.task-item.completed .task-icon {
    background: #4caf50;
}

.task-item.completed .task-icon::after {
    content: '✓';
    position: absolute;
    font-size: 14px;
    color: white;
}

.ad-icon {
    background: #ff9800 !important;
}

.task-content {
    flex: 1;
    min-width: 0;
}

.task-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.task-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.task-reward {
    font-size: 12px;
    color: #ff5722;
    font-weight: 500;
}

.task-progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.task-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9800, #ff5722);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.task-item.completed .task-progress-fill {
    background: linear-gradient(90deg, #4caf50, #8bc34a);
}

.task-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.task-target {
    font-size: 11px;
    color: #666;
}

.task-count {
    font-size: 11px;
    color: #999;
}

.task-action-btn {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.task-action-btn.active {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

.task-action-btn.active:hover {
    transform: scale(1.05);
}

.task-action-btn.done {
    background: #4caf50;
    color: white;
}

.task-action-btn.disabled,
.task-action-btn:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.ad-task .task-action-btn {
    background: linear-gradient(135deg, #ff9800, #ffc107);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.ad-task .task-action-btn:hover {
    transform: scale(1.05);
}

.ad-reward {
    color: #ff9800;
    font-weight: bold;
}

.task-desc {
    font-size: 12px;
    color: #666;
}

/* 任务列表动画 */
@keyframes taskComplete {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.task-item.completing {
    animation: taskComplete 0.3s ease;
}

/* ========== 简洁版帮追弹窗 ========== */
.simple-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.simple-modal.show {
    display: flex;
}

.simple-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.simple-modal-box {
    position: relative;
    width: 280px;
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.simple-modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.simple-modal-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.simple-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.simple-info-row:first-child {
    border-bottom: 1px solid #eee;
}

.simple-info-label {
    font-size: 14px;
    color: #666;
}

.simple-info-value {
    font-size: 16px;
    font-weight: bold;
    color: #FF6B35;
}

.simple-modal-progress {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

.simple-progress-sep {
    margin: 0 6px;
    color: #ddd;
}

.simple-modal-btn {
    width: 100%;
    padding: 12px 20px;
    background: #FF6B35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.simple-modal-btn:active {
    background: #e55a2b;
}
