/* ── 全局触控优化 ── */
button,
a,
.filter-tag,
.course-card,
.star-wrapper,
.page-number-clickable,
.like-btn,
.delete-btn,
.fab-button,
.admin-edit-course-btn,
.admin-delete-course-btn,
.dimension-tip {
    touch-action: manipulation;          /* 消除 300ms 延迟 */
    -webkit-tap-highlight-color: transparent; /* 去除 iOS 蓝色高亮 */
}

/* 头部样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #4a6bdf;
    margin-bottom: 30px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

header h1 {
    color: #2d3a8c;
    font-size: 2.2rem;
}

header h1 i {
    margin-right: 10px;
    color: #4a6bdf;
}

.user-info {
    display: flex;
    align-items: center;
}

/* 登录/注册入口按钮 */
.btn-auth {
    padding: 10px 24px;
    background-color: #4a6bdf;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s;
}
.btn-auth:hover,
.btn-auth:active {
    background-color: #3a5bd0;
}

#search-btn,
.pagination-controls button, #submit-review {
    padding: 10px 20px;
    background-color: #4a6bdf;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

#search-btn:hover, #search-btn:active,
.pagination-controls button:hover, .pagination-controls button:active,
#submit-review:hover, #submit-review:active {
    background-color: #3a5bd0;
}

/* 登录/注册模态框 */
.auth-modal-content {
    max-width: 420px;
}

.auth-modal-content h2 {
    color: #2d3a8c;
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: #4a6bdf;
}

.auth-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #4a6bdf;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s;
    margin-top: 5px;
}
.auth-submit-btn:hover {
    background-color: #3a5bd0;
}

.auth-switch-text {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 18px;
}

.auth-switch-text a {
    color: #4a6bdf;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

.auth-switch-text a:hover {
    color: #2d3a8c;
}

.auth-hint {
    color: #888;
    font-size: 0.8rem;
    margin-top: 6px;
    margin-bottom: 0;
}

.auth-hint i {
    color: #4a6bdf;
    margin-right: 4px;
}

.auth-warning {
    text-align: center;
    color: #e67e22;
    font-size: 0.8rem;
    margin-top: 12px;
    margin-bottom: 0;
}

.auth-warning i {
    margin-right: 4px;
}


.user-welcome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background-color: #e8f4ff;
    border-radius: 5px;
    color: #2d3a8c;
    font-weight: 600;
}

/* 管理员身份标签 */
.admin-badge {
    background-color: #e74c3c;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    vertical-align: middle;
}

/* 注册按钮（次要样式） */
.btn-secondary {
    background-color: #6c757d !important;
}
.btn-secondary:hover {
    background-color: #5a6268 !important;
}

/* 管理员面板按钮 */
.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}
.btn-admin:hover {
    background-color: #d35400;
}

/* 登出按钮 */
.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background-color: transparent;
    color: #2d3a8c;
    border: 1px solid #2d3a8c;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.btn-logout:hover {
    background-color: #2d3a8c;
    color: white;
}

/* ── 管理员面板样式 ── */
.admin-section {
    background-color: #f9fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 5px solid #e67e22;
}
.admin-section h3 {
    color: #2d3a8c;
    margin-bottom: 15px;
}
.admin-section input,
.admin-section textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 12px;
    box-sizing: border-box;
}
.admin-section textarea {
    resize: vertical;
}
#add-course-btn {
    padding: 10px 20px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}
#add-course-btn:hover {
    background-color: #219a52;
}

/* 管理员课程列表每行 */
.admin-course-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    gap: 15px;
}
.admin-course-row:last-child {
    border-bottom: none;
}
.admin-course-name {
    flex: 1;
    font-weight: 600;
    color: #2d3a8c;
}
.admin-course-meta {
    color: #888;
    font-size: 0.9rem;
    min-width: 70px;
}
.admin-delete-course-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
    white-space: nowrap;
}
.admin-delete-course-btn:hover {
    background-color: #c0392b;
}

/* 搜索区样式 */
.search-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    margin-bottom: 20px;
}

#search-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

#search-btn {
    border-radius: 0 5px 5px 0;
    padding: 12px 25px;
}

