:root {
  color-scheme: dark;
  --bg: #090d12;
  --bg-soft: #101722;
  --panel: rgba(18, 27, 39, 0.78);
  --panel-solid: #121b27;
  --line: rgba(157, 177, 204, 0.22);
  --ink: #f4f8ff;
  --muted: #a6b4c6;
  --dim: #6f7e92;
  --cyan: #34d4d8;
  --lime: #b5f36a;
  --amber: #ffc857;
  --coral: #ff6b57;
  --blue: #5a8cff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(52, 212, 216, 0.2), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(255, 200, 87, 0.16), transparent 24%),
    linear-gradient(135deg, #090d12 0%, #111722 52%, #080b10 100%);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial,
    sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

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

.site-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 32px;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  min-height: 74vh;
  padding: 32px 0 54px;
}

.avatar-panel {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(52, 212, 216, 0.24), transparent 36%),
    linear-gradient(315deg, rgba(255, 200, 87, 0.18), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.avatar-panel::before,
.avatar-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.avatar-panel::before {
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.avatar-panel::after {
  right: 20px;
  bottom: 20px;
  width: 84px;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  border-radius: 999px;
}

.avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
small,
strong {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 4.9rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.intro {
  max-width: 690px;
  margin: 26px 0 24px;
  color: var(--muted);
  font-size: 1.1rem;
}

.handle-row {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(52, 212, 216, 0.38);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(52, 212, 216, 0.08);
  box-shadow: 0 0 34px rgba(52, 212, 216, 0.12);
  font-weight: 800;
}

.handle-row span {
  min-width: 0;
}

.link-band,
.service-band {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.platform-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 27, 39, 0.74);
  backdrop-filter: blur(14px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

a.platform-card:hover,
a.platform-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(52, 212, 216, 0.68);
  background: rgba(22, 34, 48, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  outline: none;
}

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

.platform-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #061015;
  font-weight: 900;
}

.platform-copy {
  min-width: 0;
}

.platform-copy strong,
.platform-copy small {
  display: block;
}

.platform-copy strong {
  color: var(--ink);
  font-size: 1rem;
}

.platform-copy small {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bilibili {
  background: #34c6f3;
}

.youtube {
  background: #ff5c4d;
}

.rednote {
  background: #ff4f66;
}

.douyin {
  color: #ffffff;
  background: #111111;
  box-shadow: inset 2px 0 0 #34d4d8, inset -2px 0 0 #ff4f66;
}

.wechat {
  background: #8ee66b;
}

.channels {
  background: #ffc857;
}

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

.service-card {
  position: relative;
  min-height: 260px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    var(--panel-solid);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 2px;
  content: "";
  background: var(--cyan);
}

.service-index {
  display: block;
  margin-bottom: 54px;
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 900;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--dim);
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .hero-band {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  .avatar-panel {
    width: min(100%, 360px);
  }

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

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

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 560px);
    padding-top: 20px;
  }

  .hero-band {
    padding: 12px 0 42px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4.2rem);
  }

  .section-heading {
    display: block;
  }

  .platform-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 78px;
  }

  .service-card {
    min-height: 218px;
  }

  .service-index {
    margin-bottom: 34px;
  }
}
