@media (max-width: 1024px) {
  body {
    background: #000;
  }

  .home-banner {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    overflow: hidden;
    position: relative;
  }

  .home-banner .swiper-container {
    width: 100%;
    height: auto !important;
    max-height: none !important;
  }

  .home-banner .swiper-wrapper {
    height: auto !important;
  }

  .home-banner .swiper-slide {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .home-banner a {
    display: block;
    text-align: center;
    background: #000;
    width: 100%;
    height: 200px !important;
    padding-bottom: 31.25% !important;
    max-height: none !important;
    position: relative;
    overflow: hidden;
  }

  .home-banner a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-fit: fill;
    transition: transform 0.3s ease;
  }
  .home-banner a img.banner_pc_img {
    display: none;
  }
  .home-banner a img.banner_m_img {
    display: block;
  }
  .home-banner .swiper-button-next,
  .home-banner .swiper-button-prev {
    display: none !important;
  }

  .home-menu {
    display: none;
  }

  .home-banner .swiper-container-horizontal > .swiper-pagination-bullets,
  .home-banner .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 15px;
  }

  .home-banner .swiper-pagination-bullet {
    height: 9px;
    width: 9px;
  }

  .home-vip .vip-coupon li {
    width: 100%;
  }

  .quick-nav {
    background: #191c60;
    display: block !important;
  }

  .header-padding-nav {
    padding-top: 20px;
  }

  .quick-nav ul {
    display: flex;
  }

  .quick-nav ul li i {
    width: 19px;
    height: 19px;
  }

  .quick-nav ul li.live-chat-button i {
    background-image: url("/static/web/image/head_icon/icon_live.svg");
    background-size: cover;
    background-position: center;
  }

  .quick-nav ul li.affiliate i {
    background-image: url("/static/web/image/head_icon/icon_affiliate.svg");
    background-size: cover;
    background-position: center;
  }

  .quick-nav ul li.contactusd i {
    background-image: url("/static/web/image/head_icon/icon_us.svg");
    background-size: cover;
    background-position: center;
  }

  .quick-nav ul li.sell i {
    background-image: url("/static/web/image/head_icon/icon_sell.svg");
    background-size: cover;
    background-position: center;
  }

  .quick-nav ul li {
    width: 50%;
    border-right: 1px solid #22256b;
  }

  .quick-nav ul li a {
    display: block;
    padding: 15px 0;
    text-align: center;
  }

  .quick-nav ul li:last-child {
    border: none;
  }

  .quick-nav ul li a p {
    color: #3b93c1;
    font-size: 12px;
    font-family: "Oswald";
    margin-top: 1px;
  }

  .top_ups,
  .gift_cards {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .top_ups .top_ups_btn,
  .gift_cards .gift_cards_btn {
    margin-right: 15px;
  }

  .top_ups h2,
  .gift_cards h2 {
    font-size: 20px;
    margin-left: 10px;
    font-family: "oswald";
  }

  .gift_cards .top_up_container .top_up_list li a {
    padding: 0;
  }

  .gift_cards .top_up_container .top_up_list {
    padding: 0 10px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 40px;
    grid-gap: 9px;
  }

  .top_up_container .top_up_list {
    padding: 0 10px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 40px;
    grid-gap: 9px;
  }

  .top_up_container .top_up_list li .top_name {
    font-size: 11px;
    line-height: inherit;
    margin: 10px 0 5px;
    padding: 5px 0;
  }

  .top_up_container .top_up_list li,
  .top_up_container .top_up_list li:nth-child(-n + 6) {
    display: none;
  }

  .top_up_container .top_up_list li:nth-child(-n + 4) {
    display: block;
  }

  .top_up_container .top_up_list li img {
    height: auto;
    margin: 0;
    border-radius: 10px;
  }

  .top_up_container .top_up_list li:hover img {
    transform: scale(1);
  }

  .mobile-home-menu {
    padding: 10px;
    display: block;
  }

  .mobile-home-menu .select-game h2 {
    font-family: "Montserrat Bold";
    font-size: 20px;
  }
  .conts1 {
    margin-top: 8px;
  }
  .conts1 .title {
    font-size: 16px;
    margin: 0 10px 10px;
  }
  .conts1 .DirectBox .top-badge {
    top: -34px;
  }

  .trustpilot-reviews-section {
    padding: 28px 0px 0px;
  }

  /* Trustpilot widget responsive switch: hide desktop Carousel, show mobile single-card */
  .trustpilot-desktop-widget {
    display: none !important;
  }
  .trustpilot-mobile-widget {
    display: block !important;
    text-align: center;
  }
  .trustpilot-mobile-widget .trustpilot-widget {
    width: 90%;
    display: inline-block;
  }
  .mobile-home-menu .select-game .game-title {
    color: #fff;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 7px;
    margin: 10px 0;
  }
  #discordiframe {
    margin: 0 10px;
    width: -webkit-fill-available;
  }
  .mobile-home-menu .select-game .game-title .hotGames {
    color: #fff;
    font-size: 16px;
    font-family: "Oswald";
    display: flex;
    align-items: center;
  }

  .mobile-home-menu .select-game .game-title .hotGames span {
    text-shadow: 4px -1px 17px #0b85ea;
  }

  .mobile-home-menu .select-game .game-title .hotGames img {
    width: 57px;
  }

  .mobile-home-menu .select-game .game-title .allGames a {
    color: #e0e1ff;
    font-family: "Montserrat SemiBold";
  }

  .mobile-home-menu .select-game {
    position: relative;
  }

  .mobile-home-menu .game-list img {
    width: 100%;
    border-radius: 10px;
    display: block;
  }

  .mobile-home-menu .game-list ul {
    display: none;
  }

  .mobile-home-menu .game-list ul.active {
    display: block;
  }

  .mobile-home-menu .game-list ul li {
    min-height: 190px;
    position: relative;
    margin-bottom: 10px;
  }
  .news-guide .recent {
    font-size: 18px;
  }

  .mobile-home-menu .game-list ul li:last-child {
    margin-bottom: 0;
  }

  .mobile-home-menu .game-list ul li div {
    position: absolute;
    top: 50%;
    color: #fff;
    transform: translateY(-50%);
    padding-left: 25px;
  }

  .mobile-home-menu .game-list ul li div p {
    color: #fff;
    font-size: 24px;
    font-family: "Oswald";
    padding-right: 10px;
    /*text-transform: uppercase;*/
  }

  .mobile-home-menu .game-list ul li div p span {
    display: block;
    white-space: nowrap;
  }

  .mobile-home-menu .game-list ul li div a {
    display: inline-block;
    height: 30px;
    color: #fff;
    background-color: rgba(50, 122, 194, 0.6);
    border-radius: 30px;
    padding: 0 16px;
    line-height: 30px;
    box-shadow: 0px 0px 4px 1px #fff;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
  }
  .conts2 .title a {
    display: none;
  }
  .mobile-home-menu .game-list ul li div a i {
    width: 5px;
    height: 9px;
    background-position: -195px -26px;
    margin-left: 7px;
  }

  .mobile-home-menu .select-game .Activity * {
    width: inherit !important;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: inherit;
    max-width: 100%;
  }
  .home-vip {
    margin-top: 0;
    display: block;
    padding: 0 10px;
  }

  .home-vip .vip-coupon {
    width: 100%;
    margin-right: 0;
    padding: 29px 38px 39px;
  }

  .home-vip .vip-discount {
    display: none;
  }

  .home-vip .vip-coupon h3 {
    height: auto;
    line-height: normal;
    margin-bottom: 30px;
  }

  .home-vip .vip-coupon ul {
    min-height: auto;
  }

  .home-news {
    margin-top: 30px;
  }

  .home-news .news {
    width: 100%;
    margin: 0 10px;
    padding: 15px 16px;
  }

  .home-news .reviews,
  .home-news .video,
  .news .more {
    display: none;
  }

  .home-news .news .news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .home-news h3 {
    margin-bottom: 0;
  }

  .home-news .news .news-header a {
    color: #e0e1ff;
    font-family: "oswald";
    display: block;
  }

  .home-news .news .newsWrap {
    flex-direction: column;
  }

  .home-news .news .newsWrap .news-content {
    width: 100%;
    display: none;
  }

  .home-news .news .newsWrap .news-content:nth-child(1),
  .home-news .news .newsWrap .news-content:nth-child(2) {
    display: block;
  }

  .home-news .news .news-content div {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    height: 60px;
    line-height: 20px;
  }

  .home-news .news .news-content div span {
    display: contents;
  }

  .top_ups > .flexBetween,
  .gift_cards > .flexBetween {
    margin-bottom: 20px;
  }
  .home-banner a img.banner_m_img {
    display: block;
  }

  .conts1 .DirectBox {
    grid-template-columns: repeat(3, 1fr) !important; /* 从2列改为3列 */
    gap: 4px !important; /* 从6px减小到4px，3列需要更小间距 */
    margin: 0 4px !important; /* 从6px减小到4px */
  }

  /* DirectBox 商品卡片更紧凑 */
  .conts1 .DirectBox .item {
    border-radius: 6px !important; /* 从8px减小到6px */
    display: flex;
    flex-direction: column;
  }

  .conts1 .DirectBox .item:hover {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-image: unset;
    background-origin: unset;
    background-clip: unset;
    transform: unset;
    box-shadow: unset;
    background: linear-gradient(167deg, #122740 0%, #0B121A 100%);
  }

  .conts1 .DirectBox .img {
    padding: 6px !important; /* 从10px减小到6px */
  }

  .conts1 .DirectBox .info {
    padding: 8px 4px !important; /* 从10px 8px减小到8px 4px */
  }

  .conts1 .DirectBox .goods-title {
    font-size: 11px !important; /* 从12px减小到11px */
    margin-bottom: 4px !important; /* 从6px减小到4px */
    /* line-height: 1.2 !important; */
    word-break: break-word !important;
  }

  .conts1 .DirectBox .goods-price {
    margin-bottom: 3px !important; /* 从4px减小到3px */
  }

  .conts1 .DirectBox .goods-price .currency,
  .conts1 .DirectBox .goods-price .amount {
    font-size: 12px !important; /* 从14px减小到12px */
  }

  .conts1 .DirectBox .goods-quantity {
    font-size: 9px !important; /* 从10px减小到9px */
  }

  .goods-bottom .goods-off {
    font-size: 10px !important;
  }

  .conts1 .DirectBox img {
    height: 80px !important;
  }

  .conts1 .DirectBox .hot-badge {
    top: 4px !important; /* 从6px减小到4px */
    right: 4px !important; /* 从6px减小到4px */
    font-size: 9px !important; /* 从10px减小到9px */
    padding: 2px 6px !important; /* 从3px 8px减小到2px 6px */
    border-radius: 6px !important; /* 从8px减小到6px */
  }
  .conts1 .DirectBox .badge-icon {
    top: 4px !important; /* 从6px减小到4px */
    right: 4px !important; /* 从6px减小到4px */
    max-width: 40px;
    max-height: 20px !important;
  }
  .country-device {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px; /* 减小间距，让3列更紧凑 */
  }
  .level-last-menu {
    display: grid;
    padding: 0 8px;
  }
  .level-last-menu ul.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 确保3列布局 */
    gap: 6px; /* 与country-device保持一致 */
  }

  .level-last-menu ul li {
    min-height: 140px; /* 增加高度以容纳上下排列的内容 */
    padding: 10px 5px; /* 添加内边距 */
    box-sizing: border-box;
    display: flex; /* 使用flex布局 */
    flex-direction: column; /* 垂直排列 */
    align-items: center; /* 水平居中 */
    justify-content: space-between; /* 垂直分布 */
    position: relative;
    overflow: hidden; /* 防止内容超出 */
  }

  /* 隐藏背景图片或调整 */
  .level-last-menu ul li > img:first-child {
    display: none; /* 隐藏背景图片，或调整透明度 */
    opacity: 0.1;
  }

  /* 游戏图标 - 放在顶部 */
  .level-last-menu ul li img.meiguo {
    width: 75px; /* 增大图标 */
    height: 75px;
    padding: 0px;
    position: relative; /* 改为相对定位 */
    top: auto;
    left: auto;
    margin: 0 auto 0px auto; /* 居中，底部间距 */
    order: 1; /* flex顺序：第一个 */
  }

  /* 名字 - 放在中间 */
  .level-last-menu ul li div {
    order: 2; /* flex顺序：第二个 */
    position: relative;
    top: auto;
    left: auto;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0px !important; /* 添加左右padding，防止文字贴边 */
    text-align: center !important; /* 确保居中对齐 */
    display: flex;
    flex-direction: column;
    align-items: center !important; /* 确保水平居中 */
    flex: 1;
    justify-content: center;
    box-sizing: border-box !important;
    overflow: visible !important; /* 允许内容显示，让换行可见 */
    min-width: 0 !important; /* 允许flex子元素收缩 */
  }

  .level-last-menu ul li div p:first-child {
    display: none; /* 隐藏第一个p（分类名） */
  }

  /* 覆盖PC端样式，确保所有p标签都没有左侧padding，并且居中 */
  .level-last-menu ul li div p {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 0 !important;
    font-size: 14px !important;
    white-space: normal !important; /* 强制允许换行 */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important; /* 覆盖PC端的text-align: left */
  }

  .level-last-menu ul li div p span {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 0 !important; /* 覆盖PC端的margin-left: 8px */
    font-size: inherit !important;
    white-space: normal !important; /* 覆盖PC端的white-space: nowrap */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important; /* 确保span内文字居中 */
  }

  .level-last-menu ul li div p:last-child {
    font-size: 10px !important; /* 减小字体大小 */
    font-weight: 700 !important;
    padding: 0 !important; /* 重置所有padding */
    padding-left: 0 !important; /* 覆盖PC端的padding-left: 140px */
    margin: 0 5px !important; /* 左右margin为5px */
    margin-left: 0 !important; /* 确保没有左侧margin */
    line-height: 1.4 !important; /* 增加行高，让换行更清晰 */
    word-wrap: break-word !important; /* 允许换行 */
    overflow-wrap: break-word !important; /* 允许换行 */
    word-break: break-word !important; /* 强制断行 */
    white-space: normal !important; /* 允许换行 */
    display: block !important; /* 改为block，允许换行 */
    color: #fff !important;
    text-align: center !important; /* 覆盖PC端的text-align: left，确保文字居中对齐 */
    text-align-last: center !important; /* 最后一行也居中 */
    font-family: inherit !important; /* 覆盖PC端的Oswald字体 */
    max-width: 100% !important; /* 确保不超出容器 */
    width: calc(100% - 10px) !important; /* 宽度减去左右margin */
    box-sizing: border-box !important;
    overflow: visible !important; /* 允许内容显示 */
    text-overflow: clip !important;
    hyphens: auto !important; /* 自动断字 */
  }

  .level-last-menu ul li div p:last-child span {
    padding: 0 !important;
    padding-left: 0 !important; /* 确保没有左侧padding */
    margin: 0 !important; /* span不需要margin，由p的text-align控制 */
    margin-left: 0 !important; /* 覆盖PC端的margin-left: 8px */
    white-space: normal !important; /* 覆盖PC端的white-space: nowrap，允许span内换行 */
    word-wrap: break-word !important; /* 允许换行 */
    overflow-wrap: break-word !important; /* 允许换行 */
    word-break: break-word !important; /* 强制断行 */
    display: inline !important; /* 改为inline，让p的text-align: center控制居中 */
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important; /* 确保span内文字居中 */
    text-align-last: center !important; /* 最后一行也居中 */
  }

  /* 让整个卡片可点击 */
  .level-last-menu ul li {
    cursor: pointer;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  /* 添加点击效果 */
  .level-last-menu ul li:active {
    opacity: 0.8;
    transform: scale(0.98);
  }

  /* BUY按钮 - 手机端隐藏 */
  .level-last-menu ul li div a {
    display: none !important; /* 手机端隐藏按钮 */
  }

  /* 标签（device）- 手机端隐藏 */
  .level-last-menu ul li > p.device {
    display: none !important; /* 手机端隐藏标签 */
  }
  .listheader {
    padding: 0 8px;
    margin: 14px 0px 20px;
    margin: 0;
  }

  .listheader-header {
    background: #161E29;
    flex-direction: column;
    margin-top: 4px;
  }

  .listheader .item-h1-title {
    margin: 0;
    font-size: 16px !important;
    display: none;
  }

  .listheader .img {
    margin: 0;
    margin-left: 8px;
    width: 68px;
    height: 68px;
    display: inline-block;
    display: none;
  }

  .listheader .img img {
    width: 68px;
    height: 68px;
  }

  .listheader .title {
    width: 100%;
    margin-top: 20px;
  }

  .listheader .title {
    margin-top: 0 !important;
    /* padding: 8px; */
  }

  .listheader .title span {
    white-space: nowrap;
  }

  .listheader .item-tags-row {
    margin-top: 7px;
    margin-bottom: 4px;
    display: none;
  }

  .listheader .item-tags-row span {
    font-size: 10px !important;
  }

  .listheader .title span.CouponHD {
    justify-content: flex-start;
    
  }

  .listheader .title div:nth-of-type(1) {
    /* 第一个 div 样式 */
    font-size: 16px;
  }

  .item-coupon-row {
  }

  .listheader .item-coupon-row {
    background: none;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    justify-content: flex-start;
    gap: 4px;
    padding-bottom: 0;
    position: fixed;
    right: 0;
    top: 240px;
    width: max-content;
    padding-left: 0;
    border-radius: 45px 0 0 45px;
    height: 45px;
    background: linear-gradient(90deg, #53FECD 0%, #2C74C9 100%);
    padding: 4px 15px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: visible;
    cursor: pointer;
    transform: translateX(calc(100% - 50px));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
  }

  .listheader .item-coupon-row.open {
    transform: translateX(0);
    z-index: 10;
  }

  .lang-ar .listheader .item-coupon-row {
    transform: translateX(calc(50px - 100%));
  }

  .lang-ar .listheader .item-coupon-row.open {
    transform: translateX(0);
  }
  .listheader .item-coupon-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: url(../image/20260403-135309.png) no-repeat center center;
    background-size: 30px auto;
  }

  .lang-ar .listheader .item-coupon-row::before {
    left: unset;
    right: 0;
  }

  .listheader .item-coupon-row .CouponHD,
  .listheader .item-coupon-row #item-cate-coupon-label {
    margin-left: 40px;
    opacity: 0;
    transition: opacity 0.2s ease 0s;
  }

  .listheader .item-coupon-row.open .CouponHD,
  .listheader .item-coupon-row.open #item-cate-coupon-label {
    opacity: 1;
    transition: opacity 0.25s ease 0.2s;
  }

  .lang-ar .listheader .item-coupon-row .CouponHD,
  .lang-ar .listheader .item-coupon-row #item-cate-coupon-label {
    margin-left: unset;
    margin-right: 40px;
  }

  .listheader .item-coupon-row span {
    font-size: 12px !important;
  }

  .listheader .title div:nth-of-type(2) {
    /* 第二个 div 样式 */
    font-size: 12px;
  }

  .listheader .title div:nth-of-type(3) {
    font-size: 8px;
    margin-top: 2px;
  }
  
  /* 百宝箱放大缩小动画 */
  @keyframes pulse-scale {
    0%,
    100% {
      /* transform: scale(1); */
          transform: scale(0.9);
    }
    50% {
      /* transform: scale(1.1); */
      transform: scale(1);
    }
  }

  .listheader .item-chest-box {
    display: flex;
  }

  .listheader .item-chest-box img {
    animation: pulse-scale 1.5s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .conts2 {
    width: auto;
    padding-top: 10px;
    margin: 10px 10px;
  }
  .conts2 .title:not(.mobile) {
    display: none;
  }
  .conts2 .title {
    font-size: 20px;
  }
  .conts2 .contbox {
    grid-template-columns: repeat(2, 1fr);
  }
  .conts2 .contbox .item:nth-child(1),
  .conts2 .contbox .item:nth-child(2),
  .conts2 .contbox .item:nth-child(3),
  .conts2 .contbox .item:nth-child(4),
  .conts2 .contbox .item:nth-child(5) {
    grid-column: span 1;
    height: 250px;
  }
  .conts2 .img {
    height: 150px;
  }
  .conts1 .layui-col-md5 {
    padding-left: 0px;
    margin-top: 20px;
    padding-right: 0 !important;
  }
  .mobile.game-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
  }
  .conts2 .layui-col-md5::before {
    display: none;
  }
  .newsGolds__main .device-server > p {
    margin-left: 10px;
  }
  .device-server > div {
    display: grid;
    margin: 0 8px;
  }
}

