/************  main  **************/
    .toumingNot{
       background-color: red; 
       opacity: 0.5;
    }
    .touming{
        background-color: transparent;
        opacity: 0;      
    }
     @keyframes scaleBig {
        0% {
            -webkit-transform: scaleX(1) scaleY(1)
        }
        50% {
            -webkit-transform: scaleX(1.1) scaleY(1.1)
        }
        100% {
            -webkit-transform: scaleX(1) scaleY(1)
        }
    }

    .paopao {
        animation: scaleBig 1.2s linear infinite;
        -webkit-animation: scaleBig linear 1.2s infinite;
    }
    .fullWid{
        width: 100%;
    }           
    .fullWidth{
        width: 100%;
    }       
    .fullHeight{
        height: 100%;
    }    
    .beCenter{
        text-align: center;
    }
    .posAB{
        position: absolute;
    }    
    .posRel{
        position: relative;
    }
    .noBorder{
        outline:none; 
        border: 0; 
        background-color: transparent; 
    }
    .sizeOne{
        font-size: 1.1em;
        height: 2em;
        line-height: 2em;
        width: 83%;
        left: 8%;
    }
    .hui{
        filter: grayscale(100%);
    }


    .top0 {  
        top: 0;
    }

    .pic {  
        width: 100%;
        transition: all .2s linear;
        -webkit-transition: all .2s linear;
    }

    .colorful {
        position: absolute;
        opacity: 0;
    }

    .btnBeColor:hover .colorful {
        opacity: 1;
    }


/************  nav  **************/
nav {
            background-color: white;
            width: 100%;
            list-style-type: none;
        }

        nav ul {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            margin-right: 5%;
        }

        nav>div {
            position: absolute;
            margin-top: 80px;
            background: white;
            left: 0;
            top: 0;
            height: 300px;
            opacity: 1;
            width: 100%;
            z-index: 9;
            display: none;
            /* 初始隐藏 */
        }

        nav ul li {
            position: relative;
            min-height: 50px;
            /* 固定一级菜单高度 */
            display: flex;
            align-items: center;
            width: 100px;
            text-align: center;
            justify-content: center
        }

        /* 一级菜单默认文字颜色为灰色 */
        nav ul li a {
            text-decoration: none;
            color: #808080;
            font-size: 16px;
            padding: 0 15px;
            transition: color 0.3s ease;
        }

        /* 一级菜单鼠标悬停文字颜色变为 #2b86ee ，但 active 状态除外 */
        nav ul li:not(.active):hover>a {
            color: #2b86ee;
        }

        /* 当二级菜单悬停时，对应的一级菜单文字也变为蓝色，但 active 状态除外 */
        nav ul li:not(.active) ul li:hover~a {
            color: #2b86ee;
        }

        nav ul li ul {
            display: none;
            position: absolute;
            padding: 0px;
            top: 40px;
            left: 0;
            width: 100%;
            padding-top: 30px;
        }

        nav ul li:hover ul {
            display: block;
            z-index: 9;
        }

        nav ul li ul li {
            margin-bottom: 5px;
        }

        /* 二级菜单默认文字颜色为灰色 */
        nav ul li ul li a {
            font-size: 14px;
            width: 100%;
            text-align: center;
            color: #808080;
            transition: color 0.3s ease;
        }

        /* 二级菜单鼠标悬停文字颜色变为 #2b86ee */
        nav ul li ul li:hover a {
            color: #2b86ee;
        }

        /* 一级菜单激活时的蓝色横线 */
        nav ul li.active>a {
            color: #2b86ee;
        }

        nav ul li.active>a::after {
            position: absolute;
            content: "";
            display: block;
            width: 64%;
            left: 18%;
            height: 2px;
            background-color: #2b86ee;
            margin-top: 5px;
        }

        /* 二级菜单激活时的蓝色横线 */
        nav ul li ul li.active>a::after {
            position: absolute;
            content: "";
            display: block;
            width: 55%;
            left: 22.5%;
            height: 2px;
            background-color: #2b86ee;
            margin-top: 5px;

        }
/*********** home ***********/
    .home_game_icon-container {
            display: flex;
/*            justify-content: center;*/
            align-items: center;
        }

       .home_game_icon {
            width: 13%;
/*            height: 55px;*/
            margin: 0 5px;
            transition: all 0.1s ease;
            transform-origin: bottom center;
            padding: 3px;
            border-radius: 10px;
            border: 2px solid transparent;
            border-radius: 10px;
        }

       .home_game_selected-icon {
            padding: 3px;
            border: 2px solid #007BFF;
            border-radius: 10px;
        }

/*********** about ***********/

