        /* --- 全局重置 --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: #f9f9f9; /* 仅为了演示效果 */
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        ul {
            list-style: none;
        }

 
      .navbar-bg {
      width: 100%;
      background-color: #ffffff;
      border-bottom: 1px solid #eaeaea;
      box-shadow: 0 2px 4px rgba(0,0,0,0.02);
      position: relative;
    }  
    /* --- 核心容器 --- */
    .container {
      max-width: 1250px;
      margin: 0 auto;
      padding: 0 20px;
      height: 80px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* --- 左侧 Logo 区域 --- */
    .logo-area {
      display: flex;
      align-items: center;
      gap: 15px;
    }
    .logo-area img {
      width: 100%;
    }

    .logo-img {
      width: 40px;
      height: 40px;
      background-color: #1a1a1a;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      font-size: 20px;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      line-height: 1.2;
    }

    .brand-name {
      font-size: 18px;
      font-weight: bold;
      color: #333;
      letter-spacing: 1px;
    }

    .brand-sub {
      font-size: 10px;
      color: #666;
      letter-spacing: 0.5px;
    }

    .divider {
      height: 30px;
      width: 1px;
      background-color: #ddd;
      margin: 0 10px;
    }

    .slogan {
      font-family: "KaiTi", "STKaiti", serif;
      font-size: 18px;
      color: #333;
      font-weight: bold;
    }

    /* --- 右侧 菜单区域 --- */
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
    }

    .nav-item {
      font-size: 16px;
      color: #333;
      position: relative;
      cursor: pointer;
      transition: color 0.3s;
    }

    .nav-item:hover {
      color: #000;
    }

    .nav-item.active {
      font-weight: bold;
    }

    .nav-item.active::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #333;
    }

    .nav-item a {
      color: inherit;
      text-decoration: none;
    }

    /* ========== 汉堡按钮（默认隐藏） ========== */
    .menu-toggle {
      display: none; /* PC端隐藏 */
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 36px;
      height: 36px;
      cursor: pointer;
      border: none;
      background: transparent;
      padding: 6px;
      border-radius: 6px;
      transition: background 0.2s;
    }

    .menu-toggle:hover {
      background: #f0f0f0;
    }

    .menu-toggle span {
      display: block;
      width: 22px;
      height: 2.5px;
      background: #333;
      border-radius: 2px;
      transition: all 0.3s ease;
      transform-origin: center;
    }

    /* 汉堡按钮激活 → 变X */
    .menu-toggle.active span:nth-child(1) {
      transform: translateY(7.5px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }
    .menu-toggle.active span:nth-child(3) {
      transform: translateY(-7.5px) rotate(-45deg);
    }

    /* ========== 移动端适配 ========== */
    @media (max-width: 768px) {

      .container {
        height: 60px;
        padding: 0 16px;
      }

      /* 显示汉堡按钮 */
      .menu-toggle {
        display: flex;
      }

      /* 移动端菜单变为下拉展开 */
      .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-top: 1px solid #eaeaea;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        z-index: 999;
      }

      /* 菜单展开状态 */
      .nav-menu.open {
        max-height: 400px;
      }

      .nav-menu .nav-item {
        width: 100%;
        padding: 0;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s;
      }

      /* 展开时菜单项依次出现 */
      .nav-menu.open .nav-item {
        opacity: 1;
        transform: translateY(0);
      }
      .nav-menu.open .nav-item:nth-child(1) { transition-delay: 0.05s; }
      .nav-menu.open .nav-item:nth-child(2) { transition-delay: 0.1s; }
      .nav-menu.open .nav-item:nth-child(3) { transition-delay: 0.15s; }
      .nav-menu.open .nav-item:nth-child(4) { transition-delay: 0.2s; }
      .nav-menu.open .nav-item:nth-child(5) { transition-delay: 0.25s; }

      .nav-menu .nav-item a {
        display: block;
        padding: 15px 24px;
        font-size: 15px;
        border-bottom: 1px solid #f5f5f5;
      }

      .nav-menu .nav-item:last-child a {
        border-bottom: none;
      }

      .nav-menu .nav-item:hover,
      .nav-menu .nav-item:active {
        background: #fafafa;
      }

      /* 移动端选中下划线改为左边框 */
      .nav-item.active::after {
        display: none;
      }

      .nav-item.active a {
        color: #000;
        font-weight: bold;
        border-left: 3px solid #333;
        padding-left: 21px;
      }
    }
		
/*单图轮播*/