@media (max-width: 768px) {
  /* 欢迎语导航条 - 手机端 */
  .welcome-bar {
    padding: 5px 0;
    background: linear-gradient(
      90deg,
      rgba(11, 18, 26, 0.95) 0%,
      rgba(20, 59, 103, 0.95) 50%,
      rgba(11, 18, 26, 0.95) 100%
    );
    border-bottom: 1px solid rgba(83, 254, 205, 0.2);
  }

  .welcome-bar .container {
    padding: 0 15px;
  }

  .welcome-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
  }

  .welcome-text {
    font-size: 12px;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }

  .welcome-text i {
    font-size: 14px;
  }

  .welcome-message {
    font-size: 12px;
    line-height: 1.4;
  }

  .welcome-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    justify-content: center;
  }

  .welcome-features .feature-item {
    font-size: 11px;
    gap: 5px;
  }

  .welcome-features .feature-item i {
    font-size: 12px;
  }

  .home-banner a img.banner_m_img {
    display: block;
  }

  .home-banner a img.banner_pc_img {
    display: none !important;
  }
}

/* 在 mobile_home.css 或 home.css 中添加 */

@media (max-width: 768px) {
  /* 游戏网格改为2列，更适合手机 */
  .games-grid,
  .game-items .item-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 10px;
  }

  /* 游戏卡片优化 */
  .game-card,
  .game-item {
    min-height: 140px !important;
    padding: 15px 10px !important;
  }

  /* 游戏logo和文字 */
  .game-card img,
  .game-item .item-image {
    height: 80px !important;
    margin-bottom: 10px;
  }

  .game-title,
  .game-item .item-title {
    font-size: 14px !important;
    padding: 8px !important;
  }
}

