:root {
  --ink: #111827;
  --ink-light: #f8fafc;
  --ink-muted: #94a3b8;
  --bg-deep: #0b1120;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-border: rgba(255, 255, 255, 0.12);
  --accent-pink: #ff5c8a;
  --accent-gold: #ffd166;
  --accent-cyan: #38bdf8;
  --accent-mint: #34d399;
  --shadow-lg: 0 25px 60px -15px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 35px rgba(255, 92, 138, 0.28);
  --font-display: "ZCOOL KuaiLe", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  color: var(--ink-light);
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1100px 700px at 15% 10%, rgba(255, 92, 138, 0.16) 0%, transparent 65%),
    radial-gradient(1000px 600px at 85% 20%, rgba(255, 209, 102, 0.13) 0%, transparent 60%),
    radial-gradient(800px 600px at 50% 85%, rgba(56, 189, 248, 0.12) 0%, transparent 65%),
    linear-gradient(180deg, #0b1120 0%, #131b2e 45%, #182238 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* 噪点与氛围光球 */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.ambient-glow {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.45;
}
.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ff5c8a, transparent 70%);
  top: -80px;
  left: -80px;
}
.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ffd166, transparent 70%);
  top: 15%;
  right: -120px;
}

.top, main, .foot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* ================= 顶部导航 ================= */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 17, 32, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease;
}
.brand:hover {
  transform: scale(1.02);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: #111827;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-pink));
  box-shadow: 0 6px 18px rgba(255, 92, 138, 0.45);
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -100%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.6) 50%, transparent 60%);
  animation: mark-shine 4s ease infinite;
}
@keyframes mark-shine {
  0% { transform: translateX(-100%); }
  30%, 100% { transform: translateX(100%); }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.brand-text small {
  display: none;
  font-size: 11px;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.nav {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-share span {
  display: none;
}
.btn-share:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* ================= HERO 展示区（默认移动端单列，宽屏再增强） ================= */
.hero {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 14px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  min-height: auto;
  min-width: 0;
  box-sizing: border-box;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 2;
  text-align: center;
  align-items: center;
  min-width: 0;
  width: 100%;
}

/* 机柜下方已有标题，移动端默认隐藏重复大段文案 */
.hero-copy h1,
.hero-copy .lede,
.hero-copy .hero-meta-row,
.hero-copy .hero-notice,
.hero-copy .kicker-wrap {
  display: none;
}

.kicker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.28);
  width: fit-content;
  margin-bottom: 18px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-pink);
  box-shadow: 0 0 10px var(--accent-pink);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: opacity 0.25s ease;
}

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 32em;
  margin-bottom: 24px;
  transition: opacity 0.25s ease;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-badge {
  background: linear-gradient(135deg, rgba(255, 92, 138, 0.25), rgba(255, 92, 138, 0.1));
  border: 1px solid rgba(255, 92, 138, 0.4);
  color: #ff9eb8;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.hero-rating {
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid rgba(255, 209, 102, 0.35);
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.hero-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  justify-content: center;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  color: #111827;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ff8fb5 60%, var(--accent-pink) 100%);
  box-shadow: 0 10px 28px rgba(255, 92, 138, 0.45);
}
.btn.primary:hover {
  box-shadow: 0 14px 34px rgba(255, 92, 138, 0.6);
}

.btn.ghost {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* 窄屏默认两按钮拉满；桌面端再收回 */
.btn-play-main,
.btn.ghost {
  width: 100%;
}

.btn.ghost-light {
  color: var(--accent-gold);
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.3);
  font-size: 14px;
  padding: 10px 20px;
}
.btn.ghost-light:hover {
  background: rgba(255, 209, 102, 0.22);
  color: #fff;
}

.hero-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}
.notice-icon {
  font-size: 15px;
}

/* ================= 游戏机柜 (Cabinet Stage) — 默认按手机宽度流体缩放 ================= */
.preview-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  order: 1;
  overflow: hidden;
}

/* 顶部快速切换展品标签 */
.cabinet-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.cabinet-tabs::-webkit-scrollbar {
  display: none;
}
.cab-tab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 0;
}
.cab-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.cab-tab.is-active {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(255, 92, 138, 0.2));
  border-color: rgba(255, 209, 102, 0.6);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 92, 138, 0.25);
}

.cabinet {
  /* 整柜宽度与竖屏预览同步：既不超屏，也不被 58vh 限高后留下“底栏比画面宽” */
  width: min(100%, 360px, calc(58vh * 9 / 16));
  width: min(100%, 360px, calc(58svh * 9 / 16));
  max-width: 100%;
  filter: drop-shadow(var(--shadow-lg));
  transition: transform 0.3s ease;
  min-width: 0;
  box-sizing: border-box;
}
.cabinet.is-js-fitted {
  width: min(100%, var(--cabinet-fit-w, 360px));
}
@media (hover: hover) and (pointer: fine) {
  .cabinet:hover {
    transform: translateY(-3px);
  }
}

