/* ============ 基础变量 ============ */
:root {
  --bg-1: #d6f0ff;
  --bg-2: #eaf6ff;
  --bg-3: #dce8ff;
  --glass: rgba(255, 255, 255, 0.38);
  --glass-strong: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.65);
  --text: #1c2f3d;
  --text-soft: #4a6373;
  --primary: #3b9dff;
  --primary-deep: #1f7fe0;
  --danger: #ff6b7a;
  --shadow: 0 12px 32px rgba(70, 130, 180, 0.18);
  --radius: 22px;
  /* Q 弹回弹曲线 */
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ============ 漂浮光斑 ============ */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}

.orb-1 { width: 320px; height: 320px; background: #8fd4ff; top: -80px; left: -60px; }
.orb-2 { width: 260px; height: 260px; background: #b3e6ff; bottom: 10%; right: -70px; animation-delay: -4s; }
.orb-3 { width: 200px; height: 200px; background: #c4d8ff; top: 40%; left: 10%; animation-delay: -8s; }
.orb-4 { width: 180px; height: 180px; background: #d8f1ff; bottom: -50px; left: 40%; animation-delay: -11s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ============ 玻璃拟态 ============ */
.glass {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
}

.glass-soft {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
}

/* ============ 导航栏 ============ */
.navbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin: 12px auto 0;
  max-width: 1080px;
  width: calc(100% - 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-radius: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 4px 10px rgba(31, 127, 224, 0.3);
}

.brand-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.brand-domain { color: var(--primary-deep); }

.nav {
  display: flex;
  gap: 6px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 14px;
  transition: transform 0.35s var(--bounce), background 0.3s, color 0.3s;
}

.nav-link:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
}

.nav-link.active {
  background: var(--glass-strong);
  color: var(--primary-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--text);
}

/* ============ 容器与视图 ============ */
.container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 16px 60px;
}

.view {
  display: none;
  animation: viewIn 0.5s var(--bounce);
}

.view.active { display: block; }

@keyframes viewIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============ 首页 Hero ============ */
.hero {
  text-align: center;
  padding: 56px 28px;
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  color: var(--primary-deep);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 900;
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 30px;
}

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

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: transform 0.35s var(--bounce), box-shadow 0.3s, background 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #5cb8ff, var(--primary-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 127, 224, 0.35), inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 28px rgba(31, 127, 224, 0.45), inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-primary:active { transform: translateY(1px) scale(0.96); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover { transform: translateY(-3px) scale(1.05); }
.btn-ghost:active { transform: scale(0.96); }

.btn-download {
  background: linear-gradient(135deg, #6fc7ff, #3a9bff);
  color: #fff;
  box-shadow: 0 6px 16px rgba(58, 155, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  white-space: nowrap;
}

.btn-download:hover {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 10px 22px rgba(58, 155, 255, 0.45);
}

.btn-download:active { transform: scale(0.95); }

/* ============ 卡片网格 ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.info-card {
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.35s var(--bounce), box-shadow 0.3s;
}

.info-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 36px rgba(60, 120, 140, 0.25);
}

.info-icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.info-img {
  width: 130px;
  height: auto;
  aspect-ratio: 2385 / 835;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.info-card h3, .contact-card h3 { margin-bottom: 8px; font-size: 17px; }
.info-card p, .contact-card p { color: var(--text-soft); }

.copy-ip {
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-deep);
  letter-spacing: 1px;
}

.notice {
  padding: 20px 24px;
}

.notice h3 { margin-bottom: 8px; }
.notice p { color: var(--text-soft); }

/* ============ 首页：为什么选择我们 ============ */
.why-section { margin-bottom: 28px; }

.section-head {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.why-card {
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.35s var(--bounce), box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 36px rgba(70, 130, 180, 0.25);
}

.why-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: 20px;
}

/* 矢量图标本身留白较多，放大一点与栅格图标视觉等重 */
.why-img.is-vector {
  width: 152px;
  height: 152px;
  margin-bottom: -18px;
}

.why-card h3 { margin-bottom: 8px; font-size: 18px; }
.why-card p { color: var(--text-soft); }

.dot-live {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 6px;
  box-shadow: 0 0 0 5px rgba(31, 127, 224, 0.25);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(31, 127, 224, 0.25); }
  50% { box-shadow: 0 0 0 9px rgba(31, 127, 224, 0.08); }
}

/* ============ 页面头部 ============ */
.page-head {
  padding: 34px 28px;
  margin-bottom: 26px;
}

.page-head h2 { font-size: 28px; margin-bottom: 10px; }
.page-head p { color: var(--text-soft); }

/* ============ 介绍页 ============ */
.about-block {
  padding: 26px 28px;
  margin-bottom: 20px;
  transition: transform 0.35s var(--bounce);
}

.about-block:hover { transform: translateY(-4px); }
.about-block h3 { margin-bottom: 14px; }

.about-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.about-list li {
  padding-left: 22px;
  position: relative;
  color: var(--text-soft);
}

.about-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
}

.feature {
  padding: 20px 12px;
  text-align: center;
  transition: transform 0.35s var(--bounce);
}

.feature:hover { transform: translateY(-5px) scale(1.04); }
.feature span { font-size: 26px; }
.feature p { margin-top: 8px; font-weight: 600; }

/* ============ 下载页 ============ */
.section-title {
  margin: 26px 0 16px;
  font-size: 20px;
}

.download-tip {
  padding: 14px 20px;
  margin-bottom: 10px;
  color: var(--text-soft);
}

.pack-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 单张整合包卡片 */
.pack-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  transition: transform 0.35s var(--bounce), box-shadow 0.3s;
}

.pack-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 18px 36px rgba(60, 120, 140, 0.25);
}

