        :root {
            --primary: #3498db;
            --primary-dark: #2980b9;
            --secondary: #e74c3c;
            --dark: #2c3e50;
            --light: #ecf0f1;
            --gray: #95a5a6;
            --light-gray: #e0e0e0;
            --success: #2ecc71;
            --warning: #f39c12;
            --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Noto Sans SC', sans-serif;
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        .container {
            width: 100%;
            max-width: 1380px;
            margin: 0 auto;
            /*padding: 0 20px;*/
        }
        .breadcontainer {
            width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding-left: 20px;
        }
        /* 副导航 - 深色顶部导航 */
        .secondary-nav {
            background: var(--dark);
            padding: 8px 0;
            font-size: 0.9rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .secondary-nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .secondary-nav ul {
            display: flex;
            list-style: none;
        }
        
        .secondary-nav ul li {
            position: relative;
            margin: 0 12px;
        }
        
        .secondary-nav ul li:not(:last-child)::after {
            content: "|";
            color: rgba(255, 255, 255, 0.3);
            position: absolute;
            right: -12px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .secondary-nav ul li a {
            color: white;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
        }
        
        .secondary-nav ul li a i {
            margin-right: 6px;
            font-size: 0.9rem;
        }
        
        .secondary-nav ul li a:hover {
            color: var(--warning);
        }
        
        /* 主导航 - 白色大气设计 */
        header {
            background: white;
            color: var(--dark);
            padding: 2px 0;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: #94999b;
        }
        
        .logo i {
            margin-right: 10px;
            color: var(--warning);
            font-size: 2rem;
        }
        
        /* 主导航菜单 */
        .main-nav {
            display: flex;
            align-items: center;
            flex-grow: 1;
        }
        
        .nav-container {
            display: flex;
            align-items: center;
            flex-grow: 1;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            margin-left: 30px;
        }
        
        nav ul li {
            position: relative;
            margin: 0 10px;
        }
        
        nav ul li a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            padding: 8px 15px;
            border-radius: 4px;
            transition: var(--transition);
            font-size: 1rem;
            display: block;
        }
        
        nav ul li a:hover, 
        nav ul li a.active {
            color: var(--primary);
            background: rgba(52, 152, 219, 0.1);
        }
        
        /* 下拉菜单 */
        nav ul li ul {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 200px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            border-radius: 0 0 8px 8px;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 100;
        }
        
        nav ul li:hover ul {
            opacity: 1;
            visibility: visible;
        }
        
        nav ul li ul li a {
            color: var(--dark);
            padding: 10px 18px;
            border-bottom: 1px solid #eee;
            font-size: 0.95rem;
        }
        
        nav ul li ul li:last-child a {
            border-bottom: none;
        }
        
        nav ul li ul li a:hover {
            background: var(--light);
            color: var(--primary);
            padding-left: 22px;
        }
        
        /* 用户操作 */
        .user-actions {
            display: flex;
            align-items: center;
            margin-left: auto;
        }
        
        .user-actions a {
            color: var(--dark);
            text-decoration: none;
            margin-left: 15px;
            padding: 8px 18px;
            border-radius: 6px;
            transition: var(--transition);
            font-size: 0.95rem;
        }
        
        .user-actions a:hover {
            background: rgba(52, 152, 219, 0.1);
            color: var(--primary);
        }
        
        .btn {
            display: inline-block;
            padding: 10px 24px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            cursor: pointer;
            text-align: center;
            font-size: 0.95rem;
        }
        
        .btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
        }
        
        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
        }
        
        .btn-outline {
            border: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--dark);
            font-size: 1.6rem;
            cursor: pointer;
            margin-left: 15px;
        }
        
        /* 公告区域 - 左边分级导航+轮播，右边公告 */
        .notice-section {
            padding: 24px 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
        }
        
        .notice-container {
            display: flex;
            gap: 20px;
            align-items: stretch;
        }
        
        /* 分级导航 */
        .category-nav {
            width: 240px;
            background: white;
            border-radius: 10px;
            box-shadow: var(--card-shadow);
            padding: 20px 0;
            position: relative;
            overflow: hidden;
            height: 340px;
            display: flex;
            flex-direction: column;
        }
        
        .category-nav::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
        }
        
        .category-nav h3 {
            padding: 0 20px 15px;
            font-size: 1.2rem;
            color: var(--dark);
            border-bottom: 1px solid #eee;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .category-nav h3 i {
            margin-right: 10px;
            color: var(--primary);
        }
        
        .category-links {
            list-style: none;
            flex-grow: 1;
            overflow-y: auto;
            padding-right: 8px;
            margin-right: 5px;
        }
        
        /* 美化滚动条 */
        .category-links::-webkit-scrollbar {
            width: 6px;
        }
        
        .category-links::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }
        
        .category-links::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 3px;
        }
        
        .category-links::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }
        
        .category-links li {
            position: relative;
        }
        
        .category-links li a {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            color: var(--dark);
            text-decoration: none;
            transition: var(--transition);
            font-size: 1rem;
            position: relative;
            overflow: hidden;
        }
        
        .category-links li a::before {
            content: '';
            position: absolute;
            left: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
            transition: var(--transition);
        }
        
        .category-links li a:hover::before {
            left: 100%;
        }
        
        .category-links li a:hover {
            color: var(--primary);
        }
        
        .category-links li a i {
            margin-right: 12px;
            width: 20px;
            text-align: center;
            font-size: 1.1rem;
        }
        
        .category-links li.active a {
            color: var(--primary);
            background: rgba(52, 152, 219, 0.1);
            border-left: 3px solid var(--primary);
        }
        
        /* 轮播区域 */
        .notice-carousel {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
            height: 340px;
            position: relative;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
        }
        
        .carousel-slide {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.4rem;
            color: white;
            font-weight: bold;
            background-size: cover;
            background-position: center;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            position: relative;
        }
        
        .carousel-slide::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
        }
        
        .carousel-slide span {
            position: relative;
            z-index: 1;
            max-width: 80%;
            text-align: center;
        }
        
        .carousel-slide:nth-child(1) {
            background-image: url('../images/ghhxtt.jpg');
        }
        
        .carousel-slide:nth-child(2) {
            background-image: url('../images/gggssstt.jpg');
        }
        
        .carousel-slide:nth-child(3) {
            background-image: url('../images/gggssstt.jpg');
        }
        
        .carousel-controls {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 2;
        }
        
        .carousel-control {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid transparent;
        }
        
        .carousel-control.active {
            background: white;
            border-color: var(--primary);
            transform: scale(1.2);
        }
        
        /* 公告区域 */
        .notice-tabs {
            width: 360px;
            background: white;
            border-radius: 10px;
            box-shadow: var(--card-shadow);
            overflow: hidden;
            height: 340px;
            display: flex;
            flex-direction: column;
        }
        
        .notice-tab-header {
            display: flex;
            border-bottom: 1px solid #eee;
            background: linear-gradient(to right, #f8f9fa, #fff);
        }
        
        .notice-tab-title {
            flex: 1;
            text-align: center;
            padding: 16px;
            cursor: pointer;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
            font-size: 1.1rem;
            color: var(--gray);
        }
        
        .notice-tab-title.active {
            color: var(--primary);
            font-weight: 600;
        }
        
        .notice-tab-title.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }
        
        .notice-tab-content {
            padding: 15px;
            display: none;
            flex-grow: 1;
            overflow-y: auto;
            height: calc(100% - 60px);
        }
        
        .notice-tab-content.active {
            display: block;
        }
        
        .notice-item {
            padding: 10px 0;
            border-bottom: 1px dashed #eee;
            display: flex;
            align-items: center;
            transition: var(--transition);
        }
        
        .notice-item:last-child {
            border-bottom: none;
        }
        
        .notice-item:hover {
            background: #f9f9f9;
            transform: translateX(5px);
        }
        
        .notice-badge {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
            font-size: 0.9rem;
            font-weight: bold;
        }
        
        .notice-badge.help {
            background: var(--success);
        }
        
        .notice-content {
            flex: 1;
            overflow: hidden;
        }
        
        .notice-content h4 {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 0;
            color: var(--dark);
            font-size: 1rem;
            font-weight: 500;
            max-width: 200px;
        }
        
        .notice-content p {
            display: none;
        }
        
        .notice-date {
            color: var(--gray);
            font-size: 0.85rem;
            min-width: 60px;
            text-align: right;
        }
        
        /* 在线工具区域 - 重新设计 */
        .tools {
            padding: 60px 0;
            background: linear-gradient(to bottom, #fff, #f8f9fa);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .section-title h2 {
            font-size: 1.8rem;
            color: var(--dark);
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--primary);
            border-radius: 2px;
        }
        
        .section-title p {
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
            font-size: 1rem;
            line-height: 1.8;
        }
        
        .tools-container {
            position: relative;
            margin: 0 auto;
            max-width: 100%;
            overflow: hidden;
        }
        
        .tools-slider {
            display: flex;
            transition: transform 0.5s ease;
            width: 100%;
        }
        
        .tools-row {
            display: flex;
            flex-wrap: nowrap;
            width: 100%;
            min-width: 100%;
            gap: 15px;
            padding: 0 10px;
            box-sizing: border-box;
        }
        
        .tool-card {
            flex: 0 0 calc(16.666% - 13px); /* 6个卡片每行 */
            background: white;
            border-radius: 12px;
            padding: 25px 20px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            border: 1px solid rgba(52, 152, 219, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        .tool-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
        }
        
        .tool-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(52, 152, 219, 0.15);
            border-color: rgba(52, 152, 219, 0.3);
        }
        
        .tool-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 1.8rem;
            color: var(--primary);
            transition: var(--transition);
            box-shadow: 0 4px 10px rgba(52, 152, 219, 0.1);
        }
        
        .tool-card:hover .tool-icon {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            transform: rotate(10deg) scale(1.1);
        }
        
        .tool-card h3 {
            margin-bottom: 15px;
            color: var(--dark);
            font-size: 1.1rem;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .tool-card p {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 20px;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 40px;
        }
        
        .tool-link {
            display: inline-block;
            padding: 8px 20px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            color: white;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            font-size: 0.9rem;
            box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .tool-link:hover {
            background: linear-gradient(90deg, var(--primary-dark), var(--primary));
            box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
            transform: translateY(-2px);
        }
        
        .tool-slider-nav {
            color: white;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            z-index: 10;
            opacity: 0.9;
            transition: var(--transition);
            border: 1px solid rgba(0,0,0,0.05);
            background: var(--primary);
        }
        
        .tool-slider-nav:hover {
            opacity: 1;
            background: var(--primary);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }
        
        .tool-slider-prev {
            left: 10px;
        }
        
        .tool-slider-next {
            right: 10px;
        }
        
        .tool-slider-nav.disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        
        /* 课程区域 - 优化版 */
        .courses {
            padding: 70px 0;
            background: linear-gradient(to bottom, #f8f9fa, #fff);
        }
        
        .courses-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }
        
        .courses-header .section-title {
            margin-bottom: 0;
            text-align: left;
        }
        
        .courses-header .section-title h2::after {
            left: 0;
            transform: none;
        }
        
        .view-all {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            font-size: 1.1rem;
        }
        
        .view-all i {
            margin-left: 10px;
            transition: var(--transition);
        }
        
        .view-all:hover i {
            transform: translateX(8px);
        }
        
        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }
        
        .course-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            position: relative;
        }
        
        .course-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        
        .course-header {
            height: 200px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 4rem;
            position: relative;
            overflow: hidden;
        }
        
        .course-header::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.1);
        }
        
        .course-tag {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.9);
            color: var(--secondary);
            padding: 6px 18px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: bold;
            z-index: 1;
        }
        
        .course-content {
            padding: 25px;
            position: relative;
            height: 220px;
            overflow: hidden;
        }
        
        .course-content h3 {
            margin-bottom: 15px;
            color: var(--dark);
            font-size: 1.3rem;
            line-height: 1.5;
        }
        
        .course-meta {
            display: flex;
            justify-content: space-between;
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 15px;
        }
        
        .course-meta span {
            display: flex;
            align-items: center;
        }
        
        .course-meta i {
            margin-right: 8px;
            font-size: 1.1rem;
        }
        
        .course-content p {
            color: var(--gray);
            font-size: 1rem;
            margin-bottom: 20px;
            line-height: 1.8;
            position: absolute;
            bottom: 70px;
            left: 25px;
            right: 25px;
            background: white;
            padding: 20px;
            transition: var(--transition);
            opacity: 0;
            max-height: 150px;
            overflow-y: auto;
        }
        
        .course-card:hover .course-content p {
            opacity: 1;
        }
        
        .course-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 15px;
            border-top: 1px solid #eee;
            position: relative;
            z-index: 2;
            background: white;
        }
        
        .course-price {
            font-weight: bold;
            color: var(--secondary);
            font-size: 1.2rem;
        }
        
        /* 资源区域 - 重新设计 */
        .resources {
            padding: 70px 0;
            background: linear-gradient(to bottom, #fff, #f1f5f9);
        }
        
        .resources-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .resources-header .section-title {
            margin-bottom: 0;
            text-align: left;
        }
        
        .resources-header .section-title h2::after {
            left: 0;
            transform: none;
        }
        
        .resource-tabs {
            display: flex;
            margin-bottom: 0;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .resource-tab {
            padding: 10px 25px;
            background: white;
            border: 1px solid #e0e0e0;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1rem;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
        }
        
        .resource-tab::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
            transition: var(--transition);
        }
        
        .resource-tab:hover::before {
            left: 100%;
        }
        
        .resource-tab.active, 
        .resource-tab:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        /* 修改后的资源列表样式 - 3列×4行 */
        .resource-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .resource-item {
             background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
        }
        
        .resource-item:hover {
            transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
        }
        
        .resource-item a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            display: block;
            margin-bottom: 8px;
            transition: var(--transition);
        }
        
        .resource-item a:hover {
            color: var(--primary);
        }
        
        .resource-meta {
            color: var(--gray);
    font-size: 0.8rem;
    margin-top: 5px;
        }
        .resource-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.resource-title {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}
