/*-------------------------------------------Background Image---------------------------------------------*/
#bg {
    width: 100%;
    height: auto;
}

/*-------------------------------------------Title Animation---------------------------------------------*/
/* Comment if using Slide keyframe */
/* .add-animation-zoom {
    animation: zoomBounce 0.3s ease;
    animation: zoomOut 0.3s ease;
} */

/* Comment all if using Zoomout keyframe */
.add-animation {
    /* animation: frmslideLeft 0.3s ease; */
    animation: frmslideRight 0.8s ease;
}

/* Comment all if using Zoomout keyframe */
.exit-animation {
    /* animation: toslideRight 0.3s ease; */
    animation: toslideLeft 0.8s ease;
}

.text {
    top: 14%;
}

.text img {
    width:90%;
}

/*-------------------------------------------Redirect Button---------------------------------------------*/
.btn1 {
    top: 89%;
   
    
}

.btn2{
    /* padding: 8px 31px; */
    font-size: 20px;
    font-weight: bold;
    color: black;
    width: 45%;
    padding: 15px;
    background: linear-gradient(45deg, #e7bc12, #faf6a1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
    animation: pulse 0.9s infinite linear;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}


 




.sticky-icon {
    
    top: 75%;
    left: 80%;
    z-index: 1050;

    width: 20%;
   
    
    /* 发光背景 */
}

.btn-glow {
  display: inline-block;
  border-radius: 50%;
  padding: 0px;
  animation: glowPulse 1.5s infinite ease-in-out;
}
/* 
.btn-blue {
  box-shadow: 0 0 15px white;
}

.btn-orange {
  box-shadow: 0 0 15px white;
}

/* 背光呼吸动画 */
@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 0 10px currentColor,
      0 0 20px currentColor,
      0 0 40px currentColor;
  }
  50% {
    box-shadow:
      0 0 15px currentColor,
      0 0 30px currentColor,
      0 0 60px currentColor;
  }
}



/* 让不同按钮继承各自的颜色 */
.btn-whatapps { color: white; }
.btn-telegram { 
  color: rgba(255, 255, 255, 1); /* 纯白 */
}
/* .icon-img1::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff7300,
        #fffb00,
        #48ff00,
        #7a00ff,
        #ff00c8,
        #ff0000
    );
    background-size: 400%;
    filter: blur(8px);
    z-index: -1;
    border-radius: 50%;
    animation: glowing 20s linear infinite;
} */

/* WhatsApp 发光 */
/* .icon-img2::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    background: linear-gradient(
        45deg,
        #00ff00,
        #00ffff,
        #007bff,
        #ff00ff,
        #ff0000
    );
    background-size: 400%;
    filter: blur(8px);
    z-index: -1;
    border-radius: 50%;
    animation: glowing 15s linear infinite;
} */

/* 图标样式 */
.sticky-icon img {
    width: 100%;

   

}


/* 彩色发光动画 */
@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}



@media(max-width:320px){
    .sticky-icon {
        top: 70%;
     left: 80%;
      z-index: 1050;
      width: 20%;
  
    
    
      display: flex;
      justify-content: center;
      align-items: center;


    }
     .btn2{
        font-size: 20px;
        
     }
}

.dropdown-class{

      top: 20px;
      right: 20px;
      z-index: 1050;
    }
    






/*-------------------------------------------Keyframe Animation---------------------------------------------*/
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    35% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    65% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    35% {
        transform: scale(0.7);
        opacity: 0.5;
    }

    55% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    65% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    85% {
        transform: scale(1.2);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes frmslideLeft {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toslideRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(50%);
        opacity: 0;
    }
}

@keyframes frmslideRight {
    0% {
        transform: translateX(10%);
        opacity: 0;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toslideLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-10%);
        opacity: 0;
    }
}


@media(min-width:768px){
   .btn2{
    font-size: 30px;
   }

   .sticky-icon{
    width: 15%;
   }

  
}

/*-------------------------------------------Multi Device Screen Size---------------------------------------------*/
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #bg {
        height: 100vh;
    }

    .sticky-icon {
    top: 72%;
    left: 55%;
     width: 6%;
    }

    .btn2{
        font-size: 15px;
        
     }

     



}



@media (min-width: 1920px) {
    #bg {
        height: 100vh;
    }

    .sticky-icon {
        top: 88%;
     left: 57%;
      z-index: 1050;
      width: 50px;
      height: 50px;
   
 
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}