body {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  background-size: 600% 600%;
  animation: bgAnimation 30s ease infinite;
  color: white;
}

@keyframes bgAnimation {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.role-card {
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  overflow: hidden; /* biar crop pada bawah & sisi */
}

.role-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.role-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top center; /* Fokus pada bagian atas gambar */
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  filter: blur(5px); /* Menambahkan efek blur pada gambar */
  transition: filter 0.3s ease; /* Transisi halus untuk efek blur */
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.player-card {
  background-color: #1f1f2e;
  color: white;
  border: 1px solid #444;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.player-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.player-role-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
}

.player-info p {
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.modal-title {
  color: black !important;
}
