/* ============================================================
   GamePP Banner Component v1.0
   专为 gamepp.com 多语言页面设计
   适配 100px rem 基准，兼容 12 种语言
   ============================================================ */

/* ---------- 容器 ---------- */
.gamepp-banner-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 20px auto;
  font-family: 'Plus Jakarta Sans', 'PingFang SC', 'Microsoft YaHei', 
               -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gamepp-banner {
  width: 100%;
  aspect-ratio: 7 / 1;
  background: linear-gradient(145deg, #0b111f, #1a2540);
  border-radius: 0.24rem;      /* 24px / 100px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.20rem 0.30rem;    /* 20px 30px */
  box-sizing: border-box;
  color: #ffffff;
  box-shadow: 0 0.20rem 0.50rem rgba(0, 0, 0, 0.8);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gamepp-banner-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.06rem;               /* 6px */
}

/* ---------- 标题（呼吸动画） ---------- */
.gamepp-banner-title {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(0.18rem, 3.4vw, 0.46rem);
  letter-spacing: 0.015rem;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 
    0 0 0.20rem rgba(100, 200, 255, 0.1),
    0 0 0.60rem rgba(100, 200, 255, 0.05);
  display: inline-block;
  animation: gameppBreath 5s ease-in-out infinite;
  text-transform: uppercase;
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
}

@keyframes gameppBreath {
  0%   { transform: scale(1) translateY(0); }
  50%  { transform: scale(1.04) translateY(-0.04rem); }
  100% { transform: scale(1) translateY(0); }
}

/* ---------- 功能标签 ---------- */
.gamepp-banner-features {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(0.13rem, 1.5vw, 0.22rem);
  color: #aac2f0;
  letter-spacing: 0.005rem;
  padding: 0.02rem 0;
  flex-wrap: wrap;
  gap: 0.04rem 0.16rem;
}
.gamepp-banner-features span {
  white-space: nowrap;
}

/* ---------- 按钮 ---------- */
.gamepp-banner-btn {
  font-family: inherit;
  font-weight: 700;
  background: linear-gradient(135deg, #f7c948, #f5a623);
  padding: 0.06rem 0.42rem;
  border-radius: 0.60rem;
  font-size: clamp(0.13rem, 1.3vw, 0.20rem);
  color: #0a0e17;
  cursor: pointer;
  box-shadow: 0 0.06rem 0.28rem rgba(247, 201, 72, 0.35);
  line-height: 1.4;
  letter-spacing: 0.012rem;
  white-space: nowrap;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}
.gamepp-banner-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0.08rem 0.36rem rgba(247, 201, 72, 0.5);
}

/* ---------- 阿拉伯语（RTL）适配 ---------- */
.gamepp-banner[dir="rtl"] .gamepp-banner-title,
.gamepp-banner[dir="rtl"] .gamepp-banner-features,
.gamepp-banner[dir="rtl"] .gamepp-banner-btn {
  letter-spacing: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 600px) {
  .gamepp-banner { padding: 0.14rem 0.16rem; border-radius: 0.14rem; }
  .gamepp-banner-title { font-size: clamp(0.14rem, 3.2vw, 0.22rem); letter-spacing: 0.01rem; }
  .gamepp-banner-features { font-size: clamp(0.10rem, 2.2vw, 0.15rem); gap: 0.02rem 0.10rem; }
  .gamepp-banner-btn { font-size: clamp(0.10rem, 2.2vw, 0.15rem); padding: 0.04rem 0.20rem; }
  .gamepp-banner-content { gap: 0.04rem; }
}

@media (max-width: 380px) {
  .gamepp-banner { padding: 0.08rem 0.10rem; }
  .gamepp-banner-title { font-size: 0.11rem; letter-spacing: 0.005rem; }
  .gamepp-banner-features { font-size: 0.09rem; gap: 0.02rem 0.06rem; }
  .gamepp-banner-features span { white-space: normal; }
  .gamepp-banner-btn { font-size: 0.09rem; padding: 0.03rem 0.12rem; letter-spacing: 0.005rem; }
}

/* ============================================================
   左右结构 (Horizontal) - 防溢出强制优化
   ============================================================ */

/* 水平容器 - 宽度占满，内边距极小 */
.gamepp-banner-horizontal {
  flex-direction: row !important;
  justify-content: space-between;
  align-items: center;
  padding: 0.10rem 0.12rem !important;  /* 内边距极小化 */
  gap: 0.08rem;
  width: 100%;
  box-sizing: border-box;
}

/* 左侧文字区域 - 允许收缩 */
.gamepp-banner-horizontal .banner-left {
  flex: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.01rem;
  min-width: 0;          /* 防止溢出 */
  max-width: 100%;
}

/* 右侧按钮区域 - 收缩 */
.gamepp-banner-horizontal .banner-right {
  flex: 0 0 auto;        /* 不放大，只占用必要宽度 */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

/* 标题 - 大幅缩小，强制换行 */
.gamepp-banner-horizontal .gamepp-banner-title {
  font-size: clamp(0.12rem, 1.4vw, 0.20rem) !important;  /* 最大20px，最小12px */
  letter-spacing: 0.002rem;
  text-transform: uppercase;
  margin-bottom: 0;
  word-break: break-word;
  max-width: 100%;
  line-height: 1.2;
}

/* 标签列表 - 允许换行，字体极小 */
.gamepp-banner-horizontal .gamepp-banner-features {
  justify-content: flex-start;
  gap: 0.02rem 0.08rem;
  font-size: clamp(0.08rem, 0.8vw, 0.12rem) !important;  /* 最大12px，最小8px */
  flex-wrap: wrap;
  max-width: 100%;
}

.gamepp-banner-horizontal .gamepp-banner-features span {
  white-space: normal !important;   /* 强制换行 */
  word-break: break-word;
  line-height: 1.3;
}

/* 按钮 - 极小，且内边距缩小 */
.gamepp-banner-horizontal .gamepp-banner-btn {
  font-size: clamp(0.09rem, 0.9vw, 0.13rem) !important;  /* 最大13px，最小9px */
  padding: 0.04rem 0.18rem !important;
  white-space: nowrap;
  letter-spacing: 0.003rem;
  line-height: 1.4;
  border-width: 1.5px;
}

/* 响应式：针对更窄屏幕进一步压缩 */
@media (max-width: 600px) {
  .gamepp-banner-horizontal {
    flex-direction: column !important;
    align-items: stretch;
    gap: 0.06rem;
    padding: 0.08rem 0.10rem !important;
  }
  .gamepp-banner-horizontal .banner-left {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .gamepp-banner-horizontal .gamepp-banner-features {
    justify-content: center;
  }
  .gamepp-banner-horizontal .banner-right {
    justify-content: center;
    width: 100%;
  }
  .gamepp-banner-horizontal .gamepp-banner-btn {
    padding: 0.04rem 0.30rem;
    font-size: clamp(0.10rem, 2vw, 0.14rem) !important;
  }
}

/* 极窄屏（手机）再压缩 */
@media (max-width: 380px) {
  .gamepp-banner-horizontal .gamepp-banner-title {
    font-size: clamp(0.10rem, 2.5vw, 0.16rem) !important;
  }
  .gamepp-banner-horizontal .gamepp-banner-features {
    font-size: clamp(0.07rem, 2vw, 0.10rem) !important;
  }
  .gamepp-banner-horizontal .gamepp-banner-btn {
    font-size: clamp(0.08rem, 2vw, 0.11rem) !important;
    padding: 0.03rem 0.15rem !important;
  }
}

/* ---------- 响应式：宽度不足时转为上下排列 ---------- */
@media (max-width: 768px) {
  .gamepp-banner-horizontal {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 0.10rem;
  }
  .gamepp-banner-horizontal .banner-left {
    align-items: center;
    text-align: center;
  }
  .gamepp-banner-horizontal .gamepp-banner-features {
    justify-content: center;
  }
  .gamepp-banner-horizontal .banner-right {
    width: 100%;
  }
}
/* ============================================================
   修复左右结构Banner与FAQ内容重叠
   ============================================================ */
.gamepp-banner-wrapper-horizontal {
    margin-top: 2rem;            /* 加大上边距，避免重叠 */
    clear: both;
    display: block;
}

/* 如果在小屏幕上也需要调整 */
@media (max-width: 768px) {
    .gamepp-banner-wrapper-horizontal {
        margin-top: 1.2rem;
    }
}
/* ============================================================
   Banner 2 (左右结构) 独立样式 - NeoCell 风格
   ============================================================ */

/* ---------- Banner 2 容器 ---------- */
.gamepp-banner-wrapper-horizontal {
    margin-top: 1rem;
    clear: both;
    display: block;
}

/* ---------- Banner 2 主体 ---------- */
.gamepp-banner-horizontal {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    padding: 0.20rem 0.35rem;
    gap: 0.20rem;
    /* NeoCell 风格配色 */
    background: linear-gradient(145deg, #FAFAFA, #EDEDED) !important;
    border-radius: 0.24rem;
    border: 1px solid rgba(53, 172, 255, 0.15);
    box-shadow: 0 0.06rem 0.20rem rgba(27, 157, 247, 0.08);
    min-height: 1.2rem;
}

/* ---------- 左侧文字区域 ---------- */
.gamepp-banner-horizontal .banner-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.04rem;
}

/* ---------- 右侧按钮区域 ---------- */
.gamepp-banner-horizontal .banner-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* ---------- Banner 2 标题 ---------- */
.gamepp-banner-horizontal .gamepp-banner-title {
    font-family: inherit;
    font-weight: 800;
    font-size: clamp(0.16rem, 2.6vw, 0.34rem);
    letter-spacing: 0.01rem;
    line-height: 1.2;
    /* NeoCell 渐变文字 */
    background: linear-gradient(74deg, #1B9DF7 20%, #70DEFF 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* 移除原白色文字的阴影 */
    text-shadow: none;
    text-transform: uppercase;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    /* 呼吸动画保留但减弱幅度 */
    animation: gameppBreathLight 5s ease-in-out infinite;
}

/* Banner 2 标题 - 柔和呼吸（幅度更小） */
@keyframes gameppBreathLight {
    0%   { transform: scale(1) translateY(0); }
    50%  { transform: scale(1.02) translateY(-0.02rem); }
    100% { transform: scale(1) translateY(0); }
}

/* ---------- Banner 2 功能标签 ---------- */
.gamepp-banner-horizontal .gamepp-banner-features {
    display: flex;
    justify-content: flex-start;
    gap: 0.10rem 0.25rem;
    flex-wrap: wrap;
    font-family: inherit;
    font-weight: 500;
    font-size: clamp(0.11rem, 1.2vw, 0.17rem);
    color: #474747;
    letter-spacing: 0.005rem;
    padding: 0.02rem 0;
}

.gamepp-banner-horizontal .gamepp-banner-features span {
    white-space: nowrap;
    position: relative;
    padding-left: 0.18rem;
}

/* 标签前面的装饰圆点 - NeoCell 风格 */
.gamepp-banner-horizontal .gamepp-banner-features span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.08rem;
    height: 0.08rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B9DF7, #70DEFF);
    box-shadow: 0 0 0.06rem rgba(27, 157, 247, 0.3);
}

/* ---------- Banner 2 按钮 ---------- */
.gamepp-banner-horizontal .gamepp-banner-btn {
    font-family: inherit;
    font-weight: 700;
    /* NeoCell 按钮样式 - 白底蓝字 + 蓝边框 */
    background: #FFFFFF;
    color: #35ACFF;
    padding: 0.08rem 0.40rem;
    border-radius: 0.50rem;
    font-size: clamp(0.13rem, 1.3vw, 0.19rem);
    border: 2px solid #35ACFF;
    box-shadow: 0 0.04rem 0.12rem rgba(53, 172, 255, 0.15);
    line-height: 1.4;
    letter-spacing: 0.01rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.gamepp-banner-horizontal .gamepp-banner-btn:hover {
    background: linear-gradient(63deg, #1B9DF7 0%, #70DEFF 94%);
    color: #FFFFFF !important;
    border-color: #1B9DF7;
    box-shadow: 0 0.06rem 0.20rem rgba(27, 157, 247, 0.3);
    transform: scale(1.02);
}

/* ---------- Banner 2 的响应式 ---------- */
@media (max-width: 768px) {
    .gamepp-banner-horizontal {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        gap: 0.12rem;
        padding: 0.20rem 0.20rem;
        min-height: auto;
    }
    .gamepp-banner-horizontal .banner-left {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .gamepp-banner-horizontal .gamepp-banner-features {
        justify-content: center;
    }
    .gamepp-banner-horizontal .gamepp-banner-features span::before {
        display: none;
    }
    .gamepp-banner-horizontal .banner-right {
        width: 100%;
        justify-content: center;
    }
    .gamepp-banner-horizontal .gamepp-banner-btn {
        padding: 0.08rem 0.50rem;
        font-size: clamp(0.14rem, 2.5vw, 0.18rem);
    }
    .gamepp-banner-wrapper-horizontal {
        margin-top: 1.2rem;
    }
}

@media (max-width: 380px) {
    .gamepp-banner-horizontal .gamepp-banner-title {
        font-size: 0.14rem;
    }
    .gamepp-banner-horizontal .gamepp-banner-features {
        font-size: 0.10rem;
        gap: 0.04rem 0.12rem;
    }
    .gamepp-banner-horizontal .gamepp-banner-features span {
        white-space: normal;
    }
    .gamepp-banner-horizontal .gamepp-banner-btn {
        font-size: 0.11rem;
        padding: 0.06rem 0.30rem;
    }
}