:root {
  color-scheme: dark;
  --bg: #07040d;
  --panel: rgba(19, 13, 30, 0.42);
  --panel-strong: rgba(24, 17, 38, 0.62);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f8f4ff;
  --muted: rgba(232, 224, 247, 0.68);
  --shadow: 0 22px 60px rgba(6, 3, 11, 0.34);
  --pointer-x: 50%;
  --pointer-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(124, 83, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #08040f 0%, #05020a 50%, #08040f 100%);
  color: var(--text);
  font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(184, 144, 255, 0.1), transparent 18%),
    radial-gradient(circle at calc(var(--pointer-x) + 10%) calc(var(--pointer-y) - 8%), rgba(120, 226, 255, 0.05), transparent 12%);
  pointer-events: none;
  z-index: 0;
}

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

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

.liquid-canvas,
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.liquid-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.94;
}

.atmosphere {
  overflow: hidden;
}

.glow,
.veil,
.grain,
.pointer-light {
  position: absolute;
}

.glow {
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.54;
  animation: drift 18s ease-in-out infinite alternate;
}

.glow-a {
  top: -8vh;
  left: -7vw;
  width: 34vw;
  height: 34vw;
  background: radial-gradient(circle, rgba(147, 100, 255, 0.44) 0%, rgba(147, 100, 255, 0) 72%);
}

.glow-b {
  top: 24vh;
  right: -10vw;
  width: 28vw;
  height: 28vw;
  background: radial-gradient(circle, rgba(90, 146, 255, 0.18) 0%, rgba(90, 146, 255, 0) 72%);
  animation-duration: 22s;
}

.glow-c {
  left: 30vw;
  bottom: -18vh;
  width: 36vw;
  height: 36vw;
  background: radial-gradient(circle, rgba(255, 136, 220, 0.12) 0%, rgba(255, 136, 220, 0) 72%);
  animation-duration: 24s;
}

.veil {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36% 64% 60% 40% / 42% 42% 58% 58%;
  opacity: 0.28;
  backdrop-filter: blur(28px);
  animation: rotateSlow 30s linear infinite;
}

.veil-a {
  top: -18vw;
  right: -18vw;
  width: 72vw;
  height: 72vw;
}

.veil-b {
  left: -18vw;
  bottom: -24vw;
  width: 58vw;
  height: 58vw;
  animation-direction: reverse;
}

.grain {
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  mix-blend-mode: soft-light;
}

.pointer-light {
  left: calc(var(--pointer-x) - 12rem);
  top: calc(var(--pointer-y) - 12rem);
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  filter: blur(24px);
  transition: left 160ms ease, top 160ms ease;
}

.single-page {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(100%, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 24px;
}

.brand {
  position: absolute;
  top: 26px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 14px 8px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
}

.brand::before,
.download-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 44%);
  pointer-events: none;
}

.brand img {
  border-radius: 12px;
}

.brand span {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 7vw, 120px);
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 560px;
  display: grid;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  color: rgba(205, 180, 255, 0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.copy-block {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 460px;
  padding-left: 22px;
}

.copy-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(214, 193, 255, 0), rgba(214, 193, 255, 0.5), rgba(214, 193, 255, 0));
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 700;
}

.summary {
  max-width: 300px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.action-panel {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(150%);
  overflow: hidden;
}

.action-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 48%);
  pointer-events: none;
}

.download-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(145%);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.downloads {
  display: grid;
  gap: 10px;
}

.download-link {
  min-height: 52px;
  padding: 0 14px;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(246, 241, 255, 0.92);
}

.action-panel:hover,
.download-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.magnetic {
  transition: transform 180ms ease;
  will-change: transform;
}

.ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
  pointer-events: none;
  transform: scale(0);
  animation: ripple 640ms ease-out forwards;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3vw, -3vh, 0) scale(1.08);
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes ripple {
  from {
    opacity: 0.72;
    transform: scale(0);
  }
  to {
    opacity: 0;
    transform: scale(12);
  }
}

@media (max-width: 760px) {
  .liquid-canvas {
    opacity: 0.78;
  }

  .glow {
    opacity: 0.42;
  }

  .veil {
    opacity: 0.18;
  }

  .single-page {
    width: 100%;
    padding: 22px 16px;
  }

  .brand {
    top: 20px;
    left: 16px;
    min-height: 50px;
    padding: 7px 12px 7px 7px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .brand span {
    font-size: 0.86rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy {
    max-width: none;
    gap: 14px;
  }

  .copy-block {
    gap: 10px;
    max-width: 320px;
    padding-left: 14px;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
    line-height: 0.96;
  }

  .summary {
    max-width: 250px;
    margin-bottom: 16px;
    font-size: 0.8rem;
  }

  .action-panel {
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
  }

  .downloads {
    gap: 8px;
  }

  .download-link {
    min-height: 46px;
    font-size: 0.74rem;
  }
}

@media (max-width: 420px) {
  .single-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    left: 14px;
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .action-panel {
    padding: 8px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
