/* ==========================================================================
   铁公鸡工作室 Never Pay Studio — 官方网站
   Art direction: worn-metal industrial badge × noir case file
   ========================================================================== */

:root {
  --ink: #0b1113;
  --ink-2: #10191c;
  --ink-3: #162226;
  --teal: #1a2b30;
  --teal-brand: #253e43;
  --teal-soft: #2e4a50;
  --amber: #e6a63d;
  --amber-hi: #f4cd7d;
  --amber-deep: #c27c25;
  --rust: #c9742a;
  --paper: #e9dfc7;
  --paper-2: #ded1b4;
  --paper-3: #f3ead6;
  --paper-ink: #201b14;
  --paper-muted: #5c5242;
  --text: #d9cebc;
  --muted: #a59a87;
  --line: rgba(230, 166, 61, 0.18);
  --line-strong: rgba(230, 166, 61, 0.42);
  --font-cn: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-en: "Bahnschrift", "Bahnschrift SemiCondensed", "Oswald", "Arial Narrow", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", "STSong", serif;
  --font-mono: "Consolas", "Cascadia Mono", ui-monospace, "SFMono-Regular", monospace;
  --wrap: 1200px;
  --head-h: 76px;
  --topbar-h: 40px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

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

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

button { font: inherit; color: inherit; }

::selection { background: var(--amber); color: #16110a; }

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

.section-paper :focus-visible,
.legal-page :focus-visible {
  outline-color: #8a4c16;
}

[id] { scroll-margin-top: calc(var(--head-h) + var(--topbar-h) + 12px); }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--amber);
  color: #16110a;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Buttons & small components ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--font-cn);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease),
    border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn-amber {
  color: #17110a;
  border-color: #f0c46c;
  background: linear-gradient(180deg, #efb84f, #d8892c);
  box-shadow: 0 12px 32px rgba(216, 137, 44, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(216, 137, 44, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-amber:active { transform: translateY(0); }

.btn-ghost {
  color: #ede2cf;
  border-color: rgba(232, 220, 200, 0.3);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-hi); background: rgba(230, 166, 61, 0.08); }

.btn-sm { min-height: 42px; padding: 0 18px; font-size: 13px; }

.kicker,
.sec-index {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
}
.kicker { display: flex; align-items: center; gap: 14px; }
.kicker-line { width: 46px; height: 1px; background: var(--amber); opacity: 0.8; }
.sec-index span { color: rgba(217, 206, 188, 0.35); padding: 0 4px; }

.tag {
  display: inline-block;
  padding: 3px 9px;
  background: var(--amber);
  color: #17110a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.tag-wip { background: #6f4a1f; color: #f3d79f; border: 1px solid rgba(230, 166, 61, 0.5); }

.stamp {
  position: absolute;
  right: 22px;
  bottom: 26px;
  display: grid;
  gap: 2px;
  padding: 7px 12px;
  border: 2px solid rgba(214, 82, 58, 0.85);
  outline: 1px solid rgba(214, 82, 58, 0.65);
  outline-offset: -5px;
  color: rgba(230, 118, 95, 0.95);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  line-height: 1.3;
  transform: rotate(-7deg);
  text-transform: uppercase;
  background: rgba(10, 15, 16, 0.28);
  pointer-events: none;
}
.stamp-ink {
  border-color: rgba(158, 58, 38, 0.8);
  outline-color: rgba(158, 58, 38, 0.55);
  color: #9e3a26;
  background: rgba(243, 234, 214, 0.75);
}

/* ---------- Header ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #8a5511, #c07f22 28%, #e6a63d 50%, #c07f22 72%, #8a5511);
  border-bottom: 1px solid rgba(20, 14, 6, 0.4);
}
.topbar-in {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(var(--wrap), calc(100% - 96px));
  margin-inline: auto;
  min-height: 44px;
  color: #17110a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
}
.topbar-chip {
  flex: none;
  padding: 3px 9px;
  background: #17110a;
  color: #f3c96b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.topbar-text { overflow: hidden; text-overflow: ellipsis; }
.topbar-more {
  flex: none;
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(23, 17, 10, 0.55);
}
.topbar-close {
  position: absolute;
  top: 0;
  right: 10px;
  height: 100%;
  min-width: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #17110a;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}
.topbar-close:hover { opacity: 1; }
.topbar-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.topbar-hidden .topbar { display: none; }
.topbar-hidden .site-head { top: 0; }

.site-head {
  position: fixed;
  inset: var(--topbar-h) 0 auto;
  z-index: 60;
  height: var(--head-h);
  border-bottom: 1px solid rgba(230, 166, 61, 0.12);
  background: linear-gradient(180deg, rgba(9, 14, 16, 0.92), rgba(9, 14, 16, 0.55));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: height 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-head.is-scrolled {
  height: 64px;
  background: rgba(9, 14, 16, 0.95);
  border-bottom-color: rgba(230, 166, 61, 0.22);
}
.hero-light .site-head:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(9, 14, 16, 0.97), rgba(9, 14, 16, 0.9));
  border-bottom-color: rgba(230, 166, 61, 0.2);
}

.head-in {
  width: min(var(--wrap), calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(230, 166, 61, 0.45), 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-6deg); box-shadow: 0 0 0 1px var(--amber), 0 8px 22px rgba(0, 0, 0, 0.5); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: grid; line-height: 1.15; }
.brand-cn { font-size: 15px; font-weight: 800; letter-spacing: 0.14em; color: #f0e5d1; }
.brand-en { font-family: var(--font-en); font-size: 9px; letter-spacing: 0.26em; color: #a2917a; margin-top: 3px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #cabfad;
  padding: 8px 0;
  transition: color 0.2s var(--ease);
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="true"] { color: var(--amber-hi); }
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav .nav-cta { margin-left: 6px; }
.site-nav a.lang-switch:not(.btn) {
  padding: 5px 11px;
  border: 1px solid rgba(230, 166, 61, 0.45);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--amber);
  line-height: 1.4;
}
.site-nav a.lang-switch:not(.btn)::after { display: none; }
.site-nav a.lang-switch:not(.btn):hover { border-color: var(--amber-hi); color: var(--amber-hi); background: rgba(230, 166, 61, 0.08); }

/* Games dropdown */
.nav-menu { position: relative; }
.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #cabfad;
  transition: color 0.2s var(--ease);
}
.nav-menu-btn:hover,
.nav-menu.is-open .nav-menu-btn,
.nav-menu.is-current .nav-menu-btn,
.nav-menu.is-section .nav-menu-btn { color: var(--amber-hi); }
.nav-caret { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.25s var(--ease); }
.nav-menu.is-open .nav-caret { transform: rotate(180deg); }
.nav-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 344px;
  transform: translate(-50%, -6px);
  background: #090e10;
  border: 1px solid rgba(230, 166, 61, 0.26);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.nav-menu.is-open .nav-menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
}
.site-nav .nav-game {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  letter-spacing: 0;
  color: #f0e5d1;
}
.site-nav .nav-game::after { display: none; }
.site-nav .nav-game + .nav-game { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.site-nav .nav-game:hover,
.site-nav .nav-game:focus-visible { background: rgba(255, 255, 255, 0.04); color: #f0e5d1; }
.nav-game-name { display: grid; gap: 4px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }
.nav-game-name small {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: #8e8471;
}
.nav-game-state {
  flex: none;
  padding: 4px 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #d9b877;
  border: 1px solid rgba(230, 166, 61, 0.32);
  white-space: nowrap;
}
.nav-game-state.is-zoo { color: #f1a487; border-color: rgba(228, 87, 46, 0.5); background: rgba(228, 87, 46, 0.1); }
.site-nav .nav-game[aria-current="true"] { background: rgba(230, 166, 61, 0.07); }
.site-nav .nav-game[aria-current="true"] .nav-game-name { color: var(--amber-hi); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(230, 166, 61, 0.28);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 1.5px;
  background: #e6dac5;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.site-head.nav-open .nav-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.site-head.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-head.nav-open .nav-toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-slides { display: grid; min-height: 100svh; }
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--head-h) + var(--topbar-h) + 36px) 0 92px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 13, 15, 0.97) 0%, rgba(8, 13, 15, 0.9) 34%, rgba(8, 13, 15, 0.58) 62%, rgba(8, 13, 15, 0.44) 100%),
    linear-gradient(180deg, rgba(8, 13, 15, 0.55) 0%, rgba(8, 13, 15, 0.05) 28%, rgba(8, 13, 15, 0.62) 78%, var(--ink) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.92) contrast(1.06);
  transform: scale(1.02);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.72fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
}

.hero-copy { max-width: 680px; }
.hero-title { margin-top: 20px; }
.title-logo {
  display: block;
  width: min(470px, 76%);
  height: auto;
  filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.55));
}
.hero-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--amber), rgba(230, 166, 61, 0.1));
}

