/* ============================================
   iFolo Logo 通用样式
   可用于导航栏和页脚
   ============================================ */
.ifolo-logo {
  font-family: 'Quicksand', 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: -0.5px;
}

.ifolo-logo .logo-i {
  color: var(--theme);
}

.ifolo-logo .logo-folo {
  color: var(--text);
}

/* 动态 Liquid Flow Logo 图标 */
.ifolo-logo .logo-icon-right {
  position: relative;
  width: 24px;
  height: 20px;
  display: grid;
  grid-template-columns: 6px 1fr;
  grid-template-rows: 5px 5px 5px;
  gap: 3px;
  flex-shrink: 0;
  margin-left: 8px;
  margin-top: 4px;
}

.ifolo-logo .logo-el {
  background: var(--theme);
  transition: all 0.3s ease;
}

/* 第一行：左圆点 */
.ifolo-logo .logo-dot-1 {
  grid-column: 1;
  grid-row: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  align-self: center;
  animation: logoDotPulse 3s ease-in-out infinite;
}


/* 第一行：右长条 */
.ifolo-logo .logo-bar-1 {
  grid-column: 2;
  grid-row: 1;
  width: 16px;
  height: 5px;
  border-radius: 3px;
  align-self: center;
  animation: logoBarFlow 2.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

/* 第二行：长条 */
.ifolo-logo .logo-bar-2 {
  grid-column: 1 / 3;
  grid-row: 2;
  width: 18px;
  height: 5px;
  border-radius: 3px;
  animation: logoBarFlow 2.5s ease-in-out infinite;
  animation-delay: 0.6s;
}

/* 第三行：圆点 */
.ifolo-logo .logo-dot-2 {
  grid-column: 1 / 3;
  grid-row: 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  justify-self: start;
  margin-left: 8px;
  animation: logoDotPulse 3s ease-in-out infinite;
  animation-delay: 0.9s;
}

/* Hover 效果 */
.ifolo-logo:hover .logo-el {
  filter: brightness(1.15);
  box-shadow: 0 0 12px rgba(105, 207, 61, 0.6);
}

[data-theme="light"] .ifolo-logo:hover .logo-el {
  filter: brightness(1.1);
  box-shadow: 0 2px 16px rgba(105, 207, 61, 0.4), 0 0 8px rgba(105, 207, 61, 0.3);
}