* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: "Microsoft Yahei", sans-serif;
}

.header {
  text-align: center;
  padding: 20px 0;
}

.header h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.logo-area {
 
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.logo-area a{
  width: 100%;
  display: block;
}
.logo {
  width: 150px;
  height: auto;
  margin: 0 10px;
}

.mw-text {
  font-size: 24px;
  font-weight: bold;
  color: #ffc107;
}

.header p {
  font-size: 18px;
  color: #ffc107;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  /* padding: 20px; */
}

.game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.game-item p {
  margin-top: 5px;
  font-size: 14px;
  text-align: center;
}
.content {
      width: 900px;
      margin: 0 auto;
    }
/* 响应式调整 */
@media (max-width: 768px) {
  .content {
      width: 100%;
    }
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    padding: 10px;
  }
  .header h1 {
    font-size: 24px;
  }
  .logo {
    width: 120px;
  }
  .mw-text {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
  }
  .header h1 {
    font-size: 20px;
  }
  .logo {
    width: 100px;
  }
  .mw-text {
    font-size: 16px;
  }
  .header p {
    font-size: 14px;
  }
  .game-item p {
    font-size: 12px;
  }
}