
@keyframes slideLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-slideLoop {
  animation: slideLoop 30s linear infinite;
}

body {
  overflow-x: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: moveStar linear infinite;
}

@keyframes moveStar {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

.animate-fadeInUp {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.animate-fadeInUp.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effekte für Teamkarten */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.team-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Neue Animationen für Toast */
.toast-enter {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}
.toast-enter-active {
  opacity: 1;
  transform: translateY(0);
}
.toast-exit {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}
.toast-exit-active {
  opacity: 0;
  transform: translateY(-20px);
}

/* Section Animation + Loader */
.section-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.section-transition.show {
  opacity: 1;
  transform: translateY(0);
}

#loader-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  display: none;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #9333ea;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
body.logout-zoom {
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

#logout-icon {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0;
  font-size: 3rem;
  color: #f87171;
  transition: opacity 0.4s ease;
}

#logout-icon.show {
  opacity: 1;
}
#splash-screen {
  position: fixed;
  inset: 0;
  background-color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

#splash-screen.hide {
  opacity: 0;
  pointer-events: none;
}

.splash-content {
  text-align: center;
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.splash-letter {
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 0.1s forwards;
  color: #a78bfa; /* Helles Lila */
  text-shadow: 0 0 8px rgba(147, 51, 234, 0.5); /* Glow-Effekt */
}
img {
  display: block;
  width: 100px;   /* für Test */
  height: 100px;  /* für Test */
  opacity: 1 !important;
  visibility: visible !important;
}


/* Button Animationen */
.button-animate {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button-animate:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}
.button-animate:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}
#unban-request-list li {
  transition: all 0.3s ease;
  border: 1px solid #4b5563; /* Tailwind gray-600 */
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}


/* Modal für Grund-Eingabe */
#status-reason-modal { display: none; }
#status-reason-modal.show { display: flex; 
}
#team-refresh-message {
  transition: opacity 0.3s ease;
}
@keyframes neonBorderAnimation {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.team-card.neon-border {
  position: relative;
  z-index: 0;
}

.team-card.neon-border::before {
  content: "";
  position: absolute;
 top: -6px;
left: -6px;
right: -6px;
bottom: -6px;
padding: 4px;

  z-index: -1;
  border-radius: 1.5rem;
  background: linear-gradient(
    270deg,
    var(--neon-color),
    #ffffff,
    var(--neon-color),
    #ffffff
  );
  background-size: 600% 600%;
  animation: neonBorderAnimation 8s ease-in-out infinite;

  /* 👉 HIER das neue Filter */
  filter: drop-shadow(0 0 8px var(--neon-color)) drop-shadow(0 0 20px var(--neon-color)) blur(2px);

  /* Maskierung: Nur Außenlinie sichtbar */
  mask: 
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  padding: 2px;
}
@keyframes flyInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.team-card h3 {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.card-animate-in {
  opacity: 0;
  animation: flyInUp 0.6s ease-out both;
  will-change: transform, opacity;
}
/* Hover: nur Schatten + leicht skalieren, NICHT den Rahmen animieren */
.team-card:hover {
  box-shadow:
    0 0 10px var(--neon-color),
    0 0 20px var(--neon-color),
    0 0 40px var(--neon-color),
    0 0 60px var(--neon-color);
  transform: scale(1.05);
  transition: transform 0.3s ease;
}