/* 资讯页面样式 */
.news-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.news-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.news-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
}

.news-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.pay-button {
    background: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.pay-button:hover {
    background: #d32f2f;
}

/* 支付弹窗样式 */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.payment-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background: white;
    padding: 40px;
    width: 500px;
    border-radius: 12px;
    text-align: center;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.payment-modal.show .modal-content {
    transform: scale(1);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .news-card {
        margin: 10px;
    }
    
    .modal-content {
        width: 90%;
        margin: 0 15px;
        padding: 30px;
    }
    
    .modal-content img {
        max-width: 300px;
    }
} 