
.game-iframe-container {
    display: none;
    position: fixed;
    top:0;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    z-index: 100000000000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 80%;
    height: 80%;
}

.game-iframe {
    width: 100%;
    height: 100%;
}

.play-button-container {
    text-align: center;
    margin-top: 20px;
}

.play-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #728CA8;
    color: white;
    border: none;
   /* animation: pulse 2s infinite; /* Dynamic effects */
    width:100%;font-weight:bold; 
    border: 3px solid #fff;
    border-radius: 18px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.icon { 
    width:120px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    color: #007BFF;
    position: relative;
    top:15px;
}

 @media only screen and (max-width: 600px) {
     .banner_Ad{
         display:block !important;
     }

     
 }

   @media only screen and (min-width: 960px) {
    .icon { 
   width:120px;
    top:16px;
    } 
    #icon2{
        top:13px;
    }
    
    .game_title{
      /*  top:-213px; */
    }
    .play-button{
      /*  top:-205px; */
    }

    
    
    .sidebarAd{
        display:none;
    }
    .banner-ad-content{
        padding:0 !important;
    }
       
   }



/* 背景遮罩 */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* 全屏遮罩 */
.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    z-index: 1000;
}

/* 关闭按钮 */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent; 
    color: white;
    border: none;
    width: 20px;
    height: 30px;
    font-size: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 1001;
    opacity:0.8;
}
