@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --ink: #100810;
  --ink2: #1b0f17;
  --ink3: #26171f;
  --pink: #ff0080;
  --mag: #ff00ff;
  --violet: #6c1bff;
  --paper: #f8eef4;
  --muted: #d3b4c6;
  --line: rgba(255, 255, 255, 0.13);
  --r: 18px;
  --pad: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  color: var(--paper);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'Noto Sans SC', 'PingFang SC', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  background: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42vw 42vw at 16% 14%, rgba(255, 0, 128, 0.55), transparent 68%),
    radial-gradient(38vw 38vw at 84% 26%, rgba(255, 0, 255, 0.45), transparent 66%),
    radial-gradient(58vw 58vw at 48% 96%, rgba(108, 27, 255, 0.5), transparent 70%),
    conic-gradient(from 210deg at 50% 50%, rgba(255, 0, 128, 0.28), rgba(255, 0, 255, 0.18), rgba(108, 27, 255, 0.3), rgba(255, 0, 128, 0.28));
  filter: blur(90px) saturate(1.35);
  opacity: 0.5;
  animation: aurora 26s ease-in-out infinite alternate;
}

@keyframes aurora {
  0% { transform: translate3d(-3%, -2%, 0) scale(1.05); filter: blur(90px) hue-rotate(0deg) saturate(1.3); }
  50% { transform: translate3d(2%, 3%, 0) scale(1.14); filter: blur(110px) hue-rotate(26deg) saturate(1.45); }
  100% { transform: translate3d(4%, -3%, 0) scale(1.08); filter: blur(96px) hue-rotate(-22deg) saturate(1.35); }
}

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

p, li, h1, h2, h3, td, th, a, address {
  overflow-wrap: break-word;
  word-break: break-word;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 90;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip:focus { top: 12px; }

/* ---------- 顶部固定区 ---------- */
.stick {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  max-width: 100%;
  background: rgba(16, 8, 16, 0.82);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 0;
  padding-right: 6px;
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.brand-dot {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--pink), var(--mag) 55%, var(--violet));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 8px 20px rgba(255, 0, 128, 0.45);
}

.brand-name {
  font-size: 1.02rem;
  white-space: nowrap;
}

.finder {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.finder-input {
  width: 100%;
  max-width: 260px;
  min-width: 0;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.finder-input::placeholder { color: var(--muted); }
.finder-input:focus {
  border-color: rgba(255, 0, 128, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.25);
}

.burger {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(255, 0, 128, 0.9), rgba(255, 0, 255, 0.85));
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.dock {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) 10px;
}

.dock nav {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dock nav::-webkit-scrollbar { display: none; }

.dock-list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
  max-width: none;
}

.dock-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--paper);
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.dock-list a:hover,
.dock-list a:focus-visible {
  background: linear-gradient(100deg, var(--pink), var(--mag));
  border-color: transparent;
  transform: translateY(-1px);
}

/* ---------- 全屏菜单 ---------- */
.veil {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 72px 20px 32px;
  background: rgba(16, 8, 16, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.veil.open { opacity: 1; visibility: visible; }

.veil-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.veil-inner {
  width: min(560px, 100%);
  max-width: 100%;
  min-width: 0;
}

.veil-brand {
  margin: 0 0 18px;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.veil-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.veil-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  font-size: 1.22rem;
  font-weight: 500;
}
.veil-list a:hover,
.veil-list a:focus-visible { background: rgba(255, 0, 128, 0.18); }

/* ---------- 主区 ---------- */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 28px;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) var(--pad) 0;
}

.stage > * { min-width: 0; }

