/* 全局重置与基础样式 - 与首页完全一致 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f0f5ff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* 容器样式 - 统一首页容器标准 */
#form1 > div {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 隐藏字段样式 */
.hidden-fields {
    display: none !important;
}

/* 头部样式 - 合并导航栏，减少高度占用 + 移动端100px高度仅显示标题 */
header {
    background: linear-gradient(135deg, #1e6ed8 0%, #0f54b3 100%);
    color: white;
    padding: 20px 0 10px; /* 减少上下内边距 */
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(30, 110, 216, 0.2);
    margin-bottom: 30px;
    text-align: center;
}

.logo {
    font-size: 24px; /* 缩小logo字体 */
    font-weight: bold;
    margin-bottom: 8px;
    display: inline-block;
}

.logo a {
    color: white !important;
    text-decoration: none !important;
}

.subtitle {
    font-size: 14px; /* 缩小副标题字体 */
    color: #e0e9ff;
    margin-bottom: 10px;
}

/* 导航样式 - 合并到头部，减少高度 */
nav {
    background-color: transparent; /* 去掉导航背景色 */
    border-radius: 0; /* 去掉圆角 */
    box-shadow: none; /* 去掉阴影 */
    margin-bottom: 0; /* 去掉底部外边距 */
    padding: 10px 0;
}

.nav-container {
    padding: 0 20px;
}

.normal-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.normal-nav-list li {
    padding: 5px 0; /* 减少导航项内边距 */
}

.normal-nav-list a {
    color: white;
    font-size: 14px; /* 缩小导航字体 */
    font-weight: 500;
    padding: 6px 15px; /* 减少导航链接内边距 */
    border-radius: 8px;
    display: block;
}

.normal-nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.su-model-item {
    background-color: rgba(15, 84, 179, 0.8);
    border-radius: 5px;
    margin: 0 5px;
}

.hot-icon {
    color: #ffd700;
    margin-right: 5px;
}

/* 搜索区域样式 - 完全复用首页样式 */
.search-container {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.search-select {
    padding: 12px 15px;
    border: 2px solid #1e6ed8;
    border-radius: 8px;
    background-color: white;
    color: #0f54b3;
    font-size: 16px;
    font-weight: 500;
    min-width: 100px;
    outline: none;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border: 2px solid #e0e9ff;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    outline: none;
}

.search-input:focus {
    border-color: #1e6ed8;
    box-shadow: 0 0 0 3px rgba(30, 110, 216, 0.1);
}

.search-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #1e6ed8 0%, #0f54b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 110, 216, 0.3);
}

/* SU标签样式 - 取消折叠按钮，紧凑展示分两行，手机端隐藏 */
.su-tags-wrapper {
    margin-top: 15px;
}

/* 移除折叠按钮 */
.toggle-tags-btn {
    display: none !important;
}

/* 标签容器 - 紧凑展示，分两行 */
.su-tags-container1 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* 缩小间距更紧凑 */
    margin-top: 15px;
    padding: 15px;
    background-color: #f8fbff;
    border-radius: 8px;
    justify-content: center;
    /* 控制每行显示数量，实现分两行效果 */
    max-height: 120px;
    overflow: hidden;
}

.su-tag {
    padding: 6px 12px; /* 缩小标签内边距 */
    background-color: #e0e9ff;
    color: #0f54b3;
    border-radius: 5px;
    font-size: 13px; /* 缩小标签字体 */
    font-weight: 500;
    display: inline-block;
}

.su-tag:hover {
    background-color: #1e6ed8;
    color: white;
}

/* 面包屑样式 */
.breadcrumb {
    margin: 15px 0 25px;
    font-size: 14px;
}

.breadcrumb-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: #1e6ed8;
}

