/**
 * 网站前端美化自定义样式
 * 不修改图片显示相关的样式
 */

/* 全局样式优化 */
:root {
  --bs-primary: #845ef7;
  --bs-primary-rgb: 132, 94, 247;
  --bs-primary-hover: #7048e8;
  --bs-shadow-sm: 0 .125rem .25rem rgba(0,0,0,.075);
  --bs-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
  --bs-shadow-lg: 0 1rem 3rem rgba(0,0,0,.175);
  --bs-transition: all 0.3s ease;
  --bs-border-radius: 0.5rem;
  --bs-accent: #ff6b6b;
  --bs-accent-rgb: 255, 107, 107;
  --bs-success: #51cf66;
  --bs-success-rgb: 81, 207, 102;
  --bs-info: #339af0;
  --bs-info-rgb: 51, 154, 240;
}

body {
  font-size: 0.85rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  position: relative;
}

/* 添加背景装饰 */
body:before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(var(--bs-primary-rgb), 0.07), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

body:after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at bottom left, rgba(var(--bs-accent-rgb), 0.07), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  transition: var(--bs-transition);
}

/* 页面加载动画 */
.preloader {
  background: linear-gradient(45deg, #f3f0ff, #e5dbff, #d0bfff) !important;
  animation: gradientAnimation 5s ease infinite;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader .st0 {
  fill: var(--bs-primary) !important;
  transition: fill 0.5s ease;
}

.preloader .st1 {
  stroke: var(--bs-primary) !important;
  transition: stroke 0.5s ease;
}

/* 不同页面的加载动画样式变化 */
.home .preloader {
  background: linear-gradient(45deg, #d0bfff, #e5dbff, #f3f0ff) !important;
}

.single .preloader {
  background: linear-gradient(45deg, #bde0fe, #a2d2ff, #caf0f8) !important;
}

.archive .preloader {
  background: linear-gradient(45deg, #ffd6ff, #e7c6ff, #c8b6ff) !important;
}

.page .preloader {
  background: linear-gradient(45deg, #caffbf, #9bf6ff, #bdb2ff) !important;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 加载动画文字 */
.loading-text {
  position: absolute;
  bottom: 20%;
  font-size: 14px;
  color: var(--bs-primary);
  letter-spacing: 1px;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* 加载进度条 */
.loading-bar {
  position: absolute;
  bottom: 15%;
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  width: 0%;
  background: var(--bs-primary);
  border-radius: 10px;
  transition: width 0.5s ease;
  animation: loadingProgress 3s ease-in-out forwards;
}

@keyframes loadingProgress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* 暗黑模式支持 */
[data-bs-theme="dark"] .preloader {
  background: linear-gradient(45deg, #1b1b2f, #30475e, #222831) !important;
}

/* 导航栏美化 */
.boxmoe_header .navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 20px 20px;
  margin: 0 15px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.boxmoe_header .navbar:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 10px;
  right: 10px;
  height: 10px;
  background: rgba(var(--bs-primary-rgb), 0.1);
  filter: blur(10px);
  border-radius: 50%;
  z-index: -1;
}

.boxmoe_header .navbar.scrolled {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.1);
  box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.1);
  margin: 15px;
  border-radius: 20px;
}

.boxmoe_header .navbar.scrolled:after {
  opacity: 0.8;
}

.boxmoe_header .navbar .navbar-nav .nav-item .nav-link {
  position: relative;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 1.2rem;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

.boxmoe_header .navbar .navbar-nav .nav-item .nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--bs-primary);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateX(-50%);
  opacity: 0;
}

.boxmoe_header .navbar .navbar-nav .nav-item .nav-link:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--bs-primary-rgb), 0.08);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
  border-radius: var(--bs-border-radius);
}

.boxmoe_header .navbar .navbar-nav .nav-item .nav-link:hover:after,
.boxmoe_header .navbar .navbar-nav .nav-item .nav-link.active:after {
  width: 70%;
  opacity: 1;
}

.boxmoe_header .navbar .navbar-nav .nav-item .nav-link:hover:before,
.boxmoe_header .navbar .navbar-nav .nav-item .nav-link.active:before {
  transform: scaleX(1);
}

.boxmoe_header .navbar .navbar-nav .nav-item .nav-link:hover,
.boxmoe_header .navbar .navbar-nav .nav-item .nav-link.active {
  color: var(--bs-primary);
  border-color: transparent;
}

/* 搜索框美化 */
.boxmoe_header .search-form.active .search-input {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
}

.boxmoe_header .search-btn {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.boxmoe_header .search-btn:hover {
  transform: rotate(90deg);
}

.boxmoe_header .search-btn:hover i {
  color: var(--bs-primary);
}

/* 登录注册按钮美化 */
.boxmoe_header .user-login, .boxmoe_header .user-reg {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  font-weight: 500;
  padding: 0.4em 1em;
  border-radius: var(--bs-border-radius);
  border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.boxmoe_header .user-login:before, .boxmoe_header .user-reg:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: all 0.6s ease;
}

.boxmoe_header .user-login:hover:before, .boxmoe_header .user-reg:hover:before {
  left: 100%;
}

.boxmoe_header .user-login:hover, .boxmoe_header .user-reg:hover {
  background-color: var(--bs-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.4);
}

/* 横幅区域美化 */
.boxmoe_header_banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #d0bfff, #845ef7);
}

.boxmoe_header_banner:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,64L48,74.7C96,85,192,107,288,106.7C384,107,480,85,576,112C672,139,768,213,864,208C960,203,1056,117,1152,96C1248,75,1344,117,1392,138.7L1440,160L1440,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"%3E%3C/path%3E%3C/svg%3E') no-repeat bottom;
  background-size: 100% 40%;
  z-index: 1;
  opacity: 0.8;
  pointer-events: none;
}

.boxmoe_header_banner:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.2), transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.boxmoe_header_banner .site-main {
  z-index: 5;
}

