:root {
  --bg: #030305;
  --text: #f7f4ff;
  --muted: #a4a0b3;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.055);
  --primary: #8b5cf6;
  --primary-2: #b39cff;
  --cyan: #17c7ff;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Hiragino Sans GB",
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 50% 38%, rgba(139, 92, 246, 0.26), transparent 28%),
    linear-gradient(145deg, transparent 0 46%, rgba(139, 92, 246, 0.24) 49%, transparent 52%),
    repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 22px),
    var(--bg);
  background-size: auto, 180% 180%, 120px 120px, auto;
  animation: pageFlow 12s linear infinite;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 36%, rgba(23, 199, 255, 0.6) 39%, transparent 42%),
    linear-gradient(27deg, transparent 65%, rgba(139, 92, 246, 0.48) 69%, transparent 72%);
  opacity: 0.68;
  animation: beamDrift 6s ease-in-out infinite alternate;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  transform: translateX(-50%);
}

.brand,
.nav-pill,
.top-cta,
.primary-button,
.mini-stats,
.contact-row {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  width: fit-content;
}

.brand img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 220px;
  object-fit: contain;
}

.nav-pill {
  justify-self: center;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.nav-pill a {
  min-width: 82px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.nav-pill a:first-child {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.top-cta {
  justify-self: end;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #9f7aea);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.35);
  font-weight: 800;
}

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: 100vh;
  margin: 0 auto;
  padding: 118px 0 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero-center {
  transform: translateY(18px);
}

.tag {
  margin: 0 0 16px;
  color: var(--primary-2);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 76px;
  line-height: 1.08;
  font-weight: 800;
}

.title-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.title-wrap h1 {
  position: relative;
  z-index: 1;
}

.spark {
  position: absolute;
  z-index: 2;
  display: block;
  pointer-events: none;
  animation: sparkle 2.4s ease-in-out infinite;
}

.spark-star {
  width: 16px;
  height: 16px;
}

.spark-star::before,
.spark-star::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
}

.spark-star::before {
  width: 3px;
  height: 16px;
}

.spark-star::after {
  width: 16px;
  height: 3px;
}

.spark-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.spark-plus {
  width: 10px;
  height: 10px;
}

.spark-plus::before,
.spark-plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 999px;
  background: currentColor;
}

.spark-plus::before {
  width: 2px;
  height: 10px;
}

.spark-plus::after {
  width: 10px;
  height: 2px;
}

.spark-a {
  top: -10px;
  left: 10%;
  color: #ffd86b;
}

.spark-b {
  top: 42%;
  left: 27%;
  color: #25f0b1;
  animation-delay: 420ms;
}

.spark-c {
  right: 18%;
  bottom: 18%;
  color: #8aa8ff;
  animation-delay: 780ms;
}

.spark-d {
  top: 14%;
  right: -4%;
  color: #cbb8ff;
  animation-delay: 1.1s;
}

.spark-e {
  left: 53%;
  bottom: -4px;
  color: #7dd3fc;
  animation-delay: 1.4s;
}

.spark-f {
  top: 3%;
  left: 68%;
  color: #ffffff;
  animation-delay: 1.75s;
}

h2 {
  max-width: 740px;
  margin: 0 auto 24px;
  font-size: 46px;
  line-height: 1.22;
  font-weight: 800;
  text-align: center;
}

.subtitle {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.8;
}

.primary-button {
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  margin: 0 auto;
  padding: 0 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  box-shadow: 0 18px 60px rgba(139, 92, 246, 0.38);
  font-weight: 800;
  animation: buttonPulse 2.8s ease-in-out infinite;
}

.mini-stats {
  justify-content: center;
  gap: 52px;
  max-width: 900px;
  margin: 84px auto 0;
}

.mini-stats div {
  min-width: 132px;
}

.mini-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.mini-stats span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.detail-grid p,
.notice-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.12), transparent 46%),
    var(--panel);
  backdrop-filter: blur(18px);
}

.detail-grid p {
  margin: 0;
  padding: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.detail-card {
  display: grid;
  gap: 10px;
  min-height: 220px;
}

.detail-card strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1.45;
}

