/* 自定义样式 */

/* 游戏卡片悬停效果 */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

/* iframe全屏模式 */
.fullscreen-iframe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

/* 关键词强调 */
.keyword-highlight {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #10b981;
  text-decoration-thickness: 2px;
}

/* 页面平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 游戏标签 */
.game-tag {
  background-color: rgba(5, 150, 105, 0.8);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

/* 响应式优化 */
@media (max-width: 640px) {
  .text-5xl {
    font-size: 2.25rem;
  }
  
  .text-4xl {
    font-size: 1.875rem;
  }
  
  .py-20 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  /* 改进游戏卡片在小屏幕上的显示 */
  .game-card {
    margin-bottom: 1.5rem;
  }
  
  .game-card-image {
    height: 200px !important;
  }
  
  /* 优化页面间距 */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  /* 优化导航菜单 */
  header .flex {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
}

/* 平板设备响应式调整 */
@media (min-width: 641px) and (max-width: 768px) {
  .text-5xl {
    font-size: 2.5rem;
  }
  
  .py-20 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  /* 优化游戏卡片在平板上的显示 */
  .game-card-image {
    height: 220px !important;
  }
}

/* 确保页脚在小屏幕上正确显示 */
@media (max-width: 768px) {
  footer {
    padding: 2rem 1rem;
  }
  
  footer h3 {
    font-size: 1.5rem;
  }
} 