/* 响应式基础设置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  min-width: 320px;
  background: #f0f2f5;
}

.content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Banner区域 - 修复居中问题 */
.newuser-banner {
  width: 100%;
  height: 400px;
  background: url('img/newuser-banner.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.newuser-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(210, 25, 40, 0.8) 0%, rgba(240, 100, 90, 0.8) 100%);
}

.newuser-banner > .content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.banner-content {
  max-width: 800px;
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newuser-banner h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.newuser-banner p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 600px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.newuser-banner p span {
  color: #FFDC00;
  font-size: 32px;
  font-weight: bold;
  margin: 0 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 侧边导航 */
.anchor-nav {
  position: fixed;
  top: 100px;
  left: 40px;
  width: 140px;
  background: white;
  box-shadow: 0px 8px 40px 0px rgba(30, 35, 45, 0.08);
  border-radius: 4px;
  z-index: 1000;
  display: none;
}

.anchor-nav.active {
  display: block;
}

.anchor-nav .head {
  width: 100%;
  height: 50px;
  background: url('img/newuser-anchor-head.png') no-repeat center;
  background-size: cover;
  border-radius: 4px 4px 0 0;
}

.anchor-nav .body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.anchor-nav .body ul li {
  line-height: 40px;
  font-size: 14px;
  color: #2D3037;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 1px solid #f0f2f5;
}

.anchor-nav .body ul li:nth-child(2n) {
  background: #F6F8F9;
}

.anchor-nav .body ul li:hover,
.anchor-nav .body ul li.active {
  color: #D21928;
  background: #FFDCB9 !important;
}

.anchor-nav .body ul li:last-child {
  border-bottom: none;
}

.anchor-nav-erweima {
  background-color: #FFF;
  text-align: center;
  padding: 16px 10px;
  border-top: 1px solid #f0f2f5;
}

.nav-erweima-img img {
  display: inline-block;
  width: 94px;
  height: 94px;
  border-radius: 4px;
}

.anchor-nav-erweima p {
  line-height: 22px;
  font-size: 12px;
  color: #5E6D81;
  margin-top: 8px;
}

/* 产品区域 */
.newuser-product-nine {
  background-color: #F0F2F5;
  padding: 40px 0 30px;
}

/* 产品标签 - 修复手机版标签竖向排列问题 */
.pro-tab {
  height: 62px;
  border-bottom: 1px solid #DBE1E8;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden; /* 修改：去掉 auto，改为 hidden */
}

.pro-tab-center {
  position: relative;
  text-align: center;
  width: 100%; /* 修改：去掉 inline-block 和 min-width */
}

.pro-tab-line {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background-color: #D21928;
  z-index: 10;
  transition: all 0.3s ease;
}

.pro-tab ul {
  display: flex; /* 修改：去掉 inline-flex */
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center; /* 新增：居中显示 */
}

.pro-tab ul li {
  height: 62px;
  line-height: 62px;
  font-size: 18px;
  color: #2D3037;
  padding: 0 24px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0; /* 保留：防止挤压 */
}

.pro-tab ul li:hover {
  color: #D21928;
}

.pro-tab ul li.active {
  color: #D21928;
  font-weight: bold;
}

/* 产品列表 */
.pro-item-box {
  position: relative;
  min-height: 400px;
}

.pro-item {
  display: none;
  animation: fadeIn 0.5s ease;
}

.pro-item.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 修复裸金属服务器更多配置链接间距 */
#tab-baremetal .more-diy-config {
  margin-top: 20px !important;
  padding-top: 10px;
}

/* 统一所有更多配置链接的样式 */
.more-diy-config {
  text-align: center;
  line-height: 26px;
  font-size: 16px;
  padding-top: 20px;
  margin-top: 0;
}

.more-diy-config a {
  color: #D21928;
  text-decoration: none;
  font-weight: bold;
}

.more-diy-config a:hover {
  text-decoration: underline;
}

/* 调整产品列表容器的底部间距 */
.taocan-tuijian-box {
  margin-bottom: 20px;
}

.taocan-item-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.taocan-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 8px 40px 0px rgba(30, 35, 45, 0.08);
  transition: all 0.3s ease;
}

.taocan-item:hover {
  transform: translateY(-8px);
  box-shadow: 0px 16px 40px 0px rgba(30, 35, 45, 0.16);
}

.item-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.item-content .head {
  position: relative;
  height: 96px;
  background: #F6F8F9;
  padding: 21px 32px 0;
  flex-shrink: 0;
}

.item-content .head h3 {
  line-height: 30px;
  font-size: 20px;
  color: #2D3037;
  margin-bottom: 6px;
}

.item-content .head p {
  line-height: 24px;
  font-size: 14px;
  color: #5E6D81;
  margin: 0;
}

.newuser-tag,
.discount-tag {
  position: absolute;
  top: 16px;
  right: 0;
  width: 80px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 14px;
  color: #D21928;
  background: url('img/newuser-radius-bg.png') no-repeat center;
}

.discount-tag {
  color: #ff5500;
}

.item-content .body {
  padding: 19px 32px 0;
  flex: 1;
}

.item-content .body ul {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  list-style: none;
  margin: 0;
}

.item-content .body ul li {
  text-align: center;
  flex: 1;
}

.item-content .body ul li div {
  line-height: 30px;
  font-size: 20px;
  color: #2D3037;
  font-weight: bold;
}

.item-content .body ul li p {
  line-height: 24px;
  font-size: 14px;
  color: #9EA7B3;
  margin-top: 5px;
}

.bottom {
  padding: 0 32px 20px;
  flex-shrink: 0;
}

.price-youhui {
  height: 30px;
  line-height: 30px;
  font-size: 18px;
  color: #FF6666;
  margin-bottom: 10px;
}

.price-youhui .act-num {
  font-size: 32px;
  font-weight: bold;
  margin-right: 8px;
}

.price-youhui .original-price {
  display: inline;
  font-size: 14px;
  color: #9EA7B3;
  text-decoration: line-through;
  margin-left: 16px;
}

.limit {
  margin-bottom: 24px;
}

.limit-math {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  font-size: 14px;
  color: #FFFFFF;
  background-color: #FF6666;
  padding: 0 6px;
  border-radius: 2px;
  margin-right: 8px;
}

.renew-cost {
  display: inline-block;
  height: 24px;
  line-height: 22px;
  font-size: 14px;
  color: #FF6666;
  padding: 0 10px;
  border: 1px solid #FF6666;
  border-radius: 2px;
  margin-right: 8px;
}

.buy.shopbtn {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  color: #FFFFFF;
  background: linear-gradient(90deg, #D21928, #D21928, #D21928);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: bold;
}

.buy.shopbtn:hover {
  background: linear-gradient(90deg, #D21928, #F0645A, #D21928);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(210, 25, 40, 0.3);
}

/* 广告区域 */
.guanggao-yinqin {
  width: 100%;
  height: 90px;
  background: url('img/guanggao-2.png') no-repeat center;
  background-size: cover;
  margin: 20px 0;
}

/* 红包区域 */
.new-user {
  width: 100%;
  background-color: #F0F2F5;
  padding: 40px 0 48px;
}

.new-user-guanggao {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}

.new-user-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #D21928 0%, #f0645a 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 40px;
}

.new-user-text {
  color: #FFFFFF;
  position: relative;
  z-index: 2;
}

.new-user-text div {
  line-height: 34px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.new-user-text p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 20px;
  max-width: 600px;
}

.new-user-text p a {
  color: #FFCC99;
  text-decoration: none;
  margin: 0 5px;
}

.new-user-text p a:last-child {
  margin-left: 8px;
}

.new-user-text p a:hover {
  text-decoration: underline;
}

.new-coupon-banner-btn {
  display: inline-block;
  width: 144px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 16px;
  color: #D21928;
  background: #FFCC99;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.new-coupon-banner-btn:hover {
  background: #FFDCB9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 204, 153, 0.3);
}

/* 服务器租用 */
.spring-product {
  width: 100%;
  background-color: #F0F2F5;
  padding: 50px 0 10px;
}

.spring-product#anchor-cloudserver {
  padding-top: 67px;
}

.spring-product-title {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.spring-product-title h2 {
  display: inline-block;
  line-height: 46px;
  font-size: 36px;
  color: #2D3037;
  position: relative;
  padding: 0 40px;
}

.spring-product-title h2::before {
  content: "";
  position: absolute;
  left: -40px;
  top: -19px;
  width: 72px;
  height: 72px;
  background: url('img/title-bg.png') no-repeat center;
  z-index: 0;
}

.spring-product-title h2 span {
  position: relative;
  z-index: 1;
}

.spring-product-des {
  line-height: 26px;
  font-size: 16px;
  color: #5E6D81;
  text-align: center;
  margin-bottom: 35px;
}

.item-tab {
  display: inline-block;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0px 8px 40px 0px rgba(30, 35, 45, 0.08);
  border-radius: 4px 4px 0 0;
}

.item-tab ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.item-tab ul li {
  position: relative;
  width: 240px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  font-size: 18px;
  color: #2D3037;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.3s;
  border-right: 1px solid #f0f2f5;
}

.item-tab ul li:last-child {
  border-right: none;
}

.item-tab ul li:hover {
  color: #D21928;
  background: #FFDCB9;
}

.item-tab ul li.active {
  color: #FFFFFF;
  background: #D21928;
  font-weight: bold;
}

.item-body {
  background: white;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  box-shadow: 0px 8px 40px 0px rgba(30, 35, 45, 0.08);
}

.item-body-item {
  display: none;
  animation: fadeIn 0.5s ease;
}

.item-body-item.active {
  display: block;
}

.item-body-list {
  display: flex;
  align-items: center;
  height: 120px;
  padding: 0 30px;
  border-bottom: 1px solid #DBE1E8;
  transition: all 0.3s;
}

.item-body-list:last-child {
  border-bottom: none;
}

.item-body-list:hover {
  background-color: #F6F8F9;
}

.item-body-list-left {
  width: 220px;
  padding-right: 30px;
}

.item-body-list-left .title {
  line-height: 30px;
  font-size: 20px;
  color: #2D3037;
  font-weight: bold;
  margin-bottom: 6px;
}

.item-body-list-left p {
  line-height: 24px;
  font-size: 14px;
  color: #9EA7B3;
  margin: 0;
}

.item-body-list-config {
  flex: 1;
  padding: 0 40px;
}

.item-body-list-config ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: space-between;
}

.item-body-list-config ul li {
  text-align: center;
  flex: 1;
}

.item-body-list-config ul li div {
  line-height: 30px;
  font-size: 18px;
  color: #2D3037;
  font-weight: bold;
  margin-bottom: 6px;
}

.item-body-list-config ul li p {
  line-height: 24px;
  font-size: 14px;
  color: #9EA7B3;
  margin: 0;
}

.item-body-list-price {
  width: 190px;
  padding: 0 20px;
}

.item-body-list-price > a {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 10px;
  border: 1px solid #DBE1E8;
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
}

.item-body-list-price > a:hover,
.item-body-list-price > a.active {
  border-color: #FF6666;
  background: #FFEFEF;
}

.item-price-math {
  height: 24px;
  line-height: 24px;
  font-size: 14px;
  color: #FF6666;
  margin-bottom: 5px;
}

.item-price-math .act-num {
  font-size: 26px;
  font-weight: bold;
  margin-right: 7px;
}

.item-price-sheng {
  line-height: 16px;
  font-size: 14px;
  color: #FF6666;
  margin-bottom: 8px;
}

.item-limit-math {
  line-height: 16px;
  font-size: 14px;
  color: #9EA7B3;
  margin: 0;
}

.item-badge {
  position: absolute;
  right: -1px;
  top: -10px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  color: #FFFFFF;
  background-color: #FF6666;
  padding: 0 6px;
  border-radius: 2px;
  z-index: 1;
}

.item-body-list > .buy.shopbtn,
.item-body-list > .host_buy {
  width: 120px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  color: #FFFFFF;
  background: linear-gradient(90deg, #D21928, #D21928, #D21928);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: bold;
  margin-left: 20px;
}

.item-body-list > .buy.shopbtn:hover,
.item-body-list > .host_buy:hover {
  background: linear-gradient(90deg, #D21928, #F0645A, #D21928);
  transform: translateY(-2px);
}

.spring-product-more {
  width: 100%;
  line-height: 26px;
  font-size: 16px;
  text-align: center;
  padding-top: 34px;
}

.spring-product-more a {
  color: #D21928;
  text-decoration: none;
  font-weight: bold;
}

.spring-product-more a:hover {
  text-decoration: underline;
}

/* 云虚拟主机特殊配置 */
.cloud_computer_block .item-body-list-left {

}

.cloud_computer_block .item-body-list-config ul li {
  width: 16.666%;
  text-align: center;
}

.cloud_computer_block .item-body-list-config ul li div {
  font-size: 16px;
  color: #2D3037;
  margin-bottom: 5px;
}

.cloud_computer_block .item-body-list-config ul li p {
  font-size: 13px;
  color: #9EA7B3;
}

/* 更多优惠 */
.more-youhui {
  width: 100%;
  background-color: #F0F2F5;
  padding: 50px 0 80px;
}

.youhui-item-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.youhui-item {
  position: relative;
  height: 240px;
  background: #fbfcff;
  border-radius: 10px;
  box-shadow: 0px 8px 40px 0px rgba(30, 35, 45, 0.08);
  transition: all 0.3s;
  overflow: hidden;
}

.youhui-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 40px 0px rgba(30, 35, 45, 0.16);
}

.youhui-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 35px 30px 0;
  z-index: 2;
}

.youhui-tit {
  line-height: 32px;
  font-size: 22px;
  color: #2D3037;
  font-weight: bold;
  margin-bottom: 15px;
}

.youhui-content > p {
  line-height: 28px;
  font-size: 16px;
  color: #5E6D81;
  margin-bottom: 30px;
}

.youhui-content > a {
  display: inline-block;
  width: 120px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 14px;
  color: #FFFFFF;
  background: linear-gradient(90deg, #D21928, #D21928, #D21928);
  border-radius: 18px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.youhui-content > a:hover {
  background: linear-gradient(90deg, #D21928, #F0645A, #D21928);
  transform: translateY(-2px);
}

.youhui-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 200px;
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  opacity: 0.8;
}

.youhui-bg-cloud {
  background-image: url('img/yh-bg-1.png');
}

.youhui-bg-luojinshu {
  background-image: url('img/yh-bg-2.png');
}

.youhui-bg-hk {
  background-image: url('img/yh-bg-3.png');
}

/* 红包模态框 */
.new-coupon-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: none;
  animation: fadeIn 0.3s ease;
}

.coupon-modal-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1060px;
  max-width: 95%; /* 改为95%增加边距 */
  background: white;
  border-radius: 8px; /* 增加圆角 */
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* 添加阴影 */
}

.modal-center-head {
  position: relative;
  width: 100%;
  height: 60px;
  line-height: 60px;
  font-size: 20px;
  color: #333;
  background-color: #F6F8F9;
  text-align: center;
  padding: 0 50px;
  overflow: hidden;
  white-space: nowrap;
}

.modal-center-head span {
  position: absolute;
  right: 20px;
  top: 11px;
  width: 38px;
  height: 38px;
  line-height: 38px;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s;
  color: #666;
}

.modal-center-head span:hover {
  color: #D21928;
}

.modal-center-body {
  padding: 30px;
}

.renew-upgrade {
  display: flex;
  gap: 20px;
}

.renew-upgrade > div {
  flex: 1;
}

.reup_content {
  text-align: center;
  margin-bottom: 20px;
}

.reup_content p {
  font-size: 30px;
  color: #ff5600;
  margin-bottom: 20px;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
}

.reup_content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.ticket {
  width: 50px;
  height: 20px;
  background-color: #ff7d4d;
  border-radius: 4px;
  font-size: 12px;
  color: #fff;
  text-align: center;
  line-height: 20px;
  margin-bottom: 8px;
  margin-left: auto;
  margin-right: auto;
}

.ticket-c .discount {
  font-size: 20px;
  color: #d32f2f;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
}

.ticket-c .decs {
  color: #ef5350;
  font-size: 14px;
  margin-top: 5px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.reup_bottom {
  text-align: center;
  padding-top: 20px;
}

.renewUpgradeBtn {
  width: 200px;
  max-width: 100%;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background-color: #ffd400;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 14px;
  color: #650019;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s;
  overflow: hidden;
  white-space: nowrap;
}

.renewUpgradeBtn:hover {
  background-color: #ffaa00;
  transform: translateY(-2px);
}

.renewButton {
  background: linear-gradient(0deg, #ebb00e 0%, #ffc247 100%);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .content {
    padding: 0 20px;
  }
  
  .taocan-item-box {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .anchor-nav {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .newuser-banner {
    height: 300px;
  }
  
  .newuser-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
  }
  
  .newuser-banner p {
    font-size: 16px;
  }
  
  .newuser-banner p span {
    font-size: 28px;
  }
  
  .youhui-item-box {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .item-body-list {
    flex-wrap: wrap;
    height: auto;
    padding: 20px;
  }
  
  .item-body-list-left,
  .item-body-list-config,
  .item-body-list-price {
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
  }
  
  .item-body-list-price {
    text-align: center;
  }
  
  .item-body-list > .buy.shopbtn,
  .item-body-list > .host_buy {
    margin: 0 auto;
  }
  
  .more-diy-config {
    padding-top: 15px;
  }
}

@media (max-width: 768px) {
  .newuser-banner {
    height: 250px;
    padding: 0 15px;
  }
  
  .newuser-banner h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .newuser-banner p {
    font-size: 14px;
  }
  
  .newuser-banner p span {
    font-size: 24px;
  }
  
  .pro-tab {
    height: 62px; /* 保持高度不变 */
    overflow-x: auto; /* 允许水平滚动 */
    overflow-y: hidden; /* 禁止垂直滚动 */
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  
  .pro-tab::-webkit-scrollbar {
    display: none; /* 隐藏滚动条 */
  }
  
  .pro-tab-center {
    display: inline-block;
    min-width: max-content; /* 修改：从 100% 改为 max-content */
    text-align: left; /* 新增：左对齐 */
  }
  
  .pro-tab ul {
    display: inline-flex;
    justify-content: flex-start;
    min-width: max-content;
  }
  
  .pro-tab ul li {
    flex-shrink: 0;
    padding: 0 20px; /* 修改：从15px改为20px */
    font-size: 16px;
    height: 50px;
    line-height: 50px;
  }
  .taocan-item-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .item-content .body ul {
    flex-wrap: wrap;
  }
  
  .item-content .body ul li {
    width: 50%;
    margin-bottom: 15px;
  }
  
  .youhui-item-box {
    grid-template-columns: 1fr;
  }
  
  .renew-upgrade {
    flex-direction: column;
  }
  
  .spring-product,
  .more-youhui {
    padding: 30px 0;
  }
  
  .new-user {
    padding: 30px 0;
  }
  
  .new-user-bg {
    padding: 20px;
  }
  
  .new-user-text div {
    font-size: 20px;
  }
  
  .more-diy-config {
    padding-top: 15px;
  }
  /* 手机版红包弹窗优化 */
  .coupon-modal-center {
    width: 95%;
    max-width: 95%;
    top: 20px; /* 改为从顶部开始 */
    transform: translate(-50%, 0); /* 只水平居中 */
    max-height: calc(100vh - 40px); /* 考虑顶部间距 */
    border-radius: 12px; /* 更大的圆角 */
  }
  
  .modal-center-head {
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    padding: 0 40px;
  }
  
  .modal-center-head span {
    right: 15px;
    top: 6px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 24px;
  }
  
  .modal-center-body {
    padding: 20px 15px;
  }
  
  .renew-upgrade {
    flex-direction: column; /* 改为垂直排列 */
    gap: 15px;
  }
  
  .renew-upgrade > div {
    flex: none; /* 取消flex */
    width: 100%;
  }
  
  .reup_content {
    margin-bottom: 15px;
  }
  
  .reup_content p {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .reup_content ul {
    grid-template-columns: 1fr; /* 改为单列 */
    gap: 10px;
  }
  
  .reup_content ul li {
    padding: 12px; /* 增加内边距 */
  }
  
  .ticket {
    width: 45px;
    height: 18px;
    font-size: 11px;
    line-height: 18px;
    margin-bottom: 6px;
  }
  
  .ticket-c .discount {
    font-size: 18px;
  }
  
  .ticket-c .decs {
    font-size: 13px;
    margin-top: 3px;
  }
  
  .reup_bottom {
    padding-top: 15px;
  }
  
  .renewUpgradeBtn {
    width: 100%;
    height: 44px; /* 增加高度便于触摸 */
    line-height: 44px;
    font-size: 16px;
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .pro-tab ul {
    display: inline-flex; /* 确保仍然横向排列 */
  }
  
  .pro-tab ul li {
    padding: 0 15px;
    font-size: 15px;
    height: 48px;
    line-height: 48px;
  }
  
  .pro-tab ul li:last-child {

  }
  
  .pro-tab-line {
    display: none; /* 超小屏隐藏指示线 */
  }
  
  .item-tab ul {
    flex-direction: column;
  }
  
  .item-tab ul li {
    width: 100%;
    margin-bottom: 5px;
    border-right: none;
  }
  
  .cloud_computer_block .item-body-list-config ul {
    flex-wrap: wrap;
  }
  
  .cloud_computer_block .item-body-list-config ul li {
    width: 33.333%;
    margin-bottom: 15px;
  }
  
  .reup_content ul {
    grid-template-columns: 1fr;
  }
  
  .more-diy-config {
    padding-top: 10px;
    font-size: 14px;
  }
  /* 超小屏幕红包弹窗优化 */
  .coupon-modal-center {
    width: 92%;
    max-width: 92%;
    top: 10px;
    max-height: calc(100vh - 20px);
  }
  
  .modal-center-head {
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    padding: 0 35px;
  }
  
  .modal-center-head span {
    right: 12px;
    top: 5px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 22px;
  }
  
  .modal-center-body {
    padding: 15px 12px;
  }
  
  .reup_content p {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .reup_content ul li {
    padding: 10px;
  }
  
  .ticket-c .discount {
    font-size: 16px;
  }
  
  .ticket-c .decs {
    font-size: 12px;
    white-space: normal; /* 允许换行 */
    line-height: 1.4;
  }
  
  .renewUpgradeBtn {
    height: 42px;
    line-height: 42px;
    font-size: 15px;
  }
}