:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #0a0f1c;
  --surface: rgba(12, 18, 32, 0.72);
  --surface-strong: rgba(15, 24, 42, 0.94);
  --text: #f3f7fb;
  --muted: #a7b4c5;
  --line: rgba(127, 255, 234, 0.22);
  --cyan: #32f5ff;
  --pink: #ff4fd8;
  --green: #7dff8a;
  --yellow: #f7ff6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --glow-cyan: 0 0 24px rgba(50, 245, 255, 0.28);
  --glow-pink: 0 0 24px rgba(255, 79, 216, 0.24);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(50, 245, 255, 0.18), transparent 20rem),
    radial-gradient(circle at 88% 10%, rgba(255, 79, 216, 0.16), transparent 20rem),
    radial-gradient(circle at 76% 72%, rgba(125, 255, 138, 0.11), transparent 22rem),
    linear-gradient(180deg, #05070d 0%, #0a0f1c 52%, #05070d 100%);
  color: var(--text);
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(50, 245, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 245, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 88%);
}

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

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

.page-glow {
  position: fixed;
  z-index: -2;
  width: 260px;
  height: 260px;
  pointer-events: none;
  border: 1px solid rgba(50, 245, 255, 0.18);
  border-radius: 50%;
  filter: blur(0.2px);
}

.page-glow::after {
  position: absolute;
  inset: 40px;
  content: "";
  border: 1px solid rgba(255, 79, 216, 0.14);
  border-radius: 50%;
}

.page-glow-a {
  top: 15vh;
  right: -120px;
}

.page-glow-b {
  bottom: 8vh;
  left: -130px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  margin: 16px auto 0;
  padding: 10px 14px;
  background: rgba(5, 7, 13, 0.78);
  border: 1px solid rgba(50, 245, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.contact-links,
.tag-row {
  display: flex;
  align-items: center;
}

.brand {
  min-width: max-content;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #041013;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0 10%, transparent 11%),
    linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
}

.site-nav {
  gap: 6px;
}

.site-nav a {
  padding: 8px 12px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(50, 245, 255, 0.08);
  border-color: rgba(50, 245, 255, 0.28);
  outline: none;
  box-shadow: var(--glow-cyan);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(50, 245, 255, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(50, 245, 255, 0.08);
  color: var(--text);
  font: inherit;
}

.section-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 5rem;
  line-height: 1.03;
}

h1 span,
h2 span {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(50, 245, 255, 0.42);
}

h2 {
  margin-bottom: 16px;
  font-size: 2.6rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
}

.button-primary {
  color: #031114;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: var(--glow-cyan);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow:
    0 0 26px rgba(50, 245, 255, 0.42),
    0 0 44px rgba(125, 255, 138, 0.2);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 79, 216, 0.34);
  box-shadow: var(--glow-pink);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 79, 216, 0.1);
}

.hero-orbit {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 34px 24px 26px;
  background:
    linear-gradient(180deg, rgba(15, 24, 42, 0.88), rgba(8, 13, 24, 0.7)),
    radial-gradient(circle at 50% 12%, rgba(50, 245, 255, 0.14), transparent 15rem);
  border: 1px solid rgba(50, 245, 255, 0.24);
  border-radius: 42px;
  box-shadow: var(--shadow), var(--glow-cyan);
  overflow: hidden;
}

.orbit-ring {
  position: absolute;
  top: 26px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(50, 245, 255, 0.32);
  border-radius: 50%;
}

.orbit-ring::before,
.orbit-ring::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.orbit-ring::before {
  inset: 26px;
  border: 1px dashed rgba(255, 79, 216, 0.34);
}

.orbit-ring::after {
  top: 18px;
  right: 42px;
  width: 16px;
  height: 16px;
  background: var(--green);
  box-shadow: 0 0 22px rgba(125, 255, 138, 0.8);
}

.avatar-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  margin: 30px 0 18px;
  background: linear-gradient(135deg, var(--cyan), var(--pink), var(--green));
  border-radius: 50%;
  box-shadow:
    0 0 42px rgba(50, 245, 255, 0.28),
    0 0 70px rgba(255, 79, 216, 0.16);
}

.avatar {
  width: 164px;
  height: 164px;
  border: 6px solid #09111f;
  border-radius: 50%;
  object-fit: cover;
}