/* 超小屏幕（< 480px）单列显示 */
@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .conts2 .contbox {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 手机端粘性导航tab条 */
@media (max-width: 768px) {
  .mobile-sticky-nav {
    position: fixed;
    top: 60px; /* header高度 */
    left: 0;
    right: 0;
    z-index: 999;
    z-index: 98;
    background: rgba(11, 18, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(83, 254, 205, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
  }

  .mobile-nav-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 0 10px;
    gap: 0;
  }

  .mobile-nav-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .mobile-nav-tabs .nav-tab {
    flex: 0 0 auto;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
  }

  .mobile-nav-tabs .nav-tab:hover,
  .mobile-nav-tabs .nav-tab.active {
    color: #53fecd;
    border-bottom-color: #53fecd;
  }

  .mobile-nav-tabs .nav-tab.active {
    background: rgba(83, 254, 205, 0.1);
  }
}

@media (max-width: 375px) {
  .conts1 .DirectBox .goods-price .amount {
    width: 100%;
    display: inline-block;
  }
}

/* 更多内容信息弹窗样式 */
.more-content-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .55);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.more-content-overlay.active {
  display: flex;
  flex-direction: column;
}

.more-content-overlay .more-content-info {
  position: relative;
  /* max-width: 90%; */
  border-radius: 8px;
  cursor: default;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-height: 100%;
  padding: 20px;
  background: #161e29;
}

.more-content-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.more-content-close:hover {
  color: #53fecd;
}

/* 更多内容点击图标样式 */
.more-content-click-icon {
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}

.more-content-click-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}

@media screen and (max-width: 1024px) {
  .more-content-overlay {
    background: rgba(0, 0, 0, 1);
    padding-top: 40px;
  }
  .more-content-overlay .more-content-info {
    padding: 15px;
    background: unset;
  }
}

@media screen and (max-width: 480px) {
  .more-content-overlay {
    background: rgba(0, 0, 0, 1);
    padding-top: 30px;
  }

  .more-content-close {
    position: absolute;
    top: 0;
    right: 15px;
  }
}