:root {
  --font-base: "Comic Neue", "Comic Sans MS", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
  --color-link: #475569;
  --color-link-hover: #0f172a;
  --color-enter: #0f172a;
  --color-title: #0f172a;
  --color-content: #ffffff;
}

@font-face {
  font-family: 'Comic Neue';
  font-display: swap;
  src: url('/homepage/fonts/ComicNeue-Light.woff') format('woff');
  font-weight: 100 200;
  font-style: normal;
}

@font-face {
  font-family: 'Comic Neue';
  font-display: swap;
  src: url('/homepage/fonts/ComicNeue-Regular.woff') format('woff');
  font-weight: 300 400;
  font-style: normal;
}

@font-face {
  font-family: 'Comic Neue';
  font-display: swap;
  src: url('/homepage/fonts/ComicNeue-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Comic Sans MS';
  font-display: swap;
  src: url('/homepage/fonts/ComicNeue-Light.woff') format('woff');
  font-weight: 100 200;
}

@font-face {
  font-family: 'Comic Sans MS';
  font-display: swap;
  src: url('/homepage/fonts/ComicNeue-Regular.woff') format('woff');
  font-weight: 300 400;
}

@font-face {
  font-family: iconfont;
  font-display: auto;
  src: url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAigAAsAAAAADxAAAAhSAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEGAqPYIxdATYCJAMoCxYABCAFhG0HgRQbrwwjESZs1EX2FweZ3MWewKz2pGZnd5rMSlW4wjhlUqUv84D8x7m53bQj8T4Hz9Pa78/Mnd2n0iCRzCSrJLcMiURoGqJmutdv1r4PT5v7d9ySVimxGAuMWltbA1uzisTgtO+MAvywyraIH900QMCZeai4teMO1gmaEPOX8IubdfdzChP1jinP/vLTMlNIWwgfwvr/71XNxGyQebMtQAGL4ftZY3bshT2lD1ygsYb9UrDBaktSIAyAV8G8mg6vwyQ+DQW4SZRK1da39uLEINgUBsxMjg/idPkxMRyF02WHXGmkjoA+Tv3htoBD/ffVR7IzEhpLJDyrc6xuhMo38nM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VC0D0CAv0VLOI+g00wGNyM/uv5jtdeoqtXwUKxhnIDqrg3UkivjIFf2Ey+EKdJ5/+hjFSCJIy9HZ/Yo5Rxzjg3qaoBI9zBB3kees8wCFusNGxVh0MUmbBzw4q73ZVXAhVUla+B0qZOKqxndlZXvp//ghoTryAxM37U/yAxot2DRChOQf6096lmbMvw0ayRUho1QB4vWAd80CjyYp2BIfwwC1VUqM1RHRxEdCWT1h7W7+yWtumtNYtA3FWNIOkMJguzKZ2NtJ3Kc11IFeWUtVUvwq4gf1Gyw20q+qd56pKtVLCXvX1gBPuLtB9M7kYtKhfwjGI8L9cL0kp9UPGw7XYA") format("woff2");
}

.icon {
  display: block;
  width: 1.5em;
  height: 1.5em;
  margin: 0 auto;
  fill: currentColor;
  font-family: iconfont !important;
  font-size: inherit;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-github:before { content: "\e7ab"; }
.icon-twitter:before { content: "\ecc1"; }
.icon-other:before { content: "\e631"; }
.icon-email:before { content: "\e62d"; }
.icon-bokeyuan:before { content: "\e603"; }
.icon-xiaolian:before { content: "\e650"; }
.icon-wechat:before { content: "\f23b"; }

* {
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
}

html:has(.content-intro) {
  font-size: 20px !important;
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #ffffff;
}

body {
  font-family: var(--font-base) !important;
  font-weight: 200;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--color-link);
  outline: 0;
}

main {
  overflow: hidden;
}

.content, main {
  height: 100vh;
  width: 100%;
  position: relative;
}

.content {
  background: 0 0;
}

.content-intro {
  z-index: 100;
  height: 200vh;
}

.content-main {
  position: fixed;
  top: 0;
  left: 0;
  background: #ffffff;
}

.content-inner {
  position: relative;
  width: 100%;
  height: 100vh;
  user-select: none;
  -webkit-user-select: none;
}

.wrap {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fade {
  opacity: 0;
  transition: all 1s;
  transform: translateY(160px);
}

.fade.in {
  opacity: 1;
  transform: none;
}

#background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.shape-wrap {
  position: relative;
  z-index: 0;
  margin: -5px 0 0;
  background: #ffffff;
}

.shape {
  height: 100vh;
  width: 100%;
  display: block;
  background: 0 0;
}

.shape path {
  fill: #ffffff;
}

.content-title {
  font-family: var(--font-base);
  font-size: 4.4rem;
  font-weight: 200;
  color: #0f172a;
  line-height: 1.1;
  margin-top: .8em;
  margin-bottom: .35em;
  letter-spacing: 3px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

@media screen and (max-width: 50em) {
  .content-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
}

.content-subtitle {
  font-family: var(--font-base);
  color: #475569;
  font-size: 1.15rem;
  font-weight: 200;
  margin-bottom: 2.4em;
  letter-spacing: 2.5px;
}

@media screen and (max-width: 1024px) {
  .content-subtitle {
    font-size: 1rem;
    letter-spacing: 1.5px;
  }
}

.content-subtitle span {
  animation: letter-glow .7s 0s ease both;
}

@keyframes letter-glow {
  0% {
    opacity: 0;
    text-shadow: 0 0 1px rgba(0,0,0,0.1);
  }
  66% {
    opacity: 1;
    color: #2563eb;
    text-shadow: 0 0 12px rgba(37, 99, 235, 0.35);
  }
  77% {
    opacity: 1;
  }
  to {
    opacity: 0.85;
    color: #475569;
    text-shadow: none;
  }
}

.content-subtitle span:nth-child(1)  { animation-delay: 50ms; }
.content-subtitle span:nth-child(2)  { animation-delay: .1s; }
.content-subtitle span:nth-child(3)  { animation-delay: .15s; }
.content-subtitle span:nth-child(4)  { animation-delay: .2s; }
.content-subtitle span:nth-child(5)  { animation-delay: .25s; }
.content-subtitle span:nth-child(6)  { animation-delay: .3s; }
.content-subtitle span:nth-child(7)  { animation-delay: .35s; }
.content-subtitle span:nth-child(8)  { animation-delay: .4s; }
.content-subtitle span:nth-child(9)  { animation-delay: .45s; }
.content-subtitle span:nth-child(10) { animation-delay: .5s; }
.content-subtitle span:nth-child(11) { animation-delay: .55s; }
.content-subtitle span:nth-child(12) { animation-delay: .6s; }
.content-subtitle span:nth-child(13) { animation-delay: .65s; }
.content-subtitle span:nth-child(14) { animation-delay: .7s; }
.content-subtitle span:nth-child(15) { animation-delay: .75s; }
.content-subtitle span:nth-child(16) { animation-delay: .8s; }
.content-subtitle span:nth-child(17) { animation-delay: .85s; }
.content-subtitle span:nth-child(18) { animation-delay: .9s; }
.content-subtitle span:nth-child(19) { animation-delay: .95s; }
.content-subtitle span:nth-child(20) { animation-delay: 1s; }
.content-subtitle span:nth-child(21) { animation-delay: 1.05s; }
.content-subtitle span:nth-child(22) { animation-delay: 1.1s; }
.content-subtitle span:nth-child(23) { animation-delay: 1.15s; }
.content-subtitle span:nth-child(24) { animation-delay: 1.2s; }
.content-subtitle span:nth-child(25) { animation-delay: 1.25s; }
.content-subtitle span:nth-child(26) { animation-delay: 1.3s; }
.content-subtitle span:nth-child(27) { animation-delay: 1.35s; }
.content-subtitle span:nth-child(28) { animation-delay: 1.4s; }
.content-subtitle span:nth-child(29) { animation-delay: 1.45s; }
.content-subtitle span:nth-child(30) { animation-delay: 1.5s; }

.enter {
  font-family: var(--font-base);
  color: #0f172a;
  font-size: .88rem;
  font-weight: 300;
  letter-spacing: 5px;
  white-space: pre;
  pointer-events: auto;
  transition: all .25s ease;
  z-index: 999;
  position: relative;
  cursor: pointer;
  padding: 8px 24px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.enter:hover {
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

.arrow {
  position: absolute;
  left: 49.5%;
  top: 90%;
  transform-origin: 50% 50%;
  transform: translate3d(-50%, 0, 0);
}

.arrow-1 { animation: arrow-movement 2s ease-in-out infinite; }
.arrow-2 { animation: arrow-movement 2s 1s ease-in-out infinite; }

.arrow:after, .arrow:before {
  background: #64748b;
  content: "";
  display: block;
  height: 2.5px;
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.arrow:before {
  transform: rotate(45deg) translateX(-10%);
  transform-origin: top left;
}

.arrow:after {
  transform: rotate(-45deg) translateX(10%);
  transform-origin: top right;
}

@keyframes arrow-movement {
  0% { opacity: 0; top: 88%; }
  70% { opacity: 1; }
  to { opacity: 0; }
}

/* 第二屏卡片与布局 */
#card {
  position: relative;
  width: 100vw;
  height: 100vh;
  color: #475569;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: width .5s ease, height .5s ease;
  z-index: 2;
  pointer-events: none;
}

#card .card-inner {
  padding: 0;
  border: 0;
  width: 380px;
  max-width: 90%;
  pointer-events: auto;
}

#card .card-inner header {
  margin-bottom: 36px;
}

/* 专属圆形头像徽章 */
.avatar-wrap,
.avatar-blank {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all .4s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  overflow: hidden;
}

.avatar-wrap:hover,
.avatar-blank:hover {
  transform: rotate(360deg);
  border-color: #2563eb;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.16);
}

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

.avatar-blank-spark {
  font-size: 32px;
  line-height: 1;
  color: #94a3b8;
  transition: color .4s ease;
}

.avatar-blank:hover .avatar-blank-spark {
  color: #2563eb;
}

#card .card-inner header h1 {
  font-family: var(--font-base);
  margin: 18px 0 10px;
  color: #0f172a;
  font-size: 2.1rem;
  line-height: 1.2em;
  font-weight: 200;
  letter-spacing: 2px;
  z-index: 2;
  position: relative;
}

#card .card-inner header h2 {
  font-family: var(--font-base);
  color: #64748b;
  letter-spacing: 2.5px;
  font-size: .88rem;
  font-weight: 200;
  line-height: 1.6;
  z-index: 2;
  position: relative;
}

#card .card-inner ul {
  position: relative;
  margin: 0 auto;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  background: transparent !important;
}

#card .card-inner ul li {
  z-index: 2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .2s;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#card .card-inner ul li a {
  color: #64748b;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 200;
  letter-spacing: 2px;
  text-indent: 2px;
  padding: 4px 10px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: all .2s ease;
}

#card .card-inner ul li a:hover {
  color: #0f172a;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

#card .card-inner ul li a .icon {
  display: none !important;
}

.intro-beian,
.home-beian {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
  pointer-events: auto;
  font-family: var(--font-base);
  font-size: 0.72rem;
  font-weight: 200;
  letter-spacing: 0.8px;
  line-height: 1;
}

.intro-beian a,
.home-beian a {
  color: #94a3b8;
  opacity: 0.45;
  text-decoration: none;
  transition: opacity .3s ease, color .3s ease;
}

.intro-beian a:hover,
.home-beian a:hover {
  opacity: 0.9;
  color: #475569;
}
