﻿/**
 * 帮追活动页面样式 (从 fission.html 迁移)
 */

/* ========== 动画定义 ========== */
@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.1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

@keyframes floatUp {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-100px) scale(1.5); }
}

@keyframes numberPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes flowPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255,80,0,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255,80,0,0.6); }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

@keyframes shineSweep {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes urgentPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes voicePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ========== 顶部3D金币区域 ========== */
.hero-section {
    position: relative;
    padding: 20px 15px 40px;
    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;
}

.nav-back-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FF6B35;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.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%),
        radial-gradient(circle at 50% 50%, rgba(255, 165, 0, 0.2) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

.floating-coins {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.coin-3d {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #FF6B35;
    border: 3px solid #FFF;
    box-shadow: 
        inset -5px -5px 10px rgba(0,0,0,0.2),
        inset 5px 5px 10px rgba(255,255,255,0.5),
        0 10px 30px rgba(255, 107, 53, 0.5);
    animation: float3D 3s ease-in-out infinite;
}

.coin-3d:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.coin-3d:nth-child(2) { top: 20%; right: 15%; animation-delay: 0.5s; }
.coin-3d:nth-child(3) { top: 60%; left: 5%; animation-delay: 1s; }
.coin-3d:nth-child(4) { top: 70%; right: 10%; animation-delay: 1.5s; }
.coin-3d:nth-child(5) { top: 40%; left: 80%; animation-delay: 2s; }

.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: 20px;
    padding: 20px 30px;
    display: inline-block;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.2),
        inset 0 2px 10px rgba(255,255,255,0.8);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.3s;
}

.hero-amount-box:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.05);
}

.hero-amount-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.hero-amount {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #FF5000, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-amount-unit {
    font-size: 24px;
}

/* ========== 进度卡片 ========== */
.progress-card {
    background: white;
    margin: -20px 15px 15px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.1),
        0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
    transform: perspective(1000px);
    transition: transform 0.3s;
}

.progress-card:hover {
    transform: perspective(1000px) translateY(-5px);
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* ========== 用户信息卡片 ========== */
.user-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #FFF8F5, #FFF);
    padding: 12px 15px;
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid #FFE5D9;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5000, #FF6B35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 80, 0, 0.3);
    overflow: hidden;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.user-status {
    font-size: 13px;
    color: #666;
}

.user-status .highlight,
.debtAmount {
    color: #FF5000;
    font-weight: 700;
}

/* ========== 3D圆形进度 ========== */
.circle-progress-3d {
    width: 100px;
    height: 100px;
    position: relative;
    flex-shrink: 0;
    transform-style: preserve-3d;
}

.circle-3d-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE5D9, #FFF);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 
        inset 0 4px 10px rgba(0,0,0,0.1),
        0 4px 15px rgba(255, 80, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.circle-3d-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent);
    border-radius: 50% 50% 0 0;
}

.circle-number {
    font-size: 36px;
    font-weight: 900;
    color: #FF5000;
    line-height: 1;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.circle-label {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
    position: relative;
    z-index: 1;
}

.progress-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: conic-gradient(
        #FF5000 0deg,
        #FF5000 var(--progress-deg, 18deg),
        #FFE5D9 var(--progress-deg, 18deg),
        #FFE5D9 360deg
    );
    -webkit-mask: radial-gradient(transparent 62%, black 63%);
    mask: radial-gradient(transparent 62%, black 63%);
    animation: pulse 2s ease-in-out infinite;
}

.progress-info {
    flex: 1;
}

.progress-title {
    font-size: 16px;
    font-weight: 700;
    color: #FF5000;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.progress-bar-3d {
    height: 12px;
    background: #FFE5D9;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF5000, #FF6B35, #FF8533);
    border-radius: 6px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(255, 80, 0, 0.5);
}

.progress-bar-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: shine 2s infinite;
}

.progress-text {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.progress-text .done {
    color: #FF5000;
    font-weight: 700;
}

.progress-text .need {
    color: #E53E3E;
    font-weight: 700;
}

/* ========== 帮追按钮 ========== */
.btn-help-3d {
    width: 100%;
    background: linear-gradient(135deg, #FF5000 0%, #FF6B35 50%, #FF8533 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) translateZ(0);
    transition: all 0.3s;
    box-shadow: 
        0 8px 0 #CC4000,
        0 15px 30px rgba(255, 80, 0, 0.4),
        inset 0 2px 10px rgba(255,255,255,0.3);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-help-3d:active {
    transform: perspective(1000px) translateZ(-10px) translateY(8px);
    box-shadow: 
        0 0 0 #CC4000,
        0 5px 15px rgba(255, 80, 0, 0.4),
        inset 0 2px 10px rgba(0,0,0,0.2);
}

.btn-help-3d.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.btn-help-3d.owner-share {
    background: linear-gradient(135deg, #FF6B00, #FF9500);
    animation: ownerPulse 2s ease-in-out infinite;
}

@keyframes ownerPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.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.4), transparent);
    animation: shine 2s infinite;
}

.btn-icon {
    display: inline-block;
    animation: bounce 0.5s ease-in-out infinite;
}

.btn-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: #666;
}

