/* 网易云音乐 · 官方资讯与下载中心
   移动端优先，断点 768px / 1024px */

:root {
  --primary: #052953;
  --primary-light: #007cc2;
  --accent: #f60;
  --text: #1a1a1a;
  --muted: #666;
  --muted-2: #999;
  --bg: #fff;
  --alt: #f5f7fa;
  --line: #e8edf4;
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], [id="compare"], [id="faq"] { scroll-margin-top: 76px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

h1 { font-size: 28px; line-height: 1.28; font-weight: 700; }
h2 { font-size: 22px; line-height: 1.4; font-weight: 600; color: #000; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 600; color: #000; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section--alt { background: var(--alt); }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 15px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--primary); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 0; color: #fff; }

/* 按钮 */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #e65c00; color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #031d3b; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #eef4fb; color: var(--primary); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

/* 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: 0 2px 14px rgba(5,41,83,.1); border-bottom-color: var(--line); }
.header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; max-width: 1200px; margin: 0 auto; padding: 0 16px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--primary); }
.brand:hover { color: var(--primary); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { white-space: nowrap; }
.nav-container { max-width: 800px; margin: 0 auto; }
.nav-list { display: none; }
.nav-list a { display: inline-block; font-size: 15.5px; font-weight: 700; color: #000; padding: 6px 2px; }
.nav-list a:hover, .nav-list a:focus { color: var(--primary); }
.header-actions { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--primary); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none; position: absolute; top: 60px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(5,41,83,.12);
  padding: 8px 16px 20px;
}
.nav-drawer.open { display: block; }
.nav-drawer a { display: block; padding: 12px 4px; font-size: 15.5px; font-weight: 700; color: #000; border-bottom: 1px solid var(--line); }
.nav-drawer a:hover { color: var(--primary); }
.nav-drawer .btn { margin-top: 16px; border-bottom: 0; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(138deg, #052953 0%, #083a6b 52%, #007cc2 130%);
  padding: 48px 0 56px;
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -180px;
  background: radial-gradient(circle, rgba(0,124,194,.55), rgba(0,124,194,0) 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 36px; }
.hero h1 { color: #fff; margin-top: 12px; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1px;
  color: #cfe6f8; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 4px 12px;
}
.hero-sub { margin-top: 16px; font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 32px; }
.hero-stats b { display: block; font-size: 22px; line-height: 1.3; font-weight: 700; color: #fff; }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.72); }

/* 播放器模拟 UI */
.player-card {
  max-width: 380px; margin: 0 auto; background: #fff; color: var(--text);
  border-radius: 12px; padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.player-top { display: flex; gap: 14px; align-items: center; }
.player-cover {
  position: relative; flex: none; width: 72px; height: 72px; border-radius: 8px;
  background: linear-gradient(135deg, #052953, #007cc2 70%, #f60 160%);
  display: grid; place-items: center; color: #fff; font-size: 30px;
}
.player-cover::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.player-title { font-size: 15px; font-weight: 600; color: #000; }
.player-artist { font-size: 13px; color: var(--muted); margin-top: 2px; }
.player-tag {
  display: inline-block; margin-top: 6px; font-size: 11px; line-height: 1.6;
  color: var(--accent); background: rgba(246,102,0,.1); border: 1px solid rgba(246,102,0,.3);
  border-radius: 999px; padding: 0 8px;
}
.progress { height: 4px; margin-top: 18px; background: #e9eef4; border-radius: 999px; }
.progress-bar { position: relative; width: 42%; height: 100%; background: var(--accent); border-radius: 999px; }
.progress-bar::after {
  content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: #fff; border: 2px solid var(--accent);
}
.progress.is-playing .progress-bar { animation: progress-run 12s linear infinite; }
@keyframes progress-run { from { width: 42%; } to { width: 92%; } }
.player-time { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted-2); }
.player-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.player-controls button { display: grid; place-items: center; background: transparent; border: 0; padding: 0; cursor: pointer; color: var(--primary); }
.player-controls button:hover { color: var(--accent); }
.player-controls svg { width: 20px; height: 20px; fill: currentColor; }
.play-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--accent) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(246,102,0,.35); }
.play-btn svg { width: 18px; height: 18px; }
.player-volume { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted-2); }
.player-volume svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.volume-track { position: relative; width: 88px; height: 3px; border-radius: 999px; background: #e9eef4; }
.volume-track i { position: absolute; inset: 0 30% 0 0; background: var(--primary-light); border-radius: 999px; }
.player-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.icon-actions { display: flex; gap: 14px; }
.icon-actions button { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font-size: 12px; }
.icon-actions button svg { width: 17px; height: 17px; fill: currentColor; }
.icon-actions button.active, .icon-actions button:hover { color: var(--accent); }
.playlist-tabs { display: flex; gap: 6px; margin-top: 16px; }
.tab-btn {
  flex: 1; padding: 6px 4px; font-size: 12.5px; font-family: inherit; color: var(--muted);
  background: var(--alt); border: 1px solid transparent; border-radius: 999px; cursor: pointer;
}
.tab-btn.active { color: #fff; background: var(--primary); }
.playlist { margin-top: 10px; }
.playlist li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 12.5px; color: var(--muted); border-bottom: 1px dashed var(--line); }
.playlist li:last-child { border-bottom: 0; }
.playlist .idx { color: var(--accent); font-weight: 700; margin-right: 6px; }

/* 公告 */
.announce { background: rgba(5,41,83,.06); border-left: 4px solid var(--accent); }
.announce .container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-top: 14px; padding-bottom: 14px; }
.announce-icon { color: var(--accent); font-size: 16px; line-height: 1; }
.announce-title { font-size: 14px; font-weight: 700; color: var(--primary); }
.announce p { flex: 1 1 260px; font-size: 14px; color: var(--primary); }
.announce a { font-size: 14px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.announce a:hover { color: var(--accent); }

/* 功能卡 */
.feature-grid { display: grid; gap: 16px; }
.feature-card {
  display: flex; flex-direction: column; background: var(--alt); border: 1px solid #edf1f6;
  border-radius: 12px; padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(5,41,83,.1); }
.feature-icon { font-size: 26px; line-height: 1.2; margin-bottom: 10px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.card-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--primary-light); }
.card-link:hover { color: var(--accent); }

/* 对比表 */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: 12px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 6px 18px rgba(5,41,83,.06);
}
.compare-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.compare-table caption { caption-side: bottom; padding: 12px; font-size: 12.5px; color: var(--muted-2); text-align: left; }
.compare-table th, .compare-table td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--primary); color: #fff; font-weight: 700; white-space: nowrap; }
.compare-table thead th.self { background: #0a3f7a; }
.compare-table tbody th { text-align: left; background: var(--alt); color: var(--primary); font-weight: 600; white-space: nowrap; }
.compare-table tbody tr:nth-child(even) td { background: #fafbfd; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td.self { color: var(--accent); font-weight: 700; }
.pill { display: inline-block; padding: 1px 10px; font-size: 12px; font-weight: 700; color: var(--accent); background: rgba(246,102,0,.1); border-radius: 999px; }

/* 资讯卡 */
.news-grid { display: grid; gap: 16px; }
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(5,41,83,.12); }
.news-thumb { aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; font-size: 30px; }
.news-thumb--a { background: linear-gradient(135deg, #052953, #007cc2); }
.news-thumb--b { background: linear-gradient(135deg, #007cc2, #2aa7e0); }
.news-thumb--c { background: linear-gradient(135deg, #f60, #ff9448); }
.news-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.news-meta { font-size: 12.5px; color: var(--muted-2); margin-bottom: 8px; }
.news-body h3 { margin-bottom: 8px; }
.news-body h3 a { color: #000; }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { color: var(--muted); font-size: 14.5px; }
.news-body .card-link { margin-top: auto; padding-top: 14px; }

/* 评价卡 */
.review-grid { display: grid; gap: 16px; }
.review-card {
  display: flex; flex-direction: column; background: var(--alt); border: 1px solid #edf1f6;
  border-radius: 12px; padding: 22px; box-shadow: 0 4px 14px rgba(5,41,83,.05);
}
.review-stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; margin-bottom: 10px; }
.review-card p { font-size: 14.5px; line-height: 1.85; color: var(--text); }
.review-user { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--primary); color: #fff;
  font-size: 15px; font-weight: 700;
}
.avatar--a { background: linear-gradient(135deg, #052953, #007cc2); }
.avatar--b { background: linear-gradient(135deg, #f60, #ff9a4d); }
.avatar--c { background: linear-gradient(135deg, #007cc2, #35b6a0); }
.review-name { font-size: 14px; font-weight: 600; color: #000; }
.review-meta { font-size: 12.5px; color: var(--muted-2); }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
.faq details[open] { border-color: rgba(0,124,194,.4); box-shadow: 0 6px 16px rgba(5,41,83,.06); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 15px; font-weight: 600; }
.faq summary::after { content: "+"; color: var(--primary-light); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.85; }

/* CTA */
.cta-banner { background: linear-gradient(135deg, #052953 0%, #083a6b 60%, #007cc2 140%); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta-banner h2 { color: #fff; font-size: 24px; }
.cta-banner p { margin-top: 10px; color: rgba(255,255,255,.8); font-size: 15px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: #041f3f; color: rgba(255,255,255,.68); padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.footer-brand .brand { color: #fff; font-size: 16px; }
.footer-brand .brand img { width: 28px; height: 28px; }
.footer-slogan { margin-top: 12px; font-size: 13.5px; line-height: 1.8; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.68); font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.social-list { display: flex; flex-wrap: wrap; gap: 10px; }
.social-list span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.8); }
.footer-bottom {
  margin-top: 32px; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0;
  font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between;
  color: rgba(255,255,255,.5);
}

/* 内页 */
.page-hero { background: linear-gradient(138deg, #052953 0%, #083a6b 60%, #007cc2 140%); color: #fff; padding: 40px 0; }
.page-hero h1 { color: #fff; font-size: 26px; }
.page-hero p { margin-top: 12px; color: rgba(255,255,255,.8); font-size: 15px; max-width: 760px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }

.feature-list { display: grid; gap: 16px; }
.feature-block { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.feature-block h2 { font-size: 20px; margin-bottom: 10px; }
.feature-block p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.feature-block ul { margin-top: 12px; }
.feature-block ul li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.9; }
.feature-block ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.platform-grid { display: grid; gap: 16px; }
.platform-card { background: var(--alt); border: 1px solid #edf1f6; border-radius: 12px; padding: 24px; text-align: center; }
.platform-card .plat-icon { font-size: 30px; }
.platform-card h2 { font-size: 19px; margin: 8px 0 6px; }
.platform-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }

.article { max-width: 820px; margin: 0 auto; }
.article-meta { font-size: 13px; color: var(--muted-2); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.article h2 { margin: 28px 0 12px; font-size: 20px; }
.article p { color: #333; font-size: 15.5px; line-height: 1.95; margin-bottom: 14px; }
.article ul { margin: 0 0 16px; }
.article ul li { position: relative; padding-left: 20px; color: #333; font-size: 15px; line-height: 1.9; }
.article ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-light); }
.article-tip { background: var(--alt); border-left: 4px solid var(--primary-light); border-radius: 8px; padding: 14px 18px; font-size: 14px; color: var(--muted); margin: 18px 0; }
.article-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

.notice { max-width: 820px; margin: 0 auto; }
.notice h2 { font-size: 20px; margin-bottom: 12px; }
.notice p { color: var(--muted); font-size: 14.5px; line-height: 1.9; margin-bottom: 10px; }

/* 响应式 */
@media (min-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .container { padding: 0 24px; }
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
  h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  h3 { font-size: 19px; }
  .hero-sub { font-size: 16px; }
  .feature-grid, .news-grid, .review-grid, .feature-list, .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-card, .news-body, .review-card, .feature-block { padding: 24px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-banner { padding: 64px 0; }
  .page-hero { padding: 56px 0; }
  .page-hero h1 { font-size: 32px; }
  .hero h1 { margin-top: 16px; }
}

@media (min-width: 1024px) {
  .section { padding: 88px 0; }
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  .hero { padding: 96px 0 104px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .feature-grid, .news-grid, .review-grid, .platform-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .feature-card, .review-card { padding: 28px 32px; }
  .news-body { padding: 24px 28px; }
  .hero-stats { gap: 36px; }
  .hero-stats b { font-size: 24px; }
  .nav-toggle { display: none; }
  .nav-drawer { display: none !important; }
  .nav-list { display: flex; align-items: center; }
  .nav-list li { margin: 0 10px; }
  .header-actions { display: flex; align-items: center; gap: 12px; }
  .brand span { font-size: 18px; }
  .header-inner { height: 64px; }
  .nav-drawer { top: 64px; }
  .article p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
