/* QQ扑克 QQPK · 墨绿青 / 薄荷绿 · 第三版布局 */
:root {
  --bg: #031412;
  --panel: #06201c;
  --panel-2: #0a2e28;
  --line: #1a4d45;
  --text: #e6f7f3;
  --muted: #7eada4;
  --teal: #14b8a6;
  --teal-2: #5eead4;
  --teal-soft: rgba(20, 184, 166, 0.12);
  --sand: #e8c47a;
  --max: 1160px;
  --r: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* 侧栏式顶导航 */
.site-nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(3, 20, 18, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; gap: 18px;
  height: 74px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 38px; height: 38px; }
.brand .name { font-size: 18px; font-weight: 700; letter-spacing: 0.02em; }
.brand .sub { display: block; font-size: 10px; letter-spacing: 0.2em; color: var(--teal-2); font-weight: 500; }

.links { display: flex; gap: 2px; flex-wrap: wrap; }
.links a {
  padding: 8px 11px; border-radius: 999px; font-size: 13.5px; color: #b7d8d0;
}
.links a:hover { background: var(--panel-2); color: #fff; }
.links a.cur { background: var(--teal-soft); color: var(--teal-2); }
.nav-cta {
  padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: #042f2e; font-weight: 700; font-size: 13.5px; white-space: nowrap;
}
.menu-toggle {
  display: none; width: 42px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel-2); color: var(--text);
  font-size: 18px; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; border: 1px solid transparent; transition: .18s;
}
.btn-main { background: linear-gradient(135deg, var(--teal-2), var(--teal)); color: #042f2e; }
.btn-main:hover { filter: brightness(1.07); }
.btn-ghost { border-color: #2a6b60; color: var(--text); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-2); }
.btn-block { width: 100%; }

/* 首屏：全宽氛围 + 底部三卡 */
.masthead {
  position: relative;
  padding: 88px 0 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 20% -10%, rgba(20,184,166,.18), transparent 55%),
    radial-gradient(700px 360px at 90% 20%, rgba(232,196,122,.08), transparent 50%),
    var(--bg);
}
.masthead-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end;
  padding-bottom: 48px;
}
.kicker { color: var(--teal-2); letter-spacing: .2em; font-size: 12px; margin-bottom: 14px; }
.masthead h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.2; margin-bottom: 18px; max-width: 12em; }
.masthead .blurb { color: #a8cfc6; font-size: 16px; margin-bottom: 12px; max-width: 48ch; }
.mast-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.mast-shot {
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: var(--panel); box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.mast-shot img { width: 100%; height: 360px; object-fit: cover; }

.feature-rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); background: var(--panel);
}
.feature-rail article {
  padding: 28px 26px; border-right: 1px solid var(--line);
}
.feature-rail article:last-child { border-right: none; }
.feature-rail h3 { font-size: 17px; margin-bottom: 8px; color: var(--teal-2); }
.feature-rail p { color: var(--muted); font-size: 14px; }

/* 区块 */
.zone { padding: 78px 0; }
.zone + .zone { border-top: 1px solid var(--line); }
.zone.tint { background: var(--panel); }
.zone-title { margin-bottom: 36px; }
.zone-title.mid { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; margin-bottom: 36px; }
.zone-title .kicker { display: block; }
.zone-title h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.zone-title p { color: var(--muted); }
.zone-bar {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px;
}
.zone-bar h2 { font-size: clamp(24px, 2.8vw, 32px); }
.see-all { color: var(--teal-2); font-size: 14px; }
.see-all:hover { color: var(--teal); }

