.daily_games {
  padding: 60px 0;
  overflow: hidden;
}
.daily_games .section_title {
  font-size: 35px;
  font-weight: 700;
  color: #fff;
}

.daily_games .why_content .desc-text {
    color: #000;
    font-size: 21px;
    line-height: 1.4;
    margin-top: 25px;
}
.daily_games .why_image {
    text-align: center;
    position: relative;
    width: 450px;
    margin: auto;
    z-index: 1;
}
.daily_games .why_image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
}
.daily_games .why_image::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: radial-gradient(circle at center, rgb(12 177 233 / 52%) 20%, rgb(43 164 217) 30%, rgb(249 132 25 / 8%) 55%, rgb(14 181 239 / 64%) 75%, rgba(249, 132, 25, 0) 100%);
    filter: blur(35px);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.daily_games:hover .why_image::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Initial state */
.slide-left,
.slide-right {
  opacity: 0;
  transition: none;
}

.slide-left {
  transform: translateX(-80px);
}

.slide-right {
  transform: translateX(80px);
}

/* Trigger animation */
.daily_games.active .slide-left {
  animation: slideLeft 0.8s ease forwards;
}

.daily_games.active .slide-right {
  animation: slideRight 0.8s ease forwards;
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .daily_games .why_content .desc-text {
    font-size: 18px;
  }

  .daily_games .why_image {
    width: 275px;
  }

  .daily_games .why_image::before {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 991px) {
  .daily_games {
    padding: 50px 0;
  }

  .daily_games .why_content {
    text-align: center;
    margin-bottom: 40px;
  }

  .daily_games .why_content .desc-text {
    font-size: 18px;
    max-width: 100%;
  }

  .daily_games .why_image img {
    max-width: 300px;
  }

  .daily_games .why_image {
    width: 395px;
    height: 369px;
  }

  .daily_games .why_image::before {
    width: 431px;
    height: 356px;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .daily_games {
    padding: 0px 0;
  }

  .daily_games .why_image::before {
    width: 275px;
    height: 275px;
  }
}

@media (min-width: 0px) and (max-width: 575.98px) {
  .daily_games {
    padding: 10px 0;
  }

  .daily_games .why_image {
    width: 230px;
    height: 230px;
  }

  .daily_games .why_content .desc-text {
    font-size: 16px;
    margin-top: 10px;
    line-height: 1.3;
}
  .daily_games .why_image::before {
    width: 194px;
    height: 269px;
  }
}
