:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --accent-primary: #5b7cff;
  --accent-secondary: #8b5cf6;
  --accent-danger: #ff4444;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
  transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

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

html {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  background: rgba(10, 10, 20, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08), transparent);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  min-width: 0;
  overflow: visible;
}

/* 在1025px以上时禁止换行（1024px以下使用移动端菜单） */
@media (min-width: 1025px) {
  .navbar .container {
    flex-wrap: nowrap !important;
  }
}

.navbar-container {
  position: relative;
}

.logo img {
  height: 60px;
  display: block;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex: 1;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  overflow: visible;
}

.group-item svg {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  color: var(--accent-primary);
  stroke-width: 2.5;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 80%;
}

/* 顶部导航下拉菜单 */
.nav-item-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-link-dropdown:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(91, 124, 255, 0.3);
  box-shadow: 0 0 20px rgba(91, 124, 255, 0.15);
}

.nav-link-dropdown::after {
  content: '▼';
  font-size: 0.6rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.nav-item-dropdown:hover .nav-link-dropdown::after {
  transform: rotate(180deg);
  opacity: 1;
}

.version-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 360px;
  background: linear-gradient(135deg, rgba(25, 25, 40, 0.98) 0%, rgba(15, 15, 30, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(91, 124, 255, 0.1);
  z-index: 1000;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 30px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, rgba(25, 25, 40, 0.98) 0%, rgba(15, 15, 30, 0.98) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-header {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(91, 124, 255, 0.3);
  transform: translateX(5px);
}

.version-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  min-width: 70px;
  text-align: center;
}

.version-tag.v37 {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.version-tag.v60 {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.item-content {
  flex: 1;
}

.item-title {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.item-status {
  font-size: 0.7rem;
  font-weight: 600;
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
}

.item-status.status-beta {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
}

.nav-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 40px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 2rem;
  text-align: center;
  margin-top: 9rem;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 2;
  font-weight: 300;
  letter-spacing: 1px;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-danger {
  background: linear-gradient(135deg, var(--accent-danger), #ff6b6b);
  color: white;
  box-shadow: var(--shadow);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #ff6b6b, var(--accent-danger));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-download {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-download:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-primary);
  padding: 0.5rem 1.5rem;
}

.btn-outline:hover {
  background: var(--accent-primary);
}

/* 下载按钮下拉菜单 */
.download-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.download-dropdown {
  position: relative;
}

.btn-download-main {
  padding: 0.6rem 1.8rem;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
  letter-spacing: 0.5px;
  /* 默认所有按钮都是黑金配色 */
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #ffaa00;
  color: #ffcc00;
  justify-content: center;
  white-space: nowrap;
  min-width: 200px;
  width: auto;
}

.btn-download-main svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.btn-download-main:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: #ffcc00;
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.2);
}

/* PC 端悬停时才显示红褐色 */
.pc-download .btn-download-main:hover {
  background: #8b2e1b;
  border: 1px solid #ff4400;
  color: #ffcc00;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.pc-download:hover .btn-download-main {
  background: #a33822;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* 安卓端悬停时显示绿色 */
.mobile-download:nth-child(2) .btn-download-main:hover,
.mobile-download:nth-child(2):hover .btn-download-main {
  background: #2e7d32;
  border: 1px solid #4caf50;
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* 苹果端悬停时显示蓝色 */
.mobile-download:nth-child(3) .btn-download-main:hover,
.mobile-download:nth-child(3):hover .btn-download-main {
  background: #1565c0;
  border: 1px solid #42a5f5;
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-download-main::after {
  content: '∨';
  font-size: 0.8rem;
  transition: transform 0.3s;
  font-family: sans-serif;
  margin-left: 5px;
  font-weight: bold;
}

.download-dropdown:hover .btn-download-main::after {
  transform: rotate(180deg);
}

.download-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 5px;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* 菜单样式 - 默认都是黑色 */
.download-menu {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #ffaa00;
}

/* PC 菜单在展开时显示红色 */
.pc-download:hover .download-menu {
  background: #7a2514;
  border: 1px solid #ff4400;
}

/* 安卓菜单在展开时显示绿色 */
.mobile-download:nth-child(2):hover .download-menu {
  background: #1b5e20;
  border: 1px solid #4caf50;
}

/* 苹果菜单在展开时显示蓝色 */
.mobile-download:nth-child(3):hover .download-menu {
  background: #0d47a1;
  border: 1px solid #42a5f5;
}

.download-dropdown:hover .download-menu {
  opacity: 1;
  visibility: visible;
}

.download-item {
  display: block;
  padding: 1rem 1.5rem;
  color: #ffcc00;
  text-decoration: none;
  transition: all 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  text-align: center;
  font-size: 1rem;
}

.download-item:last-child {
  border-bottom: none;
}

.download-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 文章网格 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.article-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.article-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.article-thumbnail {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.article-thumbnail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* 50% 亮度遮罩 */
  pointer-events: none;
}

.article-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  z-index: 2;
  /* 确保在遮罩层之上 */
}

.article-card-content {
  padding: 1.5rem;
}

.article-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  font-weight: bold;
}

.article-card:hover .article-title {
  color: var(--accent-primary);
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.article-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* 版本介绍区域 */
.version-section {
  padding: 3rem 0;
}

.version-card {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 20px;
}

.version-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.3));
}

.version-content {
  position: relative;
  z-index: 1;
  padding: 3rem;
  max-width: 50%;
}

.version-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  writing-mode: horizontal-tb;
  white-space: normal;
  display: block;
}

.version-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.version-character {
  position: absolute;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

/* 文章详情 */
.article-detail {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.article-content {
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-content h2,
.article-content h3 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent-primary);
  padding-left: 1rem;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  overflow: hidden;
}

.article-content th,
.article-content td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  word-wrap: break-word;
  vertical-align: middle;
}

.article-content th:first-child,
.article-content td:first-child {
  width: 28%;
}

.article-content th {
  background: rgba(91, 124, 255, 0.1);
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.article-content tr:last-child td {
  border-bottom: none;
}

.article-content tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {

  /* 表格容器包装 */
  .article-content table {
    display: table;
    table-layout: auto;
    min-width: 100%;
    width: max-content;
  }

  /* 表格可滚动容器 - 需要在HTML中包装 */
  .table-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: 8px;
  }

  .table-scroll-wrapper table {
    margin: 0;
  }

  /* 确保 th 背景完整 */
  .article-content th {
    white-space: nowrap;
    min-width: 120px;
  }

  .article-content td {
    white-space: normal;
    min-width: 150px;
  }

  /* 美化滚动条 */
  .article-content::-webkit-scrollbar,
  .table-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
  }

  .article-content::-webkit-scrollbar-track,
  .table-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
  }

  .article-content::-webkit-scrollbar-thumb,
  .table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(91, 124, 255, 0.5);
    border-radius: 4px;
  }

  .article-content::-webkit-scrollbar-thumb:hover,
  .table-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(91, 124, 255, 0.7);
  }
}

