/* ==================== 新版轮播图样式（Swiper） ==================== */
.banner-swiper-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.banner-main-swiper {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 600px;
  min-height: 200px;
}

.banner-main-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 5%;
  box-sizing: border-box;
  background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 60%);
}

.banner-slide-inner {
  max-width: 600px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.banner-title {
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.banner-desc {
  font-size: clamp(14px, 2.5vw, 18px);
  margin-bottom: 28px;
  opacity: 0.9;
  line-height: 1.5;
}

.banner-btn {
  display: inline-block;
  padding: 12px 32px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 40px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s;
  cursor: pointer;
}

.banner-btn:hover {
  background: #0066ff;
  border-color: #0066ff;
  backdrop-filter: none;
}

.banner-pagination {
  bottom: 20px !important;
}
.banner-pagination .swiper-pagination-bullet {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  transition: all 0.3s;
}
.banner-pagination .swiper-pagination-bullet-active {
  background: #0066ff;
  width: 40px;
}

.banner-button-prev,
.banner-button-next {
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  color: #fff;
  transition: background 0.3s;
}
.banner-button-prev:hover,
.banner-button-next:hover {
  background: rgba(0,102,255,0.8);
}
.banner-button-prev::after,
.banner-button-next::after {
  font-size: 20px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .banner-button-prev,
  .banner-button-next {
    display: none;
  }
  .banner-main-swiper {
    aspect-ratio: 3 / 2;
  }
  .banner-slide-content {
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 60%);
  }
}

/* ==================== 限量秒杀板块样式 ==================== */
.seckill-wrapper {
  max-width: 1500px;
  margin: 40px auto;
  padding: 0 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.seckill-title {
  font-size: 28px;
  font-weight: 700;
  color: #ff4d4f;
  margin: 0 0 20px 0;
  padding-left: 12px;
  border-left: 5px solid #ff4d4f;
}
.seckill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #fff5f5;
  padding: 12px 20px;
  border-radius: 40px;
  margin-bottom: 30px;
}
.seckill-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e67e22;
}
.seckill-notice img {
  width: 20px;
  height: 20px;
}
.countdown-box {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
}
.count-text {
  color: #333;
}
.count-time {
  display: inline-block;
  background: #2c3e50;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  padding: 4px 8px;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
}
.seckill-goods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.seckill-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ffe7e7;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.seckill-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.seckill-logo {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
.seckill-top {
  padding: 20px 20px 12px;
  background: linear-gradient(135deg, #fff5f5, #fff);
}
.seckill-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a2c3e;
}
.seckill-des {
  font-size: 13px;
  color: #7f8c8d;
  margin-bottom: 6px;
}
.seckill-country {
  font-size: 13px;
  color: #3498db;
  background: #eef7ff;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
}
.seckill-bottom {
  padding: 0 20px 20px;
}
.seckill-info {
  background: #fafbfc;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 12px 0;
}
.seckill-config {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-size: 13px;
}
.seckill-label {
  color: #7f8c8d;
}
.seckill-value {
  font-weight: 500;
  color: #2c3e50;
}
.seckill-ad {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.seckill-aditem {
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 16px;
  font-size: 11px;
  color: #e67e22;
}
.seckill-price {
  margin: 15px 0;
}
.price-text {
  font-size: 20px;
  font-weight: 700;
  color: #ff4d4f;
}
.font-24 {
  font-size: 28px;
}
.origin-price {
  font-size: 13px;
  color: #95a5a6;
  text-decoration: line-through;
  margin-left: 10px;
}
.price-moon {
  font-size: 13px;
  color: #7f8c8d;
  margin-top: 4px;
}
.seckill-btn {
  margin: 15px 0 10px;
}
.btn {
  display: block;
  text-align: center;
  padding: 10px 0;
  border-radius: 30px;
  background: #ff4d4f;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.btn-normal {
  background: #ff4d4f;
}
.btn-normal:hover {
  background: #e03a3c;
}
.lootall-btn {
  background: #bdc3c7;
  cursor: not-allowed;
}
.progress {
  background: #e9ecef;
  border-radius: 20px;
  height: 6px;
  overflow: hidden;
  margin: 12px 0 6px;
}
.progress-bar {
  background: #ff4d4f;
  width: 0%;
  height: 100%;
  border-radius: 20px;
}
.progress-text {
  font-size: 11px;
  color: #7f8c8d;
  text-align: right;
}
@media (max-width: 768px) {
  .seckill-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .seckill-goods {
    grid-template-columns: 1fr;
  }
}

/* ==================== 云服务器板块样式 ==================== */
.cloud-wrapper {
  max-width: 1500px;
  margin: 40px auto;
  padding: 0 20px;
}
.cloud-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}
.cloud-desc {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}
.link-rule {
  color: #007bff;
  text-decoration: none;
}
.link-rule:hover {
  text-decoration: underline;
}
.cloud-tab-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tab-left {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tab-item {
  padding: 10px 20px;
  background-color: #f0f0f0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab-item:hover {
  background-color: #e0e0e0;
}
.tab-item.active-tab {
  background-color: #007bff;
  color: #fff;
}
.tab-right .right-btn {
  padding: 10px 20px;
  background-color: #f0f0f0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.cloud-goods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.cloud-item {
  flex: 1;
  min-width: 300px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
}
.cloud-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.cloud-label {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #007bff;
  color: #fff;
  padding: 5px 15px;
  border-radius: 8px 0 8px 0;
  font-size: 12px;
  font-weight: 600;
}
.cloud-left {
  margin-bottom: 20px;
}
.cloud-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}
.cloud-text {
  font-size: 14px;
  color: #666;
}
.cloud-mid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.cloud-config-item {
  flex: 1;
  min-width: 100px;
  text-align: center;
  margin-bottom: 10px;
}
.config-lable {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}
.config-value {
  font-size: 14px;
  color: #666;
}
.cloud-right {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 10px;
}
.cloud-price-box {
  flex: 1;
  text-align: center;
  padding: 10px;
  background-color: #f0f0f0;
  border-radius: 4px;
  cursor: pointer;
}
.cloud-price-box.active {
  background-color: #e6f0ff;
  border: 1px solid #007bff;
}
.cloud-origin {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-top: 5px;
}
.cloud-buy-btn {
  width: 100%;
  text-align: center;
}
@media (max-width: 768px) {
  .cloud-mid {
    flex-direction: column;
    align-items: center;
  }
  .cloud-right {
    flex-direction: column;
  }
}

/* ==================== 物理裸机板块样式 ==================== */
.baremetal-wrapper {
  max-width: 1500px;
  margin: 40px auto;
  padding: 0 20px;
}
.baremetal-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}
.baremetal-desc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}
.baremetal-desc-left .link-rule {
  color: #007bff;
  text-decoration: none;
}
.baremetal-more {
  padding: 6px 12px;
  background-color: #f0f0f0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.baremetal-goods {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.baremetal-item {
  flex: 1;
  min-width: 300px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
}
.baremetal-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.baremetal-label {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #28a745;
  color: #fff;
  padding: 5px 15px;
  border-radius: 8px 0 8px 0;
  font-size: 12px;
  font-weight: 600;
}
.baremetal-left {
  margin-bottom: 20px;
}
.baremetal-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}
.baremetal-text {
  font-size: 14px;
  color: #666;
}
.baremetal-mid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.baremetal-config-item {
  flex: 1;
  min-width: 100px;
  text-align: center;
  margin-bottom: 10px;
}
.baremetal-config-lable {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}
.baremetal-config-value {
  font-size: 13px;
  color: #666;
}
.baremetal-right {
  margin-bottom: 20px;
}
.baremetal-price-box {
  text-align: center;
  padding: 10px;
  background-color: #e6f0ff;
  border-radius: 4px;
  border: 1px solid #007bff;
}
.baremetal-price-box .font-24 {
  font-size: 24px;
  font-weight: 700;
  color: #ff4d4f;
}
.baremetal-price-box .cloud-origin {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-top: 5px;
}
.baremetal-buy-btn {
  width: 100%;
  text-align: center;
}
@media (max-width: 768px) {
  .baremetal-mid {
    flex-direction: column;
    align-items: center;
  }
}

