/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, sans-serif;
}

/* 去掉链接下划线 */
a {
  text-decoration: none !important;
  color: inherit;
}

/* 确保导航按钮没有下划线 */
.nav-btn {
  text-decoration: none !important;
}

/* 全局样式 - 深蓝色科技配色方案 */
:root {
  --primary: #00d4ff;       /* 主蓝色 */
  --primary-light: #66e6ff; /* 浅蓝色 */
  --primary-dark: #00a3cc;  /* 深蓝色 */
  --bg-main: #0a1929;       /* 主背景 - 更深的蓝色 */
  --bg-card: #112240;       /* 卡片背景 */
  --bg-dark: #1a365d;       /* 深色背景 */
  --text-main: #ffffff;     /* 主要文字 */
  --text-secondary: #e2e8f0;/* 次要文字 */
  --border-main: #2d3748;   /* 边框颜色 */
  --border-hover: #00d4ff;  /* 悬浮边框 */
  --overlay-bg: rgba(10, 25, 41, 0.95); /* 全屏遮罩背景 */
  --glow-color: rgba(0, 212, 255, 0.5); /* 发光颜色 */
  --glow-color-strong: rgba(0, 212, 255, 0.8); /* 强发光颜色 */
  --accent-color: #00ffaa;  /* 强调色 */
}

body {
  background: linear-gradient(-45deg, #0a1929, #0c2440, #0a1929, #1a365d);
  background-size: 400% 400%;
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  padding: 0 20px;
  overflow-x: hidden;
  position: relative;
  animation: gradientShift 15s ease infinite;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 255, 170, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 60% 30%, rgba(255, 204, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}

/* 背景渐变动画 */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 炫光脉冲动画 */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

/* 背景装饰 */
.bg-decoration {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

#dark-veil-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}



/* 背景 blob 效果 */
.bg-blob-1 {
  position: absolute;
  top: 0;
  left: 25%;
  width: 384px;
  height: 384px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 50%;
  filter: blur(100px);
  animation: blobMove 25s infinite ease-in-out;
  box-shadow: 0 0 100px rgba(0, 212, 255, 0.3);
}

.bg-blob-2 {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 320px;
  height: 320px;
  background: rgba(0, 255, 170, 0.15);
  border-radius: 50%;
  filter: blur(80px);
  animation: blobMove 20s infinite ease-in-out reverse;
  box-shadow: 0 0 80px rgba(0, 255, 170, 0.3);
}



@keyframes blobMove {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(20px, 20px) scale(1.1);
  }
  50% {
    transform: translate(0, 40px) scale(1);
  }
  75% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* 顶部标题 */
.header {
  margin-bottom: 32px;
  padding-top: 12px;
}

.title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.main-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  animation: pulse 3s infinite;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .main-title {
    font-size: clamp(28px, 8vw, 48px);
  }
  
  .typewriter-text {
    font-size: 18px;
  }
}

.sub-title {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 800px;
  line-height: 1.4;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .sub-title {
    font-size: 16px;
  }
}

.typewriter-container {
  position: relative;
  height: 1.5em;
  overflow: hidden;
}

.typewriter-text {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  margin: 0;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(10px);
  width: 0;
}

.typewriter-text.typing {
  opacity: 1;
  transform: translateY(0);
  width: auto;
  animation: typing 2s steps(40, end);
}

.typewriter-text.typed {
  opacity: 1;
  transform: translateY(0);
  width: auto;
  border-right: 0.15em solid var(--primary);
  animation: typing 2s steps(40, end), blink-caret 0.75s step-end infinite;
}

.typewriter-text.completed {
  opacity: 1;
  transform: translateY(0);
  width: auto;
  border-right: none;
}

.typewriter-text.hidden {
  opacity: 0;
  transform: translateY(10px);
  width: 0;
}

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

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

.status-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.9) 0%, rgba(26, 54, 93, 0.9) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  padding: 12px 20px;
  box-shadow: 
    0 8px 30px rgba(0, 212, 255, 0.2),
    0 0 0 1px rgba(0, 212, 255, 0.1) inset;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.status-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.status-bar:hover::before {
  left: 100%;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #00CC66;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-text {
  color: var(--text-main);
  font-size: 14px;
}

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  margin: 24px 0;
}

