* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0e1020;
  color: #e8eaf2;
  line-height: 1.6;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  background: rgba(20, 22, 45, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.logo { font-size: 24px; }
.nav a { color: #aab0d0; text-decoration: none; margin-left: 22px; font-size: 15px; }
.nav a:hover { color: #fff; }

.hero { text-align: center; padding: 80px 20px 50px; }
.hero h1 {
  font-size: 42px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #7c5cff, #23d5ab);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { color: #aab0d0; font-size: 18px; }

.games { max-width: 1000px; margin: 0 auto; padding: 30px 20px; }
.games h2, .about h2 { font-size: 26px; margin-bottom: 20px; }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.game-card {
  background: #171a33;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, border-color .2s;
  display: block;
}
.game-card:hover { transform: translateY(-4px); border-color: #7c5cff; }
.game-card.disabled { opacity: .55; cursor: not-allowed; }
.thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 2px;
}
.thumb-2048 { background: linear-gradient(135deg, #edc22e, #f2b179); color: #3a2c00; }
.thumb-xq { background: linear-gradient(135deg, #caa15a, #8a5a2b); color: #fff; }
.thumb-soon { background: #20233f; color: #5b6090; }
.card-body { padding: 16px 18px; }
.card-body h3 { font-size: 19px; margin-bottom: 6px; }
.card-body p { color: #aab0d0; font-size: 14px; min-height: 40px; }
.tag { display: inline-block; margin-top: 10px; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.tag-live { background: rgba(35, 213, 171, .15); color: #23d5ab; }
.tag-soon { background: rgba(255, 255, 255, .07); color: #9aa0c0; }

.about { max-width: 1000px; margin: 0 auto; padding: 20px 20px 50px; color: #c7cbe6; }

.site-footer {
  text-align: center;
  padding: 28px;
  color: #6b7099;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}
