:root {
  color-scheme: dark;
  --bg: #050807;
  --bg2: #030c08;
  --fg: #eaffd8;
  --muted: rgba(234, 255, 216, 0.66);
  --muted2: rgba(234, 255, 216, 0.5);
  --line: rgba(234, 255, 216, 0.12);
  --line2: rgba(234, 255, 216, 0.08);
  --accent: #b8ff5a;
  --accent2: #3af2a7;
  --danger: #ff5a75;
  --shadow: rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius2: 14px;
  --max: 1120px;
  --mx: 0px;
  --my: 0px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(1200px 800px at calc(50% + var(--mx)) calc(15% + var(--my)), rgba(184, 255, 90, 0.18), transparent 55%),
    radial-gradient(900px 520px at calc(85% + var(--mx)) calc(35% + var(--my)), rgba(58, 242, 167, 0.14), transparent 55%),
    radial-gradient(1100px 650px at calc(15% + var(--mx)) calc(60% + var(--my)), rgba(140, 110, 255, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.2px;
  overflow-x: hidden;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--fg);
  border: 1px solid var(--line);
  text-decoration: none;
  z-index: 999;
}

.skip:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: 0 0 0 4px rgba(184, 255, 90, 0.2);
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.bg__aurora {
  position: absolute;
  inset: -30%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(184, 255, 90, 0.18),
    rgba(58, 242, 167, 0.12),
    rgba(255, 90, 117, 0.08),
    rgba(184, 255, 90, 0.18)
  );
  filter: blur(40px) saturate(1.15);
  opacity: 0.85;
  transform: translate3d(calc(var(--mx) * 0.2), calc(var(--my) * 0.2), 0);
  animation: float 10s ease-in-out infinite;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--line2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line2) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(closest-side at 50% 30%, rgba(0, 0, 0, 0.85), transparent 78%);
  opacity: 0.6;
}

.bg__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.08;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(5, 8, 7, 0.72), rgba(5, 8, 7, 0));
  backdrop-filter: blur(12px);
}

.top__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__mark {
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: radial-gradient(circle at 30% 30%, var(--accent), rgba(184, 255, 90, 0.15));
  box-shadow: 0 0 0 1px rgba(184, 255, 90, 0.22), 0 10px 20px rgba(184, 255, 90, 0.12);
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.26);
  box-shadow: 0 10px 24px var(--shadow);
}

.pill__dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 255, 90, 0.15), 0 0 22px rgba(184, 255, 90, 0.22);
}

.pill__text {
  font-size: 13px;
  color: var(--muted);
}

.pill__dots {
  display: inline-flex;
  gap: 4px;
  opacity: 0.8;
}

.pill__dots i {
  width: 4px;
  height: 4px;
  border-radius: 99px;
  background: rgba(234, 255, 216, 0.7);
  animation: dots 1.2s infinite ease-in-out;
}

.pill__dots i:nth-child(2) {
  animation-delay: 0.16s;
}

.pill__dots i:nth-child(3) {
  animation-delay: 0.32s;
}

.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 22px 44px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 10px;
}

.hero__content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.18));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  padding: 34px 32px;
  position: relative;
  overflow: hidden;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(800px 420px at 20% 10%, rgba(184, 255, 90, 0.16), transparent 60%),
    radial-gradient(650px 360px at 90% 35%, rgba(58, 242, 167, 0.12), transparent 62%),
    radial-gradient(900px 480px at 50% 95%, rgba(255, 90, 117, 0.08), transparent 60%);
  opacity: 0.9;
  filter: blur(8px);
  pointer-events: none;
}

.hero__title {
  position: relative;
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0.2px;
}

.hero__titleGlow {
  position: absolute;
  inset: -40px -40px -40px -40px;
  background: radial-gradient(420px 240px at 20% 35%, rgba(184, 255, 90, 0.16), transparent 60%),
    radial-gradient(520px 260px at 80% 60%, rgba(58, 242, 167, 0.12), transparent 62%);
  filter: blur(18px);
  opacity: 0.9;
  z-index: -1;
}

.hero__desc {
  position: relative;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 52ch;
}

.hero__hint {
  display: inline-block;
  margin-top: 6px;
  color: rgba(234, 255, 216, 0.78);
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 16px;
  text-decoration: none;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: 0.2px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
  user-select: none;
}

.btn__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.btn__icon svg {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: linear-gradient(180deg, rgba(184, 255, 90, 1), rgba(58, 242, 167, 0.85));
  color: #051007;
  box-shadow: 0 20px 44px rgba(184, 255, 90, 0.14), 0 18px 34px rgba(58, 242, 167, 0.08);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 56px rgba(184, 255, 90, 0.16), 0 18px 40px rgba(58, 242, 167, 0.1);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(184, 255, 90, 0.22), 0 20px 44px rgba(184, 255, 90, 0.14);
}

.cta__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.cta__metaKey {
  font-size: 12px;
  color: var(--muted2);
}

.cta__metaVal {
  font-size: 12px;
  color: rgba(234, 255, 216, 0.78);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(0, 0, 0, 0.22);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.14));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(620px 420px at 70% 10%, rgba(184, 255, 90, 0.12), transparent 62%),
    radial-gradient(620px 420px at 20% 80%, rgba(255, 90, 117, 0.08), transparent 62%);
  opacity: 0.9;
  pointer-events: none;
  filter: blur(10px);
}

.panel__title {
  position: relative;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.panel__list {
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.panel__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line2);
  margin-top: 16px;
  padding-top: 14px;
}

.panel__footLabel {
  font-size: 12px;
  color: var(--muted2);
}

.panel__footValue {
  font-size: 12px;
  color: rgba(234, 255, 216, 0.78);
}

.info {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(0, 0, 0, 0.18);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.card__kicker {
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}

.card__title {
  font-weight: 720;
  margin-bottom: 10px;
  line-height: 1.25;
}

.card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.card code {
  color: rgba(234, 255, 216, 0.84);
  border: 1px solid var(--line2);
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: 10px;
  white-space: nowrap;
}

.footer {
  border-top: 1px solid rgba(234, 255, 216, 0.08);
  background: rgba(5, 8, 7, 0.6);
  backdrop-filter: blur(12px);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.footer__brand {
  font-weight: 740;
  letter-spacing: 0.4px;
}

.footer__note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted2);
}

.footer__time {
  font-size: 12px;
  color: rgba(234, 255, 216, 0.6);
}

body:not(.is-ready) .hero__content,
body:not(.is-ready) .panel,
body:not(.is-ready) .card {
  transform: translateY(10px);
  opacity: 0.001;
}

.hero__content,
.panel,
.card {
  transform: translateY(0);
  opacity: 1;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.panel {
  transition-delay: 60ms;
}

.card:nth-child(1) {
  transition-delay: 120ms;
}

.card:nth-child(2) {
  transition-delay: 180ms;
}

.card:nth-child(3) {
  transition-delay: 240ms;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(calc(var(--mx) * 0.2), calc(var(--my) * 0.2), 0) scale(1);
  }
  50% {
    transform: translate3d(calc(var(--mx) * 0.2), calc(var(--my) * 0.2), 0) scale(1.03);
  }
}

@keyframes dots {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: 40px;
  }
  .info {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg__aurora {
    animation: none;
  }
  .pill__dots i {
    animation: none;
  }
  .hero__content,
  .panel,
  .card {
    transition: none;
  }
}
