/* 贝壳背景墙容器 */
.banner {
  position: relative;
  width: 100%;
  height: 31.5625rem;
  justify-content: center;
  align-content: center;
  background-color: #f3f5f7;
  /* 内容版心 */
}
.banner .wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
  background-image: url(../images/banner.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.banner .wrapper .inBanner {
  width: 50%;
  padding-left: 15%;
  /* 从8%调整为15%，使内容向右移动 */
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
.banner .wrapper .inBanner h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}
.banner .wrapper .inBanner h2 {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 3rem;
  opacity: 0.9;
}
.banner .wrapper .inBanner button {
  position: relative;
  padding: 16px 40px;
  background: #FFD700;
  color: #191500;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.banner .wrapper .inBanner button:hover {
  background: #d6b500;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.banner .wrapper .inBanner button:hover::after {
  transform: translateX(5px);
}
.banner .wrapper .inBanner button::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}
/* 响应式调整 */
@media (max-width: 992px) {
  .wrapper .inBanner {
    width: 70%;
    padding-left: 10%;
    /* 从5%调整为10%，保持相对右移 */
  }
}
@media (max-width: 768px) {
  .wrapper .inBanner {
    width: 85%;
    text-align: center;
    padding: 0 5%;
    /* 移动端保持居中 */
  }
  .wrapper .inBanner h1 {
    font-size: 2.5rem;
  }
  .wrapper .inBanner h2 {
    font-size: 1.4rem;
  }
}
/* ===================== 平台特色功能 ===================== */
.feature-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}
.feature-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 3rem;
  position: relative;
}
.feature-section .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #FFD700;
  margin: 1rem auto 0;
}
.feature-section .feature-cards {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.feature-section .feature-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.feature-section .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.feature-section .feature-card .card-image {
  height: 250px;
  overflow: hidden;
}
.feature-section .feature-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-section .feature-card:hover .card-image img {
  transform: scale(1.05);
}
.feature-section .feature-card .card-content {
  padding: 2rem;
  text-align: center;
}
.feature-section .feature-card .card-content h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}
.feature-section .feature-card .card-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 80px;
}
.feature-section .feature-card .card-content .feature-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  background: #FFD700;
  color: #333;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.feature-section .feature-card .card-content .feature-btn span {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}
.feature-section .feature-card .card-content .feature-btn:hover {
  background: #ccac00;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.feature-section .feature-card .card-content .feature-btn:hover span {
  transform: translateX(5px);
}
.feature-section .feature-card .card-content .feature-btn.special-btn {
  background: #fff;
  border: 2px solid #FFD700;
}
.feature-section .feature-card .card-content .feature-btn.special-btn:hover {
  background: #FFD700;
}
/* ===================== 贝享商城 ===================== */
.shop-section {
  padding: 5rem 0;
  background-color: #fff;
}
.shop-section .wrapper {
  max-width: 1200px;
}
.shop-section .shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}
.shop-section .shop-header .section-title {
  margin: 0;
  text-align: left;
}
.shop-section .shop-header .section-title::after {
  margin: 1rem 0 0;
}
.shop-section .shop-header .view-all {
  color: #666;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.shop-section .shop-header .view-all:hover {
  color: #FFD700;
}
.shop-section .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.shop-section .product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.shop-section .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.shop-section .product-card .product-image {
  height: 200px;
  overflow: hidden;
}
.shop-section .product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shop-section .product-card:hover .product-image img {
  transform: scale(1.05);
}
.shop-section .product-card .product-info {
  padding: 1.5rem;
  text-align: center;
}
.shop-section .product-card .product-info h3 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 0.5rem;
}
.shop-section .product-card .product-info p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  min-height: 40px;
}
.shop-section .product-card .product-info .price {
  font-size: 1.5rem;
  color: #e74c3c;
  font-weight: 700;
  margin: 1rem 0;
}
.shop-section .product-card .product-info .price:before {
  content: '¥';
  font-size: 0.8em;
}
.shop-section .product-card .product-info .buy-btn {
  display: inline-block;
  width: 100%;
  padding: 0.7rem;
  background: #FFD700;
  color: #333;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.shop-section .product-card .product-info .buy-btn:hover {
  background: #ccac00;
}
/* ===================== 响应式调整 ===================== */
@media (max-width: 1024px) {
  .feature-section .feature-cards,
  .shop-section .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .feature-section,
  .shop-section {
    padding: 3rem 0;
  }
  .feature-section .section-title,
  .shop-section .section-title {
    font-size: 2rem;
  }
  .feature-section .feature-cards,
  .shop-section .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .shop-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .shop-header .view-all {
    margin-top: 1rem;
  }
}
