/* 标签云容器美化 */
.tag-cloud-tags,
#tag-cloud,
.tag-cloud,
#tagcloud,
.tagcloud {
  padding: 2.5rem !important;
  background: linear-gradient(145deg, #f6f8fa, #ffffff) !important;
  border-radius: 20px !important;
  box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07) !important;
  text-align: center !important;
  margin: 30px auto !important;
  max-width: 90% !important;
  position: relative !important;
  overflow: hidden !important;
}

/* 添加装饰元素 */
.tag-cloud-tags:before,
#tag-cloud:before,
.tag-cloud:before,
#tagcloud:before,
.tagcloud:before {
  content: "" !important;
  position: absolute !important;
  top: -50px !important;
  left: -50px !important;
  width: 100px !important;
  height: 100px !important;
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb) !important;
  border-radius: 50% !important;
  opacity: 0.3 !important;
}

.tag-cloud-tags:after,
#tag-cloud:after,
.tag-cloud:after,
#tagcloud:after,
.tagcloud:after {
  content: "" !important;
  position: absolute !important;
  bottom: -50px !important;
  right: -50px !important;
  width: 120px !important;
  height: 120px !important;
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee) !important;
  border-radius: 50% !important;
  opacity: 0.3 !important;
}

/* 标签样式 */
.tag-cloud-tags a,
#tag-cloud a,
.tag-cloud a,
#tagcloud a,
.tagcloud a {
  display: inline-block !important;
  margin: 12px !important;
  padding: 10px 18px !important;
  background: #ffffff !important;
  color: #555 !important;
  border-radius: 25px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  font-size: 1.15em !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

/* 标签背景色 - 更多样化的配色 */
.tag-cloud-tags a:nth-child(7n+1),
#tag-cloud a:nth-child(7n+1),
.tag-cloud a:nth-child(7n+1),
#tagcloud a:nth-child(7n+1),
.tagcloud a:nth-child(7n+1) {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb) !important;
  color: #fff !important;
}

.tag-cloud-tags a:nth-child(7n+2),
#tag-cloud a:nth-child(7n+2),
.tag-cloud a:nth-child(7n+2),
#tagcloud a:nth-child(7n+2),
.tagcloud a:nth-child(7n+2) {
  background: linear-gradient(135deg, #d4fc79, #96e6a1) !important;
  color: #333 !important;
}

.tag-cloud-tags a:nth-child(7n+3),
#tag-cloud a:nth-child(7n+3),
.tag-cloud a:nth-child(7n+3),
#tagcloud a:nth-child(7n+3),
.tagcloud a:nth-child(7n+3) {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee) !important;
  color: #fff !important;
}

