@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

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

:root {
  --neon: #87ff71;
  --cyan: #01cdfe;
  --ink: #192617;
  --deep: #101a10;
  --deeper: #0b120b;
  --block: #1f3120;
  --paper: #e9fbe4;
  --muted: #a9c9a4;
  --pink: #ff71ce;
  --violet: #b967ff;
  --radius: 10px;
  --topbar: 118px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--deeper);
  background-image:
    radial-gradient(62% 46% at 80% 4%, rgba(1, 205, 254, 0.3), transparent 72%),
    radial-gradient(54% 40% at 10% 20%, rgba(185, 103, 255, 0.24), transparent 74%),
    radial-gradient(86% 58% at 52% 106%, rgba(255, 113, 206, 0.26), transparent 70%),
    linear-gradient(180deg, #192617 0%, #101a10 56%, #0b120b 100%);
  background-attachment: fixed;
}

html.locked,
html.locked body {
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--paper);
  font-family: "Cormorant Infant", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Songti SC", system-ui, serif;
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(180deg, rgba(8, 14, 8, 0.34) 0 1px, rgba(8, 14, 8, 0) 1px 3px),
    linear-gradient(rgba(135, 255, 113, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 205, 254, 0.055) 1px, transparent 1px);
  background-size: 100% 3px, 46px 46px, 46px 46px;
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--neon);
}

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

/* ---------- 顶栏 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(12, 20, 12, 0.86);
  border-bottom: 1px solid rgba(135, 255, 113, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.brand {
  font-family: "Great Vibes", "Cormorant Infant", serif;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 0.2em;
  padding: 10px 0;
  color: var(--neon);
  text-decoration: none;
  text-shadow: 0 0 6px rgba(135, 255, 113, 0.9), 0 0 22px rgba(1, 205, 254, 0.6);
}

.brand:hover {
  color: var(--paper);
}

.burger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(135, 255, 113, 0.6);
  border-radius: var(--radius);
  background: rgba(135, 255, 113, 0.08);
  color: var(--neon);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.burger-bar {
  width: 15px;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(135, 255, 113, 0.9);
}

.burger-txt {
  margin-left: 4px;
}

.menuline {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 clamp(10px, 3vw, 34px) 6px;
  scrollbar-width: none;
}

.menuline::-webkit-scrollbar {
  display: none;
}

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

.ml a {
  display: block;
  padding: 11px 12px;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius);
}

.ml a:hover,
.ml a:focus-visible {
  color: var(--ink);
  background: var(--neon);
}

/* ---------- 全屏遮罩菜单 ---------- */
.veil {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-content: center;
  gap: 18px;
  padding: 28px 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(1, 205, 254, 0.24), transparent 70%),
    linear-gradient(180deg, #0b120b 0%, #192617 100%);
}

.veil.open {
  visibility: visible;
  opacity: 1;
}

.veil-x {
  justify-self: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(1, 205, 254, 0.7);
  border-radius: var(--radius);
  background: transparent;
  color: var(--cyan);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.veil-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.veil-list a {
  display: block;
  padding: 14px 10px;
  font-size: 22px;
  line-height: 1.4;
  color: var(--paper);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(1, 205, 254, 0.5);
}

.veil-list a:hover {
  color: var(--neon);
}

/* ---------- 外壳与左栏 ---------- */
.shell {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 38px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) clamp(14px, 4vw, 38px) 60px;
  align-items: start;
}

.rail {
  position: sticky;
  top: calc(var(--topbar) + 14px);
  padding: 14px 10px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(31, 49, 32, 0.95), rgba(16, 26, 16, 0.9));
}

.rail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-list a {
  display: block;
  padding: 9px 4px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(135, 255, 113, 0.12);
}

.rail-list li:last-child a {
  border-bottom: 0;
}

.rail-list a:hover {
  color: var(--neon);
  text-shadow: 0 0 10px rgba(135, 255, 113, 0.7);
}

main {
  min-width: 0;
}

main > article {
  scroll-margin-top: calc(var(--topbar) + 16px);
  margin: 0 0 22px;
  padding: clamp(20px, 3.2vw, 36px);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(31, 49, 32, 0.92), rgba(15, 24, 15, 0.88));
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(16px, 4vw, 46px);
  min-height: calc(100svh - var(--topbar));
  padding: clamp(24px, 5vh, 56px) clamp(18px, 4vw, 44px);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 113, 206, 0.16), transparent 68%),
    linear-gradient(160deg, rgba(25, 38, 23, 0.95), rgba(11, 18, 11, 0.9));
}

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

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 6.4vw, 60px);
  line-height: 1.16;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-shadow: 0 0 8px rgba(135, 255, 113, 0.85), 0 0 34px rgba(1, 205, 254, 0.6),
    0 0 60px rgba(185, 103, 255, 0.45);
}

