:root {
  --bg: #070b14;
  --ink: #e8f1ff;
  --muted: #8ea0bd;
  --card: rgba(12, 20, 36, 0.82);
  --line: rgba(94, 234, 212, 0.18);
  --accent: #5eead4;
  --accent-2: #60a5fa;
  --accent-3: #a78bfa;
  --panel: rgba(255, 255, 255, 0.03);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

.bg-grid,
.bg-glow,
.scanline {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  z-index: 0;
}

.bg-glow {
  z-index: 0;
  filter: blur(80px);
  opacity: 0.55;
}

.bg-glow-a {
  width: 42vw;
  height: 42vw;
  top: -10vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.45), transparent 70%);
}

.bg-glow-b {
  width: 36vw;
  height: 36vw;
  right: -6vw;
  bottom: 8vh;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.35), transparent 70%);
}

.scanline {
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(255, 255, 255, 0.015) 50%
  );
  background-size: 100% 4px;
  opacity: 0.35;
}

.page {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 2.5rem;
}

.hero {
  margin-bottom: 1.75rem;
}

.status-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.06);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.status-bar .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

.status-bar .divider {
  opacity: 0.45;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--accent-2);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0.7rem;
  background: linear-gradient(120deg, #ffffff 10%, #9fdfff 45%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(96, 165, 250, 0.18);
}

.tagline {
  color: var(--muted);
  font-size: 1.08rem;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.tech-chips span {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  background: rgba(96, 165, 250, 0.08);
  color: #c7dbff;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 2rem;
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.08), transparent 35%),
    linear-gradient(315deg, rgba(167, 139, 250, 0.08), transparent 30%);
  pointer-events: none;
}

.card-frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  pointer-events: none;
}

.card-frame::before,
.card-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
}

.card-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.card-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.card section,
.hud-footer {
  position: relative;
  z-index: 1;
}

.card section + section {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.section-head .index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.card h2 {
  font-size: 1.05rem;
}

.card p {
  color: var(--muted);
}

.info-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-list .label {
  color: var(--muted);
  font-size: 0.95rem;
}

.info-list strong {
  font-weight: 600;
  text-align: right;
  color: #f3f8ff;
}

.hud-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(94, 234, 212, 0.22);
  color: rgba(142, 160, 189, 0.9);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.footer {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p + p {
  margin-top: 0.35rem;
}

.beian {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
}

.beian:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-shadow: 0 0 12px rgba(94, 234, 212, 0.35);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

@media (max-width: 640px) {
  .page {
    padding-top: 3rem;
  }

  .card {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .info-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-list strong {
    text-align: left;
  }
}
