/* 关于页面样式 - Vant 现代化风格 */

/* 页面容器 */
.about-page {
  min-height: 100vh;
  background-color: #f7f8fa;
  padding-bottom: 50px; /* 为底部菜单栏留出空间 */
}

/* 页面头部 - Logo 区域 */
.about-header {
  background-image: url('/book.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.about-header > * {
  position: relative;
  z-index: 1;
}

.logo-container {
  margin-bottom: 16px;
}

.logo-img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-name {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #fff;
}

.app-version {
  font-size: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.9;
}

/* 卡片样式 */
.about-card {
  margin: 12px 16px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.about-card:first-of-type {
  margin-top: 0;
}

/* 卡片头部 */
.card-header {
  padding: 16px;
  border-bottom: 1px solid #ebedf0;
}

/* 卡片标题 */
.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #323233;
}

.title-icon {
  font-size: 18px;
  color: #1989fa;
}

/* 卡片主体 */
.card-body {
  padding: 16px;
}

/* 卡片内容 */
.card-content {
  color: #646566;
  line-height: 1.8;
  font-size: 14px;
}

.card-content p {
  margin: 12px 0;
  text-align: justify;
}

.card-content p:first-child {
  margin-top: 0;
}

.card-content p:last-child {
  margin-bottom: 0;
}

/* 免责说明文本 */
.disclaimer-text {
  margin: 12px 0;
  padding-left: 8px;
  font-size: 14px;
  color: #646566;
  line-height: 1.8;
  text-align: justify;
}

.disclaimer-text:first-child {
  margin-top: 0;
}

.disclaimer-text:last-child {
  margin-bottom: 0;
}

/* 联系信息 */
.contact-desc {
  margin-bottom: 16px;
  color: #646566;
  font-size: 14px;
}

.contact-info {
  margin: 16px 0;
  padding: 16px;
  background-color: #f7f8fa;
  border-radius: 8px;
  border-left: 3px solid #1989fa;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  font-size: 18px;
  color: #1989fa;
  flex-shrink: 0;
}

.contact-label {
  font-weight: 500;
  color: #323233;
  flex-shrink: 0;
}

.contact-link {
  color: #1989fa;
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
  transition: color 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.contact-link:hover {
  color: #0570c9;
  text-decoration: underline;
}

.contact-link:active {
  color: #045ba3;
}

.contact-note {
  margin-top: 16px;
  font-size: 12px;
  color: #969799;
  text-align: center;
  font-style: italic;
}

/* 信息组 */
.info-group {
  margin: 12px 16px;
}

/* 深色模式支持 */
[data-theme=dark] .about-page {
  background-color: #1a1a1a;
}

[data-theme=dark] .about-header::before {
  background-color: rgba(0, 0, 0, 0.5);
}

[data-theme=dark] .about-card {
  background-color: #2a2a2a;
}

[data-theme=dark] .card-header {
  border-bottom-color: #3a3a3a;
}

[data-theme=dark] .card-title {
  color: #e5e7eb;
}

[data-theme=dark] .card-content {
  color: #d1d5db;
}

[data-theme=dark] .disclaimer-text {
  color: #d1d5db;
}

[data-theme=dark] .contact-info {
  background-color: #2a2a2a;
  border-left-color: #1989fa;
}

[data-theme=dark] .contact-label {
  color: #e5e7eb;
}

[data-theme=dark] .contact-desc {
  color: #d1d5db;
}

[data-theme=dark] .contact-note {
  color: #9ca3af;
}

/* 内容区域 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    /* margin-top: 56px; */
    padding-bottom: 20px;
  }

  .about-header {
    min-height: 250px;
    padding: 60px 20px;
    border-radius: 12px;
    margin: 12px 16px;
  }

  .logo-img {
    width: 100px;
    height: 100px;
  }

  .app-name {
    font-size: 28px;
  }

  .app-version {
    font-size: 16px;
  }

  .about-card {
    margin: 16px;
  }

  .info-group {
    margin: 16px;
  }

