/* 赞助商城主样式 */
.sponsor-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 1.1rem;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.sponsor-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-tier {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 10px;
}

.card-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
}

.card-price .currency {
    font-size: 1.2rem;
    margin-right: 5px;
    margin-top: 5px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.card-features li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.card-features i {
    margin-right: 10px;
    color: var(--success);
    font-size: 1.1rem;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.payment-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-btn i {
    font-size: 1.2rem;
}

.payment-btn.alipay {
    background: #1677ff;
    color: white;
}

.payment-btn.wechat {
    background: #09bb07;
    color: white;
}

.payment-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 特色卡片样式 */
.sponsor-card.featured {
    border-top: 4px solid #ffcc00;
    transform: scale(1.02);
}

.sponsor-card.featured .card-price {
    color: #ff6600;
}

.card-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #ff9966, #ff6600);
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255,102,0,0.3);
}

/* 自定义赞助区 */
.custom-sponsor {
    background: rgba(230, 126, 34, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin: 40px 0;
    text-align: center;
    border: 1px dashed rgba(230, 126, 34, 0.3);
}

.custom-sponsor h3 {
    margin-top: 0;
    color: var(--primary);
}

.custom-form {
    max-width: 500px;
    margin: 20px auto 0;
}

.custom-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.custom-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-height: 80px;
    margin-bottom: 15px;
    resize: vertical;
}

.contact-admin {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-admin:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 赞助说明 */
.sponsor-info {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
    padding: 25px;
    border: 1px dashed rgba(52, 152, 219, 0.3);
}

.sponsor-info h3 {
    margin-top: 0;
    color: var(--dark);
}

.sponsor-info ul {
    list-style: none;
    padding: 0;
}

.sponsor-info li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.sponsor-info i {
    margin-right: 10px;
    color: #3498db;
}

/* 赞助弹窗 */
.sponsor-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    overflow: auto;
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--dark);
}

.payment-options {
    display: flex;
    margin: 20px 0;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.payment-method {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #f9f9f9;
}

.payment-method i {
    margin-right: 8px;
}

.payment-method.active {
    background: var(--primary);
    color: white;
}

.qrcode-container {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.qrcode-container img {
    width: 200px;
    height: 200px;
    border: 1px solid #eee;
    background: white;
    padding: 10px;
}

.qrcode-container p {
    margin-top: 15px;
    font-weight: bold;
}

.payment-details {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.payment-details p {
    margin: 8px 0;
}

.payment-instructions {
    margin-top: 25px;
}

.payment-instructions ol {
    padding-left: 20px;
}

.payment-instructions li {
    margin-bottom: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sponsor-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsor-card.featured {
        transform: none;
    }
    
    .modal-content {
        margin: 20px auto;
        padding: 20px;
    }
    
    .card-actions {
        flex-direction: column;
    }
}