body {
  margin: 0;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background: #f5f5f5;
  color: #222;
}
.container {
  width: 1200px;
  margin: 0 auto;
}
.navbar {
  background: #222;
  color: #fff;
  height: 60px;
  line-height: 60px;
}
.logo {
  float: left;
  font-size: 24px;
  font-weight: bold;
  margin-right: 40px;
}
.navbar nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  float: left;
}
.navbar nav ul li {
  display: inline-block;
  margin-right: 30px;
}
.navbar nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}
.user-actions {
  float: right;
}
.login-btn, .register-btn {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 16px;
}
.banner {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #000;
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.banner-arrow:hover {
  background: rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.8);
}
.banner-arrow-left {
  left: 20px;
}
.banner-arrow-right {
  right: 20px;
}
.banner-slide {
  position: absolute;
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.banner-slide.active {
  opacity: 1;
  z-index: 1;
}
.banner-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
  background: rgba(0,0,0,0.3);
  padding: 10px 16px;
  border-radius: 20px;
}
.banner-controls .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.banner-controls .dot:hover {
  background: rgba(255,255,255,0.8);
}
.banner-controls .dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}
.games {
  background: #fff;
  padding: 40px 0;
}
.games h2 {
  font-size: 28px;
  margin-bottom: 30px;
}
.game-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.game-card {
  flex: 0 0 calc((100% - 60px) / 3);
  box-sizing: border-box;
  margin-bottom: 30px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.game-card img {
  width: 100%;
  border-radius: 8px;
}
.news {
  background: #f5f5f5;
  padding: 40px 0;
}
.news h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
.news-list {
  list-style: none;
  padding: 0;
}
.news-list li {
  margin-bottom: 12px;
  font-size: 16px;
}
.news-list li span {
  color: #888;
  margin-left: 16px;
  font-size: 14px;
}
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
  margin-top: 40px;
}
.footer a {
  color: #ff6600;
  text-decoration: none;
  margin: 0 8px;
}
