@charset "UTF-8";
/* ==========================================================================
   传奇扑克官网 · 全站样式
   移动优先（基准 375px），min-width 向上覆盖
   目录：
     01 变量与重置
     02 基础排版与工具类
     03 按钮
     04 顶部导航 + 移动端半屏菜单
     05 首页 M1 首屏
     06 首页 M2 游戏特色
     07 首页 M3 截图展示
     08 首页 M4 下载 CTA
     09 页脚
     10 内页公共（面包屑 / 页头）
     11 规则页
     12 FAQ 页
     13 404 页
   ========================================================================== */

/* ==========================================================================
   01 变量与重置
   ========================================================================== */
:root {
  /* 色板 */
  --gold: #c8a45d;
  --gold-dark: #a6833c;
  --gold-deep: #8a6a2a;
  --gold-light: #e8d9b5;
  --gold-line: rgba(200, 164, 93, 0.35);
  --gold-line-soft: rgba(200, 164, 93, 0.22);
  --bg: #fdfcf9;
  --bg-alt: #f5f1e8;
  --ink: #1c1a17;
  --ink-2: #5c5750;
  --ink-3: #8c867d;
  --dark: #14110f;
  --dark-2: #0e0b09;
  --dark-3: #0a0806;
  --red: #c0392b;

  /* 尺寸 */
  --container: 1200px;
  --pad: 20px;
  --r-card: 16px;
  --r-btn: 999px;
  --header-h: 64px;

  /* 阴影与缓动 */
  --shadow-sm: 0 1px 2px rgba(28, 26, 23, 0.04);
  --shadow-md: 0 1px 2px rgba(28, 26, 23, 0.04), 0 8px 24px rgba(28, 26, 23, 0.06);
  --shadow-lg: 0 20px 50px rgba(28, 26, 23, 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* 字体：零外部字体 */
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.32;
  letter-spacing: 0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 滚动锁定 */
body.is-locked {
  overflow: hidden;
}

/* ==========================================================================
   02 基础排版与工具类
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

@media (min-width: 768px) {
  :root {
    --pad: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --pad: 48px;
  }
}

.section {
  padding: 56px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.section-title {
  font-size: 26px;
  margin: 0 0 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--ink-2);
}

/* 滚动渐入：无 JS 时保持可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   03 按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: var(--r-btn);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn--primary {
  color: #2a2112;
  background: linear-gradient(135deg, #d9bd80 0%, #c8a45d 55%, #bb9550 100%);
  box-shadow: 0 6px 18px rgba(200, 164, 93, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(200, 164, 93, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--gold);
  background: transparent;
  border-radius: 8px;
}

.btn--ghost:hover {
  background: rgba(200, 164, 93, 0.08);
}

.btn--lg {
  padding: 16px 42px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.btn__arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

/* ==========================================================================
   04 顶部导航 + 移动端半屏菜单
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: #0e0b09;
  border-bottom: 1px solid rgba(200, 164, 93, 0.16);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* 下滑后仅增加阴影与描边，底色保持一致 */
.site-header.is-scrolled {
  background: #0e0b09;
  border-bottom-color: rgba(200, 164, 93, 0.24);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.32);
}

/* 菜单展开时，header 保持实色，logo 完整可见 */
.site-header.is-menu-open {
  background: var(--dark-3);
  border-bottom-color: rgba(200, 164, 93, 0.16);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.logo {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}

.logo img {
  width: 100px;
  height: auto;
}

/* 导航：移动端为右侧滑入面板 */
.nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 78%;
  max-width: 340px;
  height: calc(100dvh - var(--header-h));
  padding: 22px 26px calc(28px + env(safe-area-inset-bottom));
  background: var(--dark);
  border-left: 1px solid rgba(200, 164, 93, 0.14);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  visibility: hidden;
}

.nav.is-open {
  transform: none;
  visibility: visible;
}

.nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--gold);
}

