    :root {
      --bg-main: #150027;
      --bg-card: #310061;
      --bg-card-deep: #26004a;
      --accent-1: #00f6ff;
      --accent-2: #7b54ff;
      --accent-3: #ff44c8;
      --text-main: #ffffff;
      --text-muted: #c4b5fd;
      --chip-bg: rgba(255, 255, 255, 0.12);
      --radius-lg: 16px;
      --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.55);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
        system-ui, sans-serif;
      background: radial-gradient(circle at top, #3b0099 0, #150027 45%, #050011 100%);
      color: var(--text-main);
      min-height: 100vh;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

    /* 布局骨架 -------------------------------------------------- */

    .site {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
    /* .container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../assets/bg.jpg) no-repeat center / cover;
    background-size: 100% auto;
    opacity: 0.5; 
    z-index: -1;
    } */
    .site-main {
      flex: 1;
    }

    .container {
      width: 100%;
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 14px;
    }

    /* 顶部导航（移动优先） ------------------------------------- */

    .header {
      position: fixed;
      inset: 0 0 auto 0;
      height: 52px;
      z-index: 100;
      background: linear-gradient(
        90deg,
        rgba(14, 0, 40, 0.96),
        rgba(40, 0, 88, 0.96)
      );
      backdrop-filter: blur(18px);
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    }

    .header-inner {
      max-width: 1120px;
      margin: 0 auto;
      height: 100%;
      padding: 0 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo img {
      height: 36px;
    }

    .logo-text {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.04em;
    }

    .nav-toggle {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: rgba(255, 255, 255, 0.06);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
      position: relative;
      width: 16px;
      height: 2px;
      border-radius: 999px;
      background: #ffffff;
      display: block;
      transition: 0.25s ease;
    }

    .nav-toggle span::before,
    .nav-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
    }

    .nav-toggle span::before {
      top: -5px;
    }
    .nav-toggle span::after {
      top: 5px;
    }

    .nav-toggle.is-open span {
      background: transparent;
    }
    .nav-toggle.is-open span::before {
      top: 0;
      transform: rotate(45deg);
    }
    .nav-toggle.is-open span::after {
      top: 0;
      transform: rotate(-45deg);
    }

    .nav-menu {
      position: fixed;
      inset: 52px 0 auto 0;
      background: rgba(6, 0, 20, 0.98);
      backdrop-filter: blur(18px);
      transform: translateY(-110%);
      opacity: 0;
      pointer-events: none;
      transition: 0.25s ease;
      z-index: 90;
    }

    .nav-menu.is-open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .nav-menu-inner {
      max-width: 1120px;
      margin: 0 auto;
      padding: 10px 14px 12px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .nav-link {
      font-size: 13px;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      white-space: nowrap;
    }

    .nav-link.primary {
      background: linear-gradient(
        90deg,
        var(--accent-2),
        var(--accent-3)
      );
      border: none;
      border-radius: 4px;
      font-weight: bold;
    }
    /* Hero 区 --------------------------------------------------- */

    .hero {
      position: relative;
      padding-top: 52px; /* 避开固定导航 */
      background:
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0) 42%),
        linear-gradient(145deg, #6d00ff 0, #ff3cc7 45%, #ffb300 90%);
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      /*background: url("assets/hero-bg.jpg") center/cover no-repeat;*/
      mix-blend-mode: soft-light;
      opacity: 0.9;
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      padding: 26px 14px 30px;
      max-width: 1120px;
      margin: 0 auto;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 3px 10px;
      border-radius: 999px;
      background: rgba(14, 0, 40, 0.24);
      border: 1px solid rgba(255, 255, 255, 0.22);
      font-size: 11px;
      margin-bottom: 10px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.25;
        font-size: 28px; /* 按你页面需要调 */
        font-weight: 800;
        background:linear-gradient(to right, #e2ffea, #82ff7c, #fcbdff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;        /* 文字透明，露出背景 */
        /* 防止有些浏览器裁剪异常时可加： */
        display: block;
    }

    .hero-sub {
      font-size: 13px;
      line-height: 1.6;
      margin-top: 10px;
      max-width: 420px;
    }

    .hero-cta-row {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .btn-gradient {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 18px;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 600;
        background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
        border: 1px solid #983698;
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 14px;
      border-radius: 999px;
      font-size: 15px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      background: rgba(6, 0, 30, 0.4);
    }

    /* 通用标题 & 区块 ------------------------------------------- */

    .section {
      padding: 22px 0 4px;
    }

    .section-head {
      margin-bottom: 10px;
    }

    .section-tag-en {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .section-title {
      font-size: 18px;
      font-weight: 700;
    }

    /* 游戏卡片网格（移动：2列） ------------------------------- */

    .game-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 12px;
    }

    .game-card {
      background: radial-gradient(circle at top, #4d14a8 0, #26004a 50%, #1a0035 100%);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .game-thumb {
      position: relative;
      overflow: hidden;
      /* aspect-ratio: 4 / 3; */
    }

    .game-thumb img {
      width: 100%;
      height: 100%;
      max-height: 150px;
      object-fit: cover;
      transform: scale(1.03);
      transition: transform 0.25s ease;
    }

    .game-card:hover .game-thumb img {
      transform: scale(1.06);
    }

    .game-body {
      padding: 8px 8px 9px;
      font-size: 11px;
    }

    .game-name {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 3px;
    }

    .game-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 4px;
      margin-bottom: 6px;
      color: var(--text-muted);
    }

    .game-meta span {
      white-space: nowrap;
    }

.game-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 4px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
    color: #fff;
    text-decoration: none;
    cursor: pointer;

    position: relative;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
/* 按钮上的高光条，用来做滑动闪光效果 */
.game-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, .45),
        rgba(255, 255, 255, 0)
    );
    transform: skewX(-20deg);
}
.btn-play2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    border-radius: 999px;
    width: 18px;
    color: #fff;
    height: 18px;
    font-weight: 700;
    text-decoration: none;
    margin-left: 6px;
    background: #15002759;
    border: 1px solid #ffffff5c;
}