.boxmoe_header_banner h1 {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  background: linear-gradient(90deg, #fff, #e5dbff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: gradientBg 10s ease infinite;
}

@keyframes gradientBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.boxmoe_header_banner_waves .parallax > use {
  fill: var(--bs-white);
}

/* 文章列表美化 */
.blog-post {
  animation: fadeInUp 0.8s ease-out forwards;
}

.post-list {
  border: none !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: var(--bs-border-radius) !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  padding: 1.5rem !important;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: calc(var(--animation-order) * 0.1s);
  opacity: 0;
  position: relative;
  background: rgba(255,255,255,0.95);
}

.post-list:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--bs-primary);
  transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}

.post-list:hover:before {
  height: 100%;
}

.post-list:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(var(--bs-primary-rgb), 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 0;
  pointer-events: none;
}

.post-list:hover:after {
  opacity: 1;
}

.post-list:hover {
  box-shadow: 0 15px 30px rgba(var(--bs-primary-rgb), 0.1);
  transform: translateY(-5px) scale(1.01);
}

.post-title {
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.post-title:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--bs-primary), transparent);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-list:hover .post-title:after {
  width: 100%;
}

.post-content {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.post-list .post-list-img {
  overflow: hidden;
  border-radius: var(--bs-border-radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
}

.post-list .post-list-img:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(var(--bs-primary-rgb), 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
  pointer-events: none;
}

.post-list:hover .post-list-img:before {
  opacity: 1;
}

.zoom-img img {
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: brightness(0.95);
}

.zoom-img:hover img {
  transform: scale(1.07);
  filter: brightness(1.05);
}

.post-meta {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #6c757d;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(var(--bs-primary-rgb), 0.1);
}

.post-meta i {
  color: var(--bs-primary);
  margin-right: 0.25rem;
  transition: transform 0.3s ease;
}

.post-meta-stats span:hover i {
  transform: scale(1.2);
}

.post-meta-stats {
  display: flex;
  gap: 1rem;
}

.category .tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  border-radius: var(--bs-border-radius);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.category .tags a:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: all 0.6s ease;
}

.category .tags a:hover:before {
  left: 100%;
}

.category .tags a:hover {
  background-color: var(--bs-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(var(--bs-primary-rgb), 0.3);
}

.tags .tagfa {
  margin-right: 0.25rem;
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.category .tags a:hover .tagfa {
  transform: rotate(360deg);
}

/* 文章列表动画设置 */
.list-one:nth-child(1) {
  --animation-order: 1;
}
.list-one:nth-child(2) {
  --animation-order: 2;
}
.list-one:nth-child(3) {
  --animation-order: 3;
}
.list-one:nth-child(4) {
  --animation-order: 4;
}
.list-one:nth-child(5) {
  --animation-order: 5;
}
.list-one:nth-child(6) {
  --animation-order: 6;
}
.list-one:nth-child(7) {
  --animation-order: 7;
}
.list-one:nth-child(8) {
  --animation-order: 8;
}
.list-one:nth-child(9) {
  --animation-order: 9;
}
.list-one:nth-child(10) {
  --animation-order: 10;
}

/* 分页导航美化 */
.pagenav {
  margin-top: 2rem;
}

.pagenav .pagination {
  justify-content: center;
  gap: 0.5rem;
}

.pagenav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--bs-border-radius);
  background-color: #fff;
  color: #6c757d;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.pagenav .page-numbers:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: all 0.6s ease;
}

.pagenav .page-numbers:hover:before {
  left: 100%;
}

.pagenav .page-numbers:hover,
.pagenav .page-numbers.current {
  background-color: var(--bs-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(var(--bs-primary-rgb), 0.3);
}

.pagenav .page-numbers.dots {
  background-color: transparent;
  box-shadow: none;
  border: none;
}

.pagenav .page-numbers.dots:hover {
  transform: none;
}

/* 侧边栏美化 */
.sidebar-box {
  background-color: rgba(255,255,255,0.95);
  border-radius: var(--bs-border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: fadeInRight 0.6s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.sidebar-box:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 50px 50px 0;
  border-color: transparent rgba(var(--bs-primary-rgb), 0.1) transparent transparent;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}

.sidebar-box:hover:before {
  border-width: 0 70px 70px 0;
}

.sidebar-box:hover {
  box-shadow: 0 15px 30px rgba(var(--bs-primary-rgb), 0.1);
  transform: translateY(-5px);
}

.sidebar-title {
  position: relative;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  color: #343a40;
}

.sidebar-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--bs-primary), transparent);
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sidebar-box:hover .sidebar-title:after {
  width: 100px;
}

.sidebar-box ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sidebar-box ul li:last-child {
  border-bottom: none;
}

.sidebar-box ul li a {
  color: #6c757d;
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 0.3rem 0;
}

.sidebar-box ul li a:before {
  content: '\f105';
  font-family: 'FontAwesome';
  margin-right: 0.5rem;
  color: var(--bs-primary);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.7;
}

.sidebar-box ul li a:hover {
  color: var(--bs-primary);
  transform: translateX(5px);
  padding-left: 5px;
}

.sidebar-box ul li a:hover:before {
  opacity: 1;
  transform: rotate(90deg);
}

/* 底部版权区域美化 */
footer {
  background-color: rgba(255,255,255,0.95);
  padding: 2rem 0;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--bs-primary), transparent);
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #6c757d;
}

