/* ==========================================
   AI导航 - AI时代风格自定义样式
   基于 Pintuer 栅格，全面重写视觉
   ========================================== */

/* ---------- 设计变量 ---------- */
:root {
    --c-primary: #4F8BFF;
    --c-secondary: #7B5CFF;
    --c-accent: #C63CFF;
    --c-dark: #0B1024;
    --c-deep: #06091A;
    --c-light-bg: #F5F7FF;
    --c-text: #1A1F36;
    --c-text-muted: #6B7390;
    --c-border: rgba(79, 139, 255, 0.12);
    --gradient-ai: linear-gradient(135deg, #4F8BFF 0%, #7B5CFF 50%, #C63CFF 100%);
    --gradient-soft: linear-gradient(135deg, #EDF0FF 0%, #F6EDFF 100%);
    --gradient-banner: linear-gradient(180deg, #F2F0FF 0%, #F8F4FF 60%, #FFFFFF 100%);
    --shadow-card: 0 4px 24px rgba(79, 139, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
    --shadow-card-hover: 0 12px 40px rgba(79, 139, 255, 0.14), 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 40px rgba(123, 92, 255, 0.25);
    --radius: 14px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 基础重置 ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    color: var(--c-text);
    background: #FAFBFF;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   顶部导航
   ========================================== */
.ai-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--c-border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gradient-ai);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(123, 92, 255, 0.35);
}

.logo-text {
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
}

.main-nav {
    display: flex;
    gap: 32px;
    flex: 1;
}

.nav-item {
    color: var(--c-text);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: color var(--transition);
}

.nav-item:hover { color: var(--c-primary); }

.nav-item.active {
    color: var(--c-primary);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--gradient-ai);
    border-radius: 3px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-link {
    color: var(--c-text-muted);
    font-size: 14px;
    transition: color var(--transition);
}

.action-link:hover { color: var(--c-primary); }

/* 注册按钮 - 描边轻量按钮 */
.action-register {
    color: var(--c-primary);
    border: 1px solid rgba(79, 139, 255, 0.4);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
}

.action-register:hover {
    color: #fff;
    background: var(--gradient-ai);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(123, 92, 255, 0.3);
}

/* 提交收录 - 突出的渐变主按钮 */
.btn-submit {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--gradient-ai);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(123, 92, 255, 0.35);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 92, 255, 0.5);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit svg {
    flex-shrink: 0;
}

/* ==========================================
   Banner 区
   ========================================== */
.ai-banner {
    position: relative;
    background: var(--gradient-banner);
    padding: 70px 0 80px;
    overflow: hidden;
    min-height: 400px;
}

.banner-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* 装饰光球 */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 12s ease-in-out infinite;
}

.orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #4F8BFF, transparent 70%);
    top: -100px; left: -100px;
}

.orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #C63CFF, transparent 70%);
    top: -50px; right: -80px;
    animation-delay: -4s;
}

.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #7B5CFF, transparent 70%);
    bottom: -150px; left: 40%;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
}

/* 网格层 */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(123, 92, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123, 92, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* 主标题 */
.banner-title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 8px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1.2;
}

.title-char {
    display: inline-block;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFloat 4s ease-in-out infinite;
}

/* 让每个字略有错落 */
.title-char:nth-child(1) { animation-delay: 0s; }
.title-char:nth-child(2) { animation-delay: 0.15s; }
.title-char:nth-child(4) { animation-delay: 0.3s; }
.title-char:nth-child(5) { animation-delay: 0.45s; }
.title-char:nth-child(7) { animation-delay: 0.6s; }
.title-char:nth-child(8) { animation-delay: 0.75s; }

.dot {
    color: var(--c-text-muted);
    opacity: 0.5;
    margin: 0 6px;
    font-weight: 400;
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.banner-subtitle {
    font-size: 16px;
    color: var(--c-text-muted);
    margin-bottom: 40px;
}

/* 搜索框 */
.search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 6px 6px 6px 6px;
    box-shadow: 0 8px 30px rgba(79, 139, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.04);
    max-width: 600px;
    margin: 0 auto 28px;
    border: 1px solid rgba(123, 92, 255, 0.1);
}

.search-select {
    padding: 8px 14px;
    color: var(--c-text);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border-right: 1px solid #EBEEF7;
    user-select: none;
}

.search-select .caret {
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--c-text-muted);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 14px;
    background: transparent;
}

.search-input::placeholder { color: #A0A6BC; }

.search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-ai);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: transform var(--transition), box-shadow var(--transition);
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(123, 92, 255, 0.4);
}

/* 热门标签 */
.hot-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 14px;
    color: var(--c-text-muted);
    flex-wrap: wrap;
}

