:root {
  --swiper-theme-color: #ffffff;
  --swiper-navigation-size: 44px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: #141414;
  font-size:100px
  color: #e0e0e0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


body {
  min-height: 100vh;
  padding: 0px 20px 40px; 
}

/* Swiper 部分 */
.swiper {
  width: 800px;
  max-width: 100%;
  height: 384px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: #000;
  margin: 0 auto 50px auto;
}

.swiper-slide {
  position: relative;
  background: #000;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 网格容器 */
.container {
  max-width: 690px;
  margin: 0 auto 20px auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6列作为基础 */
  gap: 16px;
}




.cardget {
  width: 690px;
  max-width: 100%;
  margin: 0 auto 10px auto;
}

.cardget img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto 0px auto;
}

.cardged {
  width: 690px;
  max-width: 100%;
  margin: 0 auto 60px auto;
}

.cardged img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto 0px auto;
}

.cardge {
  width: 690px;
  max-width: 100%;
  margin: 0 auto 10px auto;
}

.cardge img {
  width: 60%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto 0px auto;
}

.promotions {
  width: 490px;
  max-width: 100%;
  height: 150px; 
  
  margin: 0 auto 10px auto;
  background-image: url(../img/promot.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.num {
  width: 100%;                    /* ← 改成 100%，跟随父级 */
  height: 100%;                   /* ← 占满父容器高度 */
  display: flex;                  /* 用 flex 垂直+水平居中数字 */
  align-items: center;
  justify-content: center;
  
  font-size: 36px;
  font-weight: 600;
  color: #e3c982;
  
  /* 金色渐变文字（保持原样） */
  background: -webkit-linear-gradient(-90deg, #ffb257 20%, #fff 80%, #ffdc97 0, #d59f47 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* 大卡片 (w1 & w2) - 每张跨3列，占满半行，两张正好占满一行 */
.card.large {
  grid-column: span 3;          /* 跨3列 */
  aspect-ratio: 700 / 560;      /* 使用你的原始比例 ≈1.25:1 */
  border-radius: 16px;
}

/* 小卡片 (w3~w5) - 每张跨2列，三张正好占满一行 (2+2+2=6) */
.card.small {
  grid-column: span 2;
  aspect-ratio: 460 / 380;      /* 使用你的原始比例 ≈1.21:1 */
  border-radius: 16px;
}

/* 通用卡片样式 */
.card {
  position: relative;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}












     /* 底部导航栏 - 半透明毛玻璃 */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 70px;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
      z-index: 9999;
      display: flex;
      justify-content: space-around;
      align-items: center;
      border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    /* 方形按钮样式 */
    .nav-btn {
      width: 180px;                  /* 固定宽度，方形感 */
      height: 50px;                  /* 高度稍矮，经典方形比例 */
      background: rgba(233, 213, 173, 0.2); /* 轻微深色底，增加对比 */
      color: #ffe0a3;
      font-size: 18px;
	  font-weight: 900;          /* ← 这里改成 700（bold 加粗），也可以用 800 或 900 更粗 */
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;           /* 圆角方形 */
      transition: all 0.2s ease;
      border: 2px solid rgba(255, 255, 255, 0.4);
      backdrop-filter: blur(5px);    /* 按钮也有轻微毛玻璃 */
    }

    /* 鼠标悬停时轻微抬升，不变色 */
    .nav-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    /* iPhone 底部安全区适配 */
    @supports (padding-bottom: env(safe-area-inset-bottom)) {
      .bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(70px + env(safe-area-inset-bottom));
      }
    }




















/* 移动端：保持相同结构，只缩小间距和整体尺寸 */
@media (max-width: 768px) {
  body {
    padding: 20px 12px;
  }
  
  .promotions {
  width: 294px;
  max-width: 100%;
  height: 90px; 
}
  
.num {
  width: 60%; 
  /* height: 60%;*/
  font-size: 22px;
  margin: 0 auto 0px auto;
}





  .swiper {
    height: auto;
    aspect-ratio: 800 / 384;
    margin-bottom: 20px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  .grid {
    gap: 12px;
  }

  /* 移动端比例保持不变，但可微调如果觉得太扁 */
  .card.large {
    aspect-ratio: 700 / 560;
  }

  .card.small {
    aspect-ratio: 460 / 380;
  }
  

  
  
  
}

/* 分页器 & 箭头 */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ffffff;
}

.swiper-button-next,
.swiper-button-prev {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #ffffff;
}



/*
.promotions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    margin-bottom: .3rem
}


.promotions-num {
     position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 542PX;
    height: 121PX;
    background: url(../promotionsAmount.3373163f.png) no-repeat;
    background-size: 100% 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 9;
    padding-top: 54PX;
    text-align: center
}




.promotions-num .num {
    font-family: DINAlternate-Bold;
    font-size: 44PX;
    color: transparent;
    letter-spacing: 1.59PX;
    text-align: center;
    font-weight: 700;
    -webkit-background-clip: text;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#ffb257),to(#fff));
    background-image: linear-gradient(180deg,#ffb257,#fff)
}*/