/**
 * 首页样式 v4 - 农贸市场老板版（居中累计金额）
 * 心理学优化：视觉层级 + 情绪递进 + 行动驱动
 */

/* ==================== 首页v3布局 ==================== */
.home-page-v2 {
    min-height: 100vh;
    /* 渐变背景：黎明曙光感 */
    background: linear-gradient(
        180deg, 
        #FF7A35 0%,    /* 顶部：温暖橙 */
        #FF9654 25%,   /* 中上：亮橙 */
        #FFB07A 40%,   /* 中部过渡 */
        #FFF5EE 40%,   /* 白色内容区起点 */
        #FFFAF8 100%   /* 底部浅暖白 */
    );
    padding-bottom: 75px;
}

/* ==================== 顶部品牌区 - 信任基石 ==================== */
.home-hero {
    padding: 20px 20px 16px;
}

/* 品牌区整体容器 - 毛玻璃效果 */
.hero-brand-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 4px 24px rgba(255, 107, 53, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.brand-icon {
    font-size: 36px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FF6B35, #FF8F65);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 26px;
    font-weight: 800;
    color: #333;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    margin-top: 2px;
}

.brand-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.brand-stats {
    font-size: 13px;
    color: #FF5722;
    font-weight: 500;
}

/* ==================== 成功动态条 ==================== */
.hero-success-bar {
    background: linear-gradient(135deg, #F0FFF4 0%, #E8F8E8 100%);
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(82, 196, 26, 0.2);
}

.success-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #52C41A 0%, #73D13D 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.success-scroll-container {
    height: 108px;  /* 3行 x 36px */
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.success-scroll-container:hover .success-scroll {
    animation-play-state: paused;  /* 悬停时暂停 */
}

.success-scroll {
    display: flex;
    flex-direction: column;
    animation: scrollUp 50s linear infinite;  /* 50秒滚动一轮，慢一半 */
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.success-item {
    height: 36px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* ==================== 核心卖点 - 删除（合并到人性触动模块） ==================== */

/* ==================== CTA大按钮 - 最大视觉权重 ==================== */
.cta-zone {
    margin: 0 16px 24px;
    /* CTA与上下模块的间距更大，形成视觉焦点 */
}

.cta-main-btn {
    width: 100%;
    /* 更强烈的渐变，给人"行动"感 */
    background: linear-gradient(
        135deg, 
        #FF6B35 0%,     /* 深橙 */
        #FF7B3C 30%,    /* 中橙 */
        #FF9F5A 60%,    /* 亮橙 */
        #FFB07A 100%    /* 浅橙 */
    );
    border: none;
    border-radius: 24px;
    padding: 28px 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    /* 更大的阴影，制造"浮起"效果 */
    box-shadow: 
        0 8px 32px rgba(255, 107, 53, 0.45),
        0 2px 8px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

/* 闪光动画效果 */
.cta-main-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        transparent 30%, 
        rgba(255,255,255,0.2) 50%, 
        transparent 70%
    );
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

/* 点击反馈 */
.cta-main-btn:active {
    transform: scale(0.97);
    box-shadow: 
        0 4px 16px rgba(255, 107, 53, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-emoji {
    font-size: 36px;
    margin-bottom: 4px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

.cta-text {
    font-size: 24px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cta-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.92);
    margin-top: 6px;
    font-weight: 500;
}

/* 居中显示的累计追回金额 */
.cta-recovery-display {
    text-align: center;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.12);
}

.cta-recovery-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.cta-recovery-amount {
    font-size: 32px;
    font-weight: 800;
    color: #FF6B35;
    letter-spacing: -1px;
}

/* ==================== 人性触动模块 - 情绪触发区 ==================== */
.desire-zone {
    padding: 0 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* 每张卡片用不同色彩区分情绪 */
.desire-card {
    background: white;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

/* 左侧彩色条作为情绪标识 */
.desire-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.desire-face::before {
    background: linear-gradient(180deg, #FF6B6B, #FF8E8E); /* 愤怒：红色系 */
}

.desire-easy::before {
    background: linear-gradient(180deg, #4ECDC4, #6EE7DE); /* 便捷：青绿系 */
}

.desire-social::before {
    background: linear-gradient(180deg, #95D84F, #B5E870); /* 社会证明：绿色系 */
}

.desire-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.desire-icon {
    font-size: 38px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
}

.desire-face .desire-icon {
    background: linear-gradient(135deg, #FFF1F0 0%, #FFE8E8 100%);
}

.desire-easy .desire-icon {
    background: linear-gradient(135deg, #E6FFF8 0%, #D4F5F0 100%);
}

.desire-social .desire-icon {
    background: linear-gradient(135deg, #F6FFED 0%, #E8FCE8 100%);
}

.desire-text {
    flex: 1;
}

.desire-title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.desire-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* ==================== 功能入口 - 简洁清晰 ==================== */
.menu-zone {
    padding: 0 16px;
    margin-bottom: 20px;
}

.menu-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.menu-item-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 18px 8px 14px;
    text-decoration: none;
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.menu-item-v2:active {
    transform: scale(0.96);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.menu-icon-v2 {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.menu-item-v2:active .menu-icon-v2 {
    transform: scale(0.9);
}

.menu-icon-v2 svg {
    width: 26px;
    height: 26px;
    fill: white;
}

/* 图标背景渐变 */
.icon-submit { background: linear-gradient(135deg, #FF6B35 0%, #FF8F65 100%); }
.icon-cases { background: linear-gradient(135deg, #1890FF 0%, #69C0FF 100%); }
.icon-commission { background: linear-gradient(135deg, #FAAD14 0%, #FFD666 100%); }
.icon-share { background: linear-gradient(135deg, #722ED1 0%, #9254DE 100%); }

.menu-label-v2 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* ==================== 分享赚钱卡片（底部） ==================== */
.share-card-bottom {
    background: linear-gradient(135deg, #722ED1 0%, #9254DE 100%);
    margin: 0 16px 20px;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(114, 46, 209, 0.3);
}

.share-card-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.share-card-icon {
    font-size: 36px;
}

.share-card-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.share-card-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.share-card-btn {
    background: white;
    color: #722ED1;
    border: none;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s;
}

.share-card-btn:active {
    transform: scale(0.96);
}

/* ==================== 首页底部导航 ==================== */
.home-page-v2 .bottom-nav {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: white !important;
    display: flex;
    justify-content: space-around;
    height: auto !important;
    padding: 10px 0 16px !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    border-top: none !important;
}

.home-page-v2 .nav-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999 !important;
    font-size: 12px !important;
    padding: 6px 16px;
    flex: 1;
    transition: all 0.2s;
}

.home-page-v2 .nav-item svg {
    width: 26px !important;
    height: 26px !important;
    margin-bottom: 4px;
    fill: #999 !important;
}

.home-page-v2 .nav-item.active {
    color: var(--primary) !important;
}

.home-page-v2 .nav-item.active svg {
    fill: var(--primary) !important;
}

/* ==================== 实时动态滚动条 - 社会认同 ==================== */
.success-dynamics-bar {
    background: linear-gradient(135deg, #f0fff4 0%, #e8f8e8 100%);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(82, 196, 26, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dynamics-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #52C41A 0%, #73D13D 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(82, 196, 26, 0.25);
}

.live-dot-anim {
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.dynamics-scroll-container {
    flex: 1;
    height: 32px;
    overflow: hidden;
    position: relative;
}

.dynamics-scroll {
    display: flex;
    flex-direction: column;
    transition: transform 0.1s linear;
}

.dynamics-item {
    height: 32px;
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 4px;
    white-space: nowrap;
}

.dynamics-name {
    font-weight: 600;
    color: #333;
}

.dynamics-action {
    color: #666;
}

.dynamics-amount {
    color: #52C41A;
    font-weight: 600;
}

.dynamics-time {
    color: #999;
    font-size: 11px;
}

/* ==================== 空状态优化 - 损失厌恶 + 价值锚定 ==================== */
.empty-state-v2 {
    background: linear-gradient(135deg, #FFF9F0 0%, #FFF5EB 100%);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    border: 1px dashed rgba(255, 107, 53, 0.3);
}

.empty-state-hero {
    margin-bottom: 16px;
}

.empty-icon-wrapper {
    position: relative;
    display: inline-block;
}

.empty-icon {
    font-size: 48px;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #FFF5EE 0%, #FFE8D6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.empty-bubble {
    position: absolute;
    top: -8px;
    right: -12px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F65 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 10px;
    animation: bubbleBounce 2s ease-in-out infinite;
}

@keyframes bubbleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.empty-state-content {
    margin-bottom: 14px;
}

.empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px;
}

.empty-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.empty-value-props {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 18px;
}

.value-prop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.value-icon {
    font-size: 20px;
}

.value-text {
    font-size: 11px;
    color: #999;
}

.btn-primary-v2 {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F65 100%);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-v2:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
}

.btn-primary-v2 small {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
}

.btn-block {
    width: 100%;
}

.empty-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.proof-avatars {
    display: flex;
}

.proof-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: 600;
    margin-left: -6px;
    border: 2px solid #FFF9F0;
}

.proof-avatar:first-child {
    margin-left: 0;
}

.proof-text {
    font-size: 12px;
    color: #666;
}

.proof-text strong {
    color: #FF6B35;
}

/* ==================== VIP升级进度可视化 ==================== */
.vip-upgrade-section {
    margin-bottom: 16px;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.vip-upgrade-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.vip-upgrade-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.section-hint {
    font-size: 12px;
    color: #999;
}

.vip-progress-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.vip-progress-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.vip-progress-card.current {
    background: linear-gradient(135deg, #FFF7E6 0%, #FFEDCC 100%);
    border-color: #FF9800;
}

.vip-progress-card.next {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    border-color: #ddd;
}

.vip-progress-card.achieved {
    background: linear-gradient(135deg, #F6FFED 0%, #E8F5D8 100%);
    border-color: #52C41A;
}

.vip-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.vip-tier-icon {
    font-size: 24px;
}

.vip-tier-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.vip-tier-range {
    font-size: 10px;
    color: #999;
}

.vip-card-status {
    margin-bottom: 8px;
}

.vip-commission {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.vip-commission.highlight {
    color: #FF6B35;
    font-size: 14px;
}

.vip-progress-bar-wrap {
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.vip-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FF9800 0%, #FFB74D 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.vip-progress-label {
    font-size: 10px;
    color: #999;
}

.vip-card-reward {
    font-size: 11px;
    color: #52C41A;
    background: rgba(82, 196, 26, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 6px;
}

/* ==================== 我的页面样式 ==================== */
.my-page {
    min-height: 100vh;
    background: var(--bg-secondary);
    padding-bottom: 75px;
}

.my-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 0 0 24px 24px;
    padding: 16px 20px 20px;
    color: white;
}

.user-card {
    background: transparent;
    padding: 0;
}

.user-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.user-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    color: white;
}

.user-detail {
    flex: 1;
    min-width: 0;
}

.user-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: white;
}

.vip-badge {
    padding: 2px 6px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #8B4513;
    flex-shrink: 0;
}

.vip-badge.svip {
    background: linear-gradient(135deg, #E5E5E5 0%, #C0C0C0 100%);
    color: #333;
}

.user-phone {
    font-size: 13px;
    opacity: 0.85;
    color: white;
}

.settings-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.9;
}

.settings-btn svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.user-stats-row {
    display: flex;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 14px 0;
}

.stat-cell {
    flex: 1;
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    color: white;
}

.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.3);
}

.my-content {
    padding: 16px;
}

/* 快捷操作 */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 14px 8px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.action-item:active {
    transform: scale(0.96);
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.action-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.action-item:nth-child(1) .action-icon { background: linear-gradient(135deg, #FF6B35, #FF8F65); }
.action-item:nth-child(2) .action-icon { background: linear-gradient(135deg, #1890FF, #69C0FF); }
.action-item:nth-child(3) .action-icon { background: linear-gradient(135deg, #FAAD14, #FFD666); }
.action-item:nth-child(4) .action-icon { background: linear-gradient(135deg, #722ED1, #9254DE); }

.action-item span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

/* 数据概览 */
.stats-section {
    margin-bottom: 16px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.section-more {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.stat-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.stat-card-icon.cases { background: linear-gradient(135deg, #1890FF 0%, #69C0FF 100%); }
.stat-card-icon.recovered { background: linear-gradient(135deg, #52C41A 0%, #95DE64 100%); }
.stat-card-icon.team { background: linear-gradient(135deg, #722ED1 0%, #B37FEB 100%); }
.stat-card-icon.commission { background: linear-gradient(135deg, #FAAD14 0%, #FFD666 100%); }

.stat-card-content {
    display: flex;
    flex-direction: column;
}

.stat-card-num {
    font-size: 17px;
    font-weight: 700;
    color: #333;
}

.stat-card-label {
    font-size: 12px;
    color: #999;
}

/* 案件列表 */

/* 裂变积分资产 */
.fission-stats-section {
    margin-bottom: 16px;
}

.fission-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.fission-stat-item {
    background: linear-gradient(135deg, #fff7e6 0%, #fff1f0 100%);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.08);
    border: 1px solid rgba(255, 87, 34, 0.1);
}

.fission-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #FF5722;
    line-height: 1.2;
}

.fission-stat-label {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    margin-top: 4px;
}

.fission-stat-hint {
    font-size: 11px;
    color: #FF9800;
    margin-top: 2px;
}
.cases-section {
    margin-bottom: 16px;
}

.cases-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.case-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: background 0.2s;
}

.case-item:last-child {
    border-bottom: none;
}

.case-item:active {
    background: #f8f9fa;
}

.case-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.case-no {
    font-size: 13px;
    color: #666;
}

.case-status {
    font-size: 12px;
    font-weight: 500;
}

.case-detail {
    text-align: right;
}

.case-debtor {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.case-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.cases-loading {
    text-align: center;
    padding: 30px;
    color: #999;
}

.empty-state {
    text-align: center;
    padding: 30px;
    color: #999;
}

.empty-state p {
    margin-bottom: 12px;
}

/* 广告横幅 */
.ad-banner {
    background: linear-gradient(135deg, #722ED1 0%, #9254DE 100%);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(114, 46, 209, 0.25);
}

.ad-content {
    text-align: center;
}

.ad-content h4 {
    color: white;
    font-size: 17px;
    margin-bottom: 6px;
}

.ad-content p {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    margin-bottom: 14px;
}

/* ==================== 统一底部导航样式 ==================== */
.bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100;
    background: white !important;
    display: flex !important;
    justify-content: space-around !important;
    padding: 20px 0 20px !important;
    padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08) !important;
}

.bottom-nav .nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #999 !important;
    font-size: 12px !important;
    padding: 6px 20px !important;
    transition: color 0.2s !important;
}

.bottom-nav .nav-item svg {
    width: 23px !important;
    height: 23px !important;
    margin-bottom: 4px !important;
    fill: #999 !important;
}

.bottom-nav .nav-item svg path {
    fill: #999 !important;
}

.bottom-nav .nav-item.active {
    color: var(--primary) !important;
}

.bottom-nav .nav-item.active svg {
    fill: var(--primary) !important;
}

.bottom-nav .nav-item.active svg path {
    fill: var(--primary) !important;
}

/* ==================== 分享赚钱页面样式 ==================== */
.share-page {
    min-height: 100vh;
    background: var(--bg-secondary);
    padding-bottom: 80px;
}

/* 分享页底部导航 */
.share-page .bottom-nav {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: white !important;
    display: flex;
    justify-content: space-around;
    height: auto !important;
    padding: 10px 0 16px !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    border-top: none !important;
}

.share-page .nav-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999 !important;
    font-size: 12px !important;
    padding: 6px 16px;
    flex: 1;
    transition: all 0.2s;
}

.share-page .nav-item svg {
    width: 26px !important;
    height: 26px !important;
    margin-bottom: 4px !important;
    fill: #999 !important;
}

.share-page .nav-item svg path {
    fill: #999 !important;
}

.share-page .nav-item svg {
    width: 26px !important;
    height: 26px !important;
    margin-bottom: 4px;
    fill: #999 !important;
}

.share-page .nav-item.active {
    color: var(--primary) !important;
}

.share-page .nav-item.active svg {
    fill: var(--primary) !important;
}

/* 顶部导航 */
.share-header {
    background: linear-gradient(135deg, #FF6B35, #FF8F65);
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-header-back {
    font-size: 20px;
    cursor: pointer;
    width: 30px;
}

.share-header-title {
    font-size: 18px;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

/* 佣金卡片 */
.share-commission-card {
    background: linear-gradient(135deg, #FF6B35, #FF8F65);
    margin: 16px;
    border-radius: 16px;
    padding: 25px;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.share-commission-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.share-commission-amount {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 5px;
}

.share-commission-unit {
    font-size: 18px;
}

.share-commission-tip {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 10px;
}

/* 邀请码 */
.share-invite-section {
    background: #fff;
    margin: 0 16px 16px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.share-invite-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-invite-code {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
}

.share-invite-code-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.share-invite-code-value {
    font-size: 28px;
    font-weight: bold;
    color: #FF6B35;
    letter-spacing: 4px;
}

.share-invite-btn {
    flex: 1;
    background: linear-gradient(135deg, #FF6B35, #FF8F65);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.share-invite-btn:active {
    transform: scale(0.98);
}

/* 邀请码按钮组 */
.share-invite-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

/* 海报生成按钮 */
.share-poster-btn {
    flex: 1;
    background: linear-gradient(135deg, #722ed1, #9b59b6);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.share-poster-btn:active {
    transform: scale(0.98);
}

/* 收益明细 */
.share-income-section {
    background: #fff;
    margin: 0 16px 16px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.share-income-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.share-income-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.share-income-item:last-child {
    border-bottom: none;
}

.share-income-info {
    flex: 1;
}

.share-income-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.share-income-time {
    font-size: 12px;
    color: #999;
}

.share-income-amount {
    font-size: 18px;
    font-weight: bold;
    color: #52C41A;
}

.share-loading,
.share-empty {
    text-align: center;
    padding: 30px;
    color: #999;
}

.share-empty small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
}

/* 佣金规则 */
.share-rule-section {
    background: #fff;
    margin: 0 16px 20px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.share-rule-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.share-rule-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
}

.share-rule-num {
    width: 20px;
    height: 20px;
    background: #FF6B35;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.share-rule-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 分享页底部TabBar */
.share-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    z-index: 100;
}

.share-tabbar-item {
    text-align: center;
    color: #999;
    font-size: 11px;
    text-decoration: none;
    padding: 5px 15px;
    transition: color 0.2s;
}

.share-tabbar-item.active {
    color: #FF6B35;
}

.share-tabbar-icon {
    margin-bottom: 4px;
}

.share-tabbar-icon svg {
    width: 24px;
    height: 24px;
    fill: #999;
}

.share-tabbar-item.active .share-tabbar-icon svg {
    fill: #FF6B35;
}

/* ==================== 首页广告轮播区 - 沉浸式设计 ==================== */
.home-ad-banner {
    position: relative;
    margin: 0 16px 24px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
}

.ad-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-item {
    min-width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
}

/* 每个广告不同的渐变色彩 */
.ad-bg-1 {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F65 50%, #FFB07A 100%);
}

.ad-bg-2 {
    background: linear-gradient(135deg, #722ED1 0%, #8957E5 50%, #A580F0 100%);
}

.ad-bg-3 {
    background: linear-gradient(135deg, #13C2C2 0%, #36CFC9 50%, #5EDACA 100%);
}

.ad-bg-4 {
    background: linear-gradient(135deg, #FAAD14 0%, #FFC53D 50%, #FFE066 100%);
}

/* 装饰性圆形 */
.ad-item::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -80px;
    right: -40px;
}

.ad-item::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -50px;
    left: -30px;
}

.ad-text {
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.ad-main-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.ad-sub-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.ad-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.ad-indicator {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.ad-indicator.active {
    width: 24px;
    background: #fff;
}

/* ==================== 帮你催悬浮按钮 ==================== */
.home-float-help-btn {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B00, #FF9500);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    z-index: 99;
    animation: homeFloatPulse 2s ease-in-out infinite;
}

.home-float-help-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.4), rgba(255, 149, 0, 0.4));
    border-radius: 50%;
    z-index: -1;
    animation: homeFloatRing 2s ease-in-out infinite;
}

@keyframes homeFloatPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
    }
}

@keyframes homeFloatRing {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.15);
    }
}

.float-btn-text {
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
}

.home-float-help-btn:active {
    transform: translateX(-50%) scale(0.95);
}

/* ========== 分享赚钱页 - 分销+团队 V2 ========== */

.share-action-section {
    margin: 16px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.share-action-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.share-action-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

.share-action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.share-link-btn {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #FF6B35, #ff8f5e);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s;
}

.share-link-btn:active { transform: scale(0.97); }

.share-poster-btn {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s;
}

.share-poster-btn:active { transform: scale(0.97); }

.share-invite-code-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.share-invite-code-small span:nth-child(2) {
    font-family: monospace;
    font-size: 14px;
    color: #333;
    letter-spacing: 2px;
}

.share-invite-code-small button {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.share-team-section {
    margin: 16px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.share-team-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.share-team-stats {
    display: flex;
    text-align: center;
    gap: 8px;
}

.team-stat-item {
    flex: 1;
    padding: 12px 0;
    background: #f8f9fa;
    border-radius: 12px;
}

.team-stat-num {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B35;
}

.team-stat-label {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.share-team-commission {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #666;
}

.share-members-section {
    margin: 16px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.share-members-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.share-member-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.share-member-item:last-child { border-bottom: none; }

.member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    font-size: 18px;
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.member-level {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 400;
}

.member-level.direct {
    background: #FFF3E0;
    color: #FF6B35;
}

.member-level.indirect {
    background: #E3F2FD;
    color: #1976D2;
}

.member-time {
    font-size: 12px;
    color: #bbb;
    margin-top: 2px;
}

.member-commission {
    font-size: 14px;
    font-weight: 600;
    color: #FF6B35;
}







