/* Reset & base */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background: #000;
  padding-bottom: 60px; /* 给底部导航留空间 */
}

img {
  max-width: 100%;
  display: block;
}

.outer-wrapper {
      width: 100%;
      display: flex;
      justify-content: center;
      position: relative;
    }

    .banner-container {
      width: 100vw; /* 屏幕宽度 */
      aspect-ratio: 7 / 2; /* 高度为宽度的60% */
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      display: flex;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .banner-container::-webkit-scrollbar {
      display: none;
    }

    .banner-slide {
      flex: 0 0 100%;
      scroll-snap-align: start;
      position: relative;
    }

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

    /* 滑动指示器样式 */
    .indicator-wrapper {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
    }

    .indicator {
      width: 10px;
      height: 10px;
      background-color: rgba(255, 255, 255, 0.6);
      border-radius: 50%;
      transition: background-color 0.3s;
    }

    .indicator.active {
      background-color: #FF6B6B; /* 激活状态 */
    }


/* 顶部栏 */
.header {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header h1, .header h2 {
  font-size: 18px;
  margin: 0;
  flex: 1;
  text-align: center;
}

.header.logo-center {
  justify-content: center;
  padding: 0px 0;
}

.logo-big {
  height: 48px;
  margin: 0 auto;
}


.logo {
  height: 30px;
  margin-right: 10px;
}

.logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* 图片和文字间距 */
}

.logo-title img {
  margin-top: 10px;
  height: 30px;
}

.nav-top {
  justify-content: space-between;
}

.nav-btn-title {
  background: none;
  border: none;
  font-size: 18px;
  padding: 5px 10px;
  cursor: pointer;
  color: #fff
}

/* 轮播图 */
.carousel {
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  animation: slide 9s infinite;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
}

/* 按钮样式 */
 .user-info-button {
   background-color: #fac848;
   border-radius: 5px;
   padding: 10px 20px;
   color: white;
   text-align: center;
   cursor: pointer;
   font-size: 14px;
   transition: background-color 0.3s ease;
   margin-bottom: 1px;
 }

  .user-info-vip{
    background-color: #362b31;
    border-radius: 10px;
    padding: 10px 20px;
    margin: 10px 10px 10px 10px;
  }

@keyframes slide {
  0%   { transform: translateX(0%); }
  33%  { transform: translateX(-100%); }
  66%  { transform: translateX(-200%); }
  100% { transform: translateX(0%); }
}

/* 分类 */
.categories {
  display: flex;
  overflow-x: auto;
  padding: 1px;
  background: #fff;
  white-space: nowrap;
}

/*.category {
  padding: 4px 8px;
  background: #eee;
  margin-right: 4px;
  border-radius: 16px;
  flex-shrink: 0;
  font-size: 10px;
}*/

/* 视频列表 */
.video-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
}

.video-card-full {
  grid-column: span 2;
}

.video-card {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  cursor: pointer;
}

/* 新增：文字描述的样式 */
.video-card .description,
.video-card-full .description {
  padding: 10px;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;           /* 保证文字在一行显示 */
  overflow: hidden;              /* 超出部分隐藏 */
  text-overflow: ellipsis;       /* 超出部分显示省略号 */
  background: #000;           /* 背景颜色 */
  border-bottom: 1px solid #ddd; /* 底部边框 */
}

.video-card img {
  width: 100%;
  height: auto;
}

