* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

/* 导航 */
.header {
  width: 100%;
  height: 60px;
  background: #1a2b48;
  position: fixed;
  top: 0;
  z-index: 999;
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 12px;
}
.nav a.active, .nav a:hover {
  background: #325b96;
  border-radius: 4px;
}

/* 轮播 */
.banner {
  margin-top: 60px;
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}
.slide {
  width: 100%;
  height: 100%;
  display: none;
}
.slide.active {
  display: block;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}
.prev { left: 20px; }
.next { right: 20px; }

/* 文物卡片 */
.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}
.container h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #1a2b48;
}
.card-list {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.card {
  width: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card h3 {
  padding: 15px;
  text-align: center;
  font-size: 18px;
  color: #333;
}

/* AI弹窗 */
.ai-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.ai-box {
  width: 450px;
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
}
.ai-avatar {
  font-size: 50px;
  margin-bottom: 15px;
}
.ai-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}
.recommend {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.recommend h4 {
  margin-bottom: 8px;
  color: #1a2b48;
}
.close-btn {
  background: #1a2b48;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
}

/* 页脚 */
.footer {
  background: #1a2b48;
  color: white;
  padding: 30px 0;
  margin-top: 80px;
  text-align: center;
}
.footer-info p {
  margin-bottom: 8px;
  font-size: 14px;
}
.copy {
  margin-top: 15px;
  color: #ccc;
}

/* 以下是新页面样式 */
.page-container {
  max-width: 1200px;
  margin: 100px auto 60px;
  padding: 0 20px;
}
.page-title {
  font-size: 32px;
  text-align: center;
  color: #1a2b48;
  margin-bottom: 10px;
  font-weight: bold;
}
.page-desc {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 16px;
}

.model-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.model-item {
  width: 380px;
  text-align: center;
}
.model-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
}
.model-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.model-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1a2b48;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}
.model-item h3 {
  margin: 15px 0 5px;
  color: #333;
}
.model-item p {
  color: #666;
  font-size: 14px;
}

.view-wrap {
  text-align: center;
}
.view-item {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}
.view-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.view-mask {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 18px 0;
  font-size: 18px;
}
.view-hall {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.hall {
  padding: 10px 20px;
  background: #1a2b48;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.collection-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.collection-item {
  display: flex;
  gap: 25px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  align-items: center;
}
.collection-item img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.collection-item .info h3 {
  font-size: 22px;
  color: #1a2b48;
  margin-bottom: 8px;
}
.collection-item .info p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}
.collection-item .info span {
  background: #e6eeff;
  color: #1a2b48;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}