/* ============================================================
 * 封面页专属样式（cover.html）
 * .cover-* / .stat-card 独立前缀，不污染站内其他页面
 * 配色延续站内紫色系：#4361ee → #7a5cff
 * ============================================================ */

.cover-page {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #f4f5ff;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(67, 97, 238, 0.18), transparent 60%),
    radial-gradient(1000px 500px at 90% 110%, rgba(122, 92, 255, 0.16), transparent 60%),
    linear-gradient(160deg, #0d1030 0%, #151238 45%, #0e2a4a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* 极淡星点微尘，缓慢呼吸 */
.cover-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.55), transparent 100%),
    radial-gradient(1px 1px at 27% 68%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(1px 1px at 38% 34%, rgba(255, 255, 255, 0.35), transparent 100%),
    radial-gradient(1px 1px at 55% 78%, rgba(255, 255, 255, 0.45), transparent 100%),
    radial-gradient(1px 1px at 66% 18%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(1px 1px at 78% 52%, rgba(255, 255, 255, 0.35), transparent 100%),
    radial-gradient(1px 1px at 88% 82%, rgba(255, 255, 255, 0.45), transparent 100%),
    radial-gradient(1px 1px at 20% 88%, rgba(255, 255, 255, 0.35), transparent 100%),
    radial-gradient(1px 1px at 48% 52%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(1px 1px at 92% 12%, rgba(255, 255, 255, 0.35), transparent 100%),
    radial-gradient(1.5px 1.5px at 62% 46%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(1.5px 1.5px at 32% 82%, rgba(255, 255, 255, 0.28), transparent 100%),
    radial-gradient(1.5px 1.5px at 82% 62%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(1.5px 1.5px at 8% 48%, rgba(255, 255, 255, 0.28), transparent 100%);
  animation: coverTwinkle 6s ease-in-out infinite;
}
@keyframes coverTwinkle {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

/* ---- 背景网络 ---- */
.cover-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
}
.cover-bg .bg-edge {
  stroke: rgba(140, 150, 255, 0.20);
}
.cover-bg .bg-node {
  fill: rgba(167, 139, 250, 0.45);
}
.cover-bg .bg-node.master {
  fill: rgba(255, 255, 255, 0.75);
}

/* 渐晕，保证中央文字可读 */
.cover-vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 50% at 50% 38%, transparent 0%, rgba(10, 12, 32, 0.55) 100%);
}

/* ---- 主体 ---- */
.cover-main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  padding: 72px 24px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cover-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 15px;
  letter-spacing: 0.35em;
  color: rgba(196, 181, 253, 0.85);
  margin-bottom: 20px;
}
.cover-kicker::before,
.cover-kicker::after {
  content: "✦";
  font-size: 11px;
  letter-spacing: 0;
  color: rgba(167, 139, 250, 0.55);
}

.cover-title {
  margin: 0;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, #ffffff 30%, #b9a6ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
  position: relative;
}
.cover-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 2px;
  margin: 20px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #4361ee, #a78bfa, #7a5cff);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.55);
}

.cover-subtitle {
  margin: 4px 0 44px;
  font-size: 16px;
  color: rgba(210, 215, 255, 0.75);
  letter-spacing: 0.06em;
}

/* ---- 数据概览 ---- */
.cover-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-bottom: 40px;
}

.stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(160, 160, 255, 0.16);
  border-radius: 16px;
  padding: 20px 16px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.75), transparent);
}
.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 9px 9px;
  pointer-events: none;
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.stat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 10px;
  color: #cbb6ff;
  background: rgba(122, 92, 255, 0.15);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.stat-card:hover .stat-ico {
  transform: translateY(-1px);
  color: #ffffff;
  background: rgba(122, 92, 255, 0.28);
}

.stat-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, #a78bfa 0%, #7a5cff 45%, #4361ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #a78bfa;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.stat-card:hover .stat-num {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.55));
}
.stat-label {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(230, 232, 255, 0.92);
}
.stat-sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(190, 190, 235, 0.7);
}

