:root {
  --max-w: 1280px;
  --bg: #0d0d0d;
  --bg-elev: #12081f;
  --bg-panel: #1a0a2e;
  --bg-panel-2: #220f3f;
  --pink: #ff2a75;
  --violet: #9b59b6;
  --blue: #00e5ff;
  --text: #f0e6ff;
  --text-2: #b0a0c0;
  --muted: #6a5a7a;
  --border: #3a2a4a;
  --font-head: "Montserrat", "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Roboto", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding-top: 98px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1000px 560px at 85% -10%, rgba(155, 89, 182, .18), transparent 60%),
    radial-gradient(760px 420px at -8% 24%, rgba(0, 229, 255, .08), transparent 60%),
    radial-gradient(680px 520px at 55% 115%, rgba(255, 42, 117, .10), transparent 65%);
}

ul,
ol {
  list-style: none;
}

a {
  color: var(--blue);
  transition: color .2s;
}

a:hover {
  color: #fff;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(255, 42, 117, .35);
  color: #fff;
}

#main-content {
  scroll-margin-top: 120px;
  outline: none;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top .25s;
}

.skip-link:focus {
  top: 0;
}

.site-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 140;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--blue));
  box-shadow: 0 0 12px rgba(255, 42, 117, .8);
  transition: width .1s linear;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 16px clamp(12px, 2vw, 24px) 0;
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 42, 117, .28);
  border-radius: 36px 14px 36px 14px;
  background: linear-gradient(135deg, rgba(26, 10, 46, .88), rgba(13, 13, 13, .82));
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
}

.site-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--pink), var(--violet), var(--blue), var(--pink));
  box-shadow: 0 0 18px rgba(255, 42, 117, .55);
}

.brand-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: .05em;
  color: #fff;
  text-shadow: 0 0 10px var(--pink), 0 0 24px rgba(155, 89, 182, .65);
}

.brand-tagline {
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(0, 229, 255, .35);
  border-radius: 999px;
  background: rgba(0, 229, 255, .06);
  color: var(--blue);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.online-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  animation: dotPulse 2s infinite ease-in-out;
}

@keyframes dotPulse {
  0%, 100% {
    opacity: .6;
    transform: scale(.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
    box-shadow: 0 0 18px var(--blue);
  }
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 24px 9px 24px 9px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: background .22s, color .22s, box-shadow .22s, text-shadow .22s;
}

.site-nav__link:hover {
  color: #fff;
  background: rgba(255, 42, 117, .13);
  text-shadow: 0 0 8px var(--pink);
}

.site-nav__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 0 18px rgba(255, 42, 117, .3);
  text-shadow: 0 0 8px rgba(255, 255, 255, .4);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 5;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 14px 6px 14px 6px;
  background: rgba(13, 13, 13, .6);
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  box-shadow: 0 0 6px rgba(255, 42, 117, .6);
  transition: transform .25s, opacity .25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 88px);
  overflow: hidden;
  border-top: 1px solid rgba(155, 89, 182, .25);
  background: linear-gradient(180deg, rgba(13, 13, 13, 0), #0a0512 30%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 42, 117, .16), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 229, 255, .10), transparent 65%);
  filter: blur(44px);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px clamp(20px, 4vw, 42px) 26px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 40px;
}

.site-footer__brand .site-brand {
  margin-bottom: 16px;
}

.footer-nav {
  min-width: 0;
}

.footer-about {
  max-width: 38em;
  color: var(--text-2);
  font-size: .94rem;
  line-height: 1.8;
}

.footer-heading {
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 42, 117, .35);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-links a {
  color: var(--text-2);
  font-size: .92rem;
  text-decoration: none;
  transition: color .2s, text-shadow .2s;
}

.footer-links a:hover {
  color: var(--pink);
  text-shadow: 0 0 8px var(--pink);
}

.footer-contact__info {
  display: grid;
  gap: 8px;
  font-style: normal;
  color: var(--text-2);
  font-size: .9rem;
  line-height: 1.6;
}

.footer-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: .78rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .8rem;
  color: var(--muted);
}

.site-footer__copyright {
  color: var(--muted);
}

.site-footer__icp {
  color: var(--muted);
}

.backtotop {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 42, 117, .55);
  border-radius: 999px 18px 999px 18px;
  background: rgba(13, 13, 13, .85);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45), 0 0 18px rgba(255, 42, 117, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}

.backtotop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.backtotop:hover {
  background: var(--bg-panel);
  box-shadow: 0 0 28px rgba(255, 42, 117, .4);
}

.site-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 42px);
}

.site-section {
  position: relative;
  padding-block: clamp(48px, 8vw, 96px);
}

.site-section--tint {
  background: linear-gradient(180deg, rgba(26, 10, 46, .4), rgba(13, 13, 13, 0));
}

.site-section--violet {
  border-block: 1px solid rgba(155, 89, 182, .14);
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-panel-2));
}