.status-pill {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  padding: 8px 14px;
  color: #041013;
  background: var(--green);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(125, 255, 138, 0.28);
}

.quick-facts {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  gap: 10px;
  margin: 0;
}

.quick-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.quick-facts dt {
  color: var(--muted);
}

.quick-facts dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.content-section {
  scroll-margin-top: 112px;
  padding: 72px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading p,
.intro-panel p,
.neon-card p,
.game-card p,
.hobby-bubble p,
.project-card p,
.contact-section p {
  color: var(--muted);
}

.intro-panel,
.neon-card,
.game-card,
.hobby-bubble,
.project-card,
.contact-section {
  background:
    linear-gradient(180deg, rgba(15, 24, 42, 0.88), rgba(9, 14, 25, 0.74)),
    radial-gradient(circle at top right, rgba(50, 245, 255, 0.08), transparent 14rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.intro-panel p {
  margin-bottom: 0;
  font-size: 1.04rem;
}

.round-stat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.round-stat-list span {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(50, 245, 255, 0.18);
  border-radius: 50%;
  text-align: center;
  box-shadow: inset 0 0 22px rgba(50, 245, 255, 0.05);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.neon-card {
  position: relative;
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
}

.neon-card:hover,
.game-card:hover,
.project-card:hover {
  border-color: rgba(50, 245, 255, 0.46);
  box-shadow: var(--shadow), var(--glow-cyan);
}

.card-orb {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 34px rgba(50, 245, 255, 0.5);
}

.card-orb.pink {
  background: var(--pink);
  box-shadow: 0 0 34px rgba(255, 79, 216, 0.46);
}

.card-orb.green {
  background: var(--green);
  box-shadow: 0 0 34px rgba(125, 255, 138, 0.42);
}

.card-kicker {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 248px;
  padding: 22px;
}

.game-disc {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: #05070d;
  background:
    radial-gradient(circle at center, var(--yellow) 0 20%, transparent 22%),
    conic-gradient(from 90deg, var(--cyan), var(--pink), var(--green), var(--cyan));
  border: 8px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  font-weight: 900;
  box-shadow: var(--glow-pink);
}

.tag-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row span,
.progress-label,
.contact-links a,
.link-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(50, 245, 255, 0.22);
  border-radius: 999px;
  background: rgba(50, 245, 255, 0.06);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.link-pill {
  color: var(--muted);
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hobby-bubble {
  display: grid;
  min-height: 230px;
  justify-items: center;
  align-content: center;
  padding: 24px;
  text-align: center;
}

.hobby-bubble span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin-bottom: 18px;
  color: #05070d;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: var(--glow-cyan);
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-card {
  padding: 24px;
}

.project-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.project-dot {
  display: block;
  width: 18px;
  height: 18px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(50, 245, 255, 0.75);
}

.project-dot.pink {
  background: var(--pink);
  box-shadow: 0 0 22px rgba(255, 79, 216, 0.72);
}

.progress-track {
  height: 12px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: inherit;
  box-shadow: var(--glow-cyan);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 44px;
  margin-bottom: 72px;
  padding: 30px;
}

.contact-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.contact-links a:hover,
.contact-links a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cyan);
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(50, 245, 255, 0.18);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.record-number {
  color: rgba(167, 180, 197, 0.76);
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(5, 7, 13, 0.96);
    border: 1px solid rgba(50, 245, 255, 0.22);
    border-radius: 28px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .intro-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  h1 {
    font-size: 3.9rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .credential-grid,
  .game-grid,
  .hobby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .section-wrap,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero {
    gap: 34px;
    padding-bottom: 62px;
  }

  .content-section {
    padding: 50px 0;
  }

  .credential-grid,
  .game-grid,
  .hobby-grid,
  .round-stat-list {
    grid-template-columns: 1fr;
  }

  .round-stat-list span {
    min-height: 74px;
    border-radius: 999px;
  }

  .game-card,
  .project-header {
    grid-template-columns: 1fr;
  }

  .game-disc {
    width: 74px;
    height: 74px;
  }

  .project-header {
    justify-items: start;
  }

  .quick-facts div {
    display: grid;
    gap: 4px;
    border-radius: 24px;
  }

  .quick-facts dd {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
