:root {
  --bg-dark: #0a0c10;
  --bg-deep: #0e121a;
  --surface-glass: rgba(18, 24, 38, 0.65);
  --surface-glass-card: rgba(22, 30, 48, 0.55);
  --surface-glass-border: rgba(255, 255, 255, 0.08);
  --surface-glass-border-hover: rgba(56, 189, 248, 0.35);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-cyan: #38bdf8;
  --accent-indigo: #818cf8;
  --accent-glow: rgba(56, 189, 248, 0.25);
  --btn-primary: #0284c7;
  --btn-primary-hover: #0369a1;
  --success: #10b981;
  --danger: #f43f5e;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* 全景高斯流体背光 */
.fluid-canvas-bg {
  position: fixed;
  top: -25%;
  left: -20%;
  width: 150%;
  height: 150%;
  background: 
    radial-gradient(circle at 20% 25%, rgba(14, 165, 233, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 80% 65%, rgba(99, 102, 241, 0.13) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}

/* 顶部导航 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(10, 12, 16, 0.82);
  border-bottom: 1px solid var(--surface-glass-border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}
.brand-logo-img {
  width: 32px;
  height: 32px;
  animation: slowSpin 24s linear infinite;
}
.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.public-good-badge {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-menu a:hover {
  color: var(--text-main);
}
.nav-gh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-glass-border);
  color: var(--text-main);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.nav-gh-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--surface-glass-border-hover);
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-glass {
  background: var(--surface-glass);
  color: var(--text-main);
  border-color: var(--surface-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.btn-glass:hover {
  border-color: var(--surface-glass-border-hover);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; border-radius: 8px; }

/* 英雄区 Hero */
.hero-wrapper {
  max-width: 1200px;
  margin: 4.5rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}
.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 60%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 540px;
}
.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.hero-compliance-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.hero-compliance-tips span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 拟真 3D 唱盘 Mockup 动效展示 */
.hero-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}
.acrylic-case-mockup {
  position: relative;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.75),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}
.acrylic-case-mockup:hover {
  transform: rotateY(8deg) rotateX(4deg);
}
.cd-disc-spinning {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #141722 0,
    #141722 3px,
    #252b3d 4px,
    #141722 5px
  );
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.85);
  animation: slowSpin 14s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cd-rainbow-ring {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: conic-gradient(
    from 45deg,
    rgba(56, 189, 248, 0.45),
    rgba(129, 140, 248, 0.4),
    rgba(236, 72, 153, 0.4),
    rgba(245, 158, 11, 0.4),
    rgba(16, 185, 129, 0.4),
    rgba(56, 189, 248, 0.45)
  );
  mask-image: radial-gradient(circle, transparent 40px, black 41px);
  -webkit-mask-image: radial-gradient(circle, transparent 40px, black 41px);
  opacity: 0.75;
}
.cd-hub-center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #182030;
  border: 4px solid #334155;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.cd-spindle-hole {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0a0c10;
  border: 1.5px solid rgba(255,255,255,0.4);
}
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 通用 Section 框架 */
.content-section {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 1.5rem;
}
.section-headline-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-h2 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}
.section-subtext {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* 五大复古载体展示 */
.carriers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.carrier-card {
  background: var(--surface-glass-card);
  border: 1px solid var(--surface-glass-border);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.carrier-card:hover {
  transform: translateY(-4px);
  border-color: var(--surface-glass-border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.carrier-icon-wrap {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}
.carrier-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.carrier-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 技术亮点矩阵 */
.tech-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.tech-spec-card {
  background: var(--surface-glass-card);
  border: 1px solid var(--surface-glass-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tech-spec-badge {
  font-size: 0.75rem;
  color: var(--accent-indigo);
  background: rgba(129, 140, 248, 0.12);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}
.tech-spec-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.tech-spec-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* 下载区矩阵 */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.dl-card {
  background: var(--surface-glass-card);
  border: 1px solid var(--surface-glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.dl-card.highlight {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.12);
  position: relative;
}
.dl-ribbon {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 0.75rem;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.dl-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.dl-icon { font-size: 2.8rem; }
.dl-title-box h3 { font-size: 1.35rem; font-weight: 700; }
.dl-filesize { font-size: 0.85rem; color: var(--accent-cyan); }
.dl-features {
  list-style: none;
  margin-bottom: 2.2rem;
  flex-grow: 1;
}
.dl-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dl-features li span { color: var(--success); font-weight: bold; }
.dl-safe-tag {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.85rem;
}

/* 历史版本 */
.history-collapse {
  text-align: center;
  margin-top: 1.5rem;
}
.history-collapse details {
  display: inline-block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-glass-border);
  border-radius: 12px;
  padding: 0.8rem 1.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.history-collapse summary { cursor: pointer; font-weight: 600; }
.history-collapse a { color: var(--accent-cyan); text-decoration: none; margin-left: 8px; }

/* 礼物盒子社区 */
.gift-community-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.gift-panel {
  background: var(--surface-glass-card);
  border: 1px solid var(--surface-glass-border);
  border-radius: 20px;
  padding: 2.2rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.panel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.panel-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 10px;
  border-radius: 6px;
}

/* 盲盒展示槽 */
.gift-slot {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gift-slot-idle {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}
.blind-box-graphic {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: pulseBox 3s ease-in-out infinite;
}
@keyframes pulseBox {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.gift-card-opened {
  animation: slideFadeUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.gift-card-opened .song-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}
.gift-card-opened .song-artist {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 1rem;
}
.gift-quote-box {
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--accent-cyan);
  padding: 1.1rem 1.3rem;
  border-radius: 10px;
  font-style: italic;
  color: #e2e8f0;
  margin-bottom: 1.2rem;
  font-size: 0.96rem;
  line-height: 1.6;
}
.gift-sender-info {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}
.audio-player-custom {
  width: 100%;
  margin-top: 0.8rem;
  border-radius: 8px;
}

/* 表单控件 */
.form-field { margin-bottom: 1.1rem; }
.form-field-dual { display: flex; gap: 1rem; }
.form-field-dual .form-field { flex: 1; }
label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}
.req { color: var(--danger); }
input[type="text"], input[type="url"], textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(10, 13, 20, 0.75);
  border: 1px solid var(--surface-glass-border);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}
.toast-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}
.toast-success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.toast-error {
  display: block;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fb7185;
}

/* 更新日志时间轴 */
.timeline-stream {
  max-width: 720px;
  margin: 0 auto;
  border-left: 2px solid var(--surface-glass-border);
  padding-left: 2rem;
}
.timeline-block {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-beacon {
  position: absolute;
  left: -2.45rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-glow);
}
.timeline-badge-date {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.timeline-block h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.timeline-block p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* 免责声明专用展示区块 (重中之重) */
.disclaimer-container {
  background: rgba(15, 20, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.2rem;
  max-width: 960px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.disclaimer-item {
  margin-bottom: 1.4rem;
}
.disclaimer-item:last-child {
  margin-bottom: 0;
}
.disclaimer-item h4 {
  font-size: 1rem;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.disclaimer-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--surface-glass-border);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  background: rgba(8, 10, 14, 0.95);
  color: var(--text-dim);
  font-size: 0.86rem;
}
.footer-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.footer-copy {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.2rem;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-main); }

/* 移动端响应式布局 */
@media (max-width: 860px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    margin: 2.5rem auto;
  }
  .hero-headline { font-size: 2.4rem; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; flex-direction: column; }
  .gift-community-box { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
}
