/* 全屏固定背景 */
#header {
  height: 100vh !important;
  min-height: 100vh !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#header img {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -2 !important;
  -webkit-mask: none !important;
  mask: none !important;
  object-fit: cover !important;
  transition: filter 0.3s ease !important;
}

#header::after {
  display: none !important;
}

/* 标题区域 */
#header-outer {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

#header-title {
  position: relative !important;
  font-weight: 700 !important;
  text-align: center !important;
  top: auto !important;
  margin: 0 !important;
  width: 100% !important;
  opacity: 1 !important;
  filter: none !important;
  will-change: auto !important;
  animation: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#logo {
  text-decoration: none !important;
  color: #fff !important;
  text-align: center !important;
  display: block !important;
  transform: none !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
  width: 100% !important;
}

#logo h1 {
  font-size: 64px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

#subtitle-wrap {
  margin-top: 20px !important;
  text-align: center !important;
  width: 100% !important;
}

#subtitle {
  font-size: 24px !important;
  font-weight: 400 !important;
  letter-spacing: 4px !important;
  white-space: nowrap !important;
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.2) !important;
  width: auto !important;
  margin: 0 auto !important;
  display: inline !important;
}

html {
  scroll-behavior: smooth !important;
}

#content {
  position: relative !important;
  z-index: 1 !important;
}

/* 文章卡片阴影 */
.post-wrap {
  box-shadow: 0 6px 30px rgba(60, 20, 120, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

.post-wrap:hover {
  box-shadow: 0 12px 50px rgba(60, 20, 120, 0.45), 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-3px) !important;
}

/* 文章滑入动画 */
.post-article {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.post-article.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.post-wrapper:nth-child(1) .post-article { transition-delay: 0.1s; }
.post-wrapper:nth-child(2) .post-article { transition-delay: 0.2s; }
.post-wrapper:nth-child(3) .post-article { transition-delay: 0.3s; }
.post-wrapper:nth-child(4) .post-article { transition-delay: 0.4s; }
.post-wrapper:nth-child(5) .post-article { transition-delay: 0.5s; }
.post-wrapper:nth-child(6) .post-article { transition-delay: 0.6s; }
.post-wrapper:nth-child(7) .post-article { transition-delay: 0.7s; }
.post-wrapper:nth-child(8) .post-article { transition-delay: 0.8s; }

.post-categories-wrapper {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.post-categories-wrapper.animate-in {
  opacity: 1;
  transform: translateY(0);
}

#page-nav {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out 0.8s, transform 0.6s ease-out 0.8s;
}

#page-nav.animate-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  #logo h1 { font-size: 40px !important; }
  #subtitle { font-size: 18px !important; letter-spacing: 2px !important; }
  #header { height: 80vh !important; min-height: 80vh !important; }
  .post-article { transform: translateY(40px); }
}

/* 文章大框（日期+正文）悬浮+阴影动画 */
.article-inner {
  box-shadow: 0 4px 20px rgba(60, 20, 120, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease !important;
  border-radius: 8px !important;
}

.article-inner:hover {
  box-shadow: 0 12px 40px rgba(60, 20, 120, 0.35), 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-3px) !important;
}