.btn-play2::after {
    content: "";
    margin-left: 8px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

/* 鼠标滑上按钮：整体轻微上移 + 发光一点 */
.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.7);
    filter: brightness(1.05);
}

/* 鼠标滑上按钮：高光从左滑到右 */
.game-btn:hover::before {
    animation: btn-shine .55s ease-out;
}

/* 鼠标滑上按钮：右侧小圆箭头稍微向右动，背景变亮一点 */
.game-btn:hover .btn-play2 {
    margin-left: 13px;
}

/* 高光条动画 */
@keyframes btn-shine {
    0% {
        left: -120%;
    }
    100% {
        left: 140%;
    }
}
    /* 广告Banner ------------------------------------------------ */

    .banner-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      margin: 16px 0;
    }

    .banner-item {
      border-radius: 14px;
      overflow: hidden;
      box-shadow: var(--shadow-soft);
      background: #000;
    }

    .banner-item img {
      width: 100%;
      height: auto;
      display: block;
    }

    .banner-full {
      margin: 10px 0 18px;
    }

    /* “高RTP倍率”等标题上方小标签 ---------------------------- */

    .label-chip {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        font-size: 14px;
        margin-bottom: 3px;
        color: #a5b4fc;
    }

    /* 新手礼包区域 --------------------------------------------- */

    .gift-section {
      margin-top: 32px;
      margin-bottom: 12px;
    }

    .gift-card {
      position: relative;
      border-radius: 20px;
      background: radial-gradient(circle at top, #ffb300 0, #e03e2d 45%, #5d00b0 100%);
      overflow: hidden;
      box-shadow: var(--shadow-soft);
      padding: 16px 14px 12px;
      display: flex;
      align-items: flex-end;
      gap: 10px;
    }

    .gift-illustration {
      width: 48%;
      min-width: 0;
    }

    .gift-illustration img {
      width: 100%;
      height: auto;
    }

    .gift-copy {
      flex: 1;
      min-width: 0;
    }

    .gift-tag {
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .gift-title {
      font-size: 17px;
      font-weight: 700;
      line-height: 1.4;
    }

    .gift-amount {
      margin-top: 6px;
      font-size: 22px;
      font-weight: 800;
      color: #00f7ff;
      text-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    }

    .gift-cta {
      margin-top: 10px;
    }

    .gift-cta .btn-gradient {
      padding-inline: 16px;
      font-size: 12px;
    }

    /* 底部推荐游戏 & 底部小Banner ------------------------------ */

    .sub-section-title {
      font-size: 14px;
      margin: 16px 0 8px;
      color: var(--text-muted);
    }

    .game-grid.small {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .bottom-banner {
      margin: 10px 0 4px;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: var(--shadow-soft);
    }

    /* 页脚 ------------------------------------------------------ */

    .footer {
      border-top: 1px solid rgba(148, 163, 184, 0.25);
      font-size: 11px;
      color: #9ca3af;
      text-align: center;
      padding: 18px 14px 22px;
      background: radial-gradient(circle at top, #1f2937 0, #020014 60%);
    }

    .footer small {
      display: block;
      margin-bottom: 4px;
    }

    /* 响应式：中等屏幕（平板 / 小PC） ------------------------- */

    @media (min-width: 768px) {
      .gift-tag{
        font-size: 22px;
      }
      .gift-illustration img{
        max-width: 300px;
      }
      .header {
        height: 60px;
      }
      .header-inner {
        padding-inline: 20px;
      }
      .hero {
        padding-top: 60px;
      }
      .hero-inner {
        padding: 40px 20px 46px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
      }
      .hero-title {
        font-size: 40px;
      }
      .hero-sub {
        font-size: 14px;
      }

      .hero-art {
        display: block;
        width: 40%;
        min-width: 260px;
        max-width: 360px;
      }

      .hero-art img {
        width: 100%;
        height: auto;
        display: block;
        filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.7));
      }

      .game-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
      }

      .banner-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .gift-card {
        padding: 22px 26px 18px;
        flex-direction: row-reverse;
        align-items: center;
      }

      .gift-illustration {
        width: 40%;
      }

      .gift-title {
        font-size: 20px;
      }

      .gift-amount {
        font-size: 26px;
      }
    }

    /* 响应式：大屏（桌面） ------------------------------------- */

    @media (min-width: 1024px) {
      .header-inner {
        padding-inline: 0;
      }

      .nav-toggle {
        display: none;
      }

      .nav-menu {
        position: static;
        background: transparent;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        height: auto;
      }

      .nav-menu-inner {
        justify-content: flex-end;
        padding: 0;
      }

      .hero-inner {
        padding-block: 56px 64px;
      }

      .hero-title {
        font-size: 50px;
      }

      .hero-sub {
        font-size: 15px;
      }

      .game-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .game-grid.small {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .gift-card {
        margin-top: 10px;
      }
    }
 /* 默认：PC 端隐藏 */
.downapp {
  display: none;
}

/* 移动端（比如宽度 ≤ 768px）显示 */
@media (max-width: 768px) {
  .downapp {
    display: block;   /* 如果原来是 flex 就写 flex */
  }
}
