/* www.mine6.com 静态门户样式 —— 与游戏中心同一套品牌色（web/src/styles.css 的 :root）
   纪律：纯 CSS、零 JS、移动优先；正文类名全部带前缀避免与站内类名冲突（本页独立，仅求清晰）。 */

:root {
  --bg: #0d1220;
  --surface: #151b2e;
  --surface2: #1d2540;
  --line: #2a3560;
  --gold: #e8b84b;
  --gold-hi: #ffe9a8;
  --gold-dim: #8a6d2f;
  --text: #eaeef9;
  --muted: #8b93b0;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg) radial-gradient(1100px 520px at 50% -12%, #1b2347 0%, transparent 62%) no-repeat;
  background-attachment: scroll;
  color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK", "PingFang SC",
        "Hiragino Sans", "Microsoft YaHei", "Microsoft JhengHei", "Noto Sans CJK SC", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
img { display: block; max-width: 100%; }

/* ── 顶栏 ── */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #0d1220d9;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .brand { display: flex; align-items: center; gap: 8px; color: var(--text); white-space: nowrap; }
header.site .brand b { font-size: 17px; letter-spacing: .5px; white-space: nowrap; }
header.site nav { display: flex; align-items: center; gap: 14px; font-size: 14px; white-space: nowrap; }
header.site nav a { white-space: nowrap; }
/* 窄屏:顶栏唔准折行(逐字断行会变成一柱字),只缩字号与间距 */
@media (max-width: 560px) {
  header.site { padding: 8px 12px; gap: 8px; }
  header.site .brand img { width: 30px; height: 30px; }
  header.site .brand b { font-size: 15px; letter-spacing: 0; }
  header.site nav { gap: 10px; font-size: 13px; }
  header.site nav a.btn.sm { padding: 7px 12px; font-size: 13px; }
}
header.site nav a { color: var(--muted); }
header.site nav a:hover { color: var(--text); }
header.site nav a.btn.sm { color: #201703; }

/* ── 按钮 ── */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  color: #201703;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 6px 18px #e8b84b33;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); color: #201703; box-shadow: 0 10px 24px #e8b84b44; }
.btn.ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  box-shadow: none;
}
.btn.ghost:hover { color: var(--gold-hi); border-color: var(--gold); }
.btn.sm { padding: 8px 16px; font-size: 14px; }

/* ── 版心 ── */
main { flex: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 20px 16px 40px; }
section + section, article + section { margin-top: 44px; }

.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }

/* ── hero ── */
.hero { padding: 26px 0 6px; }
h1 {
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.25;
  letter-spacing: .5px;
  background: linear-gradient(180deg, #fff 10%, var(--gold-hi) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* 渐变字禁用 text-shadow（会整块变黑），投影一律用 filter */
  filter: drop-shadow(0 3px 10px #000a);
}
.lead { color: #b7c0d8; font-size: 16px; margin-top: 14px; max-width: 780px; }
.ctarow { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.soonnote { margin-top: 14px; color: var(--gold); font-weight: 700; }

h2 { font-size: clamp(20px, 3vw, 26px); margin-bottom: 8px; color: var(--gold-hi); }
/* 正文里的 h2 要同上面按钮拉开距离(否则黐住) */
article > h2, section > h2:first-child { margin-top: 34px; }
h3 { font-size: 17px; margin-bottom: 6px; color: var(--text); }
.sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ── 游戏卡 ── */
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 940px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  position: relative;
  display: block;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  border: 1px solid var(--line);
  color: var(--text);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-dim);
  box-shadow: 0 14px 30px #0006;
  color: var(--text);
}
.card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.card i { display: block; margin-top: 12px; font-style: normal; font-size: 13px; color: var(--gold); }
.card .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  background: #0d122099;
}
.card.soon { opacity: .72; }
.card.soon .badge { color: var(--muted); border-color: var(--line); }

/* ── 三步 ── */
.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 16px 16px 16px 56px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: #201703;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
}
.steps li p { color: var(--muted); font-size: 14px; }

/* ── 问答 ── */
.qa {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.qa + .qa { margin-top: 10px; }
.qa h2, .qa h3 { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.qa p { color: var(--muted); font-size: 14px; }
.more { margin-top: 18px; }

/* ── 规则 ── */
.rules { display: grid; gap: 10px; }
.rules > div {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-dim);
}
.rules dt { font-weight: 700; color: var(--gold-hi); margin-bottom: 4px; }
.rules dd { color: #c2cae0; font-size: 14.5px; }

.xsec { margin-top: 26px; }
.para { color: #b7c0d8; font-size: 15px; line-height: 1.75; }

ul.plain { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; }
ul.plain a { color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: 2px; }
ul.plain a:hover { color: var(--gold); border-color: var(--gold); }

/* ── 页脚 ── */
footer.site {
  border-top: 1px solid var(--line);
  background: #0a0f1a;
  padding: 26px 16px calc(26px + env(safe-area-inset-bottom));
  font-size: 13px;
  color: var(--muted);
}
footer.site .fcols {
  max-width: var(--maxw);
  margin: 0 auto 16px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { footer.site .fcols { grid-template-columns: 1.4fr 1fr 1fr; } }
footer.site b { color: var(--text); font-size: 14px; display: block; margin-bottom: 6px; }
footer.site ul { list-style: none; display: grid; gap: 4px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--gold); }
footer.site .legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 14px;
  border-top: 1px solid #1b2338;
  font-size: 12px;
  color: #6b7391;
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