.hero-lead {
  max-width: 33em;
  margin-top: 20px;
  font-size: clamp(15.5px, 1.2vw, 17px);
  line-height: 1.85;
  color: #c9bfae;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-tags li {
  padding: 4px 11px;
  border: 1px solid rgba(230, 166, 61, 0.32);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #d7c9b2;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 520px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(230, 166, 61, 0.22);
}
.hero-stats > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.hero-stats dd {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: #f0e3cb;
  letter-spacing: 0.02em;
}
.hero-stats dt {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #928872;
}

.hero-poster {
  position: relative;
  width: 100%;
  max-width: 380px;
  justify-self: end;
  transform: rotate(-2.2deg);
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.55));
}
.poster-frame {
  position: relative;
  padding: 9px;
  background: #0d1517;
  border: 1px solid rgba(230, 166, 61, 0.34);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7);
}
.poster-frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.tape {
  position: absolute;
  top: -13px;
  z-index: 3;
  width: 96px;
  height: 27px;
  background: linear-gradient(100deg, rgba(233, 223, 199, 0.22), rgba(233, 223, 199, 0.5) 45%, rgba(233, 223, 199, 0.24));
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(1px);
}
.tape-l { left: 18px; transform: rotate(-7deg); }
.tape-r { right: 18px; transform: rotate(6deg); }

