:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f8f7fb;
  color: #17141f;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --primary: #6200ee;
  --primary-dark: #3700b3;
  --ink: #17141f;
  --muted: #625d6d;
  --line: #e3dfeb;
  --panel: #ffffff;
  --netease: #e60026;
  --qq: #31c27c;
  --bili: #00a1d6;
  --bili-pink: #fb7299;
  --shadow: 0 24px 70px rgba(43, 31, 69, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 251, 0.9)),
    radial-gradient(circle at 10% 12%, rgba(98, 0, 238, 0.16), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(49, 194, 124, 0.14), transparent 26%),
    #f8f7fb;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 32px);
  max-width: 1180px;
  height: 72px;
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

.brand,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(98, 0, 238, 0.24));
}

.header-actions {
  gap: 18px;
  color: #443c52;
  font-size: 0.95rem;
  font-weight: 700;
}

.language-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 36px;
  border: 1px solid rgba(98, 0, 238, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-dark);
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(43, 31, 69, 0.08);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  width: calc(100% - 32px);
  max-width: 1180px;
  min-height: clamp(650px, 82vh, 840px);
  margin: -72px auto 0;
  padding: 130px 0 72px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 80px 0 34px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.44)),
    linear-gradient(120deg, rgba(98, 0, 238, 0.14), rgba(0, 161, 214, 0.1) 52%, rgba(49, 194, 124, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.signal {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.22;
}

.signal-red {
  left: -80px;
  top: 32%;
  background: var(--netease);
}

.signal-green {
  right: 4%;
  top: 8%;
  background: var(--qq);
}

.signal-blue {
  right: 25%;
  bottom: -120px;
  background: var(--bili);
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-content {
  padding-left: clamp(0px, 3vw, 40px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 32px;
  color: #34303e;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.75;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.primary-button {
  gap: 10px;
  padding: 0 22px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 28px rgba(98, 0, 238, 0.26);
}

.primary-button svg,
.secondary-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.primary-button path,
.secondary-button path,
.control-strip path,
.comparison-icon path,
.album-art path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.secondary-button {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(98, 0, 238, 0.18);
  color: var(--primary-dark);
}

.hero-visual {
  display: grid;
  justify-items: center;
  padding-right: clamp(0px, 2vw, 30px);
}

.phone-shell {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 9 / 18.4;
  padding: 18px;
  border: 1px solid rgba(23, 20, 31, 0.12);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 252, 0.98)),
    #fff;
  box-shadow: var(--shadow);
}

.phone-status {
  width: 92px;
  height: 6px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #211b2e;
}

.app-topbar,
.now-playing,
.queue-row,
.control-strip {
  display: flex;
  align-items: center;
}

.app-topbar {
  justify-content: space-between;
  margin-bottom: 18px;
  font-weight: 900;
}

.pill,
.version-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(49, 194, 124, 0.12);
  color: #137a4b;
  font-size: 0.78rem;
  font-weight: 900;
}

.now-playing {
  gap: 14px;
  min-height: 104px;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #211b2e;
  color: #fff;
}

.now-playing strong,
.now-playing span {
  display: block;
}

.now-playing strong {
  margin-bottom: 6px;
}

.now-playing div span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.album-art {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--bili-pink));
}

.album-art svg {
  width: 30px;
  height: 30px;
}

.queue-list {
  display: grid;
  gap: 10px;
}

.queue-row {
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #383244;
  font-weight: 800;
}

.queue-row strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8rem;
}

.platform-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.netease .platform-dot {
  background: var(--netease);
}

.qqmusic .platform-dot {
  background: var(--qq);
}

.bilibili .platform-dot {
  background: var(--bili-pink);
}

.control-strip {
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.control-strip button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #ece7f8;
  color: var(--primary-dark);
}

.control-strip button svg {
  width: 22px;
  height: 22px;
}

.control-strip .play-button {
  width: 54px;
  height: 54px;
  background: var(--primary);
  color: #fff;
}

