/* 全局变量 - 赛博朋克科技感配色方案 */
:root {
  --bg-primary: #050510;
  --bg-secondary: #0a0a1f;
  --bg-tertiary: #12122a;
  --bg-card: rgba(18, 18, 42, 0.9);
  --bg-card-hover: rgba(30, 30, 60, 0.95);

  --text-primary: #ffffff;
  --text-secondary: #a0a0d0;
  --text-muted: #7070a0;

  --accent-primary: #00f0ff;
  --accent-secondary: #ff00ff;
  --accent-tertiary: #00ff88;
  --accent-quaternary: #ff6b00;
  --accent-success: #00ff88;
  --accent-warning: #ffff00;
  --accent-error: #ff0044;

  --border-color: rgba(0, 240, 255, 0.2);
  --border-hover: rgba(0, 240, 255, 0.6);
  --border-glow: rgba(0, 240, 255, 0.4);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.4), 0 0 60px rgba(255, 0, 255, 0.2);
  --shadow-glow-strong: 0 0 40px rgba(0, 240, 255, 0.6), 0 0 80px rgba(255, 0, 255, 0.3);

  --font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* 动态背景 - 粒子网格效果 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 10%, rgba(255, 0, 255, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 90%, rgba(0, 255, 136, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  pointer-events: none;
  z-index: 0;
  animation: backgroundPulse 10s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* 扫描线效果 */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 240, 255, 0.02) 0px,
    rgba(0, 240, 255, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 1;
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% { transform: translateY(0); }
  100% { transform: translateY(3px); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

/* 头部样式 - 全息效果 */
.header {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg,
    rgba(0, 240, 255, 0.1) 0%,
    rgba(255, 0, 255, 0.1) 50%,
    rgba(0, 255, 136, 0.1) 100%);
  border-radius: 20px;
  margin-bottom: 30px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  animation: headerFloat 6s ease-in-out infinite;
}

@keyframes headerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(0, 240, 255, 0.1),
    transparent,
    rgba(255, 0, 255, 0.1),
    transparent
  );
  animation: headerRotate 12s linear infinite;
}

@keyframes headerRotate {
  100% { transform: rotate(360deg); }
}

.header::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg-primary);
  border-radius: 18px;
  z-index: 1;
  opacity: 0.7;
}

.blog-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 50%,
    var(--accent-tertiary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  letter-spacing: 3px;
  text-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 60px rgba(0, 240, 255, 0.8), 0 0 100px rgba(255, 0, 255, 0.5);
  }
}

.blog-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
  letter-spacing: 2px;
  animation: subtitleFade 4s ease-in-out infinite;
}

@keyframes subtitleFade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* 导航样式 - 霓虹效果 */
.nav {
  margin-bottom: 30px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 8px;
  border: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.nav-item a {
  display: block;
  padding: 14px 28px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
  border: 1px solid transparent;
}

.nav-item a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--transition-normal);
  opacity: 0;
  z-index: -1;
}

.nav-item a:hover::before,
.nav-item a.active::before {
  width: 300%;
  height: 300%;
  opacity: 0.2;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--text-primary);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.nav-item a:hover {
  animation: navPulse 0.6s ease;
}

@keyframes navPulse {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(-4px); }
}

/* 主体布局 */
.main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .main {
    grid-template-columns: 1fr;
  }
}

/* 内容区域 */
.content {
  background: transparent;
}

.articles-container {
  margin-bottom: 20px;
}

.page-title {
  font-size: 2.3rem;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--border-color);
  background: linear-gradient(135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 50%,
    var(--accent-tertiary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary));
  animation: titleLine 2s ease-in-out infinite;
}

@keyframes titleLine {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.8); opacity: 0.5; }
}

/* 文章网格 */
.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* 文章卡片 - 赛博朋克风格 */
.article-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 30px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: cardEnter 0.6s ease backwards;
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }
.article-card:nth-child(7) { animation-delay: 0.7s; }
.article-card:nth-child(8) { animation-delay: 0.8s; }
.article-card:nth-child(9) { animation-delay: 0.9s; }
.article-card:nth-child(10) { animation-delay: 1s; }

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 240, 255, 0.15),
    transparent
  );
  transition: left var(--transition-slow);
}

.article-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary)
  ) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.article-card:hover::before {
  left: 100%;
}

.article-card:hover::after {
  opacity: 1;
}

.article-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-glow-strong);
}

.article-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1;
}