.hero-poster figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #b7ab97;
}
.hero-poster figcaption .en { font-family: var(--font-en); color: var(--amber); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(233, 223, 199, 0.55);
}
.scroll-cue svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Hero: ZOO.COM slide ---------- */

.hero-slide-zoo {
  background: #f2f1ea;
  color: #1f2a24;
}
.hero-slide-zoo::before {
  background:
    repeating-linear-gradient(180deg, rgba(36, 53, 43, 0.06) 0 1px, transparent 1px 44px),
    radial-gradient(900px 560px at 82% 26%, rgba(47, 74, 58, 0.08), transparent 70%);
}
.zoo-hero-copy { max-width: 640px; }
.zoo-brandmark { width: 112px; margin-bottom: 26px; opacity: 0.94; }
.zoo-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: #6f7568;
}
.zoo-kicker::before { content: ""; width: 32px; height: 1px; background: #e4572e; }
.zoo-title { margin-top: 16px; }
.zoo-title-en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(54px, 6.8vw, 100px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: #1f2a24;
}
.zoo-title-cn {
  display: block;
  margin-top: 12px;
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 800;
  letter-spacing: 0.34em;
  color: #2f4a3a;
}
.zoo-lead {
  max-width: 30em;
  margin-top: 18px;
  font-size: clamp(14.5px, 1.15vw, 16px);
  line-height: 1.85;
  color: #4d564c;
}
.zoo-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 7px 13px 7px 11px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #8f4a2c;
  border: 1px dashed rgba(228, 87, 46, 0.5);
  background: rgba(228, 87, 46, 0.06);
}
.zoo-state::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #e4572e; }
.btn-zoo { background: #2f4a3a; border-color: #2f4a3a; color: #f6f4ec; }
.btn-zoo:hover { background: #24382c; border-color: #24382c; }
.btn-zoo-ghost { border: 1px solid rgba(47, 74, 58, 0.38); color: #24352b; background: transparent; }
.btn-zoo-ghost:hover { border-color: #2f4a3a; background: rgba(47, 74, 58, 0.06); }
.hero[data-active="1"] .scroll-cue { color: rgba(36, 53, 43, 0.5); }

.zoo-frame {
  justify-self: end;
  width: 100%;
  max-width: 500px;
  position: relative;
  background: #fdfdfa;
  border: 1px solid rgba(36, 53, 43, 0.24);
  box-shadow: 0 26px 60px rgba(36, 53, 43, 0.16), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.zoo-frame-bar,
.zoo-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #6f7568;
}
.zoo-frame-bar { border-bottom: 1px solid rgba(36, 53, 43, 0.16); }
.zoo-frame-bar .dot { color: #2f7a4a; }
.zoo-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.zoo-frame figcaption { border-top: 1px solid rgba(36, 53, 43, 0.12); }

/* ---------- Hero controls ---------- */

.hero-controls {
  position: absolute;
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 24px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(233, 223, 199, 0.6);
  transition: color 0.4s var(--ease);
}
.hero[data-active="1"] .hero-controls { color: #6f7568; }
.hero-counter { min-width: 58px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  background: currentColor;
  opacity: 0.32;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), width 0.25s var(--ease), background 0.2s var(--ease);
}
.hero-dot.is-active { opacity: 1; width: 44px; background: var(--amber); }
.hero[data-active="1"] .hero-dot.is-active { background: #e4572e; }
.hero-arrows { display: flex; gap: 6px; }
.hero-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.hero-arrow:hover { opacity: 1; background: rgba(255, 255, 255, 0.06); }
.hero-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- Reserve dialog ---------- */

.reserve {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(230, 166, 61, 0.32);
  background: #0d1517;
  color: #e6dac5;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
.reserve::backdrop { background: rgba(4, 8, 9, 0.8); backdrop-filter: blur(3px); }
.reserve-in { position: relative; padding: 30px clamp(20px, 3vw, 34px) 28px; }
.reserve-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--amber); }
.reserve h2 { margin-top: 12px; font-size: clamp(22px, 2.4vw, 27px); line-height: 1.3; color: #f0e3cb; }
.reserve > .reserve-in > p { margin-top: 12px; font-size: 13.5px; line-height: 1.85; color: #b3a894; }
.reserve-steps { margin-top: 18px; border-top: 1px solid rgba(230, 166, 61, 0.18); }
.reserve-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(230, 166, 61, 0.1);
  font-size: 13px;
  color: #cfc3ae;
}
.reserve-steps span { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.14em; color: var(--amber); }
.reserve-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.reserve-close { position: absolute; top: 12px; right: 12px; }

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(230, 166, 61, 0.24);
  border-bottom: 1px solid rgba(230, 166, 61, 0.14);
  background: #10181a;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #c3a269;
  white-space: nowrap;
}
.marquee-track i {
  width: 5px;
  height: 5px;
  background: var(--amber);
  transform: rotate(45deg);
  opacity: 0.7;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(80px, 9.5vw, 128px) 0; }
.section-dark {
  background:
    radial-gradient(900px 440px at 82% 0%, rgba(37, 62, 67, 0.5), transparent 65%),
    radial-gradient(700px 380px at 0% 100%, rgba(201, 116, 42, 0.09), transparent 70%),
    var(--ink);
}
.section-paper {
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(180deg, #ece2cb, var(--paper) 40%, #e4d8bd);
  color: var(--paper-ink);
}
.section-teal {
  background:
    radial-gradient(800px 420px at 15% 10%, rgba(74, 114, 122, 0.35), transparent 65%),
    linear-gradient(160deg, #223a40, #1b2e33 60%, #18282c);
  color: #d9e0da;
}

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 62px); }
.sec-head h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: #f1e6d2;
}
.sec-lead {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.9;
  color: var(--muted);
}
.sec-head-ink .sec-index { color: #8e4f16; }
.sec-head-ink .sec-index span { color: rgba(32, 27, 20, 0.3); }
.sec-head-ink h2 { color: var(--paper-ink); }
.sec-head-ink .sec-lead { color: #5c5242; }

/* ---------- Game section ---------- */

.game-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.feature-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid rgba(230, 166, 61, 0.16);
}
.feature-list li:last-child { border-bottom: 1px solid rgba(230, 166, 61, 0.16); }
.feature-list .n {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--amber);
  padding-top: 5px;
}
.feature-list h3 { font-size: 21px; font-weight: 800; letter-spacing: 0.06em; color: #f0e4cf; }
.feature-list p { margin-top: 8px; font-size: 14.5px; line-height: 1.85; color: #a99e8b; }

.shot-frame {
  position: relative;
  padding: 10px;
  background: #0e1618;
  border: 1px solid rgba(230, 166, 61, 0.26);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}
.shot-frame::before,
.shot-frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
}
.shot-frame::before { top: -1px; left: -1px; border-top: 2px solid var(--amber); border-left: 2px solid var(--amber); }
.shot-frame::after { right: -1px; bottom: -1px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); }
.shot-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 4px 2px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #a99d89;
}
.shot-frame .en { font-family: var(--font-en); color: var(--amber); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 30px;
  border-top: 1px solid rgba(230, 166, 61, 0.2);
}
.steps li { position: relative; padding-right: 20px; }
.steps li + li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 8px;
  width: 1px;
  height: calc(100% - 16px);
  background: rgba(230, 166, 61, 0.14);
}
.step-n {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(230, 166, 61, 0.55);
}
.steps h3 { margin-top: 12px; font-size: 18px; font-weight: 800; letter-spacing: 0.08em; color: #eadfca; }
.steps p { margin-top: 6px; font-size: 14px; color: #9d9280; }

/* ---------- Paper / gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: clamp(28px, 3.6vw, 46px);
  align-items: start;
}

.gallery-frame {
  position: relative;
  padding: 10px;
  background: var(--paper-3);
  border: 1px solid rgba(32, 27, 20, 0.32);
  box-shadow: 0 26px 60px rgba(60, 45, 25, 0.24);
}
.gallery-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(32, 27, 20, 0.22);
  background: #111;
}
.gallery-frame img[hidden] { display: none; }
.gallery-panel[hidden] { display: none; }
.gallery-caption { display: flex; gap: 16px; align-items: baseline; margin-top: 20px; }
.gallery-kicker {
  flex: none;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: #8e4f16;
}
.gallery-text { max-width: 54ch; font-size: 14.5px; line-height: 1.8; color: #4b4234; }

.tabs { border-top: 1px solid rgba(32, 27, 20, 0.28); }
.tab {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 17px 14px;
  border: 0;
  border-bottom: 1px solid rgba(32, 27, 20, 0.18);
  background: transparent;
  color: #4b4234;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tab-n {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #6b5e48;
}
.tab-name { display: flex; flex-direction: column; font-size: 17px; font-weight: 800; letter-spacing: 0.04em; }
.tab-name small {
  margin-top: 3px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b5e48;
}
.tab:hover { background: rgba(32, 27, 20, 0.055); }
.tab.is-active { background: #221c15; color: #f1e6d1; }
.tab.is-active .tab-n { color: var(--amber); }
.tab.is-active .tab-name small { color: #c0ad86; }

.modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid rgba(32, 27, 20, 0.28);
}
.mode { padding: 26px 24px 12px 0; border-right: 1px solid rgba(32, 27, 20, 0.14); }
.mode:last-child { border-right: 0; }
.mode-k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #8a5a24;
  text-transform: uppercase;
}
.mode h3 { margin-top: 10px; font-size: 20px; font-weight: 900; letter-spacing: 0.04em; color: var(--paper-ink); }
.mode p { margin-top: 8px; font-size: 13.5px; line-height: 1.8; color: #574c3c; }

/* ---------- World ---------- */

.world-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.world-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  padding: 8px;
  background: #0d1517;
  border: 1px solid rgba(230, 166, 61, 0.3);
}
.world-poster figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #b6aa96;
}
.world-poster .en { margin-left: auto; font-family: var(--font-en); color: var(--amber); }

.world-lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.95; color: #cdc2b0; }

.districts { margin-top: 30px; }
.districts li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(230, 166, 61, 0.16);
}
.districts li:last-child { border-bottom: 1px solid rgba(230, 166, 61, 0.16); }
.d-code { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.16em; color: #8f8370; }
.d-name { font-size: 18px; font-weight: 800; letter-spacing: 0.06em; color: #ece1cd; }
.d-name small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8f8370;
}
.d-status {
  padding: 4px 10px;
  border: 1px solid rgba(230, 166, 61, 0.22);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #938772;
  white-space: nowrap;
}
.d-status.is-open { color: var(--amber-hi); border-color: rgba(230, 166, 61, 0.55); }
.d-status.is-wip { color: var(--amber); border-color: rgba(230, 166, 61, 0.4); }
.world-note { margin-top: 22px; font-size: 11px; letter-spacing: 0.18em; color: #8f8370; }

.act2-banner {
  position: relative;
  margin-top: clamp(46px, 6vw, 72px);
  padding: 8px;
  background: #0d1517;
  border: 1px solid rgba(230, 166, 61, 0.28);
}
.act2-banner img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 32%;
}
.act2-banner figcaption {
  position: absolute;
  left: clamp(20px, 3.4vw, 42px);
  bottom: clamp(20px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 26px 16px 18px;
  background: linear-gradient(90deg, rgba(8, 13, 15, 0.9), rgba(8, 13, 15, 0));
}
.act2-title { font-size: clamp(24px, 3vw, 38px); font-weight: 900; letter-spacing: 0.06em; color: #f4e9d5; }
.act2-banner .en { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.32em; color: var(--amber); }

/* ---------- Studio ---------- */

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.studio-logo img {
  width: 100%;
  border: 1px solid rgba(230, 166, 61, 0.32);
  padding: 9px;
  background: #1a2b30;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}
.studio-logo figcaption {
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #a58d5c;
}

/* ---------- Official mascot ---------- */

.studio-mascot { position: relative; margin: 0; }
.studio-mascot::before {
  content: "";
  position: absolute;
  inset: 8% 4% 12%;
  background: radial-gradient(closest-side, rgba(230, 166, 61, 0.16), transparent 72%);
  filter: blur(6px);
}
.studio-mascot img {
  position: relative;
  display: block;
  width: min(100%, 460px);
  margin-inline: auto;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.5));
}
.studio-mascot figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: fit-content;
  margin: 6px auto 0;
  padding: 7px 14px;
  border: 1px solid rgba(230, 166, 61, 0.4);
  background: rgba(9, 14, 16, 0.55);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #e6d4ae;
}
.studio-mascot figcaption .en {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: #a58d5c;
}

/* ---------- Follow / QR ---------- */

.follow {
  background:
    radial-gradient(800px 400px at 12% 0%, rgba(37, 62, 67, 0.45), transparent 65%),
    var(--ink);
  border-top: 1px solid rgba(230, 166, 61, 0.12);
}
.follow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.follow-card {
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--paper);
  border: 1px solid rgba(32, 27, 20, 0.28);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
  text-align: center;
  transform: rotate(-0.5deg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.follow-card:nth-child(2) { transform: rotate(0.6deg); }
.follow-card:nth-child(3) { transform: rotate(-0.3deg); }
.follow-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 34px 66px rgba(0, 0, 0, 0.46); }
.follow-card img {
  display: block;
  margin-inline: auto;
  width: min(100%, 218px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(32, 27, 20, 0.3);
  background: #f6efdd;
}
.follow-card h3 {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--paper-ink);
}
.follow-card p {
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #6b5e48;
}
.follow-card p span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: #8e4f16;
}

/* ---------- Side widget ---------- */

.side-widget {
  position: fixed;
  right: 18px;
  bottom: 8vh;
  z-index: 55;
  width: 128px;
  padding: 10px 10px 12px;
  background: rgba(12, 18, 21, 0.92);
  border: 1px solid rgba(230, 166, 61, 0.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.side-widget.is-shown { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.side-widget.hidden { display: none; }
.side-widget-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #17110a;
  border: 1px solid rgba(230, 166, 61, 0.55);
  color: #e6a63d;
  opacity: 0.9;
  transition: opacity 0.2s var(--ease);
}
.side-widget-close:hover { opacity: 1; }
.side-widget-close svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2.4; fill: none; }
.side-widget-mascot {
  width: 74px;
  margin: -58px auto 4px;
  display: block;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5));
}
.side-widget-qr {
  padding: 6px;
  background: #f2e7d2;
  border: 1px solid rgba(32, 27, 20, 0.35);
}
.side-widget-qr img { display: block; width: 100%; height: auto; }
.side-widget-label {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f0e5d1;
}
.side-widget-label span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-en);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: #a2917a;
}
.studio-copy .sec-index { color: var(--amber); }
.studio-copy .sec-index span { color: rgba(217, 224, 218, 0.3); }
.studio-copy h2 {
  margin-top: 16px;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #f2e7d2;
}
.studio-en {
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--amber);
}
.studio-copy p:not(.sec-index):not(.studio-en) {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #c3cbc5;
}
.studio-copy .studio-tagline {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 2px solid var(--amber);
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #f2e7d2;
}
.studio-copy .studio-tagline-en {
  margin-top: 10px;
  padding-left: 20px;
  font-family: var(--font-en);
  font-size: 11px;
  line-height: 1.85;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9b877;
}
.values { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.values li {
  padding: 7px 13px;
  border: 1px solid rgba(230, 166, 61, 0.3);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #e6d4ae;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background: #080d0f;
  padding: clamp(80px, 9vw, 120px) 0;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; filter: grayscale(0.35) contrast(1.1); }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 340px at 50% 46%, rgba(201, 116, 42, 0.16), transparent 70%),
    linear-gradient(180deg, #080d0f 0%, rgba(8, 13, 15, 0.55) 40%, rgba(8, 13, 15, 0.82) 100%);
}
.cta-inner { position: relative; z-index: 2; }
.cta-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(230, 166, 61, 0.45), 0 22px 50px rgba(0, 0, 0, 0.55);
}
.cta h2 {
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: #f4e9d5;
}
.cta p { max-width: 560px; margin: 20px auto 0; color: #c4b9a8; font-size: 15.5px; line-height: 1.9; }
.cta .hero-actions { justify-content: center; margin-top: 32px; }
.cta-meta { font-size: 11px !important; letter-spacing: 0.16em; color: #8b8170 !important; margin-top: 26px !important; }

/* ---------- Footer ---------- */

.site-foot {
  background: #070c0e;
  border-top: 1px solid rgba(230, 166, 61, 0.16);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.9fr 1.25fr;
  gap: 40px;
}
.foot-tag { margin-top: 18px; font-size: 13px; letter-spacing: 0.1em; color: #8e8471; }
.foot-tag-en {
  margin-top: 8px;
  max-width: 300px;
  font-family: var(--font-en);
  font-size: 10.5px;
  line-height: 1.9;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8e8471;
}
.foot-col h2 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #8e8471;
  margin-bottom: 12px;
}
.foot-col a,
.foot-col p {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: #cfc4b1;
}
.foot-col p { color: #776e5f; font-size: 12.5px; }
.foot-col a:hover { color: var(--amber-hi); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #776e5f;
}
.foot-bottom .en { font-family: var(--font-en); letter-spacing: 0.24em; color: #5b5448; }

/* ---------- Trailer dialog ---------- */

.trailer {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid rgba(230, 166, 61, 0.36);
  border-radius: 3px;
  background: #0c1214;
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.trailer::backdrop {
  background: rgba(4, 7, 8, 0.84);
  backdrop-filter: blur(6px);
}
.trailer-in { padding: clamp(16px, 2.4vw, 26px); }
.trailer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.trailer-kicker { font-family: var(--font-en); font-size: 10px; letter-spacing: 0.3em; color: var(--amber); }
.trailer-head h2 { margin-top: 6px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; letter-spacing: 0.04em; color: #f0e4cf; }
.dialog-close {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 166, 61, 0.28);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.dialog-close:hover { border-color: var(--amber); background: rgba(230, 166, 61, 0.1); }
.dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.trailer video {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 16px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.trailer-note { margin-top: 10px; font-size: 11px; letter-spacing: 0.12em; color: #8e8471; }

/* ---------- Legal pages ---------- */

.legal-page { background: var(--paper); color: var(--paper-ink); }

.legal-hero {
  position: relative;
  padding: calc(var(--head-h) + var(--topbar-h) + 64px) 0 52px;
  background:
    radial-gradient(760px 360px at 80% 0%, rgba(37, 62, 67, 0.55), transparent 65%),
    var(--ink);
  color: var(--text);
  overflow: hidden;
}
.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 166, 61, 0.5), transparent);
}
.legal-breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #8e8471;
}
.legal-breadcrumb a:hover { color: var(--amber-hi); }
.legal-hero h1 {
  margin-top: 18px;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #f2e7d2;
}
.legal-hero p.lead {
  max-width: 720px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: #b5aa97;
}
.legal-hero .meta { margin-top: 16px; font-size: 12px; letter-spacing: 0.08em; color: #8e8471; }

.legal-section { padding: 56px 0 96px; }
.legal-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.legal-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.legal-card {
  display: block;
  padding: 30px 28px;
  background: var(--paper-3);
  border: 1px solid rgba(32, 27, 20, 0.25);
  box-shadow: 0 20px 46px rgba(60, 45, 25, 0.14);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.legal-card:hover { transform: translateY(-3px); border-color: rgba(138, 76, 22, 0.55); box-shadow: 0 26px 56px rgba(60, 45, 25, 0.2); }
.legal-card .no {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #8e4f16;
}
.legal-card h2 { margin: 12px 0 8px; font-size: 25px; font-weight: 900; color: var(--paper-ink); }
.legal-card p { font-size: 14px; line-height: 1.8; color: #5b5142; }
.legal-card .more { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 700; color: #8a4c16; }

.legal-contact {
  margin-top: 40px;
  padding: 26px 28px;
  border: 1px solid rgba(32, 27, 20, 0.22);
  background: rgba(243, 234, 214, 0.55);
}
.legal-contact h2 { font-size: 18px; color: var(--paper-ink); margin-bottom: 10px; }
.legal-contact p { font-size: 14px; color: #5b5142; margin-top: 4px; }
.legal-contact a { color: #8a4c16; text-decoration: underline; text-underline-offset: 3px; }

.legal-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--head-h) + 26px);
  padding-left: 18px;
  border-left: 2px solid #b98a45;
}
.toc-title {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: #8a5a24;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.toc ol { counter-reset: toc; }
.toc li { margin: 7px 0; }
.toc a {
  font-size: 13px;
  line-height: 1.55;
  color: #5b5142;
  display: block;
  padding: 2px 0;
  transition: color 0.18s var(--ease);
}
.toc a:hover,
.toc a.is-active { color: #221c15; }
.toc a.is-active { font-weight: 700; }
.top-link { display: inline-block; margin-top: 16px; font-size: 12px; color: #8a5a24; }
.top-link:hover { color: #221c15; }
.toc-mobile { display: none; }

.paper {
  display: block;
  padding: clamp(26px, 4vw, 54px);
  background: var(--paper-3);
  border: 1px solid rgba(32, 27, 20, 0.24);
  box-shadow: 0 24px 60px rgba(60, 45, 25, 0.16);
}
.doc-head { padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid rgba(32, 27, 20, 0.2); }
.doc-head .eyebrow {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: #8a5a24;
  text-transform: uppercase;
}
.doc-head h1,
.doc-title { margin-top: 10px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; color: var(--paper-ink); letter-spacing: 0.03em; }
.doc-en { margin-top: 6px; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.3em; color: #6b5e48; text-transform: uppercase; }
.doc-head .meta { margin-top: 14px; font-size: 12px; color: #6b5f4c; letter-spacing: 0.04em; }

.doc-body { font-family: var(--font-serif); font-size: 16px; line-height: 1.9; color: #332b20; }
.doc-body h2 {
  margin: 38px 0 12px;
  padding-left: 14px;
  border-left: 3px solid #b98a45;
  font-family: var(--font-cn);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--paper-ink);
  letter-spacing: 0.02em;
}
.doc-body h3 { margin: 26px 0 8px; font-family: var(--font-cn); font-size: 17px; font-weight: 700; color: var(--paper-ink); }
.doc-body p { margin: 0 0 13px; }
.doc-body ul,
.doc-body ol { margin: 0 0 16px; padding-left: 1.5em; list-style: disc; }
.doc-body ol { list-style: decimal; }
.doc-body li { margin: 6px 0; }
.doc-body a { color: #8a4c16; text-decoration: underline; text-underline-offset: 3px; }
.doc-body strong { color: var(--paper-ink); }
.doc-body .eyebrow {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #8a5a24;
  text-transform: uppercase;
}
.doc-body .lead { font-size: 17px; line-height: 1.9; color: #3c3327; }
.doc-body .notice {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 3px solid #b98a45;
  background: #e8d8b7;
  font-size: 14px;
  line-height: 1.8;
}
.table-wrap { margin: 18px 0; overflow-x: auto; }
.doc-body table { width: 100%; border-collapse: collapse; font-family: var(--font-cn); font-size: 13.5px; }
.doc-body th,
.doc-body td { padding: 10px 12px; border: 1px solid rgba(32, 27, 20, 0.22); text-align: left; vertical-align: top; }
.doc-body th { background: #e7d8bb; color: var(--paper-ink); font-weight: 700; }
.contact-card {
  margin: 18px 0;
  padding: 20px 22px;
  background: #e8d8b7;
  border: 1px solid rgba(32, 27, 20, 0.18);
  font-family: var(--font-cn);
  font-size: 14px;
  line-height: 1.9;
}
.contact-card .label { font-weight: 700; color: var(--paper-ink); }
.doc-foot {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(32, 27, 20, 0.2);
  font-family: var(--font-cn);
  font-size: 12px;
  color: #6b5f4c;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr); gap: 40px; }
  .hero-poster { max-width: 320px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-grid .foot-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 1140px) {
  .side-widget { display: none; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: calc(var(--topbar-h) + var(--head-h)) 0 auto;
    z-index: 59;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 18px 24px 26px;
    background: #090e10;
    border-bottom: 1px solid rgba(230, 166, 61, 0.24);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  }
  .site-head.is-scrolled .site-nav { inset-block-start: calc(var(--topbar-h) + 64px); }
  .topbar-hidden .site-nav { inset-block-start: var(--head-h); }
  .topbar-hidden .site-head.is-scrolled .site-nav { inset-block-start: 64px; }
  .site-head.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav a:not(.btn) { min-height: 48px; display: flex; align-items: center; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .site-nav .nav-cta { margin: 14px 0 0; align-self: stretch; }
  .nav-menu { position: static; }
  .nav-menu-btn {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    padding: 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
  }
  .nav-caret { display: none; }
  .nav-menu-panel {
    position: static;
    width: 100%;
    transform: none;
    margin: 4px 0 8px;
    padding-left: 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-menu.is-open .nav-menu-panel { transform: none; }
  .site-nav .nav-game { min-height: 44px; padding: 8px 6px 8px 12px; }
  .site-nav .nav-game + .nav-game { border-top: 1px solid rgba(255, 255, 255, 0.05); }
  .site-nav .nav-game::after { display: none; }
  .nav-game-name { font-size: 14px; }
  .nav-game-name small { font-size: 8.5px; }
  .nav-game-state { font-size: 8.5px; }

  .hero-slides { min-height: auto; }
  .hero-slide { padding: calc(var(--head-h) + var(--topbar-h) + 72px) 0 90px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-poster { display: none; }
  .zoo-frame { display: none; }
  .hero-copy { max-width: 640px; }
  .scroll-cue { display: none; }
  .hero-controls { right: 18px; }

  .game-grid { grid-template-columns: minmax(0, 1fr); }
  .shot-frame { order: -1; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .tab { border: 1px solid rgba(32, 27, 20, 0.2); }
  .tab.is-active { border-color: #221c15; }
  .tab-name small { display: none; }
  .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode:nth-child(2) { border-right: 0; }
  .mode:nth-child(n + 3) { border-top: 1px solid rgba(32, 27, 20, 0.14); }
  .world-grid { grid-template-columns: minmax(0, 1fr); }
  .world-poster { max-width: 420px; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .studio-logo { max-width: 640px; }
  .studio-mascot { max-width: 440px; margin-inline: auto; }
  .follow-grid { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .side-widget { display: none; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .toc-mobile {
    display: block;
    margin-bottom: 22px;
    padding: 14px 18px;
    background: var(--paper-3);
    border: 1px solid rgba(32, 27, 20, 0.24);
    font-size: 13px;
  }
  .toc-mobile summary { cursor: pointer; font-weight: 700; color: #8a5a24; }
  .toc-mobile ol { margin-top: 12px; padding-left: 1.4em; list-style: decimal; }
  .toc-mobile li { margin: 5px 0; }
  .toc-mobile a { color: #5b5142; }
  .legal-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .wrap,
  .head-in,
  .legal-wrap { width: calc(100% - 36px); }
  .section { padding: 70px 0; }
  .hero-slide { padding-top: calc(var(--head-h) + var(--topbar-h) + 56px); }
  .zoo-brandmark { width: 88px; margin-bottom: 20px; }
  .hero-controls { left: 18px; right: 18px; justify-content: space-between; }
  .hero-arrows { gap: 4px; }
  .topbar-in { width: calc(100% - 88px); gap: 8px; font-size: 12.5px; }
  .topbar-more { display: none; }
  .title-logo { width: min(340px, 82%); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  .hero-stats dd { font-size: 26px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .steps li { padding: 0 0 22px; border-bottom: 1px solid rgba(230, 166, 61, 0.12); }
  .steps li + li::before { display: none; }
  .steps li:last-child { border-bottom: 0; padding-bottom: 0; }
  .step-n { font-size: 32px; }
  .gallery-caption { flex-direction: column; gap: 6px; }
  .modes { grid-template-columns: minmax(0, 1fr); }
  .mode { border-right: 0; border-top: 1px solid rgba(32, 27, 20, 0.14); padding: 22px 0 6px; }
  .mode:first-child { border-top: 0; }
  .act2-banner img { aspect-ratio: 16 / 9; }
  .act2-banner figcaption { left: 12px; bottom: 12px; padding: 12px 18px 12px 12px; }
  .districts li { grid-template-columns: 50px minmax(0, 1fr); row-gap: 6px; }
  .d-status { grid-column: 2; justify-self: start; }
  .cta .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .foot-grid .foot-brand { grid-column: 1 / -1; }
  .foot-grid .foot-col:last-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; }
  .legal-section { padding: 36px 0 72px; }
  .legal-hero { padding-top: calc(var(--head-h) + var(--topbar-h) + 44px); padding-bottom: 36px; }
  .paper { padding: 24px 18px; }
  .doc-body { font-size: 15.5px; }
}

@media (max-width: 420px) {
  .brand-cn { font-size: 13px; letter-spacing: 0.1em; }
  .brand-en { font-size: 8px; }
  .brand-mark { width: 40px; height: 40px; }
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .tab { padding: 14px 12px; }
  .tab-name { font-size: 15px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .scroll-cue svg { animation: none; }
  .brand:hover .brand-mark { transform: none; }
  .btn,
  .legal-card { transition: none; }
  .hero-bg img { transform: none; }
}