.carousel-container {
            max-width: 1200px;
			margin: 35px auto;
            background-color: #ffffff; /* 背景改为白色 */
            position: relative;
            overflow: hidden;
            height: 438px;
			border-radius: 20px; /* 保留圆角 */
        }

        .carousel-inner {
            max-width: 1200px;
            height: 100%;
            margin: 0 auto;
            position: relative;
        }

        .carousel-track {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }

        .carousel-slide {
            min-width: 100%; /* 每张图占满容器宽度 */
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 20px; /* 保留圆角 */
        }

        .carousel-caption {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            color: #fff;
            z-index: 2;
            width: 90%;
        }

        .carousel-caption h2 {
            font-size: 32px;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.6);
        }

        .carousel-caption p {
            font-size: 18px;
            opacity: 0.9;
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
        }

        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            background: rgba(255,255,255,0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #333;
            cursor: pointer;
            z-index: 3;
            user-select: none;
            transition: background 0.3s;
        }

        .carousel-arrow:hover {
            background: rgba(255,255,255,1);
        }

        .carousel-arrow.prev { left: 20px; }
        .carousel-arrow.next { right: 20px; }

        .carousel-dots {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 3;
        }

        .dot {
            width: 10px;
            height: 10px;
            background: rgba(255,255,255,0.5);
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s;
        }

        .dot.active {
            background: #fff;
        }
		
/*作者风云榜 · 指数排行*/
 .container_czsq {
            max-width: 1200px;
            margin: 40px auto;
        }

        /* --- 头部区域 --- */
        .header {
            text-align: center;
            margin-bottom: 40px;
        }

        .header h1 {
            font-size: 36px;
            color: #1a1a1a;
            margin-bottom: 15px;
            font-weight: 800;
        }

        .header h1 span {
            color: #0056b3; /* 蓝色高亮 */
        }

        .header p {
            font-size: 18px;
            color: #555;
            margin-bottom: 40px;
        }

        /* --- 数据统计区域 --- */
        .stats-wrapper {
            position: relative;
            padding: 20px 0;
            margin-bottom: 50px;
        }

        /* 上下分割线 */
        .stats-wrapper::before,
        .stats-wrapper::after {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent 0%, #0056b3 20%, #0056b3 80%, transparent 100%);
            opacity: 0.6;
        }

        .stats-wrapper::before { top: 0; }
        .stats-wrapper::after { bottom: 0; }

        .stats-container {
            display: flex;
            justify-content: center;
            gap: 60px;
            flex-wrap: wrap;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 42px;
            font-weight: bold;
            color: #0056b3;
            line-height: 1.2;
        }

        .stat-label {
            font-size: 16px;
            color: #333;
            font-weight: 600;
        }

        /* --- 卡片区域 --- */
        .cards-container {
            display: flex;
            gap: 30px;
            justify-content: space-between;
        }

        .card {
            flex: 1;
            background: #fff;
            border: 1px solid #eee;
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
        }

        .card-icon {
            width: 48px;
            height: 48px;
            margin-bottom: 20px;
        }

        .card h2 {
            font-size: 24px;
            margin-bottom: 20px;
            color: #1a1a1a;
        }

        /* 标签组 */
        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 25px;
        }

        .tag {
            background-color: #f5f7fa;
            color: #666;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 13px;
        }

        .card-desc {
            color: #666;
            font-size: 15px;
            margin-bottom: 40px;
            flex-grow: 1; /* 让描述部分撑开，保证底部对齐 */
        }

        /* 底部价格和按钮 */
        .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid #f0f0f0;
            padding-top: 20px;
        }

        .btn-group {
            display: flex;
            gap: 10px;
        }

        .btn {
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
        }

        .btn-outline {
            background: #fff;
            border: 1px solid #ddd;
            color: #666;
        }

        .btn-primary {
            background: #1a1a1a;
            color: #fff;
        }

        .price {
            font-size: 18px;
            font-weight: bold;
            color: #1a1a1a;
        }

        /* --- 响应式设计 (手机端) --- */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 28px;
            }
            
            .header p {
                font-size: 15px;
            }

            .stats-container {
                gap: 30px;
            }

            .stat-number {
                font-size: 32px;
            }

            .cards-container {
                flex-direction: column;
            }

            .card {
                padding: 30px 20px;
            }
            
            .card-footer {
                flex-direction: row; /* 保持左右布局，或者改为 column */
                flex-wrap: wrap;
                gap: 15px;
            }
        }
		
