/* escape's Blog - 全屏背景 + 毛玻璃效果 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  color: #fff;
  min-height: 100vh;
  background: url('background.jpg') center/cover no-repeat fixed;
  background-attachment: fixed;
}

/* 背景遮罩 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* 毛玻璃卡片 */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 20px;
}

/* 导航 */
.nav-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.25);
}

/* 主内容 */
.main-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* 头部 */
.hero-card {
  text-align: center;
  padding: 48px;
  margin-bottom: 40px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  object-fit: cover;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.8;
}

/* 文章卡片 */
.article-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.article-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
}

.article-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.article-title a {
  color: #fff;
  text-decoration: none;
}

.article-title a:hover {
  text-decoration: underline;
}

.article-meta {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 12px;
}

.article-excerpt {
  font-size: 15px;
  opacity: 0.8;
}

/* 标签 */
.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  margin-right: 8px;
}

/* 关于页 */
.about-card {
  text-align: center;
  padding: 48px;
}

.about-text {
  font-size: 16px;
  opacity: 0.85;
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* 页脚 */
.site-footer {
  text-align: center;
  padding: 40px 24px;
  opacity: 0.6;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

/* 响应式 */
@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }
  
  .avatar {
    width: 90px;
    height: 90px;
  }
  
  .nav-inner {
    gap: 8px;
    padding: 12px 16px;
  }
  
  .nav-link {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .glass-card, .article-card, .about-card {
    padding: 24px;
  }
}