.copyright a {
  color: var(--bs-primary);
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.copyright a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--bs-primary);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.copyright a:hover:after {
  width: 100%;
}

.btn-social {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0);
}

.btn-social:hover {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.3);
}

.btn-social:hover i {
  color: #fff !important;
  transform: scale(1.1);
}

/* 浮动菜单按钮美化 */
.float-btn {
  background-color: var(--bs-primary);
  box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.3);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.float-btn:hover {
  transform: translateY(-3px) rotate(90deg);
  box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.4);
}

.float-btn i {
  color: #fff;
}

#lolijump {
  filter: drop-shadow(0 5px 15px rgba(var(--bs-primary-rgb), 0.3));
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#lolijump:hover {
  transform: translateY(-8px) scale(1.05);
  filter: drop-shadow(0 8px 20px rgba(var(--bs-primary-rgb), 0.4));
}

/* 评论区美化 */
.comment-form-comment textarea {
  border-color: rgba(var(--bs-primary-rgb), 0.2);
  border-radius: var(--bs-border-radius);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background-color: rgba(255,255,255,0.95);
}

.comment-form-comment textarea:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
  outline: none;
  transform: translateY(-2px);
}

.submit-btn {
  background-color: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 0.5rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.submit-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: all 0.6s ease;
}

.submit-btn:hover:before {
  left: 100%;
}

