
/* ===== COLORFUL GLOW THEME ===== */
.glow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 10px;
}

.glow-card {
  position: relative;
  height: 110px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  box-shadow:
    0 0 15px rgba(0, 153, 255, 0.4),
    0 0 30px rgba(0, 153, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* glow border */
.glow-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    #ff0080,
    #7928ca,
    #00c6ff,
    #ff0080
  );
  background-size: 300%;
  filter: blur(10px);
  opacity: 0.7;
  animation: glowMove 4s linear infinite;
  z-index: 0;
}

/* inner layer */
.glow-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(180deg, #0f172a, #020617);
  border-radius: 16px;
  z-index: 1;
}

.glow-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.glow-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd700, #ff8c00);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 8px;
  animation: pulse 2s infinite;
}

.glow-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* hover */
.glow-card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 0 25px rgba(0, 255, 255, 0.7),
    0 0 60px rgba(0, 255, 255, 0.4);
}

/* active lobby */
.glow-active .glow-icon {
  background: radial-gradient(circle, #00ff99, #00cc66);
  box-shadow: 0 0 20px #00ff99;
}

/* animations */
@keyframes glowMove {
  0% { background-position: 0%; }
  100% { background-position: 300%; }
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0.4); }
  50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(255,255,255,0.9); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0.4); }
}

@media (max-width: 768px) {
  .glow-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