.site-section--emph {
  background: linear-gradient(135deg, #12081f, #220f3f 60%, #0d0d0d);
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.section-kicker {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 42, 117, .22);
}

.section-title .accent {
  color: var(--pink);
}

.section-desc {
  max-width: 62ch;
  color: var(--text-2);
  font-size: .98rem;
}

.article-split {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

.article-aside {
  border-left: 2px solid var(--pink);
  padding-left: 16px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
}

.article-content {
  min-width: 0;
}

.lede {
  margin-bottom: 1em;
  color: var(--text-2);
  font-size: 1.1rem;
  line-height: 1.85;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 26px 10px 26px 10px;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  box-shadow: 0 8px 28px rgba(255, 42, 117, .32);
}

.btn--primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 12px 36px rgba(255, 42, 117, .5);
}

.btn--line {
  border-color: rgba(0, 229, 255, .4);
  background: rgba(0, 229, 255, .05);
  color: var(--blue);
}

.btn--line:hover {
  border-color: var(--blue);
  background: rgba(0, 229, 255, .12);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 229, 255, .25);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text-2);
}

.btn--ghost:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 18px;
  font-size: .8rem;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "→";
  color: var(--violet);
}

.breadcrumb__link {
  color: var(--text-2);
  text-decoration: none;
}

.breadcrumb__link:hover {
  color: var(--blue);
  text-shadow: 0 0 8px var(--blue);
}

.breadcrumb__current {
  color: var(--pink);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--text-2);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.tag--pink {
  border-color: rgba(255, 42, 117, .42);
  background: rgba(255, 42, 117, .08);
  color: var(--pink);
}

.tag--violet {
  border-color: rgba(155, 89, 182, .45);
  background: rgba(155, 89, 182, .08);
  color: #cda2f0;
}

.tag--blue {
  border-color: rgba(0, 229, 255, .4);
  background: rgba(0, 229, 255, .07);
  color: var(--blue);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px 12px 28px 12px;
  background: linear-gradient(165deg, var(--bg-panel), rgba(18, 8, 31, .96));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 42, 117, .48);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35), 0 0 0 4px rgba(255, 42, 117, .06), 0 0 32px rgba(255, 42, 117, .08);
}

.media-card__body {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}

.media-card__title {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(150deg, var(--bg-panel-2), #140a26 75%);
}

.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 78% 12%, rgba(255, 42, 117, .22), transparent 55%),
    radial-gradient(70% 50% at 8% 92%, rgba(0, 229, 255, .12), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.img-frame--16x9 {
  aspect-ratio: 16 / 9;
}

.img-frame--4x5 {
  aspect-ratio: 4 / 5;
}

.img-frame--square {
  aspect-ratio: 1 / 1;
}

.img-frame__label {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px 4px 12px 4px;
  background: rgba(13, 13, 13, .6);
  color: #fff;
  font-size: .7rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.neon-panel {
  position: relative;
  padding: clamp(20px, 3.5vw, 40px);
  border: 1px solid var(--border);
  border-radius: 30px 14px 30px 14px;
  background: linear-gradient(150deg, rgba(26, 10, 46, .92), rgba(13, 13, 13, .86));
}

.neon-panel--pink {
  border-color: rgba(255, 42, 117, .34);
  box-shadow: inset 0 0 44px rgba(255, 42, 117, .06), 0 12px 32px rgba(0, 0, 0, .25);
}

.metric {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.metric--pink {
  color: var(--pink);
  text-shadow: 0 0 16px rgba(255, 42, 117, .45);
}

.metric--blue {
  color: var(--blue);
  text-shadow: 0 0 16px rgba(0, 229, 255, .4);
}

.divider {
  display: block;
  height: 1px;
  margin-block: clamp(32px, 6vw, 64px);
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(155, 89, 182, .6), transparent);
}

@media (max-width: 1120px) {
  .brand-tagline {
    display: none;
  }

  .site-nav__link {
    padding: 8px 10px;
    font-size: .85rem;
  }
}

@media (max-width: 960px) {
  body {
    padding-top: 84px;
  }

  .online-badge {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header__inner {
    padding: 8px 10px 8px 14px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 8px;
    left: 8px;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255, 42, 117, .25);
    border-radius: 26px 12px 26px 12px;
    background: linear-gradient(160deg, rgba(18, 8, 31, .97), rgba(13, 13, 13, .97));
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__item {
    display: flex;
  }

  .site-nav__link {
    justify-content: flex-start;
    flex: 1;
    padding: 12px 16px;
    border-radius: 18px 8px 18px 8px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__inner {
    padding-top: 56px;
  }
}

@media (max-width: 860px) {
  .article-split {
    grid-template-columns: 1fr;
  }

  .article-aside {
    max-width: 38em;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 10px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .backtotop {
    right: 14px;
    bottom: 14px;
    padding: 14px;
    border-radius: 50%;
  }

  .backtotop__text {
    display: none;
  }
}

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

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