/* 会员套餐 */
.membership-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
}

.membership-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.membership-description {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.plan-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid var(--border-color);
  transition: all 0.3s;
  text-align: center;
}

.plan-card.featured {
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, rgba(91, 124, 255, 0.1), rgba(139, 92, 246, 0.1));
}

.plan-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.plan-name {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-period {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* 底部 */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  color: var(--text-muted);
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .nav-links {
    gap: 1rem;
  }

  .nav-buttons {
    display: none;
  }

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

  .version-content {
    max-width: 100% !important;
    padding: 2rem !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  .version-content h2 {
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .version-character {
    display: none;
  }
}

/* 公告页面装饰元素 */
.articles-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.decoration-image {
  position: absolute;
  opacity: 0.08;
  filter: blur(1px);
}

.decoration-image.deco-1 {
  top: 10%;
  left: 5%;
  width: 200px;
  animation: float 20s ease-in-out infinite;
}

.decoration-image.deco-2 {
  top: 30%;
  right: 8%;
  width: 180px;
  animation: float 25s ease-in-out infinite 5s;
}

.decoration-image.deco-3 {
  bottom: 15%;
  left: 10%;
  width: 220px;
  animation: float 22s ease-in-out infinite 10s;
}

.decoration-image.deco-4 {
  bottom: 25%;
  right: 5%;
  width: 190px;
  animation: float 28s ease-in-out infinite 15s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  25% {
    transform: translateY(-20px) translateX(10px);
  }

  50% {
    transform: translateY(-10px) translateX(-10px);
  }

  75% {
    transform: translateY(-30px) translateX(5px);
  }
}

.articles-grid {
  position: relative;
  z-index: 1;
}

/* Hero区域新闻模块 */
.hero-news-container {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 6rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
    justify-content: flex-start;
  }

  .hero-content {
    margin-bottom: 3rem !important;
  }

  /* 强制在小屏幕上覆盖index.ejs中的内联grid样式 */
  .articles-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .articles-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* 全页固定背景视频 */
.page-bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.page-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-bg-video .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.92);
  /* 深色遮罩，保证文字可读 */
}

/* --------------------------
   移动端导航菜单样式 (追加)
   -------------------------- */

/* 默认隐藏汉堡按钮和移动菜单 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  /* 保证在移动菜单之上 */
  padding: 0;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.mobile-menu-overlay {
  display: none !important;
  /* 基础样式在PC端不显示，移动端覆盖 */
}

/* 移除中等宽度屏幕的缩放优化，因为现在使用移动端菜单 */

/* 小桌面屏幕优化 (1025px - 1200px) - 保持正常大小，只微调间距 */
@media (min-width: 1025px) and (max-width: 1200px) {
  .navbar .container {
    gap: 1.5rem;
  }

  .nav-links {
    gap: 1.2rem;
  }
}

/* 移动端和中等宽度屏幕 - 切换到移动端菜单 (<=1024px) */
@media (max-width: 1024px) {

  /* 隐藏桌面端导航元素 */
  .desktop-nav {
    display: none !important;
  }

  /* 显示汉堡按钮 */
  .mobile-menu-toggle {
    display: flex;
  }

  /* 显示移动端菜单 */
  .mobile-menu-overlay {
    display: block !important;
  }

  /* 调整 logo 大小 */
  .logo img {
    height: 60px !important;
  }

  /* 移动菜单全屏容器 - 美化版 */
  .mobile-menu-overlay {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.98) 0%, rgba(20, 15, 35, 0.98) 50%, rgba(10, 10, 20, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 20px;
  }

  /* 添加装饰性背景元素 */
  .mobile-menu-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(91, 124, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: floatGlow 8s ease-in-out infinite;
  }

  .mobile-menu-overlay::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 60%);
    pointer-events: none;
    animation: floatGlow 10s ease-in-out infinite reverse;
  }

  @keyframes floatGlow {

    0%,
    100% {
      transform: translate(0, 0) scale(1);
      opacity: 0.5;
    }

    50% {
      transform: translate(20px, -20px) scale(1.1);
      opacity: 0.8;
    }
  }

  .mobile-menu-overlay.active {
    transform: translateY(0);
  }

  .mobile-menu-content {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 20px);
    height: calc(100dvh - 20px);
    width: 100%;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* 移动端菜单 Logo */
  .mobile-menu-logo {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 0;
    border-bottom: none;
    flex-shrink: 0;
  }

  .mobile-menu-logo img {
    height: auto;
    width: 130px;
    max-width: 45%;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  }

  .mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0.5rem 1.5rem 2.5rem 1.5rem;
    margin-bottom: 0;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.3rem;
  }

  .mobile-nav-links li {
    margin: 0;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* 菜单打开时的链接动画 */
  .mobile-menu-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* 依次延迟显示 */
  .mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.05s;
  }

  .mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.1s;
  }

  .mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.15s;
  }

  .mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.2s;
  }

  .mobile-nav-links a {
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
  }

  .mobile-nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-nav-links a:hover,
  .mobile-nav-links a:active {
    transform: scale(1.02);
    border-color: rgba(91, 124, 255, 0.4);
    box-shadow: 0 8px 32px rgba(91, 124, 255, 0.15);
  }

  .mobile-nav-links a:hover::before,
  .mobile-nav-links a:active::before {
    opacity: 1;
  }

  .mobile-nav-links a.active {
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(91, 124, 255, 0.5);
    box-shadow: 0 4px 20px rgba(91, 124, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  /* 版本特色卡片样式 - 现代玻璃拟态设计 */
  .mobile-feature-item {
    margin-bottom: 0.4rem !important;
  }

  .mobile-feature-card {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.8) 0%, rgba(20, 20, 40, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.8rem 1rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .mobile-feature-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
  }

  .mobile-feature-header .version-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {

    0%,
    100% {
      opacity: 1;
      transform: scale(1);
    }

    50% {
      opacity: 0.8;
      transform: scale(1.05);
    }
  }

  .mobile-version-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  .mobile-version-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex: 1;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .version-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .version-dot.v37 {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
  }

  .version-dot.v60 {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
  }

  .mobile-version-item:hover,
  .mobile-version-item:active {
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(91, 124, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(91, 124, 255, 0.2);
  }

  .mobile-version-item:active .version-dot {
    transform: scale(1.2);
  }

  /* 移动端隐藏PC下载按钮 */
  .pc-download {
    display: none !important;
  }

  /* 移动端下载按钮优化 */
  .download-buttons {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0 1rem;
    width: 100%;
  }

  .download-dropdown {
    width: 100%;
  }

  .btn-download-main {
    width: 100% !important;
    justify-content: center;
  }

  .download-menu {
    position: static !important;
    opacity: 0;
    max-height: 0;
    visibility: hidden;
    transform: none !important;
    transition: all 0.3s ease;
    border-radius: 0 0 2px 2px !important;
    margin-top: 0;
    width: 100%;
  }

  .download-dropdown:hover .download-menu {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
    margin-top: 5px;
  }

  .download-item {
    padding: 0.8rem 1rem;
    text-align: center;
    width: 100%;
  }

  .mobile-nav-buttons {
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: auto;
    background: linear-gradient(to top, rgba(10, 10, 20, 0.98) 0%, transparent 100%);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }

  .mobile-nav-buttons .btn {
    border-radius: 16px;
    font-weight: 600;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-nav-buttons .btn svg {
    flex-shrink: 0;
  }

  .mobile-nav-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
  }

  .mobile-nav-buttons .btn:active::before {
    left: 100%;
  }

  .mobile-nav-buttons .btn:active {
    transform: scale(0.97);
  }

  .mobile-nav-buttons .btn-primary {
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.45), rgba(139, 92, 246, 0.55)) !important;
    border-color: rgba(91, 124, 255, 0.3) !important;
  }

  .mobile-nav-buttons .btn-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.45), rgba(220, 38, 38, 0.55)) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
  }

  .btn-block {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* 汉堡按钮动画 */
  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* 群组下拉菜单 (PC端) */
.group-dropdown {
  position: relative;
  display: inline-block;
}

.group-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(15px) scale(0.95);
  min-width: 280px;
  background: linear-gradient(135deg, rgba(25, 25, 40, 0.98) 0%, rgba(15, 15, 30, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(91, 124, 255, 0.1);
  z-index: 1000;
}

.group-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, rgba(25, 25, 40, 0.98) 0%, rgba(15, 15, 30, 0.98) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.group-dropdown:hover .group-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.group-item {
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  margin-bottom: 0.5rem;
}

.group-item:last-child {
  margin-bottom: 0;
}

.group-item svg {
  color: var(--accent-primary);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.group-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(91, 124, 255, 0.3);
  color: var(--text-primary);
  transform: translateX(5px);
}

.group-item:hover svg {
  transform: scale(1.15);
  color: var(--accent-primary);
  opacity: 1;
}

/* 强制修正导航按钮高度不一致问题 */
.nav-buttons .btn,
.nav-buttons .group-dropdown .btn {
  height: 38px !important;
  min-height: 38px !important;
  line-height: 1 !important;
  padding: 0 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  margin: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.navbar .nav-buttons .btn-primary.group-btn,
.mobile-nav-buttons .btn-primary,
.modal-btn.primary-37,
body .primary-37 {
  background: linear-gradient(135deg, rgba(91, 124, 255, 0.45), rgba(139, 92, 246, 0.55)) !important;
  border: 1px solid rgba(91, 124, 255, 0.3) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(91, 124, 255, 0.2) !important;
}

.navbar .nav-buttons .btn-danger.group-btn,
.mobile-nav-buttons .btn-danger,
.modal-btn.primary-60,
body .primary-60 {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.45), rgba(220, 38, 38, 0.55)) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2) !important;
}

.nav-buttons .group-dropdown .btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

/* 群按钮图标和箭头样式 */
.group-btn svg {
  flex-shrink: 0;
}

.group-btn .dropdown-arrow {
  font-size: 0.6rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  margin-left: 0.2rem;
}

.group-dropdown:last-child .group-menu {
  left: auto;
  right: 0;
  transform: translateY(15px) scale(0.95);
}

.group-dropdown:last-child:hover .group-menu {
  transform: translateY(0) scale(1);
}

.group-dropdown:last-child .group-menu::before {
  left: auto;
  right: 30px;
  transform: translateX(50%) rotate(45deg);
}

.group-dropdown:hover .group-btn .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Footer Responsive Optimizations */
.footer-copyright-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 576px) {
  .footer-copyright-wrapper {
    flex-direction: column;
    gap: 0.2rem;
  }

  .copyright-separator {
    display: none;
  }
}

/* Homepage Group Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  width: 90%;
  max-width: 480px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: bold;
  background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.05rem;
}

.modal-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.modal-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.modal-btn:hover::after {
  left: 100%;
}

.modal-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 覆盖原本的背景色 */
.modal-btn.primary-37,
.modal-btn.primary-60 {
  cursor: pointer;
}