.game_section {
  background: #000;
  padding: 40px 0;
  overflow: hidden;
}

.top_section {
  background: #000;
  padding: 40px 0;

  opacity: 0;
  transform: translateY(-120px);
}
.top_section.active {
  animation: sectionReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.game_section .game_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.game_section .game_desc {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.3;
  max-width: 600px;
  font-weight: 300;
}

.game_section .coin_container {
  margin-top: 30px;
  display: flex;
  align-items: center;
  position: relative;
  height: 120px;
  gap: 30px;
}

.game_section .coin {
  position: relative;
  width: 90px;
  height: 90px;
  transition: all 0.6s ease;
  cursor: pointer;
}

.game_section .coin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game_section .game_right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .game_section:hover .phone_glow {
  background: radial-gradient(
    closest-side at 50% 50%,
    #ffd54a52 0%,
    #ffb30027 40%,
    #ff8c0011 70%,
    transparent 100%
  );
} */

.game_section .img-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
}

.game_section .img-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%) scale(0.8);
  background: radial-gradient(
    circle at center,
    rgb(246 208 7) 20%,
    rgb(249 132 25 / 56%) 30%,
    rgb(249 132 25 / 8%) 55%,
    rgb(249 132 25 / 17%) 75%,
    rgba(249, 132, 25, 0) 100%
  );
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.game_section .phone_glow {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: 1;
  border-radius: 50%;
  filter: blur(40px);

  opacity: 0;
  transform: scale(0.3);
}
/* .game_section.active .phone_glow {
  animation: glowPulse 1.2s ease forwards;
} */

.game_section .img-wrapper {
  width: 500px;
  height: 500px;
}
.game_section:hover .img-wrapper::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.15);
}

/* .game_section .img-wrapper .mobile_image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
   animation: phoneFloat 2s ease-in-out infinite;
} */

.game_section .mobile_image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.game_section .right_img {
  opacity: 0;
  transform: translateX(160px);
}


.game_section.active .right_img {
  animation: mobileSlideIn 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mobileSlideIn {
  0% {
    opacity: 0;
    transform: translateX(150px);
  }

  60% {
    opacity: 1;
    transform: translateX(-15px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.game_section .coin_1,
.game_section .coin_2 {
  transition: all 0.4s ease;
}

.game_section .coin_1 {
  transform: translateX(-250px) rotate(-720deg);
  opacity: 0;
}

.game_section .coin_2 {
  transform: translateX(-350px) rotate(-720deg);
  opacity: 0;
}

.game_section:hover .coin_1 {
  transform: translateX(0) rotate(0deg);
  opacity: 1;
}

.game_section:hover .coin_2 {
  transform: translateX(-15px) rotate(0deg);
  opacity: 1;
}

.game_section.active .title1 {
  animation: descZoom 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.game_section.active .title2 {
  animation: descZoom 0.7s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes descZoom {
  0% {
    opacity: 0;
    transform: scale(0.5);
    filter: blur(8px);
  }

  40% {
    opacity: 1;
    transform: scale(1.08);
    filter: blur(2px);
  }

  70% {
    transform: scale(0.97);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  40% {
    opacity: 1;
    transform: scale(1.15);
  }

  70% {
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes sectionReveal {
  0% {
    opacity: 0;
    transform: translateY(-120px);
  }

  60% {
    opacity: 1;
    transform: translateY(20px);
  }

  80% {
    transform: translateY(-8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes phonePower {
  0% {
    opacity: 0;
    transform: translateY(120px) scale(0.7) rotate(-35deg);
  }

  15% {
    opacity: 1;
    transform: translateY(-20px) scale(1.08) rotate(22deg);
  }

  30% {
    transform: translateY(8px) scale(0.98) rotate(-18deg);
  }

  45% {
    transform: translateY(-5px) scale(1.03) rotate(14deg);
  }

  60% {
    transform: translateY(0) scale(1) rotate(-10deg);
  }

  75% {
    transform: rotate(6deg);
  }

  90% {
    transform: rotate(-3deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .game_section .game_desc {
    font-size: 18px;

    max-width: 100%;
  }

  .game_section .section_title {
    font-size: 30px;
  }

  .game_section {
    padding: 0px 0 20px;
  }

  .game_section .img-wrapper::before {
    width: 300px;
    height: 300px;
  }
}

@media (min-width: 0px) and (max-width: 991.98px) {
  .game_section .img-wrapper {
    width: 330px;
    height: 330px;
  }

  .game_section .phone_glow {
    width: 310px;
    height: 350px;
  }

  .game_section {
    padding-top: 0;
  }

  .game_section .game_desc {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
    max-width: 100%;
    text-align: center;
    font-weight: 300;
  }

  .game_section .first-col-section {
    text-align: center;
  }

  .game_section .coin_container {
    justify-content: center;
  }

  .game_section .coin_1 {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }

  .game_section .coin_2 {
    transform: translateX(-15px) rotate(0deg);
    opacity: 1;
  }

  .game_section .img-wrapper::before {
    width: 250px;
    height: 250px;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
}

@media (min-width: 0px) and (max-width: 575.98px) {
  .game_section .game_desc {
    font-size: 16px;
  }
  .game_section .coin {
    width: 60px;
    height: 60px;
  }

  .game_section .coin_container {
    margin-top: 25px;
    height: unset;
  }

  .game_section .img-wrapper {
    width: 220px;
    height: 220px;
  }

  .game_section .img-wrapper::before {
    width: 160px;
    height: 160px;
  }
}
