@charset "utf-8";
/* CSS Document */
* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

.iconfont {
    color: #999999;
    font-size: 25px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 微软雅黑;
    max-width: 512px;
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    height: 85px;
    background-size: cover;
}

.logo img {
    width: 85px;
    height: 85px;
    padding: 10px;
    display: block; /* 转为块级元素才能使用margin:auto */
    margin: 0 auto; /* 水平居中 */
}

.info {
    /* 渐变文字核心代码：文字透明 + 背景渐变 + 背景裁剪到文字 */
    color: transparent; /* 文字本身透明，显示背景渐变 */
    -webkit-background-clip: text; /* webkit内核浏览器兼容 */
    background-clip: text; /* 标准属性：背景裁剪范围限制为文字 */
    /* 可自定义渐变颜色和方向，以下是3种常用渐变方案 */
    background-image: linear-gradient(to right, #ff6b6b, #4ecdc4); /* 红→青 横向渐变 */
    /* background-image: linear-gradient(45deg, #ff9a9e, #fad0c4, #fad0c4, #fecfef); /* 粉系多角度渐变 */
    /* background-image: linear-gradient(to bottom, #32cd32, #ffff00, #ff4500); /* 绿→黄→橙 纵向渐变 */
}

.info h2 {
    font-size: 16px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info p {
    font-size: 14px;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download {
    width: 130px;
    height: 100%;
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.download a img {
    width: 100%;
    height: 100%;
    padding-right: 10px;
}

.main-item1 {
    width: 100%;
    height: calc(100vh - 140px);
    position: relative;
}

.main-item1-bth {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
    padding: 10px;
}

.main-item1-bth a {
    display: inline-block;
    position: relative;
    width: 180px;
    height: 60px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

/* 玻璃态背景与光晕效果 */
.main-item1-bth a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

/* 悬停时的光效扩散 */
.main-item1-bth a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
}

.main-item1-bth img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 悬停状态效果 */
.main-item1-bth a:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 
                0 0 0 1px rgba(255, 255, 255, 0.2);
}

.main-item1-bth a:hover::after {
    width: 200px;
    height: 200px;
}

.main-item1-bth a:hover img {
    transform: scale(1.05);
}

/* 点击反馈效果 */
.main-item1-bth a:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .main-item1-bth {
        flex-direction: column;
        bottom: 30px;
    }
    
    .main-item1-bth a {
        width: 150px;
        height: 50px;
    }
}




/* 主内容区第二部分标题样式 - 创新设计 */
/* 标题容器 - 融入敦煌卷轴与云纹元素 */
.main-item2-title {
  padding: 25px 20px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* 模拟卷轴渐变背景 */
  background: linear-gradient(135deg, #fdf6e3, #faf0ca); 
}

/* 标题前装饰 - 敦煌壁画边框切割风格 */
.main-item2-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 100%;
  /* 敦煌色调渐变 */
  background: linear-gradient(135deg, #d97706, #b45309); 
  /* 模拟壁画残卷切割形状 */
  clip-path: polygon(0 10%, 100% 0, 80% 100%, 0% 90%); 
  z-index: 1;
}

/* 标题前菱形装饰 - 仿敦煌藻井元素 */
.main-item2-title div {
  width: 12px;
  height: 12px;
  /* 敦煌朱砂红渐变 */
  background: linear-gradient(45deg, #dc2626, #b91c1c); 
  border-radius: 2px; /* 仿壁画线条硬朗感 */
  margin-right: 15px;
  transform: rotate(45deg); /* 菱形呼应藻井 */
  /* 模拟烫金浮雕阴影 */
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.6); 
  position: relative;
  z-index: 2;
}

/* 标题文字 - 烫金渐变 + 敦煌飞天线条 */
.main-item2-title span {
  font-weight: 700;
  font-size: 26px;
  /* 仿烫金质感渐变 */
  background: linear-gradient(90deg, #d97706, #b45309); 
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px; /* 更贴合书法韵味 */
  position: relative;
  z-index: 2;
  padding-bottom: 5px;
}

/* 标题下划线 - 敦煌飘带动画 */
.main-item2-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  /* 飘带渐变红 */
  background: linear-gradient(90deg, #dc2626, #b91c1c); 
  border-radius: 3px;
  transition: width 0.3s ease;
}

.main-item2-title:hover span::after {
  width: 100%; /* 模拟飘带展开动画 */
}

/* 主内容区第二部分轮播 - 敦煌卷轴展开效果 */
.main-item2-carousel {
  width: 100%;
  height: 500px; /* 增高适配竖版游戏截图 */
  position: relative;
  overflow: hidden;
  /* 仿卷轴底色 */
  background-color: #fdf6e3; 
  border-radius: 20px;
  margin: 0 15px;
  /* 模拟纸张褶皱阴影 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
  /* 3D透视营造卷轴纵深 */
  perspective: 1200px; 
}

/* 轮播容器 - 卷轴3D展开空间 */
.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  /* 卷轴展开式过渡曲线 */
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.3, 1); 
}

/* 轮播项 - 仿敦煌壁画残卷卡片 */
.carousel-item {
  width: 65%; /* 窄版贴合竖屏截图 */
  height: 420px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotateY(0deg) translateZ(0);
  border-radius: 12px; /* 模拟残卷弧度 */
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s ease;
  /* 仿旧纸张阴影 */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); 
  backface-visibility: hidden;
  /* 模拟纸张纹理 */
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><pattern id="pattern" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M2 2h16v16H2z" fill="%23faf0ca"/><path d="M3 3h14v14H3z" fill="%23fdf6e3"/></pattern><rect width="100%" height="100%" fill="url(%23pattern)"/></svg>');
}

/* 轮播项图片 - 仿壁画做旧效果 */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 模拟古画泛黄滤镜 */
  filter: sepia(0.2) brightness(1.1); 
  transition: transform 0.7s ease;

}