.hero {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 45vh;
  padding: clamp(30px, 5vw, 58px) clamp(16px, 4vw, 40px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 0, 128, 0.22), rgba(38, 23, 31, 0.5) 55%, rgba(108, 27, 255, 0.24)),
    rgba(20, 11, 18, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(62% 62% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(62% 62% at 50% 50%, #000, transparent);
  opacity: 0.55;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  min-width: 0;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  background: linear-gradient(100deg, #fff 30%, #ffb8dd 60%, #ff9bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 44px rgba(255, 0, 128, 0.35);
}

.subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.collage {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 1;
  pointer-events: none;
}

.shot {
  position: absolute;
  width: min(22%, 208px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(150deg, var(--pink), var(--violet));
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.shot-a { left: 2%; top: 6%; transform: rotate(-7deg); opacity: 0.92; }
.shot-b { right: 2%; bottom: 5%; transform: rotate(6deg); opacity: 0.85; }

/* ---------- 正文 ---------- */
.content {
  grid-column: 1;
  min-width: 0;
  max-width: 100%;
}

.content > * { min-width: 0; max-width: 100%; }

.content div[id] { scroll-margin-top: 132px; }

.content div {
  padding: clamp(26px, 4vw, 46px) 0;
  border-top: 1px solid var(--line);
}
.content div:first-child { border-top: 0; padding-top: 6px; }

.content h2 {
  margin: 0 0 6px;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}

.content h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pink), var(--mag));
}

.content h2 + p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.content h3 {
  margin: 1.7em 0 0.45em;
  font-size: 1.16rem;
  line-height: 1.45;
  color: #ffe4f2;
}

.content p,
.content li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #ecdbe6;
}

.content p { margin: 1em 0; }

.content ul,
.content ol { margin: 1em 0; padding-left: 1.3em; }
.content li { margin: 0.4em 0; }
.content li::marker { color: var(--pink); }

.content a {
  color: #ffa3d2;
  text-decoration: underline;
  text-decoration-color: rgba(255, 163, 210, 0.5);
  text-underline-offset: 3px;
}
.content a:hover { color: #fff; }

.content strong { color: #fff; }

.content blockquote {
  margin: 1.3em 0;
  padding: 16px 20px;
  max-width: 100%;
  border-left: 3px solid var(--pink);
  border-radius: 0 var(--r) var(--r) 0;
  background: rgba(255, 255, 255, 0.06);
  color: #f2dfe9;
}
.content blockquote p { margin: 0.4em 0; }

.content figure {
  margin: 1.4em 0;
  max-width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
}
.content figure img { display: block; width: 100%; border-radius: 0; }

.content img {
  max-width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--line);
}

/* 表格：外层可横向滚动，自身不撑破视口 */
.content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 1.3em 0;
  font-size: 1rem;
}
.content th,
.content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: #ecdbe6;
}
.content th { color: #fff; background: rgba(255, 255, 255, 0.06); }

.content pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px;
  border-radius: var(--r);
  background: rgba(0, 0, 0, 0.42);
}
.content code { overflow-wrap: break-word; }
.content pre code { white-space: pre; }

.content iframe,
.content video { max-width: 100%; }

.content div.off { display: none; }

/* ---------- 侧栏 ---------- */
.rail {
  grid-column: 2;
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 128px;
  overflow: hidden;
  padding: 20px 18px 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 20px 44px rgba(0, 0, 0, 0.4);
}

.rail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--mag), var(--violet));
}

.rail-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.4;
  color: #fff;
}

.rail-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  color: #e7d3df;
  text-decoration: none;
  font-size: 1rem;
}
.rail-list a:hover,
.rail-list a:focus-visible { background: rgba(255, 0, 128, 0.2); color: #fff; }

.rail-top {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  font-size: 1rem;
}
.rail-top:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- 页脚 ---------- */
footer {
  width: 100%;
  max-width: 100%;
  margin-top: clamp(36px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 0, 128, 0.14), rgba(16, 8, 16, 0.95) 60%);
}

.foot-wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px) var(--pad) 26px;
}

.foot-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(120deg, rgba(255, 0, 128, 0.45), rgba(255, 0, 255, 0.28) 48%, rgba(108, 27, 255, 0.42)),
    rgba(38, 23, 31, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.foot-cta h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.02em;
}

.foot-cta .subtitle { color: rgba(255, 255, 255, 0.82); }

.foot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(16, 8, 16, 0.55);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.foot-btn:hover { background: #fff; color: #1b0f17; border-color: #fff; }

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin: 34px 0 26px;
}

.foot-grid > * { min-width: 0; }

.foot-about address {
  margin: 0;
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.foot-col h3 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
}

.foot-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-col a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: #eddbe6;
  text-decoration: none;
  font-size: 1rem;
}
.foot-col a:hover { color: #ff9ecb; }

.foot-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.foot-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.foot-base-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-base-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.foot-base-links a:hover { color: #fff; }

/* ---------- 动效 ---------- */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.rv.in { opacity: 1; transform: none; }

body.lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .dock-list a:hover { transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-column: 1; position: static; }
  .rail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .collage {
    position: static;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 22px;
    order: -1;
  }
  .shot {
    position: static;
    width: 46%;
    max-width: 180px;
    aspect-ratio: 16 / 10;
    transform: none;
    opacity: 1;
  }
  .hero { min-height: 0; padding: 24px 18px 30px; border-radius: 22px; }
  .hero-copy { max-width: none; }
  .finder-input { max-width: none; }
  .content div[id] { scroll-margin-top: 124px; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 0.95rem; }
  .topbar { gap: 8px; padding: 8px 14px; }
  .burger { padding: 0 14px; }
  .dock { padding: 0 14px 8px; }
  .dock-list a { padding: 0 12px; }
  .stage { padding: 14px 14px 0; }
  .foot-wrap { padding-left: 14px; padding-right: 14px; }
  .rail-list { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 16px; }
  .foot-base { justify-content: flex-start; }
  .content blockquote { padding: 14px 16px; }
  .content ul,
  .content ol { padding-left: 1.1em; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