.submit-btn:hover {
  background-color: var(--bs-primary-hover);
  border-color: var(--bs-primary-hover);
  box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.3);
  transform: translateY(-3px);
}

.comment-item {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.comment-item:hover {
  transform: translateY(-3px);
}

.comment-avatar {
  border-color: rgba(var(--bs-primary-rgb), 0.2);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.comment-item:hover .comment-avatar {
  transform: rotate(5deg);
  box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.2);
}

.comment-at {
  color: var(--bs-primary);
}

/* 暗黑模式适配 */
[data-bs-theme="dark"] {
  --bs-body-bg: #121212;
  --bs-body-color: rgba(255,255,255,0.87);
}

[data-bs-theme="dark"] body:before {
  background: radial-gradient(circle at top right, rgba(var(--bs-primary-rgb), 0.15), transparent 70%);
}

[data-bs-theme="dark"] body:after {
  background: radial-gradient(circle at bottom left, rgba(var(--bs-accent-rgb), 0.15), transparent 70%);
}

[data-bs-theme="dark"] .boxmoe_header .navbar {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

[data-bs-theme="dark"] .boxmoe_header .navbar.scrolled {
  background-color: rgba(18, 18, 18, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .boxmoe_header .navbar .navbar-nav .nav-item .nav-link:before {
  background: rgba(var(--bs-primary-rgb), 0.15);
}

[data-bs-theme="dark"] .post-list,
[data-bs-theme="dark"] .sidebar-box,
[data-bs-theme="dark"] footer {
  background-color: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .sidebar-box ul li {
  border-bottom-color: rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .pagenav .page-numbers {
  background-color: rgba(30, 30, 30, 0.7);
  color: rgba(255,255,255,0.87);
  border-color: rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .post-content {
  color: rgba(255,255,255,0.6);
}

[data-bs-theme="dark"] .boxmoe_header_banner {
  background: linear-gradient(120deg, #483285, #2c1d69);
}

[data-bs-theme="dark"] .float-btn {
  background-color: rgba(var(--bs-primary-rgb), 0.8);
}

[data-bs-theme="dark"] .preloader {
  background: linear-gradient(45deg, #2c1d69, #483285, #5e3fa5) !important;
}

[data-bs-theme="dark"] .comment-form-comment textarea {
  background-color: rgba(30, 30, 30, 0.7);
  color: rgba(255,255,255,0.87);
  border-color: rgba(255,255,255,0.1);
}

[data-bs-theme="dark"] .post-list:after {
  background: linear-gradient(to right, rgba(var(--bs-primary-rgb), 0.1), transparent);
}

[data-bs-theme="dark"] .post-meta {
  border-top-color: rgba(255,255,255,0.05);
}

/* 炫酷卡片效果 */
.post-list, .sidebar-box {
  position: relative;
  z-index: 1;
}

.post-list:before, .sidebar-box:before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  background: linear-gradient(235deg, var(--bs-primary), #50c5ee, var(--bs-accent));
  border-radius: calc(var(--bs-border-radius) + 2px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-list:hover:before, .sidebar-box:hover:before {
  opacity: 1;
  animation: animateGlow 1.5s linear infinite;
}

@keyframes animateGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 响应式优化 */
@media (max-width: 991px) {
  .post-list {
    padding: 1.25rem !important;
  }

  .post-list .post-list-img,
  .post-list .post-list-content {
    width: 100%;
  }

  .post-list .post-list-img {
    margin-bottom: 1.25rem;
  }

  .boxmoe_header .navbar.scrolled {
    margin: 10px;
  }
}

@media (max-width: 768px) {
  .post-title {
    font-size: 1.25rem;
  }

  .sidebar-box {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .boxmoe_header .navbar.scrolled {
    margin: 5px;
  }
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: rgba(0,0,0,0.05);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--bs-primary), var(--bs-primary-hover));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--bs-primary-hover), var(--bs-primary));
}

/* 弹窗自定义样式 */
#boxmoe-direct-popup .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

#boxmoe-direct-popup .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#boxmoe-direct-popup .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem;
}

#boxmoe-direct-popup .modal-body {
    padding: 1.5rem;
}

#boxmoe-direct-popup .modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem;
}

/* 弹窗动画效果 */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: scale(0.95) translateY(-10px);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* 暗色模式支持 */
[data-bs-theme="dark"] #boxmoe-direct-popup .modal-content {
    background-color: #2b2b2b;
    color: #f5f5f5;
}

[data-bs-theme="dark"] #boxmoe-direct-popup .modal-header,
[data-bs-theme="dark"] #boxmoe-direct-popup .modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

/* 移动设备适配 */
@media (max-width: 576px) {
    #boxmoe-direct-popup .modal-dialog {
        margin: 0.5rem;
    }

    #boxmoe-direct-popup .modal-body {
        padding: 1rem;
    }
}

/* ===== DJXS 极致升华特效 v2.0 ===== */

/* 粒子背景动画 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(var(--bs-primary-rgb), 0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* 霓虹灯边框效果 */
.neon-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-accent)) border-box;
    border-radius: var(--bs-border-radius);
}