/* 轮播项内容层 - 敦煌题记风格 */
.carousel-item::after {
  content: attr(data-text); 
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  /* 半透黄底模拟题跋 */
  background: linear-gradient(transparent, rgba(253, 240, 202, 0.9) 70%); 
  color: #884d08; /* 仿墨色文字 */
  font-size: 16px;
  font-weight: 500;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease;
  /* 模拟手写字体（可替换真实字体） */
  font-family: "KaiTi", serif; 
}

/* 交互效果 - 残卷浮起 + 壁画放大 */
.carousel-item:hover {
  z-index: 10;
  /* 3D浮起模拟卷轴掀开 */
  transform: translate(-50%, -50%) rotateY(5deg) translateZ(50px) scale(1.03); 
}

.carousel-item:hover img {
  transform: scale(1.08); /* 壁画细节展示 */
  filter: sepia(0.1) brightness(1.2); /* hover时光线提亮 */
}

.carousel-item:hover::after {
  transform: translateY(0);
  opacity: 1;
}

/* 两侧轮播项 - 敦煌卷轴层叠分布 */
.carousel-item.prev {
  transform: translate(-50%, -50%) rotateY(-15deg) translateZ(-80px);
  opacity: 0.8;
  filter: brightness(0.9) sepia(0.3); /* 模拟下层古画做旧 */
}

.carousel-item.next {
  transform: translate(-50%, -50%) rotateY(15deg) translateZ(-80px);
  opacity: 0.8;
  filter: brightness(0.9) sepia(0.3);
}

/* 轮播控制器 - 敦煌飘带按钮 */
.main-item2-carousel::before,
.main-item2-carousel::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  /* 仿飘带底色 */
  background-color: #fde6b3; 
  border-radius: 20px 5px 20px 5px; /* 模拟飘带褶皱 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%);
  z-index: 5;
  cursor: pointer;
  transition: all 0.3s ease;
  /* 嵌入敦煌线条图标 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.main-item2-carousel::before {
  left: 20px;
}

.main-item2-carousel::after {
  right: 20px;
  /* 右侧箭头SVG（镜像） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.main-item2-carousel::before:hover,
.main-item2-carousel::after:hover {
  transform: translateY(-50%) scale(1.1);
  /* 模拟飘带飘动阴影 */
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.2); 
  border-radius: 5px 20px 5px 20px; /* 交互时褶皱变化 */
}



.carousel-item {
    width: 20%;
    height: 35%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 8px;
    transition: transform 1s ease-in-out;
}

.carousel-container {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    perspective: 800px;
    transform-style: preserve-3d;
}


/* 分页组件 - 全新视觉风格 */
.main-item3-list-page {
    text-align: center;
    margin: 30px 0;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.main-item3-list-page span {
    color: #6B7280;
    font-size: 14px;
    margin: 0 10px;
    padding: 6px 0;
    display: inline-block;
}

/* 分页链接 - 全新按钮样式 */
.main-item3-list-page a {
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    margin: 0 4px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

/* 箭头按钮特殊样式 */
.main-item3-list-page a.prev,
.main-item3-list-page a.next {
    background: #F3F4F6;
    border-color: #D1D5DB;
    font-weight: 600;
}

/* 当前页高亮 */
.main-item3-list-page a.current {
    background: #7C3AED; /* 紫色主调（与页脚渐变呼应） */
    color: white;
    border-color: #7C3AED;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

/* 悬停效果 */
.main-item3-list-page a:not(.current):hover {
    background: #F3E8FF;
    border-color: #D8B4FE;
    color: #7C3AED;
    transform: translateY(-2px);
}

/* 禁用状态 */
.main-item3-list-page a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #F9FAFB;
    border-color: #E5E7EB;
    color: #9CA3AF;
}

.main-item3-list-page a.disabled:hover {
    transform: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .main-item3-list-page {
        margin: 20px 10px;
        padding: 10px;
    }
    
    .main-item3-list-page a {
        padding: 6px 12px;
        font-size: 14px;
        margin: 0 2px;
    }
}

.newstop {
    position: sticky;
    top: 0;
    background-color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
}

.newstop svg {
    width: 30px;
    height: 30px;
}

/* 基础重置与变量定义 */
:root {
  --primary-color: #165DFF;
  --dark-bg: #1D2129;
  --light-bg: #F7F8FA;
  --text-primary: #1D2129;
  --text-secondary: #4E5969;
  --text-tertiary: #86909C;
  --border-light: #E5E6EB;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.newscontent {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
  background-color: var(--light-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* 标题区域 */
.newscontent-title {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.newscontent-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.newscontent-title h1 {
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.02em;
  transition: var(--transition-base);
}

.newscontent-title h1:hover {
  color: var(--primary-color);
}

/* 信息区域 */
.newscontent-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-tertiary);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-light);
}

.newscontent-info span {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-base);
}

.newscontent-info span:hover {
  color: var(--primary-color);
}

.newscontent-info span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-tertiary);
  opacity: 0;
  transition: var(--transition-base);
}

