/* 设置 html 和 body 的高度及全局样式 */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "微软雅黑", "黑体", sans-serif;
  background: #f9f9f9;
  color: #333;
  text-align: center;
}

/* 返回首页按钮 */
.back-home {
  position: fixed;
  top: 20px;
  left: 20px;
  background: #ff5722;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s;
}
.back-home:hover {
  background: #e64a19;
  transform: scale(1.05);
}

/* 页眉 */
header {
  background: linear-gradient(135deg, #ff7f50, #ff5722);
  color: white;
  padding: 30px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
header h1 {
  margin: 0;
  font-size: 2.5rem;
}

/* 主容器 */
.container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
}

/* 页面标题 */
.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* 提示信息 */
.notice {
  background: #fff8e1;
  border: 1px solid #ffecb3;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.notice-bottom {
  margin-top: 30px;
}

/* 卡片容器 */
.card-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 卡片样式 */
.card {
  position: relative;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-5px);
}

/* 限时折扣徽章 - 稍微圆润的矩形 */
.discount-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ffa726;
  color: white;
  padding: 5px 8px;
  font-size: 0.8rem;
  border-radius: 5px;
  font-weight: bold;
}

/* 会员标题 */
.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
}
/* 终身会员标题突出 */
.lifetime-title {
  color: #d50000;
  font-weight: bold;
}

/* 原价样式 */
.orig-price {
  font-size: 1rem;
  color: #999;
  margin: 5px 0;
}

/* 价格 */
.price {
  font-size: 1.8rem;
  margin: 10px 0;
  color: #ff5722;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ff5722;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.btn:hover {
  background: #e64a19;
  transform: scale(1.05);
}

/* 页脚 */
footer {
  padding: 20px;
  color: white;
  background: linear-gradient(45deg, #ff7f50, #ff5722);
  /* 如需启用动画效果，可取消下面注释 */
  /* animation: gradientBG 5s infinite alternate; */
}
@keyframes gradientBG {
  0% {
    background: linear-gradient(45deg, #ff7f50, #ff5722);
  }
  100% {
    background: linear-gradient(45deg, #ff5722, #ff7f50);
  }
}

/* 客服按钮 */
.customer-service {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #2196f3, #21cbf3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.customer-service:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* 响应式 */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
}
