/* 技术页面专用样式 */
.tech-page {
  min-height: 100vh;
  background-color: #fdfaf2;
  font-family: 'ZCOOL KuaiLe', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #333;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* 图标样式 */
.tech-icon {
  vertical-align: middle;
  margin-right: 0.5rem;
  transform: translateY(-2px);
}

.rotating-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #fff9e6, #fff5d6, #fff0c6);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  z-index: -1;
  opacity: 0.8;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.tech-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.tech-back {
  position: fixed;
  top: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  color: #333;
  text-decoration: none;
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.tech-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 2rem;
}

.tech-header__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-header__description {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* 导航样式 */
.tech-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tech-nav__item {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tech-nav__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-nav__item.active {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
}

/* 网格布局 */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

/* 卡片样式 */
.tech-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.tech-card__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.tech-card__description {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.tech-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border-radius: 9999px;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(37, 99, 235, 0.2);
  transform: translateY(-1px);
}

.tech-comments {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-comments__title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #1a1a1a;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-container {
    padding: 1rem;
  }

  .tech-back {
    top: 1rem;
    left: 1rem;
  }

  .tech-header__title {
    font-size: 2rem;
  }

  .tech-nav {
    gap: 0.5rem;
  }

  .tech-nav__item {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
} 