/* Character showcase */
.character-showcase {
  display: flex;
  
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#content-body .image-card {
  position: relative;
  display: flex;
  padding: 10px;
  
  font-size: 18px;
  color: white;
  
  background-color: rgba(51, 51, 51, 0.75);
  flex: 1 1 320px;
  max-width: 320px;
  min-height: 390px;
  
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  
  transition:
    transform 0.2s ease,
    background 0.25s ease,
    box-shadow 0.4s ease;
}

#content-body .image-card:hover {
  background: var(--card-hover);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  color: white;
}

.image-card img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.5));
}

.image-card-text {
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
}

.tooltip-text {
  position: absolute;
  bottom: -35px;
  left: 50%;
  padding: 5px 15px;
  z-index: 1;
  background: var(--card-hover);
  
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: white;
  
  transform: translateX(-50%);
  border-radius: 8px;
  
  opacity: 0;
  pointer-events: none;
  
  transition: opacity 0.05s ease-in-out;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  
  transform: translateX(-50%);
  opacity: inherit;
  
  border-width: 6px;
  border-style: solid;
  border-color:
    transparent
    transparent
    var(--card-hover)
    transparent;
}

.image-card:hover .tooltip-text {
  opacity: 1;
}