/* 通用样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑", sans-serif;
}

body {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  background-color: #f5f5f5;
  color: #333;
  padding-bottom: 60px; /* 为底部导航留出空间 */
}

/* 搜索栏样式 */
.search-bar {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.search-bar input {
  flex: 1;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}
.search-btn {
  height: 36px;
  padding: 0 20px;
  border: none;
  background-color: #00cc66;
  color: #fff;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 14px;
}
.search-btn:hover {
  background-color: #00b359;
}

/* Banner 样式 - 添加边框 */
.banner {
  width: 100%;
  border-radius: 10px; /* 让边框角变圆角，可按需调整半径大小 */
}
.banner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 标签导航样式 */
.tab-nav {
  background-color: #fff;
  margin: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
}
.tab-nav ul {
  display: flex;
  list-style: none;
}
.tab-nav li {
  padding: 10px 20px;
  margin-right: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  border-bottom: 2px solid transparent;
}
.tab-nav li.active {
  color: #00cc66;
  border-bottom: 2px solid #00cc66;
}

/* 游戏列表样式 - 修改为竖向排列 */
.game-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 20px;
}
.game-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
}
.game-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  margin-right: 15px;
}
.game-info {
  flex: 1;
  margin-bottom: 0;
}
.game-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #333;
}
.game-info p {
  font-size: 14px;
  color: #999;
}
.start-btn {
  background-color: #00cc66;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  align-self: center;
  white-space: nowrap;
}
.start-btn:hover {
  background-color: #00b359;
}

/* 底部导航样式 */
.bottom-nav {
	max-width: 720px;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -1px 2px rgba(0,0,0,0.1);
}
.bottom-nav ul {
  display: flex;
  list-style: none;
  justify-content: space-around;
}
.bottom-nav li {
  padding: 12px 0;
  cursor: pointer;
  text-align: center;
  width: 25%;
}
.bottom-nav li span {
  font-size: 12px;
  color: #999;
}
.bottom-nav li.active span {
  color: #00cc66;
  font-weight: bold;
}