/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 轮播动画 */
.carousel-slide {
  transition: opacity 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 图片悬停效果 */
.screenshot-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* 导航栏圆角 */
#navbar nav {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* 轮播按钮样式增强 */
.carousel-btn {
  cursor: pointer;
  z-index: 20; /* 确保按钮在最上层 */
}

/* 自定义字体 */
@font-face {
  font-family: 'Earth';
  src: url('/fonts/earth.woff') format('woff'),
       url('/fonts/earth.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* 支付方式文字显示优化 */
.payment-label span {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  letter-spacing: 0.025em;
}