/* ==============================
   link3.css
   图画吧 - 详情页专用样式
   把所有内联样式抽成外部CSS
============================== */

/* 全局基础 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
}

a {
  text-decoration: none;
}

/* 隐藏字段容器 */
.hidden-fields {
  display: none;
}

/* 头部 */
header {
  /* 可自行扩展 */
}

.logo.floating a {
  color: white;
  text-decoration: none;
}

.subtitle {
  /* 可自行扩展 */
}

/* 导航 */
nav {
  /* 可自行扩展 */
}

.nav-container {
  /* 可自行扩展 */
}

.normal-nav-list {
  /* 可自行扩展 */
}

.su-model-link {
  /* 可自行扩展 */
}

.hot-icon {
  /* 可自行扩展 */
}

/* 搜索 */
.search-container {
  width: 100%;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.search-select {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.search-input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-width: 200px;
}

.search-button {
  padding: 8px 16px;
  background: #ff6b9d;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* SU标签筛选 */
.su-tags-wrapper {
  text-align: center;
  margin: 10px 0;
}

.toggle-tags-btn {
  padding: 6px 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
}

.su-tags-container1 {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.su-tag {
  padding: 4px 10px;
  background: #f8f9fa;
  border-radius: 4px;
  color: #333;
  font-size: 14px;
}

/* 主容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.artwork-detail {
  width: 100%;
}

.artwork-large {
  width: 100%;
}

/* 卡片主体 */
.art-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
  overflow: hidden;
  margin-bottom: 30px;
}

/* 顶部渐变标题栏 */
.art-header {
  background: linear-gradient(135deg, #fad0c4 0%, #ff8fab 100%);
  padding: 25px 20px;
  text-align: center;
  color: white;
  position: relative;
}

.art-title {
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: 600;
}

/* 面包屑 */
.breadcrumb {
  padding: 15px 0;
  margin: 0 auto;
  max-width: 1200px;
}

.breadcrumb-inner {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.breadcrumb a {
  color: #007bff;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 8px;
  color: #6c757d;
}

/* 主图区域 */
.main-image-section {
  width: 100%;
  padding: 20px 15px;
}

.main-image-container {
  width: 100%;
  text-align: center;
  margin-bottom: 25px;
}

.main-img {
  width: 80%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.2);
  display: block;
  margin: 0 auto;
  border: 3px solid #fef5f8;
}

.responsive-special-img {
  /* SU/PNG 专用图样式 */
}

.normal-img {
  /* 普通图样式 */
}

/* 下载中心 */
.download-center {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fef5f8 0%, #fff0f5 100%);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.1);
  text-align: center;
}

.download-title {
  font-size: 22px;
  color: #ff6b9d;
  margin: 0 0 20px 0;
  font-weight: 700;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.download-btn-item {
  flex: 1 1 200px;
  min-width: 180px;
}

/* 按钮样式 */
.btn-img {
  display: block;
  text-align: center;
  padding: 18px 24px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white !important;
  text-decoration: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(76, 175, 80, 0.2);
  transition: transform 0.3s ease;
}

.btn-su {
  display: block;
  text-align: center;
  padding: 18px 24px;
  background: linear-gradient(135deg, #FF9800 0%, #f57c00 100%);
  color: white !important;
  text-decoration: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(255, 152, 0 0.2);
  transition: transform 0.3s ease;
}

.btn-line {
  display: block;
  text-align: center;
  padding: 18px 24px;
  background: linear-gradient(135deg, #757575 0%, #616161 100%);
  color: white !important;
  text-decoration: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(117, 117, 117, 0.2);
  transition: transform 0.3s ease;
}

.btn-qrcode {
  display: block;
  text-align: center;
  padding: 18px 24px;
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
  color: white !important;
  text-decoration: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(233, 30, 99, 0.2);
  transition: transform 0.3s ease;
  position: relative;
}

.btn-img:hover,
.btn-su:hover,
.btn-line:hover,
.btn-qrcode:hover {
  transform: translateY(-3px);
}

/* 二维码弹窗 */
.qrcode-box {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 99;
}

.qrcode-img {
  width: 150px;
  height: 150px;
  border-radius: 4px;
}

.qrcode-text {
  margin: 5px 0 0;
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* 线稿图区域 */
.line-art-section {
  width: 100%;
  padding: 15px 0;
  margin: 20px 0;
  text-align: center;
}

.line-art-title {
  font-size: 18px;
  color: #ff6b9d;
  font-weight: 600;
  margin-bottom: 10px;
}

.line-art-img {
  display: block;
  max-width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.2);
  margin: 0 auto 20px;
  border: 3px solid #fef5f8;
}

/* 版权声明 */
.copyright-box {
  text-align: center;
  padding: 15px;
  font-size: 18px;
  color: #ff6b9d;
  background: #fff5f8;
  border-radius: 10px;
  margin: 0 20px 20px;
}

.copyright-box a {
  color: #ff6b9d;
  text-decoration: underline;
}

/* 内容介绍展开收起 */
.intro-wrap {
  max-width: 800px;
  margin: 0 auto 30px;
}

.intro-inner {
  max-height: 350px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  background: #fef5f8;
  padding: 15px;
  line-height: 1.6;
}

.intro-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, #fef5f8);
}

.intro-toggle-box {
  text-align: center;
  margin-top: 8px;
}

.intro-toggle-btn {
  border: none;
  background: #ff6b9d;
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

/* 作品列表标题 */
.gallery-title {
  font-size: 20px;
  color: #333;
  border-left: 4px solid #ff6b9d;
  padding-left: 12px;
  margin: 20px 0 15px;
}

.gallery-title-orange {
  border-left-color: #ff9800;
}

/* 网格作品列表 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  width: 100%;
  margin-bottom: 30px;
}

.art-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.art-img-box {
  width: 100%;
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.art-info {
  padding: 8px;
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}

.art-info-title {
  font-size: 13px;
  margin: 0;
  padding: 0;
  color: #333;
  font-weight: normal;
}

/* 占位高度 */
.placeholder-h80 {
  height: 80px;
  width: 100%;
}

.placeholder-h100 {
  height: 100px;
  width: 100%;
}

/* 底部固定栏 */
.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffd166;
  color: #5a4a42;
  padding: 10px 0;
  z-index: 1000;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-links {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.footer-links a {
  color: #5a4a42;
  text-decoration: underline;
  margin: 0 5px;
}

.footer-bottom {
  font-size: 12px;
  margin-top: 8px;
  color: #887766;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-bottom a {
  color: #887766;
  text-decoration: none;
}

/* SU安装包中心 */
.su-download-center {
  display: none;
  text-align: center;
  margin: 20px 0;
}

.su-center-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #666666;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  min-width: 120px;
}