/* 上传推广弹窗样式 */
.upload-promotion-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.upload-promotion-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.upload-promotion-content {
    background: white;
    border-radius: 32px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.upload-promotion-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    transition: all 0.3s ease;
    z-index: 10;
}

.upload-promotion-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

/* 头部区域 */
.upload-promotion-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.upload-promotion-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.upload-promotion-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: white;
    position: relative;
    z-index: 1;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.upload-promotion-title {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin: 0 0 16px 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.upload-promotion-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* 活动区域 */
.upload-promotion-body {
    padding: 40px;
}

.activity-banner {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.3);
}

.activity-banner::before {
    content: '🎉';
    position: absolute;
    font-size: 120px;
    opacity: 0.1;
    top: -20px;
    right: -20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.activity-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.activity-title {
    font-size: 28px;
    font-weight: 900;
    color: white;
    margin: 0 0 12px 0;
}

.activity-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* 奖励卡片 */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.reward-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.reward-card:hover {
    transform: translateY(-8px);
    border-color: #667eea;
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
}

.reward-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.reward-title {
    font-size: 18px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 8px 0;
}

.reward-desc {
    font-size: 14px;
    color: #8c8c8c;
    margin: 0;
}

/* 步骤说明 */
.steps-section {
    margin-bottom: 32px;
}

.steps-title {
    font-size: 20px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 24px 0;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-card::after {
    content: '→';
    position: absolute;
    top: 30px;
    right: -20px;
    font-size: 24px;
    color: #667eea;
    font-weight: 700;
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: white;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 8px 0;
}

.step-desc {
    font-size: 13px;
    color: #8c8c8c;
}

/* 底部按钮 */
.upload-promotion-footer {
    padding: 0 40px 40px;
    display: flex;
    gap: 16px;
}

.btn-upload-now {
    flex: 1;
    padding: 18px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-upload-now:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.btn-later {
    padding: 18px 32px;
    background: #f8f9fa;
    color: #8c8c8c;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-later:hover {
    background: #e8e8e8;
    color: #262626;
}

/* 响应式 */
@media (max-width: 768px) {
    .upload-promotion-content {
        width: 95%;
        border-radius: 24px;
    }
    
    .upload-promotion-header {
        padding: 40px 24px 24px;
    }
    
    .upload-promotion-title {
        font-size: 28px;
    }
    
    .upload-promotion-body {
        padding: 24px;
    }
    
    .rewards-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card::after {
        content: '↓';
        top: auto;
        bottom: -20px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .upload-promotion-footer {
        padding: 0 24px 24px;
        flex-direction: column;
    }
}

/* 暗色主题 */
[data-theme="dark"] .upload-promotion-content {
    background: #262626;
}

[data-theme="dark"] .reward-card {
    background: #1a1a1a;
}

[data-theme="dark"] .reward-title,
[data-theme="dark"] .steps-title,
[data-theme="dark"] .step-title {
    color: #ffffff;
}

[data-theme="dark"] .btn-later {
    background: #1a1a1a;
    border-color: #404040;
    color: #8c8c8c;
}

[data-theme="dark"] .btn-later:hover {
    background: #2a2a2a;
    color: #ffffff;
}