.faded-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  margin: 20px 0;
  opacity: 0.6;
}

/* 3D卡片样式 - 科技蓝风格 */
.card-3d {
  position: relative;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a365d 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 8px 30px rgba(0, 212, 255, 0.1),
    0 0 0 1px rgba(0, 212, 255, 0.1) inset;
  transition: all 0.5s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

/* 炫彩动效 */
.card-3d::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(0, 212, 255, 0.2),
    rgba(0, 255, 170, 0.1),
    rgba(0, 212, 255, 0.2),
    rgba(0, 255, 170, 0.1)
  );
  background-size: 400% 400%;
  animation: gradient-shift 8s ease infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.card-3d:hover::before {
  opacity: 1;
}

.card-3d::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--accent-color));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.card-3d:hover::after {
  opacity: 1;
}

/* 页面导航样式 */
.page-nav {
  position: fixed;
  top: 50px;
  right: 20px;
  z-index: 1000;
}

/* 响应式调整 - 确保导航按钮与状态栏右对齐 */
@media (min-width: 1240px) {
  .page-nav {
    right: calc(50% - 600px + 20px);
  }
}

/* 状态栏样式调整 */
.status-bar {
  position: relative;
  z-index: 1;
}

/* 三横线导航按钮 */
.nav-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--border-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 153, 255, 0.15);
}

.nav-toggle:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(0, 153, 255, 0.2);
}

/* 三横线图标 */
.nav-toggle .icon {
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.nav-toggle.active .icon {
  transform: rotate(90deg);
  color: var(--primary);
}

/* 导航菜单样式 */
.nav-menu {
  position: absolute;
  top: 70px;
  right: 0;
  width: 280px;
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a365d 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 16px;
  box-shadow: 
    0 12px 30px rgba(0, 212, 255, 0.2),
    0 0 0 1px rgba(0, 212, 255, 0.1) inset;
  padding: 16px 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
  overflow: hidden;
}

.nav-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.nav-menu::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.nav-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 导航菜单项 */
.nav-menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.nav-menu-item:hover {
  background: var(--bg-dark);
  color: var(--primary);
}

/* 菜单项悬停效果 */
.nav-menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.nav-menu-item:hover::before {
  transform: scaleY(1);
}

/* 菜单项图标 */
.nav-menu-item .icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.nav-menu-item:hover .icon {
  transform: translateX(5px);
}

/* 菜单项文本 */
.nav-menu-item span {
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-menu-item:hover span {
  transform: translateX(5px);
}

/* 导航菜单分隔线 */
.nav-menu-divider {
  height: 1px;
  background: var(--border-main);
  margin: 8px 0;
}

/* 导航菜单标题 */
.nav-menu-title {
  padding: 12px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .nav-menu {
    width: 240px;
  }
  
  .nav-menu-item {
    padding: 14px 16px;
  }
}

/* 动画定义 */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.card-3d:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.25);
}

.card-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0) 60%);
  border-radius: 0 0 0 100%;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.card-img-wrap {
  height: 144px;
  background: var(--bg-dark);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  opacity: 0.9;
}

.card-3d:hover .card-img {
  transform: scale(1.05);
  opacity: 1;
}

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 212, 255, 0.2), transparent);
  z-index: 3;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1) inset;
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(17, 34, 64, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
  z-index: 4;
  transition: transform 0.5s ease;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.card-3d:hover .card-badge {
  transform: rotate(12deg);
}

.card-qr {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: rgba(17, 34, 64, 0.95);
  padding: 8px;
  border: 2px solid var(--border-main);
  z-index: 4;
  transition: all 0.5s ease;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
  opacity: 0;
  transform: scale(0.8);
}

.card-3d:hover .card-qr {
  opacity: 1;
  transform: scale(1);
}

.qr-code-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.badge-icon {
  color: var(--primary);
  font-size: 20px;
}

.card-content {
  padding: 24px;
  position: relative;
  z-index: 2;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.2);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 12px;
}

/* 文件夹网格 */
.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

/* 详情页样式 */
.page-detail {
  display: none;
}

.nav-btn {
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.4s ease;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a365d 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.1) inset;
}

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

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

