/* ===========================================================
   开心游戏盒 Hub - Entertainment Hub 主题
   暗色 + 霓虹 + 玻璃拟态 + 实时数据 + 动态背景
   =========================================================== */

:root {
  --bg-deep: #07020f;
  --bg-mid: #0f0820;
  --bg-soft: #1a0f30;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f3ff;
  --text-dim: #a094c4;
  --text-mute: #6b5e8c;
  --brand: #f0abfc;
  --brand-2: #a855f7;
  --brand-3: #22d3ee;
  --accent-pink: #f472b6;
  --accent-yellow: #fde047;
  --accent-green: #34d399;
  --accent-red: #f87171;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }

/* ===========================================================
   背景装饰层
   =========================================================== */
.bg-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* 大色块：紫粉青大光斑 */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  animation: blob-float 18s ease-in-out infinite alternate;
}
.blob-1 {
  top: -10%; left: -5%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.7) 0%, transparent 70%);
}
.blob-2 {
  top: 30%; right: -8%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.6) 0%, transparent 70%);
  animation-delay: -6s;
}
.blob-3 {
  bottom: -10%; left: 30%;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.55) 0%, transparent 70%);
  animation-delay: -12s;
}
@keyframes blob-float {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.1); }
}

/* 网格底纹（透视感） */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

/* 星点（JS 注入） */
.bg-stars {
  position: absolute;
  inset: 0;
}
.bg-stars .star {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: star-blink ease-in-out infinite alternate;
}
.bg-stars .star.c1 { background: #f0abfc; box-shadow: 0 0 6px var(--brand); }
.bg-stars .star.c2 { background: #67e8f9; box-shadow: 0 0 6px var(--brand-3); }
.bg-stars .star.c3 { background: #fde047; box-shadow: 0 0 6px var(--accent-yellow); }
@keyframes star-blink {
  0% { opacity: 0.3; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1.3); }
}

/* ===========================================================
   顶部导航
   =========================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 2, 15, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.logo-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 12px rgba(240, 171, 252, 0.6));
  animation: logo-bob 3s ease-in-out infinite alternate;
}
@keyframes logo-bob {
  0% { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-3px) rotate(3deg); }
}
.logo-text {
  background: linear-gradient(135deg, #f0abfc 0%, #a855f7 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.5));
}

.search-box {
  flex: 1;
  max-width: 420px;
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 16px;
  font-size: 14px;
  opacity: 0.6;
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 11px 18px 11px 42px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}
.search-box input::placeholder { color: var(--text-mute); }
.search-box input:focus {
  border-color: var(--brand);
  background: var(--surface-strong);
  box-shadow: 0 0 0 3px rgba(240, 171, 252, 0.15);
}

.topbar-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.5; }
}
.live-num { color: var(--text); font-variant-numeric: tabular-nums; }
.live-label { color: var(--brand-3); }

/* 语言切换 */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  flex: 0 0 auto;
  gap: 2px;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.lang-btn:hover { color: var(--text); }
.lang-btn-active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
}
.lang-btn-active:hover { color: #ffffff; }

.category-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 14px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }

.pill {
  flex: 0 0 auto;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill:hover {
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.pill-active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 50%, var(--brand-3) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.45);
}

/* ===========================================================
   Hero 轮播
   =========================================================== */
.hero {
  position: relative;
  max-width: 1200px;
  margin: 24px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 20px 60px rgba(168, 85, 247, 0.3),
    inset 0 0 30px rgba(0, 0, 0, 0.4);
}
.hero-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #a855f7 0%, #22d3ee 50%, #f0abfc 100%);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.5;
  animation: glow-rotate 8s linear infinite;
}
@keyframes glow-rotate {
  0% { filter: blur(20px) hue-rotate(0deg); }
  100% { filter: blur(20px) hue-rotate(360deg); }
}
.hero-slides {
  position: relative;
  aspect-ratio: 21 / 8;
  min-height: 240px;
  background: var(--bg-deep);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  align-items: center;
  transform: scale(1.05);
}
.hero-slide-active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  width: 100%;
  height: 100%;
  padding: 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background:
    linear-gradient(90deg, rgba(7, 2, 15, 0.9) 0%, rgba(7, 2, 15, 0.55) 50%, rgba(7, 2, 15, 0.1) 100%),
    radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
  color: #fff;
}
.hero-eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-radius: 999px;
  align-self: flex-start;
  text-shadow: 0 0 8px rgba(240, 171, 252, 0.5);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}
.hero-title {
  margin: 0;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}
.hero-desc {
  margin: 0;
  font-size: 15px;
  opacity: 0.85;
  max-width: 460px;
  line-height: 1.6;
}
.hero-cta {
  margin-top: 14px;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 50%, var(--brand-3) 100%);
  background-size: 200% 200%;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.5);
  transition: transform 0.2s ease, background-position 0.4s ease, box-shadow 0.2s ease;
  letter-spacing: 1px;
}
.hero-cta:hover {
  transform: translateY(-2px) scale(1.04);
  background-position: 100% 0;
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.7);
}
.hero-cta:active { transform: translateY(0) scale(1); }

.hero-dots {
  position: absolute;
  bottom: 18px;
  right: 28px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.hero-dot-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  width: 26px;
  box-shadow: 0 0 12px rgba(240, 171, 252, 0.6);
}

/* ===========================================================
   实时数据条
   =========================================================== */