/* 筛选面板 */
.filter-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-label {
    font-weight: 600;
    color: #2d3a8c;
    font-size: 0.9rem;
    min-width: 60px;
    flex-shrink: 0;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    padding: 6px 16px;
    background-color: #f0f2f5;
    color: #555;
    border: 1px solid #e0e3e8;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-tag:hover,
.filter-tag:active {
    background-color: #e4e8f0;
    border-color: #4a6bdf;
}

.filter-tag.active {
    background-color: #4a6bdf;
    color: white;
    border-color: #4a6bdf;
}

/* 课程展示区样式 */
.courses-section h2 {
    color: #2d3a8c;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.courses-section h2 i {
    margin-right: 10px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

#page-info {
    font-weight: 600;
    color: #555;
}

.page-number-clickable {
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    border-bottom: 2px dashed #4a6bdf;
    transition: background-color 0.2s, color 0.2s;
}

.page-number-clickable:hover,
.page-number-clickable:active {
    background-color: #4a6bdf;
    color: white;
}

.page-jump-input {
    width: 48px;
    text-align: center;
    font-size: inherit;
    font-weight: 600;
    border: 2px solid #4a6bdf;
    border-radius: 4px;
    outline: none;
    padding: 2px 4px;
    color: #333;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(220px, calc((100% - 100px) / 5)), 1fr));
    gap: 25px;
}

.course-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.course-image {
    height: 160px;
    background: linear-gradient(135deg, #4a6bdf, #2d3a8c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
}

.course-content {
    padding: 20px;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3a8c;
}

.course-info {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.course-stats {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 40px auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.close-modal:hover,
.close-admin-modal:hover,
.close-edit-modal:hover,
.close-auth-modal:hover,
.close-announcement-modal:hover {
    color: #333;
}

#modal-course-title {
    color: #2d3a8c;
    margin-bottom: 5px;
    font-size: 2rem;
}

.course-cn-name {
    color: #555;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

/* 课程元信息（代码、学分、领域） */
.course-meta {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.course-meta i {
    color: #4a6bdf;
    margin-right: 4px;
}

/* 课程内容区 */
.course-content-section {
    margin-bottom: 20px;
}

.course-content-section h3 {
    color: #2d3a8c;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

#modal-course-desc {
    color: #555;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

/* 评分标准表格 */
.grading-section {
    margin-bottom: 25px;
}

.grading-section h3 {
    color: #2d3a8c;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.grading-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.grading-table th,
.grading-table td {
    padding: 10px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.grading-table th {
    background-color: #f0f2f5;
    color: #2d3a8c;
    font-weight: 600;
}

.grading-table td {
    color: #555;
}

/* 管理员表单行布局 */
.admin-row {
    display: flex;
    gap: 10px;
}

.admin-row input {
    flex: 1;
}

.grading-row {
    margin-bottom: 8px;
}

.grading-row .grading-pct {
    max-width: 120px;
}

.btn-add-row {
    background: none;
    border: 1px dashed #4a6bdf;
    color: #4a6bdf;
    padding: 6px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 4px;
    transition: background-color 0.2s;
}

.btn-add-row:hover {
    background-color: #f0f2ff;
}

/* 编辑模态框表单标签 */
.admin-section label {
    display: block;
    font-weight: 600;
    color: #2d3a8c;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

#save-course-btn {
    padding: 10px 24px;
    background-color: #4a6bdf;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s;
}
#save-course-btn:hover {
    background-color: #3a5bd0;
}

/* 管理员课程列表编辑按钮 */
.admin-edit-course-btn {
    background-color: #4a6bdf;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
    white-space: nowrap;
}
.admin-edit-course-btn:hover {
    background-color: #3a5bd0;
}

/* 评价表单样式 */
.review-form {
    background-color: #f9fafc;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 5px solid #4a6bdf;
}

.review-form h3 {
    color: #2d3a8c;
    margin-bottom: 0;
    margin-top: 0;
}

/* 评价表单头部（标题 + 授课老师输入） */
.review-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.lecturer-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
    white-space: nowrap;
}

.lecturer-input-wrapper i {
    color: #4a6bdf;
}

#review-lecturer {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    width: 180px;
    transition: border-color 0.2s;
}

#review-lecturer:focus {
    outline: none;
    border-color: #4a6bdf;
}

/* 评论中的授课老师行 */
.review-lecturer {
    color: #4a6bdf;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.review-lecturer i {
    margin-right: 5px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

#review-text {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    resize: vertical;
    box-sizing: border-box;
    min-height: 100px;
    font-family: inherit;
}

/* 四维评分行 */
.dimension-rating-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.dimension-label {
    width: 110px;
    font-weight: 600;
    color: #2d3a8c;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.dimension-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background-color: #4a6bdf;
    border-radius: 50%;
    cursor: help;
    position: relative;
    flex-shrink: 0;
}

.dimension-tip .tip-text {
    display: none;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 400;
    white-space: normal;
    width: 260px;
    z-index: 100;
    line-height: 1.4;
}

.dimension-tip:hover .tip-text,
.dimension-tip.show-tip .tip-text {
    display: block;
}

.half-star-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.half-star-rating .star-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ddd;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.half-star-rating .star-wrapper i {
    transition: color 0.15s;
    line-height: 1;
    display: block;
}

.half-star-rating .star-wrapper i.active-star {
    color: #ffc107;
}

.dimension-value {
    font-weight: bold;
    color: #4a6bdf;
    font-size: 0.9rem;
    min-width: 35px;
    text-align: center;
    line-height: 1.5rem;
    flex-shrink: 0;
}

/* 评价列表中的维度评分 */
.review-ratings-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.review-ratings-compact span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.review-ratings-compact .dim-label {
    color: #999;
}

.review-ratings-compact .dim-value {
    color: #e6a817;
    font-weight: 600;
}

/* 评价列表样式 */
.review-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #4a6bdf;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-user {
    font-weight: 700;
    color: #2d3a8c;
}

.review-rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.review-content {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
}

.like-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.like-btn:hover, .like-btn:active, .like-btn.liked {
    color: #e74c3c;
}

/* 评价操作区（点赞 + 删除并排） */
.review-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 删除按钮 */
.delete-btn {
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.delete-btn:hover {
    color: #e74c3c;
}

/* 公告按钮 */
.btn-announcement {
    padding: 8px 18px;
    background: none;
    border: 1px solid #4a6bdf;
    color: #4a6bdf;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-announcement:hover {
    background-color: #4a6bdf;
    color: white;
}

/* 公告模态框 */
.announcement-content {
    max-width: 700px;
}

.announcement-content h2 {
    color: #2d3a8c;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.announcement-body h3 {
    color: #2d3a8c;
    font-size: 1.1rem;
    margin: 20px 0 12px;
}

.announcement-body p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 0.95rem;
    text-align: justify;
}

.announcement-body .bold {
    font-weight: 700;
}

.announcement-sign {
    text-align: right;
    color: #888;
    font-size: 0.9rem;
    margin-top: 30px;
    line-height: 1.8;
}

/* 悬浮联系按钮 (FAB) */
.fab-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
}

.fab-button.main {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #4a6bdf;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(74, 107, 223, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1.3rem;
    user-select: none;
}

.fab-button.main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 107, 223, 0.5);
}