.tag-cloud-tags a:nth-child(7n+4),
#tag-cloud a:nth-child(7n+4),
.tag-cloud a:nth-child(7n+4),
#tagcloud a:nth-child(7n+4),
.tagcloud a:nth-child(7n+4) {
  background: linear-gradient(135deg, #f6d365, #fda085) !important;
  color: #fff !important;
}

.tag-cloud-tags a:nth-child(7n+5),
#tag-cloud a:nth-child(7n+5),
.tag-cloud a:nth-child(7n+5),
#tagcloud a:nth-child(7n+5),
.tagcloud a:nth-child(7n+5) {
  background: linear-gradient(135deg, #84fab0, #8fd3f4) !important;
  color: #333 !important;
}

.tag-cloud-tags a:nth-child(7n+6),
#tag-cloud a:nth-child(7n+6),
.tag-cloud a:nth-child(7n+6),
#tagcloud a:nth-child(7n+6),
.tagcloud a:nth-child(7n+6) {
  background: linear-gradient(135deg, #a6c0fe, #f68084) !important;
  color: #fff !important;
}

.tag-cloud-tags a:nth-child(7n+7),
#tag-cloud a:nth-child(7n+7),
.tag-cloud a:nth-child(7n+7),
#tagcloud a:nth-child(7n+7),
.tagcloud a:nth-child(7n+7) {
  background: linear-gradient(135deg, #5ee7df, #b490ca) !important;
  color: #fff !important;
}

/* 标签悬停效果 - 更丰富的交互 */
.tag-cloud-tags a:hover,
#tag-cloud a:hover,
.tag-cloud a:hover,
#tagcloud a:hover,
.tagcloud a:hover {
  transform: translateY(-8px) rotate(3deg) !important;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15) !important;
  filter: brightness(1.1) !important;
}

/* 添加标签图标和波纹效果 */
.tag-cloud-tags a:before,
#tag-cloud a:before,
.tag-cloud a:before,
#tagcloud a:before,
.tagcloud a:before {
  content: "# " !important;
  font-weight: bold !important;
  opacity: 0.7 !important;
}

/* 波纹效果 */
.tag-cloud-tags a:after,
#tag-cloud a:after,
.tag-cloud a:after,
#tagcloud a:after,
.tagcloud a:after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 5px !important;
  height: 5px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 0 !important;
  border-radius: 100% !important;
  transform: scale(1) translate(-50%, -50%) !important;
  transform-origin: 50% 50% !important;
}

.tag-cloud-tags a:focus:not(:active)::after,
#tag-cloud a:focus:not(:active)::after,
.tag-cloud a:focus:not(:active)::after,
#tagcloud a:focus:not(:active)::after,
.tagcloud a:focus:not(:active)::after {
  animation: ripple 1s ease-out !important;
}

@keyframes ripple {
  0% {
    transform: scale(0) translate(-50%, -50%);
    opacity: 0.5;
  }
  100% {
    transform: scale(20) translate(-50%, -50%);
    opacity: 0;
  }
}

/* 添加动画效果 - 更自然的浮动 */
@keyframes float {
  0% { transform: translateY(0px); }
  25% { transform: translateY(-5px); }
  50% { transform: translateY(0px); }
  75% { transform: translateY(5px); }
  100% { transform: translateY(0px); }
}

.tag-cloud-tags a,
#tag-cloud a,
.tag-cloud a,
#tagcloud a,
.tagcloud a {
  animation: float 6s ease-in-out infinite !important;
}

/* 为每个标签设置不同的动画延迟 */
.tag-cloud-tags a:nth-child(1), #tag-cloud a:nth-child(1), .tag-cloud a:nth-child(1), #tagcloud a:nth-child(1), .tagcloud a:nth-child(1) { animation-delay: 0.1s !important; }
.tag-cloud-tags a:nth-child(2), #tag-cloud a:nth-child(2), .tag-cloud a:nth-child(2), #tagcloud a:nth-child(2), .tagcloud a:nth-child(2) { animation-delay: 0.2s !important; }
.tag-cloud-tags a:nth-child(3), #tag-cloud a:nth-child(3), .tag-cloud a:nth-child(3), #tagcloud a:nth-child(3), .tagcloud a:nth-child(3) { animation-delay: 0.3s !important; }
.tag-cloud-tags a:nth-child(4), #tag-cloud a:nth-child(4), .tag-cloud a:nth-child(4), #tagcloud a:nth-child(4), .tagcloud a:nth-child(4) { animation-delay: 0.4s !important; }
.tag-cloud-tags a:nth-child(5), #tag-cloud a:nth-child(5), .tag-cloud a:nth-child(5), #tagcloud a:nth-child(5), .tagcloud a:nth-child(5) { animation-delay: 0.5s !important; }
.tag-cloud-tags a:nth-child(6), #tag-cloud a:nth-child(6), .tag-cloud a:nth-child(6), #tagcloud a:nth-child(6), .tagcloud a:nth-child(6) { animation-delay: 0.6s !important; }
.tag-cloud-tags a:nth-child(7), #tag-cloud a:nth-child(7), .tag-cloud a:nth-child(7), #tagcloud a:nth-child(7), .tagcloud a:nth-child(7) { animation-delay: 0.7s !important; }
.tag-cloud-tags a:nth-child(8), #tag-cloud a:nth-child(8), .tag-cloud a:nth-child(8), #tagcloud a:nth-child(8), .tagcloud a:nth-child(8) { animation-delay: 0.8s !important; }
.tag-cloud-tags a:nth-child(9), #tag-cloud a:nth-child(9), .tag-cloud a:nth-child(9), #tagcloud a:nth-child(9), .tagcloud a:nth-child(9) { animation-delay: 0.9s !important; }
.tag-cloud-tags a:nth-child(10), #tag-cloud a:nth-child(10), .tag-cloud a:nth-child(10), #tagcloud a:nth-child(10), .tagcloud a:nth-child(10) { animation-delay: 1.0s !important; }
.tag-cloud-tags a:nth-child(11), #tag-cloud a:nth-child(11), .tag-cloud a:nth-child(11), #tagcloud a:nth-child(11), .tagcloud a:nth-child(11) { animation-delay: 1.1s !important; }
.tag-cloud-tags a:nth-child(12), #tag-cloud a:nth-child(12), .tag-cloud a:nth-child(12), #tagcloud a:nth-child(12), .tagcloud a:nth-child(12) { animation-delay: 1.2s !important; }
.tag-cloud-tags a:nth-child(13), #tag-cloud a:nth-child(13), .tag-cloud a:nth-child(13), #tagcloud a:nth-child(13), .tagcloud a:nth-child(13) { animation-delay: 1.3s !important; }
.tag-cloud-tags a:nth-child(14), #tag-cloud a:nth-child(14), .tag-cloud a:nth-child(14), #tagcloud a:nth-child(14), .tagcloud a:nth-child(14) { animation-delay: 1.4s !important; }
.tag-cloud-tags a:nth-child(15), #tag-cloud a:nth-child(15), .tag-cloud a:nth-child(15), #tagcloud a:nth-child(15), .tagcloud a:nth-child(15) { animation-delay: 1.5s !important; }

/* 标签页标题美化 */
.tag-banner .post-title,
.tag-title,
.tag-header h1 {
  font-size: 2.5rem !important;
  font-weight: bold !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2) !important;
  background: linear-gradient(45deg, #12c2e9, #c471ed, #f64f59) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  margin-bottom: 1.5rem !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .tag-cloud-tags,
  #tag-cloud,
  .tag-cloud,
  #tagcloud,
  .tagcloud {
    padding: 1.5rem !important;
  }
  
  .tag-cloud-tags a,
  #tag-cloud a,
  .tag-cloud a,
  #tagcloud a,
  .tagcloud a {
    margin: 6px !important;
    padding: 6px 12px !important;
    font-size: 1em !important;
  }
}

/* 保留头像旋转效果 */
.about-avatar img {
  transition: all 0.6s ease;
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-avatar img:hover {
  transform: rotate(360deg);
  border-color: #3498db;
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}


/* 归档页面美化 */
.archive-timeline {
  position: relative;
  max-width: 95%;
  margin: 0 auto;
  padding: 2rem;
}

/* 时间线样式 */
.archive-timeline:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: linear-gradient(180deg, #a1c4fd, #c2e9fb, #fbc2eb, #a6c1ee);
  border-radius: 2px;
  z-index: 0;
}

/* 归档项样式 */
.list-group-item {
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 10px !important;
  margin-bottom: 15px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  z-index: 1 !important;
}

.list-group-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

/* 年份标题样式 */
.archive-timeline h3,
.archive h3 {
  font-size: 1.8rem !important;
  font-weight: bold !important;
  color: #3498db !important;
  margin: 2rem 0 1.5rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid #eaeaea !important;
  position: relative !important;
}

.archive-timeline h3:after,
.archive h3:after {
  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 50px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #3498db, #9b59b6) !important;
}

/* 文章标题样式 */
.archive-timeline a,
.archive a {
  color: #2c3e50 !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.archive-timeline a:hover,
.archive a:hover {
  color: #3498db !important;
  text-decoration: none !important;
  padding-left: 5px !important;
}

/* 日期样式 */
.archive-timeline .archive-date,
.archive .archive-date,
.archive-timeline small,
.archive small {
  color: #7f8c8d !important;
  font-size: 0.9rem !important;
  margin-right: 10px !important;
}

/* 文章计数样式 */
.archive-timeline .archive-count,
.archive .archive-count {
  display: inline-block !important;
  padding: 3px 8px !important;
  background: #f8f9fa !important;
  border-radius: 15px !important;
  font-size: 0.8rem !important;
  color: #7f8c8d !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .archive-timeline:before {
    left: 30px;
  }
  
  .list-group-item {
    padding: 10px 15px !important;
  }
}


/* 归档页面高级美化 */

/* 年份标题特效 */
.archive h3 {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white !important;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(37, 117, 252, 0.2);
  margin: 30px 0 20px !important;
}

.archive h3:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 20px;
  border-width: 10px;
  border-style: solid;
  border-color: #2575fc transparent transparent transparent;
}

/* 文章项目悬停效果增强 */
.archive .list-group-item {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.archive .list-group-item:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, transparent, rgba(37, 117, 252, 0.1), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

.archive .list-group-item:hover:before {
  transform: translateX(100%);
}

/* 文章计数气泡 */
.archive-count {
  display: inline-block;
  min-width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: #3498db;
  color: white !important;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-left: 10px;
  box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
}

/* 时间线节点 */
.archive .list-group-item:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid #3498db;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

/* 添加月份分隔 */
.archive-month-header {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin: 15px 0;
  padding-left: 20px;
  position: relative;
}

.archive-month-header:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 2px;
  background: #7f8c8d;
}

/* 添加动画效果 */
.archive .list-group-item {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
  animation-delay: calc(0.1s * var(--i, 0));
}

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

/* 为每个项目设置不同的动画延迟 */
.archive .list-group-item:nth-child(1) { --i: 1; }
.archive .list-group-item:nth-child(2) { --i: 2; }
.archive .list-group-item:nth-child(3) { --i: 3; }
.archive .list-group-item:nth-child(4) { --i: 4; }
.archive .list-group-item:nth-child(5) { --i: 5; }
.archive .list-group-item:nth-child(6) { --i: 6; }
.archive .list-group-item:nth-child(7) { --i: 7; }
.archive .list-group-item:nth-child(8) { --i: 8; }
.archive .list-group-item:nth-child(9) { --i: 9; }
.archive .list-group-item:nth-child(10) { --i: 10; }


/* 分类页面美化 */
.category-container {
  padding: 2rem 0;
}

/* 分类卡片样式 */
.category-card {
  background: linear-gradient(145deg, #ffffff, #f5f7fa);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  margin-bottom: 2rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* 分类标题样式 */
.category-card .card-header {
  background: linear-gradient(120deg, #3498db, #9b59b6);
  color: white;
  font-weight: bold;
  padding: 1rem 1.5rem;
  border: none;
  position: relative;
  overflow: hidden;
}

.category-card .card-header:before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -75px;
  right: -75px;
}

/* 分类计数气泡 */
.category-card .category-count {
  display: inline-block;
  min-width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-left: 10px;
  padding: 0 8px;
}

/* 分类内容区域 */
.category-card .card-body {
  padding: 1.5rem;
  background: white;
}

/* 文章列表样式 */
.category-card .list-group-item {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.8rem 0;
  background: transparent;
  transition: all 0.3s ease;
}

.category-card .list-group-item:last-child {
  border-bottom: none;
}

.category-card .list-group-item:hover {
  background: rgba(52, 152, 219, 0.05);
  padding-left: 10px;
}

/* 文章标题样式 */
.category-card .list-group-item a {
  color: #2c3e50;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.category-card .list-group-item a:hover {
  color: #3498db;
}

/* 文章日期样式 */
.category-card .list-group-item small {
  color: #7f8c8d;
  font-size: 0.85rem;
}

/* 展开更多按钮 */
.category-card .more-btn {
  display: block;
  text-align: center;
  padding: 0.5rem;
  background: #f8f9fa;
  color: #7f8c8d;
  border-radius: 0 0 10px 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.5rem;
}

.category-card .more-btn:hover {
  background: #3498db;
  color: white;
}

/* 子分类样式 */
.subcategory-container {
  padding-left: 1.5rem;
  border-left: 2px solid rgba(52, 152, 219, 0.3);
  margin: 1rem 0 1rem 1rem;
}

/* 分类页标题美化 */
.category-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
  position: relative;
}

.category-title:after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  margin: 15px auto 0;
  border-radius: 3px;
}

/* 分类导航 */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-nav-item {
  margin: 5px;
  padding: 5px 15px;
  background: #f8f9fa;
  border-radius: 20px;
  color: #7f8c8d;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-nav-item:hover,
.category-nav-item.active {
  background: #3498db;
  color: white;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .category-card .card-header {
    padding: 0.8rem 1rem;
  }
  
  .category-card .card-body {
    padding: 1rem;
  }
  
  .subcategory-container {
    padding-left: 1rem;
    margin: 0.8rem 0 0.8rem 0.8rem;
  }
}

/* 添加动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
  animation-delay: calc(0.1s * var(--i, 0));
}

/* 为每个分类卡片设置不同的动画延迟 */
.category-card:nth-child(1) { --i: 1; }
.category-card:nth-child(2) { --i: 2; }
.category-card:nth-child(3) { --i: 3; }
.category-card:nth-child(4) { --i: 4; }
.category-card:nth-child(5) { --i: 5; }
.category-card:nth-child(6) { --i: 6; }
.category-card:nth-child(7) { --i: 7; }
.category-card:nth-child(8) { --i: 8; }
.category-card:nth-child(9) { --i: 9; }
.category-card:nth-child(10) { --i: 10; }


/* 首页深度优化 - 完整版 */

/* ===== Banner 区域优化 ===== */
.banner {
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  transition: all 0.8s ease;
}

.banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.banner:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 2;
}

/* 波浪效果 */
.banner .waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" fill-opacity="1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 3;
}

/* 漂浮元素 */
.banner .floating {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.banner .floating div {
  position: absolute;
  width: 60px;
  height: 60px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle></svg>');
  background-repeat: no-repeat;
  opacity: 0.2;
  animation: float 15s infinite linear;
}

.banner .floating div:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-duration: 20s;
  animation-delay: 0s;
}

.banner .floating div:nth-child(2) {
  top: 60%;
  left: 20%;
  width: 40px;
  height: 40px;
  animation-duration: 18s;
  animation-delay: 1s;
}

.banner .floating div:nth-child(3) {
  top: 30%;
  left: 80%;
  width: 30px;
  height: 30px;
  animation-duration: 15s;
  animation-delay: 2s;
}

.banner .floating div:nth-child(4) {
  top: 70%;
  left: 70%;
  width: 50px;
  height: 50px;
  animation-duration: 25s;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(0) rotate(180deg);
    opacity: 0.2;
  }
  75% {
    transform: translateY(20px) rotate(270deg);
    opacity: 0.3;
  }
  100% {
    transform: translateY(0) rotate(360deg);
    opacity: 0.2;
  }
}