.nav__cta {
  margin-top: auto;
  margin-bottom: 8px;
}

.nav-mask {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.nav-mask.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* 汉堡按钮 */
.menu-toggle {
  position: relative;
  z-index: 80;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: -10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  :root {
    --header-h: 72px;
  }

  .logo img {
    width: 114px;
  }

  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 34px;
    width: auto;
    max-width: none;
    height: auto;
    margin-left: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }

  .nav__link {
    min-height: auto;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 0;
    position: relative;
    padding: 6px 0;
  }

  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease);
  }

  .nav__link:hover::after,
  .nav__link.is-active::after {
    transform: scaleX(1);
  }

  .nav__cta {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 6px;
    padding: 11px 26px;
    font-size: 14px;
  }

  .menu-toggle,
  .nav-mask {
    display: none;
  }
}

/* ==========================================================================
   05 首页 M1 首屏
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 36px) 0 48px;
  background: radial-gradient(120% 90% at 82% 0%, rgba(200, 164, 93, 0.16) 0%, rgba(253, 252, 249, 0) 62%),
    var(--bg);
}

/* 首屏花色水印（伪元素，不占用 HTML 结构） */
.hero::before {
  content: "♠";
  position: absolute;
  top: 10px;
  right: -70px;
  font-size: 360px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.hero::after {
  content: "♥";
  position: absolute;
  bottom: -60px;
  left: -70px;
  font-size: 300px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin: 0;
  font-size: 40px;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.hero__title-sub {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
}

.hero__desc {
  max-width: 34em;
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* 数据三枚 */
.hero__stats {
  display: flex;
  width: 100%;
  max-width: 380px;
  margin: 26px 0 28px;
}

.stat {
  position: relative;
  flex: 1 1 0;
  text-align: center;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 1px;
  height: 34px;
  background: var(--gold-line);
}

.stat__num {
  font-size: 25px;
  font-weight: 700;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.stat__unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
}

.stat__label {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.hero__note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* 手机 mockup */
.hero__visual {
  position: relative;
  width: 100%;
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 74%;
  max-width: 280px;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(160deg, #45403a 0%, #16130f 42%, #2f2a25 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 2;
  width: 82px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #0b0a08;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  border-radius: 34px;
  display: block;
}

/* 首屏按钮组 + 二维码悬浮 */
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.qr-pop {
  display: none;
  position: relative;
}

.qr-pop__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--gold-dark);
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.qr-pop__btn svg {
  width: 22px;
  height: 22px;
}

.qr-pop:hover .qr-pop__btn,
.qr-pop:focus-within .qr-pop__btn {
  color: var(--gold-deep);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.qr-pop__panel {
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  width: 152px;
  padding: 10px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.qr-pop__panel::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  transform: translateY(-50%) rotate(45deg);
}

.qr-pop:hover .qr-pop__panel,
.qr-pop:focus-within .qr-pop__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.qr-pop__panel img {
  width: 100%;
  border-radius: 4px;
}

.qr-pop__panel span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .hero {
    padding: calc(var(--header-h) + 56px) 0 64px;
  }

  .hero__title {
    font-size: 52px;
  }

  .hero__title-sub {
    font-size: 17px;
  }

  .hero__desc {
    font-size: 16px;
  }

  .hero__stats {
    max-width: 460px;
  }

  .stat__num {
    font-size: 30px;
  }

  .stat__label {
    font-size: 12.5px;
  }

  .hero__visual {
    margin-top: 48px;
  }

  .phone {
    max-width: 320px;
    padding: 10px;
    border-radius: 48px;
  }

  .phone img {
    border-radius: 39px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 104px 0;
  }

  .section-head {
    margin-bottom: 52px;
  }

  .section-title {
    font-size: 38px;
  }

  .hero {
    padding: calc(var(--header-h) + 64px) 0 88px;
    min-height: 640px;
    display: flex;
    align-items: center;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
  }

  .hero__text {
    flex: 1 1 46%;
    max-width: 560px;
  }

  .hero__title {
    font-size: 58px;
  }

  .hero__desc {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero__stats {
    margin: 32px 0 34px;
    max-width: 420px;
  }

  .stat {
    text-align: left;
  }

  .stat + .stat {
    padding-left: 22px;
  }

  .stat + .stat::before {
    top: 4px;
    left: 0;
  }

  .stat__num {
    font-size: 32px;
  }

  .hero__visual {
    flex: 1 1 54%;
    margin-top: 0;
    justify-content: flex-end;
    padding-right: 56px;
  }

  .phone {
    width: 300px;
    max-width: none;
  }

  .qr-pop {
    display: block;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero::before {
    font-size: 520px;
  }

  .hero::after {
    font-size: 420px;
  }
}

@media (min-width: 1440px) {
  .hero__title {
    font-size: 62px;
  }

  .phone {
    width: 320px;
  }
}

/* ==========================================================================
   06 首页 M2 游戏特色
   ========================================================================== */
.features {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}

/* 特色区花色水印：方片 */
.features::before {
  content: "♦";
  position: absolute;
  top: -80px;
  right: -60px;
  font-size: 320px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.features__grid {
  display: grid;
  gap: 14px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--gold-line-soft);
  border-radius: var(--r-card);
  box-shadow: 0 1px 2px rgba(28, 26, 23, 0.03), 0 8px 20px rgba(28, 26, 23, 0.045);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.feature__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  background: rgba(200, 164, 93, 0.1);
  border-radius: 12px;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature__title {
  font-size: 17px;
  margin-bottom: 4px;
}

.feature__desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}

@media (hover: hover) {
  .feature:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }

  .feature:hover .feature__icon {
    background: rgba(200, 164, 93, 0.18);
  }
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature {
    padding: 30px 28px;
    gap: 20px;
  }

  .feature__icon {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .feature__icon svg {
    width: 26px;
    height: 26px;
  }

  .feature__title {
    font-size: 18px;
  }
}

/* ==========================================================================
   07 首页 M3 截图展示（玄黑）
   ========================================================================== */
.showcase {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.showcase::before {
  content: "♠";
  position: absolute;
  right: -60px;
  bottom: -120px;
  font-size: 420px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
}

/* 截图区花色水印：梅花 */
.showcase::after {
  content: "♣";
  position: absolute;
  top: -80px;
  left: -70px;
  font-size: 340px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

/* 保证内容压在 ::after 水印之上 */
.showcase > .container {
  position: relative;
  z-index: 1;
}

.showcase .section-eyebrow {
  color: var(--gold-dark);
}

.showcase__track {
  position: relative;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.showcase__track::-webkit-scrollbar {
  display: none;
}

.shot {
  flex: 0 0 72%;
  margin: 0;
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
  background: #1c1814;
  box-shadow: 0 4px 12px rgba(28, 26, 23, 0.1), 0 20px 44px rgba(28, 26, 23, 0.12);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}

.showcase__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 50%;
  background: rgba(28, 26, 23, 0.18);
  transition: background 0.25s ease, width 0.25s ease;
}

.showcase__dot.is-active {
  width: 18px;
  border-radius: 3px;
  background: var(--gold);
}

@media (hover: hover) {
  .shot:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(28, 26, 23, 0.14), 0 28px 56px rgba(28, 26, 23, 0.16);
  }
}

@media (min-width: 768px) {
  .shot {
    flex-basis: 44%;
  }
}

@media (min-width: 1024px) {
  .showcase__track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    overflow: visible;
    padding-bottom: 0;
  }

  .shot {
    flex: none;
    scroll-snap-align: none;
  }

  .showcase__dots {
    display: none;
  }
}

@media (min-width: 1440px) {
  .showcase__track {
    gap: 24px;
  }
}

/* ==========================================================================
   08 首页 M4 下载 CTA
   ========================================================================== */
.cta {
  position: relative;
  background: var(--bg-alt);
}

.cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 40px 24px;
  text-align: center;
  background: var(--dark-2);
  border: 1px solid rgba(200, 164, 93, 0.24);
  border-radius: 22px;
  overflow: hidden;
}

.cta__inner::before {
  content: "";
  position: absolute;
  top: -55%;
  left: 50%;
  width: 780px;
  height: 780px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(200, 164, 93, 0.2) 0%, rgba(200, 164, 93, 0) 66%);
  pointer-events: none;
}

.cta__inner > * {
  position: relative;
}

.cta__title {
  font-size: 26px;
  color: #fff;
  letter-spacing: 0.04em;
}

.cta__desc {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.cta__action {
  margin-top: 24px;
}

.cta__qr {
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(200, 164, 93, 0.5);
  width: 132px;
}

.cta__qr img {
  width: 100%;
}

.cta__qr span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: #3a352e;
  text-align: center;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .cta__title {
    font-size: 32px;
  }

  .cta__desc {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .cta__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 60px;
    padding: 52px 56px;
  }

  .cta__title {
    font-size: 38px;
  }

  .cta__qr {
    flex: 0 0 auto;
    width: 148px;
    padding: 14px;
  }
}

/* ==========================================================================
   09 页脚
   ========================================================================== */
.site-footer {
  background: var(--dark-3);
  color: rgba(255, 255, 255, 0.72);
  padding: 26px 0;
  text-align: left;
}

/* 移动端三排：logo / 声明 / 版权 */
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  width: 96px;
  align-self: center;
}

.disclaimer {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  text-wrap: pretty;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--gold);
}

@media (min-width: 768px) {
  .site-footer {
    padding: 32px 0;
  }

  /* PC：一行三块 —— logo 左 / 声明居中 / 版权右 */
  .footer-main {
    flex-direction: row;
    align-items: center;
    gap: 36px;
  }

  .footer-logo {
    flex: 0 0 auto;
    width: 104px;
  }

  .disclaimer {
    flex: 1 1 auto;
    font-size: 12.5px;
    text-align: center;
  }

  .footer-legal {
    flex: 0 0 auto;
  }
}

/* ==========================================================================
   10 内页公共
   ========================================================================== */
.page-head {
  padding: calc(var(--header-h) + 32px) 0 8px;
  text-align: center;
  background: radial-gradient(100% 80% at 80% 0%, rgba(200, 164, 93, 0.12) 0%, rgba(253, 252, 249, 0) 60%),
    var(--bg);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--ink-3);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--gold-dark);
}

