* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: #f5f5f5;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 20px;
        }

        .page-title {
            text-align: center;
            color: #333;
            margin-bottom: 20px;
            font-size: 24px;
        }



        .nav-item {
            display: block;
            padding: 10px 20px;
            background: #f5f5f5;
            border: 2px solid transparent;
            border-radius: 20px;
            color: #666;
            font-size: 14px;
            white-space: nowrap;
            user-select: none;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .nav-item.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            font-weight: bold;
            border-color: #667eea;
        }

        .student-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .student-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .student-image {
            width: 100%;
            aspect-ratio: 3/4;
            object-fit: cover;
            display: block;
        }

        .student-info {
            padding: 12px;
        }

        .student-name {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            margin-bottom: 8px;
        }

        .student-major {
            font-size: 13px;
            color: #666;
            margin-bottom: 10px;
            padding: 5px 10px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            border-radius: 15px;
            display: inline-block;
        }

        .student-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 10px;
        }

        .skill-tag {
            font-size: 11px;
            padding: 4px 10px;
            background-color: #f0f0f0;
            color: #555;
            border-radius: 12px;
            border: 1px solid #e0e0e0;
        }

        /* 分页样式 */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 30px;
            padding: 20px 10px;
        }

        .pagination-btn {
            min-width: 36px;
            height: 36px;
            padding: 0 12px;
            border: 1px solid #ddd;
            background: #fff;
            color: #333;
            border-radius: 6px;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            user-select: none;
            text-decoration: none;
        }

        .pagination-btn.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            border-color: #667eea;
            font-weight: bold;
        }

        .pagination-btn.disabled {
            opacity: 0.4;
            background-color: #f5f5f5;
        }

        .pagination-ellipsis {
            min-width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #999;
            font-size: 14px;
        }

        /* 手机端样式 */
        @media (max-width: 767px) {
            .pagination-btn:not(.prev-page):not(.next-page) {
                display: none;
            }

            .pagination-ellipsis {
                display: none;
            }

            .pagination-btn.prev-page,
            .pagination-btn.next-page {
                min-width: 100px;
                padding: 0 20px;
            }
        }

        /* 平板及以上屏幕 */
        @media (min-width: 768px) {
            .student-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .page-title {
                font-size: 32px;
                margin-bottom: 30px;
            }

            .nav-bar {
                padding: 20px;
            }

            .nav-item {
                font-size: 15px;
                padding: 12px 24px;
            }
        }

        /* 桌面屏幕 */
        @media (min-width: 1024px) {
            .student-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 20px;
            }
        }