/* ==========================================================
   千千静听官方网站样式 - qianqianjingting.site
   ========================================================== */
:root {
  --ink: #0b1420;
  --ink-2: #101c2c;
  --ink-3: #16273c;
  --paper: #f5f2ea;
  --cyan: #4cc3ff;
  --cyan-deep: #1e8fd5;
  --amber: #ffb347;
  --amber-deep: #e8952e;
  --rose: #ff7e8a;
  --txt: #d8e4f0;
  --txt-dim: #8fa3ba;
  --txt-dark: #2a3546;
  --line: rgba(120, 170, 220, 0.16);
  --radius: 14px;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --kai: "Kaiti SC", "KaiTi", "STKaiti", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--txt);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--amber); }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(11, 20, 32, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand .name { font-size: 20px; font-weight: 700; letter-spacing: 2px; }
.brand .name em {
  font-style: normal; font-family: var(--serif);
  color: var(--amber); font-size: 13px; letter-spacing: 4px;
  display: block; line-height: 1; margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--txt-dim); padding: 8px 16px; border-radius: 8px;
  font-size: 15px;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(76, 195, 255, 0.12); }
.nav .nav-btn {
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  color: #04121f; font-weight: 700; padding: 9px 22px;
  border-radius: 999px; margin-left: 10px;
}
.nav .nav-btn:hover { color: #04121f; filter: brightness(1.1); }
.nav-toggle { display: none; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(11,20,32,.72), rgba(11,20,32,.94)),
    url("../img/vinyl-wallpaper.jpg") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 78% 30%, rgba(76,195,255,.14), transparent 70%),
              radial-gradient(40% 40% at 12% 80%, rgba(255,179,71,.10), transparent 70%);
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 72px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(76,195,255,.4); color: var(--cyan);
  font-size: 13px; padding: 5px 14px; border-radius: 999px;
  margin-bottom: 22px; letter-spacing: 1px;
}
.hero-badge i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse { 50% { opacity: .35; } }
.hero h1 {
  font-size: clamp(34px, 5vw, 56px); line-height: 1.22;
  font-weight: 800; color: #fff; letter-spacing: 1px;
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--cyan), #9fe8ff 55%, var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  margin: 22px 0 30px; color: var(--txt-dim);
  font-size: 16.5px; max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: none; cursor: pointer; font-family: var(--sans);
  border-radius: 999px; padding: 15px 34px; font-size: 16.5px; font-weight: 700;
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.btn:active { transform: scale(.97); }
.btn-main {
  background: linear-gradient(135deg, var(--amber-deep), var(--amber));
  color: #22150a; box-shadow: 0 10px 30px rgba(255,179,71,.28);
}
.btn-main:hover { color: #22150a; transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost {
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid var(--line);
}
.btn-ghost:hover { color: var(--cyan); border-color: var(--cyan); }

