/* 九节狼科技官网 · 站点样式
 *
 * 色板沿用全局美术基线 art/01 §5「清透庭院」方向，并补入官网需要的深青与鎏金：
 *   宣纸底 #F7F2E6 / 绛红 #7A2B24 / 青绿 #4A8070 / 深墨 #254D47 / 鎏金 #C99A2E
 * 零位图、零脚本、零外部字体：首页的庭院与棋子全部由 CSS 与内联 SVG 构成。
 */

:root {
  --paper: #F7F2E6;
  --paper-soft: #FBF8EF;
  --paper-deep: #F1EEE3;
  --ink: #254D47;
  --title: #7A2B24;
  --accent: #4A8070;
  --accent-deep: #1E4B43;
  --gold: #C99A2E;
  --gold-ink: #7A5C18;
  --rule: #D9CFB8;
  --muted: #5C6B66;
  --night: #102F2B;
  --night-2: #17453D;
  --cream: #F4EBD8;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

img, svg { display: block; max-width: 100%; }

/* ---------------------------------------------------------------- 文档页
 * 《隐私政策》《用户协议》《404》沿用原有阅读版式。
 * 选择器限定在 .wrap 内，避免影响官网首页的标题与段落节奏。
 */

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

header.site {
  border-bottom: 2px solid var(--rule);
  padding-bottom: 16px;
  margin-bottom: 28px;
}

header.site h1 {
  margin: 0 0 6px;
  color: var(--title);
  font-size: 26px;
  letter-spacing: 1px;
}

header.site .meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

nav.doc-nav {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

nav.doc-nav a {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
}

nav.doc-nav a:hover,
nav.doc-nav a:focus {
  background: var(--accent);
  color: #fff;
}

.wrap h2 {
  color: var(--title);
  font-size: 19px;
  margin: 34px 0 12px;
  padding-left: 11px;
  border-left: 4px solid var(--accent);
  line-height: 1.5;
}

.wrap h3 {
  font-size: 16px;
  color: var(--ink);
  margin: 22px 0 8px;
}

.wrap p,
.wrap li { font-size: 15px; }

.wrap ul,
.wrap ol { padding-left: 24px; }

.wrap li { margin: 5px 0; }

.wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 14px;
}

.wrap th,
.wrap td {
  border: 1px solid var(--rule);
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
}

.wrap th {
  background: rgba(74, 128, 112, 0.1);
  color: var(--ink);
  font-weight: 600;
}

.kv td:first-child {
  white-space: nowrap;
  color: var(--muted);
  width: 30%;
}

.placeholder {
  background: rgba(183, 58, 50, 0.09);
  border: 1px dashed #B73A32;
  border-radius: 4px;
  padding: 12px 14px;
  margin: 16px 0;
  color: var(--title);
  font-size: 14px;
}

.card {
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 18px 20px;
  margin: 16px 0;
}

.card h3 { margin-top: 0; }

.entry {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 14px 0;
}

.entry:hover,
.entry:focus {
  border-left-color: var(--title);
  background: #fff;
}

.entry .t {
  display: block;
  color: var(--title);
  font-size: 17px;
  margin-bottom: 4px;
}

.entry .d {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

footer.site {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

code {
  background: rgba(37, 77, 71, 0.08);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 13px;
}

/* ---------------------------------------------------------------- 官网通用 */

.home {
  background: var(--paper);
}

.home a {
  color: inherit;
  text-decoration: none;
}

.home a:focus-visible,
.home button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--night);
  color: var(--cream);
  border-radius: 4px;
}

.skip-link:focus {
  left: 12px;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* 亮金在宣纸底上对比度不足（约 2.3:1），浅色区块改用深一档的鎏金 */
.section .eyebrow {
  color: var(--gold-ink);
}

.hero .eyebrow,
.belief .eyebrow {
  color: var(--gold);
}

.section {
  padding: 104px 0;
}

/* id 放在 .section-inner（内容起点）上，跳转直接对齐内容顶端，
 * 不再把 section 的 104px 上内边距算进去 */
.section-inner[id] {
  scroll-margin-top: 92px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-head {
  max-width: 640px;
}

.section-head h2 {
  margin: 14px 0 18px;
  color: var(--title);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.22;
}

.section-head > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cream);
  color: var(--night);
}

.btn-primary:hover {
  background: #fff;
}

.btn-ghost {
  border-color: rgba(244, 235, 216, 0.42);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* body.home a 的颜色继承优先级高于 .btn-*，这里显式把按钮文字色拿回来。
 * 不改成 .home a:not(.btn) 的原因：那会连带压掉 .compliance-links a 等页内链接色。 */
.home a.btn-primary { color: var(--night); }
.home a.btn-primary:hover { color: var(--night); }
.home a.btn-ghost { color: var(--cream); }
.home a.btn-ghost:hover { color: var(--gold); }

/* ---------------------------------------------------------------- 顶部导航 */

.home-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 242, 230, 0.94);
  border-bottom: 1px solid rgba(217, 207, 184, 0.7);
  backdrop-filter: blur(12px);
}

