/* 合作伙伴页面专用样式 */

/* 确保链接无下划线 */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* 主要内容区域 */
.partner-main {
    min-height: 80vh;
    padding: 80px 0;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 联盟佣金结构部分 */
.commission-section {
    margin-bottom: 80px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
    min-height: 200px;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-image {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    object-fit: contain;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* 佣金表格样式 */
.commission-table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.commission-table table {
    width: 100%;
    border-collapse: collapse;
}

.commission-table thead {
    background: linear-gradient(90deg, #F9D558 0%, #FBC200 100%);
}

.commission-table th {
    padding: 20px 16px;
    text-align: left;
    font-weight: 600;
    color: #000;
    font-size: 1rem;
    border: none;
}

.commission-table td {
    padding: 20px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.commission-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.commission-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.commission-table tbody tr:hover {
    background-color: #fff8e1;
    transition: background-color 0.3s ease;
}

/* 统计部分样式 */
.statistics-section {
    margin-bottom: 60px;
}

.statistics-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-align: left;
}

.statistics-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
}

/* 统计表格样式 */
.statistics-table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.statistics-table table {
    width: 100%;
    border-collapse: collapse;
}

.statistics-table thead {
    background: linear-gradient(90deg, #F9D558 0%, #FBC200 100%);
}

.statistics-table th {
    padding: 20px 16px;
    text-align: left;
    font-weight: 600;
    color: #000;
    font-size: 1rem;
    border: none;
}

.statistics-table td {
    padding: 20px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 0.95rem;
}

.statistics-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.statistics-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.statistics-table tbody tr:hover {
    background-color: #fff8e1;
    transition: background-color 0.3s ease;
}

/* Load More 按钮 */
.load-more-section {
    text-align: center;
}

.load-more-btn {
    background: #6c757d;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.load-more-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .partner-main {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
        padding: 15px 30px;
    }
    
    .section-header {
        margin-bottom: 40px;
        min-height: 150px;
    }
    
    .bg-image {
        opacity: 0.6;
    }
    
    .commission-table th,
    .commission-table td,
    .statistics-table th,
    .statistics-table td {
        padding: 15px 12px;
        font-size: 0.9rem;
    }
    
    .statistics-title {
        font-size: 1.5rem;
    }
    
    .statistics-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 12px 25px;
    }
    
    .section-header {
        min-height: 120px;
    }
    
    .bg-image {
        opacity: 0.5;
    }
    
    .commission-table th,
    .commission-table td,
    .statistics-table th,
    .statistics-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
    
    .statistics-title {
        font-size: 1.3rem;
    }
    
    .statistics-description {
        font-size: 0.95rem;
    }
    
    .load-more-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* 表格在小屏幕上的优化 */
@media (max-width: 600px) {
    .commission-table,
    .statistics-table {
        overflow-x: auto;
    }
    
    .commission-table table,
    .statistics-table table {
        min-width: 500px;
    }
}
