/* ========================================
   暗色科技感主题样式
   kx.ycvvv.cn 前台美化
   ======================================== */

:root {
    /* 主题色 - 紫蓝渐变 */
    --theme-primary: #6366f1;
    --theme-secondary: #8b5cf6;
    --theme-accent: #06b6d4;
    --theme-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --theme-glow: 0 0 20px rgba(99, 102, 241, 0.5);
    
    /* 背景色 */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --bg-header: rgba(15, 23, 42, 0.95);
    --bg-footer: #0f172a;
    
    /* 文字色 */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #6366f1;
    
    /* 边框色 */
    --border-color: #334155;
    --border-glow: #6366f1;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    font-size: 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image: 
        radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    word-wrap: break-word;
    min-height: 100vh;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--theme-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--theme-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--theme-accent);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

[v-cloak] {
    display: none !important;
}

#app {
    position: relative;
    z-index: 9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   导航栏样式
   ======================================== */
.headerBox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 999;
    backdrop-filter: blur(20px);
    background: var(--bg-header);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.headerKox {
    height: 70px;
}

.headerBox .bg {
    display: none;
}

.headerBox .box {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    height: 100%;
    max-width: 1400px;
    padding: 0 30px;
}

.headerBox .box .logoBox {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.headerBox .box .logoBox .logo {
    height: 45px;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.headerBox .box .logoBox .title {
    margin-left: 15px;
    font-size: 22px;
    font-weight: 700;
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 1px;
}

.headerBox .box .navs {
    display: inline-flex;
    align-items: center;
    gap: 25px;
}

.headerBox .box .navs .iconfont {
    display: none;
}

.headerBox .box .navs .item,
.headerBox .box .navs a {
    padding: 8px 16px;
    margin-left: 0;
    cursor: pointer;
    white-space: nowrap;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.headerBox .box .navs .item:hover,
.headerBox .box .navs a:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.headerBox .box .navs .btns {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 导航搜索框 */
.headerBox .box .search {
    position: relative;
    flex: 1;
    height: 42px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    max-width: 380px;
    margin: 0 20px 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.headerBox .box .search:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.headerBox .box .search input {
    position: relative;
    z-index: 9;
    flex: 1;
    height: 100%;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    box-sizing: border-box;
    padding-left: 20px;
    color: var(--text-primary);
    background-color: transparent;
}

.headerBox .box .search input::placeholder {
    color: var(--text-muted);
}

.headerBox .box .search .btn {
    position: relative;
    z-index: 9;
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.headerBox .box .search .btn:hover {
    background: var(--theme-gradient);
    border-radius: 0 50px 50px 0;
}

.headerBox .box .search .btn .iconfont {
    font-size: 20px;
    font-weight: bold;
    color: var(--theme-primary);
    transition: all 0.3s ease;
}

.headerBox .box .search .btn:hover .iconfont {
    color: var(--text-primary);
}

/* ========================================
   首页容器
   ======================================== */
.homeBox {
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
    text-align: center;
    padding-top: 100px;
    padding-bottom: 40px;
    flex: 1;
}

.homeBox .box {
    width: 100%;
    max-width: 700px;
    margin: auto;
}

.homeBox .logoBox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.homeBox .logoBox .logo {
    height: 70px;
    margin: 0 12px;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.homeBox .logoBox .title {
    margin: 0 12px;
    font-size: 36px;
    font-weight: 800;
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.homeBox .subTitle {
    padding: 10px 0 20px;
    color: var(--text-secondary);
    font-size: 16px;
    opacity: 0.8;
}

/* ========================================
   搜索框样式
   ======================================== */
.searchBox .search {
    position: relative;
    margin: auto;
    margin-top: 30px;
    background: var(--bg-card);
    box-shadow: var(--shadow-glow);
    width: 100%;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 4px;
}

.searchBox .search:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.searchBox .search input {
    flex: 1;
    height: 100%;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    box-sizing: border-box;
    padding-left: 28px;
    color: var(--text-primary);
    background-color: transparent;
}

.searchBox .search input::placeholder {
    color: var(--text-muted);
}

.searchBox .search .btn {
    width: 70px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--theme-gradient);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.searchBox .search .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}

.searchBox .search .btn .iconfont {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
}

/* ========================================
   内容区块样式
   ======================================== */
.home {
    margin-top: 60px;
    text-align: left;
}

.home .block {
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.home .block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--theme-gradient);
    opacity: 0;
    transition: all 0.3s ease;
}

.home .block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.4);
}

.home .block:hover::before {
    opacity: 1;
}

.home .nav {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.home .nav img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.home .content {
    min-height: 200px;
}

.home .content .list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.home .content .list .item {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    padding: 2px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.home .content .list .item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--theme-primary);
}

.home .content .list .item p {
    margin-top: 12px;
    padding: 0 10px 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.home .content .list .item:hover p {
    color: var(--text-primary);
}

.home .content .list .item .img {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
}

.home .content .list .item .img img {
    position: relative;
    z-index: 9;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.home .content .list .item:hover .img img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.home .content .list .item .img span {
    position: absolute;
    inset: 0;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.home.homeNO {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.home.homeNO .block {
    margin: 0;
    width: calc(20% - 16px);
    flex: 0 0 calc(20% - 16px);
}

.home.homeNO .content .list {
    padding: 10px;
}

.home.homeNO .content .list .item {
    width: 100%;
    margin: 0;
    border-radius: var(--radius-sm);
    text-align: left;
}

.home.homeNO .content .list .item p {
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 13px;
}

.home.homeNO .content .list .item:hover {
    transform: translateX(5px);
}

.home.homeNO .content .list .item p span {
    color: var(--text-muted);
    margin-right: 8px;
    font-weight: 600;
}

.home.homeNO .content .list .item:nth-child(1) p span {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.home.homeNO .content .list .item:nth-child(2) p span {
    color: #f97316;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.home.homeNO .content .list .item:nth-child(3) p span {
    color: #eab308;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}

/* ========================================
   列表页样式
   ======================================== */
.listBox {
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
    display: flex;
    padding: 40px 30px;
    gap: 30px;
}

.listBox h3 {
    position: relative;
    padding: 25px 0 15px 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.listBox h3:after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 4px;
    height: 24px;
    background: var(--theme-gradient);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.listBox h3 span {
    color: var(--theme-accent);
}

.listBox .nav {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 25px 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.listBox .nav img {
    width: 24px;
    height: 24px;
}

.listBox .left {
    flex: 1;
    overflow: hidden;
}

.listBox .left .list {
    padding: 0 10px;
}

.listBox .left .list .item {
    position: relative;
    display: block;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.listBox .left .list .item:hover {
    transform: translateX(10px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.listBox .left .list .item:last-child {
    border-bottom: none;
}

.listBox .left .list .item .title {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 8px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.listBox .left .list .item .title:hover {
    color: var(--theme-accent);
}

.listBox .left .list .item .title p {
    color: var(--text-secondary);
    display: inline;
}

.listBox .left .list .item .title p span {
    color: var(--theme-primary);
}

.listBox .left .list .item .btns {
    display: flex;
    align-items: center;
    margin-top: 15px;
    gap: 20px;
}

.listBox .left .list .item .btns .btn {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.listBox .left .list .item .btns .btn:hover {
    color: var(--text-primary);
    background: var(--theme-gradient);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.listBox .left .list .item .btns .btn .iconfont {
    font-size: 18px;
    margin-right: 6px;
}

.listBox .left .list .item .btns .btn .icon {
    width: 20px;
    margin-right: 6px;
    flex: none;
}

.listBox .left .list .item .type {
    position: relative;
    color: var(--text-muted);
    flex: none;
    padding-left: 28px;
    margin-top: 12px;
    font-size: 13px;
}

.listBox .left .list .item .type::after {
    content: "\e619";
    position: absolute;
    top: -2px;
    left: 0;
    font-family: 'iconfont';
    font-size: 18px;
    color: var(--theme-primary);
}

.listBox .left .list .item .type span {
    margin-right: 35px;
}

.listBox .left .list .item .type span span {
    color: #ef4444;
}

.listBox .left .list .item .type.time::after {
    content: "\ebb1";
}

.listBox .left .list .item .type.cate::after {
    content: "\e65f";
}

/* 右侧边栏 */
.listBox .right {
    width: 320px;
    flex: none;
}

.listBox .box {
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    min-height: calc(100% - 71px);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.listBox .right .box {
    height: auto;
    min-height: auto;
}

.listBox .right .list .item {
    width: 100%;
    margin: 0;
    border-radius: var(--radius-sm);
    text-align: left;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.listBox .right .list .item:hover {
    background: var(--bg-card-hover);
    transform: translateX(8px);
}

.listBox .right .list .item p {
    margin: 0;
    padding: 4px 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    color: var(--text-secondary);
}

.listBox .right .list .item:hover p {
    color: var(--text-primary);
}

.listBox .right .list .item p span {
    color: var(--text-muted);
    margin-right: 8px;
    font-weight: 600;
    font-size: 12px;
}

.listBox .right .list .item:nth-child(1) p span {
    color: #ef4444;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.listBox .right .list .item:nth-child(2) p span {
    color: #f97316;
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

.listBox .right .list .item:nth-child(3) p span {
    color: #eab308;
    text-shadow: 0 0 8px rgba(234, 179, 8, 0.5);
}

/* 筛选栏 */
.listBox .screen {
    width: 140px;
    margin-right: 25px;
}

.listBox .screen .fixed {
    position: fixed;
    width: 140px;
    z-index: 9;
}

.listBox .screen .box {
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.listBox .screen .box a {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    margin-bottom: 5px;
}

.listBox .screen .box a:last-child {
    border-bottom: none;
}

.listBox .screen .box a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding-left: 20px;
}

.listBox .screen .box a.active {
    font-weight: 700;
    color: var(--text-primary);
    background: var(--theme-gradient);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

/* ========================================
   详情页样式
   ======================================== */
.listBox .details {
    padding: 40px;
    min-height: inherit;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.details .pic {
    width: 180px;
    height: 240px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    margin: 0 auto 35px;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.details .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.details .pic:hover img {
    transform: scale(1.05);
}

.details .title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
}

.details .cat {
    display: flex;
    font-size: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.details .cat:last-child {
    border-bottom: none;
}

.details .cat .l {
    flex: none;
    width: 100px;
    color: var(--text-muted);
    font-weight: 500;
}

.details .cat .r {
    flex: 1;
    width: 0;
    color: var(--text-secondary);
}

.details .cat .r a {
    color: var(--theme-accent);
    word-wrap: break-word;
    word-break: normal;
}

.details .cat .r a:hover {
    text-decoration: underline;
}

.details .cat .r .icon {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 10px;
}

.details .cat .r span {
    vertical-align: middle;
}

.details .btns {
    display: flex;
    margin-top: 30px;
    justify-content: center;
    gap: 20px;
}

.details .btns .btn {
    position: relative;
    min-width: 140px;
    height: 44px;
    line-height: 44px;
    border-radius: 50px;
    background: var(--bg-secondary);
    font-size: 15px;
    color: var(--text-primary);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-weight: 600;
}

.details .btns .btn .iconfont {
    font-size: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

.details .btns .btn:hover {
    background: var(--theme-gradient);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.details .btns .btn.btnCol {
    background: var(--theme-gradient);
    color: var(--text-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.details .btns .btn.btnCol:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

/* 相关资源 */
.listBox .details.samelistBox {
    padding: 30px;
    margin-top: 30px;
}

.samelist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.samelist .item {
    width: 100%;
    margin: 0;
    border-radius: var(--radius-sm);
    text-align: left;
    padding: 12px 15px;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.samelist .item:hover {
    background: var(--bg-card-hover);
    border-color: var(--theme-primary);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.samelist .item p {
    margin: 0;
    padding: 4px 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    color: var(--text-secondary);
    word-break: break-all;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.samelist .item:hover p {
    color: var(--text-primary);
}

.samelist .item p span {
    color: var(--text-muted);
    margin-right: 8px;
    font-weight: 600;
    font-size: 12px;
}

.samelist .item:nth-child(1) p span {
    color: #ef4444;
}

.samelist .item:nth-child(2) p span {
    color: #f97316;
}

.samelist .item:nth-child(3) p span {
    color: #eab308;
}

/* ========================================
   底部样式
   ======================================== */
.footerBox {
    padding: 50px 30px 30px;
    background: var(--bg-footer);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footerBox .box {
    text-align: center;
    margin: auto;
    max-width: 1400px;
}

.footerBox .box p {
    opacity: 0.7;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.footerBox .box p a {
    color: var(--theme-accent);
    transition: all 0.3s ease;
}

.footerBox .box p a:hover {
    color: var(--theme-primary);
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* ========================================
   分页样式
   ======================================== */
.page {
    display: flex;
    padding: 30px 0 20px;
    justify-content: center;
}

.el-pagination.is-background .btn-next.is-disabled,
.el-pagination.is-background .btn-next:disabled,
.el-pagination.is-background .btn-prev.is-disabled,
.el-pagination.is-background .btn-prev:disabled,
.el-pagination.is-background .el-pager li.is-disabled,
.el-pagination.is-background .el-pager li:disabled {
    background-color: var(--bg-secondary);
    color: var(--text-muted);
}

.el-pagination.is-background .btn-next.is-active,
.el-pagination.is-background .btn-prev.is-active,
.el-pagination.is-background .el-pager li.is-active {
    background: var(--theme-gradient);
    color: var(--text-primary);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.el-pager li.is-active,
.el-pager li:hover {
    color: var(--theme-accent);
}

/* ========================================
   弹窗样式
   ======================================== */
.el-dialog {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
}

.el-dialog__title {
    color: var(--text-primary);
}

.el-dialog__body {
    color: var(--text-secondary);
}

.layerBox .vname {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.layerBox .el-textarea textarea {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    width: 100%;
    height: 200px;
    margin: 15px auto 0;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.layerBox .el-textarea__inner:focus {
    box-shadow: none;
    border-color: var(--theme-primary);
}

.layerBox .vbtn {
    background: var(--theme-gradient);
    color: var(--text-primary);
    height: 45px;
    line-height: 45px;
    text-align: center;
    margin-top: 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.layerBox .vbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* ========================================
   Loading 样式
   ======================================== */
.loader {
    margin: auto;
    width: fit-content;
    font-weight: 700;
    font-family: 'Inter', monospace;
    font-size: 20px;
    background: radial-gradient(circle closest-side, var(--theme-primary) 94%, #0000) right/calc(200% - 1em) 100%;
    animation: l24 1s infinite alternate linear;
}

.loader::before {
    content: " 全网检索中，请稍等...";
    line-height: 1em;
    color: #0000;
    background: inherit;
    background-image: radial-gradient(circle closest-side, var(--bg-card) 94%, var(--theme-primary));
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes l24 {
    100% {
        background-position: left;
    }
}

/* ========================================
   全网搜卡片
   ======================================== */
.listBox .Ebox {
    border-radius: var(--radius-lg);
    background-color: var(--bg-card);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.listBox .left .Ebox .list .item:last-child {
    border-bottom: none;
}

.Qtips {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.Qbtn {
    text-align: center;
    padding-top: 15px;
}

.Qbtn .btn {
    display: inline-block;
    color: var(--text-muted);
    cursor: pointer;
}

/* ========================================
   资源切换
   ======================================== */
.source-switch {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow-x: auto;
}

.source-switch h3 {
    margin-right: 10px;
    color: var(--text-primary);
}

.switch-items {
    display: flex;
    gap: 20px;
    padding-top: 15px;
}

.switch-items a {
    position: relative;
    padding: 8px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
}

.switch-items a:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.switch-items a.active {
    color: var(--text-primary);
    font-weight: 700;
    background: var(--theme-gradient);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.vtips {
    font-size: 14px;
    color: var(--text-muted);
    padding: 15px 0 0;
}

.vtips a {
    font-weight: 700;
    color: var(--theme-accent);
}

.btns2 {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    height: 34px;
    line-height: 34px;
    color: var(--text-primary);
    background: var(--theme-gradient);
    font-size: 14px;
    width: 110px;
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    right: 20px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.btns2:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.6);
}

/* ========================================
   资源弹窗
   ======================================== */
.dialogUrlBox {
    width: 480px;
    max-width: 90vw;
    border-radius: var(--radius-xl);
}

.dialogUrlBox .dialogUrl {
    min-height: 100px;
    padding: 10px 0;
}

.dialogUrlBox .dialogUrl .title {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.dialogUrlBox .dialogUrl .title span {
    color: var(--theme-accent);
}

.dialogUrlBox .dialogUrl .tips {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.dialogUrlBox .dialogUrl .qrcode {
    margin: 30px auto 0;
    width: 200px;
    height: 200px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
}

.dialogUrlBox .dialogUrl .qrcode canvas {
    width: 100%;
    height: 100%;
    padding: 15px;
}

.dialogUrlBox .dialogUrl .nav {
    margin-top: 20px;
    font-size: 14px;
    padding: 0 20px;
}

.dialogUrlBox .dialogUrl .nav .item {
    color: var(--text-secondary);
    text-align: center;
    margin-top: 8px;
    word-break: break-all;
}

.dialogUrlBox .dialogUrl .nav .item .t {
    font-weight: 700;
    color: var(--text-primary);
}

.dialogUrlBox .dialogUrl .nav .item a {
    color: var(--theme-accent);
    word-break: break-all;
}

.dialogUrlBox .dialogUrl .statement {
    margin-top: 30px;
    padding-top: 20px;
    text-align: left;
    font-size: 13px;
    border-top: 1px dashed var(--border-color);
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.dialogUrlBox .dialogUrl .statement .content {
    margin-bottom: 10px;
    color: var(--text-muted);
    line-height: 1.8;
}

.dialogUrlBox .dialogUrl .statement .content p {
    text-align: justify;
    margin-top: 8px;
}

.dialogUrlBox .el-icon {
    font-size: 20px;
    color: var(--theme-accent);
}

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

.home .block,
.listBox .left .list .item,
.listBox .right .list .item {
    animation: fadeIn 0.5s ease forwards;
}

/* 光晕效果 */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    }
}

.headerBox .box .logoBox .logo {
    animation: glow 3s ease-in-out infinite;
}

/* ========================================
   响应式增强 - 平板适配 (768px-1024px)
   ======================================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .headerBox .box {
        max-width: 100%;
        padding: 0 20px;
    }
    .headerBox .box .search {
        max-width: 250px;
    }
    .homeBox {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .listBox {
        max-width: 100%;
        padding: 30px 20px;
    }
    .listBox .screen {
        width: 110px;
        margin-right: 15px;
    }
    .listBox .screen .fixed {
        width: 110px;
    }
    .listBox .right {
        width: 240px;
    }
    .home.homeNO .block {
        width: calc(33.33% - 14px);
        flex: 0 0 calc(33.33% - 14px);
    }
    .footerBox .box {
        max-width: 100%;
    }
    .drama-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    .content-section {
        padding: 30px 20px;
    }
}

/* ========================================
   响应式增强 - 手机端 (max-width: 768px)
   ======================================== */
@media screen and (max-width: 768px) {
    html, body {
        font-size: 14px;
        -webkit-tap-highlight-color: transparent;
    }

    /* 导航栏手机适配 */
    .headerBox {
        height: 56px;
    }
    .headerKox {
        height: 56px;
    }
    .headerBox .box {
        max-width: 100%;
        padding: 0 15px;
    }
    .headerBox .box .logoBox .logo {
        height: 32px;
    }
    .headerBox .box .logoBox .title {
        font-size: 16px;
        margin-left: 10px;
    }
    .headerBox .box .search {
        display: none;
    }
    .headerBox .box .navs .item,
    .headerBox .box .navs .btns {
        display: none;
    }
    .headerBox .box .navs .iconfont {
        display: block;
        font-size: 22px;
        color: var(--text-primary);
    }
    .headerBox .box .navs {
        gap: 10px;
    }

    /* 移动端导航抽屉 */
    .drawer .item,
    .drawer a {
        display: block;
        padding: 14px 20px;
        font-size: 15px;
        color: var(--text-primary);
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }
    .drawer .item:hover,
    .drawer a:hover {
        background: var(--bg-secondary);
        color: var(--theme-accent);
    }
    .drawer .item:last-child,
    .drawer a:last-child {
        border-bottom: none;
    }
    .drawer .login-btn-mobile {
        background: var(--theme-gradient);
        color: #fff;
        border-radius: var(--radius-md);
        margin: 10px 20px;
        border: none;
        text-align: center;
    }

    /* 首页手机适配 */
    .homeBox {
        max-width: 100%;
        padding: 20px 15px 30px;
    }
    .homeBox .box {
        max-width: 100%;
    }
    .homeBox .logoBox .logo {
        height: 50px;
    }
    .homeBox .logoBox .title {
        font-size: 24px;
    }
    .homeBox .subTitle {
        font-size: 14px;
    }
    .searchBox .search {
        height: 48px;
        border-radius: 48px;
        margin-top: 20px;
    }
    .searchBox .search input {
        font-size: 14px;
        padding-left: 18px;
    }
    .searchBox .search .btn {
        width: 50px;
    }
    .searchBox .search .btn .iconfont {
        font-size: 20px;
    }
    .home {
        margin-top: 30px;
    }
    .home .block {
        padding: 15px;
        margin-bottom: 15px;
    }
    .home .nav {
        font-size: 16px;
        padding: 0 0 12px;
    }
    .home .content .list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
        padding: 5px 0;
    }
    .home.homeNO {
        flex-direction: column;
        gap: 12px;
    }
    .home.homeNO .block {
        width: 100%;
        flex: auto;
    }

    /* 列表页手机适配 */
    .listBox {
        max-width: 100%;
        padding: 15px;
        flex-direction: column;
    }
    .listBox .screen {
        width: 100%;
        margin: 0 0 15px 0;
    }
    .listBox .screen .fixed {
        position: relative;
        width: 100%;
    }
    .listBox .screen .fixed h3 {
        display: none;
    }
    .listBox .screen .box {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }
    .listBox .screen .box a {
        padding: 8px 14px;
        margin: 0;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        font-size: 13px;
    }
    .listBox .right {
        display: none;
    }
    .listBox .left {
        width: 100%;
    }
    .listBox .left .list {
        padding: 0;
    }
    .listBox .left .list .item {
        padding: 15px;
        margin-bottom: 10px;
    }
    .listBox .left .list .item .btns {
        flex-wrap: wrap;
        gap: 10px;
    }
    .listBox .left .list .item .btns .btn {
        margin-right: 0;
        font-size: 13px;
        padding: 6px 12px;
    }

    /* 详情页手机适配 */
    .listBox .details {
        padding: 20px;
    }
    .details .pic {
        width: 140px;
        height: 190px;
    }
    .details .title {
        font-size: 18px;
    }
    .details .btns {
        flex-direction: column;
        gap: 10px;
    }
    .details .btns .btn {
        min-width: 100%;
    }
    .samelist {
        grid-template-columns: 1fr;
    }

    /* 每日更新页手机适配 */
    .hero-section {
        padding: 30px 15px 20px;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-subtitle {
        font-size: 13px;
    }
    .content-section {
        padding: 20px 15px;
    }
    .drama-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .footer-enhanced {
        padding: 30px 15px 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 推荐专区手机适配 */
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .recommend-card {
        padding: 12px;
        border-radius: 10px;
    }
    .recommend-card .rc-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .recommend-card .badge {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 10px;
    }
    .home .content .list .item {
        border-radius: 10px;
        padding: 5px;
    }
    .home .content .list .item .img {
        border-radius: 8px;
    }

    /* 分类导航手机适配 */
    .category-nav-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .category-nav-item {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    /* 弹窗手机适配 */
    .dialogUrlBox {
        width: 90vw !important;
        max-width: 90vw !important;
    }
    .dialogUrlBox .dialogUrl .nav .item {
        word-break: break-all;
    }
    .dialogUrlBox .dialogUrl .nav .item a {
        word-break: break-all;
        font-size: 12px;
    }
    .dialogUrlBox .dialogUrl .qrcode {
        width: 150px;
        height: 150px;
    }
    .dialogUrlBox .dialogUrl .statement .content p {
        font-size: 12px;
        line-height: 1.5;
    }
    .details .btns {
        flex-direction: column;
        gap: 10px;
    }
    .details .btns .btn {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    .samelist .item {
        width: 100%;
    }
    .samelist .item p {
        white-space: normal;
        overflow: visible;
        word-break: break-all;
    }
}

/* ========================================
   响应式增强 - 小屏手机 (max-width: 480px)
   ======================================== */
@media screen and (max-width: 480px) {
    .home .content .list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .recommend-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .category-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .homeBox {
        padding-top: 15px;
    }
    .homeBox .logoBox .title {
        font-size: 20px;
    }
    .hero-title {
        font-size: 22px;
    }
    .listBox .screen .box a {
        padding: 6px 10px;
        font-size: 12px;
    }
    .footer-enhanced {
        padding: 20px 12px 15px;
    }
    .footer-section h4 {
        font-size: 15px;
    }
}

/* ========================================
   大屏优化 (min-width: 1400px)
   ======================================== */
@media screen and (min-width: 1400px) {
    .home .content .list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    .drama-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    .recommend-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ========================================
   分类导航网格（首页）
   ======================================== */
.category-nav-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 30px;
}
.category-nav-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.category-nav-title::before {
    content: '';
    width: 4px;
    height: 26px;
    background: var(--theme-gradient);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}
.category-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}
.category-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.category-nav-item:hover {
    transform: translateY(-4px);
    border-color: var(--theme-primary);
    color: var(--text-primary);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    background: var(--bg-card-hover);
}
.category-nav-item .iconfont {
    font-size: 20px;
    color: var(--theme-accent);
}
.category-nav-item-more {
    background: var(--theme-gradient);
    color: #fff;
    border: none;
}
.category-nav-item-more:hover {
    color: #fff;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

/* ========================================
   推荐专区（首页）
   ======================================== */
.recommend-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 30px;
}
.recommend-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.recommend-title .left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.recommend-title .left::before {
    content: '';
    width: 4px;
    height: 26px;
    background: linear-gradient(180deg, #f97316 0%, #ef4444 100%);
    border-radius: 2px;
}
.recommend-title .more-link {
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}
.recommend-title .more-link:hover {
    color: var(--theme-accent);
}
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.recommend-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.recommend-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.3);
    border-color: rgba(249, 115, 22, 0.5);
}
.recommend-card .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    z-index: 10;
}
.recommend-card .badge.hot {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.recommend-card .badge.new {
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
}
.recommend-card .rc-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 15px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    text-align: center;
}
.recommend-card .rc-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
}
.recommend-card .rc-category {
    color: var(--theme-accent);
    font-weight: 500;
}
.recommend-card .rc-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.recommend-card .rc-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

/* ========================================
   用户个人中心样式
   ======================================== */
.user-center-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.user-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-xl);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.user-header .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.user-header .info h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-header .info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.user-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.user-tabs .tab {
    padding: 12px 24px;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
}

.user-tabs .tab.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.user-tabs .tab:hover:not(.active) {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
}

.user-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.content-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.history-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--theme-primary);
    transform: translateX(8px);
}

.history-item .keyword {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.history-item .title {
    font-size: 14px;
    color: var(--text-secondary);
    flex: 1;
    margin-right: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-item .time {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.item-body {
    display: flex;
    align-items: center;
    flex: 1;
}

/* 手机端适配 */
@media screen and (max-width: 768px) {
    .user-center-page {
        padding: 20px 15px;
    }
    
    .user-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .user-header .info h2 {
        font-size: 20px;
    }
    
    .user-tabs {
        justify-content: center;
    }
    
    .user-tabs .tab {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .user-content {
        padding: 20px 15px;
    }
    
    .content-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .history-item {
        padding: 12px 15px;
    }
    
    .history-item .keyword,
    .history-item .title {
        font-size: 14px;
    }
    
    .history-item .time {
        font-size: 12px;
    }
}

/* ========================================
   分类列表页专用样式
   ======================================== */
.category-page-header {
    text-align: center;
    padding: 50px 20px 30px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, transparent 100%);
}
.category-page-title {
    font-size: 32px;
    font-weight: 800;
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}
.category-page-desc {
    font-size: 15px;
    color: var(--text-secondary);
}
.category-page-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    gap: 30px;
}
.category-sidebar {
    width: 200px;
    flex: none;
}
.category-sidebar .sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 3px solid var(--theme-primary);
}
.category-sidebar a {
    display: block;
    padding: 10px 15px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}
.category-sidebar a:hover,
.category-sidebar a.active {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
}
.category-sidebar a.active {
    background: var(--theme-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.category-main {
    flex: 1;
    min-width: 0;
}
.category-resource-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.category-resource-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}
.category-resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
}
.category-resource-card .cr-img {
    width: 100%;
    aspect-ratio: 3/2;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}
.category-resource-card .cr-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-resource-card .cr-body {
    padding: 18px;
}
.category-resource-card .cr-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
    line-height: 1.5;
}
.category-resource-card .cr-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}
.category-resource-card .cr-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========================================
   登录/注册页样式
   ======================================== */
.auth-page {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-container {
    width: 100%;
    max-width: 420px;
}
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}
.auth-header {
    text-align: center;
    margin-bottom: 35px;
}
.auth-logo {
    font-size: 28px;
    font-weight: 800;
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.auth-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 4px;
}
.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.auth-tab.active {
    background: var(--theme-gradient);
    color: #fff;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}
.auth-form .form-group {
    margin-bottom: 20px;
}
.auth-form .form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.auth-form .form-input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}
.auth-form .form-input:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}
.auth-form .form-input::placeholder {
    color: var(--text-muted);
}
.auth-submit-btn {
    width: 100%;
    height: 48px;
    background: var(--theme-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}
.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.auth-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 15px;
    text-align: center;
}
.auth-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 15px;
    text-align: center;
}
.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-muted);
}
.auth-footer a {
    color: var(--theme-accent);
    font-weight: 600;
}
.auth-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   联系我们/客服页样式
   ======================================== */
.contact-page-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.1) 0%, transparent 100%);
}
.contact-page-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}
.contact-page-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}
.contact-page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}
.contact-card:hover {
    box-shadow: var(--shadow-glow);
}
.contact-card .cc-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.contact-card .cc-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.contact-card .cc-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}
.contact-card .cc-qrcode {
    width: 180px;
    height: 180px;
    margin: 15px auto;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.contact-card .cc-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.contact-form-card .cf-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-form-card .cf-title::before {
    content: '';
    width: 3px;
    height: 22px;
    background: var(--theme-gradient);
    border-radius: 2px;
}
.contact-form-group {
    margin-bottom: 18px;
}
.contact-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}
.contact-form-input:focus,
.contact-form-textarea:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}
.contact-form-textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form-submit {
    width: 100%;
    height: 46px;
    background: var(--theme-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.contact-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}

/* ========================================
   导航栏登录按钮
   ======================================== */
.nav-login-btn {
    padding: 8px 20px !important;
    background: var(--theme-gradient);
    color: #fff !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease !important;
}
.nav-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.6);
    background: var(--theme-gradient) !important;
    color: #fff !important;
}
.nav-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 500;
}
.nav-user-info .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--theme-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    min-width: 160px;
    padding: 8px 0;
    z-index: 1000;
    display: none;
}
.nav-dropdown.show {
    display: block;
}
.nav-dropdown a,
.nav-dropdown .dd-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.nav-dropdown a:hover,
.nav-dropdown .dd-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ========================================
   分类下拉菜单（导航栏）
   ======================================== */
.nav-category-dropdown {
    position: relative;
}
.nav-category-dropdown .dd-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    cursor: pointer;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}
.nav-category-dropdown .dd-trigger:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.15);
}
.nav-category-dropdown .dd-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    min-width: 180px;
    padding: 8px 0;
    z-index: 1000;
    display: none;
}
.nav-category-dropdown:hover .dd-menu {
    display: block;
}
.nav-category-dropdown .dd-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.nav-category-dropdown .dd-menu a:hover {
    background: var(--bg-secondary);
    color: var(--theme-accent);
}

/* ========================================
   通用工具类
   ======================================== */
.text-center { text-align: center; }
.text-gradient {
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========================================
   每日更新页 - 日期选择器
   ======================================== */
.date-picker-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}
.date-picker-item {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.date-picker-item:hover,
.date-picker-item.active {
    background: var(--theme-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.date-picker-item.today {
    border-color: var(--theme-accent);
    color: var(--theme-accent);
}
.date-picker-item.today:hover,
.date-picker-item.today.active {
    color: #fff;
}

/* ========================================
   回访订阅引导
   ======================================== */
.subscribe-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    text-align: center;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: var(--shadow-md);
}
.subscribe-bar .sb-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.subscribe-bar .sb-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}
.subscribe-bar .sb-input-group {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}
.subscribe-bar .sb-input {
    flex: 1;
    height: 42px;
    padding: 0 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
}
.subscribe-bar .sb-btn {
    height: 42px;
    padding: 0 20px;
    background: var(--theme-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.subscribe-bar .sb-btn:hover {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.5);
}

/* ========================================
   页面过渡动画
   ======================================== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-slideUp {
    animation: slideUp 0.6s ease forwards;
}
.slideUp-delay-1 { animation-delay: 0.1s; opacity: 0; }
.slideUp-delay-2 { animation-delay: 0.2s; opacity: 0; }
.slideUp-delay-3 { animation-delay: 0.3s; opacity: 0; }
.slideUp-delay-4 { animation-delay: 0.4s; opacity: 0; }