.breadcrumb a:hover {
    color: #0f54b3;
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* 详情页标题样式 */
.art-title {
    color: #0f54b3;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
    text-align: center;
}

/* 主图区域样式 */
.main-image-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.main-image-container {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* 主图片样式 - 限制高度+完整显示 */
.main-img {
    width: 100%;
    max-height: 400px; /* 限制显示高度 */
    height: auto;
    border-radius: 8px;
    object-fit: contain; /* 关键：不裁剪，完整显示（会留空白） */
    margin-bottom: 15px;
    cursor: zoom-in; /* 提示可点击放大 */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 全屏查看图片样式 */
.img-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.img-modal img {
    max-width: 90%;
    max-height: 90vh;
    height: auto;
}
.img-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* 图片下方版权声明样式 */
.img-copyright {
    color: #666;
    font-size: 14px;
    text-align: center;
    padding: 8px 0;
    background-color: #f8fbff;
    border-radius: 8px;
    margin-bottom: 20px; /* 给简介留间距 */
}

.img-copyright a {
    color: #1e6ed8;
    margin-left: 5px;
}

.img-copyright a:hover {
    color: #0f54b3;
    text-decoration: underline;
}

/* 模型简介样式（版权声明下方） */
.intro-wrap {
    background-color: #f8fbff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

/* 简介预览区域 - 高度200px截断 */
.intro-preview {
    max-height: 200px;
    overflow: hidden;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
}

/* 展开/收起按钮样式 */
.intro-toggle-btn {
    padding: 10px 25px;
    background-color: #e0e9ff;
    color: #0f54b3;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.intro-toggle-btn:hover {
    background-color: #1e6ed8;
    color: white;
}

/* 下载中心样式 */
.download-center {
    flex: 0 0 300px;
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.download-title {
    color: #0f54b3;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.download-btn-item {
    margin-bottom: 15px;
}

.btn-su {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1e6ed8 0%, #0f54b3 100%);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(30, 110, 216, 0.2);
}

.btn-su:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 110, 216, 0.3);
}

/* 二维码样式 */
#erweima {
    margin-top:15px; 
    background:#fff0f5;
}

/* 主标题样式 - 复用首页gallery-title样式 */
.gallery-title {
    color: #0f54b3;
    font-size: 24px;
    margin: 40px 0 25px;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.gallery-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e6ed8, #4a8ef0);
    border-radius: 2px;
}

.gallery-title-orange {
    color: #e86800;
}

.gallery-title-orange::after {
    background: linear-gradient(90deg, #e86800, #ff9500);
}

/* 模型列表样式 - 图片完整显示不裁剪 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.art-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.art-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 110, 216, 0.15);
}

/* 模型图片容器 - 自适应高度，保证图片完整 */
.art-img-box {
    width: 100%;
    min-height: 180px;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fbff;
}

/* 模型图片 - 完整显示不裁剪 */
.art-img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.art-item:hover .art-img {
    transform: scale(1.05);
}

.art-info {
    padding: 20px;
}

.art-info-title {
    color: #0f54b3;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
}

.art-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* SU下载中心样式 - 适配首页按钮风格 */
.su-download-center {
    max-width: 1400px;
    margin: 30px auto;
    text-align: center;
}

.su-center-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #1e6ed8 0%, #0f54b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 110, 216, 0.2);
    display: inline-block;
}

.su-center-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 110, 216, 0.3);
}

/* 占位符样式 */
.placeholder-h100 {
    height: 100px;
}

.placeholder-h80 {
    height: 80px;
}

/* 底部样式 - 完全复用首页样式 */
footer {
    background: linear-gradient(135deg, #1e6ed8 0%, #0f54b3 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 20px 20px 0 0;
    margin-top: 50px;
    text-align: center;
}

.footer-fixed {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #e0e9ff;
    margin: 0 10px;
    font-size: 16px;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 10px;
}

.footer-bottom a {
    color: #e0e9ff;
    margin: 0 10px;
    font-size: 14px;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

/* daohang容器基础样式 */
#daohang {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#daohang li {
    padding: 8px 0;
}

#daohang a {
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    display: block;
}

#daohang a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#daohang .su-model-item {
    background-color: #0f54b3;
    border-radius: 5px;
}

#daohang .hot-icon {
    color: #ffd700;
    margin-right: 5px;
}

/* 自适应响应式调整 - 整合所有移动端需求 */
@media (max-width: 768px) {
    /* 顶部：100px高度，仅显示标题 */
    header {
        height: 100px !important;
        padding: 20px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 15px !important;
    }
    .logo {
        font-size: 20px !important;
        margin-bottom: 0 !important;
    }
    .subtitle {
        display: none !important;
    }

    /* 隐藏所有导航相关 */
    nav {
        display: none !important;
    }
    #daohang {
        display: none !important;
    }

    .art-title {
        font-size: 24px;
    }

    .main-image-section {
        flex-direction: column;
        gap: 20px;
    }

    .main-image-container {
        min-width: 100%;
    }

    .download-center {
        flex: 1;
        min-width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-select, .search-input, .search-button {
        width: 100%;
    }

    /* 模型图片容器移动端适配 */
    .art-img-box {
        min-height: 150px;
    }
    .art-img {
        max-height: 180px;
    }

    /* 移动端简介预览高度适配 */
    .intro-preview {
        max-height: 150px;
    }

    /* 手机端隐藏SU模型快速筛选链接 */
    .su-tags-container1 {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* 小屏顶部高度微调 */
    header {
        height: 100px !important;
        padding: 15px 0 !important;
    }
    .logo {
        font-size: 18px !important;
    }

    .art-title {
        font-size: 20px;
    }

    .gallery-title {
        font-size: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* 小屏模型图片完整显示 */
    .art-img-box {
        min-height: 200px;
    }
    .art-img {
        max-height: 200px;
        width: 90%;
    }

    .intro-preview {
        max-height: 120px;
    }
}












/* 回到顶部/底部按钮样式 */
.go-top-bottom {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999; /* 确保在最上层 */
    display: flex;
    flex-direction: column;
    gap: 10px; /* 两个按钮之间的间距 */
}
.go-top, .go-bottom {
    width: 44px;
    height: 44px;
    background: #000; /* 黑色背景 */
    color: #fff; /* 白色图标 */
    border-radius: 50%; /* 圆形按钮 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.7; /* 半透明 */
    transition: opacity 0.3s; /*  hover渐变 */
    border: none; /* 去掉边框 */
}
.go-top:hover, .go-bottom:hover {
    opacity: 1; /*  hover时不透明 */
}
/* 移动端适配 */
@media (max-width: 768px) {
    .go-top-bottom {
        right: 10px;
        bottom: 20px;
    }
    .go-top, .go-bottom {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}












