 /* ========== 全局风格 - 更生动活泼，多彩 ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            background: linear-gradient(145deg, #fffaf0 0%, #fef5e6 100%);
            background-attachment: fixed;
            font-family: "Noto Serif SC", "华文楷书", "Microsoft YaHei", "宋体", serif;
            color: #4a3724;
            position: relative;
        }
        /* 装饰性多彩背景图案 */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><circle cx="50" cy="50" r="40" fill="none" stroke="%23c8a86b" stroke-width="1.5"/><path d="M50 10 L50 90 M10 50 L90 50" stroke="%23c8a86b" stroke-width="1" opacity="0.5"/><path d="M30 30 L70 70 M70 30 L30 70" stroke="%23c8a86b" stroke-width="1" opacity="0.4"/><circle cx="50" cy="30" r="4" fill="%23e8a87c" opacity="0.6"/><circle cx="50" cy="70" r="4" fill="%2378a87c" opacity="0.6"/></svg>');
            background-repeat: repeat;
            background-size: 80px 80px;
            pointer-events: none;
            z-index: 0;
        }
        .main-container, .top-nav, .footer,.news-container, .top-nav, .footer, .online-service  {
            position: relative;
            z-index: 1;
        }
        /* 顶部导航栏 - 温暖渐变 */
        .top-nav {
            background: linear-gradient(135deg, #6b4c3b 0%, #8b6b4a 100%);
            border-bottom: 3px solid #f5dc9c;
            padding: 0 40px;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .logo-area {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 0;
            transition: transform 0.3s;
        }
        .logo-area:hover {
            transform: scale(1.02);
        }
        .logo-icon {
            font-size: 32px;
            color: #f5dc9c;
            animation: gentleSpin 10s infinite linear;
        }
        @keyframes gentleSpin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .logo-text {
            font-family: "华文楷书", cursive;
            font-size: 24px;
            letter-spacing: 4px;
            color: #fff5e0;
            text-shadow: 2px 2px 0px #3d2b1a;
        }
        .nav-menu {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .nav-menu a {
            color: #fff5e0;
            padding: 20px 16px;
            display: inline-block;
            font-size: 15px;
            transition: 0.3s;
            text-decoration: none;
            font-family: "宋体", serif;
            letter-spacing: 1px;
            border-radius: 30px;
        }
        .nav-menu a:hover {
            color: #ffe6a3;
            background: rgba(255,250,200,0.25);
            transform: translateY(-2px);
        }
        /* 会员模块 */
        .member-area {
            background: rgba(255,250,220,0.25);
            border-radius: 48px;
            padding: 6px 18px;
            backdrop-filter: blur(4px);
        }
        .login-panel, .user-panel {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        .login-panel a, .user-panel a {
            color: #fff5e0;
            font-size: 13px;
            text-decoration: none;
            cursor: pointer;
            transition: 0.2s;
        }
        .login-panel a:hover, .user-panel a:hover {
            color: #ffe6a3;
            text-shadow: 0 0 3px rgba(255,230,163,0.5);
        }
        .social-login i {
            font-size: 16px;
            margin: 0 4px;
            cursor: pointer;
            transition: 0.3s;
        }
        .social-login i:hover {
            color: #ffe6a3;
            transform: scale(1.2) translateY(-2px);
        }
        .user-avatar-small {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 20%, #f0dc9c, #d4b87a);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #5e3a22;
            font-weight: bold;
            transition: 0.3s;
        }
        .user-avatar-small:hover {
            transform: scale(1.05);
        }
        .username-display {
            color: #fff5e0;
            font-size: 14px;
            font-weight: 500;
        }


       
        /* 底部横幅广告 */
        .bottom-banner {
            background: linear-gradient(135deg, #fce8d0, #f5dcbc);
            border-radius: 28px;
            padding: 18px 30px;
            margin-top: 40px;
            text-align: center;
            border: 1px solid #e8c8a0;
        }
        .bottom-banner p {
            color: #a4814e;
            font-size: 14px;
        }
        .bottom-banner strong {
            color: #c47a4a;
            font-size: 18px;
        }
        /* 底部 */
        .footer {
            background: linear-gradient(98deg, #5e4630, #7a5a42);
            border-top: 3px solid #f5dc9c;
            padding: 30px 40px;
            margin-top: 40px;
        }
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .footer-logo i { font-size: 28px; color: #f5dc9c; }
        .footer-logo span { font-family: "华文楷书", cursive; font-size: 20px; color: #fff5e0; }
        .footer-copyright { color: #e0c8a0; font-size: 13px; }
        /* 右侧在线客服 - 更鲜亮 */
        .online-service {
            position: fixed;
            right: 20px;
            bottom: 180px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .service-item {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: 0.3s;
            box-shadow: 0 6px 14px rgba(0,0,0,0.15);
            font-size: 26px;
            color: white;
        }
        .service-item:nth-child(1) { background: linear-gradient(135deg, #f0a87c, #e8885c); border: 1px solid #f0c48a; }
        .service-item:nth-child(2) { background: linear-gradient(135deg, #5cbc7c, #3c9c5c); border: 1px solid #8ce0a0; }
        .service-item:nth-child(3) { background: linear-gradient(135deg, #7c9ce0, #5c7cc0); border: 1px solid #a0bcec; }
        .service-item:hover {
            transform: scale(1.12);
            box-shadow: 0 10px 22px rgba(0,0,0,0.2);
        }
        @media (max-width: 760px) {
            .top-nav { padding: 0 20px; }
            .nav-menu a { padding: 12px 10px; font-size: 12px; }
            .teacher-grid { grid-template-columns: 1fr; }
            .search-rank-bar { flex-direction: column; align-items: stretch; }
            .hero-area { flex-direction: column; align-items: stretch; }
            .hero-btn { text-align: center; justify-content: center; }
        }

       /*  分页 */
       
/* 分页通用样式 */
.pagination-wrap, .pagination-container {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}
.layui-laypage {
    display: inline-block;
    background: #fffaf2;
    border-radius: 60px;
    padding: 5px 8px;
    border: 1px solid #e5d5b8;
}
.layui-laypage a, .layui-laypage span {
    color: #8f6f46;
    border-radius: 30px;
    margin: 0 4px;
}
.layui-laypage .layui-laypage-curr {
    background-color: #c8aa77;
}
.layui-laypage .layui-laypage-curr em {
    color: #fff;
}
.pagination-link, .pagination-current, .pagination-disabled, .pagination-total, .pagination-ellipsis {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.pagination-link {
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #e0e0e0;
}
.pagination-link:hover {
    background-color: #e0e0e0;
    border-color: #c8aa77;
    color: #c8aa77;
}
.pagination-current {
    background-color: #c8aa77;
    color: white;
    border: 1px solid #c8aa77;
    cursor: default;
}
.pagination-disabled {
    background-color: #f9f9f9;
    color: #ccc;
    border: 1px solid #e0e0e0;
    cursor: not-allowed;
}
.pagination-total {
    background-color: transparent;
    color: #666;
    font-size: 13px;
    margin-right: 10px;
}
.pagination-ellipsis {
    background-color: transparent;
    color: #999;
    cursor: default;
}

/* 右侧客服 - 悬浮弹出样式 */
.online-service {
    position: fixed;
    right: 20px;
    bottom: 180px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    font-size: 26px;
    color: white;
}

/* 不同客服不同颜色 */
.service-item[data-service="online"] { background: linear-gradient(135deg, #f0a87c, #e8885c); border: 1px solid #f0c48a; }
.service-item[data-service="wechat"] { background: linear-gradient(135deg, #5cbc7c, #3c9c5c); border: 1px solid #8ce0a0; }
.service-item[data-service="phone"] { background: linear-gradient(135deg, #7c9ce0, #5c7cc0); border: 1px solid #a0bcec; }

.service-item:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* 左侧弹出信息框 */
.service-popup {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    background: #fffefb;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #f0dc9c;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
}

.service-item:hover .service-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    right: 80px;
}

/* 小三角箭头 */
.service-popup::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent #f0dc9c;
}

.service-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 9px;
    border-color: transparent transparent transparent #fffefb;
}

/* 弹出框头部 */
.popup-header {
    background: linear-gradient(115deg, #fdf3e0, #faeccc);
    padding: 12px 16px;
    border-radius: 16px 16px 0 0;
    font-weight: 600;
    color: #5e3a22;
    border-bottom: 1px solid #e8d4b0;
}

.popup-header i {
    margin-right: 6px;
}

/* 弹出框内容 */
.popup-content {
    padding: 16px;
    font-size: 13px;
    color: #4a3724;
}

.popup-content p {
    margin: 8px 0;
    line-height: 1.6;
}

.popup-content i {
    width: 24px;
    color: #d49c5c;
}

/* 二维码区域 */
.qrcode-box {
    width: 100px;
    height: 100px;
    background: #fef8ef;
    border: 1px solid #f0dc9c;
    border-radius: 12px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 弹出按钮 */
.popup-btn {
    background: linear-gradient(115deg, #e8b87a, #d49c5c);
    border: none;
    padding: 8px 16px;
    border-radius: 40px;
    color: white;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-size: 13px;
    transition: 0.2s;
}

.popup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(212,156,92,0.3);
}

/* 手机端适配 */
@media (max-width: 768px) {
    .service-popup {
        width: 220px;
        right: 60px;
    }
    .service-item:hover .service-popup {
        right: 65px;
    }
    .popup-content {
        padding: 12px;
        font-size: 12px;
    }
}