/* 播色网 · 极光深棕皮肤 */
:root {
  --red: #ff0000;
  --rose: #ff1493;
  --ink: #261717;
  --ink-deep: #1a0f0f;
  --text: #f8eeee;
  --dim: #c9a9ae;
  --line: rgba(255, 170, 190, 0.16);
  --soft: rgba(255, 255, 255, 0.05);
  --rail: 264px;
  --sans: "Raleway", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Lora", "Songti SC", "Noto Serif SC", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink-deep);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background:
    linear-gradient(180deg, #1c1010 0%, #261717 38%, #1b0f0f 100%);
  padding-left: var(--rail);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.24;
  margin: 0 0 0.7em;
}

/* 极光层 */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(38% 46% at 16% 18%, rgba(255, 0, 0, 0.34), transparent 68%),
    radial-gradient(44% 44% at 82% 12%, rgba(255, 20, 147, 0.34), transparent 68%),
    radial-gradient(50% 52% at 74% 84%, rgba(255, 0, 70, 0.24), transparent 70%),
    radial-gradient(40% 42% at 22% 88%, rgba(255, 20, 147, 0.2), transparent 70%);
  filter: blur(34px) saturate(1.25);
  animation: drift 11s ease-in-out infinite alternate;
}

.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 200, 215, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(90% 70% at 50% 0%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 0%, #000 10%, transparent 80%);
}

@keyframes drift {
  from { transform: translate3d(-2.5%, -1.5%, 0) scale(1); }
  to { transform: translate3d(2.5%, 2%, 0) scale(1.1); }
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 首屏 */
.hero {
  position: relative;
  min-height: 45vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 2.2rem;
  align-items: center;
  padding: 3.2rem 0 2.4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 -2rem;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 20, 147, 0.3) 1px, transparent 1px);
  background-size: 17px 17px;
  mask-image: radial-gradient(75% 80% at 24% 50%, #000 4%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 80% at 24% 50%, #000 4%, transparent 78%);
  opacity: 0.85;
}

.hero-txt h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
  background: linear-gradient(120deg, #fff 12%, #ffd0dd 45%, var(--rose) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dim);
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 0.96rem;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--red), var(--rose) 78%);
  box-shadow: 0 10px 26px -12px rgba(255, 20, 147, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(255, 0, 60, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-art {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 0, 0, 0.42), rgba(255, 20, 147, 0.32) 55%, rgba(38, 23, 23, 0.9)),
    var(--ink);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 190, 205, 0.14);
  will-change: transform;
}

.hero-art .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 主区 */
.stage {
  position: relative;
  padding-bottom: 4rem;
  scroll-margin-top: 1rem;
}

/* 左侧固定栏 */
.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 20;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.6rem 1.15rem 1.4rem;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(38, 23, 23, 0.93), rgba(22, 13, 13, 0.97));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rail .mark img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.rail h2 {
  font-size: 1.06rem;
  margin: 0;
  letter-spacing: 0.08em;
}

.rail h2 a {
  color: var(--text);
  text-decoration: none;
}

.rail hr {
  border: 0;
  height: 1px;
  width: 100%;
  margin: 0.35rem 0 0.55rem;
  background: linear-gradient(90deg, var(--rose), rgba(255, 20, 147, 0));
}

.rail nav {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.rail nav a {
  display: block;
  padding: 0.68rem 0.7rem;
  min-height: 44px;
  border-radius: 10px;
  font-size: 0.96rem;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.rail nav a:hover {
  color: #fff;
  background: rgba(255, 20, 147, 0.13);
  transform: translateX(3px);
}

.rail nav a.on {
  color: #fff;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0.3), rgba(255, 20, 147, 0.08));
  box-shadow: inset 2px 0 0 var(--rose);
}

.find {
  display: flex;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
}

.find input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.find input::placeholder { color: #a98c90; }

.find button {
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  color: #fff;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--red), var(--rose));
}

.to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--dim);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.to-top:hover { color: #fff; border-color: var(--rose); }

/* 正文 */
.copy {
  max-width: 780px;
}

.copy section {
  padding: 2.3rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1.2rem;
}

.copy section:first-child {
  border-top: 0;
  padding-top: 0.4rem;
}

.copy h2 {
  font-size: clamp(1.42rem, 3.2vw, 1.72rem);
  letter-spacing: 0.01em;
  margin-bottom: 0.55rem;
}

.copy h3 {
  font-size: 1.16rem;
  margin-top: 1.7rem;
  color: #ffe3ea;
}

.copy hr {
  border: 0;
  height: 1px;
  width: 90px;
  margin: 0 0 1.35rem;
  background: linear-gradient(90deg, var(--rose), rgba(255, 20, 147, 0));
}

.copy p {
  margin: 0 0 1.15rem;
  color: #e9d9db;
  line-height: 1.82;
}

.copy ul, .copy ol {
  margin: 0 0 1.2rem;
  padding-left: 1.25rem;
  color: #e9d9db;
}

.copy li { margin-bottom: 0.45rem; }

.copy a {
  color: #ff85b8;
  text-underline-offset: 3px;
}

.copy a:hover { color: #fff; }

.copy blockquote {
  margin: 1.4rem 0;
  padding: 0.85rem 1.1rem;
  border-left: 2px solid var(--rose);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 20, 147, 0.08);
  color: #f3dfe4;
}

.copy blockquote p:last-child { margin-bottom: 0; }

.copy figure {
  margin: 1.5rem 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 38px -24px rgba(0, 0, 0, 0.95);
}

.copy figcaption {
  font-size: 0.84rem;
  color: var(--dim);
  padding: 0.55rem 0.2rem;
}

.copy aside {
  margin: 1.4rem 0;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--dim);
}

.copy strong { color: #fff; }

.copy code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  color: #ffd0dd;
}

/* 页脚 */
footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2.2rem;
  border-top: 1px solid var(--line);
}

.fbrand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.fbrand .fm { border-radius: 6px; }

footer nav { min-width: 0; }

footer dl {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.75rem;
  margin: 0;
  padding: 0;
}

footer dt {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--rose);
  font-variant-numeric: tabular-nums;
}

footer dd { margin: 0; }

footer dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.2rem 0.1rem;
  font-size: 0.86rem;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer dd a:hover { color: #fff; }

.fcopy {
  margin: 0 0 0 auto;
  font-size: 0.78rem;
  color: #9d8084;
}

/* 移动端 */
@media (max-width: 1024px) {
  body { padding-left: 0; }

  .shell { padding: 0 1.15rem; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
    padding: 2.2rem 0 1.8rem;
    min-height: 0;
  }

  .hero::before { inset: 0 -1.15rem; }

  .lede { max-width: none; }

  .hero-art { aspect-ratio: 16 / 10; }

  .rail {
    position: static;
    width: auto;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.1rem 0.95rem;
    margin-bottom: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
  }

  .rail h2 { font-size: 1rem; }

  .rail nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .rail nav a {
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    font-size: 0.92rem;
  }

  .rail nav a:hover { transform: none; }

  .find { margin-top: 0.3rem; max-width: 460px; padding-top: 0; }

  .to-top { max-width: 460px; }

  .copy section { padding: 1.9rem 0; }

  footer { padding: 1.3rem 1.15rem 2rem; }

  .fcopy { margin-left: 0; width: 100%; }
}

@media (max-width: 420px) {
  .hero-txt h1 { font-size: 1.95rem; }
  .find { flex-direction: column; }
  .find button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora::before { animation: none; }
  .cta, .rail nav a, .to-top { transition: none; }
  .hero-art { transform: none !important; }
}

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