/* GG扑克 · 海军蓝 / 琥珀金 · 顶部导航版 */
:root {
  --bg: #060a16;
  --surface: #0c1326;
  --surface-2: #111b33;
  --raise: #16223f;
  --line: #22304f;
  --text: #e8ecf6;
  --dim: #93a0bd;
  --gold: #e6b24d;
  --gold-2: #f4d089;
  --crimson: #d24b63;
  --gold-dim: rgba(230, 178, 77, 0.13);
  --max: 1200px;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

.wrap { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }

/* 顶部导航 */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 22, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top-in {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.brand b { font-size: 18px; letter-spacing: 0.02em; }
.brand b span { display: block; font-size: 9px; letter-spacing: 0.3em; color: var(--gold); font-weight: 500; }

.menu { display: flex; gap: 4px; }
.menu a {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 14.5px;
  color: #c3cde0;
  transition: 0.16s ease;
}
.menu a:hover { background: var(--surface-2); color: #fff; }
.menu a.on { color: var(--gold-2); }
.menu a.on::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 4px;
}

.nav-toggle { display: none; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.18s ease;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2a1c05; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-line { border-color: #2c3c5f; color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn-full { width: 100%; }

/* 通用区块 */
.section { padding: 84px 0; }
.section + .section { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 14px;
}

h1, h2, h3, h4 { line-height: 1.32; font-weight: 700; }

.h-center { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.h-center h2 { font-size: clamp(25px, 2.8vw, 34px); margin-bottom: 14px; }
.h-center p { color: #b3c0da; }

.row-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.row-bar h2 { font-size: clamp(24px, 2.6vw, 32px); }
.more { color: var(--gold-2); font-size: 14px; white-space: nowrap; }
.more:hover { color: var(--gold); }

/* 首屏 */
.hero {
  position: relative;
  text-align: center;
  padding: 110px 0 84px;
  background:
    radial-gradient(820px 460px at 50% -6%, rgba(230, 178, 77, 0.16), transparent 60%),
    radial-gradient(600px 400px at 12% 30%, rgba(210, 75, 99, 0.08), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow { color: var(--gold-2); }
.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  max-width: 16ex;
  margin: 0 auto 22px;
}
.hero p { color: #c3cde0; max-width: 60ch; margin: 0 auto 16px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats div { background: var(--surface); padding: 26px 18px; }
.stats b { display: block; font-size: 30px; color: var(--gold-2); font-weight: 700; }
.stats span { color: var(--dim); font-size: 13.5px; }

/* 交错图文块 */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 46px 0;
}
.feat + .feat { border-top: 1px solid var(--line); }
.feat:nth-child(even) .feat-media { order: 2; }
.feat-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.feat-media img { width: 100%; height: 300px; object-fit: cover; }
.feat-body .kick { color: var(--gold); font-size: 13px; letter-spacing: 0.12em; }
.feat-body h3 { font-size: 23px; margin: 8px 0 12px; }
.feat-body p { color: #b8c4dc; margin-bottom: 12px; }

/* 玩法：横向宽瓦片 */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: 0.18s ease;
}
.mode:hover { border-color: var(--gold); transform: translateY(-3px); }
.mode .suit { font-size: 24px; color: var(--gold); }
.mode h3 { font-size: 17px; margin: 12px 0 8px; }
.mode p { color: var(--dim); font-size: 14px; }

/* 新闻：头条 + 列表 */
.news-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.lead {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lead .shot { height: 260px; border-bottom: 1px solid var(--line); }
.lead .shot img { width: 100%; height: 260px; object-fit: cover; }
.lead .pad { padding: 24px; }
.lead time, .mini time { font-size: 12.5px; color: var(--gold-2); letter-spacing: 0.05em; }
.lead h3 { font-size: 22px; margin: 8px 0 10px; }
.lead p { color: var(--dim); font-size: 14.5px; }

.mini-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mini { background: var(--surface); padding: 20px 22px; transition: 0.16s ease; }
.mini:hover { background: var(--surface-2); }
.mini h3 { font-size: 16px; margin: 5px 0; }
.mini h3 a:hover { color: var(--gold-2); }
.mini p { color: var(--dim); font-size: 13.5px; }

/* 卡片网格（活动 / 列表通用） */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.18s ease;
}
.card:hover { border-color: var(--gold); }
.card .shot { height: 180px; border-bottom: 1px solid var(--line); }
.card .shot img { width: 100%; height: 180px; object-fit: cover; }
.card .pad { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .tagline { font-size: 12px; color: var(--gold); letter-spacing: 0.06em; }
.card h3 { font-size: 18px; }
.card p { color: var(--dim); font-size: 14px; flex: 1; }
.card .go { color: var(--gold-2); font-size: 13.5px; }

/* 文章：编号横条 */
.rows { display: grid; gap: 14px; }
.rrow {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  transition: 0.16s ease;
}
.rrow:hover { border-color: var(--gold); background: var(--surface-2); }
.rrow .n { font-size: 26px; font-weight: 700; color: #2b3c5f; }
.rrow h3 { font-size: 17px; margin-bottom: 4px; }
.rrow p { color: var(--dim); font-size: 13.5px; }
.rrow .arrow { color: var(--gold-2); font-size: 20px; }

/* 折叠问答 */
.qa { display: grid; gap: 10px; max-width: 860px; }
.qa details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; }
.qa summary { cursor: pointer; font-weight: 600; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "◆ "; color: var(--gold); font-size: 11px; }
.qa details[open] summary::before { content: "◇ "; }
.qa details p { color: #b3c0da; margin-top: 10px; font-size: 14.5px; }

/* 行动条 */
.cta-band {
  background: linear-gradient(100deg, rgba(230, 178, 77, 0.15), rgba(12, 19, 38, 0.3));
  border: 1px solid #38406a;
  border-radius: 20px;
  padding: 38px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { font-size: 25px; margin-bottom: 6px; }
.cta-band p { color: #c3cde0; }

/* 页面头 */
.phead {
  padding: 64px 0 38px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(680px 300px at 50% -20%, rgba(230, 178, 77, 0.12), transparent 60%);
  text-align: center;
}
.crumb { font-size: 13px; color: var(--dim); margin-bottom: 14px; }
.crumb a:hover { color: var(--gold-2); }
.phead h1 { font-size: clamp(27px, 3.6vw, 40px); margin-bottom: 12px; }
.phead p { color: #b3c0da; max-width: 66ch; margin: 0 auto; }

/* 下载卡 */
.os { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.os h3 { font-size: 19px; margin-bottom: 6px; }
.os p { color: var(--dim); font-size: 14px; margin-bottom: 14px; }
.spec { display: grid; gap: 6px; font-size: 13px; color: #a7b4d0; margin-bottom: 18px; padding-top: 14px; border-top: 1px dashed #26355a; }

/* 详情正文 */
.cover { border-bottom: 1px solid var(--line); background: var(--surface); }
.cover img { width: 100%; height: 380px; object-fit: cover; }
.doc { width: min(780px, calc(100% - 56px)); margin: 0 auto; padding: 54px 0 34px; }
.doc .meta { font-size: 13px; color: var(--gold-2); margin-bottom: 10px; letter-spacing: 0.05em; }
.doc h1 { font-size: clamp(27px, 3.4vw, 38px); margin-bottom: 20px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; padding-left: 14px; border-left: 3px solid var(--gold); }
.doc p { color: #cdd6ea; margin-bottom: 16px; }
.doc ol, .doc ul { margin: 0 0 18px; display: grid; gap: 8px; }
.doc ol { counter-reset: s; }
.doc ol li { counter-increment: s; position: relative; padding-left: 32px; color: #cdd6ea; }
.doc ol li::before {
  content: counter(s);
  position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--gold-dim); color: var(--gold-2);
  font-size: 12px; display: grid; place-items: center;
}
.doc ul li { position: relative; padding-left: 20px; color: #cdd6ea; }
.doc ul li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.callout { border: 1px solid #3a4d78; background: rgba(230, 178, 77, 0.07); border-radius: 12px; padding: 16px 22px; margin: 24px 0; color: #d4ddef; font-size: 14.5px; }
.figure { margin: 26px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.figure img { width: 100%; height: 300px; object-fit: cover; }
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 42px; padding-top: 22px; font-size: 14px; }
.pager a { color: #b3c0da; }
.pager a:hover { color: var(--gold-2); }

/* 页脚 */
.foot { border-top: 1px solid var(--line); background: #070c1a; padding: 50px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 32px; }
.foot h4 { font-size: 13px; letter-spacing: 0.14em; color: var(--gold-2); margin-bottom: 12px; }
.foot p, .foot li { color: var(--dim); font-size: 13.5px; margin-bottom: 7px; }
.foot a:hover { color: var(--gold-2); }
.foot .fine { border-top: 1px solid var(--line); padding-top: 16px; font-size: 12px; color: #5d6a88; }

/* 响应式 */
@media (max-width: 900px) {
  .menu {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
    display: none;
  }
  .menu.open { display: flex; }
  .nav-toggle {
    display: inline-flex;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 9px;
    width: 42px; height: 40px;
    align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer;
  }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feat { grid-template-columns: 1fr; gap: 24px; }
  .feat:nth-child(even) .feat-media { order: 0; }
  .modes, .cards, .cards.two, .news-grid, .foot-grid { grid-template-columns: 1fr; }
  .cover img { height: 220px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