/* 标题动画效果 */
.banner .h2 {
  animation: fadeInDown 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 3px;
  font-weight: 800;
  position: relative;
  color: white;
  margin-bottom: 20px;
}

.banner .h2:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  border-radius: 4px;
}

.banner .h3 {
  animation: fadeInUp 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000);
  animation-delay: 0.5s;
  opacity: 0;
  animation-fill-mode: forwards;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* 滚动提示 */
.scroll-down-arrow {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: white;
  font-size: 20px;
  z-index: 10;
  cursor: pointer;
  animation: bounce 2s infinite;
  transition: all 0.3s ease;
}

.scroll-down-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateX(-50%) scale(1.1);
}

/* ===== 内容区域优化 ===== */
.container-fluid {
  padding-top: 30px;
  background: #f9fafc;
  position: relative;
}

/* 内容区域装饰 */
.container-fluid:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="%23e0e0e0"/></svg>');
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

/* 文章卡片容器 */
.row {
  position: relative;
  z-index: 1;
}

/* ===== 文章卡片高级美化 ===== */
.index-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: none;
  margin-bottom: 40px;
  position: relative;
  background: white;
  transform: translateY(0);
}

.index-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* 卡片顶部渐变边框 */
.index-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.index-card:hover:before {
  opacity: 1;
}

