/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  min-width: auto;
}

/* 容器样式 */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* 顶部导航栏 */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e0e0e0;
  height: 64px;
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 2rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a73e8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.logo::before {
  content: "⚡";
  font-size: 1.2rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo:hover {
  color: #1557b0;
  transform: scale(1.02);
}

.logo:hover::before {
  transform: rotate(180deg) scale(1.1);
}

.top-nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.top-nav-links a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
}

.top-nav-links a:hover {
  color: #1a73e8;
}

.top-nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #1a73e8;
  transition: width 0.3s ease;
}

.top-nav-links a:hover::after {
  width: 100%;
}

/* 主内容区域 */
.main-content {
  display: flex;
  margin-top: 0;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* 左侧侧边栏 */
.sidebar {
  width: 260px;
  background-color: #ffffff;
  border-right: 1px solid #e0e0e0;
  padding: 0;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: scroll;
  overflow-x: hidden;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

/* 美化侧边栏滚动条 */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* 侧边栏品牌标识 */
.sidebar .brand-sidebar {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a73e8;
  text-decoration: none;
  padding: 1rem;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  transition: all 0.3s ease;
}

.sidebar .brand-sidebar:hover {
  background: linear-gradient(135deg, #e8f0fe 0%, #f8f9fa 100%);
  color: #1557b0;
}

.sidebar .brand-sidebar::before {
  content: "⚡";
  font-size: 1.2rem;
  display: inline-block;
  width: 1.2rem;
  text-align: center;
}

.sidebar h3 {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  margin: 0.8rem 1.25rem 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.sidebar ul {
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  padding: 0 0 1rem 0;
  overflow-y: auto;
}

.sidebar li {
  margin-bottom: 0;
  width: 100%;
  text-align: left;
}

.sidebar a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1.25rem;
  border-radius: 0 8px 8px 0;
  border-left: 3px solid transparent;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.sidebar a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 115, 232, 0.1) 0%,
    transparent 100%
  );
  transition: width 0.3s ease;
  z-index: 0;
}

.sidebar a:hover::after {
  width: 100%;
}

/* API接口图标 */
.sidebar a::before {
  content: "📁";
  font-size: 1rem;
  display: inline-block;
  width: 1rem;
  text-align: center;
}

.sidebar a[href*="add_audios"]::before {
  content: "🔊";
}

.sidebar a[href*="add_captions"]::before {
  content: "📝";
}

.sidebar a[href*="add_effects"]::before {
  content: "✨";
}

.sidebar a[href*="add_images"]::before {
  content: "🖼️";
}

.sidebar a[href*="add_keyframes"]::before {
  content: "🎬";
}

.sidebar a[href*="add_masks"]::before {
  content: "🎭";
}

.sidebar a[href*="add_sticker"]::before {
  content: "🏷️";
}

.sidebar a[href*="add_text_style"]::before {
  content: "🎨";
}

.sidebar a[href*="add_videos"]::before {
  content: "🎥";
}

.sidebar a[href*="create_draft"]::before {
  content: "📄";
}

.sidebar a[href*="easy_create_material"]::before {
  content: "🚀";
}

.sidebar a[href*="gen_video"]::before {
  content: "🎬";
}

.sidebar a[href*="gen_video_status"]::before {
  content: "📊";
}

.sidebar a[href*="get_audio_duration"]::before {
  content: "⏱️";
}

.sidebar a[href*="get_draft"]::before {
  content: "📂";
}

.sidebar a[href*="get_image_animations"]::before {
  content: "🌀";
}

.sidebar a[href*="get_text_animations"]::before {
  content: "🔤";
}

.sidebar a[href*="save_draft"]::before {
  content: "💾";
}

.sidebar a:hover {
  color: #1a73e8;
  background-color: #f8f9fa;
  padding-left: 1.5rem;
  border-left-color: #1a73e8;
}

.sidebar a.active {
  color: #1a73e8;
  background-color: #e8f0fe;
  border-left-color: #1a73e8;
  font-weight: 600;
  padding-left: 1.5rem;
}

/* 侧边栏滚动条样式 */
.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* 主内容 */
.content {
  flex: 1;
  background-color: #ffffff;
  box-shadow: none;
  border-radius: 0;
  padding: 2rem 2.5rem;
  min-height: calc(100vh - 64px);
  overflow-y: auto;
  position: relative;
  width: calc(100% - 500px);
  overflow-x: hidden;
}

/* 右侧导航栏 */
.right-sidebar {
  width: 240px;
  background-color: #fafbfc;
  border-left: 1px solid #e0e0e0;
  padding: 1.5rem 1.25rem;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  box-shadow: none;
  flex-shrink: 0;
}

.right-sidebar h3 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.right-sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.right-sidebar li {
  margin-bottom: 0.25rem;
}

.right-sidebar a {
  text-decoration: none;
  color: #666;
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border-left: none;
  padding-left: 0.75rem;
}

.right-sidebar a:hover {
  color: #1a73e8;
  background-color: #f1f3f4;
  padding-left: 0.75rem;
}

.right-sidebar a.active {
  color: #1a73e8;
  background-color: #e8f0fe;
  font-weight: 500;
}

/* 文档标题 */
h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.75rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: #333;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem 0;
  color: #666;
}