.section {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.download-section p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.comparison-grid,
.feature-grid,
.details-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.comparison-grid article,
.feature-grid article,
.details-grid article,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(43, 31, 69, 0.06);
}

.comparison-grid article,
.feature-grid article,
.details-grid article {
  padding: 24px;
}

.comparison-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
}

.comparison-icon svg {
  width: 24px;
  height: 24px;
}

.comparison-icon.primary {
  background: rgba(98, 0, 238, 0.1);
  color: var(--primary);
}

.comparison-icon.warning {
  background: rgba(255, 152, 0, 0.12);
  color: #a35d00;
}

.comparison-icon.muted {
  background: rgba(98, 93, 109, 0.1);
  color: #625d6d;
}

h3 {
  margin-bottom: 10px;
  color: #211b2e;
  font-size: 1.1rem;
  line-height: 1.3;
}

article p,
li {
  color: var(--muted);
  line-height: 1.68;
}

article p {
  margin-bottom: 0;
}

.platform-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 10px auto 0;
  padding: 28px;
  border-radius: 20px;
  background: #211b2e;
  color: #fff;
  box-shadow: var(--shadow);
}

.platform-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.platform-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
}

.platform-logo svg {
  width: 21px;
  height: 21px;
}

.platform-logo path {
  fill: currentColor;
}

.netease-logo {
  color: var(--netease);
}

.qq-logo {
  color: var(--qq);
}

.bili-logo {
  color: var(--bili-pink);
}

.details-grid ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 0;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: center;
  gap: 34px;
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto 72px;
  padding: 44px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(98, 0, 238, 0.1), rgba(49, 194, 124, 0.1)),
    #fff;
  border: 1px solid rgba(98, 0, 238, 0.16);
}

.download-section h2 {
  margin-bottom: 14px;
}

.download-panel {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 24px;
}

.download-panel .primary-button {
  width: 100%;
}

.download-panel p {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 24px);
    max-width: 760px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions a {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    max-width: 760px;
    min-height: auto;
    padding-top: 112px;
    gap: 34px;
  }

  .hero-backdrop {
    inset: 78px 0 20px;
    border-radius: 22px;
  }

  .hero-content {
    width: calc(100vw - 64px);
    max-width: 680px;
    margin-inline: auto;
    padding: 0;
  }

  .hero-copy,
  .hero-actions {
    width: 100%;
    max-width: none;
  }

  .hero-copy {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-visual {
    width: calc(100vw - 64px);
    max-width: 680px;
    margin-inline: auto;
    padding: 0 0 30px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100%;
    max-width: calc(100vw - 64px);
  }

  .phone-shell {
    max-width: 330px;
  }

  .section,
  .platform-band,
  .download-section,
  .site-footer {
    width: calc(100% - 24px);
    max-width: 760px;
  }

  .comparison-grid,
  .feature-grid,
  .details-grid,
  .platform-band,
  .download-section {
    grid-template-columns: 1fr;
  }

  .download-section {
    padding: 30px 22px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-section {
    width: calc(100% - 20px);
    max-width: calc(100vw - 20px);
    padding-bottom: 50px;
  }

  .hero-content {
    width: calc(100vw - 64px);
    max-width: calc(100vw - 64px);
    margin-inline: auto;
    padding: 0;
  }

  .hero-copy,
  .hero-actions {
    width: calc(100vw - 64px);
    max-width: calc(100vw - 64px);
  }

  .hero-copy {
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: anywhere;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 4.4rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    max-width: calc(100vw - 64px);
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .phone-shell {
    width: 100%;
    max-width: 286px;
    padding: 15px;
    border-radius: 30px;
  }

  .platform-item {
    justify-content: flex-start;
    padding: 0 16px;
  }

  .section {
    padding: 58px 0;
  }

  .comparison-grid article,
  .feature-grid article,
  .details-grid article {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}