.article-card:hover .article-title {
  background: linear-gradient(135deg,
    var(--accent-primary),
    var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShine 1.5s ease-in-out infinite;
}

@keyframes titleShine {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

.article-summary {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  align-items: center;
  position: relative;
  z-index: 1;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 240, 255, 0.05);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.meta-item:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.tag {
  padding: 6px 16px;
  background: linear-gradient(135deg,
    rgba(0, 240, 255, 0.1),
    rgba(255, 0, 255, 0.1));
  border: 1px solid var(--border-color);
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-primary);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.tag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.tag:hover::before {
  opacity: 1;
}

.tag:hover {
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

/* 侧边栏 - 全息面板 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-widget {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 25px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  animation: widgetEnter 0.6s ease backwards;
}

@keyframes widgetEnter {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sidebar-widget:nth-child(1) { animation-delay: 0.2s; }
.sidebar-widget:nth-child(2) { animation-delay: 0.4s; }
.sidebar-widget:nth-child(3) { animation-delay: 0.6s; }

.sidebar-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary));
  animation: widgetGlow 3s ease-in-out infinite;
}

@keyframes widgetGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.widget-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  color: var(--accent-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-tertiary);
  transition: width var(--transition-normal);
}

.sidebar-widget:hover .widget-title::after {
  width: 100%;
}

/* 搜索框 - 发光效果 */
.search-box {
  display: flex;
  gap: 10px;
}

.search-box input {
  flex: 1;
  padding: 12px 18px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.search-btn {
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: white;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.search-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-tertiary), var(--accent-secondary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.search-btn:hover::before {
  opacity: 1;
}

.search-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-strong);
}

.search-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  position: relative;
  z-index: 1;
}

/* 分类列表 */
.category-list {
  list-style: none;
}

.category-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 10px;
  transition: all var(--transition-fast);
  margin-bottom: 8px;
  border: 1px solid transparent;
}

.category-item a:hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-tertiary);
  transform: translateX(8px);
  border-color: var(--border-hover);
}

.category-count {
  background: linear-gradient(135deg,
    rgba(0, 240, 255, 0.2),
    rgba(255, 0, 255, 0.2));
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.category-item a:hover .category-count {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  transform: scale(1.1);
}

/* 标签云 */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 分页 - 赛博风格 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.pagination button {
  padding: 12px 18px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.pagination button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.pagination button:hover:not(:disabled)::before {
  opacity: 1;
}

.pagination button:hover:not(:disabled) {
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

.pagination button.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-glow-strong);
  transform: scale(1.1);
  animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
  0%, 100% {
    box-shadow: var(--shadow-glow-strong);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.8), 0 0 100px rgba(255, 0, 255, 0.4);
  }
}

.pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* 关于我页面 */
.about-container {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 40px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.about-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary));
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: white;
  box-shadow: var(--shadow-glow-strong);
  animation: avatarPulse 3s ease-in-out infinite;
  position: relative;
}

@keyframes avatarPulse {
  0%, 100% {
    box-shadow: var(--shadow-glow-strong);
  }
  50% {
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.8), 0 0 120px rgba(255, 0, 255, 0.4);
  }
}

.about-name {
  font-size: 2.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 700;
}

.about-intro {
  font-size: 1.3rem;
  color: var(--accent-tertiary);
  margin-bottom: 25px;
  font-weight: 600;
}

.about-bio {
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 35px;
  text-align: justify;
  font-size: 1.05rem;
}

.about-section {
  margin-bottom: 30px;
}

.about-section-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-item {
  padding: 10px 20px;
  background: linear-gradient(135deg,
    rgba(0, 240, 255, 0.1),
    rgba(255, 0, 255, 0.1));
  border: 2px solid var(--border-color);
  border-radius: 25px;
  color: var(--accent-tertiary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.skill-item:hover::before {
  opacity: 1;
}

.skill-item:hover {
  color: white;
  transform: translateY(-4px) scale(1.08);
  box-shadow: var(--shadow-glow);
}

.contact-list {
  list-style: none;
}

.contact-list li {
  padding: 14px 0;
  border-bottom: 2px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.contact-list li:hover {
  background: rgba(0, 240, 255, 0.05);
  padding-left: 10px;
  border-color: var(--accent-primary);
}

.contact-list a {
  color: var(--accent-tertiary);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

/* 友情链接页面 */
.links-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.link-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 30px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0, 240, 255, 0.1),
    rgba(255, 0, 255, 0.1));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.link-card:hover::before {
  opacity: 1;
}

.link-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow-strong);
}

.link-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.link-card:hover .link-name {
  color: var(--accent-tertiary);
}

.link-description {
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* 页脚 - 动态效果 */
.footer {
  text-align: center;
  padding: 35px 25px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-glow);
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary),
    var(--accent-primary));
  background-size: 300% 300%;
  animation: footerGradient 4s ease infinite;
}

@keyframes footerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .blog-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .blog-subtitle {
    font-size: 1rem;
  }

  .page-title {
    font-size: 1.7rem;
  }

  .article-title {
    font-size: 1.4rem;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-item a {
    text-align: center;
    padding: 12px 20px;
  }

  .links-container {
    grid-template-columns: 1fr;
  }

  .about-avatar {
    width: 110px;
    height: 110px;
    font-size: 2.8rem;
  }

  .about-name {
    font-size: 1.8rem;
  }
}

/* 滚动条 - 赛博风格 */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,
    var(--accent-primary),
    var(--accent-tertiary));
  border-radius: 6px;
  border: 2px solid var(--bg-secondary);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,
    var(--accent-tertiary),
    var(--accent-secondary));
  box-shadow: var(--shadow-glow);
}

/* 选中效果 - 霓虹高亮 */
::selection {
  background: rgba(0, 240, 255, 0.3);
  color: white;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* 鼠标悬停全局效果 */
*:hover {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 加载动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 文章卡片入场动画 */
.article-card {
  animation: fadeInUp 0.6s ease backwards;
}

/* 按钮点击效果 */
button:active {
  transform: scale(0.95);
}

/* 链接点击效果 */
a:active {
  transform: scale(0.98);
}

/* 无文章提示 */
.no-articles {
  text-align: center;
  padding: 80px 30px;
  color: var(--text-muted);
  font-size: 1.3rem;
  animation: fadeInUp 0.6s ease;
}