.hot-prefix {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hot-flame {
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.tag {
    color: var(--c-text);
    position: relative;
    transition: color var(--transition);
}

.tag:hover { color: var(--c-primary); }

/* ==========================================
   广告区（图片布局）
   ========================================== */
.ad-section {
    padding: 16px 0;
}

/* 一行两个广告位 */
.ad-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* 一行一个广告位（全宽） */
.ad-row-1 {
    display: block;grid-template-columns: 1fr 1fr;
}

.ad-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    object-fit: cover;
}

.ad-img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

/* ==========================================
   内容区通用
   ========================================== */
.content-section {
    padding: 28px 0;
}

.section-header {
    margin-bottom: 16px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-icon {
    display: inline-block;
    filter: grayscale(0.3);
}

.section-badge {
    background: var(--gradient-ai);
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

/* ---------- 工具卡片网格 ---------- */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.tool-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #EEF1F7;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-ai);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.tool-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.tool-logo img{
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.tool-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.tool-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-desc {
    font-size: 12px;
    color: var(--c-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 分类网格（图标左、文字右，宽度自适应） ---------- */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #EEF1F7;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(123, 92, 255, 0.25);
}

.category-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}
.category-icon img{
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.category-name {
    font-size: 14px;
    color: var(--c-text);
    font-weight: 500;
    white-space: nowrap;
}

.category-card.vip {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 1px var(--c-accent), 0 4px 16px rgba(198, 60, 255, 0.18);
    background: linear-gradient(135deg, #FFF8FF, #FFFFFF);
}

.category-card.vip .category-name {
    color: var(--c-accent);
    font-weight: 700;
}

.vip-badge {
    position: absolute;
    top: -4px;
    right: 12px;
    background: var(--gradient-ai);
    color: #fff;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 700;
}

/* ==========================================
   页脚
   ========================================== */
.ai-footer {
    margin-top: 20px;
    padding: 28px 0 30px;
    border-top: 1px solid var(--c-border);
    text-align: center;
    color: var(--c-text-muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}

.footer-links a {
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--c-primary); }

.footer-copyright { font-size: 14px; line-height:26px;}






/* ---------- 站点路径导航（透明背景，与列表页一致） ---------- */
.about-breadcrumb {
    padding: 18px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breadcrumb-home {
    color: #6B7390;
    transition: color 0.25s ease;
}

.breadcrumb-home:hover { color: #7B5CFF; }

.breadcrumb-sep { color: #C6CBD9; }

.breadcrumb-cur {
    color: #1A1F36;
    font-weight: 600;
}



/* ==========================================
   响应式
   ========================================== */
@media (max-width: 992px) {
    .banner-title { font-size: 48px; letter-spacing: 4px; }
    .tool-grid { grid-template-columns: repeat(3, 1fr); }
    .header-inner { gap: 20px; }
    .main-nav { gap: 20px; }
}

@media (max-width: 768px) {
    .banner-title { font-size: 36px; letter-spacing: 2px; }
    .banner-title .dot { margin: 0 2px; }
    .tool-grid { grid-template-columns: repeat(2, 1fr); }
    .ad-row-2 { grid-template-columns: 1fr; }
    .main-nav { display: none; }
    .header-inner { justify-content: space-between; }
    .hot-tags { gap: 10px; }
}


/* ---------- 底部通栏广告：高80px ---------- */
.ad-row-full {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner-ad-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-ad-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(79, 139, 255, 0.14), 0 2px 6px rgba(0, 0, 0, 0.05);
}


/*上传附件*/
.UploadingPublicDiv{float:left;display:inline;width:100%;min-height:1px;padding:0px;text-align:left;}
.UploadingPublicDiv ul li.subli{float:left;display:inline;width:auto;min-height:1px;padding:0px 0px 0px 0px;text-align:left; margin:0px 6px 0px 0px;}
.UploadingPublicDiv ul li.subliNotice{float:left;display:inline;width:auto;min-height:1px;padding:0px 0px 0px 0px;text-align:left; margin:16px 6px 0px 12px; color:#999; font-size:12px;}
.UploadingPublicDiv ul li.subliNotice B{color:#000; font-size:14px; margin-right:8px;}
.UploadingPublicDiv ul li ul li.imgli{float:left;display:inline;width:56px;height:56px; background-color:#F8F8F8; text-align:center; line-height:56px;}
.UploadingPublicDiv ul li ul li.imgli img{ max-height:56px; max-width:56px;}
.UploadingPublicDiv ul li ul li.delLi{float:right;display:inline;width:auto;height:20px;line-height:16px;border-radius:0 0 0 0; color:#333;  padding-left:6px; font-size:13px; cursor:pointer; margin:22px 0px 0px 12px;}
.UploadingPublicDiv ul li.txtli{float:left;display:inline;width:100%;min-height:1px;padding:0px 0px 8px 0px;text-align:left; margin:0px 6px 6px 0px; line-height:24px;}