/* 文章特色图片效果 */
.index-img {
  height: 220px;
  object-fit: cover;
  transition: all 0.8s ease;
  transform-origin: center;
  filter: brightness(0.95);
}

.index-card:hover .index-img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* 图片遮罩渐变 */
.index-img-wrapper {
  position: relative;
  overflow: hidden;
}

.index-img-wrapper:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  opacity: 0.8;
  transition: all 0.3s ease;
}

.index-card:hover .index-img-wrapper:after {
  opacity: 0.5;
  height: 50%;
}

/* 图片上的分类标签 */
.index-img-wrapper .category-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 15px;
  background: rgba(52, 152, 219, 0.8);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.index-card:hover .index-img-wrapper .category-tag {
  background: rgba(52, 152, 219, 1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* 文章内容区域 */
.index-card .card-body {
  padding: 1.8rem;
  position: relative;
}

/* 文章标题样式增强 */
.index-card .card-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
  transition: all 0.3s ease;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  position: relative;
  padding-bottom: 15px;
}

.index-card .card-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #e0e0e0;
  transition: all 0.3s ease;
}

.index-card:hover .card-title {
  color: #3498db;
}

.index-card:hover .card-title:after {
  width: 100px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
}

/* 文章摘要样式增强 */
.index-card .card-text {
  color: #7f8c8d;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 1.05rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 文章元信息区域 */
.index-card .card-meta {
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: #95a5a6;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.index-card .card-meta .meta-left,
.index-card .card-meta .meta-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.index-card .card-meta .mr-3 {
  margin-right: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.index-card .card-meta i {
  margin-right: 5px;
  color: #3498db;
}

/* 分类和标签样式增强 */
.index-card .category-link,
.index-card .tag-link {
  display: inline-block;
  padding: 4px 12px;
  background: #f8f9fa;
  border-radius: 20px;
  color: #7f8c8d;
  font-size: 0.85rem;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.index-card .category-link:hover {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  transform: translateY(-3px);
}

.index-card .tag-link:hover {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
  transform: translateY(-3px);
}

/* 阅读更多按钮 */
.index-card .btn-primary {
  background: linear-gradient(135deg, #3498db, #2980b9);
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.index-card .btn-primary:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #2980b9, #3498db);
  transition: all 0.4s ease;
  z-index: -1;
  border-radius: 30px;
}

.index-card .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.index-card .btn-primary:hover:before {
  width: 100%;
}

/* 置顶文章样式增强 */
.index-card.sticky {
  border-left: none;
  background: linear-gradient(to right, rgba(52, 152, 219, 0.05), white);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.index-card.sticky:before {
  opacity: 1;
  height: 6px;
  background: linear-gradient(90deg, #e74c3c, #f39c12);
}

.index-card .sticky-icon {
  color: #e74c3c;
  margin-right: 8px;
  animation: bounce 2s infinite;
  font-size: 1.1rem;
}

/* 分页导航美化增强 */
.pagination {
  margin: 50px 0;
  justify-content: center;
}

.pagination .page-item .page-link {
  border-radius: 50%;
  margin: 0 5px;
  min-width: 45px;
  height: 45px;
  line-height: 28px;
  text-align: center;
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.2);
  transition: all 0.3s ease;
  font-weight: 500;
  background: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
  color: white;
}

.pagination .page-item .page-link:hover {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
  transform: translateY(-3px) scale(1.05);
}

.pagination .page-item.disabled .page-link {
  color: #bdc3c7;
  background: #f8f9fa;
  border-color: #f8f9fa;
}

/* 返回顶部按钮美化 */
.scroll-top-arrow {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  line-height: 55px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.scroll-top-arrow:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
}

/* 响应式调整增强 */
@media (max-width: 992px) {
  .index-card .card-title {
    font-size: 1.4rem;
  }
  
  .index-card .card-text {
    font-size: 1rem;
  }
  
  .index-img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .index-card .card-title {
    font-size: 1.3rem;
  }
  
  .index-card .card-text {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
  }
  
  .index-img {
    height: 180px;
  }
  
  .index-card .card-body {
    padding: 1.5rem;
  }
  
  .banner .h2 {
    font-size: 1.8rem;
  }
  
  .banner .h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .index-card .card-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .index-card .card-meta .meta-right {
    margin-top: 10px;
  }
  
  .index-card .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* 添加卡片入场动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-8px);}
  60% {transform: translateY(-4px);}
}

/* 为每个卡片添加入场动画 */
.index-card {
  animation: fadeInUp 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
  opacity: 0;
}

/* 为每个卡片设置不同的动画延迟 */
.index-card:nth-child(1) { animation-delay: 0.1s; }
.index-card:nth-child(2) { animation-delay: 0.2s; }
.index-card:nth-child(3) { animation-delay: 0.3s; }
.index-card:nth-child(4) { animation-delay: 0.4s; }
.index-card:nth-child(5) { animation-delay: 0.5s; }
.index-card:nth-child(6) { animation-delay: 0.6s; }
.index-card:nth-child(7) { animation-delay: 0.7s; }
.index-card:nth-child(8) { animation-delay: 0.8s; }
.index-card:nth-child(9) { animation-delay: 0.9s; }
.index-card:nth-child(10) { animation-delay: 1.0s; }




/* 页脚美化样式 - 彩色字体版 */
.footer {
  background: linear-gradient(to right, #2c3e50, #34495e);
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
  position: relative;
  text-align: center;
}

/* 页脚顶部装饰线 */
.footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
}

/* 页脚内容容器 */
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 页脚链接样式 */
.footer a {
  background-image: linear-gradient(90deg, #f39c12, #e74c3c, #9b59b6, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0 5px;
  position: relative;
  font-weight: bold;
}

.footer a:hover {
  background-image: linear-gradient(90deg, #3498db, #9b59b6, #e74c3c, #f39c12);
  -webkit-background-clip: text;
  background-clip: text;
  transform: scale(1.05);
}

/* 彩色文本 */
.footer .rainbow-text {
  background-image: linear-gradient(90deg, #f39c12, #e74c3c, #9b59b6, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

/* 页脚图标样式 */
.footer .iconfont {
  color: #e74c3c;
  margin: 0 5px;
  font-size: 0.9rem;
}

/* 统计信息样式 */
.footer .statistics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer .statistics span {
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
}

.footer .statistics .iconfont {
  background-image: linear-gradient(135deg, #3498db, #9b59b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-right: 5px;
}

/* 网站运行时间样式 */
.website-runtime {
  margin: 1rem 0;
  font-size: 0.9rem;
}

.website-runtime span {
  margin: 0 3px;
}

.run-time {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 10px;
  margin: 0 5px;
  background-image: linear-gradient(90deg, #f39c12, #e74c3c, #9b59b6, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .footer .statistics {
    flex-direction: column;
    align-items: center;
  }
  
  .footer .statistics span {
    margin: 5px 0;
  }
}

/* 彩色文字效果 */
.rainbow-text {
  background-image: linear-gradient(90deg, #f39c12, #e74c3c, #9b59b6, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

/* 页脚样式 */
.footer {
  text-align: center;
  padding: 2rem 0;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-item {
  margin: 0.8rem 0;
}

.motto {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.quote-icon {
  font-size: 0.8rem;
  opacity: 0.8;
  vertical-align: super;
}

.website-runtime {
  margin: 10px 0;
  display: inline-block;
}

.run-time {
  font-weight: 600;
  margin-left: 5px;
}
