/* Flicker Link */
.flicker-link {
  animation: flicker 1.5s infinite;
}
@keyframes flicker {
  0%, 100% { text-shadow: 0 0 8px #00ff00; }
  50% { text-shadow: 0 0 12px #00ff00, 0 0 20px #00ff00; }
  75% { text-shadow: 0 0 6px #00ff00; }
}

/* Spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 1s ease-out forwards;
}

.player-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.player-entry {
  display: flex;
  align-items: center;
  gap: 1em;
  background-color: #111;
  border: 1px solid #00ffcc;
  border-radius: 6px;
  padding: 0.75em 1em;
  margin-bottom: 0.5em;
  opacity: 0;
  animation: fadeFlicker 1.2s ease-out forwards;
}

.player-avatar {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0,255,255,0.3);
}

.player-name {
  font-weight: bold;
  color: #00ffcc;
  text-shadow: 0 0 6px #00ffcc;
  font-family: 'Minecraftia', sans-serif;
}

@keyframes fadeFlicker {
  0% { opacity: 0; transform: translateY(10px); }
  50% { opacity: 0.5; text-shadow: 0 0 2px #00ffcc; }
  100% { opacity: 1; transform: translateY(0); text-shadow: 0 0 6px #00ffcc; }
}

.discord-widget-container {
  max-width: 400px;
  margin: 2rem auto;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #00ffcc;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,255,255,0.2);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
}

.discord-widget-container:hover {
  transform: scale(1.02);
}

.discord-widget-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 8px;
}