:root {
  --ink: #261717;
  --deep: #1b0f0f;
  --red: #ff0000;
  --rose: #ff1493;
  --paper: #fdf1f1;
  --dim: #c8a9a9;
  --line: rgba(255, 20, 147, 0.26);
  --sans: "Barlow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --cond: "Barlow Condensed", "Barlow", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.68 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

main [id] {
  scroll-margin-top: 172px;
}

.aurora {
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.35) blur(10px);
  opacity: 0.92;
}

.aurora i {
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}

.aurora i:nth-child(1) {
  width: 70vmax;
  height: 70vmax;
  left: -15%;
  top: -20%;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.62), rgba(255, 0, 0, 0) 62%);
  animation: drift-a 11s ease-in-out infinite alternate;
}

.aurora i:nth-child(2) {
  width: 58vmax;
  height: 58vmax;
  right: -12%;
  top: 4%;
  background: radial-gradient(circle, rgba(255, 20, 147, 0.6), rgba(255, 20, 147, 0) 64%);
  animation: drift-b 9s ease-in-out infinite alternate;
}

.aurora i:nth-child(3) {
  width: 52vmax;
  height: 52vmax;
  left: 20%;
  bottom: -24%;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.32), rgba(255, 92, 0, 0) 66%);
  animation: drift-c 12s ease-in-out infinite alternate;
}

.aurora i:nth-child(4) {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  opacity: 0.46;
  background: conic-gradient(
    from 200deg at 62% 34%,
    rgba(255, 0, 0, 0.26),
    rgba(255, 20, 147, 0.2),
    rgba(120, 0, 60, 0.24),
    rgba(255, 0, 0, 0.26)
  );
  animation: spin 26s linear infinite;
}

@keyframes drift-a {
  to {
    transform: translate3d(9%, 7%, 0) scale(1.2);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(-8%, 10%, 0) scale(1.14);
  }
}

@keyframes drift-c {
  to {
    transform: translate3d(6%, -9%, 0) scale(1.24);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 顶部 */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 15, 15, 0.96), rgba(38, 23, 23, 0.82));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(14px, 4vw, 44px) 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 4px 2px;
}

.brand-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(from 20deg, var(--red), var(--rose), var(--red));
  box-shadow: 0 0 14px rgba(255, 20, 147, 0.85);
}

.brand-name {
  font-family: var(--cond);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: linear-gradient(96deg, #ffffff, var(--rose) 58%, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.head-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: #ffe7f0;
  border: 1px solid rgba(255, 20, 147, 0.55);
  border-radius: 0;
  background: rgba(255, 20, 147, 0.1);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.head-cta:hover {
  background: rgba(255, 20, 147, 0.24);
  border-color: var(--rose);
}

.menu ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0 clamp(10px, 4vw, 40px) 10px;
}

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 10px;
  font-size: 1rem;
  color: var(--dim);
  transition: color 0.2s ease, background 0.2s ease;
}

.menu a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(var(--red), var(--rose));
  opacity: 0.75;
}

.menu a:hover {
  color: #ffffff;
  background: rgba(255, 20, 147, 0.13);
}

/* 首屏 */

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(34px, 6vw, 84px) clamp(14px, 4vw, 44px);
  overflow: hidden;
}

.ghost {
  position: absolute;
  left: -0.05em;
  top: 6%;
  z-index: 0;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(5rem, 17vw, 15rem);
  line-height: 0.84;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 20, 147, 0.26);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40em;
}

.hero h1 {
  font-size: clamp(1.85rem, 5.4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 3px 34px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  margin: 18px 0 26px;
  max-width: 32em;
  font-size: 1.06rem;
  line-height: 1.72;
  color: #ecd6d6;
}

.hero-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  font-family: var(--cond);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: #ffffff;
  border: 1px solid rgba(255, 20, 147, 0.7);
  background: linear-gradient(100deg, rgba(255, 0, 0, 0.34), rgba(255, 20, 147, 0.34));
  transition: filter 0.22s ease, transform 0.22s ease;
}

.hero-go:hover {
  filter: brightness(1.25);
  transform: translateY(-2px);
}

.hero-art {
  position: relative;
  z-index: 1;
  min-height: clamp(300px, 46vw, 520px);
  background: radial-gradient(circle at 62% 40%, rgba(255, 20, 147, 0.3), rgba(255, 0, 0, 0.08) 56%, transparent 72%);
}

.shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 20, 147, 0.45);
  background: linear-gradient(150deg, rgba(255, 0, 0, 0.26), rgba(38, 23, 23, 0.92));
  box-shadow: 0 26px 60px -32px rgba(0, 0, 0, 0.95);
}

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

.shot-a {
  left: 0;
  top: 3%;
  width: 62%;
  aspect-ratio: 4 / 5;
}

.shot-b {
  right: 0;
  bottom: 1%;
  width: 55%;
  aspect-ratio: 1 / 1;
}

/* 主体 */

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px) clamp(14px, 4vw, 40px) 90px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.rail {
  position: relative;
  z-index: 1;
}

.rail h2 {
  font-family: var(--cond);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--dim);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.rail h2 > span {
  position: relative;
  display: inline-block;
  padding-left: 15px;
}

.rail h2 > span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  transform: rotate(45deg);
  background: linear-gradient(var(--red), var(--rose));
}

.rail h2 + .rail-nav,
.rail-nav ol {
  counter-reset: railc;
}

.rail-nav ol {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.rail-nav li {
  counter-increment: railc;
}

.rail-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 2px;
  font-size: 1rem;
  color: var(--dim);
  border-bottom: 1px dashed rgba(255, 20, 147, 0.18);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.rail-nav a::before {
  content: counter(railc, decimal-leading-zero);
  font-family: var(--cond);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(255, 20, 147, 0.75);
}

.rail-nav a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.totop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  font-size: 1rem;
  color: #ffd9e8;
  border: 1px solid rgba(255, 20, 147, 0.5);
}

.totop::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--rose);
  border-right: 1px solid var(--rose);
  transform: rotate(-45deg);
}

.totop:hover {
  background: rgba(255, 20, 147, 0.16);
}

.sheet {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.prose {
  min-width: 0;
}

.prose h2 {
  position: relative;
  margin: clamp(34px, 5vw, 56px) 0 14px;
  padding-left: 18px;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  color: #ffffff;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--rose));
}

.prose h2 > span {
  position: relative;
  display: inline;
}

.prose h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.2rem;
  color: #ffe4f0;
}

.prose p {
  margin: 0 0 1.1em;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #f2dede;
}

.prose a {
  color: var(--rose);
  border-bottom: 1px solid rgba(255, 20, 147, 0.5);
}

.prose a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
  font-size: 1.02rem;
  line-height: 1.76;
  color: #f2dede;
}

.prose li {
  margin: 0.35em 0;
}

.prose strong {
  color: #ffffff;
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--rose);
  background: rgba(255, 20, 147, 0.08);
}

.prose figure {
  margin: 1.5em 0;
}

.prose img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.prose article + article {
  margin-top: clamp(28px, 4vw, 50px);
  padding-top: clamp(24px, 4vw, 42px);
  border-top: 1px solid rgba(255, 20, 147, 0.16);
}

/* 页脚 */

.foot {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(36px, 6vw, 64px) clamp(14px, 4vw, 44px) 34px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 0, 0, 0.07), transparent 46%);
}

.foot-big {
  margin: 0;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(2.4rem, 11vw, 6rem);
  line-height: 0.88;
  letter-spacing: 0.03em;
  background: linear-gradient(100deg, var(--red), var(--rose) 52%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 10px;
  margin: 0;
  font-size: 1rem;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 6px;
  color: var(--dim);
}

.foot-links a:hover {
  color: #ffffff;
}

.foot-links span {
  color: rgba(255, 20, 147, 0.55);
}

.foot small {
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  color: var(--dim);
}

@media (max-width: 880px) {
  main [id] {
    scroll-margin-top: 190px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .ghost {
    top: 0;
    font-size: clamp(3.6rem, 21vw, 8rem);
  }

  .hero-art {
    min-height: 0;
    height: clamp(230px, 56vw, 330px);
  }

  .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .rail {
    display: grid;
    gap: 10px;
  }

  .rail h2 {
    margin-bottom: 4px;
  }

  .rail-nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    margin-bottom: 16px;
  }

  .rail-nav li {
    flex: 1 1 40%;
  }

  .rail-nav a {
    border-bottom: 0;
    border-left: 1px solid rgba(255, 20, 147, 0.2);
    padding-left: 9px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.3rem;
    letter-spacing: 0.1em;
  }

  .prose p,
  .prose ul,
  .prose ol {
    font-size: 1rem;
  }
}

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

  .aurora i {
    animation: none !important;
  }

  .hero-go:hover {
    transform: none;
  }
}

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