/* hero 右侧唱片 + 截图组合 */
.hero-visual { position: relative; height: 520px; }
.vinyl {
  position: absolute; right: -10px; top: -6px;
  width: 330px; height: 330px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, #56637a 0%, #202c3d 24%, #0d1522 62%, #060a12 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), inset 0 0 4px rgba(255,255,255,.08);
  animation: spin 14s linear infinite;
}
.vinyl::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%,
    transparent 0 6px, rgba(255,255,255,.045) 6px 7px);
}
.vinyl::after {
  content: "千千\n静听"; position: absolute; inset: 34%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #6fd4ff, var(--cyan-deep) 70%);
  color: #06131f; font-weight: 800; font-size: 22px; line-height: 1.3;
  display: flex; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 0 0 4px rgba(0,0,0,.35);
  white-space: pre;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-shot {
  position: absolute; left: 0; bottom: 0; width: 300px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
  transform: rotate(-2.5deg);
}
.hero-shot img { width: 100%; }
.hero-meta {
  margin-top: 34px; display: flex; gap: 34px; flex-wrap: wrap;
  color: var(--txt-dim); font-size: 14px;
}
.hero-meta b { color: #fff; font-size: 22px; font-family: var(--serif); display: block; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 88px 0; }
.section.alt { background: var(--ink-2); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head .kicker {
  color: var(--amber); font-size: 13px; letter-spacing: 5px;
  font-weight: 600; margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px); color: #fff;
  font-weight: 800; letter-spacing: 1px; line-height: 1.3;
}
.section-head p { margin-top: 14px; color: var(--txt-dim); }

.card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.card:hover {
  transform: translateY(-5px); border-color: rgba(76,195,255,.45);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}
.card .ico {
  width: 52px; height: 52px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(76,195,255,.2), rgba(255,179,71,.16));
  border: 1px solid var(--line);
}
.card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--txt-dim); font-size: 15px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------------- 下载区 ---------------- */
.dl-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
}
.dl-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 34px;
}
.dl-card::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76,195,255,.16), transparent 70%);
}
.dl-card.baidu::before {
  background: radial-gradient(circle, rgba(76,142,255,.18), transparent 70%);
}
.dl-card h3 { color: #fff; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.dl-card .tagline { color: var(--txt-dim); font-size: 14px; margin: 8px 0 20px; }
.dl-feats { list-style: none; margin-bottom: 26px; }
.dl-feats li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--txt); font-size: 14.5px; padding: 5px 0;
}
.dl-feats li::before {
  content: "✓"; flex: none; width: 20px; height: 20px; margin-top: 4px;
  border-radius: 50%; background: rgba(76,195,255,.15); color: var(--cyan);
  font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.dl-btn {
  width: 100%; justify-content: center;
}
.dl-tip {
  margin-top: 14px; font-size: 12.5px; color: var(--txt-dim);
  text-align: center;
}
.dl-tip b { color: var(--amber); }

/* 二维码 + 呼吸边框（规整方形边框，光晕呼吸，不缩放） */
.qr-box {
  position: relative; padding: 10px; border-radius: 8px;
  background: #fff;
  border: 3px solid rgba(76,195,255,.85);
  width: fit-content;          /* 宽度收缩为内容宽，保持正方形 */
  margin-left: auto;           /* 在父容器内水平居中 */
  margin-right: auto;
  animation: qrBreath 3.2s ease-in-out infinite;
}
@keyframes qrBreath {
  0%, 100% {
    border-color: rgba(76,195,255,.55);
    box-shadow: 0 0 0 0 rgba(76,195,255,0), 0 0 12px rgba(76,195,255,.20);
  }
  50% {
    border-color: rgba(76,195,255,1);
    box-shadow: 0 0 0 5px rgba(76,195,255,.15), 0 0 24px rgba(76,195,255,.45);
  }
}
.qr-box img { width: 150px; height: 150px; display: block; }
/* 下载卡片内的二维码在列内水平居中 */
.dl-card .qr-box, .card .qr-box { margin-left: auto; margin-right: auto; }
.qr-caption {
  margin-top: 12px; font-size: 13px; color: var(--txt-dim); text-align: center;
}

/* ---------------- 弹出窗 ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 9, 16, 0.78);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-mask.open { display: flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.modal {
  width: min(560px, 100%);
  background: linear-gradient(170deg, #15243a, #0d1727);
  border: 1px solid rgba(76,195,255,.3);
  border-radius: 20px;
  padding: 38px 36px 30px;
  position: relative;
  animation: popUp .3s cubic-bezier(.2,.9,.3,1.2);
  box-shadow: 0 40px 90px rgba(0,0,0,.6);
  text-align: center;
}
@keyframes popUp { from { transform: scale(.9) translateY(14px); opacity: 0; } }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--txt-dim);
  font-size: 22px; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: #fff; }
.modal h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.modal .m-sub { color: var(--txt-dim); font-size: 14px; margin-bottom: 24px; }
.modal .qr-box { width: fit-content; margin: 0 auto; }
.modal .qr-box img { width: 170px; height: 170px; }
.m-note {
  margin-top: 20px; text-align: left;
  background: rgba(255,179,71,.08); border: 1px dashed rgba(255,179,71,.4);
  border-radius: 12px; padding: 14px 16px;
  color: var(--txt); font-size: 13.5px;
}
.m-note b { color: var(--amber); }

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: #070d16; border-top: 1px solid var(--line);
  padding: 56px 0 26px; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid var(--line);
}
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-grid p, .footer-grid a {
  color: var(--txt-dim); font-size: 13.5px; display: block; padding: 4px 0;
}
.footer-grid a:hover { color: var(--cyan); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand span { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: 2px; }
.footer-bottom {
  padding-top: 22px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; color: #5c6e85; font-size: 12.5px;
}

/* ---------------- 歌词跑马灯 ---------------- */
.lyric-marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0; background: rgba(16,28,44,.6);
}
.lyric-marquee .track {
  display: inline-block; animation: marquee 40s linear infinite;
  font-family: var(--kai); font-size: 17px; color: var(--txt-dim);
  letter-spacing: 2px;
}
.lyric-marquee .track em { color: var(--cyan); font-style: normal; margin: 0 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- 时间线 ---------------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--cyan), var(--amber), transparent);
}
.tl-item { position: relative; padding: 0 0 34px 22px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--cyan);
  box-shadow: 0 0 12px rgba(76,195,255,.5);
}
.tl-item .year {
  font-family: var(--serif); color: var(--amber);
  font-size: 20px; font-weight: 700;
}
.tl-item h4 { color: #fff; font-size: 16.5px; margin: 4px 0 6px; }
.tl-item p { color: var(--txt-dim); font-size: 14.5px; max-width: 640px; }

/* ---------------- 内容页 ---------------- */
.page-hero {
  position: relative;
  padding: 96px 0 72px;
  background:
    linear-gradient(160deg, rgba(11,20,32,.9), rgba(11,20,32,.98)),
    url("../img/player-nostalgia.jpg") center 30%/cover no-repeat fixed;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  color: #fff; font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; letter-spacing: 1px;
}
.page-hero .crumb {
  color: var(--txt-dim); font-size: 14px; margin-bottom: 16px;
}
.page-hero .crumb a { color: var(--txt-dim); }
.page-hero .crumb a:hover { color: var(--cyan); }
.page-hero .desc { color: var(--txt-dim); margin-top: 14px; max-width: 720px; }

.prose { font-size: 16px; color: var(--txt); }
.prose h2 {
  color: #fff; font-size: 26px; margin: 54px 0 20px;
  padding-left: 14px; border-left: 4px solid var(--amber);
  letter-spacing: 1px;
}
.prose h3 { color: var(--amber); font-size: 19px; margin: 32px 0 12px; }
.prose p { margin-bottom: 16px; color: var(--txt-dim); }
.prose strong { color: #fff; }
.prose blockquote {
  border-left: 3px solid var(--cyan); padding: 10px 20px;
  background: rgba(76,195,255,.06); border-radius: 0 10px 10px 0;
  color: var(--txt); margin: 20px 0; font-family: var(--kai); font-size: 16.5px;
}
.figure { margin: 28px 0; }
.figure img {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.figure figcaption {
  text-align: center; color: var(--txt-dim); font-size: 13px; margin-top: 10px;
}

/* 皮肤卡片 */
.skin-card {
  background: var(--ink-3); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.skin-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.skin-card .pic { overflow: hidden; height: 300px; }
.skin-card .pic img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform .5s;
}
.skin-card:hover .pic img { transform: scale(1.05); }
.skin-card .info { padding: 18px 20px; }
.skin-card .info h3 { color: #fff; font-size: 17px; }
.skin-card .info p { color: var(--txt-dim); font-size: 13.5px; margin-top: 6px; }

/* 教程步骤 */
.steps { counter-reset: step; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px;
  padding: 26px 0; border-bottom: 1px dashed var(--line);
}
.step:last-child { border-bottom: none; }
.step .no {
  counter-increment: step;
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(76,195,255,.18), rgba(255,179,71,.14));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; color: var(--cyan); font-weight: 700;
}
.step .no::before { content: counter(step, decimal-leading-zero); }
.step h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--txt-dim); font-size: 15px; }

/* FAQ */
.faq-item {
  border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 14px; background: var(--ink-3); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 18px 22px; color: #fff;
  font-size: 16px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--cyan); font-size: 20px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--txt-dim); font-size: 14.5px; }