.fab-button.main .close-icon {
    display: none;
}

.fab-wrapper:hover .fab-button.main .icon,
.fab-wrapper.open .fab-button.main .icon {
    display: none;
}

.fab-wrapper:hover .fab-button.main .close-icon,
.fab-wrapper.open .fab-button.main .close-icon {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.fab-menu {
    position: absolute;
    bottom: 64px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.fab-wrapper:hover .fab-menu,
.fab-wrapper.open .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-button.child {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: #333;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    transition: box-shadow 0.2s, transform 0.2s;
}

.fab-button.child:hover {
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
    transform: translateX(-4px);
}

.fab-button.child::after {
    content: attr(data-label);
}

.fab-button.child span {
    font-size: 1.1rem;
}

.fab-label {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #000000;
    font-weight: 600;
    white-space: nowrap;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-info {
        margin-top: 15px;
        width: 100%;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    #search-input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    #search-btn {
        border-radius: 5px;
    }

    .filter-row {
        flex-wrap: wrap;
    }

    .filter-label {
        min-width: 100%;
        margin-bottom: -4px;
    }

   /* 页脚主容器 */
.site-footer {
    width: 100%;
    padding: 60px 0 30px;
    background-color: #ffffff; /* 保持与你主色调一致的白色背景 */
    border-top: 1px solid #eaeaea;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* 确保所有大块内容居中对齐 */
}

/* 标题样式 */
.team-title {
    font-size: 16px;
    color: #888888;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* 核心对齐逻辑：开发成员组 */
.dev-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* 两人之间的水平间距 */
    margin-bottom: 35px;
}

/* 单个成员条目 */
.dev-item {
    display: flex;
    align-items: center; /* 确保名字和图标在同一高度 */
    transition: all 0.3s ease;
}

/* 开发者姓名 */
.dev-name {
    font-size: 15px;
    color: #555555;
    margin-right: 10px;
    font-weight: 500;
}

/* GitHub 图标链接 */
.github-icon {
    width: 20px !important;  
    height: 20px !important;
    display: inline-block;   
    vertical-align: middle;  
    fill: #4a6cf7;          
}

.github-icon {
    width: 20px;
    height: 20px;
    fill: #4a6cf7; /* 使用你系统的主色调蓝色 */
    transition: fill 0.3s ease, transform 0.3s ease;
}

/* 交互效果 */
.dev-item:hover .github-icon {
    fill: #333333; /* 悬停时变为深色 */
    transform: scale(1.15);
}

/* 版权信息 */
.copyright {
    font-size: 13px;
    color: #aaaaaa;
    margin-top: 10px;
}

/* 移动端自适应：当屏幕较窄时切换为垂直排列 */
@media (max-width: 600px) {
    .dev-group {
        flex-direction: column;
        gap: 20px;
    }
    
    .dev-item {
        width: 150px; /* 固定宽度确保垂直时也能对齐 */
        justify-content: space-between;
    }
}





    
}