.cabinet-bezel {
  /* 移动端去掉机柜外壳，避免“PC 缩放页”感与额外占宽 */
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cabinet-marquee {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px 10px;
}
.marquee-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 8px var(--accent-mint);
  animation: pulse-dot 1.5s ease infinite;
}
.marquee-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
}

.cabinet-screen {
  position: relative;
  width: 100%;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 58vh;
  max-height: 58svh;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #090e17;
  border: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

.preview-veil {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  background: #090e17;
}

.preview-veil .preview-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.preview-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.15) 0%,
    rgba(15, 23, 42, 0.35) 45%,
    rgba(11, 17, 32, 0.92) 100%
  );
  pointer-events: none;
}

/* 播放核心旋钮 (Play Orb) */
.play-orb {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  display: block;
  pointer-events: none;
}

.play-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 209, 102, 0.8);
  animation: play-pulse 2s ease-out infinite;
}

.play-orb-core {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ff8fb5 50%, var(--accent-pink) 100%);
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 10px 28px rgba(255, 92, 138, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease;
}
.play-orb-core svg {
  margin-left: 3px;
}

@keyframes play-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

.preview-veil:hover .preview-cover-img {
  transform: scale(1.05);
}
.preview-veil:hover .play-orb-core {
  transform: scale(1.1);
}

.preview-meta {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 16px 12px;
  text-align: center;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cover-caption {
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.preview-hint {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  background: var(--accent-gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.cabinet-lip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.9);
  color: #fff;
}
.lip-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.lip-info strong {
  font-size: 15px;
  color: #fff;
}
.lip-info small {
  font-size: 12px;
  color: #cbd5e1;
}
.link-full {
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.link-full:hover {
  text-decoration: underline;
}

/* ================= 游戏展厅 (Shelf) ================= */
.hall {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 14px 36px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.section-head {
  margin-bottom: 32px;
}
.section-head.text-center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  margin-bottom: 8px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  margin-bottom: 10px;
}
.section-head p {
  color: #94a3b8;
  font-size: 16px;
  max-width: 48em;
}

/* 筛选分类栏 */
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.filter-chip.is-active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #111827;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 209, 102, 0.35);
}
.chip-count {
  display: inline-block;
  margin-left: 4px;
  font-size: 12px;
  opacity: 0.8;
}

/* 展柜网格 */
.shelf {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.game-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.game-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 209, 102, 0.4);
}
.game-tile.is-soon {
  opacity: 0.75;
  cursor: default;
}
.game-tile.is-soon:hover {
  transform: none;
  border-color: var(--bg-card-border);
}

.game-tile-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #182238;
}
.game-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}
.game-tile:hover .game-tile-img {
  transform: scale(1.05);
}

.tile-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}
.tile-badge.is-hot {
  background: linear-gradient(135deg, #ff5c8a, #ff8fa8);
  border-color: rgba(255, 255, 255, 0.3);
}
.tile-badge.is-new {
  background: linear-gradient(135deg, #059669, #34d399);
  border-color: rgba(255, 255, 255, 0.3);
}

.tile-rating {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(8px);
}

.game-tile-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.game-tile-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  margin-bottom: 6px;
}
.tile-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 10px;
}
.game-tile-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 16px;
  flex: 1;
}

.tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-top: auto;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags i {
  font-style: normal;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.tile-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-pink));
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ================= 游廊特色 (Features) ================= */
.features {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 14px 60px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
  width: 100%;
  min-width: 0;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
}
.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.25);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
}

/* ================= 关于游廊 (About) ================= */
.about {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 14px 100px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.about-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  min-width: 0;
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: #fff;
  margin-bottom: 14px;
}
.about-content p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.about-tags span {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}
.about-submit {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-submit h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}
.about-submit p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ================= 移动端底部快捷悬浮条 ================= */
.mobile-float-bar {
  display: flex;
  position: fixed;
  inset-inline: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 99;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 209, 102, 0.3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  border-radius: 999px;
  padding: 8px 10px 8px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-float-bar.is-visible {
  transform: translateY(0);
}
.float-game-info {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}
.float-thumb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--accent-gold);
  flex-shrink: 0;
}
.float-texts {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  line-height: 1.2;
}
.float-texts strong {
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-texts span {
  font-size: 11px;
  color: var(--accent-gold);
}
.float-btn {
  min-height: 38px;
  padding: 0 18px;
  font-size: 14px;
  flex-shrink: 0;
}

/* ================= 页脚 ================= */
.foot {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 14px 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  justify-content: space-between;
  color: #64748b;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
}
.foot-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.foot-beian {
  color: #94a3b8;
  text-decoration: none;
}
.foot-beian:hover {
  color: #e2e8f0;
  text-decoration: underline;
}
.foot-right a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
}
.foot-right a:hover {
  color: #fff;
}