.breadcrumb__sep {
  color: rgba(28, 26, 23, 0.22);
}

.page-head__title {
  font-size: 27px;
  letter-spacing: 0.02em;
  max-width: 26em;
  margin: 0 auto;
}

.page-head__desc {
  margin: 14px auto 0;
  max-width: 40em;
  font-size: 14.5px;
  color: var(--ink-2);
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .page-head__title {
    font-size: 34px;
  }
}

@media (min-width: 1024px) {
  .page-head {
    padding: calc(var(--header-h) + 44px) 0 12px;
  }

  .page-head__title {
    font-size: 40px;
  }

  .page-head__desc {
    font-size: 16px;
  }
}

/* 共用 CTA 条（内页底部） */
.page-cta {
  padding: 56px 0;
  background: var(--bg-alt);
  text-align: center;
}

.page-cta .cta-box {
  padding: 44px 24px;
  background: var(--dark-2);
  border: 1px solid rgba(200, 164, 93, 0.22);
  border-radius: 22px;
}

.page-cta h2 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
  text-wrap: balance;
}

.page-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .page-cta {
    padding: 72px 0;
  }

  .page-cta .cta-box {
    padding: 52px 40px;
  }

  .page-cta h2 {
    font-size: 30px;
  }
}

/* ==========================================================================
   14 公共交互件（返回顶部 / 手风琴 / 高亮）
   ========================================================================== */
