/* 主页专属微调（基础组件在 base.css） */
.hero { position: relative; }
.hero::after {
  content: ""; position: absolute; right: -40px; top: 0; width: 320px; height: 220px;
  background: radial-gradient(circle at 70% 30%, rgba(233,69,96,.22), transparent 65%);
  filter: blur(30px); pointer-events: none;
}
.stage .panel + .panel { margin-top: 0; }
.panel-body > *:last-child { margin-bottom: 0; }

/* ---------- 合作平台推广卡 ---------- */
.promo-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(139, 123, 255, .34);
  background: linear-gradient(135deg, rgba(139,123,255,.16), rgba(233,69,96,.10) 55%, rgba(0,217,255,.08));
  padding: 26px 24px;
}
.promo-glow {
  position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; pointer-events: none;
  background: radial-gradient(circle, rgba(139,123,255,.35), transparent 68%); filter: blur(24px);
}
.promo-body { position: relative; max-width: 660px; }
.promo-tag {
  display: inline-block; font-size: 11px; letter-spacing: .18em; color: var(--violet);
  border: 1px solid rgba(139,123,255,.42); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px;
}
.promo-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: #fff; }
.promo-desc { margin: 0 0 16px; color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.promo-code { color: var(--gold); letter-spacing: .06em; }
.promo-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.promo-note { margin: 0; font-size: 12px; color: var(--text-mute); line-height: 1.6; }
@media (max-width: 620px) {
  .promo-card { padding: 20px 16px; }
  .promo-title { font-size: 17px; }
}

/* ---------- 娱乐城：真实游戏墙 ---------- */
.casino-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.casino-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text-dim);
  border-radius: 999px; padding: 5px 12px; font-size: 12px; cursor: pointer; transition: .18s;
}
.chip:hover { color: var(--cyan); border-color: var(--cyan); }
.chip.is-on { background: rgba(0,217,255,.14); border-color: rgba(0,217,255,.5); color: #fff; }
.casino-tools { display: flex; gap: 8px; }
.casino-search, .casino-select {
  background: rgba(9,17,32,.9); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 7px 11px; font-size: 13px; font-family: var(--font); outline: none;
}
.casino-search { width: 190px; }
.casino-search:focus, .casino-select:focus { border-color: var(--cyan); }
.casino-select { max-width: 200px; }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.game-card {
  position: relative; display: block; padding: 0; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(15,26,46,.6); cursor: pointer; overflow: hidden; text-align: left; transition: .18s;
}
.game-card:hover { transform: translateY(-2px); border-color: rgba(0,217,255,.55); box-shadow: 0 12px 26px rgba(0,0,0,.4); }
.gc-thumb { display: block; aspect-ratio: 16/10; background: linear-gradient(140deg, #12203a, #0a1120); overflow: hidden; }
.gc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gc-meta { display: block; padding: 8px 9px 10px; }
.gc-meta b { display: block; font-size: 12.5px; color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-meta small { display: block; font-size: 11px; color: var(--text-mute); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-badge {
  position: absolute; top: 6px; left: 6px; font-size: 10px; padding: 2px 7px; border-radius: 999px;
  background: rgba(4,7,15,.78); color: var(--cyan); border: 1px solid rgba(0,217,255,.35);
}
.game-empty { padding: 26px; text-align: center; color: var(--text-mute); font-size: 13px; border: 1px dashed var(--line); border-radius: 12px; }
.casino-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.casino-count { color: var(--text-mute); font-size: 12px; }

.game-stage { border: 1px solid rgba(0,217,255,.34); border-radius: 14px; overflow: hidden; margin-bottom: 16px; background: #05080f; }
.gs-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: linear-gradient(90deg, rgba(0,217,255,.14), rgba(15,26,46,.9)); border-bottom: 1px solid var(--line);
}
.gs-bar strong { font-size: 14px; color: #fff; }
.gs-mode { font-size: 11px; color: var(--cyan); border: 1px solid rgba(0,217,255,.35); border-radius: 999px; padding: 2px 9px; }
.gs-bar .btn { margin-left: auto; }
#gsFrame { width: 100%; height: min(70vh, 620px); min-height: 400px; border: 0; display: block; background: #05080f; }
@media (max-width: 720px) {
  .casino-search { width: 100%; }
  .casino-tools { width: 100%; }
  #gsFrame { height: 66vh; min-height: 320px; }
}
.gc-real {
  position: absolute; top: 6px; right: 6px; font-size: 10px; padding: 2px 7px; border-radius: 999px;
  background: rgba(120, 20, 20, .88); color: #ffd9d9; border: 1px solid rgba(255, 120, 120, .5);
}
/* 二级细分条（真人 / 桌台） */
.casino-subs { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 0 14px; }
.sub-chip {
  border: 1px dashed var(--line); background: transparent; color: var(--text-mute);
  border-radius: 8px; padding: 4px 10px; font-size: 11.5px; cursor: pointer; transition: .16s;
}
.sub-chip:hover { color: var(--text); border-color: rgba(0,217,255,.45); }
.sub-chip.is-on { border-style: solid; border-color: rgba(0,217,255,.55); background: rgba(0,217,255,.1); color: #fff; }
.casino-demo-pick {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text-dim);
  font-size: 12px; cursor: pointer; user-select: none; transition: .16s;
}
.casino-demo-pick:hover { border-color: rgba(0,217,255,.45); color: var(--text); }
.casino-demo-pick input { accent-color: #00d9ff; width: 13px; height: 13px; cursor: pointer; }
.casino-demo-pick:has(input:checked) { border-color: rgba(0,217,255,.55); background: rgba(0,217,255,.1); color: #fff; }
/* 提示弹层（余额不足 / 未登录 / 真钱未开通） */
.notice-mask {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  background: rgba(2, 5, 12, .72); backdrop-filter: blur(3px); padding: 20px;
}
.notice-card {
  width: min(420px, 92vw); padding: 22px 22px 18px; border-radius: 16px;
  background: linear-gradient(150deg, #16223a, #0b1220 70%);
  border: 1px solid rgba(0, 217, 255, .3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
.notice-title { display: block; font-size: 16px; color: #fff; margin-bottom: 8px; }
.notice-text { margin: 0 0 16px; font-size: 13px; line-height: 1.7; color: var(--text-dim); }
.notice-actions { display: flex; gap: 10px; justify-content: flex-end; }
.casino-wallet { font-size: 12px; color: var(--text-mute); white-space: nowrap; }
.casino-wallet b { color: #ffd35c; }
.gs-note {
  margin: 0; padding: 8px 14px; font-size: 11.5px; line-height: 1.6;
  color: #ffd9a0; background: rgba(255, 193, 7, .08);
  border-bottom: 1px solid rgba(255, 193, 7, .18);
}