/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 主容器样式 */
.container {
    padding: 20px 0;
    margin: 20px auto;
    width: 80%;
    max-width: 1160px;
}

/* 分类样式 */
.category {
    margin: 0 auto 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

/* 表格样式 */
.link-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin: 0 auto;
}

.link-table thead {
    background-color: #f8f9fa;
}

.link-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #4a5568;
    border-bottom: 2px solid #e2e8f0;
}

.link-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.link-table tr:last-child td {
    border-bottom: none;
}

.link-table tr:hover {
    background-color: #f8fafc;
}

/* 图标单元格样式 */
.icon-cell {
    font-size: 1.5rem;
    text-align: center;
    width: 60px;
}

/* 链接样式 */
.link-table a {
    color: #4299e1;
    text-decoration: none;
    transition: color 0.2s;
}

.link-table a:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 30px 0;
    color: #718096;
    font-size: 0.9rem;
    margin-top: 50px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        padding: 40px 0 30px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .category {
        padding: 20px;
        overflow-x: auto;
    }
    
    .link-table {
        font-size: 0.85rem;
        min-width: 600px;
    }
    
    .link-table th, .link-table td {
        padding: 8px 10px;
    }
}

.link-table {
    width: 80%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.link-table tr {
    border-bottom: 1px solid #eee;
}
.link-table td {
    padding: 8px 0;
}
.link-table a.button {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
}