/* 基础样式 */
.reward-system {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.reward-header {
    text-align: center;
    margin-bottom: 40px;
}

.reward-header h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.reward-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.reward-container {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.payment-methods {
    flex: 1;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.recent-rewards {
    width: 320px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.methods-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.method-item {
    flex: 1;
    min-width: 120px;
    padding: 15px;
    text-align: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.method-item.active {
    border-color: #3498db;
    background-color: #3498db;
    color: #fff;
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #3498db;
}

.method-item.active .method-icon {
    color: #fff;
}

.method-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.qr-code-display {
    text-align: center;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.qr-code {
    display: none;
}

.qr-code.active {
    display: block;
}

.qr-code img {
    max-width: 220px;
    height: auto;
    border: 1px solid #eee;
    border-radius: 8px;
}

.qr-code p {
    margin-top: 15px;
    font-size: 1rem;
    color: #555;
}

.recent-rewards h2, .payment-methods h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.rewards-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rewards-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.rewards-list li:last-child {
    border-bottom: none;
}

.donator {
    font-weight: 600;
    color: #2c3e50;
}

.amount {
    color: #e74c3c;
    font-weight: 600;
}

.date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.no-rewards {
    text-align: center;
    color: #95a5a6;
    font-style: italic;
    padding: 20px 0;
}

.reward-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #7f8c8d;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .reward-container {
        flex-direction: column;
    }
    
    .recent-rewards {
        width: 100%;
    }
    
    .method-item {
        min-width: calc(50% - 15px);
    }
}