.hero-lead {
  max-width: 34ch;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 17px;
}

.hero-jump {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  background: var(--neon);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(135, 255, 113, 0.45);
}

.hero-jump:hover {
  color: var(--ink);
  background: var(--cyan);
  box-shadow: 0 0 26px rgba(1, 205, 254, 0.6);
}

.hero-figure {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 62vh;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--pink) 0%, var(--violet) 48%, var(--cyan) 100%);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, #fff3a8, rgba(255, 113, 206, 0.9) 26%, transparent 62%),
    repeating-linear-gradient(180deg, rgba(9, 16, 9, 0.35) 0 2px, transparent 2px 5px);
}

/* ---------- 正文块内文字 ---------- */
main h2 {
  margin: 0 0 14px;
  font-size: clamp(23px, 3.2vw, 31px);
  line-height: 1.34;
  color: var(--neon);
  text-shadow: 0 0 14px rgba(135, 255, 113, 0.35);
}

main h3 {
  margin: 22px 0 10px;
  font-size: clamp(19px, 2.4vw, 22px);
  line-height: 1.4;
  color: var(--cyan);
}

main small {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(1, 205, 254, 0.55);
}

main p {
  margin: 0 0 1em;
}

main ul,
main ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

main li {
  margin-bottom: 0.4em;
}

main figure {
  margin: 18px 0;
}

main blockquote {
  margin: 18px 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--violet);
  color: var(--muted);
}

main img {
  height: auto;
  border-radius: var(--radius);
}

main aside {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(1, 205, 254, 0.1);
}

main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

main th,
main td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(135, 255, 113, 0.18);
  text-align: left;
}

/* ---------- 尾图 ---------- */
.outro {
  padding: 0;
  background: transparent;
}

.outro-figure {
  position: relative;
  margin: 0;
  height: clamp(140px, 26vh, 250px);
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0c140c 0%, #1b2a1b 42%, #3a1f3a 62%, #c94bb0 78%, #01cdfe 100%);
}

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

.sun {
  position: absolute;
  left: 50%;
  top: 36%;
  width: min(170px, 30%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff6ad, #ff71ce 56%, #b967ff 100%);
  box-shadow: 0 0 60px rgba(255, 113, 206, 0.65);
}

.horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  transform: perspective(220px) rotateX(58deg);
  transform-origin: bottom;
  opacity: 0.8;
  background-image:
    linear-gradient(rgba(135, 255, 113, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 255, 113, 0.4) 1px, transparent 1px);
  background-size: 44px 22px;
}

/* ---------- 页脚 ---------- */
.foot {
  padding: clamp(22px, 4vw, 44px) clamp(14px, 4vw, 38px) 34px;
  border-top: 1px solid rgba(135, 255, 113, 0.2);
  background: linear-gradient(180deg, rgba(11, 18, 11, 0.4), rgba(8, 13, 8, 0.95));
}

.cta {
  max-width: 1000px;
  margin: 0 auto 30px;
  padding: clamp(26px, 5vw, 46px) 22px;
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(120deg, var(--pink) 0%, var(--violet) 46%, var(--cyan) 100%);
  box-shadow: 0 0 44px rgba(185, 103, 255, 0.32);
}

.cta-brand {
  margin: 0 0 16px;
  font-family: "Great Vibes", "Cormorant Infant", serif;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  letter-spacing: 0.16em;
  color: #0c140c;
}

.cta-btn {
  display: inline-block;
  min-height: 48px;
  padding: 14px 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--neon);
  font-size: 17px;
  text-decoration: none;
}

.cta-btn:hover {
  color: var(--ink);
  background: var(--paper);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 46px);
  max-width: 1000px;
  margin: 0 auto 22px;
}

.foot-addr {
  font-style: normal;
}

.foot-brand {
  display: block;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--neon);
  text-shadow: 0 0 12px rgba(135, 255, 113, 0.38);
}

.foot-blurb {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.foot-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: start;
}

.foot-links a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--neon);
}

.copy {
  margin: 0;
  text-align: center;
  font-size: 16px;
  color: rgba(169, 201, 164, 0.8);
}

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

.rv.in {
  opacity: 1;
  transform: none;
}

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

  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 断点 ---------- */
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 16px;
  }

  .rail {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 22px 18px 26px;
  }

  .hero-figure {
    aspect-ratio: 5 / 4;
    max-height: 40vh;
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .hero-title {
    font-size: clamp(28px, 8.4vw, 40px);
  }

  .foot-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand {
    font-size: 24px;
  }
}

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