@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&family=Crimson+Pro:wght@400;500;600;700&display=swap');

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

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

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #f6e9e9;
  background: transparent;
  overflow-x: hidden;
  padding-bottom: 84px;
}

img { max-width: 100%; }

a { color: inherit; }

main { position: relative; z-index: 1; }

/* 极光层 */
.aurora {
  position: fixed;
  inset: -25% -15%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 22% 28%, rgba(255, 0, 0, 0.50), transparent 68%),
    radial-gradient(42% 44% at 78% 18%, rgba(255, 20, 147, 0.44), transparent 68%),
    radial-gradient(52% 58% at 62% 88%, rgba(255, 66, 80, 0.26), transparent 70%),
    radial-gradient(34% 40% at 12% 82%, rgba(255, 20, 147, 0.22), transparent 72%);
  filter: blur(48px) saturate(1.25);
  animation: drift 11s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1.02); }
  50% { transform: translate3d(2%, 3%, 0) scale(1.10); }
  to { transform: translate3d(-1%, 2%, 0) scale(1.04); }
}

/* 点阵底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.85;
}

section {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 0 clamp(1.5rem, 3vw, 3rem);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 4rem);
}

/* 首屏 */
.hero {
  grid-column: 1 / -1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  padding: 5rem 0 7rem;
}

.hero-copy { text-align: center; }

h1 {
  font-family: "Crimson Pro", Georgia, "Songti SC", serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  background: linear-gradient(104deg, #ff8a8a 0%, #ff0000 42%, #ff1493 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 1.3rem auto 0;
  max-width: 32ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #ecd6d6;
}

.hero-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 24px 60px -30px rgba(255, 0, 0, 0.55);
}

.hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}

.orb {
  position: absolute;
  inset: -14%;
  background: conic-gradient(from 170deg, #ff0000, #ff1493, #4a1220, #ff0000);
  filter: blur(16px) saturate(1.3);
  animation: spin 12s linear infinite;
}

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

/* 侧栏 */
.rail {
  grid-column: 1;
  position: sticky;
  top: 2.5rem;
  align-self: start;
  border-top: 2px solid #ff1493;
  padding-top: 1rem;
  margin-bottom: 3rem;
}

.rail h2 {
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin: 0 0 0.3rem;
  color: #ffffff;
}

.subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: #ddc0c0;
  margin: 0 0 0.9rem;
}

.rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.rail a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0.15rem 0 0.15rem 0.9rem;
  font-size: 16px;
  color: #f0dcdc;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.rail a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #ff0000, #ff1493);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.28s ease;
}

