* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #2c3e50 0%, #1a252f 60%, #141c24 100%);
  color: #eceff1; min-height: 100vh;
}
a { text-decoration: none; color: inherit; }

/* Header */
.hub-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.hub-brand { display: flex; align-items: center; gap: 14px; }
.hub-logo { font-size: 40px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.hub-header h1 { margin: 0; font-size: 26px; letter-spacing: 2px; }
.hub-sub { margin: 2px 0 0; font-size: 13px; color: #9fb3c8; }
.hub-count { font-size: 13px; color: #9fb3c8; background: rgba(255,255,255,.06); padding: 6px 12px; border-radius: 20px; }

/* Main */
.hub-main { max-width: 1080px; margin: 0 auto; padding: 28px 24px 60px; }
.hub-section h2 { font-size: 18px; margin: 6px 0 4px; }
.hub-tip { font-size: 13px; color: #9fb3c8; margin: 0 0 20px; }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

.game-card {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #222d38; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid rgba(255,255,255,.07);
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.game-card.soon { cursor: not-allowed; opacity: .55; }
.game-card.soon:hover { transform: none; box-shadow: none; }

.gc-banner { height: 92px; display: flex; align-items: flex-end; padding: 14px; position: relative; }
.gc-banner .gc-emoji { font-size: 42px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); }
.gc-banner .gc-status {
  position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; background: rgba(0,0,0,.35); color: #fff;
}
.gc-status.soon { background: rgba(255,255,255,.18); }

.gc-body { padding: 14px 16px 18px; }
.gc-name { font-size: 18px; font-weight: 700; margin: 0; }
.gc-en { font-size: 12px; color: #9fb3c8; margin: 2px 0 8px; }
.gc-desc { font-size: 13px; color: #c4d0dc; line-height: 1.5; min-height: 38px; }
.gc-meta { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
.gc-tag { font-size: 11px; background: rgba(255,255,255,.08); padding: 3px 9px; border-radius: 12px; color: #d7e2ec; }
.gc-players { font-size: 11px; color: #ffd54a; }
/* 最高分 / 全站最高分 / 排行榜入口 */
.gc-best { font-size: 11px; color: #ffd54a; }
.gc-rank { font-size: 11px; color: #8fd3a3; }
.gc-rank:empty { display: none; }
.gc-rank-btn {
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #d7e2ec;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  font-family: inherit;
}
.gc-rank-btn:hover { background: rgba(255,255,255,.16); }
.gc-rank-btn:active { transform: scale(.94); }

.hub-footer { text-align: center; font-size: 12px; color: #6f8294; padding: 18px; }

/* ---------- 街机小游戏区入口 ---------- */
.hub-section-arcade { margin-top: 40px; }

.arcade-entry {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; border-radius: 16px;
  background: linear-gradient(120deg, #2b3646 0%, #232d3a 100%);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.arcade-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  border-color: rgba(140,120,255,.45);
}
.ae-emoji { font-size: 42px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.4)); }
.ae-text { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ae-text b { font-size: 17px; letter-spacing: .5px; }
.ae-text em { font-style: normal; font-size: 13px; color: #9fb3c8; }
.ae-go { font-size: 22px; color: #8f7bff; flex: 0 0 auto; }

@media (max-width: 560px) {
  .arcade-entry { padding: 18px; gap: 14px; }
  .ae-emoji { font-size: 34px; }
  .ae-text b { font-size: 15px; }
  .ae-text em { font-size: 12px; line-height: 1.5; }
}
