/* ============================================================
   未知鹿官网 · 基础层
   reset / 设计 token / 通用组件
   字体：仅使用浏览器 / 系统默认字体，不加载任何 webfont
   ============================================================ */

:root {
  --ink: #11141d;
  --text: #1d1d1f;
  --body: #666666;
  --muted: #777781;
  --purple: #6550b2;
  --purple-soft: #8b7bd3;
  --purple-card: #7059c4;
  --bg-gray: #f8f8f8;
  --line: #ecebf1;
  --line-soft: #eae8f0;

  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-btn: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Snell Roundhand", "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 通用按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  font-family: var(--font-btn);
  font-weight: 300;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn--primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 6px rgba(101, 80, 178, 0.25);
}

.btn--outline {
  border: 1px solid rgba(29, 29, 31, 0.7);
  color: var(--ink);
}

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

.btn--primary:hover {
  background: #5a46a3;
  box-shadow: 0 6px 18px rgba(101, 80, 178, 0.28);
}

.btn--outline:hover {
  background: rgba(17, 20, 29, 0.04);
}

.btn:active {
  transform: translateY(0);
}

/* ---------- 通用文本 ---------- */

.eyebrow {
  color: var(--purple);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
}

.section-sub {
  color: var(--body);
}

.section-head {
  display: flex;
  flex-direction: column;
}

.section-head > * + * {
  margin-top: 8px;
}

.section-head--center {
  align-items: center;
  text-align: center;
}

.subsection-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
}

.subsection-sub {
  color: var(--muted);
}

.game-art picture {
  display: block;
  width: 100%;
  height: 100%;
}

.br-mobile {
  display: none;
}

/* 手写体签名 */
.signature-script {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--purple-soft);
  line-height: 1;
}

.signature-note {
  display: block;
  color: #7c708e;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