/* 段落和列表 */
p {
  margin-bottom: 1rem;
  color: #666;
  line-height: 1.75;
  font-size: 0.95rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

ul,
ol {
  margin: 1rem 0;
  padding-left: 1.25rem;
  color: #666;
  overflow: hidden;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* 代码块 */
pre {
  background-color: #24292e;
  border-radius: 4px;
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.25rem 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier,
    monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  border: none;
  color: #e1e4e8;
  box-shadow: none;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier,
    monospace;
  font-size: 0.85rem;
  background-color: #f0f4f8;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  border: 1px solid #e1e4e8;
  color: #d73a49;
  font-weight: 500;
}

pre code {
  background-color: transparent;
  padding: 0;
  border: none;
  color: #e1e4e8;
  font-weight: normal;
}

/* 代码块语言标签 */
pre::before {
  content: "JSON";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #373e47;
  color: #e1e4e8;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

pre[class*="language-bash"]::before {
  content: "BASH";
}

pre[class*="language-python"]::before {
  content: "PYTHON";
}

/* 表格样式 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
}

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

tr:hover {
  background-color: #f8f9fa;
  transform: none;
  box-shadow: none;
}

tr:nth-child(even) {
  background-color: #fafbfc;
}

tr:nth-child(even):hover {
  background-color: #f8f9fa;
}

td {
  color: #666;
  vertical-align: top;
  font-weight: 500;
}

td:first-child {
  font-weight: 600;
  color: #333;
}

table a {
  color: #1a73e8;
  text-decoration: none;
  transition: all 0.3s ease;
}

table a:hover {
  color: #1557b0;
  text-decoration: underline;
}

/* 链接样式 */
a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

/* 品牌标识区域 */
.brand-section {
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.brand-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #202124;
  border-bottom: none;
  padding-bottom: 0;
}

.brand-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  background: url("/images/logo.jpg") no-repeat center center;
  background-size: contain;
}

.brand-subtitle {
  font-size: 1.1rem;
  color: #5f6368;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #f0f0f0;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
  text-decoration: none;
}

/* 介绍区域 */
.intro-section {
  margin-bottom: 2rem;
}

.intro-section h2 {
  margin-top: 0;
}

/* 支持列表 */
.support-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.support-list li {
  margin-bottom: 0.8rem;
  text-align: center;
}

/* 更多文档区域 */
.more-docs {
  background-color: #f8f9fa;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin: 1rem 0;
  border-left: 4px solid #1a73e8;
}

.more-docs p {
  margin: 0;
  color: #5f6368;
}

.more-docs a {
  color: #1a73e8;
  text-decoration: none;
}

.more-docs a:hover {
  text-decoration: underline;
}

/* 相关接口链接 */
.related-links {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.related-links li {
  margin-bottom: 0.5rem;
}

.related-links a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-links a:hover {
  color: #1557b0;
  text-decoration: underline;
}

/* 底部导航区域 */
.bottom-nav {
  margin-top: 2rem;
}

.bottom-nav hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 2rem 0;
}

.bottom-nav .project-resources {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.bottom-nav .project-resources p {
  margin-bottom: 0.5rem;
  color: #5f6368;
}

.bottom-nav .project-resources strong {
  color: #202124;
}

.bottom-nav .project-resources a {
  color: #1a73e8;
  text-decoration: none;
}

.bottom-nav .project-resources a:hover {
  text-decoration: underline;
}

/* API文档特定样式 */
.content h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #202124;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.5rem;
}

.content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #202124;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.5rem;
}

.content h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #202124;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.content h4 {
  font-size: 1rem;
  font-weight: bold;
  color: #5f6368;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

/* 接口信息样式 */
.content > .content > p {
  margin: 0.5rem 0;
}

.content > .content > p code {
  background-color: #e8f0fe;
  color: #1a73e8;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #d2e3fc;
  font-weight: 500;
}

/* 参数详解区域 */
.content h3 + p {
  margin-bottom: 1rem;
}

.content h3 + ul,
.content h3 + ol {
  margin-top: 0.5rem;
}

/* 响应式代码块 */
pre {
  position: relative;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* 错误码表格特殊样式 */
table td:nth-child(2) {
  color: #d73a49;
  font-weight: 500;
}

table td:nth-child(4) {
  color: #6a737d;
}

/* 网格布局 */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.grid-item {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.grid-item h3 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
  font-size: 1.2rem;
}

.grid-item ul {
  list-style: none;
  padding-left: 0;
}

.grid-item li {
  margin-bottom: 0.5rem;
}

.grid-item a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.grid-item a:hover {
  color: #1557b0;
  text-decoration: underline;
}

/* 移动端菜单按钮默认隐藏（大屏幕） */
.mobile-menu-btn {
  display: none;
}

/* 返回顶部按钮默认隐藏（大屏幕） */
.back-to-top {
  display: none;
}

/* 页脚样式 */
footer {
  background-color: #ffffff;
  color: #5f6368;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  margin-top: 3rem;
  border-radius: 0;
}

.footer-content {
  max-width: 100%;
  margin: 0;
  padding: 0 2rem;
}

.project-resources {
  margin-bottom: 1rem;
}

.project-resources h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #202124;
  border-bottom: none;
  padding-bottom: 0;
  display: inline-block;
}

.footer-links {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-links a {
  color: #1a73e8;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #1557b0;
  text-decoration: underline;
}

.separator {
  color: #e0e0e0;
  margin: 0 0.5rem;
}

.copyright {
  font-size: 0.9rem;
  color: #6a737d;
  margin-top: 1rem;
}

/* 技术支持区域 */
.support-section {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.support-info {
  text-align: center;
  color: #5f6368;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .content {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .top-nav-links {
    display: none;
  }

  .brand-title {
    font-size: 1.8rem;
  }

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

  .content {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .brand-section {
    padding: 2rem 0;
  }

  .brand-title {
    font-size: 1.6rem;
  }

  .brand-subtitle {
    font-size: 1rem;
  }

  .sidebar {
    padding: 1rem;
  }

  .content {
    padding: 1rem;
  }
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* 代码高亮样式（简单版） */
pre code {
  color: #24292e;
}

pre .keyword {
  color: #d73a49;
}

pre .string {
  color: #032f62;
}

pre .comment {
  color: #6a737d;
}

pre .number {
  color: #005cc5;
}

pre .function {
  color: #6f42c1;
}

pre .variable {
  color: #e36209;
}

/* 状态标签样式 */
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-right: 0.5rem;
}

.status-success {
  background-color: #d4edda;
  color: #155724;
}

.status-warning {
  background-color: #fff3cd;
  color: #856404;
}

.status-error {
  background-color: #f8d7da;
  color: #721c24;
}

.status-info {
  background-color: #d1ecf1;
  color: #0c5460;
}

/* 页面导航样式 */
.prev-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
  gap: 1rem;
}

.pager {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.pager.has-prev {
  justify-content: flex-end;
}

.pager-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.5rem;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  max-width: 48%;
}

.pager-link:hover {
  background-color: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pager-link.next {
  align-items: flex-end;
  text-align: right;
}

.pager-link .desc {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  opacity: 0.8;
}

.pager-link .title {
  font-size: 1rem;
  font-weight: 600;
  word-break: break-all;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pager-link .title .icon {
  font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .prev-next {
    flex-direction: column;
  }

  .pager {
    justify-content: center !important;
  }

  .pager-link {
    max-width: 100%;
    align-items: center !important;
    text-align: center;
  }

  .pager-link .title {
    justify-content: center;
  }
}

/* 页面导航样式 */
.page-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
  gap: 1rem;
}

.page-navigation a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  max-width: 48%;
}

.page-navigation a:hover {
  background-color: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-navigation a.prev-page {
  align-items: flex-start;
}

.page-navigation a.next-page {
  align-items: flex-end;
  text-align: right;
}

.nav-label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  opacity: 0.8;
}

.nav-page {
  font-size: 1rem;
  font-weight: 600;
  word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-navigation {
    flex-direction: column;
  }

  .page-navigation a {
    max-width: 100%;
    align-items: center !important;
    text-align: center;
  }
}

/* 页面导航样式 */
.page-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
  gap: 1rem;
}

.page-navigation a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  max-width: 48%;
}

.page-navigation a:hover {
  background-color: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-navigation a.prev-page {
  align-items: flex-start;
}

.page-navigation a.next-page {
  align-items: flex-end;
  text-align: right;
}

.nav-label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  opacity: 0.8;
}

.nav-page {
  font-size: 1rem;
  font-weight: 600;
  word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-navigation {
    flex-direction: column;
  }

  .page-navigation a {
    max-width: 100%;
    align-items: center !important;
    text-align: center;
  }
}