.rail a:hover,
.rail a:focus-visible { color: #ffb9cb; }
.rail a:hover::before,
.rail a:focus-visible::before { transform: scaleY(1); }

.rail li,
.dock li {
  opacity: 0;
  animation: rise 0.5s ease forwards;
}

.rail li:nth-child(1), .dock li:nth-child(1) { animation-delay: 0.05s; }
.rail li:nth-child(2), .dock li:nth-child(2) { animation-delay: 0.11s; }
.rail li:nth-child(3), .dock li:nth-child(3) { animation-delay: 0.17s; }
.rail li:nth-child(4), .dock li:nth-child(4) { animation-delay: 0.23s; }
.rail li:nth-child(5), .dock li:nth-child(5) { animation-delay: 0.29s; }
.rail li:nth-child(6), .dock li:nth-child(6) { animation-delay: 0.35s; }
.rail li:nth-child(7), .dock li:nth-child(7) { animation-delay: 0.41s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* 正文 */
.story {
  grid-column: 2;
  min-width: 0;
  padding-bottom: 3rem;
}

.story > div {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  scroll-margin-top: 2rem;
}

.story > div:last-child { border-bottom: 0; }

.story h2 {
  font-family: "Crimson Pro", Georgia, "Songti SC", serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.32;
  margin: 0 0 0.8rem;
  color: #ffffff;
}

.story h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin-top: 0.7rem;
  background: linear-gradient(90deg, #ff0000, #ff1493);
}

.story h3 {
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.7rem 0 0.5rem;
  color: #ffe3e3;
}

.story p { margin: 0 0 1rem; }

.story ul,
.story ol { padding-left: 1.25rem; margin: 0 0 1rem; }

.story li { margin: 0.4rem 0; }

.story a {
  color: #ffd3df;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 20, 147, 0.65);
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.story img {
  display: block;
  height: auto;
  margin: 1.4rem 0;
  border-bottom: 3px solid #ff1493;
}

.story blockquote {
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.2rem;
  border-left: 3px solid #ff1493;
  color: #f1d9d9;
}

.story time {
  font-variant-numeric: tabular-nums;
  color: #ffb2c8;
  letter-spacing: 0.05em;
}

/* 底部固定导航 */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem clamp(0.8rem, 3vw, 2rem);
  background: rgba(24, 14, 14, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-top: 1px solid rgba(255, 20, 147, 0.45);
  box-shadow: 0 -1px 0 rgba(255, 0, 0, 0.35);
}

.dock ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.dock ol.r { justify-content: flex-end; }

.dock a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.2rem 0.55rem;
  font-size: 16px;
  color: #f3dede;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dock a::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.42rem;
  height: 2px;
  background: linear-gradient(90deg, #ff0000, #ff1493);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.dock a:hover,
.dock a:focus-visible { color: #ffffff; }
.dock a:hover::after,
.dock a:focus-visible::after { transform: scaleX(1); }

.dock-brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.3rem 1rem;
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.dock-brand:hover { color: #ffb9cb; }

/* 页脚 */
footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem clamp(1rem, 3vw, 2.5rem);
  max-width: 1280px;
  margin: 4rem auto 0;
  padding: 3rem clamp(1.2rem, 4vw, 4rem) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(38, 23, 23, 0.55), rgba(13, 7, 7, 0.94));
}

footer .cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 20, 147, 0.42);
}

footer .cta h2 {
  font-family: "Crimson Pro", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.24;
  margin: 0;
  color: #ffffff;
}

footer .cta .subtitle {
  flex: 1 1 260px;
  max-width: 46ch;
  margin: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 1.5rem;
  font-size: 16px;
  text-decoration: none;
  color: #fff4f4;
  border: 1px solid #ff1493;
  border-bottom: 3px solid #ff0000;
  background: rgba(255, 20, 147, 0.14);
  transition: background 0.25s ease, transform 0.25s ease;
}

.cta-btn:hover {
  background: rgba(255, 0, 0, 0.24);
  transform: translateY(-2px);
}

footer div h2 {
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

footer div ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer div ol a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  color: #efdcdc;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

footer div ol a:hover {
  color: #ffffff;
  border-bottom-color: #ff1493;
}

.foot-bar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  color: #cbb3b3;
}

.foot-bar p { margin: 0; }

.foot-bar ol {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #e8d5d5;
  text-decoration: none;
}

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

/* 移动端 */
@media (max-width: 820px) {
  body { padding-bottom: 176px; }

  section {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 1.1rem;
  }

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

  .hero-copy { text-align: center; }

  .hero-figure {
    order: 2;
    aspect-ratio: 16 / 10;
  }

  .rail {
    grid-column: 1;
    position: static;
    margin-bottom: 0.5rem;
  }

  .rail ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.5rem;
    border-left: 0;
  }

  .rail a {
    padding: 0 0.55rem;
    min-height: 42px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .rail a::before { left: -1px; top: 6px; bottom: 6px; }

  .story { grid-column: 1; }
  .story > div { padding: 2.4rem 0; }

  .dock {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "l r";
    padding: 0.4rem 0.6rem;
    gap: 0.1rem;
  }

  .dock-brand {
    grid-area: brand;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 20, 147, 0.28);
  }

  .dock ol.l { grid-area: l; }
  .dock ol.r { grid-area: r; }
  .dock a { min-height: 42px; padding: 0.2rem 0.35rem; }

  footer {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2.5rem;
    padding: 2.2rem 1.1rem 1.6rem;
  }

  footer .cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .dock li,
  .rail li { opacity: 1; }
  .aurora { transform: none; }
}

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