:root {
  --void: #05040b;
  --ink: #f8f6ff;
  --cyan: #20f7ff;
  --pink: #ff2bd6;
  --violet: #8b5cff;
  --yellow: #f9f871;
  --muted: rgba(223, 222, 245, .66);
  --line: rgba(32, 247, 255, .25);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

html { background: var(--void); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, -apple-system, sans-serif;
  background:
    linear-gradient(rgba(5, 4, 11, .2), rgba(5, 4, 11, .75)),
    radial-gradient(ellipse at 50% 42%, #251047 0%, #0c0920 35%, #05040b 72%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  border: 1px solid rgba(32, 247, 255, .22);
  box-shadow: inset 0 0 7rem rgba(0, 0, 0, .82);
}

.aurora {
  position: fixed;
  z-index: -2;
  width: 42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .22;
  animation: float 12s ease-in-out infinite alternate;
}

.aurora-cyan {
  top: -22rem;
  left: -12rem;
  background: var(--cyan);
}

.aurora-pink {
  right: -17rem;
  bottom: -22rem;
  background: var(--pink);
  animation-delay: -6s;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .72;
  background-image:
    radial-gradient(circle at 17% 22%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 31%, var(--cyan) 0 1px, transparent 1.6px),
    radial-gradient(circle at 65% 12%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 36% 71%, var(--pink) 0 1px, transparent 1.6px),
    radial-gradient(circle at 91% 78%, #fff 0 1px, transparent 1.5px);
  background-size: 240px 220px, 310px 280px, 370px 330px, 290px 260px, 430px 370px;
  animation: twinkle 5s ease-in-out infinite alternate;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: .12;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, .12) 4px
  );
  mix-blend-mode: overlay;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(32, 247, 255, .16);
  background: linear-gradient(180deg, rgba(5, 4, 11, .75), transparent);
}

.brand {
  display: flex;
  gap: .85rem;
  align-items: center;
  color: rgba(255, 255, 255, .84);
  font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-decoration: none;
}

.brand i { color: var(--pink); font-style: normal; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--void);
  font-size: 1rem;
  font-weight: 900;
  background: var(--cyan);
  clip-path: polygon(16% 0, 100% 0, 100% 72%, 72% 100%, 0 100%, 0 16%);
  box-shadow: 0 0 2rem var(--cyan);
}

.signal {
  display: flex;
  gap: .65rem;
  align-items: center;
  color: rgba(255, 255, 255, .58);
  font-family: monospace;
  font-size: .66rem;
  letter-spacing: .14em;
}

.signal span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 .4rem var(--cyan), 0 0 1.2rem var(--cyan);
  animation: blink 1.8s ease-in-out infinite;
}

main {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 6rem 1.5rem 5rem;
}

.hero {
  position: relative;
  width: min(970px, 88vw);
  padding: clamp(2.8rem, 6vw, 5.6rem) clamp(1.3rem, 5vw, 4.5rem);
  text-align: center;
  border: 1px solid rgba(32, 247, 255, .15);
  background:
    linear-gradient(115deg, rgba(32, 247, 255, .055), transparent 32%),
    linear-gradient(295deg, rgba(255, 43, 214, .07), transparent 34%),
    rgba(8, 6, 20, .52);
  box-shadow:
    0 0 4rem rgba(139, 92, 255, .12),
    inset 0 0 4rem rgba(32, 247, 255, .025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: materialize .9s cubic-bezier(.16, 1, .3, 1) both;
}

.corner {
  position: absolute;
  width: 2.2rem;
  height: 2.2rem;
  border-color: var(--cyan);
  filter: drop-shadow(0 0 .45rem var(--cyan));
}

.corner-tl { top: -.35rem; left: -.35rem; border-top: 2px solid; border-left: 2px solid; }
.corner-tr { top: -.35rem; right: -.35rem; border-top: 2px solid; border-right: 2px solid; }
.corner-bl { bottom: -.35rem; left: -.35rem; border-bottom: 2px solid; border-left: 2px solid; }
.corner-br { right: -.35rem; bottom: -.35rem; border-right: 2px solid; border-bottom: 2px solid; }

.access {
  display: flex;
  gap: .8rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.8rem;
  color: var(--cyan);
  font-family: monospace;
  font-size: .7rem;
  letter-spacing: .35em;
  text-shadow: 0 0 .8rem rgba(32, 247, 255, .8);
}

.access span { color: var(--pink); }

.title-wrap { position: relative; }

.ghost-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  margin: 0;
  color: transparent;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(5rem, 15vw, 12rem);
  letter-spacing: .04em;
  line-height: .72;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(139, 92, 255, .13);
  transform: translate(-50%, -50%);
}

h1 {
  position: relative;
  margin: 0;
  font-size: clamp(2.25rem, 6.3vw, 5.5rem);
  font-weight: 850;
  line-height: 1.22;
  letter-spacing: -.055em;
  text-shadow:
    .04em 0 0 rgba(32, 247, 255, .75),
    -.035em 0 0 rgba(255, 43, 214, .62),
    0 0 2rem rgba(139, 92, 255, .3);
}