.video-card p {
  margin: 0;
  padding: 5px 10px;
  font-size: 14px;
  color: #fff;
  /* 限制为2行 */
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* 限制显示2行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 图片容器样式 */
.video-card .image-container,
.video-card-full .image-container {
  position: relative;
  width: 100%;
  padding-bottom: 60%; /* 高度为宽度的60% */
  overflow: hidden;
}

.video-card .image-container img,
.video-card-full .image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.description {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  font-size: 14px;
  overflow: hidden;
}

.desc-text {
  flex: 1 1 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desc-more {
  flex-shrink: 0;
  color: #007bff;
  text-decoration: none;
  padding-left: 10px;
  font-size: 13px;
  text-decoration: none;  /* 去除下划线 */
    color: inherit;         /* 继承父元素颜色 */
    cursor: pointer; 
}

/* 加载遮罩 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  font-size: 16px;
  color: #333;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #ddd;
  z-index: 10;
}

.bottom-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
}

.bottom-nav a.active {
  color: #fff;
  font-weight: bold;
}

/* 播放页 */
.player-container {
  width: 100%;
  background: #000;
}

.player-container video {
  width: 100%;
  height: auto;
}

.video-title {
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.recommendation {
  padding: 10px;
}

.recommendation h4 {
  margin-bottom: 10px;
}

/* 社区样式 */
.post-list {
  padding: 10px;
}

.post-card {
  background: #fff;
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
}

.username {
  font-weight: bold;
  font-size: 14px;
}

.post-title {
  font-size: 13px;
  color: #555;
}

.post-content {
  font-size: 14px;
  margin-top: 8px;
  color: #333;
}

.post-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 8px;
}

.post-images img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

/* 我的页面 */
.user-info {
      display: flex;
      align-items: center;
      padding: 16px;
      background: #3b3b3b;
/*      border-bottom: 1px solid #eee;*/
    }

    .user-avatar-wrapper {
      width: 20%;
      display: flex;
      justify-content: center;
    }

    .user-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
    }

    .user-middle {
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding-left: 0px;
    }

    .user-name {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 6px;
      color: #fff;
    }

    .vip-info {
      font-size: 14px;
      color: #ff66aa;
      display: flex;
      align-items: center;
    }

    .vip-info img {
      width: 16px;
      height: 16px;
      margin-left: 5px;
    }

    .user-link {
      width: 20%;
      text-align: right;
      font-size: 14px;
      color: #999;
      padding-right: 10px;
    }

    .user-link a {
      color: #999;
      text-decoration: none;
    }

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

.feature-list {
  background: #fff;
  margin-top: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  cursor: pointer;
}

.feature-item span {
  font-size: 18px;
  margin-right: 12px;
}
.login-container {
  max-width: 300px;
  margin: 100px auto;
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.login-container h2 {
  margin-bottom: 20px;
}

.login-input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.login-button {
  width: 100%;
  padding: 10px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
}

/* 分类容器样式 */
.categories {
  display: flex;
  padding: 10px;
/*  background: linear-gradient(to bottom, #f8c6d2, #fff);*/
  background-color: #000;
  white-space: nowrap;
}

.categorycurrent {
  padding: 2px 10px;
/*  border-radius: 12px;*/
/*  margin-right: 10px;*/
/*  font-size: 18px;*/
  font-weight: bold;
  color: #fff;
/*  background-color: #f5b8c8;*/
  cursor: pointer;
  white-space: nowrap;
}

.category {
  padding: 5px 10px;
/*  border-radius: 12px;*/
/*  margin-right: 10px;*/
  font-size: 14px;
  color: #fff;
/*  background-color: #f5b8c8;*/
  cursor: pointer;
  white-space: nowrap;
}

/* 使分类区域可以左右滑动，仅在手机端 */
@media (max-width: 768px) {
  .categories {
    overflow-x: auto;
    -ms-overflow-style: none;  /* 禁用 IE 滚动条 */
    scrollbar-width: none;  /* 禁用 Firefox 滚动条 */
  }

  .categories::-webkit-scrollbar {
    display: none;  /* 隐藏滚动条 */
  }

  .category:hover {
    opacity: 0.8;
  }
}

/* PC端保持静态显示 */
@media (min-width: 769px) {
  .categories {
    overflow: visible;  /* 禁止左右滑动 */
  }
}


.fullscreen-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .spinner {
            width: 80px;
            height: 80px;
            border: 8px solid rgba(255,255,255,0.1);
            border-radius: 50%;
            border-top-color: #f8c6d2;
            animation: spin 1.2s linear infinite;
            margin-bottom: 24px;
        }
        
        .progress-text {
            color: white;
            font-size: 18px;
            font-family: sans-serif;
            margin-top: 16px;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .content {
            min-height: 200vh;
            padding: 20px;
        }
        
        .load-more {
            padding: 12px 24px;
            background: #4285f4;
            color: white;
            border: none;
            border-radius: 4px;
            margin: 20px auto;
            display: block;
            cursor: pointer;
        }


/* 半透明遮罩 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none; /* 默认隐藏 */
  z-index: 1;
  pointer-events: auto; /* 禁止点击 */
}

/* 提示框 */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 50%;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: none; /* 默认隐藏 */
  z-index: 2;
  border-radius: 8px;
}

/* 内容 */
.modal-content {
  padding: 20px;
  height: 100%;
  overflow: auto;
}

/* 右上角关闭按钮 */
.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
}

