/* 推广奖励页面样式 */

/* 推广奖励页面现在使用统一的hero-section样式 */

.benefit-box {
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefit-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.benefit-box:hover .benefit-icon {
    transform: scale(1.1);
}

.commission-card {
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.commission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.commission-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.commission-rate {
    font-size: 2rem;
    font-weight: 700;
    color: #f39c12;
    margin: 15px 0;
}

.promotion-method {
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.promotion-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.method-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-control, .form-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-rounded {
    border-radius: 50px;
    padding: 10px 30px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    border-radius: 3px;
}

.result-area {
    transition: all 0.3s ease;
}

#resultAmount {
    color: #f39c12;
    font-weight: 700;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .benefit-box {
        padding: 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .commission-card {
        padding: 20px 15px;
    }
    
    .commission-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .commission-rate {
        font-size: 1.5rem;
    }
    
    .promotion-method {
        padding: 20px 15px;
    }
    
    .promotion-method .method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    #promotionForm {
        padding: 0 1rem;
    }
}

/* 动画效果 */
@keyframes rewardPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(108, 92, 231, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 35px rgba(108, 92, 231, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(108, 92, 231, 0.1);
    }
}

.benefit-box,
.commission-card,
.promotion-method {
    animation: rewardPulse 2s ease-in-out infinite;
}

/* 加载动画 */
.reward-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.reward-loading .spinner-border {
    color: #6c5ce7;
}

/* 空状态样式 */
.reward-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.reward-empty i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.reward-empty h4 {
    color: #495057;
    margin-bottom: 1rem;
}

/* 进度条样式 */
.progress-bar-reward {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

/* 标签样式 */
.reward-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(108, 92, 231, 0.1);
    color: #6c5ce7;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* 统计数字样式 */
.reward-stat {
    text-align: center;
    padding: 1.5rem;
}

.reward-stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #6c5ce7;
    margin-bottom: 0.5rem;
}

.reward-stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* 渐变背景效果 */
.gradient-bg {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #6c5ce7 100%);
    color: white;
}

.gradient-bg h1, .gradient-bg h2, .gradient-bg h3, .gradient-bg h4, .gradient-bg h5, .gradient-bg h6 {
    color: white;
}