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

:root {
  --neon: #ff0000;
  --pink: #ff006e;
  --ink: #1a1a2e;
  --deep: #0b0b14;
  --text: #f4eef8;
  --muted: #b5aac7;
  --line: rgba(255, 0, 110, 0.3);
  --glass: rgba(255, 255, 255, 0.05);
  --r: 10px;
  --max: 1120px;
  --head: 76px;
  --shadow-neon: 0 0 24px rgba(255, 0, 110, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  background-color: var(--deep);
  background-image:
    radial-gradient(820px 520px at 88% -6%, rgba(255, 0, 110, 0.22), transparent 72%),
    radial-gradient(700px 480px at -6% 24%, rgba(255, 0, 0, 0.16), transparent 70%),
    linear-gradient(180deg, #09090f 0%, #1a1a2e 52%, #0d0d18 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.shell {
  position: relative;
  min-height: 100vh;
}

a {
  color: #ff6d9a;
}

h1, h2, h3 {
  font-family: 'Nunito', 'DM Sans', system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 0.5rem;
  color: #fff;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
}

/* ---------- 顶栏 ---------- */
.head {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--head);
  padding: 0.6rem 1rem;
  background: rgba(11, 11, 20, 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px -26px rgba(255, 0, 110, 0.9);
}

.menu-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.2rem 0.4rem;
  text-decoration: none;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(255, 0, 110, 0.9), 0 0 28px rgba(255, 0, 0, 0.5);
}

.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.burger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.burger-bar,
.burger-bar::before,
.burger-bar::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.burger-bar {
  position: relative;
}

.burger-bar::before,
.burger-bar::after {
  content: '';
  position: absolute;
  left: 0;
}

.burger-bar::before {
  top: -5px;
}

.burger-bar::after {
  top: 5px;
}

.menu-check:checked ~ .burger .burger-bar {
  background: transparent;
}

.menu-check:checked ~ .burger .burger-bar::before {
  transform: translateY(5px) rotate(45deg);
}

.menu-check:checked ~ .burger .burger-bar::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- 导航遮罩 ---------- */
.nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: calc(var(--head) + 2rem) 1.25rem 2.5rem;
  overflow-y: auto;
  background:
    repeating-linear-gradient(0deg, rgba(255, 0, 110, 0.09) 0 1px, transparent 1px 5px),
    rgba(8, 8, 16, 0.97);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.menu-check:checked ~ .nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-col {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-col a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.55rem 0.9rem;
  color: var(--text);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.nav-col a:hover,
.nav-col a:focus-visible {
  transform: translateX(6px);
  color: #fff;
  border-color: var(--pink);
  box-shadow: var(--shadow-neon);
  outline: none;
}

.menu-check:checked ~ .nav .nav-col a {
  animation: slide-in 0.4s ease both;
}

.nav-col li:nth-child(2) a { animation-delay: 0.04s; }
.nav-col li:nth-child(3) a { animation-delay: 0.08s; }
.nav-col li:nth-child(4) a { animation-delay: 0.12s; }

@keyframes slide-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 主区 ---------- */
.stage {
  padding: 0 1rem 2rem;
}

.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100svh - var(--head));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  padding: 2rem 0.25rem 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 8% -2% 12% -2%;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 0, 110, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  mask-image: radial-gradient(circle at 70% 40%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 20%, transparent 76%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 1.1rem;
}

.hero-title {
  position: relative;
  margin: 0;
  font-size: clamp(2.1rem, 9vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 0, 110, 0.85), 0 0 46px rgba(255, 0, 0, 0.55);
}

.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: inset(0 0 56% 0);
}

.hero-title::before {
  color: var(--neon);
  transform: translate(-3px, -2px);
  opacity: 0.65;
  animation: glitch-a 4.2s steps(2, end) infinite;
}

.hero-title::after {
  color: #3ad7ff;
  clip-path: inset(52% 0 0 0);
  transform: translate(3px, 2px);
  opacity: 0.6;
  animation: glitch-b 5.4s steps(2, end) infinite;
}

@keyframes glitch-a {
  0%, 82%, 100% { transform: translate(-3px, -2px); }
  86% { transform: translate(-8px, 1px) skewX(-6deg); }
  90% { transform: translate(4px, -3px); }
}

@keyframes glitch-b {
  0%, 78%, 100% { transform: translate(3px, 2px); }
  84% { transform: translate(9px, -2px) skewX(7deg); }
  92% { transform: translate(-4px, 3px); }
}