.close-btn:hover {
  background-color: darkred;
}

.modalreg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1c1c1c; /* 改为深黑色背景 */
  width: 80%;
  max-width: 300px;
  padding: 20px 15px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* 增加阴影效果，提升质感 */
  display: none;
  z-index: 1001;
}

.modalreg-content img {
  display: block;
  margin: 0 auto 16px;
  width: 100px;
  height: auto;
}

.modalreg .tip-text {
  font-size: 16px;
  color: #fff; /* 字体改为白色 */
  line-height: 1.6;
  margin-bottom: 20px;
}

.modalreg .tip-text .highlight {
  color: #ff6699; /* 粉色高亮 */
  font-weight: bold;
}

.modal-buttons {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.modal-buttons button {
  flex: 1;
  padding: 10px 0;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#registerBtn {
  background-color: #ff6699; /* 粉色按钮 */
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 增加阴影效果 */
}

#registerBtn:hover {
  background-color: #e05a87; /* 悬停颜色变浅 */
}

#cancelBtn {
  background-color: #4d4d4d; /* 深灰色 */
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#cancelBtn:hover {
  background-color: #3c3c3c; /* 悬停颜色变深 */
}


 
     /* 用户钱包区域 */
    .user-info-wallet {
      background-color: #3b3b3b;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      border-radius: 10px;
      margin: 10px 10px 10px 10px;
      padding: 10px;
    }

    /* 左侧区域 */
    .wallet-left {
      display: flex;
      justify-content: space-between;
      width: 65%;  /* 让左侧区域占满所有空间 */
      align-items: flex-start;
      margin-left: 10px;
      margin-top: 20px;
      color: #fff;
    }

    .wallet-left .top {
      margin-top: 5px;
      font-size: 14px;
/*      font-weight: bold;*/
    }

    .wallet-left .bottom {
      font-size: 22px;
      font-weight: bold;
      margin-top: 10px;
    }

    /* 按钮样式 */
    .wallet-button {
      width: 100%;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #fac848;
      padding: 4px 10px;
      border-radius: 25px;
      margin-left: 10px;
      margin-right: 10px;
      cursor: pointer;
    }

    .wallet-button img {
      width: 100%;
      height: 18px;
      margin-right: 10px;
    }

    .wallet-button:hover {
      background-color: #f2a900;
    }

    .wallet-button-text {
      font-size: 20px;
      color: white;
    }

    /* 右侧区域保持原样 */
    .wallet-right {
      margin-left: 20px;
      width: 30%; /* 确保父div占满空间 */
      height: 100%; /* 确保高度占满父div */
    }

    .wallet-right .top {
      font-size: 18px;
      font-weight: bold;
    }

    .wallet-right .bottom {
      font-size: 24px;
      font-weight: bold;
      margin-top: 10px;
    }

    .wallet-right img {
      width: 100%;  /* 充满父div的宽度 */
      height: 100%; /* 充满父div的高度 */
      object-fit: cover; /* 保持图片的比例并填满容器 */
      border-radius: 8px; /* 可以添加圆角 */
    }

        /* 功能卡样式 */
    .feature-card {
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* 四列布局 */
      gap: 10px; /* 每个格子之间的间隔 */
      width: 90%; /* 让卡片占满宽度 */
      height: 100%; /* 设置固定高度 */
      background-color: #3b3b3b;
      border-radius: 8px; /* 圆角 */
      padding: 10px;
      margin-left: 10px;
      margin-right: 10px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 阴影 */
    }

    /* 每个格子的样式 */
    .feature-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      background-color: #000;
      border-radius: 8px; /* 圆角 */
      padding: 10px;
