/* ==========================================================================
   万达娱乐 · 皮肤层 01 / settings
   设计令牌、重置、基础排版、极少量工具类。
   命名规则：wd- 前缀 + 单短横块名（.wd-card / .wd-card-hd），状态统一用 .is-*。
   ========================================================================== */

:root {
  /* 底与面 */
  --ink: #08060c;
  --ink-2: #0d0a15;
  --panel: #12101c;
  --panel-2: #191527;
  --panel-3: #221c33;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);

  /* 字 */
  --text: #efeaf8;
  --text-2: #b6aec7;
  --mute: #8a839c;

  /* 街机霓虹 */
  --neon: #d8ff3e;
  --neon-2: #a6c926;
  --hot: #ff2f7d;
  --cool: #39e6ff;
  --amber: #ffb703;

  /* 尺寸 */
  --rail: 96px;
  --maxw: 1180px;
  --gap: 22px;
  --r: 6px;
  --r-lg: 14px;

  /* 字体 */
  --ff: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --lf: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  /* 阴影与动效 */
  --glow-neon: 0 0 0 1px rgba(216, 255, 62, 0.4), 0 0 26px rgba(216, 255, 62, 0.16);
  --glow-hot: 0 0 22px rgba(255, 47, 125, 0.22);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

/* [hidden] 必须压过本层各处的 display:grid / flex，筛选与页签切换全靠它 */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.75;
  background-color: var(--ink);
  background-image:
    radial-gradient(640px 420px at 88% -8%, rgba(255, 47, 125, 0.16), transparent 70%),
    radial-gradient(760px 460px at 4% 4%, rgba(57, 230, 255, 0.1), transparent 72%),
    radial-gradient(900px 700px at 50% 120%, rgba(216, 255, 62, 0.07), transparent 70%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* CRT 扫描线 + 细网格，仅装饰 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 3px, 64px 64px, 64px 64px;
  opacity: 0.65;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

a:hover { color: var(--neon); }

img, svg { display: block; max-width: 100%; height: auto; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

::selection {
  background: var(--neon);
  color: #0a0710;
}

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 站点骨架 ---------- */
.wd-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
}

.wd-main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 34px 0 calc(var(--rail) + 34px);
}

.wd-wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---------- 通用排版件 ---------- */
.wd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lf);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--neon);
}

.wd-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.wd-led {
  text-shadow: 0 0 18px rgba(216, 255, 62, 0.35);
}

.wd-mono {
  font-family: var(--lf);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mute);
}

.wd-mt { margin-top: 22px; }
.wd-mt-s { margin-top: 12px; }
.wd-mt-0 { margin-top: 0; }

.wd-hi { color: var(--neon); }
.wd-mut { color: var(--text-2); }
.wd-num { font-family: var(--lf); color: var(--neon); }

.wd-lead {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.9;
}

.wd-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wd-skip {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 90;
  padding: 10px 16px;
  background: var(--neon);
  color: #0a0710;
  font-weight: 700;
  border-radius: 0 0 var(--r) var(--r);
  transition: top 0.2s var(--ease);
}

.wd-skip:focus { top: 0; color: #0a0710; }

/* 滚动揭示：仅脚本可用时隐藏，保证无脚本可读 */
.wd-js [data-wd-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.wd-js [data-wd-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .wd-js [data-wd-reveal] { opacity: 1; transform: none; }
}