/* ==================== 产品优势与优惠活动全局样式 ==================== */
.section-content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-cloud-feature {
  padding: 40px 0;
}
.product-cloud-feature .section-title {
  text-align: center;
  margin-bottom: 40px;
}
.product-cloud-feature .section-title h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #1a2c3e;
  margin-bottom: 15px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  width: auto;
  padding-bottom: 12px;
}
.product-cloud-feature .section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #007bff;
  border-radius: 2px;
}
.product-cloud-feature .feature-list {
  max-width: 1500px;
  margin: 0 auto;
}
.product-cloud-feature .feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}
.product-cloud-feature .feature-item:nth-child(1) { animation-delay: 0.1s; }
.product-cloud-feature .feature-item:nth-child(2) { animation-delay: 0.2s; }
.product-cloud-feature .feature-item:nth-child(3) { animation-delay: 0.3s; }
.product-cloud-feature .feature-item:nth-child(4) { animation-delay: 0.4s; }
.product-cloud-feature .feature-item.left {
  flex-direction: row;
}
.product-cloud-feature .feature-item.right {
  flex-direction: row-reverse;
  text-align: right;
}
.product-cloud-feature .feature-icon {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #f0f7ff, #e9f0fe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,123,255,0.1);
}
.product-cloud-feature .feature-icon img {
  width: 65px;
  height: auto;
}
.product-cloud-feature .feature-text {
  flex: 1;
}
.product-cloud-feature .feature-text h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: #1a2c3e;
}
.product-cloud-feature .feature-text p {
  color: #5a6e7c;
  line-height: 1.6;
  font-size: 16px;
}
.product-cloud-feature .feature-item:hover .feature-icon {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,123,255,0.2);
  background: #e6f0ff;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-discount-scroll {
  padding: 40px 0 60px;
}
.product-discount-scroll .section-title {
  text-align: center;
  margin-bottom: 30px;
}
.product-discount-scroll .section-title h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #1a2c3e;
  margin-bottom: 15px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  width: auto;
  padding-bottom: 12px;
}
.product-discount-scroll .section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #ff6b6b;
  border-radius: 2px;
}
.product-discount-scroll .section-title .subtitle {
  color: #ff6b6b;
  font-size: 16px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding: 0 20px;
  margin-top: 8px;
}
.product-discount-scroll .section-title .subtitle::before,
.product-discount-scroll .section-title .subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: #ff6b6b;
}
.product-discount-scroll .section-title .subtitle::before {
  left: -45px;
}
.product-discount-scroll .section-title .subtitle::after {
  right: -45px;
}
.product-discount-scroll .scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 20px 0 10px;
  padding-bottom: 15px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.product-discount-scroll .scroll-wrapper {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 10px 20px;
}
.product-discount-scroll .discount-card {
  width: 335px;
  background: linear-gradient(135deg, #fff 0%, #fafaff 100%);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(0,123,255,0.1);
}
.product-discount-scroll .discount-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0,123,255,0.2);
  border-color: rgba(0,123,255,0.3);
}
.product-discount-scroll .card-badge {
  position: absolute;
  top: 16px;
  right: -28px;
  background: #ff6b6b;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 32px;
  transform: rotate(45deg);
  width: 110px;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-discount-scroll .card-title {
  font-size: 22px;
  font-weight: 600;
  margin: 25px 0 12px;
  color: #1e2f3e;
}
.product-discount-scroll .card-desc {
  color: #6c7a89;
  line-height: 1.5;
  margin-bottom: 28px;
  font-size: 14px;
}
.product-discount-scroll .card-footer {
  text-align: right;
}
.product-discount-scroll .card-btn {
  display: inline-block;
  background: transparent;
  color: #007bff;
  border: 1px solid #007bff;
  padding: 8px 20px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}
.product-discount-scroll .card-btn:hover {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  transform: translateX(3px);
}
.product-discount-scroll .scroll-container::-webkit-scrollbar {
  height: 6px;
}
.product-discount-scroll .scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.product-discount-scroll .scroll-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}
.product-discount-scroll .scroll-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

@media (max-width: 768px) {
  .product-cloud-feature .feature-item,
  .product-cloud-feature .feature-item.left,
  .product-cloud-feature .feature-item.right {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-bottom: 40px;
  }
  .product-cloud-feature .feature-item.right .feature-text {
    text-align: center;
  }
  .product-cloud-feature .feature-icon {
    width: 90px;
    height: 90px;
  }
  .product-cloud-feature .feature-icon img {
    width: 55px;
  }
  .product-cloud-feature .feature-text h3 {
    font-size: 22px;
  }
  .product-discount-scroll .discount-card {
    width: 260px;
    padding: 20px;
  }
  .product-discount-scroll .card-title {
    font-size: 18px;
  }
  .product-discount-scroll .section-title .subtitle::before,
  .product-discount-scroll .section-title .subtitle::after {
    width: 25px;
  }
  .product-discount-scroll .section-title .subtitle::before {
    left: -30px;
  }
  .product-discount-scroll .section-title .subtitle::after {
    right: -30px;
  }
}