.newscontent-info span:hover::before {
  opacity: 1;
}

/* 内容区域 */
.newscontent-content {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-bottom: 32px;
  position: relative;
}

.newscontent-content > * {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newscontent-content h2 {
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 16px;
  position: relative;
  padding-left: 12px;
  animation-delay: 0.1s;
}

.newscontent-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.newscontent-content h3 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 14px;
  animation-delay: 0.2s;
}

.newscontent-content h4 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  animation-delay: 0.3s;
}

.newscontent-content p {
  color: var(--text-secondary);
  margin: 20px 0;
  text-indent: 0;
  font-size: 16px;
  animation-delay: 0.4s;
}

.newscontent-content a {
  color: var(--primary-color);
  font-size: 16px;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.newscontent-content a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: var(--transition-base);
}

.newscontent-content a:hover::after {
  width: 100%;
}

.newscontent-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  object-fit: cover;
  animation-delay: 0.5s;
}

.newscontent-content img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.newscontent-content video {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  animation-delay: 0.5s;
}

/* 分页区域 */
.newscontent-page {
  margin: 32px 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newscontent-page a {
  color: var(--text-tertiary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.newscontent-page a:hover {
  color: var(--primary-color);
  background-color: rgba(22, 93, 255, 0.05);
  transform: translateY(-2px);
}

.newscontent-page a::before,
.newscontent-page a::after {
  transition: var(--transition-base);
}

.newscontent-page a:hover::before {
  transform: translateX(-4px);
}

.newscontent-page a:hover::after {
  transform: translateX(4px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .newscontent {
    padding: 20px 16px;
    border-radius: 8px;
  }
  
  .newscontent-title h1 {
    font-size: 24px;
  }
  
  .newscontent-content {
    font-size: 15px;
  }
  
  .newscontent-content h2 {
    font-size: 20px;
  }
  
  .newscontent-content h3 {
    font-size: 18px;
  }
  
  .newscontent-info {
    gap: 12px;
  }
}


.shengming {
    line-height: 1.5 !important;
    color: #a52020 !important;
    text-indent: 0 !important;
}

.shengming a {
    color: #a52020;
}

.tag a {
    color: #0088ff;
    margin: 0 5px;
    line-height: 2;
}

.shengming,
.shengming b,
.shengming a {
    font-size: 12px;
}

.page {
    text-align: center;
    margin: 20px 0;
}

.page a {
    font-size: 14px;
    color: #333;
    margin: 0 2px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    line-height: 3;
}

.flaot-bth {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 666;
}

#zhiding {
    display: none;
    cursor: pointer;
    background-color: #fff;
    border-radius: 10px;
}

#zhiding span {
    color: rgb(0 184 255);
    font-size: 40px;
}

.tag-list {
    margin: 20px 0;
}

.tag-list a {
    color: #333;
    font-weight: bold;
    margin: 0 10px;
    line-height: 2;
}

._wrap_1facf_1 {
    background: url(../images/community-bg.87d60694.png) no-repeat 0 0;
    background-size: 100% 100%;
    position: fixed;
    right: 0;
    top: 48.5%;
    transform: translateY(-50%);
    transition: transform .2s;
    width: 150px;
    z-index: 9;
}

._content_1facf_36 {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

._content_1facf_36 ._btnImg_1facf_42 {
    cursor: pointer;
    height: 44px;
    margin-top: .1rem;
    width: 110px;
}

._content_1facf_36 p {
    margin: 0;
    padding: 0;
    font-size: 12px;
}

._content_1facf_36 ._scan_1facf_52 {
    position: relative;
}

._content_1facf_36 ._scan_1facf_52 img {
    height: 110px;
    width: 110px;
}

._content_1facf_36 ._scan_1facf_52:after {
    animation: _scan_1facf_52 3s infinite;
    background: #bdd9ff;
    content: "";
    height: .04rem;
    left: 0;
    position: absolute;
    width: 1.3rem;
}