.pack-card.latest {
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(210,235,255,0.45));
  border: 1.5px solid rgba(31, 127, 224, 0.35);
}

.pack-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  flex-shrink: 0;
  overflow: hidden;
}

.pack-block {
  width: 44px;
  height: 44px;
  object-fit: cover;
  image-rendering: pixelated;
  border-radius: 8px;
}

.pack-main {
  flex: 1;
  min-width: 0;
}

.pack-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.pack-version {
  font-size: 20px;
  font-weight: 800;
}

.tag-latest {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.tag-legacy {
  background: rgba(120, 140, 150, 0.25);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.pack-meta {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.pack-changelog {
  font-size: 14px;
  color: var(--text-soft);
}

.pack-side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.pack-size {
  font-size: 13px;
  color: var(--text-soft);
}

/* ============ 规则页 ============ */
.rule-block {
  padding: 26px 28px;
  margin-bottom: 20px;
}

.rule-danger {
  border: 1.5px solid rgba(255, 107, 122, 0.4);
  background: linear-gradient(135deg, rgba(255,255,255,0.45), rgba(255,225,228,0.35));
}

.rule-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

.rule-danger .rule-title { color: var(--danger); }

.rule-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.rule-list li {
  padding-left: 24px;
  position: relative;
  color: var(--text-soft);
}

.rule-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--primary);
  font-weight: 900;
}

.rule-danger .rule-list li::before { color: var(--danger); }

.punish {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 107, 122, 0.12);
  color: #c2404f;
  font-weight: 600;
  font-size: 14px;
}

/* ============ 联系页 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.contact-card {
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.35s var(--bounce);
}

.contact-card:hover { transform: translateY(-6px) scale(1.03); }
.contact-card p { margin-bottom: 18px; }

/* ============ 页脚 ============ */
.footer {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  width: calc(100% - 32px);
  margin: 0 auto 24px;
  padding: 18px 24px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
}

/* ============ 响应式 ============ */
@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px;
    background: var(--glass-strong);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    display: none;
  }

  .nav.open { display: flex; }

  .nav-toggle { display: flex; }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .pack-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .pack-side {
    align-items: flex-start;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
/* （注：内容由AI生成） */