.neon-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-accent), var(--bs-primary));
    border-radius: inherit;
    z-index: -1;
    animation: neonRotate 3s linear infinite;
}

@keyframes neonRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 3D翻转卡片效果 */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 300px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.flip-card-back {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-accent));
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* 磨砂玻璃效果增强 */
.glass-morphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: var(--bs-border-radius);
}

/* 文字打字机效果 */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--bs-primary);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.1em;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--bs-primary); }
}

/* 波浪动画背景 */
.wave-bg {
    position: relative;
    overflow: hidden;
}

.wave-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--bs-primary-rgb), 0.1), transparent);
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 悬浮动画 */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 脉冲动画 */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 5px rgba(var(--bs-primary-rgb), 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(var(--bs-primary-rgb), 0.8), 0 0 30px rgba(var(--bs-primary-rgb), 0.6);
    }
}

/* 渐变文字动画 */
.gradient-text {
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-accent), var(--bs-success));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 星空背景效果 */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* 按钮特效升级 */
.btn-magic {
    position: relative;
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-accent));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-magic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.btn-magic:hover::before {
    left: 100%;
}

.btn-magic:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--bs-primary-rgb), 0.4);
}

/* 卡片悬停特效 */
.card-hover-effect {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.card-hover-effect:hover::before {
    transform: translateX(100%);
}

.card-hover-effect:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* 加载骨架屏 */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 滚动指示器 */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--bs-primary), var(--bs-accent));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* 视差滚动效果 */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* 图片懒加载效果 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(5px);
}

.lazy-image.loaded {
    opacity: 1;
    filter: blur(0);
}

