:root {
  --bg: #050816;
  --maxw: 1400px;
  --gap: 22px;
  --radius: 16px;
  --shadow: 0 8px 20px rgba(0,0,0,.12);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei";
  --cols-lg: 4;
  --cols-md: 3;
  --cols-sm: 2;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font);
  background: linear-gradient(to bottom, 
    #FBCD08 0px,
    #FF4081 1400px,
    #7C4DFF 2800px,
    #00E5FF 4200px,
    #76FF03 5600px,
    #FFD600 7000px
  );
  /* background-attachment: fixed; */
  min-height: 100vh;
  color: #e5e7eb;
  line-height: 1.7;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header 样式 */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(187,205,197,0.75);
  border-bottom: 1px solid rgba(45,86,120,0.15);
  transition: transform .3s ease;
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  background: #FBCD08;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(56,189,248,0.7);
  font-size: 48px;
}
.brand-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #626A73;
}
.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}
.nav-links a {
  font-size: 30px;
  color: #0B3868;
  font-weight: 700;
  position: relative;
  padding: 8px 0;
}
.nav-links a:hover {
  color: #22d3ee;
}

/* 导航按钮样式 */
.nav-btn {
  background: transparent;
  color: #9ca3af !important;
  padding: 8px 16px !important;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(156,163,175,0.3);
}
.nav-btn:hover {
  background: rgba(251,205,8,0.1);
  color: #FBCD08 !important;
  border-color: rgba(251,205,8,0.5);
  transform: none;
  box-shadow: none;
}
.download-btn {
  margin-left: 20px;
}
.detail-btn {
  margin-left: 8px;
}

/* Hero 区域 */
.hero {
  position: relative;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 750px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 40px 0;
}
.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-image-container {
  position: absolute;
  bottom: -190px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.hero-image {
  width: 1200px;
  height: 750px;
  max-width: 100%;
  object-fit: contain;
  filter: blur(2.3px);
  opacity: 0.80;
}
.hero h1 {
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 28px;
  color: #BBCDC5;
}
.hero p {
  font-size: 25px;
  color: #AA5140;
  margin-bottom: 25px;
  line-height: 1.5;
}
.hero p.hero-desc {
  color: #D34947;
font-weight: 700;  /* 添加这行来加粗，数值可以是 400(正常)、500、600、700(粗体)、800、900 */
}

/* Hero区域按钮样式 */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}
.hero-btn {
  padding: 16px 40px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 26px;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.download-btn {
  background: #FBCD08;
  color: #0000FF;
}
.download-btn:hover {
  background: #E5BC08;
}
.detail-btn {
  background: #ff7500;
  color: #3d3b4f;
}
.detail-btn:hover {
  background: #4D9A70;
}

/* 主内容区域 */
.main-content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px 80px;
}

/* 类目大框 */
.category-section {
  margin-bottom: 60px;
  padding: 30px;
  border-radius: 40px;
  position: relative;
  background: rgba(187,205,197,0.50);
  border: 1px solid rgba(255,255,255,0.35);
  background-clip: padding-box;
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 30px 80px rgba(2,42,153,0.45),
              0 10px 24px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}

/* 不同类目的渐变边框效果 */
.cat-text {
  background: linear-gradient(135deg, rgba(251,205,8,0.15), rgba(2,42,153,0.15));
  border-color: rgba(251,205,8,0.3);
}
.cat-office {
  background: linear-gradient(135deg, rgba(251,205,8,0.15), rgba(2,42,153,0.15));
  border-color: rgba(251,205,8,0.3);
}
.cat-system {
  background: linear-gradient(135deg, rgba(251,205,8,0.15), rgba(2,42,153,0.15));
  border-color: rgba(251,205,8,0.3);
}
.cat-image {
  background: linear-gradient(135deg, rgba(251,205,8,0.15), rgba(2,42,153,0.15));
  border-color: rgba(251,205,8,0.3);
}
.cat-audio {
  background: linear-gradient(135deg, rgba(251,205,8,0.15), rgba(2,42,153,0.15));
  border-color: rgba(251,205,8,0.3);
}
.cat-video {
  background: linear-gradient(135deg, rgba(251,205,8,0.15), rgba(2,42,153,0.15));
  border-color: rgba(251,205,8,0.3);
}
.cat-entertainment {
  background: linear-gradient(135deg, rgba(251,205,8,0.15), rgba(2,42,153,0.15));
  border-color: rgba(251,205,8,0.3);
}
.cat-tech {
  background: linear-gradient(135deg, rgba(251,205,8,0.15), rgba(2,42,153,0.15));
  border-color: rgba(251,205,8,0.3);
}

/* 类目标题 */
.category-header {
  margin-bottom: 30px;
}
.category-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.category-desc {
  font-size: 16px;
  color: #9ca3af;
}

/* Masonry 列布局 */
.masonry {
  column-count: var(--cols-lg);
  column-gap: var(--gap);
}
@media (max-width: 1200px) {
  .masonry { column-count: var(--cols-md); }
}
@media (max-width: 760px) {
  .masonry { column-count: var(--cols-sm); }
}
@media (max-width: 520px) {
  .masonry { column-count: 1; }
}

