@keyframes rainbowText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.rainbow {
  background: linear-gradient(270deg, red, orange, yellow, green, cyan, blue, violet);
  background-size: 1400% 1400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowText 5s linear infinite;
}

body {
  margin: 0;
  background-color: black;
  color: white;
  font-family: monospace;
  overflow-x: hidden;
}

.title {
  text-align: center;
  font-size: 2.5em;
  margin-top: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 30px;
}

.card {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  color: white;
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px lime;
}

.card img {
  width: 60%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

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

/* CLICK TO BEGIN OVERLAY */
#click-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
}

#click-overlay span {
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 0 20px purple;
  font-family: monospace;
}