.backtop {
  position: fixed;
  right: 16px;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--gold-dark);
  background: rgba(253, 252, 249, 0.92);
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
}

.backtop svg {
  width: 20px;
  height: 20px;
}

.backtop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (min-width: 1024px) {
  .backtop {
    display: grid;
    right: 28px;
    bottom: 48px;
    width: 48px;
    height: 48px;
  }
}

/* 手风琴 */
.acc {
  border-bottom: 1px solid rgba(28, 26, 23, 0.08);
}

.acc__head {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
}

.acc__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
  color: var(--ink);
  transition: color 0.2s ease;
}

.acc__btn:hover {
  color: var(--gold-dark);
}

.acc__q {
  flex: 1 1 auto;
}

.acc__icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold-dark);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.acc__icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.acc__icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.acc.is-open .acc__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s var(--ease);
}

.acc.is-open .acc__panel {
  grid-template-rows: 1fr;
}

.acc__inner {
  overflow: hidden;
}

.acc__inner p {
  padding: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.acc__inner p + p {
  padding-top: 2px;
}

mark {
  padding: 0 1px;
  color: inherit;
  background: rgba(200, 164, 93, 0.35);
  border-radius: 2px;
}

/* ==========================================================================
   15 规则页
   ========================================================================== */
.rules-wrap {
  padding: 22px 0 40px;
}

.rules-layout {
  display: block;
}

/* 正文 */
.rules-body {
  padding-top: 8px;
}

.rule-sec {
  padding: 30px 0 6px;
}

.rule-sec h2 {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 20px;
  margin-bottom: 12px;
  scroll-margin-top: calc(var(--header-h) + 76px);
}

.rule-sec h2 .num {
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.rule-sec h3 {
  font-size: 15.5px;
  margin: 20px 0 6px;
}

.rule-sec p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
  margin-bottom: 12px;
  text-wrap: pretty;
}

.rule-sec strong {
  color: var(--ink);
  font-weight: 600;
}

.rule-lead {
  padding: 16px 18px;
  margin: 4px 0 18px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--bg-alt);
  border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0;
}