/* 音频可视化效果 */
.audio-visualizer {
    display: flex;
    align-items: end;
    height: 50px;
    gap: 2px;
}

.audio-bar {
    width: 3px;
    background: linear-gradient(to top, var(--bs-primary), var(--bs-accent));
    border-radius: 2px;
    animation: audioWave 1s ease-in-out infinite alternate;
}

.audio-bar:nth-child(2) { animation-delay: 0.1s; }
.audio-bar:nth-child(3) { animation-delay: 0.2s; }
.audio-bar:nth-child(4) { animation-delay: 0.3s; }
.audio-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes audioWave {
    from { height: 10px; }
    to { height: 50px; }
}

/* 代码块美化 */
.code-block {
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: var(--bs-border-radius);
    padding: 1.5rem;
    position: relative;
    overflow-x: auto;
    font-family: 'Fira Code', 'Consolas', monospace;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #2d2d30;
    border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
}

.code-block::after {
    content: '● ● ●';
    position: absolute;
    top: 8px;
    left: 15px;
    color: #ff5f56;
    font-size: 12px;
    letter-spacing: 3px;
}

/* 通知提示样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--bs-border-radius);
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid var(--bs-success);
}

.notification.error {
    border-left: 4px solid var(--bs-danger);
}

.notification.warning {
    border-left: 4px solid var(--bs-warning);
}

.notification.info {
    border-left: 4px solid var(--bs-info);
}

/* ===== DJXS 短代码样式 v2.0 ===== */

/* 打字机效果 */
.djxs-typewriter {
    overflow: hidden;
    border-right: 2px solid var(--bs-primary);
    white-space: nowrap;
    animation: blink-caret 0.75s step-end infinite;
}

/* 发光文字效果 */
.djxs-glow {
    text-shadow: 0 0 10px currentColor;
    transition: text-shadow 0.3s ease;
}

.djxs-glow.glow-weak {
    text-shadow: 0 0 5px currentColor;
}

.djxs-glow.glow-medium {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

.djxs-glow.glow-strong {
    text-shadow:
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
}

/* 震动文字 */
.djxs-shake {
    display: inline-block;
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* 弹跳文字 */
.djxs-bounce {
    display: inline-block;
    animation: bounce 1s ease-in-out infinite;
}

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

/* 旋转文字 */
.djxs-rotate {
    display: inline-block;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 脉冲文字 */
.djxs-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* 波浪文字 */
.djxs-wave span {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 炫酷按钮 */
.djxs-button {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.djxs-button-gradient {
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-accent));
    color: white;
}

.djxs-button-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.djxs-button-neon {
    background: transparent;
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    box-shadow: 0 0 10px var(--bs-primary);
}

.djxs-button-small {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.djxs-button-medium {
    padding: 12px 24px;
    font-size: 1rem;
}

.djxs-button-large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

.djxs-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 玻璃卡片 */
.djxs-card {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.djxs-card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.djxs-card-gradient {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-accent-rgb), 0.1));
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
}

.djxs-hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.djxs-hover-scale:hover {
    transform: scale(1.05);
}

.djxs-hover-rotate:hover {
    transform: rotate(2deg);
}

/* 进度条 */
.djxs-progress {
    position: relative;
    margin: 1rem 0;
}

.djxs-progress-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.djxs-progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.djxs-progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.djxs-progress-animated .djxs-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.djxs-progress-value {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 数字计数器 */
.djxs-counter {
    font-size: 2rem;
    font-weight: bold;
    color: var(--bs-primary);
    display: inline-block;
}

/* 工具提示 */
.djxs-tooltip {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted var(--bs-primary);
}

.djxs-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.djxs-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0,0,0,0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.djxs-tooltip:hover::before,
.djxs-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* 装饰分割线 */
.djxs-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    position: relative;
}

.djxs-divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--bs-primary), transparent);
}