/*------------*/



        /* --- 课程列表容器 --- */
        .course-grid {
            display: flex;
            justify-content: space-between;
            gap: 24px;
        }

        /* --- 单个课程卡片 --- */
        .card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            border: 1px solid #f0f0f0;
            flex: 1; /* 让三个卡片平分宽度 */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        /* --- 封面区域 (纯CSS模拟) --- */
        .card-cover {
            height: 180px;
            background: linear-gradient(135deg, #d4eaf7 0%, #4fa8d1 100%);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 免费标签 */
        .tag-free {
            position: absolute;
            top: 16px;
            left: 16px;
            background-color: #0e5c83;
            color: #fff;
            font-size: 12px;
            font-weight: bold;
            padding: 4px 12px;
            border-radius: 20px;
        }

        /* 播放按钮 SVG */
        .play-btn {
            width: 56px;
            height: 56px;
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid #2c3e50;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .play-btn:hover {
            background: rgba(255, 255, 255, 0.4);
        }

        .play-icon {
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 10px 0 10px 18px;
            border-color: transparent transparent transparent #2c3e50;
            margin-left: 4px; /* 视觉修正居中 */
        }

        /* --- 内容区域 --- */
        .card-content {
            padding: 24px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .category {
            font-size: 14px;
            font-weight: bold;
            color: #0e5c83;
            margin-bottom: 8px;
        }

        .title {
            font-size: 18px;
            font-weight: bold;
            color: #000;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .desc {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 24px;
            flex-grow: 1; /* 让描述部分占据剩余空间，保证底部对齐 */
        }

        /* --- 底部信息栏 --- */
        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #eee;
            padding-top: 16px;
            margin-top: auto; /* 确保始终在底部 */
        }

        .stats {
            font-size: 12px;
            color: #999;
        }

        .arrow-link {
            color: #333;
            text-decoration: none;
            font-size: 20px;
            font-weight: bold;
            transition: transform 0.2s;
        }

        .arrow-link:hover {
            transform: translateX(5px);
            color: #0e5c83;
        }

        /* --- 手机端适配 --- */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 28px;
            }
            
            .course-grid {
                flex-direction: column; /* 改为垂直排列 */
                gap: 20px;
            }

            .card {
                width: 100%; /* 占满全宽 */
            }

            .card-cover {
                height: 200px; /* 手机上封面稍微高一点 */
            }
        }




       /* --- 容器布局 --- */
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .main-content {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap; /* 允许换行，适配移动端 */
            gap: 40px;
            margin-bottom:0px;
        }

        /* --- 通用列样式 --- */
        .col {
            flex: 1;
            min-width: 240px; /* 防止在极窄屏幕下挤压 */
        }

        h3 {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 25px;
            color: #000;
        }

        /* --- 左侧：矩阵号列表 --- */
        .social-list {
            list-style: none;
        }

        .social-item {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #eaeaea;
            font-size: 15px;
        }

        .social-item:last-child {
            border-bottom: none;
        }

        .icon-box {
            width: 24px;
            height: 24px;
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon-box svg {
            width: 100%;
            height: 100%;
        }

        /* --- 中间：二维码区域 --- */
        .qr-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            flex: 0 0 auto; /* 中间列不自动伸缩 */
            margin: 0 auto; /* 移动端居中 */
        }

        .qr-placeholder {
            width: 140px;
            height: 140px;
            border: 1px solid #ddd;
            border-radius: 16px; /* 圆角矩形 */
            background-color: #f9f9f9;
            margin-bottom: 15px;
        }

        .qr-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .qr-desc {
            font-size: 14px;
            color: #666;
        }

        /* --- 右侧：友情链接 --- */
        .link-list {
            list-style: none;
        }

        .link-list li {
            margin-bottom: 12px;
        }

        .link-list a {
            font-size: 15px;
            color: #333;
        }

        .link-list a:hover {
            color: #1890ff;
        }

        /* --- 底部版权信息 --- */
        .copyright-bar {
            border-top: 1px solid #eaeaea;
            padding-top: 20px;
            text-align: center;
            font-size: 12px;
            color: #999;
            line-height: 2;
        }

        .copyright-bar p {
            margin-bottom: 5px;
        }

        /* --- 响应式适配 (手机端) --- */
        @media (max-width: 768px) {
            .main-content {
                flex-direction: column; /* 改为垂直排列 */
                gap: 30px;
            }

            .col {
                width: 100%; /* 占满宽度 */
                min-width: auto;
            }

            /* 调整手机端顺序：通常二维码或主要信息在前，或者保持原序 */
            /* 这里保持原序：矩阵号 -> 二维码 -> 链接 */

            .qr-section {
                order: 2; /* 确保二维码在中间或者根据需求调整 */
                margin: 20px 0;
            }

            .social-item {
                padding: 15px 0; /* 增加点击区域高度 */
            }
        }
 @media (max-width: 768px) {
 .search-box{ display:none;}
 .copyright-bar{ padding:20px;}
 .logo-area img{ width:80%;}
 .carousel-container {margin:5px;border-radius: 5px;}
 .carousel-slide img {border-radius: 5px;}
 .carousel-track {white-space: nowrap;
        overflow-y: auto;}
		.linimg{ width:100%;}
		.qr-section img{ width:100%;}
 .nonebox{ display:none;}
 .carousel-caption h2{ font-size: 20px;}
.carousel-caption p{font-size: 14px;}
		 }
