:root {
  --ink: #f4fbff;
  --muted: rgba(226, 242, 252, 0.66);
  --faint: rgba(226, 242, 252, 0.42);
  --line: rgba(178, 226, 246, 0.2);
  --line-strong: rgba(178, 226, 246, 0.42);
  --accent: #9ce7ff;
  --glass: rgba(7, 20, 33, 0.3);
  --night: #07121f;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: -2%;
  z-index: 0;
  background: url("assets/bg.webp") center center / cover no-repeat;
  filter: saturate(0.9) brightness(0.78) contrast(1.04);
  transform: scale(1.02);
  animation: bg-breathe 24s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 9, 17, 0.72) 0%, rgba(3, 12, 22, 0.18) 32%, rgba(2, 9, 17, 0.42) 68%, rgba(1, 6, 12, 0.9) 100%),
    radial-gradient(ellipse at 52% 44%, rgba(7, 18, 30, 0.02) 0%, rgba(2, 9, 17, 0.34) 78%, rgba(1, 5, 10, 0.7) 100%);
}

.shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 clamp(20px, 5vw, 68px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 3.2vw, 36px) 0 clamp(14px, 2vw, 24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(178, 234, 255, 0.2), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  background: rgba(180, 236, 255, 0.06);
  border-radius: 50%;
  backdrop-filter: blur(14px);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
}

.brand-en {
  color: var(--faint);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1;
}

.topbar-note {
  color: rgba(224, 244, 255, 0.52);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.4em;
  white-space: nowrap;
}

.stage {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 7vh, 90px) 0 clamp(46px, 8vh, 90px);
}

.hero {
  width: min(1040px, 100%);
  min-width: 0;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 0 clamp(20px, 3vw, 30px);
  color: rgba(212, 240, 255, 0.54);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.42em;
  line-height: 1;
  animation: rise-in 0.9s cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.eyebrow span {
  display: block;
  width: clamp(24px, 5vw, 58px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 230, 255, 0.55));
}

.eyebrow span:last-child {
  transform: scaleX(-1);
}

h1 {
  margin: 0;
  color: #f8fdff;
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(62px, 11vw, 126px);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 0.98;
  text-indent: 0.14em;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08),
    0 14px 48px rgba(0, 0, 0, 0.45),
    0 0 70px rgba(112, 212, 255, 0.13);
  animation: rise-in 1s 0.08s cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.hero-en {
  margin: clamp(20px, 3vw, 30px) 0 0;
  color: rgba(205, 238, 255, 0.57);
  font-size: clamp(8px, 1.15vw, 10px);
  font-weight: 500;
  letter-spacing: 0.42em;
  line-height: 1.5;
  text-indent: 0.42em;
  animation: rise-in 1s 0.16s cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.hero-intro {
  max-width: 430px;
  margin: clamp(22px, 3.5vw, 34px) auto 0;
  color: var(--muted);
  font-size: clamp(12px, 1.5vw, 13.5px);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.9;
  animation: rise-in 1s 0.24s cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0 21px;
  border-top: 1px solid rgba(191, 231, 255, 0.12);
  color: rgba(215, 241, 255, 0.4);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

.footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.footer-icp {
  color: rgba(215, 241, 255, 0.34);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.footer-mid {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  color: rgba(215, 241, 255, 0.28);
  font-size: 9px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.footer a {
  color: rgba(215, 241, 255, 0.56);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #f1fcff;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bg-breathe {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(0, -0.6%, 0);
  }
}

@media (max-width: 780px) {
  .hero-intro {
    max-width: 300px;
  }

  .footer-mid {
    display: none;
  }
}

@media (max-width: 520px) {
  .topbar-note {
    display: none;
  }

  .brand-name {
    font-size: 14px;
  }

  .stage {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(44px, 13.5vw, 64px);
    letter-spacing: 0.1em;
    text-indent: 0.1em;
  }

  .eyebrow {
    letter-spacing: 0.3em;
  }

  .hero-en {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
  }

  .footer {
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: space-between;
    font-size: 8.5px;
  }

  .footer-left {
    width: 100%;
    gap: 2px 8px;
  }

  .footer-icp {
    font-size: 8px;
    letter-spacing: 0.02em;
  }

  .footer > a:last-child {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
