/**
 * 豆汉智能体平台 2.0 首页专用样式
 * 基于UI设计规范 - lanhu_pcshouye
 * 创建日期: 2026-02-05
 */

/* ========================================
   1. 基础变量定义
   ======================================== */
:root {
    /* 主色调 */
    --dh-primary-green: rgba(116, 255, 82, 1);
    --dh-primary-blue: rgba(2, 137, 255, 1);
    --dh-brand-cyan: rgba(44, 149, 149, 1);
    --dh-gold: rgba(238, 184, 6, 1);
    
    /* 背景色 */
    --dh-bg-dark: rgba(10, 10, 10, 1);
    --dh-bg-sidebar: rgba(17, 18, 20, 1);
    --dh-bg-input: rgba(15, 16, 18, 1);
    
    /* 文字颜色 */
    --dh-text-white: rgba(255, 255, 255, 1);
    --dh-text-white-60: rgba(255, 255, 255, 0.6);
    --dh-text-white-38: rgba(255, 255, 255, 0.376);
    --dh-text-gray: rgba(130, 130, 130, 1);
    
    /* 边框 */
    --dh-border-dark: rgba(52, 52, 52, 1);
    
    /* 圆角 */
    --dh-radius-sm: 4px;
    --dh-radius-md: 8px;
    --dh-radius-lg: 16px;
    --dh-radius-xl: 20px;
    --dh-radius-pill: 305px;
    
    /* 间距 */
    --dh-sidebar-width: 165px;
    --dh-content-gap: 22px;
}

/* ========================================
   2. 深色主题首页布局
   ======================================== */
body.home-2-0 {
    background-color: var(--dh-bg-dark);
    color: var(--dh-text-white);
    overflow-x: hidden;
}

/* 全局隐藏滚动条 */
body.home-2-0,
body.home-2-0 html,
body.home-2-0 .layout,
body.home-2-0 .main-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.home-2-0::-webkit-scrollbar,
body.home-2-0 html::-webkit-scrollbar,
body.home-2-0 .layout::-webkit-scrollbar,
body.home-2-0 .main-container::-webkit-scrollbar {
    display: none;
}

body.home-2-0 .layout {
    background-color: var(--dh-bg-dark);
}

body.home-2-0 .layout .sidebar {

    background-color: #111214;
    border-right: none;
    width: 165px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: visible;
    overflow-x: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.home-2-0 .layout .sidebar::-webkit-scrollbar {
    display: none;
}

body.home-2-0 .layout .main-container {
    margin-left: var(--dh-sidebar-width);
    width: calc(100% - var(--dh-sidebar-width));
    background-color: var(--dh-bg-dark);
    border: none;
    box-shadow: none;
}

/* main区域背景色 */
body.home-2-0 .main-container .main {
    background-color: var(--dh-bg-dark);
    padding: 0 !important;
}

/* ========================================
   3. 顶部搜索栏样式 (PC端)
   ======================================== */
body.home-2-0 .main-container .header {
    background: var(--dh-bg-dark);
    border-bottom: none;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 搜索框容器 */
body.home-2-0 .header .search-wrap {
    flex: 0 0 677px;
    max-width: 677px;
}

body.home-2-0 .search-wrap .search-form {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--dh-radius-pill);
    height: 48px;
    overflow: hidden;
    padding-left: 20px;
}

/* 搜索图标 */
body.home-2-0 .search-form .search-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    opacity: 0.6;
}

body.home-2-0 .search-form .search-input {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0 10px;
    color: var(--dh-text-white);
    font-size: 14px;
    font-family: 'SourceHanSansCN-Regular', sans-serif;
}

body.home-2-0 .search-form .search-input::placeholder {
    color: var(--dh-text-white-38);
}

body.home-2-0 .search-form .search-input:focus {
    outline: none;
    box-shadow: none;
}

