/* 多维创作空间 - 深度优化 */
.neuro-creations {
  padding: 4rem 0;
  border-radius: 12px;
  position: relative;
  background: var(--bg-light);
  transition: background 0.4s ease;
}

.dark-mode .neuro-creations {
  background: linear-gradient(45deg, var(--bg-dark) 30%, rgba(40, 40, 40, 0.9));
}

/* 神经网格布局 */
.neuro-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 2rem;
}

.section-title {
  margin-left: 26px;
}

/* 卡片通用样式增强 */
[class*="-card"] {
  position: relative;
  border-radius: 18px;
  padding: 2rem;
  background: var(--card-bg-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.dark-mode [class*="-card"] {
  background: var(--card-bg-dark);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 卡片悬停交互 */
[class*="-card"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.dark-mode [class*="-card"]:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* 神经元卡片特效 */
.neuron-card .synapse-effect {
  position: absolute;
  width: 100%;
  /* height: 100%; */
  background: radial-gradient(
    circle at 50% 0%,
    rgba(107, 144, 128, 0.15),
    transparent 60%
  );
  animation: synapse-pulse 3s infinite;
}

@keyframes synapse-pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

/* 连接点动画 */
.connection-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--secondary);
  border-radius: 50%;
  animation: connection-blink 1.5s infinite var(--delay);
}

@keyframes connection-blink {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

.dark-mode .connection-dot {
  box-shadow: 0 0 8px rgba(107, 144, 128, 0.5);
}

/* 人格棱镜特效 */
.spectrum-fill {
  height: 6px;
  background: hsl(var(--hue), 70%, 50%);
  transition: width 0.5s ease;
}

.dark-mode .spectrum-fill {
  background: hsl(var(--hue), 70%, 65%);
  box-shadow: 0 0 8px hsla(var(--hue), 70%, 50%, 0.3);
}

/* 智慧树生长动画 */
.growth-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 1rem auto;
}

.ring {
  position: absolute;
  border: 3px solid var(--secondary);
  border-radius: 50%;
  width: calc(var(--growth) * 100%);
  height: calc(var(--growth) * 100%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 2s infinite;
}

@keyframes ring-pulse {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}

/* 技术标签样式 */
.tech-tags span {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(107, 144, 128, 0.15);
  border-radius: 20px;
  font-size: 0.9em;
  margin: 4px;
  transition: all 0.3s ease;
}

.dark-mode .tech-tags span {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-dark);
}

/* 全息投影效果 */
.hologram-effect {
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(
    45deg,
    rgba(107, 144, 128, 0.1),
    rgba(255, 255, 255, 0.05),
    rgba(107, 144, 128, 0.1)
  );
  animation: hologram 6s infinite linear;
  opacity: 0;
  transition: opacity 0.3s ease;
}

[class*="-card"]:hover .hologram-effect {
  opacity: 0.5;
}

@keyframes hologram {
  0% {
    transform: translate(-25%, -25%) rotate(0deg);
  }
  100% {
    transform: translate(-25%, -25%) rotate(360deg);
  }
}

/* 响应式优化 */
@media (max-width: 768px) {
  .neuro-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  [class*="-card"] {
    padding: 1.5rem;
  }

  .growth-ring {
    width: 90px;
    height: 90px;
  }
}

.card-content a {
  text-decoration: none;
  color: inherit;
}

.card-content a:hover {
  color: #7aa7e5;
}
