* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "SimHei", sans-serif;
  line-height: 1.7;
  color: #3c4043;
  background: #f5f7fb;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 头部导航样式 */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  padding: 16px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo i {
  color: #2f6fed;
  font-size: 26px;
  margin-right: 12px;
}

.logo h1 {
  font-size: 18px;
  color: #202124;
  letter-spacing: 0.08em;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #5f6368;
  font-size: 15px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
nav .nav-game {
  display: none;
}

nav ul li a:hover {
  color: #2f6fed;
  border-color: #2f6fed;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
}

/* 轮播图样式 */
.carousel-section {
  padding: 72px 0 56px;
  background: #edf2fb;
}

.section-title {
  font-size: 26px;
  text-align: center;
  margin-bottom: 32px;
  color: #202124;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  padding: 0;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.carousel-item {
  min-width: 100%;
  height: 520px;
  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(255, 255, 255, 0.9);
  color: #5f6368;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background: #e3edff;
  transform: translateY(-50%) scale(1.06);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(156, 163, 175, 0.6);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.indicator.active {
  background: #2f6fed;
  border-color: #2f6fed;
  transform: scale(1.15);
}

/* 公司介绍样式 */
.about-section {
  padding: 72px 0 64px;
  background: #fdfefe;
}

.about-content {
  max-width: 880px;
  margin: 0 auto;
}

.about-content p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.9;
}

.about-card {
  border-radius: 18px;
  padding: 28px 28px 30px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

/* 产品展示样式 */
.products-section {
  padding: 72px 0 80px;
  background: #f5f7fb;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 32px;
}

.product-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px) translateZ(0);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border-color: #c7d2fe;
}

.product-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-bottom: 1px solid #e5e7eb;
}

.product-info {
  padding: 22px 22px 24px;
}

.product-info h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #202124;
}

.product-info p {
  font-size: 14px;
  color: #6b7280;
}

/* 联系方式样式 */
.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: #ffffff;
  color: #5f6368;
  padding: 32px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.footer-content p {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-content a {
  text-decoration: none;
  color: #5f6368;
}
.footer-content a:hover {
  color: #2f6fed;
}

/* 响应式调整 */
@media (max-width: 768px) {
  /* 导航栏 */
  nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #ffffff;
      padding: 16px 24px 18px;
      border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  }
  
  .mobile-menu-btn {
      display: block;
  }

  nav ul {
      flex-direction: column;
      align-items: flex-start;
  }

  nav ul li {
      margin: 0 0 14px;
  }
  
  /* 轮播图 */
  .carousel-item {
      height: 260px;
  }
  
  .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;
  }
}
