body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

.game-card {
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-card img {
  transition: transform 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.05);
}

.btn-start {
  background-color: #ff6b6b;
  color: white;
  transition: all 0.3s ease;
}

.btn-start:hover {
  background-color: #ff5252;
  transform: scale(1.05);
}

.btn-more {
  background-color: #4ecdc4;
  color: white;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: #45b7aa;
  transform: scale(1.05);
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff6b6b;
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

.ranking-item {
  transition: all 0.3s ease;
}

.ranking-item:hover {
  background-color: #f1f1f1;
  transform: translateX(5px);
}

.ranking-number {
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranking-number.top3 {
  background-color: #ffd700;
  color: #333;
}

.ranking-number.normal {
  background-color: #e0e0e0;
  color: #666;
}

.news-item {
  transition: all 0.3s ease;
}

.news-item:hover {
  background-color: #f1f1f1;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.image-container {
  overflow: hidden;
  position: relative;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .image-overlay {
  opacity: 1;
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .menu-toggle {
    cursor: pointer;
  }

  .menu-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .menu-content.active {
    display: block;
  }
}

/* 加载动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.swiper {
  width: 100%;
  height: 100%;
  --swiper-theme-color: #ff6600;
  --swiper-pagination-color: #ff6b6b;
  /* 两种都可以 */
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}