/* 卡片基础样式 */
.card {
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gap);
  padding: 20px;
  border-radius: var(--radius);
  color: #fff;
  box-shadow: var(--shadow);
  background: #3b82f6;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  bottom: 7px;
  border: 1px solid #FF7500;
  border-radius: calc(var(--radius) - 7px);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.3);
}
.card[data-link]:hover::after {
  content: '🔗';
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 16px;
  opacity: 0.7;
}
.card.empty[data-link=""]::after {
  content: '';
  display: none;
}
.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  opacity: .92;
}
.card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.8;
  opacity: .88;
}
.card ul li {
  margin: 4px 0;
}

/* 尺寸节奏：s/m/l */
.card.s { min-height: 140px; }
.card.m { min-height: 200px; }
.card.l { min-height: 280px; }

/* 渐变色配色 */
.g1 { background: linear-gradient(135deg, #ff8a00, #e52e71); }
.g2 { background: linear-gradient(135deg, #36d1dc, #5b86e5); }
.g3 { background: linear-gradient(135deg, #a1ffce, #faffd1); color: #0a2a2a; }
.g4 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.g5 { background: linear-gradient(135deg, #7b2ff7, #00d2ff); }
.g6 { background: linear-gradient(135deg, #ffd89b, #19547b); }
.g7 { background: linear-gradient(135deg, #43cea2, #185a9d); }
.g8 { background: linear-gradient(135deg, #ff9a9e, #fecfef); color: #0a2a2a; }
.g9 { background: linear-gradient(135deg, #667eea, #764ba2); }
.g10 { background: linear-gradient(135deg, #f6d365, #fda085); color: #2a2a0a; }
.g11 { background: linear-gradient(135deg, #fa709a, #fee140); color: #2a2a0a; }
.g12 { background: linear-gradient(135deg, #30cfd0, #330867); }
.g13 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.g14 { background: linear-gradient(135deg, #43e97b, #38f9d7); color: #0a2a2a; }
.g15 { background: linear-gradient(135deg, #fa709a, #fee140); }
.g16 { background: linear-gradient(135deg, #6a11cb, #2575fc); }
.g17 { background: linear-gradient(135deg, #37ecba, #72afd3); }
.g18 { background: linear-gradient(135deg, #ebbba7, #cfc7f8); color: #0a2a2a; }
.g19 { background: linear-gradient(135deg, #fff1eb, #ace0f9); color: #0a2a2a; }
.g20 { background: linear-gradient(135deg, #eea2a2, #bbc1bf, #57c6e1); }
.g21 { background: linear-gradient(135deg, #c471f5, #fa71cd); }
.g22 { background: linear-gradient(135deg, #48c6ef, #6f86d6); }
.g23 { background: linear-gradient(135deg, #f78ca0, #f9748f, #fd868c); }
.g24 { background: linear-gradient(135deg, #feada6, #f5efef); color: #0a2a2a; }
.g25 { background: linear-gradient(135deg, #e6e9f0, #eef1f5); color: #0a2a2a; }
.g26 { background: linear-gradient(135deg, #accbee, #e7f0fd); color: #0a2a2a; }
.g27 { background: linear-gradient(135deg, #e9defa, #fbfcdb); color: #0a2a2a; }
.g28 { background: linear-gradient(135deg, #2193b0, #6dd5ed); }
.g29 { background: linear-gradient(135deg, #cc2b5e, #753a88); }
.g30 { background: linear-gradient(135deg, #eecda3, #ef629f); }

/* 空位卡片样式 */
.card.empty {
  opacity: 1;
  border: none;
  position: relative;
}
.card.empty:hover {
  opacity: 0.8;
}
.card.empty[data-visible="false"] {
  display: none;
}

/* 类目自适应高度 */
.category-section {
  margin-bottom: 60px;
  padding: 30px;
  border-radius: 40px;
  position: relative;
  background: rgba(187,205,197,0.50);
  border: 1px solid rgba(255,255,255,0.35);
  background-clip: padding-box;
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 30px 80px rgba(2,42,153,0.45),
              0 10px 24px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}

/* Masonry 居中显示 */
.masonry.centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.masonry.centered .card {
  width: auto;
  min-width: 280px;
  max-width: 400px;
  flex: 0 0 auto;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 40px;
  text-align: center;
  color: #6b7280;
  border-top: 1px solid rgba(45,86,120,0.3);
}

@media (max-width: 768px) {
  body { overflow-x: auto; }
  .hero { padding: 40px 20px 0; min-height: 500px; }
  .brand-title { font-size: 32px; }
  .nav-links a { font-size: 20px; }
  .nav { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav-links { flex-wrap: wrap; width: 100%; gap: 10px 16px; }
  .nav-links li { flex: 0 0 auto; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .category-title { font-size: 24px; }
  .nav { padding: 11px 20px; }
  .main-content { padding: 0 20px 60px; }
  .hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
  }
}
.hero-wrap {
  background: #003472;
}
.below-hero {
  background: #003472;
  position: relative;
  z-index: 2;
}
.header-hidden {
  transform: translateY(-100%);
}
.category-section::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid #8c4356;
  border-radius: calc(40px - 20px);
  pointer-events: none;
}
.category-section::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid #e4c6d0;
  border-radius: calc(40px - 10px);
  pointer-events: none;
}
















