@charset "utf-8";

/*
================================================
* 通用部分 *           
================================================
*/

:root {
  --primary-color: #FF9800;       /* 主色调，琥珀色 */
  --secondary-color: #FFB74D;     /* 辅助色，浅琥珀色 */
  --accent-color: #FFC107;        /* 强调色，金色 */
  --dark-bg: #c24e10;            /* 深色背景、页脚背景色，深橙色 */

  --nav-link-hover-color: rgba(255, 152, 0, 0.1);     /* 导航栏链接悬停颜色 */

  --title-link-color: #F57C00;  /* 作品名称链接颜色，橙色 */
  --title-link-hover-color: #FF9800;  /* 作品名称链接悬停颜色 */

  --footer-title-color: #FFF8E1;  /* 页脚标题颜色，浅黄色 */
  --footer-link-color: #FFECB3;  /* 页脚链接颜色，浅琥珀色 */

  --return-top-color: rgba(255, 152, 0, 0.6);  /* 返回顶部按钮颜色 */
  --return-top-color-hover: rgba(255, 152, 0, 0.8);  /* 返回顶部按钮颜色 */

  --light-bg: rgba(255,255,255,0.9); /* 玻璃拟物化背景 */
}

body {
  background-color: #FFF8E1;      /* 更浅的背景色提升对比度，带有淡黄色调 */
  margin-top: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; /* 现代字体栈 */
}

/* 强调文字 */
.text-accent {
  color: var(--accent-color);
}
/* 次强调文字 */
.text-accent-secondary {
  color: var(--primary-color);
}


/*
================================================
* header *           
================================================
*/

.header-top {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--dark-bg) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0 30px;
  z-index: 1; /* 确保在导航栏上方 */
}

.header-btn {
  color: var(--primary-color);
  background: var(--footer-title-color);
}


/*
================================================
* 导航栏 - 现代半透明效果 *           
================================================
*/

.navbar-brand img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.navbar-custom {
  background: rgba(255,255,255,1);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 0.5rem;
  margin: -30px 1rem 0;
  position: relative;
  z-index: 3;
}

.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-custom .navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-custom .nav-link {
  font-size: 16px;
  color: var(--dark-bg) !important;
  font-weight: 500;
  padding: 0.4rem 2rem;
  margin: 0.2rem 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
}

.navbar-custom .nav-link:hover {
  background: var(--nav-link-hover-color);
  transform: translateY(-2px);
}

.nav-item.active .nav-link {
  background: #FFF8E1;
}


/*
================================================
* 页面标题及标签 *           
================================================
*/

/* 标题容器 */
.section-header {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  border: 1px solid rgba(255,255,255,0.2);
}

/* 标题内容器：同时包含标题下面的渐变横线 */
.section-title-wrapper {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--primary-color), transparent) 1;
}

/* 标题 */
.section-title {
  background: linear-gradient(45deg, var(--dark-bg), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  color: transparent;  /* 文字透明，应用背景色 */  
}

/* 添加文字阴影增强可读性 */
.section-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: transparent;
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  z-index: -1;
  filter: blur(2px);
}

/* 标题下面的介绍文字 */
.section-title-secondary {
  font-size: 0.9rem;
  color: #666;
}


/* 标题下面的标签云容器 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* 标签云 */
.tag-pill {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--footer-title-color) !important;
  color: var(--primary-color);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--footer-title-color) !important;
  text-decoration: none;
}

.tag-pill:hover {
  color: var(--footer-title-color);
  background: var(--secondary-color) !important;
  box-shadow: 0 3px 8px rgba(255, 152, 0, 0.2);
}


/*
================================================
* 文章列表 - 现代卡片设计 *           
================================================
*/

.art-list {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(8px);
}

.art-list:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(255, 152, 0, 0.08);
  border-color: rgba(255, 152, 0, 0.1);
}

.art-list .title {
  margin-bottom: 10px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}
.art-list .title h5 {
  font-size: 18px;
  font-weight: 500;
}
.art-list .title a {
  color: var(--title-link-color);
}
.art-list .title a:hover {
  color: var(--title-link-hover-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.art-list .content {
  margin-top: 10px;
  color: #666;
}

.artimg {
  width: 80px;
  max-width: 80px;
  margin-right: 20px;
  margin-left: 0;
  flex-shrink: 0;
}
.artimg img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover; /* 确保图片正确缩放 */
  transition: transform 0.3s ease;
}

.artimg img:hover {
  transform: scale(1.05);
}


/*
================================================
* 非列表页面内容 *           
================================================
*/

/* 信息卡片 */
.info-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--light-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 152, 0, 0.05);
}

.info-card:hover {
  box-shadow: 0 8px 16px rgba(255, 152, 0, 0.1);
  transform: translateY(-3px);
}

.info-row {
  display: flex;
  align-items: baseline;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.info-row:hover {
  background: rgba(255, 152, 0, 0.05);
}

.info-label {
  flex: 0 0 120px;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.95rem;
}

.info-content {
  flex: 1;
  color: rgba(102, 60, 0, 0.9);
  font-weight: 400;
}

/* 图标样式 */
.bi-geo-alt {
  color: var(--accent-color);
  font-size: 1.1rem;
}

/* 装饰动画 */
.decorative-line {
  height: 3px;
  width: 50px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  margin: 0.5rem 0;
  transition: width 0.3s ease;
}

.title-wrapper:hover .decorative-line {
  width: 100px;
}


/*
================================================
* 侧边栏 - 玻璃拟物化效果 *           
================================================
*/

.space-side {
  background: var(--light-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.space-side:hover {
  box-shadow: 0 12px 32px rgba(255, 152, 0, 0.1);
  transform: translateY(-2px);
}


/*
================================================
* 页脚 *           
================================================
*/

#section-footer {
  background: var(--dark-bg);
}

#section-footer .ft-column h4 {
  color: var(--footer-title-color);
}

#section-footer .ft-column p {
  color: var(--footer-link-color);
}

#section-footer .ft-column a {
  color: var(--footer-link-color);
}

#section-footer .copyright {
  background: rgba(0,0,0,0.2);
}

#section-footer .copyright p {
  color: rgba(255,255,255,0.6);
}


/*
================================================
* 其他 *           
================================================
*/


/* 关注按钮 */
.tag-interest {
  font-size: 13px !important;
  color: #fff;
  background: var(--primary-color);
  border-radius: 8px;
  padding: 6px 30px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.tag-interest:hover {
  background: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
  transform: translateY(-2px);
}

.tag-interest:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 152, 0, 0.2);
}

.tag-has-interested {
  color: #fff;
	background: var(--footer-link-color);
  padding: 5px 10px;
}


/*返回顶部按钮、分享页面按钮*/
.ReturnTop,
.ShareButton {
	padding: 10px 20px;
	color: #fff;
	text-align: center;
	position: fixed;
	right: 20px;
	bottom: 20px;
	cursor: pointer;
	font-size: 14px;
	border-radius: 10px !important;
	background: var(--return-top-color) none repeat scroll 0 0 !important; /*半透明*/
	filter: Alpha(opacity=40);   /*针对IE的半透部*/
	display: none;
	transition: background 0.3s ease, transform 0.3s ease;
}
.ReturnTop:hover,
.ShareButton:hover {
	background: var(--return-top-color-hover) none repeat scroll 0 0 !important; /*半透明*/
	filter: Alpha(opacity=80);   /*针对IE的半透部*/
	transform: translateY(-3px);
}