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

:root {
  --red: #ff0000;
  --pink: #ff006e;
  --ink: #1a1a2e;
  --bg: #101020;
  --bg2: #16162b;
  --fog: rgba(238, 240, 255, 0.72);
  --line: rgba(255, 0, 110, 0.32);
  --glass: rgba(30, 30, 56, 0.55);
  --radius: 10px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.68;
  color: #eef0ff;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(255, 0, 110, 0.16), transparent 42%),
    radial-gradient(circle at 84% 22%, rgba(255, 0, 0, 0.14), transparent 46%),
    linear-gradient(rgba(255, 0, 110, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 110, 0.07) 1px, transparent 1px);
  background-size: auto, auto, 46px 46px, 46px 46px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.045) 0,
    rgba(255, 255, 255, 0.045) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
}

a { color: #fff; }

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

/* 顶部导航：品牌居中，菜单分列两侧 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 16, 32, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 26px rgba(255, 0, 110, 0.18);
}

.topbar nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-l ul { justify-content: flex-end; }
.nav-r ul { justify-content: flex-start; }

.topbar nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 1rem;
  text-decoration: none;
  color: #e7e9ff;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s, text-shadow 0.18s;
}

.topbar nav a:hover,
.topbar nav a:focus-visible {
  color: #fff;
  background: rgba(255, 0, 110, 0.16);
  text-shadow: 0 0 10px var(--pink);
}

.ico { color: var(--red); font-size: 0.7em; }

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 4px 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  color: #fff;
  text-shadow: 0 0 8px var(--pink), 0 0 22px rgba(255, 0, 0, 0.6);
  white-space: nowrap;
}

.brand .mark { width: auto; height: 34px; }

/* 主体：左侧栏 + 右侧舞台 */
main > .wrap {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 20px 64px;
}

.side {
  position: sticky;
  top: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 30px rgba(255, 0, 110, 0.08);
}

.side h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  letter-spacing: 0.22em;
  color: var(--red);
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

hr {
  height: 0;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 10px 0 12px;
}

.side nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  text-decoration: none;
  color: #d9dcf5;
  border-left: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.side nav a:hover,
.side nav a:focus-visible {
  color: #fff;
  border-left-color: var(--pink);
  background: rgba(255, 0, 110, 0.12);
}

.totop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 6px 14px;
  width: 100%;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 0, 110, 0.1);
}

.totop:hover,
.totop:focus-visible { background: rgba(255, 0, 110, 0.24); }

.stage { min-width: 0; }

/* Hero */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 46px 18px;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 0, 110, 0.16), rgba(26, 26, 46, 0.4) 55%),
    rgba(22, 22, 43, 0.5);
  box-shadow: 0 0 42px rgba(255, 0, 110, 0.16), inset 0 0 60px rgba(255, 0, 0, 0.08);
}

.kick {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(130px, 30vw, 300px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 0, 110, 0.34);
  text-stroke: 1px rgba(255, 0, 110, 0.34);
  pointer-events: none;
  user-select: none;
}

.collage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateY(var(--p, 0px));
  transition: transform 0.1s linear;
}

.collage .shot {
  position: absolute;
  width: 40%;
  max-width: 250px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 0, 110, 0.7);
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(255, 0, 110, 0.55);
  filter: saturate(0.9) contrast(1.06);
}

.collage .s1 { left: 2%; top: 12%; transform: rotate(-6deg); }
.collage .s2 { right: 2%; bottom: 10%; transform: rotate(5deg); }

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(16, 16, 32, 0.62);
  backdrop-filter: blur(6px);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 0 10px var(--red), 0 0 30px rgba(255, 0, 110, 0.65);
  animation: flicker 6s infinite steps(1, end);
}

.sub {
  margin: 0;
  color: var(--fog);
  font-size: 1.02rem;
}

@keyframes flicker {
  0%, 96%, 100% { text-shadow: 0 0 10px var(--red), 0 0 30px rgba(255, 0, 110, 0.65); }
  97% { text-shadow: 2px 0 0 var(--pink), -2px 0 0 var(--red), 0 0 30px rgba(255, 0, 110, 0.5); }
  98% { text-shadow: -3px 0 0 var(--pink), 3px 0 0 var(--red), 0 0 26px rgba(255, 0, 110, 0.4); }
}

/* 正文 */
.body {
  margin-top: 24px;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(9px);
  box-shadow: inset 0 0 40px rgba(255, 0, 110, 0.06);
}

.body :where(h2, h3) {
  margin: 34px 0 8px;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 0, 0, 0.55);
}

.body h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.body h3 { font-size: 1.18rem; }

.body h2 + hr,
.body h3 + hr { border-top-color: var(--pink); margin: 0 0 14px; }

.body p { margin: 0 0 14px; }

.body p,
.body li { color: #e3e6ff; }

.body :where(ul, ol) { padding-left: 1.25em; }

.body a {
  color: #ffd9e6;
  text-decoration-color: var(--pink);
  text-underline-offset: 3px;
}

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

.body img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(255, 0, 110, 0.3);
}

.body section {
  scroll-margin-top: 96px;
}

.body section + section {
  margin-top: 34px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 0, 110, 0.26);
}

.body :where(table) {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.body :where(th, td) {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}

/* 页脚：单行 */
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  padding: 22px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--line);
  background: rgba(16, 16, 32, 0.9);
}

.f-brand a {
  text-decoration: none;
  font-size: clamp(1.7rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 0 0 12px var(--red), 0 0 34px rgba(255, 0, 110, 0.6);
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--fog);
}

footer nav a:hover,
footer nav a:focus-visible { color: #fff; text-shadow: 0 0 10px var(--pink); }

.copy { color: rgba(238, 240, 255, 0.5); font-size: 0.95rem; }

/* Scroll reveal */
.reveal { opacity: 1; }
body.has-js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
body.has-js .reveal.in { opacity: 1; transform: none; }

/* 断点 */
@media (max-width: 900px) {
  main > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 18px 16px 48px;
  }
  .side { position: static; top: auto; }
  .side nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
  }
  .side nav a {
    min-height: 44px;
    padding: 6px 10px;
    border-left: 0;
    border: 1px solid transparent;
    border-radius: 6px;
  }
  .side nav a:hover,
  .side nav a:focus-visible { border-color: var(--line); }
  .totop { width: auto; }
  .body section { scroll-margin-top: 160px; }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 4px 10px 8px;
  }
  .topbar nav ul { justify-content: center; }
  .topbar nav a { padding: 8px; }
  .brand { order: -1; }
  .hero {
    min-height: 0;
    padding: 34px 14px 20px;
    gap: 18px;
  }
  .collage {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    transform: none;
  }
  .collage .shot {
    position: static;
    width: 100%;
    max-width: none;
  }
  .collage .s1 { transform: rotate(-2deg); }
  .collage .s2 { transform: rotate(2deg); }
  .kick { font-size: clamp(110px, 42vw, 190px); }
  footer { justify-content: center; text-align: center; }
  .copy { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  body.has-js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  h1, .collage { animation: none; }
  .collage { transform: none; }
}

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