.detail-label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(179, 156, 255, 0.28);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--primary-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-note {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.detail-card-strong {
  border-color: rgba(47, 212, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(47, 212, 255, 0.08);
}

.detail-card-soft {
  border-color: rgba(179, 156, 255, 0.28);
}

.notice-panel {
  max-width: 920px;
  margin: 22px auto 0;
  padding: 28px;
}

.notice-panel h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 24px;
  text-align: center;
  text-shadow: 0 0 26px rgba(179, 156, 255, 0.42);
}

.notice-intro {
  margin: -6px auto 20px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.notice-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.notice-panel li {
  position: relative;
  padding: 18px 18px 18px 20px;
  color: var(--text);
  line-height: 1.7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.notice-panel li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 4px;
  height: calc(100% - 40px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--primary));
  box-shadow: 0 0 18px rgba(47, 212, 255, 0.38);
}

.notice-panel li strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 16px;
}

.contact {
  text-align: center;
  padding-bottom: 130px;
}

.contact-desc {
  max-width: 690px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.contact-row {
  justify-content: center;
  gap: 18px;
}

.contact-card {
  flex-direction: column;
  justify-content: center;
  width: 280px;
  min-height: 112px;
  padding: 22px;
  text-align: left;
}

.contact-card-qq {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 16px;
  width: min(100%, 420px);
  min-height: 124px;
  margin: 0 auto;
  align-items: center;
}

.contact-card .qq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, #12b7f5, #2f7cff);
  box-shadow: 0 12px 30px rgba(18, 183, 245, 0.3);
}

.contact-card .qq-icon svg {
  display: block;
  width: 52px;
  height: 52px;
}

.contact-card span {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15px;
}

.contact-card strong {
  font-size: 18px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.contact-card .contact-copy {
  margin-bottom: 0;
}

.contact-kicker {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.2;
}

.contact-copy strong {
  display: block;
  line-height: 1.35;
}

.reveal {
  opacity: 0;
  transform: translateY(58px) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 860ms ease,
    transform 860ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 860ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms ease;
}

.reveal.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal.is-visible .reveal-item:nth-child(2) {
  transition-delay: 120ms;
}

.reveal.is-visible .reveal-item:nth-child(3) {
  transition-delay: 220ms;
}

.contact-card:hover {
  border-color: rgba(179, 156, 255, 0.58);
  box-shadow: 0 0 42px rgba(139, 92, 246, 0.16);
}

@keyframes pageFlow {
  0% {
    background-position: 50% 38%, 0% 0%, 0 0, 0 0;
  }

  100% {
    background-position: 50% 38%, 100% 100%, 120px 120px, 0 0;
  }
}

@keyframes beamDrift {
  0% {
    transform: translate3d(-4%, -2%, 0) scale(1);
    opacity: 0.42;
  }

  100% {
    transform: translate3d(4%, 3%, 0) scale(1.04);
    opacity: 0.78;
  }
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 18px 60px rgba(139, 92, 246, 0.36);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 24px 78px rgba(139, 92, 246, 0.58);
    transform: translateY(-2px);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.35;
    transform: translate3d(0, 0, 0) scale(0.72) rotate(0deg);
    filter: drop-shadow(0 0 4px currentColor);
  }

  45% {
    opacity: 1;
    transform: translate3d(4px, -6px, 0) scale(1.18) rotate(45deg);
    filter: drop-shadow(0 0 12px currentColor);
  }
}

@media (max-width: 900px) {
  .topbar {
    top: 16px;
    width: min(calc(100% - 24px), var(--max));
    grid-template-columns: auto 1fr;
    gap: 14px;
  }

  .brand img {
    height: 34px;
    max-width: 150px;
  }

  .nav-pill {
    justify-self: end;
  }

  .nav-pill a {
    min-width: auto;
    padding: 10px 12px;
    font-size: 14px;
  }

  .top-cta {
    display: none;
  }

  .hero {
    width: min(calc(100% - 24px), var(--max));
    min-height: 100vh;
    padding: 104px 0 32px;
  }

  .hero-center {
    transform: none;
  }

  h1 {
    font-size: 48px;
  }

  .spark-a {
    left: 2%;
  }

  .spark-d {
    right: 0;
  }

  h2 {
    font-size: 34px;
  }

  .subtitle {
    font-size: 17px;
  }

  .mini-stats,
  .detail-grid,
  .contact-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 14px;
  }

  .mini-stats {
    margin-top: 48px;
  }

  .contact-card {
    width: 100%;
    max-width: 380px;
  }

  .notice-panel ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand img {
    max-width: 42px;
    object-fit: cover;
    object-position: left center;
  }

  .nav-pill a {
    padding: 9px 10px;
  }

  .hero {
    min-height: 82vh;
  }
}

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

  body,
  body::before,
  .primary-button,
  .spark {
    animation: none;
  }

  .reveal,
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