/* ---- 主入口 ---- */
.cover-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 44px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(120deg, #4361ee 0%, #7a5cff 100%);
  box-shadow: 0 8px 30px rgba(90, 70, 240, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.cover-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 12px 38px rgba(90, 70, 240, 0.6);
}
.cover-cta-arrow {
  transition: transform 0.2s ease;
}
.cover-cta:hover .cover-cta-arrow {
  transform: translateX(4px);
}

/* ---- 分区入口 ---- */
.cover-entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  margin-top: 34px;
}

.entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  text-decoration: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(160, 160, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.entry:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.entry-ico {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #c9b6ff;
  background: rgba(122, 92, 255, 0.16);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

/* 四个入口各配强调色：紫 / 金 / 蓝 / 青 */
.cover-entries .entry:nth-child(1) .entry-ico { color: #cbb6ff; background: rgba(122, 92, 255, 0.16); }
.cover-entries .entry:nth-child(1):hover .entry-ico { color: #ffffff; background: rgba(122, 92, 255, 0.3); }
.cover-entries .entry:nth-child(2) .entry-ico { color: #ffd98a; background: rgba(255, 190, 90, 0.13); }
.cover-entries .entry:nth-child(2):hover .entry-ico { color: #fff3d6; background: rgba(255, 190, 90, 0.26); }
.cover-entries .entry:nth-child(3) .entry-ico { color: #8ec9ff; background: rgba(80, 150, 255, 0.14); }
.cover-entries .entry:nth-child(3):hover .entry-ico { color: #d9ecff; background: rgba(80, 150, 255, 0.28); }
.cover-entries .entry:nth-child(4) .entry-ico { color: #8ff0e0; background: rgba(60, 210, 190, 0.14); }
.cover-entries .entry:nth-child(4):hover .entry-ico { color: #d4fff7; background: rgba(60, 210, 190, 0.28); }
.entry-body {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}
.entry-title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(240, 242, 255, 0.95);
}
.entry-desc {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(185, 185, 230, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- 页脚 ---- */
.cover-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: auto;
  padding: 30px 24px 36px;
  font-size: 12px;
  color: rgba(185, 188, 225, 0.6);
  text-align: center;
}
.cover-foot .footer-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.cover-foot .footer-nav a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 500;
}
.cover-foot .footer-nav a:hover { text-decoration: underline; }
.cover-foot .footer-contact { margin-top: -2px; }
.cover-foot .footer-contact a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 500;
}
.cover-foot .footer-contact a:hover { text-decoration: underline; }
.cover-foot .footer-source {
  display: inline-block;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  margin-top: 8px;
}
.cover-foot .footer-brand { color: rgba(185, 188, 225, 0.45); }
.cover-foot .footer-legal { font-size: 11.5px; color: rgba(185, 188, 225, 0.45); }
.cover-foot-meta { opacity: 0.85; }
.cover-foot p { margin: 0; }

/* ---- 响应式 ---- */
@media (max-width: 760px) {
  .cover-kicker {
    flex-wrap: wrap;
    gap: 8px 12px;
    letter-spacing: 0.2em;
  }
  .cover-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cover-entries {
    grid-template-columns: repeat(2, 1fr);
  }
  .cover-entries .entry {
    min-width: 0;
  }
}
@media (max-width: 440px) {
  .cover-main {
    padding-top: 44px;
  }
  .stat-num {
    font-size: 32px;
  }
  .cover-cta {
    padding: 13px 30px;
    font-size: 16px;
  }
}

/* 封面页：关于本站 / 更新日志 / 反馈 快捷链接条 */
.cover-more {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 6px auto 0;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: .06em;
}
.cover-more a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color .2s;
}
.cover-more a:hover { color: #a78bfa; }
.cover-more-sep { color: rgba(255,255,255,.25); }
