* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

/* 纯色背景 + 柔光特效 */
body {
  min-height: 100vh;
  background: #f5f7fa;
  position: relative;
  overflow-x: hidden;
  padding: 40px 20px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 20%,
      rgba(59, 130, 246, 0.12) 0%,
      transparent 25%),
    radial-gradient(circle at 85% 30%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 30%),
    radial-gradient(circle at 70% 80%,
      rgba(96, 165, 250, 0.12) 0%,
      transparent 25%),
    radial-gradient(circle at 25% 90%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 20%);
  animation: floatBg 15s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes floatBg {
  0% {
    transform: scale(1) translateY(0);
  }

  100% {
    transform: scale(1.05) translateY(-15px);
  }
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 头部Logo */
.header {
  text-align: center;
  margin-bottom: 50px;
}

.site-logo {
  width: 280px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.title {
  font-size: 36px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 12px;
}

.desc {
  font-size: 18px;
  color: #475569;
}

.category {
  margin-bottom: 45px;
}

.cat-title {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 5px solid #3b82f6;
}

.cat-title.sub-title {
  font-size: 18px;
  font-weight: 500;
  color: #475569;
  margin-top: 28px;
  margin-bottom: 16px;
  border-left: 3px solid #60a5fa;
}

/* 3列网格 */
.grid-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 磨砂卡片 */
.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.4s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(37, 99, 235, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.name {
  font-size: 17px;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 22px;
}

.down-btn {
  display: inline-block;
  padding: 11px 26px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2);
}

.down-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* 右上角语言切换 */
.lang-switch {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.lang-btn {
  padding: 7px 16px;
  border: none;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: #64748b;
}

.lang-btn.active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
}

.lang-btn:not(.active):hover {
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
}

/* 列表布局 */
.list-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.list-item:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

.list-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.list-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.2);
}

.list-name {
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-item .down-btn {
  flex-shrink: 0;
  margin-left: 20px;
}

/* 响应式 */
@media (max-width: 992px) {
  .grid-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .grid-box {
    grid-template-columns: 1fr;
  }

  .title {
    font-size: 28px;
  }

  .site-logo {
    width: 90px;
  }

  .list-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .list-item .down-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}
