* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
}

.home-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: #007aff;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.home-link:hover {
  background: rgba(0, 122, 255, 0.1);
}

.home-link i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.nav-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

/* 主内容区域 */
.content {
  margin-top: 70px;
  /* 与导航栏高度相同 */
}

.full-height-container {
  height: calc(100vh - 70px);
  /* 减去导航栏高度 */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

/* 卡片样式 */
.card {
  width: 340px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.card-image img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 15%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-content {
  padding: 32px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.card-text {
  color: #666;
  line-height: 1.7;
  font-size: 1.05rem;
}

.card-button-active {
  margin-top: 16px;
  display: inline-block;
  padding: 10px 20px;
  background: #007aff;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card-button-active small {
  color: #e4e4e4;
}

.card-button-active:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 122, 255, 0.4);
}

.card-button {
  margin-top: 16px;
  display: inline-block;
  padding: 10px 20px;
  background: #f0f0f0;
  color: black;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card-button small {
  color: #666;
}

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

.controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  color: black;
}

.info-panel {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  color: black;
  max-width: 300px;
}

h1 {
  font-size: 24px;
  margin-bottom: 15px;
}

/* 额外内容部分 */
.additional-content {
  padding: 70px 5%;
}

.content-section {
  margin: 0 auto 40px;
}

.content-section h2 {
  font-size: 1.7rem;
  margin-bottom: 25px;
  color: black;
}

.content-section p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
}

.content-link {
  color: #333;
  text-decoration: none;
}

/* 底部工具栏 */
.footer-toolbar {
  background: #f8f9fa;
  color: #fff;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.icp-link,
.police-record {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.icp-link:hover,
.police-record:hover {
  color: #3498db;
  text-decoration: underline;
}

.copyright {
  font-size: 0.9rem;
  color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
    height: 60px;
  }

  .nav-title {
    font-size: 1.2rem;
  }

  .home-link span {
    display: none;
  }

  .home-link i {
    margin-right: 0;
    font-size: 1.4rem;
  }

  .nav-links li {
    margin-left: 15px;
  }

  .nav-links a span {
    display: none;
  }

  .nav-links a i {
    font-size: 1.3rem;
    margin-right: 0;
  }

  .info-panel {
    display: none;
  }

  .card {
    width: 300px;
  }

  .content {
    margin-top: 60px;
  }

  .full-height-container {
    height: calc(100vh - 60px);
  }

  .footer-toolbar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px;
  }

  .footer-left {
    align-items: center;
  }
}

/* 图标样式 */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-size: cover;
}