@keyframes softGlow {
  0% {
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2),
                 0 0 12px rgba(167, 139, 250, 0.35);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.25),
                 0 0 18px rgba(167, 139, 250, 0.5);
  }
}

@keyframes subtleScoreGlow {
  0% {
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.25),
                 0 0 10px rgba(74, 222, 128, 0.4);
  }
  100% {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3),
                 0 0 14px rgba(74, 222, 128, 0.5);
  }
}



.glow-text {
  animation: softGlow 5s ease-in-out infinite alternate;
}

#points-earned {
  animation: subtleScoreGlow 1.2s ease-in-out 2 alternate;
}

.btn-primary {
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 8px rgba(124, 58, 237, 0.35);
}
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.35);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 8px rgba(59, 130, 246, 0.35);
}
.btn-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.player-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(79, 70, 229, 0.2));
  padding: 1rem;
  border-radius: 0.75rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.player-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}



input[type="range"] {
  appearance: none;
  width: 100%;
  height: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(124, 58, 237, 0.25);
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: #7c3aed;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(124, 58, 237, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Style form inputs */
input[type="text"] {
  color: #ffffff;
}

input[type="text"]::placeholder {
  color: rgba(216, 180, 254, 0.85);
}

/* Custom scrollbar for better visibility */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: #2e1065;
}

::-webkit-scrollbar-thumb {
  background-color: #7c3aed;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
