:root {
  --theme-color: #ff7db8 !important;
}

/* 背景和整体氛围 */
body {
  background-attachment: fixed;
}

/* 导航栏半透明毛玻璃 */
#nav {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.12) !important;
}

#page-header.nav-fixed #nav {
  background: rgba(255, 255, 255, 0.82) !important;
}

[data-theme="dark"] #nav,
[data-theme="dark"] #page-header.nav-fixed #nav {
  background: rgba(12, 15, 35, 0.68) !important;
}

/* 卡片圆润 + 阴影 */
#aside-content .card-widget,
div#post,
div#page,
div#archive {
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(123, 73, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* 首页文章卡片动效 */
#recent-posts > .recent-post-item {
  border-radius: 16px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

#recent-posts > .recent-post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(255, 125, 184, 0.24);
}

/* 标题渐变 */
#site-name,
#site-title {
  background: linear-gradient(90deg, #ffb3df, #ffffff, #aee7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 选中文本效果 */
*::selection {
  background: rgba(255, 125, 184, 0.35);
  color: #3a2448;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 12px;
  background: linear-gradient(180deg, #ff8fc8, #9ad9ff);
}

/* 页脚小氛围 */
#footer {
  background: linear-gradient(120deg, rgba(59, 34, 95, 0.85), rgba(48, 86, 124, 0.85));
}

/* APlayer 微调 */
.aplayer.aplayer-fixed {
  z-index: 9998 !important;
}
.aplayer .aplayer-info .aplayer-music .aplayer-title {
  color: #ff7db8;
}

