@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:200,900');

:root {
  --text-color: #b71f47;
  /* --text-color: #e75e8d; */
  --shadow-color: hsla(210, 40%, 52%, 0.4);
  --btn-color: hsl(210, 80%, 42%);
  --bg-color: #141218;
}

.play-game-image {
  border-radius: 23px;
  filter: blur(4px);
  transition: filter 0.3s ease-in-out;
}
.thumb {
  position: relative; 
  display: inline-block;
  width: 100%;
}
.thumb a {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); 
  background-color: transparent;
  text-decoration: none;
}
.custom-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex; 
  transform: translate(-50%, -50%);
  padding: 12px 65px;
  font-size: 24px;
  /* gap: 12px; */
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  font-family: "Source Code Pro", monospace;
  /* background-color: #e75e8d;
  color: #fff; */
  background-color: #fff;
  color: #e75e8d;
  border: none;
  border-radius: 10px;
  box-shadow: var(--shadow-color) 4px 4px 30px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  white-space: nowrap; /* Prevent text from wrapping */
}

.custom-button:hover {
  border-color: #fff;
  transform: translate(-50%, -50%) scale(1.08); 
  box-shadow: 0 0 20px rgba(227, 220, 223, 0.8), 0 0 40px rgba(254, 251, 252, 0.5);
}

/* Animated Bubbles */
.custom-button::before {
  content: '';
  pointer-events: none;
  opacity: 0.6;
  background:
      radial-gradient(circle at 20% 35%, transparent 0, transparent 2px, var(--text-color) 3px, var(--text-color) 4px, transparent 4px),
      radial-gradient(circle at 75% 44%, transparent 0, transparent 2px, var(--text-color) 3px, var(--text-color) 4px, transparent 4px),
      radial-gradient(circle at 46% 52%, transparent 0, transparent 4px, var(--text-color) 5px, var(--text-color) 6px, transparent 6px),
      radial-gradient(circle at 30% 10%, transparent 0, transparent 2px, var(--text-color) 3px, var(--text-color) 4px, transparent 4px),
      radial-gradient(circle at 60% 80%, transparent 0, transparent 2px, var(--text-color) 3px, var(--text-color) 4px, transparent 4px),
      /* radial-gradient(circle at 75% 20%, transparent 0, transparent 2px, var(--text-color) 3px, var(--text-color) 4px, transparent 4px), */
      radial-gradient(circle at 10% 60%, transparent 0, transparent 2px, var(--text-color) 3px, var(--text-color) 4px, transparent 4px),
      radial-gradient(circle at 90% 50%, transparent 0, transparent 2px, var(--text-color) 3px, var(--text-color) 4px, transparent 4px);
  width: 100%;
  height: 180%;
  top: 0;
  left: 0;
  position: absolute;
  /* animation: bubbles 3s linear infinite both, randomDelay 2s ease-in-out infinite; */
  animation: bubbles 3s linear infinite both;
}
@keyframes bubbles {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-66.666%);
  }
}
@keyframes randomDelay {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  /* 50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  } */
  100% {
    opacity: 1;
  }
}


/* .play-game-image:hover {
  filter: blur(0px); 
} */

@media (max-width: 992px) {
  .feature-banner .thumb {
    margin-top: 30px;
  }
}
@media (max-width: 768px) {
  .custom-button {
    padding: 12px 40px;  /* Reduced padding */
    font-size: 20px;  /* Smaller font size */
    gap: 10px;  /* Reduced gap between elements */
  }
  .play-game-image {
    border-radius: 15px;  /* Slightly reduced border-radius for tablets */
    filter: blur(3px);  /* Slightly reduced blur for tablets */
  }
}
@media (max-width: 480px) {
  .custom-button {
    padding: 10px 30px;  /* Further reduced padding */
    font-size: 18px;  /* Even smaller font size */
    gap: 8px;  /* Further reduced gap */
  }
  .play-game-image {
    border-radius: 10px;  /* Further reduced border-radius for small screens */
    filter: blur(2px);  /* Reduced blur for small screens */
  }
}