.home-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-seal {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--title);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(244, 235, 216, 0.28), 0 6px 16px rgba(122, 43, 36, 0.22);
}

.brand-text strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 26px;
  font-size: 14px;
}

.home-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  transition: color 0.2s ease;
}

.home-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s ease;
}

.home-nav a:hover,
.home-nav a:focus-visible {
  color: var(--ink);
}

.home-nav a:hover::after,
.home-nav a:focus-visible::after {
  right: 0;
}

/* ---------------------------------------------------------------- 首屏 */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 154, 46, 0.16), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(79, 168, 164, 0.14), transparent 40%),
    linear-gradient(142deg, #0C2825 0%, #153F38 52%, #1D5449 100%);
  color: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(244, 235, 216, 0.13) 1px, transparent 0);
  background-size: 34px 34px;
  opacity: 0.32;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(201, 154, 46, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px 104px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.hero-copy .eyebrow {
  color: var(--gold);
}

.hero h1 {
  margin: 18px 0 26px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(46px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.hero-lead {
  max-width: 36em;
  margin: 0 0 34px;
  color: rgba(244, 235, 216, 0.8);
  font-size: 17px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 235, 216, 0.16);
}

.hero-facts div {
  padding-right: 20px;
}

.hero-facts dt {
  margin-bottom: 6px;
  color: rgba(244, 235, 216, 0.52);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.hero-facts dd {
  margin: 0;
  color: var(--cream);
  font-size: 15px;
  line-height: 1.6;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art svg {
  width: min(100%, 540px);
  height: auto;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.26));
}

.hero-halo { fill: rgba(244, 235, 216, 0.035); }
.hero-ring { fill: none; stroke: rgba(201, 154, 46, 0.2); stroke-width: 1; }
.hero-ring-2 { stroke: rgba(244, 235, 216, 0.1); }

.hero-grid path {
  fill: none;
  stroke: rgba(244, 235, 216, 0.09);
  stroke-width: 1;
}

.node-links path {
  fill: none;
  stroke: rgba(244, 235, 216, 0.22);
  stroke-width: 1.5;
}

.node-links .link-gold {
  stroke: rgba(201, 154, 46, 0.42);
}

.node {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 6.5s ease-in-out infinite;
}

.node circle {
  fill: rgba(244, 235, 216, 0.08);
  stroke: rgba(244, 235, 216, 0.56);
  stroke-width: 2;
}

.node-1 circle,
.node-3 circle,
.node-7 circle,
.node-9 circle {
  fill: rgba(74, 128, 112, 0.58);
  stroke: rgba(244, 235, 216, 0.72);
}

.node-2 circle,
.node-8 circle {
  fill: rgba(201, 154, 46, 0.72);
  stroke: rgba(244, 235, 216, 0.72);
}

.node-4 circle,
.node-6 circle {
  fill: rgba(244, 235, 216, 0.14);
}

.node-2 { animation-delay: -1.1s; }
.node-3 { animation-delay: -2.2s; }
.node-4 { animation-delay: -3.3s; }
.node-6 { animation-delay: -4.4s; }
.node-7 { animation-delay: -5.5s; }
.node-8 { animation-delay: -1.8s; }
.node-9 { animation-delay: -2.9s; }

.core rect {
  fill: var(--title);
  stroke: rgba(201, 154, 46, 0.78);
  stroke-width: 2;
}

.core text {
  fill: var(--cream);
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
}

.spark { fill: rgba(201, 154, 46, 0.82); }

@keyframes node-pulse {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* ---------------------------------------------------------------- 关于 */

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start;
}

.about-copy {
  padding-top: 34px;
}

.about-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.about-copy p strong {
  color: var(--ink);
  font-weight: 600;
}

.about-points {
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.about-points li {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.about-points strong {
  color: var(--title);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.about-points span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.pull-quote {
  margin: 64px 0 0;
  padding: 26px 32px;
  border-left: 3px solid var(--gold);
  background: var(--paper-soft);
  color: var(--title);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 30px);
  letter-spacing: 0.04em;
  line-height: 1.65;
}

/* ---------------------------------------------------------------- 研发方向 */

.capabilities {
  background: var(--paper-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.capability-card {
  padding: 30px 28px;
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-radius: 16px;
}

.capability-num {
  margin: 0 0 18px;
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
}

.capability-card h3 {
  margin: 0 0 10px;
  color: var(--title);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.capability-card p:not(.capability-num) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.capability-tags li {
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--accent-deep);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------------------------------------------------------------- 产品 */

.work {
  background: var(--paper-deep);
}

.work-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  overflow: hidden;
  background: #FFFDF7;
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(37, 77, 71, 0.09);
}

.product-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 52px 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, #245A4F 0%, #123B35 58%, #0C2B27 100%);
  color: var(--cream);
}

.product-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(201, 154, 46, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(244, 235, 216, 0.14) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.22;
}

.product-visual > * {
  position: relative;
  z-index: 1;
}

.tile-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.game-tile {
  width: clamp(40px, 13vw, 72px);
  height: clamp(40px, 13vw, 72px);
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #F4EBD8;
  font-family: var(--font-display);
  font-size: clamp(18px, 5.2vw, 27px);
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 12px 26px rgba(0, 0, 0, 0.2);
}

.gt-lantern { background: linear-gradient(155deg, #C75A4F, #9E3730); }
.gt-coin { background: linear-gradient(155deg, #DDB24B, #B3831F); }
.gt-celadon { background: linear-gradient(155deg, #5FBBB6, #3E8F8B); }
.gt-bamboo { background: linear-gradient(155deg, #86A45E, #5B7739); }
.gt-koi { background: linear-gradient(155deg, #5083A5, #305B78); }

.tile-caption {
  margin: 0;
  text-align: center;
  color: rgba(244, 235, 216, 0.62);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.product-tagline {
  margin: 2px 0 0;
  text-align: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.product-body {
  padding: 54px 56px 48px;
}

.product-body .eyebrow {
  color: var(--accent-deep);
}

.product-body h3 {
  margin: 10px 0 8px;
  color: var(--title);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.3;
}

.product-sub {
  margin: 0 0 22px;
  color: var(--accent-deep);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.product-intro {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 32px;
  margin-top: 32px;
}

.product-feature h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.product-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.product-note {
  margin: 32px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* ---------------------------------------------------------------- 做法 */

.belief {
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 154, 46, 0.13), transparent 38%),
    linear-gradient(150deg, #0E2B27 0%, #163F38 100%);
  color: var(--cream);
}

.belief .section-head h2 { color: var(--cream); }
.belief .section-head > p:last-child { color: rgba(244, 235, 216, 0.64); }

.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.belief-card {
  padding: 32px 28px 34px;
  border: 1px solid rgba(244, 235, 216, 0.14);
  border-radius: 16px;
  background: rgba(244, 235, 216, 0.04);
}

.belief-num {
  margin: 0 0 20px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
}

.belief-card h3 {
  margin: 0 0 10px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.belief-card p:last-child {
  margin: 0;
  color: rgba(244, 235, 216, 0.68);
  font-size: 14px;
  line-height: 1.85;
}

.slogan-band {
  margin: 68px 0 0;
  padding-top: 42px;
  border-top: 1px solid rgba(244, 235, 216, 0.14);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(27px, 3.8vw, 46px);
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
}

/* ---------------------------------------------------------------- 联系 */

.contact {
  background: var(--paper);
}

.contact-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  background: linear-gradient(135deg, #FFFDF7 0%, #F4F0E4 100%);
  border: 1px solid var(--rule);
  border-radius: 18px;
}

.contact-copy h2 {
  margin: 14px 0 18px;
  color: var(--title);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.25;
}

.contact-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.contact-list {
  margin: 0;
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.contact-list dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.contact-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  word-break: break-all;
}

.contact-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ---------------------------------------------------------------- 页脚 */

.home-footer {
  padding: 64px 0 30px;
  background: #0C2622;
  color: rgba(244, 235, 216, 0.6);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244, 235, 216, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer-brand p {
  margin: 3px 0 0;
  color: rgba(244, 235, 216, 0.5);
  font-size: 12px;
}

.footer-brand .brand-seal {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 21px;
  box-shadow: inset 0 0 0 1px rgba(244, 235, 216, 0.24);
}

.footer-copy {
  margin: 0;
  color: rgba(244, 235, 216, 0.5);
  font-size: 12px;
  line-height: 1.8;
}

/* 参考百度底部：政策链接 + 备案/许可证号预留位 */
.compliance-footer {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 18px;
  color: rgba(244, 235, 216, 0.46);
  font-size: 12px;
  line-height: 1.8;
}

.compliance-links,
.compliance-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin: 0;
  padding: 0;
}

.compliance-links a {
  color: rgba(244, 235, 216, 0.64);
  transition: color 0.2s ease;
}

.compliance-links a:hover {
  color: var(--gold);
}

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 28px 80px;
  }

  .hero-art {
    order: 2;
    max-width: 460px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-copy {
    padding-top: 0;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-visual {
    padding: 44px 28px;
  }

  .product-body {
    padding: 44px 36px 40px;
  }

  .belief-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 42px 34px;
  }
}

@media (max-width: 720px) {
  .home-header-inner {
    padding: 13px 20px;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .brand-seal {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 21px;
  }

  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 8px; }

  .home-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 6px 18px;
    font-size: 13px;
  }

  .section { padding: 72px 0; }
  .section-inner { padding: 0 20px; }
  .section-head > p:last-child { font-size: 15px; }

  /* 移动端导航会换成两行，锚点跳转要给 sticky header 留出真实高度 */
  .section-inner[id] { scroll-margin-top: 124px; }

  .hero-inner { padding: 56px 20px 64px; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 52px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { margin-bottom: 40px; }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-facts div { padding-right: 0; }

  .about-points li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .pull-quote {
    margin-top: 44px;
    padding: 20px 22px;
  }

  .product-visual { padding: 36px 20px; }
  .product-body { padding: 36px 24px 32px; }

  .product-features {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .game-tile {
    border-radius: 16px;
  }

  .slogan-band {
    margin-top: 48px;
    padding-top: 32px;
    letter-spacing: 0.07em;
  }

  .contact-card { padding: 32px 22px; }
  .contact-copy > p:last-child { font-size: 14px; }

  .capability-card { padding: 26px 22px; }

  .footer-inner { padding: 0 20px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 419px) {
  /* 420px 以下 6 个导航项折成两行，header 约 153px */
  .section-inner[id] { scroll-margin-top: 168px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