.resource-date i {
    margin-right: 5px;
}
.resource-title:hover {
    color: var(--primary);
}

.resource-date {
    color: var(--gray);
    font-size: 0.8rem;
    flex-shrink: 0;
}
        .resource-meta span {
            display: flex;
            align-items: center;
        }
        
        .resource-meta i {
            margin-right: 5px;
            font-size: 0.8rem;
        }
        
        /* 页脚 - 简化版 */
        footer {
            background: var(--dark);
            color: white;
            padding: 40px 0 20px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .footer-column h3 {
            margin-bottom: 15px;
            position: relative;
            padding-bottom: 8px;
            font-size: 1.1rem;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 8px;
        }
        
        .footer-links a {
            color: #bdc3c7;
            text-decoration: none;
            transition: var(--transition);
            font-size: 0.9rem;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .footer-contact {
            margin-top: 15px;
        }
        
        .footer-contact p {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            font-size: 0.9rem;
        }
        
        .footer-contact i {
            margin-right: 10px;
            color: var(--primary);
            font-size: 1rem;
            width: 18px;
        }
        
        .footer-column p {
            font-size: 0.9rem;
            color: #bdc3c7;
            margin-bottom: 15px;
            line-height: 1.6;
        }
        
        .social-links {
            display: flex;
            margin-top: 15px;
            gap: 8px;
        }
        
        .social-links a {
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition: var(--transition);
            font-size: 1rem;
        }
        
        .social-links a:hover {
            background: var(--primary);
        }
        
        .qrcode {
            background: white;
            padding: 10px;
            border-radius: 6px;
            width: 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 10px;
        }
        
        .qrcode span {
            color: var(--dark);
            font-size: 0.8rem;
            text-align: center;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #bdc3c7;
            font-size: 0.85rem;
        }
        
        /* 新增的登录后样式 */
        .user-actions.logged-in {
            display: flex;
            align-items: center;
            margin-left: auto;
        }
        
        .user-dropdown {
            position: relative;
        }
        
        .user-profile {
            display: flex;
            align-items: center;
            color: var(--dark);
            text-decoration: none;
            padding: 8px 12px;
            border-radius: 20px;
            transition: var(--transition);
        }
        
        .user-profile:hover {
            background: rgba(52, 152, 219, 0.1);
        }
        
        .user-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            margin-right: 8px;
            object-fit: cover;
        }
        
        .username {
            font-size: 0.95rem;
            margin-right: 6px;
            max-width: 80px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .user-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            min-width: 180px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            list-style: none;
            padding: 10px 0;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 100;
        }
        
        .user-dropdown:hover .user-menu {
            opacity: 1;
            visibility: visible;
        }
        
        .user-menu li a {
            display: flex;
            align-items: center;
            padding: 10px 20px;
            color: var(--dark);
            text-decoration: none;
            transition: var(--transition);
            font-size: 0.95rem;
        }
        
        .user-menu li a i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }
        
        .user-menu li a:hover {
            background: rgba(52, 152, 219, 0.1);
            color: var(--primary);
        }
        
        .message-btn {
            position: relative;
            color: var(--dark);
            margin-left: 15px;
            padding: 8px;
            border-radius: 50%;
            transition: var(--transition);
        }
        
        .message-btn:hover {
            background: rgba(52, 152, 219, 0.1);
            color: var(--primary);
        }
        
        .badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--secondary);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: bold;
        }
        
        /* 移动端侧边导航面板 */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        
        .mobile-nav-overlay.show {
            opacity: 1;
            visibility: visible;
        }
        
        .mobile-nav-panel {
            position: fixed;
            top: 0;
            right: -320px;
            width: 320px;
            height: 100%;
            background: white;
            z-index: 1000;
            transition: var(--transition);
            display: flex;
        }
        
        .mobile-nav-panel.show {
            right: 0;
        }
        
        .mobile-main-nav {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            background: white;
        }
        
        .mobile-secondary-nav {
            width: 120px;
            padding: 20px 10px;
            overflow-y: auto;
            background: var(--dark);
        }
        
        .mobile-nav-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            color: var(--gray);
            cursor: pointer;
            z-index: 1001;
        }
        
        .mobile-main-nav h3 {
            color: var(--dark);
            font-size: 1rem;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .mobile-secondary-nav h3 {
            color: white;
            font-size: 1rem;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .mobile-main-nav ul,
        .mobile-secondary-nav ul {
            list-style: none;
        }
        
        .mobile-main-nav li,
        .mobile-secondary-nav li {
            margin-bottom: 10px;
        }
        
        .mobile-main-nav a {
            color: var(--dark);
            text-decoration: none;
            display: block;
            padding: 8px 0;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .mobile-main-nav a:hover {
            color: var(--primary);
            padding-left: 10px;
        }
        
        .mobile-secondary-nav a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 0.9rem;
            display: block;
            padding: 6px 0;
            transition: var(--transition);
        }
        
        .mobile-secondary-nav a:hover {
            color: white;
            padding-left: 8px;
        }
        
        
     /* 源码列表 */
        .source-list {
            background: white;
            border-radius: 8px;
            box-shadow: var(--card-shadow);
            overflow: hidden;
        }
        
        .source-item {
            display: flex;
            padding: 20px;
            border-bottom: 1px solid #eee;
            transition: var(--transition);
        }
        
        .source-item:hover {
            background: #f9f9f9;
        }
        
        .source-cover {
            width: 200px;
            height: 150px;
            border-radius: 6px;
            overflow: hidden;
            flex-shrink: 0;
            margin-right: 20px;
            position: relative;
        }
        
        .source-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .source-item:hover .source-cover img {
            transform: scale(1.05);
        }
        
        .source-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--secondary);
            color: white;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: bold;
        }
        
        .source-content {
            flex: 1;
        }
        
        .source-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--dark);
        }
        
        .source-title a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .source-title a:hover {
            color: var(--primary);
        }
        
        .source-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 10px;
            font-size: 0.9rem;
            color: var(--gray);
        }
        
        .source-meta span {
            display: flex;
            align-items: center;
        }
        
        .source-meta i {
            margin-right: 5px;
            font-size: 0.9rem;
        }
        
        .source-desc {
            color: var(--gray);
            margin-bottom: 15px;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .source-footer {
            float: right;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .source-price {
            font-size: 1.1rem;
            color: var(--secondary);
            font-weight: bold;
        }
        
        .source-price.free {
            color: var(--success);
        }
        
        .source-actions {
            display: flex;
            gap: 10px;
        }
        
        .btn-sm {
            padding: 8px 16px;
            font-size: 0.9rem;
        }
        
        /* 分页 */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }
        
        .pagination ul {
            display: flex;
            list-style: none;
        }
        
        .pagination li {
            margin: 0 5px;
        }
        
        .pagination a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 6px;
            background: white;
            color: var(--dark);
            text-decoration: none;
            transition: var(--transition);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        .pagination a:hover, .pagination a.active {
            background: var(--primary);
            color: white;
        }
        
        /* 侧边栏 */
        .sidebar {
            width: 280px;
            flex-shrink: 0;
            margin-left: 20px;
        }
        
        .sidebar-card {
            background: white;
            border-radius: 8px;
            box-shadow: var(--card-shadow);
            padding: 20px;
            margin-bottom: 20px;
        }
        
        .sidebar-title {
            font-size: 1.1rem;
            color: var(--dark);
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
            position: relative;
        }
        
        .sidebar-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--primary);
        }
        
        .sidebar-links {
            list-style: none;
        }
        
        .sidebar-links li {
            margin-bottom: 10px;
        }
        
        .sidebar-links a {
            color: var(--gray);
            text-decoration: none;
            display: flex;
            align-items: center;
            padding: 8px 0;
            transition: var(--transition);
        }
        
        .sidebar-links a:hover {
            color: var(--primary);
            padding-left: 8px;
        }
        
        .sidebar-links i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }
        
        .hot-source-item {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #eee;
        }
        
        .hot-source-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .hot-source-cover {
            width: 60px;
            height: 45px;
            border-radius: 4px;
            overflow: hidden;
            margin-right: 12px;
            flex-shrink: 0;
        }
        
        .hot-source-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .hot-source-title {
            font-size: 0.95rem;
            margin-bottom: 5px;
        }
        
        .hot-source-title a {
            color: var(--dark);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .hot-source-title a:hover {
            color: var(--primary);
        }
        
        .hot-source-meta {
            font-size: 0.8rem;
            color: var(--gray);
        }
          /* 面包屑导航 */
        .breadcrumb {
                margin: auto;
    width: 1380px;
    padding: 15px 0;
    background: white;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
     overflow-x: auto; /* 添加水平滚动 */
    white-space: nowrap; /* 防止换行 */
        }
        
        .breadcrumb ul {
            display: flex;
            list-style: none;
        }
        
        .breadcrumb li {
            margin-right: 10px;
            font-size: 0.95rem;
            color: var(--gray);
        }
        
        .breadcrumb li:not(:last-child)::after {
            content: '>';
            margin-left: 10px;
            color: var(--gray);
        }
        
        .breadcrumb a {
            color: var(--gray);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .breadcrumb a:hover {
            color: var(--primary);
        }
         /* 筛选区域 */
        .filter-section {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: var(--card-shadow);
            margin-bottom: 30px;
        }
        
        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .filter-title {
            font-size: 1.2rem;
            color: var(--dark);
            font-weight: 600;
        }
        
        .filter-reset {
            color: var(--primary);
            text-decoration: none;
            font-size: 0.9rem;
        }
        
        .filter-row {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .filter-group {
            flex: 1;
            min-width: 200px;
        }
        
        .filter-label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.95rem;
            color: var(--dark);
        }
        
       
       
        .filter-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .filter-tag {
            padding: 6px 15px;
            background: #f5f5f5;
            border-radius: 20px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
        }
        .filter-tag a{
            color: #333;
                text-decoration: none;
                
        }
        .filter-tag:hover, .filter-tag.active a, .filter-tag.active{
            background: var(--primary);
            color: white;
        }
        
        /* 主内容区域布局 */
        .main-content {
            display: flex;
            margin: 20px 0;
        }
        
        .content-area {
            flex: 1;
        }
                
        
        
        
        
        
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .notice-container {
                flex-direction: column;
            }
            
            .category-nav, .notice-tabs {
                width: 100%;
                height: auto;
                margin-bottom: 20px;
            }
            
            .notice-carousel {
                width: 100%;
            }
            
            .tool-card {
                flex: 0 0 calc(33.333% - 13px); /* 3个卡片每行 */
            }
            
            .resource-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .user-actions a {
   padding-right: 5px;
    padding-left: 0px;

   
}
            .username, .fa-chevron-down{
                display: none;
            }
            .secondary-nav {
                display: none;
            }
            
            .header-content {
                padding: 10px 0;
            }
            
            .logo {
                font-size: 1.5rem;
            }
            
            .logo i {
                font-size: 1.7rem;
            }
            
            .main-nav {
                order: unset;
                width: auto;
                margin-top: 0;
            }
            
            .nav-container {
                display: none;
            }
            
            .mobile-menu-btn {
                 display: block;
            }
            
            .user-actions.logged-in {
                order: 1;
                margin-left: auto;
            }
            
            .section-title h2 {
                font-size: 1.6rem;
            }
            
            .courses-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .resources-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .notice-container {
                flex-direction: column;
            }
            
            .category-nav, .notice-tabs {
                width: 100%;
                height: auto;
            }
            
            .notice-carousel {
                height: 250px;
            }
            /*源码列表*/
            .sidebar {
                display: none;
                width: 100%;
                margin-left: 0;
                margin-top: 30px;
            }
            .source-footer{
                margin-right: 30px;
            }
            .source-item {
                flex-direction: column;
            }
            
            .source-cover {
                width: 100%;
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .filter-group {
                min-width: 150px;
            }
        }
        
        @media (max-width: 768px) {
            .tool-card {
                flex: 0 0 calc(50% - 13px); /* 2个卡片每行 */
            }
            
            .resource-grid {
                grid-template-columns: 1fr;
            }
            
            .courses-grid {
                grid-template-columns: 1fr;
            }
            
            .course-content {
                height: auto;
                padding-bottom: 80px;
            }
            
            .course-content p {
                position: static;
                opacity: 1;
                max-height: none;
                padding: 10px 0;
            }
            
            .mobile-nav-panel {
                width: 280px;
            }
        }
        
        @media (max-width: 576px) {
            .tools-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }
            
            .courses-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .view-all {
                margin-top: 15px;
            }
            
            .section-title h2 {
                font-size: 1.5rem;
            }
            
            .tool-card {
                flex: 0 0 calc(100% - 13px); /* 1个卡片每行 */
            }
            
            .mobile-nav-panel {
                flex-direction: column;
                width: 260px;
            }
            
            .mobile-main-nav,
            .mobile-secondary-nav {
                width: 100%;
                padding: 15px;
            }
            
            .mobile-secondary-nav {
                border-top: 1px solid rgba(255, 255, 255, 0.1);
            }
        }