/*      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 阴影 */*/
    }

    /* 图标样式 */
    .feature-item img {
      width: 40px;
      height: 40px;
      margin-bottom: 10px;
    }

    /* 文字样式 */
    .feature-item .feature-text {
      font-size: 14px;
      color: #fff;
    }


 /* 退出登录按钮样式 */
    .logout-btn {
      display: block;
      width: 96%;
      margin: 10px auto; /* 左右居中 */
      padding: 10px 20px;
      background-color: #ff6b6b;
      color: white;
      font-size: 16px;
      border: none;
      border-radius: 25px; /* 圆角 */
      text-align: center;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    /* 退出登录按钮的悬浮效果 */
    .logout-btn:hover {
      background-color: #e05d5d;
    }


     /* 容器样式 */
    .ad-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* 4列布局 */
      gap: 10px;
      width: calc(100% - 20px); /* 左右边距10px */
      height: 100%; /* 使容器充满父元素高度 */
      margin: 0 10px; /* 左右边距10px */
      margin-top: 10px;
    }

    /* 每个广告块样式 */
    .ad-item {
      position: relative;
      background-color: #f1f1f1;
      overflow: hidden;
      border-radius: 8px;
      aspect-ratio: 1 / 1; /* 保证广告块为正方形 */
    }

    /* 图片样式，使图片填充整个父div */
    .ad-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* 广告文字，右下角显示 */
    .ad-text {
      position: absolute;
      bottom: 0px;
      right: 10px;
      font-size: 8px;
      color: white;
      background-color: rgba(0, 0, 0, 0.6); /* 半透明背景 */
      padding: 5px 10px;
      border-radius: 5px;
    }

 /* 半透明遮罩样式 */
 #video-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: auto;
     background: rgba(0, 0, 0, 0.5); /* 半透明遮罩 */
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 10; /* 确保遮罩位于视频上方 */
 }
 
 .video-buttons {
     text-align: center;
 }

 .video-register-btn {
     background-color: #ff66aa;
     color: white;
     padding: 10px 30px;
     border-radius: 25px;
     cursor: pointer;
     font-size: 16px;
 }

 .video-info-text {
     color: white;
     font-size: 16px;
 }

 .install-tip {
      display: none;
      position: fixed;
      bottom: 20px;
      left: 10px;
      right: 10px;
      background: #fff8dc;
      color: #333;
      padding: 14px;
      font-size: 14px;
      border: 1px solid #ffeeba;
      border-radius: 6px;
      text-align: center;
      z-index: 9999;
      box-shadow: 0 0 8px rgba(0,0,0,0.1);
    }
    .install-tip span {
      color: #007bff;
      cursor: pointer;
      margin-left: 15px;
    }
    .install-tip img {
      vertical-align: middle;
      height: 18px;
    }
.overlay-bk {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none; /* 默认隐藏 */
  z-index: 1;
  pointer-events: auto; /* 禁止点击 */
}

.modal-bk {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: none; /* 默认隐藏 */
  border-radius: 8px;
  z-index: 9999;
  overflow: hidden;
}

