html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Lucida Console', monospace;
  background: #000000;
  margin: 0;
  scroll-behavior: smooth;
}

    .logo {
    display: block;
    margin: 20px auto; 
    width: 300px;
    height: 300px;
    }

    h1 {
  text-align: center;
  font-size: 75px;
  background: linear-gradient(45deg, #f70069, #4b0055); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  z-index: 1;
}
h3 {
  text-align: center;
  background: linear-gradient(45deg, #f70069, #4b0055); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  z-index: 1;
}

    .game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 200px);
  justify-content: center; /* Centers the grid if there's extra space */
  gap: 20px;
  margin-top: 30px;
}

    .game-card {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative; /* Needed for title positioning */
}



.game-card:hover {
  transform: scale(1.03);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.game-card:hover img {
  filter: blur(4px) brightness(0.7);
}

.game-card-title {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 10px;
  color: white;
  font-weight: bold;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}



.game-card:hover .game-card-title {
  opacity: 1;
}

    a {
      text-decoration: none;
      color: inherit;
    }
 #particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none; 
}




#searchInput {
  display: block;
  margin: 0 auto;
  margin-top: 20px;
  padding: 12px 20px;
  width: 300px;
  font-size: 16px;
  font-family: 'Lucida Console', monospace;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid transparent;
  border-radius: 8px;
  outline: none;
  text-align: center;
  background-clip: padding-box;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 8px rgba(247, 0, 105, 0.4);
}

#searchInput:focus {
  border: 2px solid #f70069;
  box-shadow: 0 0 12px #f70069;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f70069, #4b0055);
  border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff147e, #6d007a);
}

 .counter {
  text-align: center;
  font-size: 16px;
  background: linear-gradient(45deg, #f70069, #4b0055); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  z-index: 1;
}

