.techstack-section {
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.15s both;
  padding: 24px;
  border: 2px solid rgba(82, 183, 136, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(82, 183, 136, 0.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  font-size: 36px;
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.techstack-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tech-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  align-items: center;
  justify-items: center;
}

.tech-item {
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.tech-item a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-decoration: none;
}

.tech-item img {
  height: 32px;
  max-width: 100%;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  object-fit: contain;
}

.tech-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(82, 183, 136, 0.2);
}

.tech-item:hover img {
  filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* 响应式设计 */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
  
  .techstack-container {
    padding: 20px;
  }
  
  .tech-items {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
  }
  
  .tech-item img {
    height: 28px;
  }
}
