/* 全局基础样式和重置 */
* {
  box-sizing: border-box;
  /* 新增：使用 Inter 开源字体 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* 其它原有样式保持不变 */
}
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  /* 静谧蓝绿渐变背景 */
  background: linear-gradient(135deg, #0b3d46, #092e4c);
  color: #ddd;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* 页面切换淡入淡出效果 */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
/* 标题样式 */
h1 {
  font-size: 2.5em;
  margin: 0.2em;
}
h2 {
  font-size: 1.3em;
  font-weight: 300;
  margin: 0.2em;
}
/* Alist 卡片柔和光效样式 */
.card {
  display: inline-block;
  width: 80%;
  max-width: 300px;
  margin: 2em 0;
  padding: 1em 2em;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15), 0 0 30px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  text-decoration: none;
  font-size: 1.5em;
  transition: all 0.3s ease;
}
.card:hover {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), 0 0 40px rgba(255, 255, 255, 0.2);
  transform: scale(1.03);
}
/* 第二页蓝色光晕超链接样式 */
.glow-link {
  color: #eef;
  text-decoration: none;
  font-size: 1.5em;
  text-shadow: 0 0 6px rgba(0, 150, 255, 0.7), 0 0 12px rgba(0, 150, 255, 0.5);
}
.glow-link:hover {
  text-shadow: 0 0 12px rgba(0, 170, 255, 0.9), 0 0 24px rgba(0, 170, 255, 0.7);
}
/* —— 首页左右布局容器 —— */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 2em 0;
}
.title-container h1 {
  font-size: 3.5em;   /* 更大主标题 */
  margin: 0;
}
.title-container h2 {
  font-size: 1.5em;
  font-weight: 300;
  margin: 0.2em 0 0;
}
/* 卡片容器 */
.card-container {
  display: flex;
  gap: 1em;
}
/* 点击按压效果 */
.card:active {
  transform: scale(0.95);
}
/* 博客页面文章样式 */
.blog-container {
  width: 90%;
  max-width: 800px;
  margin: auto;
  padding: 2em 0;
  color: #ddd;
}
.blog-post {
  background: rgba(255,255,255,0.05);
  padding: 1.5em;
  border-radius: 10px;
}
.blog-post h3.post-date {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 0.8em;
}
.blog-post p {
  line-height: 1.8;   /* 合理行距 */
  margin: 0.8em 0;
}
.blog-post a {
  color: #4fd1c5;
  text-decoration: underline;
}