body.home-2-0 .search-form .search-btn {
    width: 83px;
    height: 34px;
    margin: 7px;
    background-color: var(--dh-primary-green);
    color: rgba(0, 0, 0, 1);
    border: none;
    border-radius: var(--dh-radius-pill);
    font-size: 13px;
    font-weight: 500;
    font-family: 'PingFangSC-Medium', sans-serif;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.home-2-0 .search-form .search-btn:hover {
    background-color: rgba(100, 230, 70, 1);
    transform: scale(1.02);
}

/* 右侧用户区域 */
body.home-2-0 .header .header-right-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* 订阅会员 */
body.home-2-0 .header .header-vip {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: flex-start;
}

body.home-2-0 .header .header-vip .vip-icon {
    width: 18px;
    height: 18px;
}

body.home-2-0 .header .header-vip .vip-text {
    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

body.home-2-0 .header .header-vip .vip-text:hover {
    color: var(--dh-primary-green);
}

body.home-2-0 .header .header-group {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dh-text-white);
    font-size: 14px;
}

body.home-2-0 .header .header-group .wechat-icon {
    width: 19px;
    height: 19px;
}

body.home-2-0 .header .header-user {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 2;
}

body.home-2-0 .header .user-name-link,
body.home-2-0 .header .user-greeting {
    color: var(--dh-text-white);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
body.home-2-0 .header .header-user .user-name-link {
    flex: 1;
    justify-content: center;
}

body.home-2-0 .header .user-name-link:hover,
body.home-2-0 .header .user-name-link:hover .user-greeting {
    color: var(--dh-primary-green);
    background: transparent;
}

body.home-2-0 .header .login-link {
    background-color: var(--dh-primary-green);
    color: rgba(0, 0, 0, 1);
    border: none;
    border-radius: var(--dh-radius-xl);
    padding: 7px 21px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3.96px;
    text-decoration: none;
}

body.home-2-0 .header .login-link:hover {
    background-color: rgba(100, 230, 70, 1);
}

body.home-2-0 .header .logout-link {
    background: transparent;
    border: 1px solid var(--dh-border-dark);
    color: var(--dh-text-white);
    border-radius: var(--dh-radius-xl);
    padding: 7px 15px;
    font-size: 14px;
    flex-shrink: 0;
}

/* ========================================
   4. Banner轮播图区域
   ======================================== */
body.home-2-0 .banner-section {
    padding: 0 22px;
    margin-bottom: 40px;
}

body.home-2-0 .banner-carousel {
    display: flex;
    gap: 20px;
}

body.home-2-0 .banner-item {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

body.home-2-0 .banner-item:hover {
    transform: translateY(-3px);
}

body.home-2-0 .banner-item .banner-bg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* 隐藏banner文字内容，只显示图片 */
body.home-2-0 .banner-item .banner-content {
    display: none;
}

body.home-2-0 .banner-item .banner-title {
    font-size: 20px;
    font-weight: 500;
    font-family: 'SourceHanSansCN-Medium', sans-serif;
    color: var(--dh-text-white);
    line-height: 55px;
    margin-bottom: 10px;
}

body.home-2-0 .banner-item .banner-title .highlight {
    color: var(--dh-primary-green);
    font-size: 28px;
}

body.home-2-0 .banner-item .banner-title .highlight-gold {
    color: var(--dh-gold);
}

body.home-2-0 .banner-item .banner-desc {
    font-size: 16px;
    font-family: 'SourceHanSansCN-Regular', sans-serif;
    color: var(--dh-text-white);
    line-height: 34px;
}

/* ========================================
   5. 分类标题区域
   ======================================== */
body.home-2-0 .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    margin-bottom: 17px;
}

body.home-2-0 .section-title-2 {
    font-size: 16px;
    font-weight: 500;
    font-family: 'SourceHanSansCN-Medium', sans-serif;
    color: var(--dh-primary-green);
}

body.home-2-0 .section-more {    display: none;}body.home-2-0 .section-title-2-link {    text-decoration: none;    color: inherit;    display: flex;    align-items: center;}body.home-2-0 .section-title-2-link:hover .section-title-2 {    opacity: 0.8;}



/* ========================================
   6. 智能体列表 - 大图封面模式
   ======================================== */
body.home-2-0 .agent-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 0 22px;
    margin-bottom: 40px;
}

body.home-2-0 .agent-card-2 {
    position: relative;
    border-radius: var(--dh-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 235 / 303;
}

body.home-2-0 .agent-card-2:hover {
    transform: translateY(-5px);
}

/* 封面图/视频容器 */
body.home-2-0 .agent-card-2 .agent-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--dh-radius-md);
    overflow: hidden;
}

body.home-2-0 .agent-card-2 .agent-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* 灯箱效果 - 边缘黑色半透明渐隐 */
body.home-2-0 .agent-card-2 .agent-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.4) 100%),
                linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.1) 100%);
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}