/* 四步流程 */
.steps {
  display: grid;
  gap: 12px;
  margin: 16px 0 6px;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--gold-line-soft);
  border-radius: 12px;
}

.step__n {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #2a2112;
  background: linear-gradient(135deg, #ddc389, #c8a45d);
  border-radius: 50%;
}

.step h3 {
  margin: 0 0 2px;
  font-size: 15px;
}

.step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
}

/* 六种行动 */
.actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0 6px;
}

.action {
  padding: 14px 15px;
  background: #fff;
  border: 1px solid var(--gold-line-soft);
  border-radius: 12px;
}

.action__en {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.action__name {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.action__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* 牌面 */
.cards {
  display: flex;
  gap: 5px;
  margin: 10px 0 4px;
}

.pcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 44px;
  height: 62px;
  background: #fff;
  border: 1px solid rgba(28, 26, 23, 0.12);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(28, 26, 23, 0.08);
}

.pcard__r {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pcard__s {
  font-size: 17px;
  line-height: 1;
}

.pcard--b {
  color: var(--ink);
}

.pcard--r {
  color: var(--red);
}

/* 牌型排行 */
.hands {
  margin: 14px 0 4px;
  border-top: 1px solid rgba(28, 26, 23, 0.08);
}

.hand {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(28, 26, 23, 0.08);
}

.hand__rank {
  flex: 0 0 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.hand__main {
  flex: 1 1 auto;
  min-width: 0;
}

.hand__name {
  font-size: 15.5px;
  margin: 0 0 2px;
}

.hand__name em {
  margin-left: 6px;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.hand__desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-top: 8px;
}

.hand__desc b {
  color: var(--gold-deep);
  font-weight: 600;
}

/* 位置图：椭圆牌桌 */
.pos-table {
  position: relative;
  height: 300px;
  margin: 22px 0 0;
}

.pos-table__felt {
  position: absolute;
  top: 21%;
  right: 15%;
  bottom: 21%;
  left: 15%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    ellipse at 50% 38%,
    rgba(200, 164, 93, 0.11),
    rgba(200, 164, 93, 0.02) 72%
  );
  border: 1px solid rgba(200, 164, 93, 0.4);
  border-radius: 50%;
}

/* 桌面中央人数标注 */
.pos-table__felt span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold-dark);
  opacity: 0.7;
}