.about-image-container {
      display: flex;
      overflow: hidden;
    }

   .about-image-item {
      position: relative;
      flex: 1;
      overflow: hidden;
      transition: flex 0.3s ease;
      height: 100%;
      margin-left: 5px;
    }

   .about-image-item img {
      width: 100%;
      height: 100%;
      display: block;
      transition: transform 0.3s ease;
      transform-origin: center;
      object-fit: cover;
    }

   .about-image-item:hover img {
      transform: scale(1.1);
    }

   .about-text-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      transition: all 0.3s ease; /* 指定 background-color 属性有 3 秒过渡效果 */
      background-color: rgba(0, 0, 0, 0.4); /* 半透明黑色遮罩 */
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: flex-start;
      padding: 20px;
      box-sizing: border-box;
    }

   .about-text-overlay p.title {
      color: white;
      font-size: 18px;
      margin: 0;
    }

   .about-text-overlay p.description {
      color: white;
      font-size: 20px;
      display: none;
      margin: 0;
    }

    .about-image-item:hover .about-text-overlay {
    background-color: rgba(0, 0, 0, 0.05); /* 鼠标悬停时透明度降低到 5% */
}

   .about-image-item:hover .about-text-overlay p.description {
      display: block;
    }


/**********   bus  ***************/
.tab-bar {
    text-align: center;
}

.tab-item {
    color: #999;
    display: inline-block;
    padding: 8px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin: 0 15px;
    font-size:25px;
    /* 新增：左右间距各15px，可根据需求调整数值 */
}

.tab-item.active {
    border-bottom-color: #2885ed;
    color: #000;
}

.game-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    width: 66%;
    margin: 0 auto;
    margin-top: 2%;
}

.game-item {
    position: relative;
    flex-basis: calc(50% - 40px);
    max-width: calc(50% - 40px);
    margin-bottom: 100px; /* 单独控制竖向间距，数值可调整 */
    margin-left: 20px;
}

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

.game-icon {
    width: 60px;
    height: 60px;
}

.hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s;
}

.game-item:hover .hover-effect {
    opacity: 1;
}

.hover-text {
    position: absolute;
    bottom: 25%;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 14px;
}


/**********   join  *********** */

  .job_top-tabbar-container {
      width: 80%;
      margin: 30px auto;
      text-align: center;
    }

   .job_top-tab {
      display: inline-block;
      padding: 10px 20px;
      cursor: pointer;
      border-bottom: 2px solid transparent;
      transition: border-color 0.3s ease;
      font-size:25px;
    }

   .job_top-active {
      border-bottom: 2px solid #007BFF;
    }

   .job_image-container {
      width: 80%;
      margin: 30px auto;
      display: flex;
      flex-wrap: wrap;
    }

   .job_image-item {
      width: calc(25% - 10px);
      margin: 5px;
      cursor: pointer;
    }

   .job_image-item img {
      width: 100%;
      display: block;
    }


   /*  ------  */

   .job_pic_image-item {
      width: calc(23% - 10px);
    }

   .job_pic_image-item img {
      width: 100%;
      display: block;
    }

   .job_pic_image-item:nth-child(1),
   .job_pic_image-item:nth-child(3) {
      margin-top: 30px; /* 调整第1.3张图片的顶部外边距 */
    }

    /*  --------    */

    .job_fuli-container {
      
          top: 0;
          width: 75%;
          margin: 20px auto;
          display: flex;
          justify-content: space-evenly; /* 平均分布图片 */
          flex-wrap: wrap;
        }
        .job_fuli-item {
          width: calc(33.33% - 30px); /* 3列计算公式 */
          max-width: 460px;

        }
        .job_fuli-item img {
          width: 100%;
          display: block;
          border-radius: 8px;

        }


/**********   foot  *********** */

.footer-container {
    position: relative;
  background: black;
  color: white;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px 10%; /* 统一左右内边距 */
  box-sizing: border-box; /* 让内边距包含在宽度计算中 */
}


   .footer-section {
      display: flex;
      flex-direction: column;
      width: 10%;
    }

   .footer-section h3 {
      margin-bottom: 10px;
      font-size: 16px;
      font-weight: bold;
      text-align: left; /* 标题左对齐 */
    }

   .footer-section a {
      color: white;
      text-decoration: none;
      margin-bottom: 5px;
      font-size: 12px;
      text-align: left; /* 链接左对齐 */
    }

   .footer-section a:hover {
      text-decoration: underline;
    }

    .logo-social-container {
        position: absolute;
        display: flex;
        right: 10%;
        padding-top: 20px;

        flex-direction: column;
        align-items: center;
    }
   .logo {
      margin-bottom: 20px;
    }

   .social-media {
      width: 100%;
      display: flex;
      justify-content: space-between;
    }

   .social-media img {
      width: 70%;
      margin-left: 10px;
    }

    .disclaimer {
      background: black;
      color: white;
      line-height: 30px;
      padding: 10px 10% 20px; /* 底部声明保持左内边距，去除顶部内边距 */
      font-size: 12px;
    }

    .disclaimer p{
      margin: 0;
    }