.nav-btn:hover {
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7a 100%);
  border-color: var(--primary);
  box-shadow: 
    0 0 20px rgba(0, 212, 255, 0.3),
    0 0 0 1px rgba(0, 212, 255, 0.2) inset;
  transform: translateY(-2px);
}

.nav-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, #00a3cc 100%);
  color: var(--bg-main);
  box-shadow: 
    0 4px 12px rgba(0, 212, 255, 0.4),
    0 0 20px rgba(0, 212, 255, 0.2) inset;
  border-color: var(--primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* 波纹效果 */
.nav-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.nav-btn:hover::after {
  width: 200px;
  height: 200px;
}

/* 面包屑 */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  line-height: 1.4;
  position: relative;
  z-index: 1001;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .top-nav {
    flex-wrap: nowrap;
  }
  
  .breadcrumb {
    font-size: 12px;
  }
  
  .nav-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .nav-btn .icon {
    font-size: 14px;
  }
}

.breadcrumb-current {
  color: var(--primary);
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* 横向导航 */
.cate-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 20px;
  margin: 0 -20px 20px;
  background: transparent;
  border-radius: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: calc(100% + 40px);
  box-sizing: border-box;
  min-height: auto;
  position: relative;
}

.cate-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.cate-nav:hover::before {
  left: 100%;
}

/* 隐藏滚动条 */
.cate-nav::-webkit-scrollbar {
  display: none;
}

/* 导航按钮样式 */
.nav-btn {
  white-space: nowrap;
  min-width: 120px;
  flex-shrink: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .cate-nav {
    gap: 12px;
  }
  
  .nav-btn {
    min-width: 100px;
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .nav-btn .icon {
    font-size: 16px;
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .cate-nav {
    -webkit-overflow-scrolling: touch;
  }
}

/* 列表项样式 */
.list-item {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a365d 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.4s ease;
  box-shadow: 
    0 2px 8px rgba(0, 212, 255, 0.1),
    0 0 0 1px rgba(0, 212, 255, 0.05) inset;
  cursor: pointer;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.list-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.list-item:hover::before {
  left: 100%;
}

.list-item:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7a 100%);
  box-shadow: 
    0 8px 20px rgba(0, 212, 255, 0.2),
    0 0 0 1px rgba(0, 212, 255, 0.15) inset;
  transform: translateX(5px);
}

.item-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-main);
  transition: all 0.4s ease;
  background: rgba(102, 126, 234, 0.05);
}

.ppt-icon, .pdf-icon {
  background: rgba(102, 126, 234, 0.1);
}

.ppt-icon .icon, .pdf-icon .icon {
  color: var(--primary);
  font-size: 24px;
}

.video-icon {
  background: rgba(56, 161, 105, 0.1);
}

.video-icon .icon {
  color: #38a169;
  font-size: 24px;
}

.list-item:hover .ppt-icon, .list-item:hover .pdf-icon {
  background: rgba(102, 126, 234, 0.15);
}

.list-item:hover .video-icon {
  background: rgba(56, 161, 105, 0.15);
}

.item-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.item-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.item-meta {
  font-size: 14px;
  color: var(--text-secondary);
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.list-item:hover .item-actions {
  opacity: 1;
}

.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-main);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* 全屏预览模态框 */
.fullscreen-modal {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.modal-content {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* PDF预览样式 */
.pdf-viewer {
  width: 100%;
  height: 100%;
  background: white;
}

#pdfContainer {
  width: 100%;
  height: 100%;
  background: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pdf-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.95) 0%, rgba(26, 54, 93, 0.95) 100%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 
    0 2px 12px rgba(0, 212, 255, 0.2),
    0 0 0 1px rgba(0, 212, 255, 0.1) inset;
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}

.pdf-toolbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.pdf-toolbar-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .pdf-toolbar {
    padding: 6px 12px;
  }
  
  .pdf-toolbar-buttons {
    gap: 8px;
  }
  
  .pdf-btn {
    padding: 6px;
    min-width: 40px;
  }
  
  .pdf-page-info {
    margin: 0 8px;
    min-width: 80px;
  }
}

.pdf-btn {
  padding: 6px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a365d 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--text-main);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 40px;
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}

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

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

