/* ========================================
   全民量化计划推广页面样式
======================================== */

/* Hero区域 */
.promote-hero {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
}

.promote-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    color: #a855f7;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.promote-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.promote-hero .hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.promote-hero .hero-desc .text-gold {
    color: #f59e0b;
    font-weight: 700;
}

/* 奖励高亮 */
.reward-highlight {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
}

.reward-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reward-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.reward-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reward-divider {
    width: 1px;
    height: 40px;
    background: rgba(245, 158, 11, 0.3);
}

/* 邀请卡片 */
.invite-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.invite-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.invite-card-body {
    padding: 2rem;
}

/* 登录提示 */
.login-prompt {
    text-align: center;
    padding: 0.5rem 0;
}

.login-prompt-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-prompt-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    opacity: 0.3;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.login-prompt-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.login-prompt-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.login-prompt-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.login-prompt-desc strong {
    color: #f59e0b;
}

.login-prompt-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 10px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.benefit-item i {
    color: #10b981;
    font-size: 1rem;
}

.login-prompt-register {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.login-prompt-register a {
    color: #a855f7;
    text-decoration: none;
    font-weight: 500;
}

.login-prompt-register a:hover {
    color: #c084fc;
    text-decoration: underline;
}

/* 邀请链接区域 */
.invite-link-section {
    margin-bottom: 1.5rem;
}

.invite-link-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.link-input-group {
    display: flex;
    gap: 0.5rem;
}

.link-input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.link-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.link-input-group button {
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

/* 邀请操作 */
.invite-actions {
    margin-bottom: 1.5rem;
}

.btn-gradient {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    border: none;
    color: #fff;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #9333ea, #4f46e5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
    color: #fff;
}

/* 邀请统计 */
.invite-stats {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.invite-stats .stat-item {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 10px;
}

.invite-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #a855f7;
    margin-bottom: 0.25rem;
}

.invite-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* 步骤区域 */
.steps-section {
    background: var(--bg-dark);
}

.step-card {
    position: relative;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 2rem;
    color: #a855f7;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* 平台介绍区域 */
.platform-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateX(5px);
}

.feature-item .feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item .feature-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* 平台展示卡片 */
.platform-showcase {
    padding: 1rem;
}

.showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.showcase-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.showcase-header .dot.red { background: #ef4444; }
.showcase-header .dot.yellow { background: #f59e0b; }
.showcase-header .dot.green { background: #10b981; }

.showcase-header .title {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.showcase-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-dark);
    border-radius: 8px;
}

.showcase-item i {
    font-size: 1.1rem;
}

.showcase-item span {
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Token用途区域 */
.token-usage-section {
    background: var(--bg-dark);
}

.usage-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
}

.usage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.2);
}

.usage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usage-icon i {
    font-size: 1.75rem;
    color: #f59e0b;
}

.usage-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.usage-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* FAQ区域 */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-dark);
    color: #a855f7;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

/* 海报弹框 */
#posterModal .modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

#posterModal .modal-header {
    border-bottom-color: var(--border-color);
}

#posterModal .modal-title {
    color: var(--text-primary);
    font-weight: 600;
}

#posterModal .btn-close {
    filter: invert(1);
}

#posterModal .modal-footer {
    border-top-color: var(--border-color);
}

.poster-preview {
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.poster-preview img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 每日签到区域 */
.checkin-section {
    background: var(--bg-dark);
}

.checkin-card {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    align-items: flex-start;
}

.checkin-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkin-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.checkin-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.checkin-content > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.checkin-rewards {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.reward-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 70px;
    transition: all 0.3s ease;
}

.reward-day .day {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.reward-day .tokens {
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
}

.reward-day.highlight {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.1);
}

.reward-day.special {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.1));
}

.reward-day.special .tokens {
    color: #f59e0b;
}

.checkin-tip {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.checkin-tip i {
    margin-right: 0.25rem;
}

.checkin-tip strong {
    color: #10b981;
}

/* 导航栏高亮链接 */
.nav-link-highlight {
    color: #f59e0b !important;
    font-weight: 600;
}

.nav-link-highlight i {
    margin-right: 0.25rem;
}

.nav-link-highlight:hover,
.nav-link-highlight.active {
    color: #fbbf24 !important;
}

/* 响应式 */
@media (max-width: 991px) {
    .promote-hero {
        padding-top: 80px;
        padding-bottom: 3rem;
    }
    
    .promote-hero .hero-title {
        font-size: 2rem;
    }
    
    .reward-highlight {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .reward-divider {
        width: 60px;
        height: 1px;
    }
    
    .invite-card {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .promote-hero .hero-title {
        font-size: 1.75rem;
    }
    
    .invite-card-body {
        padding: 1.5rem;
    }
    
    .invite-stats {
        flex-direction: column;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .checkin-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .checkin-icon {
        margin: 0 auto;
    }
    
    .checkin-rewards {
        justify-content: center;
    }
}