/* 牌桌下方：翻前 / 翻后行动顺序 */
.pos-legends {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0 0 20px;
}

.pos-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  white-space: nowrap;
}

.pos-legend__tag {
  flex: 0 0 auto;
  padding: 2px 8px;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  border-radius: 999px;
}

.pos-legend--pre .pos-legend__tag {
  color: #2a2112;
  background: var(--gold);
}

.pos-legend--post .pos-legend__tag {
  color: var(--ink-2);
  background: rgba(28, 26, 23, 0.08);
}

.pos-seat {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 56px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--gold-line-soft);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(28, 26, 23, 0.07);
  transform: translate(-50%, -50%);
}

.pos-seat b {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
}

.pos-seat i {
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.2;
  color: var(--ink-3);
}

/* 庄家位高亮 */
.pos-seat--btn {
  background: linear-gradient(135deg, #ddc389, #c8a45d);
  border-color: transparent;
  box-shadow: 0 5px 16px rgba(200, 164, 93, 0.35);
}

.pos-seat--btn b,
.pos-seat--btn i {
  color: #2a2112;
}

/* 顺时针分布：底 → 左下 → 左上 → 顶 → 右上 → 右下 */
.pos-seat--btn { left: 50%; top: 88%; }
.pos-seat--sb { left: 17%; top: 69%; }
.pos-seat--bb { left: 17%; top: 31%; }
.pos-seat--utg { left: 50%; top: 12%; }
.pos-seat--mp { left: 83%; top: 31%; }
.pos-seat--co { left: 83%; top: 69%; }

@media (min-width: 768px) {
  .pos-table {
    height: 360px;
  }

  .pos-seat {
    width: 70px;
    height: 56px;
    border-radius: 12px;
  }

  .pos-seat b {
    font-size: 13px;
  }

  .pos-seat i {
    font-size: 10.5px;
  }

  .pos-table__felt span {
    font-size: 11px;
  }

  .pos-legend {
    font-size: 11.5px;
  }

  .pos-legend__tag {
    padding: 2px 9px;
    font-size: 10.5px;
  }

}

/* 新手提示 */
.tips {
  display: grid;
  gap: 10px;
  margin: 14px 0 6px;
}

.tip {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
  background: #fdf8ee;
  border: 1px solid rgba(200, 164, 93, 0.28);
  border-radius: 10px;
}

.tip b {
  flex: 0 0 auto;
  color: var(--gold-deep);
}

@media (min-width: 768px) {
  .rule-sec h2 {
    font-size: 24px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .actions {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .pcard {
    width: 50px;
    height: 70px;
  }

  .pcard__r {
    font-size: 19px;
  }

  .pcard__s {
    font-size: 19px;
  }

  .hand__main {
    display: grid;
    grid-template-columns: 270px 1fr;
    grid-template-areas:
      "cards name"
      "cards desc";
    column-gap: 26px;
    align-items: center;
  }

  .hand__main .cards {
    grid-area: cards;
    margin: 0;
  }

  .hand__main h3 {
    grid-area: name;
    align-self: end;
  }

  .hand__main .hand__desc {
    grid-area: desc;
    align-self: start;
    margin-top: 2px;
  }
}

@media (min-width: 1024px) {
  .rules-wrap {
    padding: 30px 0 56px;
  }

  .rules-body {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 12px;
  }

  .rule-sec {
    padding: 38px 0 8px;
  }

  .rule-sec h2 {
    font-size: 26px;
    scroll-margin-top: calc(var(--header-h) + 24px);
  }

  .rule-sec p {
    font-size: 15.5px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ==========================================================================
   16 FAQ 页
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

/* 搜索 */
.faq-search {
  position: relative;
}

.faq-search__icon {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--ink-3);
  transform: translateY(-50%);
  pointer-events: none;
}

.faq-search input {
  width: 100%;
  height: 48px;
  padding: 0 18px 0 44px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--gold-line-soft);
  border-radius: 999px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.faq-search input::placeholder {
  color: var(--ink-3);
}

.faq-search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 164, 93, 0.12);
}

/* 分组 */
.faq-group {
  padding-top: 30px;
}

.faq-group__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 2px;
  font-size: 17px;
}

.faq-group__title::before {
  content: "";
  width: 3px;
  height: 15px;
  background: var(--gold);
  border-radius: 2px;
}

.faq-empty {
  padding: 48px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  text-align: center;
}

/* 未解决 */
.faq-contact {
  margin-top: 36px;
  padding: 26px 22px;
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid rgba(200, 164, 93, 0.24);
  border-radius: 14px;
}

.faq-contact h2 {
  font-size: 17px;
  margin-bottom: 8px;
}

.faq-contact p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.faq-contact__path {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 18px;
  font-size: 13.5px;
  color: var(--gold-deep);
  letter-spacing: 0.02em;
  background: #fff;
  border: 1px solid var(--gold-line-soft);
  border-radius: 8px;
}

@media (min-width: 768px) {
  .faq-wrap {
    padding: 26px 0 56px;
  }

  .faq-search {
    max-width: 560px;
    margin: 0 auto;
  }

  .faq-group__title {
    font-size: 19px;
    margin-bottom: 4px;
  }

  .acc__btn {
    padding: 20px 0;
    font-size: 16px;
  }

  .acc__inner p {
    font-size: 15px;
    padding-bottom: 22px;
  }

  .faq-contact {
    padding: 34px 28px;
  }

  .faq-contact h2 {
    font-size: 19px;
  }
}

@media (min-width: 1024px) {
  .faq-wrap {
    padding-top: 30px;
  }

  .faq-group {
    padding-top: 34px;
  }
}

/* ==========================================================================
   17 404 页
   ========================================================================== */
.err {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 50px) 20px 70px;
  text-align: center;
}