.pdf-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, #00a3cc 100%);
  color: var(--bg-main);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 
    0 4px 12px rgba(0, 212, 255, 0.3),
    0 0 0 1px rgba(0, 212, 255, 0.2) inset;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.pdf-page-info {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 20px;
  min-width: 120px;
  text-align: center;
}

#pdfCanvas {
  width: 100%;
  height: calc(100vh - 80px);
  margin-top: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.pdf-error {
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.error-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.pdf-error h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.pdf-error p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 400px;
}

.error-btn {
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.error-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* 视频播放器样式 */
.video-player {
  width: 100%;
  height: 100%;
  flex: 1;
  object-fit: cover;
  background: black;
}

/* 关闭按钮 */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #00a3cc 100%);
  border: 1px solid rgba(0, 212, 255, 0.5);
  color: var(--bg-main);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 
    0 4px 12px rgba(0, 212, 255, 0.3),
    0 0 0 1px rgba(0, 212, 255, 0.2) inset;
  backdrop-filter: blur(5px);
  overflow: hidden;
}

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

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

.close-btn:hover {
  background: linear-gradient(135deg, #00a3cc 0%, var(--primary) 100%);
  transform: scale(1.1);
  box-shadow: 
    0 6px 16px rgba(0, 212, 255, 0.4),
    0 0 0 1px rgba(0, 212, 255, 0.3) inset;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* 动画定义 */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* 辅助类 */
.hidden {
  display: none !important;
}

.opacity-0 {
  opacity: 0;
}

/* 内容相关图标样式 */
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  font-family: "Arial", sans-serif;
  font-weight: normal;
}

/* 文件夹图标 - 内容相关 */
.icon-graduation-cap::before { content: "📚"; } /* 课程资料 - 书籍图标 */
.icon-briefcase::before { content: "📄"; } /* 工作文档 - 文档图标 */
.icon-users::before { content: "🎓"; } /* 培训资料 - 毕业帽图标 */
.icon-cube::before { content: "📦"; } /* 其他资料 - 盒子图标 */

/* 导航图标 - 内容相关 */
.icon-arrow-left::before { content: "⬅"; } /* 返回箭头 */
.icon-arrow-right::before { content: "➡"; } /* 前进箭头 */
.icon-angle-right::before { content: "→"; } /* 前进箭头 */
.icon-menu::before { content: "☰"; } /* 菜单图标 */

/* 文件类型图标 - 内容相关 */
.icon-file-pdf::before { content: "📄"; } /* PDF文件 */
.icon-file-powerpoint::before { content: "📊"; } /* PPT文件 */
.icon-file-video::before { content: "🎬"; } /* 视频文件 */
.icon-file-text::before { content: "📝"; } /* 文本文件 */
.icon-wrench::before { content: "🔧"; } /* 工具图标 */

/* 操作图标 - 内容相关 */
.icon-eye::before { content: "👁"; } /* 查看图标 */
.icon-download::before { content: "↓"; } /* 下载图标 */
.icon-play::before { content: "▶"; } /* 播放图标 */
.icon-close::before { content: "✕"; } /* 关闭图标 */
.icon-print::before { content: "🖨️"; } /* 打印图标 */
.icon-angle-left::before { content: "←"; } /* 左箭头图标 */

/* 底部版权信息样式 */
.footer {
  background: transparent;
  border-top: 1px solid rgba(0, 212, 255, 0.3);
  padding: 40px 0;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.footer-info {
  flex: 1;
  min-width: 250px;
}

.copyright {
  font-size: 16px;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.version {
  font-size: 14px;
  color: var(--text-secondary);
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.2);
}

.footer-qr {
  display: flex;
  align-items: center;
}

.qr-code-placeholder {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2a4a7a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.1) inset;
  backdrop-filter: blur(10px);
}

.qr-code-placeholder:hover {
  border-color: var(--primary);
  box-shadow: 
    0 4px 12px rgba(0, 212, 255, 0.2),
    0 0 0 1px rgba(0, 212, 255, 0.2) inset;
  transform: translateY(-2px);
}

.qr-text {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-info {
    order: 2;
  }
  
  .footer-qr {
    order: 1;
  }
}