.hero-cut {
  display: block;
  width: min(58%, 340px);
  height: 8px;
  transform: skewX(-26deg);
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--neon) 32%, var(--pink) 78%, transparent);
  box-shadow: 0 0 22px rgba(255, 0, 110, 0.65);
}

.hero-art {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 70px -46px rgba(255, 0, 110, 1), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.hero-img {
  display: block;
  width: 100%;
  max-height: 42svh;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(115%) contrast(106%);
}

/* ---------- 正文面板 ---------- */
.panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 1.05rem 1.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 34px 80px -56px rgba(255, 0, 110, 1);
  backdrop-filter: blur(9px);
}

.panel-head {
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
  margin-bottom: 1.2rem;
}

.panel-head h2 {
  font-size: clamp(1.5rem, 5.6vw, 2.15rem);
  text-shadow: 0 0 16px rgba(255, 0, 110, 0.65);
}

.subtitle {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
}

article > div {
  scroll-margin-top: calc(var(--head) + 22px);
  margin: 1.15rem 0;
  padding: 1.15rem 1rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--neon);
  border-radius: var(--r);
  background: rgba(16, 16, 30, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

article > div:hover {
  transform: translateY(-3px);
  border-left-color: var(--pink);
  box-shadow: 0 22px 46px -36px rgba(255, 0, 110, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

article > div:nth-of-type(odd) {
  border-left-color: var(--pink);
}

article h2 {
  font-size: clamp(1.28rem, 4.6vw, 1.7rem);
}

article h3 {
  font-size: 1.12rem;
  color: #ffd7e4;
  margin-top: 1.2rem;
}

article p,
article li {
  font-size: 1rem;
}

article ul,
article ol {
  padding-left: 1.25rem;
}

article li {
  margin-bottom: 0.45rem;
}

article img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

article a {
  color: #ff85ab;
  text-underline-offset: 3px;
}

article time {
  color: var(--pink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

article blockquote {
  margin: 1rem 0;
  padding: 0.6rem 0.9rem;
  border-left: 3px solid var(--pink);
  background: rgba(255, 0, 110, 0.08);
  border-radius: 0 var(--r) var(--r) 0;
  color: #f0e4f5;
}

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.92), #08080f);
  padding: 0 1rem 1rem;
}

.foot div {
  display: block;
  max-width: var(--max);
  margin: 0 auto;
}

.foot-cta {
  padding: 2.4rem 0 1.4rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-cta h2 {
  font-size: clamp(1.5rem, 6vw, 2.6rem);
  text-shadow: 0 0 18px rgba(255, 0, 110, 0.6);
  margin-bottom: 1.1rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.7rem;
  border-radius: 999px;
  background: linear-gradient(92deg, var(--neon), var(--pink));
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
  box-shadow: 0 0 26px rgba(255, 0, 110, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255, 0, 110, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  outline: none;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  padding: 1.7rem 0 1.2rem;
}

.foot-col h3 {
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--pink);
  margin: 0 0 0.6rem;
}

.foot-brand {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 0, 110, 0.7);
  margin: 0;
}

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

.foot-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.foot-list a:hover,
.foot-list a:focus-visible {
  color: #fff;
  padding-left: 6px;
  outline: none;
}

.foot-legal {
  padding: 1.1rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.foot-legal p {
  margin: 0;
}

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .foot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  body {
    font-size: 18px;
  }

  .head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.5rem 1.6rem;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
  }

  .burger {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav {
    position: static;
    display: contents;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-col {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav-col-l {
    grid-column: 1;
    justify-self: start;
  }

  .nav-col-r {
    grid-column: 3;
    justify-self: end;
  }

  .nav-col a {
    border-color: transparent;
    background: transparent;
    font-size: 1rem;
    letter-spacing: 0.04em;
  }

  .nav-col a:hover,
  .nav-col a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
  }

  .menu-check:checked ~ .nav {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--head) + 2rem) 1.5rem 2.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu-check:checked ~ .nav .nav-col {
    flex-direction: column;
    gap: 0.4rem;
  }

  .menu-check:checked ~ .nav .nav-col a {
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
  }

  .panel {
    padding: 2rem 2.2rem 2.4rem;
  }

  article > div {
    padding: 1.5rem 1.6rem 1.7rem;
  }

  .hero {
    padding: 3rem 0.5rem 4rem;
  }
}

@media (min-width: 1100px) {
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
  }

  .hero-inner {
    flex: 1 1 46%;
  }

  .hero-art {
    flex: 1 1 48%;
  }

  .hero-img {
    max-height: 56svh;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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