* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "SimHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航样式 */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo i {
  color: #4361ee;
  font-size: 24px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 20px;
  color: #333;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #666;
  font-size: 16px;
  transition: color 0.3s;
}
nav .nav-game {
  display: none;
}

nav ul li a:hover {
  color: #4361ee;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
}

/* 轮播图样式 */
.carousel-section {
  padding: 30px 0;
  background-color: #f1f1f1;
}

.section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  height: 500px;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px 10px 10px 10px;
  text-align: center;
}

.carousel-caption h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.carousel-caption p {
  font-size: 16px;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
  transition: background 0.3s;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.indicator.active {
  background: white;
}

/* 公司介绍样式 */
.about-section {
  padding: 60px 0;
  background-color: #fff;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* 产品展示样式 */
.products-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.product-info p {
  font-size: 14px;
  color: #666;
}

/* 联系方式样式 */
.contact-section {
  padding: 60px 0;
  background-color: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #333;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-list li i {
  color: #4361ee;
  margin-right: 10px;
  margin-top: 5px;
  width: 20px;
  text-align: center;
}

.contact-list li span {
  color: #666;
}

.social-links {
  margin-top: 30px;
}

.social-links h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #666;
  font-size: 24px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #4361ee;
}

.map-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 页脚样式 */
footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer-content p {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-content a {
  text-decoration: none;
  color: #fff;
}
.footer-content a:hover {
  color: #999;
}

/* 响应式调整 */
@media (max-width: 768px) {
  /* 导航栏 */
  nav {
      display: none;
  }
  
  .mobile-menu-btn {
      display: block;
  }
  
  /* 轮播图 */
  .carousel-item {
      height: 300px;
  }
  
  .carousel-control {
      width: 40px;
      height: 40px;
      font-size: 16px;
  }
  
  .carousel-indicators {
      bottom: 70px;
  }
  
  /* 产品展示 */
  .products-grid {
      grid-template-columns: 1fr;
  }
  
  /* 联系方式 */
  .contact-content {
      grid-template-columns: 1fr;
  }
  
  /* 通用样式 */
  .section-title {
      font-size: 24px;
  }
}