h1 strong {
  color: transparent;
  font-weight: 900;
  background: linear-gradient(92deg, var(--cyan), #fff 42%, var(--pink) 86%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 .8rem rgba(32, 247, 255, .32));
}

h1::before,
h1::after {
  content: "";
  position: absolute;
  left: 8%;
  width: 84%;
  height: 2px;
  opacity: .75;
  background: var(--cyan);
  box-shadow: 0 0 .8rem var(--cyan);
  animation: glitch-line 4.8s steps(1) infinite;
}

h1::before { top: 24%; }
h1::after { bottom: 18%; background: var(--pink); animation-delay: -2.3s; }

.intro {
  margin: 1.8rem auto 0;
  color: var(--muted);
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(.88rem, 1.8vw, 1.05rem);
  line-height: 1.95;
  letter-spacing: .12em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
  margin-top: 2rem;
}

.chips span {
  padding: .48rem 1.1rem;
  color: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .13);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-family: monospace;
  font-size: .62rem;
  letter-spacing: .22em;
  background: rgba(255, 255, 255, .035);
}

.chips span:nth-child(1) { border-color: rgba(32, 247, 255, .42); }
.chips span:nth-child(2) { border-color: rgba(139, 92, 255, .48); }
.chips span:nth-child(3) { border-color: rgba(255, 43, 214, .42); }

.pulse-line {
  display: flex;
  gap: 4px;
  align-items: end;
  justify-content: center;
  height: 1.2rem;
  margin-top: 1.8rem;
}

.pulse-line i {
  display: block;
  width: 3px;
  height: 4px;
  background: var(--cyan);
  box-shadow: 0 0 .4rem var(--cyan);
  animation: equalize 1.1s ease-in-out infinite alternate;
}

.pulse-line i:nth-child(2n) { background: var(--pink); animation-delay: -.3s; }
.pulse-line i:nth-child(3n) { height: 14px; animation-delay: -.6s; }
.pulse-line i:nth-child(4n) { height: 9px; animation-delay: -.9s; }

.side-code {
  position: fixed;
  top: 50%;
  z-index: 4;
  display: flex;
  gap: 1rem;
  color: rgba(32, 247, 255, .4);
  font-family: monospace;
  font-size: .56rem;
  letter-spacing: .15em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.side-code-left { left: 1.2rem; }
.side-code-right { right: 1.2rem; color: rgba(255, 43, 214, .4); }

.floor {
  position: fixed;
  right: -30%;
  bottom: -34%;
  left: -30%;
  z-index: 0;
  height: 58%;
  opacity: .25;
  background-image:
    linear-gradient(rgba(32, 247, 255, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 247, 255, .5) 1px, transparent 1px);
  background-size: 5rem 3rem;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 80%);
  mask-image: linear-gradient(to bottom, transparent 2%, #000 80%);
}

footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  padding: 1.2rem clamp(1.25rem, 4vw, 4.5rem);
  color: rgba(255, 255, 255, .32);
  border-top: 1px solid rgba(255, 43, 214, .12);
  font-family: monospace;
  font-size: .58rem;
  letter-spacing: .16em;
}

.footer-center { color: rgba(249, 248, 113, .48); }

@keyframes float {
  to { transform: translate3d(4rem, 2rem, 0) scale(1.12); }
}

@keyframes twinkle {
  to { opacity: .38; filter: brightness(1.5); }
}

@keyframes blink {
  50% { opacity: .3; transform: scale(.72); }
}

@keyframes materialize {
  from { opacity: 0; transform: scale(.96) translateY(1.2rem); filter: blur(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes glitch-line {
  0%, 90%, 100% { opacity: 0; transform: translateX(0); }
  92% { opacity: .8; transform: translateX(-1.5rem); }
  94% { opacity: .2; transform: translateX(2rem); }
  96% { opacity: .7; transform: translateX(-.5rem); }
}

@keyframes equalize {
  to { height: 18px; opacity: .35; }
}

@media (max-width: 720px) {
  .topbar { height: 4.2rem; }
  .brand { font-size: .58rem; letter-spacing: .12em; }
  .brand-mark { width: 2rem; height: 2rem; }
  .signal { font-size: 0; }
  .signal span { width: .6rem; height: .6rem; }
  main { padding-top: 5.2rem; padding-bottom: 4rem; }
  .hero { width: 92vw; padding-top: 3.2rem; padding-bottom: 3.2rem; }
  .access { gap: .5rem; font-size: .57rem; letter-spacing: .2em; }
  h1 { letter-spacing: -.07em; }
  .side-code { display: none; }
  footer { justify-content: center; }
  footer span:not(:first-child) { display: none; }
}

@media (max-height: 680px) and (min-width: 721px) {
  .hero { padding-top: 2.3rem; padding-bottom: 2.3rem; }
  .intro { margin-top: 1rem; }
  .chips { margin-top: 1.15rem; }
  .pulse-line { margin-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