.stats-strip {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.stat-icon {
  font-size: 32px;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c1, #f0abfc), var(--c2, #a855f7));
  box-shadow: 0 6px 16px rgba(168, 85, 247, 0.35);
  flex: 0 0 auto;
}
.stat-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.stat-num {
  font-size: 24px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fff 0%, #d8b4fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* ===========================================================
   内容区
   =========================================================== */
.content-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.main-col { flex: 1 1 0; min-width: 0; }
.side-col {
  flex: 0 0 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fff 0%, #d8b4fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-meta {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-dim);
  font-size: 15px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

/* ---------- 游戏卡片 ---------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 171, 252, 0.4);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(168, 85, 247, 0.3);
}
.card:hover::before { opacity: 1; }

.card-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}
.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.card:hover .card-thumb { transform: scale(1.08); }

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.badge-HOT {
  background: linear-gradient(135deg, #f472b6, #ef4444);
  animation: hot-shine 2.5s ease-in-out infinite;
}
@keyframes hot-shine {
  0%, 100% { box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5), 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5), 0 0 0 6px rgba(239, 68, 68, 0); }
}
.badge-NEW {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.card-play-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.85) 0%, rgba(7, 2, 15, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
  letter-spacing: 1px;
}
.card:hover .card-play-overlay { opacity: 1; }
.play-icon {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.card-body { padding: 12px 14px 14px; }
.card-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-desc {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-tags {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--tag-color);
  background: color-mix(in srgb, var(--tag-color) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--tag-color) 35%, transparent);
  letter-spacing: 0.5px;
}
.card-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}

/* ---------- 侧边栏 ---------- */
.side-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.side-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.side-section-head .section-title { font-size: 17px; }
.side-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--accent-green);
  letter-spacing: 1px;
}
.side-tag::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
  box-shadow: 0 0 6px var(--accent-green);
  animation: live-pulse 1.4s ease-in-out infinite;
}

.hot-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, transform 0.15s ease;
  position: relative;
}
.hot-item:hover {
  background: var(--surface-strong);
  transform: translateX(4px);
}
.hot-item + .hot-item {
  border-top: 1px solid var(--border);
}
.hot-rank {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank-1 { background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%); color: #1a0a0a; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4); }
.rank-2 { background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%); color: #1a0a0a; box-shadow: 0 4px 12px rgba(148, 163, 184, 0.3); }
.rank-3 { background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%); color: #fff; box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4); }
.hot-thumb {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--bg-deep);
}
.hot-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.hot-title {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hot-heat {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}

/* 侧边栏促销卡片 */
.side-promo {
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(244, 114, 182, 0.12) 100%),
    var(--surface);
  border-color: rgba(240, 171, 252, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.side-promo::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(240, 171, 252, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
}
.promo-emoji {
  font-size: 48px;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 12px rgba(240, 171, 252, 0.4));
  animation: promo-bounce 2s ease-in-out infinite;
}
@keyframes promo-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.side-promo h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
  background: linear-gradient(135deg, #f0abfc, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.side-promo p {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.promo-btn {
  width: 100%;
  border: none;
  padding: 11px 18px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.promo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.6);
}
.promo-btn:active { transform: translateY(0); }

/* ===========================================================
   页脚
   =========================================================== */
.site-footer {
  text-align: center;
  padding: 30px 24px 50px;
  color: var(--text-dim);
  font-size: 12px;
  position: relative;
  z-index: 1;
}
.site-footer p { margin: 4px 0; }
.site-footer-sub { color: var(--text-mute); font-size: 11px; }

/* ===========================================================
   播放页（保持原样）
   =========================================================== */
.play-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-deep);
}
.play-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  color: #fff;
  flex: 0 0 auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
}
.play-toolbar button {
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.play-toolbar button:hover { background: rgba(255, 255, 255, 0.32); }
#play-title {
  flex: 1;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 1px;
}
.play-body { flex: 1 1 auto; min-height: 0; display: flex; }
.play-frame-wrap { flex: 1 1 auto; min-height: 0; min-width: 0; }
#game-frame {
  width: 100%; height: 100%;
  border: none; display: block; background: #000;
}
.play-sidebar {
  flex: 0 0 240px;
  background: rgba(15, 8, 32, 0.6);
  border-left: 1px solid var(--border);
  padding: 16px;
  overflow-y: auto;
  backdrop-filter: blur(10px);
}
.play-sidebar h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.more-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.more-item:hover { background: var(--surface-strong); }
.more-thumb {
  width: 52px; height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--bg-deep);
}
.more-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.more-title {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.more-heat {
  font-size: 11px;
  color: var(--text-dim);
}

/* ===========================================================
   响应式
   =========================================================== */
@media (max-width: 1100px) {
  .content-layout { max-width: 100%; }
}
@media (max-width: 900px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .content-layout { flex-direction: column; }
  .side-col { flex: 1 1 auto; flex-direction: row; }
  .side-section { flex: 1; }
  .topbar-inner { flex-wrap: wrap; }
  .topbar-stat { order: 3; flex-basis: 100%; justify-content: center; margin-top: 4px; }
  .search-box { max-width: none; }
}
@media (max-width: 640px) {
  .hero-overlay { padding: 0 24px; }
  .hero-title { font-size: 24px; }
  .hero-desc { display: none; }
  .hero-eyebrow { font-size: 11px; padding: 3px 10px; }
  .hero-cta { font-size: 13px; padding: 10px 22px; }
  .stat-card { padding: 14px 16px; }
  .stat-icon { width: 44px; height: 44px; font-size: 26px; }
  .stat-num { font-size: 20px; }
  .side-col { flex-direction: column; }
  .logo-text { font-size: 18px; }
}
@media (max-width: 420px) {
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
  .content-layout { padding: 20px 14px 40px; }
  .topbar-inner { padding: 12px 14px; }
  .category-nav { padding: 0 14px 12px; }
  .game-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: 14px; }
  .card-desc { display: none; }
}
