/* 小绿点动画增强 */
/* ────────────────────────────────────────────────────────────── */

/* 文章标题前的绿色点缀 - 增强动画效果 */
.post-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  align-self: center;
  position: relative;
  /* 添加发光效果 */
  box-shadow: 0 0 10px var(--green);
  /* 默认轻微呼吸动画 */
  animation: pulse-gentle 2.5s ease-in-out infinite;
}

/* 动态脉冲效果 - 扩散圈 */
.post-title::before::after {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  border-radius: 50%;
  border: 2.5px solid var(--green);
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  100% {
    transform: scale(3.0);
    opacity: 0;
  }
}

/* hover时小绿点动画：快速呼吸效果 */
.post:hover .post-title::before {
  animation: pulse-dot 0.7s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 10px var(--green);
  }
  50% {
    transform: scale(1.6);
    opacity: 0.8;
    box-shadow: 0 0 20px var(--green);
  }
}

/* 默认状态小绿点轻微呼吸效果 */
@keyframes pulse-gentle {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}