body.home-2-0 .agent-card-2 .agent-cover-video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* hover时显示视频 */
body.home-2-0 .agent-card-2:hover .agent-cover-img {
    opacity: 0;
}

body.home-2-0 .agent-card-2:hover .agent-cover-video {
    opacity: 1;
}

/* 底部信息区 */
body.home-2-0 .agent-card-2 .agent-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 10px 13px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

body.home-2-0 .agent-card-2 .agent-name {
    font-size: 12px;
    font-family: 'SourceHanSansCN-Regular', sans-serif;
    color: var(--dh-text-white);
    line-height: 16px;
    max-width: 60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.home-2-0 .agent-card-2 .agent-stats {
    display: flex;
    align-items: center;
    gap: 2px;
}

body.home-2-0 .agent-card-2 .agent-stats .heart-icon {
    width: 24px;
    height: 24px;
}

body.home-2-0 .agent-card-2 .agent-stats .heart-icon-img,
body.home-2-0 .agent-card-2 .overlay-likes .heart-icon-img {
    width: 16px;
    height: 16px;
}

body.home-2-0 .agent-card-2 .agent-stats .count {
    font-size: 12px;
    font-weight: 500;
    font-family: 'SourceHanSansCN-Medium', sans-serif;
    color: var(--dh-text-white);
}

/* ========================================
   7. Agent卡片hover效果 - 白色半透明背景板
   ======================================== */
body.home-2-0 .agent-card-2 {
    position: relative;
    border-radius: var(--dh-radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

body.home-2-0 .agent-card-2:hover {
    transform: translateY(-10px);
}

body.home-2-0 .agent-card-2 .agent-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 61px;
    background: rgba(117,116,116,0.28);
    border-radius: 12px;
    backdrop-filter: blur(3.67647058823529px);
    -webkit-backdrop-filter: blur(3.67647058823529px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

body.home-2-0 .agent-card-2:hover .agent-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* 左侧信息区 - 名称和点赞 */
body.home-2-0 .agent-card-2 .agent-overlay .overlay-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body.home-2-0 .agent-card-2 .agent-overlay .overlay-title {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

body.home-2-0 .agent-card-2 .agent-overlay .overlay-likes {
    display: flex;
    align-items: center;
    gap: 4px;
}

body.home-2-0 .agent-card-2 .agent-overlay .overlay-likes .heart-icon {
    width: 16px;
    height: 16px;
}

body.home-2-0 .agent-card-2 .agent-overlay .overlay-likes .count {
    font-size: 12px;
    color: #FFFFFF;
}

/* 右侧一键同款按钮 */
body.home-2-0 .agent-card-2 .agent-overlay .btn-same-style {
    background-color: rgba(116, 255, 82, 1);
    color: rgba(0, 0, 0, 1);
    border: none;
    border-radius: 305px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 500;
    font-family: 'PingFangSC-Medium', sans-serif;
    letter-spacing: 0.66px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
    white-space: nowrap;
}

body.home-2-0 .agent-card-2 .agent-overlay .btn-same-style:hover {
    transform: scale(1.05);
}

/* 隐藏原来的底部信息区 */
body.home-2-0 .agent-card-2:hover .agent-info {
    opacity: 0;
}

/* ========================================
   8. 左侧边栏 - 父子级目录样式
   ======================================== */
body.home-2-0 .sidebar {
    padding: 0;
    display: flex;
    flex-direction: column;
}

body.home-2-0 .sidebar .logo-box {
    padding: 24px 14px 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 0;
}

body.home-2-0 .sidebar .logo-box .logo-img {
    width: 100%;
    height: auto;
}

body.home-2-0 .sidebar .logo-box .logo-text {
    font-size: 16px;
    font-weight: 700;
    font-family: 'AlimamaShuHeiTi-Bold', sans-serif;
    color: var(--dh-text-white);
}

/* 导航菜单选中状态 - 只使用伪元素热区 */
body.home-2-0 .sidebar .sidebar-nav-active {
    background-color: transparent;
    border-left: none;
    border-radius: 0;
}

body.home-2-0 .sidebar .sidebar-nav li {
    padding: 10px 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

/* 所有导航项的选中热区效果 */
body.home-2-0 .sidebar .sidebar-nav li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 143px;
    height: 36px;
    background: transparent;
    border-radius: var(--dh-radius-md);
    z-index: -1;
    transition: background-color 0.2s ease;
}

body.home-2-0 .sidebar .sidebar-nav li:hover::before {
    background-color: rgba(255, 255, 255, 0.1);
}

body.home-2-0 .sidebar .sidebar-nav li.sidebar-nav-active::before {
    background-color: rgba(255, 255, 255, 0.19);
    border-left: 1px solid var(--dh-primary-green);
}

body.home-2-0 .sidebar .sidebar-nav-active .nav-icon {
    filter: brightness(0) invert(1);
}

/* 分类区块标题 */
body.home-2-0 .sidebar .sidebar-section-title {
    padding: 14px 14px 8px;
    font-size: 14px;
    font-family: PingFangSC, PingFang SC, sans-serif;
    color: var(--dh-text-gray);
}

/* 分割线 */
body.home-2-0 .sidebar .sidebar-divider {
    width: 137px;
    height: 1px;
    background-color: var(--dh-border-dark);
    margin: 6px 14px 0;
}

/* 导航菜单项 */
body.home-2-0 .sidebar .sidebar-nav {
    padding: 0;
    margin: 0;
}

body.home-2-0 .sidebar .sidebar-nav li {
    padding: 10px 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

body.home-2-0 .sidebar .sidebar-nav li:hover {
    background-color: transparent;
}

body.home-2-0 .sidebar .sidebar-nav li .nav-icon {
    width: 18px;
    height: 18px;
}

body.home-2-0 .sidebar .sidebar-nav li a {
    font-family: PingFangSC, PingFang SC, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
    line-height: 22px;
    text-align: left;
    font-style: normal;
    text-decoration: none;
}

/* 选中状态文字为绿色 */
body.home-2-0 .sidebar .sidebar-nav li.sidebar-nav-active a {
    color: #00D26A;
}

/* 选中状态icon为绿色 */
body.home-2-0 .sidebar .sidebar-nav li.sidebar-nav-active .nav-icon {
    filter: brightness(0) saturate(100%) invert(68%) sepia(74%) saturate(390%) hue-rotate(93deg) brightness(95%) contrast(101%);
}

body.home-2-0 .sidebar .sidebar-nav li:hover a {
    color: #00D26A;
}

/* hover状态icon为绿色 */
body.home-2-0 .sidebar .sidebar-nav li:hover .nav-icon {
    filter: brightness(0) saturate(100%) invert(68%) sepia(74%) saturate(390%) hue-rotate(93deg) brightness(95%) contrast(101%);
}

/* 底部图标栏 */
body.home-2-0 .sidebar .sidebar-bottom-icons {
    margin-top: auto;
    padding: 14px 8px;
    display: flex;
    gap: 10px; justify-content: center;
}

body.home-2-0 .sidebar .sidebar-bottom-icons .sidebar-icon-btn {
    width: 80px;
    height: 34px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
    padding: 0;
}

body.home-2-0 .sidebar .sidebar-bottom-icons .sidebar-icon-btn.sidebar-more-wrapper {
    overflow: visible;
}

body.home-2-0 .sidebar .sidebar-bottom-icons .sidebar-icon-btn:hover {
    opacity: 0.8;
}

/* 按钮背景图片 - 100x34尺寸的完整按钮图 */
body.home-2-0 .sidebar .sidebar-bottom-icons .sidebar-icon-btn .btn-bg-img {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain;
    background: transparent !important;
    
}

body.home-2-0 .sidebar .sidebar-bottom-icons .sidebar-icon-btn .icon-img {
    width: 24px !important;
    height: 24px !important;
    background: transparent !important;
    background-color: transparent !important;
    filter: brightness(0) invert(1) !important;
    opacity: 0.8;
    border-radius: 0 !important;
}

/* ========================================
   更多按钮悬浮弹框
   ======================================== */
body.home-2-0 .sidebar .sidebar-more-wrapper {
    position: relative;
}

body.home-2-0 .sidebar .sidebar-more-popup {
    position: fixed;
    bottom: 20px;
    left: 171px;
    width: 187px;
    height: auto;
    padding: 12px 0;
    background: rgba(60,66,84,0.98);
    border-radius: 8px;
    border: 1px solid #3C4254;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 9999;
}

body.home-2-0 .sidebar .sidebar-more-wrapper:hover .sidebar-more-popup {
    opacity: 1;
    visibility: visible;
}

/* hover桥接区域：连接弹框与按钮之间的间隙 */
body.home-2-0 .sidebar .sidebar-more-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 100%;
}


body.home-2-0 .sidebar .sidebar-more-popup .popup-link {
    display: block;
    padding: 10px 12px;
    font-family: PingFangSC, PingFang SC, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 20px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    transition: color 0.2s ease;
}

body.home-2-0 .sidebar .sidebar-more-popup .popup-link:last-of-type {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.home-2-0 .sidebar .sidebar-more-popup .popup-link:hover {
    color: var(--dh-primary-green);
}

body.home-2-0 .sidebar .sidebar-more-popup .popup-copyright {
    padding: 8px 12px;
    font-size: 9px;
    color: rgba(255, 255, 255, 1);
    line-height: 1.3;
    text-align: center;
}

body.home-2-0 .sidebar .sidebar-more-popup .popup-copyright a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
}

body.home-2-0 .sidebar .sidebar-more-popup .popup-copyright a:hover {
    color: rgba(180, 180, 180, 1);
}

/* 弹框小三角 - 使用背景图片不需要 */

/* ========================================
   9. 底部版权备案信息
   ======================================== */
body.home-2-0 .footer-2 {
    position: relative;
    margin-top: auto;
    padding: 62px 0 0;
}

body.home-2-0 .footer-2 .footer-content {
    position: absolute;
    left: -33px;
    width: 187px;
    background: linear-gradient(135deg, rgba(30,30,30,0.9) 0%, rgba(20,20,20,0.95) 100%);
    border-radius: var(--dh-radius-md);
    padding: 16px 36px;
    text-align: center;
}

body.home-2-0 .footer-2 .footer-link {
    display: block;
    font-size: 14px;
    font-weight: 600;
    font-family: 'PingFangSC-Semibold', sans-serif;
    color: var(--dh-text-white);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

body.home-2-0 .footer-2 .footer-link:last-of-type {
    border-bottom: none;
}

body.home-2-0 .footer-2 .footer-link:hover {
    color: var(--dh-primary-green);
}

body.home-2-0 .footer-2 .footer-copyright {
    font-size: 10px;
    font-family: 'PingFangSC-Regular', sans-serif;
    color: var(--dh-text-white);
    line-height: 14px;
    padding-top: 16px;
}

/* ========================================
   10. 响应式适配
   ======================================== */
@media (max-width: 1600px) {
    body.home-2-0 .agent-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1400px) {
    body.home-2-0 .agent-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    body.home-2-0 .agent-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    body.home-2-0 .banner-carousel {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    body.home-2-0 .banner-item {
        height: auto;
    }
}

@media (max-width: 992px) {
    body.home-2-0 .agent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   11. 移动端首页样式
   ======================================== */
@media (max-width: 768px) {
    :root {
        --dh-sidebar-width: 0;
    }
    
    body.home-2-0 {
        background-color: rgba(7, 7, 9, 1);
    }
    
    body.home-2-0 .layout .sidebar {

        display: none;
    }
    
    body.home-2-0 .layout .main-container {
        margin-left: 0;
        width: 100%;
    }
    
    /* 移动端头部 */
    body.home-2-0 .main-container .header {
        padding: 14px 12px;
        flex-direction: column;
        gap: 15px;
    }
    
    body.home-2-0 .header .search-wrap {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
    
    body.home-2-0 .search-wrap .search-form {
        height: 40px;
    }
    
    body.home-2-0 .search-form .search-input {
        font-size: 14px;
    }
    
    body.home-2-0 .search-form .search-btn {
        width: 70px;
        height: 30px;
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    /* 移动端Banner */
    body.home-2-0 .banner-section {
        padding: 0 12px;
    }
    
    body.home-2-0 .banner-carousel {
        height: auto;
    }
    
    body.home-2-0 .banner-item {
        height: auto;
        border-radius: 16px;
    }
    
    body.home-2-0 .banner-item .banner-content {
        padding: 15px 25px;
    }
    
    body.home-2-0 .banner-item .banner-title {
        font-size: 14px;
        line-height: 25px;
    }
    
    body.home-2-0 .banner-item .banner-title .highlight {
        font-size: 18px;
    }
    
    body.home-2-0 .banner-item .banner-desc {
        font-size: 10px;
        line-height: 14px;
    }
    
    /* 移动端智能体列表 - 双列 */
    body.home-2-0 .agent-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 13px;
        padding: 0 12px;
    }
    
    body.home-2-0 .agent-card-2 {
        aspect-ratio: 166 / 239;
    }
    
    body.home-2-0 .agent-card-2 .agent-name {
        font-size: 8px;
    }
    
    body.home-2-0 .agent-card-2 .agent-stats .heart-icon {
        width: 16px;
        height: 16px;
    }
    
    body.home-2-0 .agent-card-2 .agent-stats .count {
        font-size: 8px;
    }
    
    /* 分类标题 */
    body.home-2-0 .section-header {
        padding: 0 12px;
    }
    
    body.home-2-0 .section-title-2 {
        font-size: 14px;
    }
    
    /* 移动端底部Tab栏 */
    body.home-2-0 .mobile-tab-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 90px;
        background: linear-gradient(to top, rgba(7,7,9,1) 0%, rgba(7,7,9,0.95) 100%);
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        padding-top: 6px;
        z-index: 1000;
    }
    
    body.home-2-0 .mobile-tab-bar .tab-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-decoration: none;
        color: var(--dh-text-white);
    }
    
    body.home-2-0 .mobile-tab-bar .tab-item .tab-icon {
        width: 24px;
        height: 24px;
    }
    
    body.home-2-0 .mobile-tab-bar .tab-item .tab-text {
        font-size: 12px;
        font-weight: 500;
        font-family: 'PingFangSC-Medium', sans-serif;
    }
    
    body.home-2-0 .mobile-tab-bar .tab-item.active .tab-text {
        color: var(--dh-primary-green);
    }
    
    /* 底部留白给Tab栏 */
    body.home-2-0 .main-container .main {
        padding-bottom: 100px;
    }
}

/* ========================================
   12. 动画效果
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.home-2-0 .agent-card-2 {
    animation: fadeInUp 0.4s ease forwards;
}

body.home-2-0 .agent-card-2:nth-child(1) { animation-delay: 0.05s; }
body.home-2-0 .agent-card-2:nth-child(2) { animation-delay: 0.1s; }
body.home-2-0 .agent-card-2:nth-child(3) { animation-delay: 0.15s; }
body.home-2-0 .agent-card-2:nth-child(4) { animation-delay: 0.2s; }
body.home-2-0 .agent-card-2:nth-child(5) { animation-delay: 0.25s; }
body.home-2-0 .agent-card-2:nth-child(6) { animation-delay: 0.3s; }

/* ========================================
   13. 分类页面样式
   ======================================== */
body.home-2-0.category-page .category-main {
    padding-top: 20px;
}

body.home-2-0.category-page .category-main .agent-grid {
    padding: 0 22px;
}

/* 分页样式 */
body.home-2-0 .pagination-wrap {
    padding: 40px 22px;
    text-align: center;
}

body.home-2-0 .pagination-wrap a,
body.home-2-0 .pagination-wrap span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

body.home-2-0 .pagination-wrap a {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.home-2-0 .pagination-wrap a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--dh-primary-green);
}

body.home-2-0 .pagination-wrap .current {
    background: var(--dh-primary-green);
    color: #000000;
    border: 1px solid var(--dh-primary-green);
}

body.home-2-0 .no-agents-found {
    padding: 80px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 统一所有sidebar导航项高度 */
body.home-2-0 .sidebar .sidebar-nav li {
    padding: 8px 14px !important;
    min-height: 36px;
    box-sizing: border-box;
}
body.home-2-0 .sidebar .sidebar-nav li::before {
    height: 32px !important;
}

/* 覆盖style.css中.sidebar规则，确保所有页面sidebar间距一致 */
body.home-2-0 .sidebar {
    float: none !important;
    width: 165px !important;
    background-color: #111214 !important;
}
body.home-2-0 .sidebar .sidebar-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.home-2-0 .sidebar .sidebar-nav li {
    padding: 10px 14px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    font-size: 14px !important;
}
body.home-2-0 .sidebar .sidebar-nav li a {
    color: #fff !important;
    text-decoration: none !important;
}
body.home-2-0 .sidebar .sidebar-section-title {
    padding: 16px 14px 6px !important;
    margin: 0 !important;
}
body.home-2-0 .sidebar .sidebar-divider {
    margin: 6px 14px !important;
}
