/* Custom styles for mc.dabla.de — supplements Tailwind CSS */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Prose-like styling for legal pages */
.prose-invert h2 {
  margin-top: 2rem;
}
.prose-invert p,
.prose-invert ul {
  line-height: 1.75;
}

/* Drop shadow for character renders */
.drop-shadow-2xl {
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
}

/* Flash message animation */
@keyframes flash-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
[class*="bg-red-900"],
[class*="bg-emerald-900"],
[class*="bg-slate-800"] {
  animation: flash-in 0.3s ease-out;
}

/* Pulse animation for online indicator */
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.animate-pulse {
  animation: pulse-green 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