/* 版本日志表格 */
.ver-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ver-table th, .ver-table td {
  padding: 13px 16px; text-align: left;
  border-bottom: 1px solid var(--line);
}
.ver-table th { color: var(--amber); font-weight: 600; white-space: nowrap; }
.ver-table td { color: var(--txt-dim); }
.ver-table tr:hover td { background: rgba(76,195,255,.04); color: var(--txt); }

/* 老用户留言 */
.quote {
  background: var(--ink-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; position: relative;
}
.quote::before {
  content: "“"; position: absolute; top: 2px; left: 16px;
  font-family: var(--serif); font-size: 58px; color: rgba(76,195,255,.25);
  line-height: 1;
}
.quote p { color: var(--txt); font-size: 14.5px; font-family: var(--kai); }
.quote .who {
  margin-top: 14px; color: var(--txt-dim); font-size: 13px;
  display: flex; justify-content: space-between;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; padding: 56px 0; }
  .hero-visual { height: 400px; max-width: 480px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dl-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav {
    position: fixed; top: 66px; left: 0; right: 0;
    background: rgba(9,16,27,.98); flex-direction: column;
    padding: 18px; gap: 4px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle {
    display: block; background: none; border: none;
    color: #fff; font-size: 24px; cursor: pointer;
  }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-visual { height: 330px; }
  .vinyl { width: 220px; height: 220px; }
  .hero-shot { width: 210px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