.djxs-divider-gradient .djxs-divider-line {
    background: linear-gradient(to right, transparent, var(--bs-primary), var(--bs-accent), transparent);
}

.djxs-divider-icon {
    margin: 0 1rem;
    color: var(--bs-primary);
    font-size: 1.2rem;
    background: var(--bs-body-bg);
    padding: 0 10px;
}

/* 荧光笔高亮 */
.djxs-highlight {
    padding: 2px 4px;
    border-radius: 3px;
    position: relative;
    background: linear-gradient(120deg, transparent 0%, transparent 40%, currentColor 40%, currentColor 60%, transparent 60%);
    background-size: 200% 100%;
    animation: highlightSweep 2s ease-in-out;
}

@keyframes highlightSweep {
    0% { background-position: 200% 0; }
    100% { background-position: 0 0; }
}

/* 浮动徽章 */
.djxs-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.djxs-badge-floating {
    animation: badgeFloat 3s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* ===== 补充缺失的短代码样式 ===== */

/* 现代引用 */
.djxs-quote {
    position: relative;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--bs-primary);
    border-radius: 8px;
    font-style: italic;
}

.djxs-quote-modern {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-accent-rgb), 0.1));
    border: none;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.djxs-quote-modern::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--bs-primary);
    opacity: 0.3;
    font-family: serif;
}