/* 404 页撑满剩余视口高度 */
.page-404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.page-404 main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.err__code {
  margin: 0;
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

.err__title {
  margin: 14px 0 6px;
  font-size: 22px;
}

.err__desc {
  margin-bottom: 26px;
  font-size: 14px;
  color: var(--ink-2);
}

.err__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (min-width: 768px) {
  .err__code {
    font-size: 104px;
  }

  .err__title {
    font-size: 28px;
  }
}

/* ==========================================================================
   18 无 JS 降级：导航改为静态横排，内容全部可见
   ========================================================================== */
html:not(.js) .site-header {
  position: static;
}

html:not(.js) .header-inner {
  height: auto;
  min-height: var(--header-h);
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 10px 16px;
}

html:not(.js) .nav {
  position: static;
  visibility: visible;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  width: auto;
  max-width: none;
  height: auto;
  margin-left: auto;
  padding: 0;
  background: none;
  box-shadow: none;
  transform: none;
}

html:not(.js) .nav__link {
  min-height: auto;
  padding: 4px 0;
  font-size: 14px;
  border-bottom: 0;
}

html:not(.js) .nav__cta {
  margin: 0;
  padding: 8px 18px;
  font-size: 13px;
}

html:not(.js) .menu-toggle,
html:not(.js) .nav-mask,
html:not(.js) .backtop {
  display: none;
}

html:not(.js) .hero {
  padding-top: 28px;
}

html:not(.js) .page-head {
  padding-top: 28px;
}

html:not(.js) .err {
  padding-top: 40px;
}
