/* 非关键CSS，延迟加载 */

/* 高级动画效果 */
@keyframes cardFlip {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(180deg); }
}

/* 卡片悬停效果 */
.hover-card-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* 自定义链接下划线动画 */
.custom-link {
  position: relative;
}

.custom-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width 0.3s ease;
}

.custom-link:hover::after {
  width: 100%;
}

/* 高级按钮效果 */
.btn-3d {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-3d::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn-3d:hover::before {
  height: 100%;
}

/* 页面淡入效果 */
.page-enter {
  opacity: 0;
  animation: pageEnter 0.5s forwards;
}

@keyframes pageEnter {
  to { opacity: 1; }
}

/* 打印优化 */
@media print {
  body {
    background: white !important;
    color: black !important;
  }
  
  .no-print {
    display: none !important;
  }
} 