.djxs-quote-content {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.djxs-quote-author {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 600;
    color: var(--bs-primary);
    margin-top: 1rem;
}

/* 信息提示框 */
.djxs-callout {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 12px;
    border-left: 4px solid;
    background: rgba(255, 255, 255, 0.05);
}

.djxs-callout-info {
    border-left-color: #17a2b8;
    background: rgba(23, 162, 184, 0.1);
}

.djxs-callout-warning {
    border-left-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

.djxs-callout-success {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.djxs-callout-danger {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.djxs-callout-tip {
    border-left-color: #6f42c1;
    background: rgba(111, 66, 193, 0.1);
}

.djxs-callout-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
    color: inherit;
    flex-shrink: 0;
}

.djxs-callout-content {
    flex: 1;
    line-height: 1.6;
}

/* 步骤指南 */
.djxs-steps {
    margin: 2rem 0;
}

.djxs-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.djxs-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(to bottom, var(--bs-primary), transparent);
}

.djxs-step-number {
    width: 40px;
    height: 40px;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

.djxs-step-content {
    flex: 1;
    padding-top: 8px;
    line-height: 1.6;
}

/* 价格卡片 */
.djxs-pricing {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.djxs-pricing-featured {
    border-color: var(--bs-primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(var(--bs-primary-rgb), 0.2);
}

.djxs-pricing-featured::before {
    content: '推荐';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--bs-primary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.djxs-pricing:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.djxs-pricing-header {
    margin-bottom: 2rem;
}

.djxs-pricing-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--bs-primary);
}

.djxs-pricing-price {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.djxs-pricing-currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.djxs-pricing-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.djxs-pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.djxs-pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.djxs-pricing-features li:last-child {
    border-bottom: none;
}

.djxs-pricing-features i {
    color: #28a745;
    margin-right: 0.5rem;
}

.djxs-pricing-button {
    display: inline-block;
    background: var(--bs-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.djxs-pricing-button:hover {
    background: var(--bs-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--bs-primary-rgb), 0.3);
}

/* 团队成员 */
.djxs-team {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.djxs-team:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.djxs-team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--bs-primary);
}

.djxs-team-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.djxs-team-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--bs-primary);
}

.djxs-team-position {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.djxs-team-bio {
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 统计数字 */
.djxs-stats {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.djxs-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.djxs-stats-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.djxs-stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.djxs-stats-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 社交媒体 */
.djxs-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.djxs-social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.djxs-social-floating .djxs-social-link {
    animation: socialFloat 3s ease-in-out infinite;
}

.djxs-social-floating .djxs-social-link:nth-child(2) {
    animation-delay: 0.5s;
}

.djxs-social-floating .djxs-social-link:nth-child(3) {
    animation-delay: 1s;
}

.djxs-social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.djxs-social-small .djxs-social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.djxs-social-large .djxs-social-link {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

@keyframes socialFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* 时间轴 */
.djxs-timeline {
    position: relative;
    padding: 2rem 0;
}

.djxs-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--bs-primary), var(--bs-accent));
    transform: translateX(-50%);
}

/* 手风琴 */
.djxs-accordion {
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.djxs-accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.djxs-accordion-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.djxs-accordion-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.djxs-accordion-icon {
    transition: transform 0.3s ease;
    color: var(--bs-primary);
}

.djxs-accordion-header.active .djxs-accordion-icon {
    transform: rotate(180deg);
}

.djxs-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.djxs-accordion-content.active {
    max-height: 500px;
}

.djxs-accordion-body {
    padding: 1.5rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 模态框 */
.djxs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.djxs-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.djxs-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.djxs-modal-dialog {
    position: relative;
    background: var(--bs-body-bg);
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

.djxs-modal-small {
    width: 400px;
}

.djxs-modal-medium {
    width: 600px;
}

.djxs-modal-large {
    width: 800px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.djxs-modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
}

.djxs-modal-header h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.djxs-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.djxs-modal-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.djxs-modal-body {
    padding: 2rem;
    line-height: 1.6;
    max-height: 60vh;
    overflow-y: auto;
}

.djxs-modal-trigger {
    background: var(--bs-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.djxs-modal-trigger:hover {
    background: var(--bs-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--bs-primary-rgb), 0.3);
}

/* 瀑布流画廊 */
.djxs-gallery {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.djxs-gallery-masonry {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 10px;
}

.djxs-gallery[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.djxs-gallery[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.djxs-gallery[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.djxs-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.djxs-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.djxs-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.djxs-gallery-item:hover img {
    transform: scale(1.05);
}

/* 标签页 */
.djxs-tabs {
    margin: 2rem 0;
}

.djxs-tabs-nav {
    display: flex;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.djxs-tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.djxs-tab-button.active {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
}

.djxs-tab-button:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.djxs-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.djxs-tab-content.active {
    display: block;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .djxs-gallery[data-columns="3"],
    .djxs-gallery[data-columns="4"] {
        grid-template-columns: repeat(2, 1fr);
    }

    .djxs-modal-dialog {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }

    .djxs-social {
        gap: 0.5rem;
    }

    .djxs-pricing {
        margin-bottom: 2rem;
    }

    .djxs-step {
        flex-direction: column;
        text-align: center;
    }

    .djxs-step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .djxs-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .djxs-gallery {
        grid-template-columns: 1fr;
    }

    .djxs-tabs-nav {
        flex-wrap: wrap;
    }

    .djxs-tab-button {
        flex: 1;
        min-width: 120px;
    }
}

/* 图片模态框 */
.djxs-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.djxs-image-modal.active {
    opacity: 1;
    visibility: visible;
}

.djxs-image-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.djxs-image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.djxs-image-modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.djxs-image-modal-close {
    position: absolute;
    top: -50px;
    right: -50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.djxs-image-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 打字机光标动画 */
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--bs-primary); }
}

/* 性能优化 */
.djxs-gallery-item img.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.djxs-gallery-item img:not(.loaded) {
    opacity: 0;
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    .djxs-typewriter,
    .djxs-glow,
    .djxs-shake,
    .djxs-bounce,
    .djxs-rotate,
    .djxs-pulse,
    .djxs-wave span,
    .djxs-badge-floating,
    .djxs-social-floating .djxs-social-link {
        animation: none !important;
    }

    .djxs-button,
    .djxs-card,
    .djxs-pricing,
    .djxs-team,
    .djxs-stats,
    .djxs-gallery-item {
        transition: none !important;
    }
}