/* 优势瀑布 */
.benefit-stack { display: grid; gap: 18px; }
.benefit {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-2);
}
.benefit .num { font-size: 42px; font-weight: 800; color: #0f3d36; line-height: 1; }
.benefit h3 { font-size: 20px; margin-bottom: 8px; }
.benefit p { color: #9fc7be; font-size: 15px; }

/* 玩法宫格 */
.play-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.play {
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: .18s;
}
.play:hover { border-color: var(--teal); transform: translateY(-3px); }
.play .mark { font-size: 28px; color: var(--teal); margin-bottom: 10px; }
.play h3 { font-size: 16px; margin-bottom: 6px; }
.play p { color: var(--muted); font-size: 13px; }

/* 最新动态时间线 */
.timeline { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tl-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center;
  padding: 20px 24px; background: var(--panel); border-bottom: 1px solid var(--line);
  transition: .15s;
}
.tl-item:last-child { border-bottom: none; }
.tl-item:hover { background: var(--panel-2); }
.tl-item time { color: var(--teal-2); font-size: 13px; font-weight: 600; }
.tl-item h3 { font-size: 16px; margin-bottom: 4px; }
.tl-item p { color: var(--muted); font-size: 13.5px; }
.tl-item .go { color: var(--sand); }

/* 优惠卡片 */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.promo {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel);
  display: grid; grid-template-columns: 180px 1fr;
}
.promo .shot { border-right: 1px solid var(--line); }
.promo .shot img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.promo .copy { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.promo .tag { font-size: 12px; color: var(--sand); letter-spacing: .06em; }
.promo h3 { font-size: 18px; }
.promo p { color: var(--muted); font-size: 14px; flex: 1; }
.promo .more { color: var(--teal-2); font-size: 13.5px; }

/* 专栏列表 */
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel);
  display: flex; flex-direction: column; transition: .18s;
}
.blog-card:hover { border-color: var(--teal); }
.blog-card .pic { height: 160px; border-bottom: 1px solid var(--line); }
.blog-card .pic img { width: 100%; height: 160px; object-fit: cover; }
.blog-card .pad { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card .cat { font-size: 12px; color: var(--teal); }
.blog-card h3 { font-size: 17px; }
.blog-card p { color: var(--muted); font-size: 13.5px; flex: 1; }

/* 图文交错 */
.story {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 28px 0;
}
.story + .story { border-top: 1px solid var(--line); }
.story.flip .media { order: 2; }
.story .media { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.story .media img { width: 100%; height: 280px; object-fit: cover; }
.story .body .kicker { margin-bottom: 8px; }
.story .body h3 { font-size: 24px; margin-bottom: 12px; }
.story .body p { color: #a8cfc6; margin-bottom: 10px; }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: var(--panel);
}
.faq-list summary { cursor: pointer; font-weight: 650; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { color: var(--muted); margin-top: 10px; font-size: 14.5px; }

/* 页头 */
.page-top {
  padding: 60px 0 36px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 280px at 50% -30%, rgba(20,184,166,.12), transparent 60%);
}
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a:hover { color: var(--teal-2); }
.page-top h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 10px; }
.page-top .lede { color: var(--muted); max-width: 64ch; }

/* 下载四宫格 */
.dl-board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dl-tile {
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--panel);
}
.dl-tile h3 { font-size: 19px; margin-bottom: 8px; }
.dl-tile p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.dl-meta { display: grid; gap: 5px; font-size: 12.5px; color: #6f9a92; margin-bottom: 16px; padding-top: 12px; border-top: 1px dashed var(--line); }

/* 列表页卡片 */
.list-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.list-card {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel);
  display: flex; flex-direction: column;
}
.list-card:hover { border-color: var(--teal); }
.list-card .cover { height: 180px; border-bottom: 1px solid var(--line); }
.list-card .cover img { width: 100%; height: 180px; object-fit: cover; }
.list-card .inner { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.list-card .label { font-size: 12px; color: var(--sand); }
.list-card h3 { font-size: 18px; }
.list-card p { color: var(--muted); font-size: 14px; flex: 1; }
.list-card .arrow { color: var(--teal-2); font-size: 13.5px; }

/* 详情 */
.hero-img { border-bottom: 1px solid var(--line); background: var(--panel); }
.hero-img img { width: 100%; height: 360px; object-fit: cover; }
.article {
  width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 40px;
}
.article .meta { color: var(--teal-2); font-size: 13px; margin-bottom: 8px; }
.article h1 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 18px; line-height: 1.3; }
.article h2 {
  font-size: 21px; margin: 32px 0 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line); color: var(--teal-2);
}
.article p { color: #c5e4dc; margin-bottom: 14px; }
.article ul, .article ol { margin: 0 0 16px; display: grid; gap: 8px; }
.article li { color: #c5e4dc; padding-left: 18px; position: relative; }
.article ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.article ol { counter-reset: n; }
.article ol li { counter-increment: n; padding-left: 30px; }
.article ol li::before {
  content: counter(n); position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-2);
  font-size: 12px; display: grid; place-items: center;
}
.article .box {
  border: 1px solid #2a6b60; background: var(--teal-soft);
  border-radius: 14px; padding: 16px 18px; margin: 20px 0; font-size: 14.5px;
}
.article .pic-slot {
  margin: 22px 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.article .pic-slot img { width: 100%; height: 280px; object-fit: cover; }
.article .pager {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.article .pager a:hover { color: var(--teal-2); }

table.cmp { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
table.cmp th, table.cmp td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
table.cmp th { background: var(--panel-2); color: var(--teal-2); }
table.cmp td { color: #c5e4dc; }
table.cmp .hi { color: var(--teal-2); font-weight: 600; }

.cta-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 34px 30px; border-radius: 22px;
  border: 1px solid #2a6b60;
  background: linear-gradient(120deg, rgba(20,184,166,.14), rgba(6,32,28,.6));
}
.cta-banner h2 { font-size: 24px; margin-bottom: 6px; }
.cta-banner p { color: #a8cfc6; }

/* 多站点模板补充 */
.tile-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.tile {
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  background: var(--panel); display: flex; flex-direction: column; gap: 10px;
}
.tile img {
  width: 100%; height: 160px; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line);
}
.tile h3 { font-size: 18px; line-height: 1.4; }
.tile h3 a:hover { color: var(--teal-2); }
.tile p { color: var(--muted); font-size: 14px; }
.tile .meta { color: var(--teal-2); font-size: 13px; }
.zone-title h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.prose { max-width: 820px; }
.prose .lead { color: #a8cfc6; font-size: 17px; margin-bottom: 22px; }
.prose .content h2 {
  font-size: 22px; margin: 28px 0 12px; padding-top: 8px;
  border-top: 1px solid var(--line);
}
.prose .content p, .article .content p { color: #c5e4dc; margin-bottom: 14px; }
.prose .content ul, .prose .content ol,
.article .content ul, .article .content ol { margin: 0 0 16px; display: grid; gap: 8px; }
.prose .content li, .article .content li { color: #c5e4dc; padding-left: 18px; position: relative; }
.prose .content ul li::before, .article .content ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.prose .content ol, .article .content ol { counter-reset: n; }
.prose .content ol li, .article .content ol li { counter-increment: n; padding-left: 30px; }
.prose .content ol li::before, .article .content ol li::before {
  content: counter(n); position: absolute; left: 0; color: var(--teal-2); font-weight: 700;
}
.hero-img { margin-bottom: 0; }
.hero-img img { width: 100%; max-height: 380px; object-fit: cover; }
.site-foot {
  border-top: 1px solid var(--line); background: #02100e; padding: 40px 0 28px; margin-top: 20px;
}
.site-foot .foot-grid {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  grid-template-columns: none;
}
.site-foot a { margin-left: 16px; color: var(--muted); }
.site-foot a:hover { color: var(--teal-2); }
.site-foot p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

.site-footer {
  border-top: 1px solid var(--line); background: #02100e; padding: 48px 0 24px;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.foot-grid h4 { font-size: 12px; letter-spacing: .14em; color: var(--teal-2); margin-bottom: 12px; }
.foot-grid p, .foot-grid li { color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.foot-grid a:hover { color: var(--teal-2); }
.foot-note {
  border-top: 1px solid var(--line); padding-top: 16px;
  font-size: 12px; color: #5a7f78; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}

@media (max-width: 980px) {
  .links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 18px 18px;
  }
  .links.open { display: flex; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
  .masthead-grid, .story, .story.flip .media, .promo, .benefit { grid-template-columns: 1fr; }
  .story.flip .media { order: 0; }
  .feature-rail, .play-grid, .promo-grid, .blog-cards, .list-2, .dl-board, .foot-grid, .tile-grid { grid-template-columns: 1fr; }
  .feature-rail article { border-right: none; border-bottom: 1px solid var(--line); }
  .tl-item { grid-template-columns: 1fr; }
  .play-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .mast-shot img, .hero-img img { height: 220px; }
}