/* 内容 */
.modal-content-bk {
  padding: 20px;
  height: 100%;
  overflow: auto;
}
.modal-content-bk img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  z-index: 2;
}
/* 右上角关闭按钮 */
.close-btn-bk {
/*  position: absolute;*/
position: fixed;
  top: calc(50% - 40vh - 15px); /* 提示框上边缘往上 15px */
  left: calc(50% + 40vw - 15px); /* 提示框右边缘往右 15px */
  width: 30px;
  height: 30px;
  background-color: red;
  color: white;
  border: none;
  display: none; /* 默认隐藏 */
  border-radius: 50%;
  font-size: 18px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  z-index: 10001;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.appheader {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      background-color: #000;
      height: 50px;
      padding: 0 0px;
    }

    .appheader .left,
    .appheader .right {
      width: 80px;
      position: absolute;
      top: 0;
      bottom: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 16px;
      cursor: pointer;
    }

    .appheader .left {
      left: 10px;
    }

    .appheader .right {
      right: 10px;
    }

    .appheader .logo {
      text-align: center;
      pointer-events: none; /* 防止点击 */
    }

    .appheader .logo img {
      height: 30px;
      vertical-align: middle;
    }


    /* 顶部 header */
    .appheader-search {
      display: flex;
      align-items: center;
      background-color: #000;
      height: 50px;
      padding: 0 10px;
    }

    .appheader-search .left-logo {
      flex: 0 0 35%;
      display: flex;
      align-items: center;
    }

    .appheader-search .left-logo img {
      height: 30px;
    }

    .appheader-search .search-container {
      flex: 0 0 45%;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding-left: 0px;
/*      padding-right: 20px;*/
    }

    .appheader .right-button {
      flex: 0 0 20%;
      display: flex;
      align-items: center;
    }

.button-container-index-more {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
    }

    .button-index-more {
      width: 48%;
      padding: 10px 16px;
      border: none;
      border-radius: 5px;
      color: #fff;
      font-size: 16px;
      background: linear-gradient(45deg, #fbd786, #f7797d);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
    }

    .button-index-header {
      width: 100%;
/*      height: 100%;*/
      padding: 5px 5px;
      margin-left: 20px;
      border: none;
      border-radius: 5px;
      color: #fff;
      font-size: 8px;
      background: linear-gradient(45deg, #fbd786, #f7797d);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
    }

    .button-index-more-left {
      background-image: linear-gradient(-267deg, #ff483c -26%, #ff733d 46%, #c550ff 115%);
    }

    .button-index-more-right {
      background-image: linear-gradient(-267deg, #ff483c -26%, #ff733d 46%, #c550ff 115%);
    }

    .button-index-more img {
      width: 10px;
      height: 10px;
      display: block;
    }
    
    .search-box {
      display: flex;
      align-items: center;
      background-color: #3a3a3a;
      border-radius: 20px;
      padding: 6px 12px;
      width: 100%;
    }

    .search-box img {
      width: 16px;
      height: 16px;
      margin-right: 8px;
    }

    .search-box span {
      color: #fff;
      font-size: 14px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .header-title {
      position: absolute;
      left: 0;
      right: 0;
      text-align: center;
      font-size: 18px;
      font-weight: bold;
      color: #fff;
    }

    .header-right {
      width: 50px; /* 占位用，可留空 */
    }

    .back-btn {
      width: 50px;
      text-align: left;
      color: #fff;
      font-size: 16px;
      cursor: pointer;
    }
    .back-btn img{
      margin-top: 10px;
      width: 40%;
      height: 90%;
    }
  /* 顶部 header 样式 */
    .page-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 50px;
      background-color: #000;
/*      border-bottom: 1px solid #e0e0e0;*/
      padding: 0 10px;
      position: relative;
    }


.iframe-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9宽高比 */
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pay-container {
  position: fixed;
  bottom: -100%; /* 初始在屏幕下方 */
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e1e1e;
  padding: 40px 30px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 400px;
  transition: bottom 0.4s ease;
  z-index: 1000;
}
.pay-container.show {
  bottom: 0; /* 动画显示 */
}

    .pay-close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px; /* 加大字体 */
      font-weight: bold; /* 加粗字体 */
      color: #fff;
      cursor: pointer;
    }

    .pay-close-btn:hover {
      color: #fff;
    }

    .pay-product-name {
      text-align: center;
      color: #fff;
      font-size: 24px;
      margin-bottom: 20px;
      justify-content: center; /* 水平居中 */
      align-items: center;
    }

    .pay-amount {
      font-size: 36px;
      font-weight: bold;
      color: #ff5252;
      margin-bottom: 30px;
      text-align: center;
    }

    .pay-methods {
      display: flex;
      justify-content: space-around;
      margin-bottom: 40px;
    }

    .pay-method {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      padding: 10px;
      border: 2px solid transparent;
      border-radius: 10px;
      transition: all 0.3s ease;
    }

    .pay-method img {
      width: 40px;
      height: 40px;
      margin-bottom: 8px;
    }

    .pay-method span {
      font-size: 14px;
      color: #ccc;
    }

    .pay-method.active {
      border-color: #2196f3;
      background-color: #263238;
    }

    .pay-btn {
      padding: 12px 30px;
      font-size: 16px;
      background-color: #2196f3;
      color: #fff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      width: 100%;
    }

    .pay-btn:hover {
      background-color: #1976d2;
    }