/* 从 HTML 文件中提取的样式 - 避免与现有样式冲突 */

/* ========== showarticle.html 样式 ========== */
/* Linklist 样式 */
#Linklist {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px dashed #ccc;
  padding: 10px 0;
  margin-bottom: 10px;
}

#Linklist a {
  display: block;
  line-height: 2.2rem;
  color: #333;
}

/* InfoContent 样式 */
#InfoContent * {
  font-size: 1rem;
  font-weight: normal;
  line-height: 2.2rem;
  color: rgb(85, 85, 85);
}

#InfoContent h1,
#InfoContent h2,
#InfoContent h3,
#InfoContent h4,
#InfoContent h5,
#InfoContent h6,
#InfoContent strong {
  font-weight: 600;
}

.art-state {
  font-size: 1rem;
}

.art-state a {
  font-size: 1rem;
  padding-right: 10px;
}

.breadcrumb b {
  font-weight: normal;
}

iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.my1 img {
  border-radius: 5px;
}

/* clear both 工具类 */
.clear-both {
  clear: both;
}

/* 侧边栏广告间距 */
.aside-ad-spacing {
  margin-bottom: 10px;
}

/* ========== footer.html 样式 ========== */
.footer-hidden {
  display: none;
}

/* ========== index.html 样式 ========== */
/* Swiper 动态样式（保留，但通过类名控制） */
.swiper-wrapper-dynamic {
  transition-duration: 0ms;
}

/* 文章居中 */
.article-center {
  text-align: center;
}

/* mylist1 样式 */
.mylist1 {
  overflow: hidden;
}

/* Linklist 链接样式 */
#Linklist a {

  border-bottom: 1px dashed #ccc;
}

/* ========== article.html 和 search.html 样式 ========== */
.view-link-spacing {
  margin-right: 10px;
}

/* ========== search.html 样式 ========== */
.new-post {
  background-color: #fff;
}

.search-red {
  font-weight: normal;
  color: #ff0000;
}

/* ========== fangzhan.html 样式 ========== */
.fangzhan-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
}

/* 增强的服务特点样式 */
.features-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

.feature-item-enhanced {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.feature-item-enhanced:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border-color: rgba(64,224,208,0.5);
}

.feature-icon-enhanced {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  flex-shrink: 0;
}

.feature-item-enhanced:hover .feature-icon-enhanced {
  transform: scale(1.2) rotate(5deg);
}

.feature-item-enhanced h3 {
  color: #40e0d0;
  font-size: 1.4rem;
  margin: 15px 0;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.feature-item-enhanced p {
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.feature-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s ease;
}

.feature-item-enhanced:hover .feature-shine {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* 优化移动端显示 */
@media (max-width: 1024px) {
  .features-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    max-width: 500px;
  }
  
  .feature-item-enhanced {
    padding: 30px 20px;
    min-height: 250px;
  }
  
  .feature-icon-enhanced {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .features-grid-enhanced {
    gap: 25px;
    margin-top: 30px;
  }
  
  .feature-item-enhanced {
    padding: 25px 15px;
    min-height: 220px;
  }
  
  .feature-icon-enhanced {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .feature-item-enhanced h3 {
    font-size: 1.2rem;
  }
  
  .feature-item-enhanced p {
    font-size: 0.9rem;
  }
}

/* 在线客服样式优化 */
.online-support {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.support-link {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  color: #fff;
  background: linear-gradient(45deg, #333, #555);
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 500;
  font-size: 14px;
  border: 2px solid transparent;
}

.support-link:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(255,255,255,0.2);
}

.support-icon {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  border-radius: 50%;
}

.support-link.telegram {
  background: linear-gradient(45deg, #0088cc, #00a8e6);
}

.support-link.skype {
  background: linear-gradient(45deg, #00aff0, #00c4ff);
}

.support-link.telegram:hover {
  background: linear-gradient(45deg, #0099dd, #00b9f7);
}

.support-link.skype:hover {
  background: linear-gradient(45deg, #00c0ff, #00d5ff);
}

/* ========== tag.html 样式 ========== */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 2% auto;
  justify-content: space-between;
  padding: 0 15px;
  width: 96%;
}

.tag-link {
  display: inline-block;
  padding: 10px 15px;
  font-size: 16px;
  text-decoration: none;
  background-color: #007bff;
  color: white;
  border-radius: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 150px;
  text-align: center;
  white-space: nowrap;
}

.tag-link:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.tag-link:active {
  background-color: #00408d;
}

.tag-link:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}

.tag-count {
  color: #f0ad4e;
  font-weight: normal;
}