/* ================= 提示弹窗 (Toast) ================= */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--accent-gold);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ================= 窄屏补强（默认已是移动布局；这里再钉死一次，防缓存旧规则） ================= */
@media (max-width: 860px) {
  html {
    font-size: 15px;
  }

  .top {
    padding: 10px 14px;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .btn-share span {
    display: none;
  }

  .nav {
    display: none !important;
  }

  .btn-play-main,
  .btn.ghost {
    width: 100%;
  }

  .cabinet {
    width: min(100%, 360px, calc(58vh * 9 / 16));
    width: min(100%, 360px, calc(58svh * 9 / 16));
  }

  .cabinet-screen {
    width: 100%;
    max-height: 58vh;
    max-height: 58svh;
    min-height: 0;
  }

  .hall,
  .features,
  .about {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hall {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .section-head p {
    font-size: 13px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    margin-bottom: 16px;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 12px;
    padding: 7px 12px;
  }

  .shelf {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .game-tile-body {
    padding: 14px 16px;
  }

  .game-tile-body h3 {
    font-size: 18px;
  }

  .game-tile-body p {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 18px;
  }

  .about {
    padding-bottom: 100px;
  }

  .mobile-float-bar {
    display: flex;
    inset-inline: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 14px 110px;
    font-size: 12px;
  }

  .toast {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
    width: auto;
    transform: translateY(100px);
    text-align: center;
  }

  .toast.is-show {
    transform: translateY(0);
  }
}

/* ================= 桌面端增强（≥861px 才恢复双栏与机柜外壳） ================= */
@media (min-width: 861px) {
  .nav {
    display: flex;
  }

  .top {
    padding: 14px 24px;
  }

  .brand-text small {
    display: block;
  }

  .brand-text strong {
    font-size: 21px;
  }

  .btn-share {
    padding: 7px 16px;
  }

  .btn-share span {
    display: inline;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    padding: 40px 24px 60px;
    min-height: calc(100vh - 80px);
  }

  .preview-stage {
    order: unset;
    overflow: visible;
  }

  .hero-copy {
    order: unset;
    text-align: left;
    align-items: flex-start;
  }

  .hero-copy h1,
  .hero-copy .lede,
  .hero-copy .hero-meta-row,
  .hero-copy .hero-notice,
  .hero-copy .kicker-wrap {
    display: revert;
  }

  .kicker-wrap {
    display: inline-flex;
  }

  .hero-copy h1 {
    display: block;
  }

  .hero-copy .lede,
  .hero-copy .hero-notice {
    display: block;
  }

  .hero-copy .hero-meta-row {
    display: flex;
  }

  .hero-actions {
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }

  .btn {
    min-height: 52px;
    font-size: 16px;
  }

  .btn-play-main,
  .btn.ghost {
    width: auto;
  }

  .cabinet-tabs {
    width: min(100%, 360px);
    justify-content: center;
    overflow: visible;
    padding-bottom: 0;
  }

  .cab-tab {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 12px;
  }

  .cabinet {
    width: min(100%, 360px) !important;
    max-width: min(100%, 360px) !important;
    transform: none !important;
  }

  .cabinet.is-js-fitted {
    width: min(100%, 360px) !important;
  }

  .cabinet-bezel {
    padding: 12px;
    border-radius: 28px 28px 16px 16px;
    background: linear-gradient(180deg, #24324d 0%, #151e30 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      inset 0 -2px 6px rgba(0, 0, 0, 0.6),
      0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .cabinet-marquee {
    display: flex;
  }

  .cabinet-screen {
    max-width: none;
    max-height: none;
    min-height: 440px;
    border: 2px solid rgba(0, 0, 0, 0.6);
    border-radius: 18px;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8);
  }

  .play-orb {
    width: 90px;
    height: 90px;
  }

  .preview-meta {
    padding: 24px 18px;
    gap: 8px;
  }

  .cover-caption {
    font-size: 23px;
  }

  .preview-hint {
    font-size: 13px;
    padding: 6px 18px;
  }

  .cabinet-lip {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
  }

  .lip-info strong {
    color: #111827;
  }

  .lip-info small {
    color: #64748b;
  }

  .link-full {
    color: var(--accent-pink);
    font-size: 14px;
  }

  .hall {
    padding: 60px 24px 80px;
  }

  .shelf {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }

  .features {
    padding: 60px 24px 80px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
  }

  .about {
    padding: 20px 24px 80px;
  }

  .about-card {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    padding: 40px;
  }

  .foot {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 24px 24px 48px;
    font-size: 13px;
  }

  .mobile-float-bar {
    display: none;
  }
}

/* 针对微信内置浏览器特定调整 */
.is-wechat .play-orb-core {
  transform: scale(1.05);
}
.is-wechat .preview-hint {
  font-size: 14px;
  padding: 8px 20px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .game-tile, .preview-veil .preview-cover-img, .play-orb-core { transition: none; }
  .play-orb-ring, .live-dot, .marquee-indicator, .brand-mark::after { animation: none; }
}