.btn-hint-tag {
    background: linear-gradient(135deg, #FFF5F0, #FFE5D9);
    color: #FF5000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #FFD4AA;
}

/* ========== 实时动态 ========== */
.live-section {
    margin: 0 15px 15px;
}

.live-card {
    background: white;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.live-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #FF5000;
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

.live-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.live-scroll::-webkit-scrollbar {
    display: none;
}

.live-item {
    flex-shrink: 0;
    background: linear-gradient(135deg, #FFF8F5, #FFF);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid #FFE5D9;
    font-size: 12px;
    animation: slideIn 0.5s ease-out;
}

.live-name {
    color: #FF5000;
    font-weight: 700;
}

.live-amount {
    color: #E53E3E;
    font-weight: 700;
}

/* ========== 积分钱包 ========== */
.points-section {
    margin: 0 15px 15px;
}

.points-card {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6B35 100%);
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255,107,53,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.3);
}

.points-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255,255,255,0.4) 50%,
        transparent 60%
    );
    animation: shineSweep 3s infinite;
}

.why-help-banner {
    background: rgba(0,0,0,0.85);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.why-help-title {
    font-size: 15px;
    font-weight: bold;
    color: #FFD700;
    text-align: center;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.why-help-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.flow-item {
    background: linear-gradient(135deg, #FF5000, #FF6B35);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255,80,0,0.4);
    animation: flowPulse 1.5s ease-in-out infinite;
}

.flow-item:nth-child(2) { animation-delay: 0.2s; }
.flow-item:nth-child(4) { animation-delay: 0.4s; }
.flow-item:nth-child(6) { animation-delay: 0.6s; }

.flow-arrow {
    font-size: 18px;
    color: #FFD700;
    animation: arrowBounce 1s ease-in-out infinite;
}

.points-value-section {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.points-value-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.points-value-header.compact {
    padding: 8px 12px;
    margin-bottom: 10px;
}

.points-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.points-grade {
    display: flex;
    align-items: center;
    gap: 6px;
}

.grade-label {
    font-size: 12px;
    color: #666;
}

.grade-badge {
    background: linear-gradient(135deg, #52c41a, #73d13d);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.points-value .points-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.points-number {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #FF5000, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.points-benefits-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    position: relative;
    z-index: 1;
}

.points-benefits-new.compact .benefit-item {
    padding: 8px 6px;
}

.points-benefits-new.compact .benefit-icon {
    font-size: 18px;
    margin-bottom: 4px;
}

.points-benefits-new.compact .benefit-name {
    font-size: 11px;
}

.benefit-item {
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.benefit-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.benefit-name {
    font-size: 12px;
    color: #333;
    font-weight: bold;
    margin-bottom: 4px;
}

.benefit-desc {
    font-size: 10px;
    color: #FF5000;
    font-weight: 600;
}

.urgent-notice {
    background: rgba(255,0,0,0.9);
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 12px;
    position: relative;
    z-index: 1;
    animation: urgentPulse 1s ease-in-out infinite;
}

/* ========== 排行榜 ========== */
.rank-section {
    margin: 0 15px 100px;
}

.rank-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.rank-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s;
}

.rank-item:hover {
    transform: translateX(5px);
}

.rank-item:nth-child(1) {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.rank-item:nth-child(2) {
    background: linear-gradient(135deg, #C0C0C0, #E8E8E8);
}

.rank-item:nth-child(3) {
    background: linear-gradient(135deg, #CD7F32, #D4A574);
    color: white;
}

.rank-medal {
    font-size: 28px;
    width: 40px;
    text-align: center;
}

.rank-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF5000, #FF6B35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(255, 80, 0, 0.3);
}

.rank-info {
    flex: 1;
}

.rank-name {
    font-size: 14px;
    font-weight: 700;
}

.rank-time {
    font-size: 11px;
    opacity: 0.7;
}

.rank-bonus {
    text-align: right;
}

.rank-money {
    font-size: 16px;
    font-weight: 900;
    color: #E53E3E;
}

.rank-points {
    font-size: 12px;
    color: #FF5000;
    font-weight: 700;
}

/* ========== 底部按钮 ========== */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    background: white;
    padding: 12px 15px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.btn-share {
    flex: 1;
    background: linear-gradient(135deg, #FF5000, #FF6B35);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 80, 0, 0.3);
    transition: all 0.3s;
}

.btn-share:active {
    transform: scale(0.95);
}

.btn-poster {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    border: none;
    padding: 14px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s;
}

.btn-poster:active {
    transform: scale(0.95);
}

/* ========== 弹窗 ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    max-width: 420px;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: white;
    width: 85%;
    max-width: 340px;
    border-radius: 24px;
    padding: 25px 20px;
    text-align: center;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin: 0 auto;
}

.modal-overlay.show .modal-box {
    transform: scale(1) translateY(0);
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 8px;
    animation: bounce 0.5s ease-in-out;
}

.modal-title {
    font-size: 22px;
    color: #FF5000;
    font-weight: 900;
    margin-bottom: 15px;
}

.points-highlight {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6B35 100%);
    border-radius: 20px;
    padding: 20px 15px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.points-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s infinite;
}

.points-label {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    font-weight: 600;
}

.points-big {
    font-size: 56px;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1;
    animation: numberPop 0.6s ease-out;
}

.voice-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.voice-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.voice-btn.playing {
    animation: voicePulse 0.5s ease-in-out infinite;
}

.customer-hint {
    background: linear-gradient(135deg, #FFF5F0, #FFE5D9);
    border-radius: 12px;
    padding: 12px 15px;
    margin: 15px 0;
    border-left: 4px solid #FF5000;
}

.customer-hint-text {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.customer-hint-text .highlight {
    color: #FF5000;
    font-weight: 900;
}

.modal-breakdown {
    background: #F8F8F8;
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.breakdown-row:last-child {
    margin-bottom: 0;
}

.breakdown-row .value {
    color: #333;
    font-weight: 600;
}

.breakdown-row .amount {
    color: #E53E3E;
    font-weight: 700;
}

.modal-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF5000, #FF6B35);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 80, 0, 0.4);
    transition: all 0.3s;
}

.modal-btn:active {
    transform: scale(0.95);
}

/* ========== 分享引导 ========== */
.share-guide {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.share-guide.show {
    opacity: 1;
    pointer-events: auto;
}

/* 右上角高亮区域 - 模拟微信菜单按钮位置 */
.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;
}

/* 箭头指向区域 */
.share-guide-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 60px;
    padding-right: 70px;
}

.share-arrow-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.share-arrow-svg {
    width: 60px;
    height: 60px;
    animation: point-right 1s ease infinite;
}

.share-arrow-text {
    position: absolute;
    top: 50%;
    right: -35px;
    transform: translateY(-50%);
    font-size: 36px;
    color: #07c160;
    animation: point-right 1s ease infinite;
    text-shadow: 0 0 10px rgba(7,193,96,0.5);
}

.share-text {
    color: white;
    font-size: 20px;
    font-weight: 700;
    background: rgba(7,193,96,0.9);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.share-desc {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}



/* 动态点动画 */
.share-dots {
    display: flex;
    gap: 4px;
    margin-top: 10px;
}

.share-dots span {
    width: 6px;
    height: 6px;
    background: #07c160;
    border-radius: 50%;
    animation: dot-pulse 1.4s ease infinite;
}

.share-dots span:nth-child(2) { animation-delay: 0.2s; }
.share-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes point-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

@keyframes pulse-border {
    0%, 100% { border-color: #07c160; box-shadow: 0 0 5px rgba(7,193,96,0.3); }
    50% { border-color: #1aad19; box-shadow: 0 0 15px rgba(7,193,96,0.6); }
}

@keyframes dot-pulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* ========== 加载动画 ========== */
.loading {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.loading.show {
    opacity: 1;
    pointer-events: auto;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #FFE5D9;
    border-top-color: #FF5000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 20px;
    font-size: 16px;
    color: #FF5000;
    font-weight: 700;
}

/* ========== 金币飞行动画 ========== */
.coin-float {
    position: fixed;
    font-size: 30px;
    pointer-events: none;
    z-index: 400;
    animation: floatUp 1s ease-out forwards;
}

/* ========== 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;
}

/* ========== 空状态 ========== */
.empty-text {
    text-align: center;
    color: #999;
    padding: 20px;
    font-size: 14px;
}

/* ========== 同行帮追反馈（滚动模式） ========== */
.testimonial-section {
    padding: 12px 16px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.testimonial-icon {
    font-size: 18px;
}

.testimonial-scroll {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 90px;
    position: relative;
}

.testimonial-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.05s linear;
    will-change: transform;
}

.testimonial-item {
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 3px solid #4CAF50;
    margin: 0 4px 8px;
    min-height: 75px;
}

.testimonial-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.testimonial-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.testimonial-verified {
    font-size: 11px;
    color: #4CAF50;
    font-weight: 600;
}

.testimonial-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
