/* Assassin Card & Grid */
/* ==================== ASSASSIN CARD STYLES ==================== */
.assassin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.assassin-card {
  display: block;
  background: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
}

.assassin-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.assassin-card:hover::before {
  opacity: 1;
}

.assassin-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.assassin-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow:
    0 25px 50px rgba(0, 210, 255, 0.2),
    0 0 30px rgba(0, 210, 255, 0.1);
  border-color: var(--animus-blue);
}

.assassin-card img {
  width: 100%;
  height: auto;
  min-height: 320px;
  object-fit: contain;
  background: var(--bg-black);
  transition: transform 0.4s ease;
  position: relative;
  z-index: 0;
}

.assassin-card:hover img {
  transform: scale(1.1);
}

.assassin-info {
  padding: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.assassin-card h3 {
  font-size: 1.6rem;
  color: var(--text-white);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.assassin-era {
  font-size: 0.95rem;
  color: var(--animus-blue);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.assassin-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  padding: 0;
  text-align: left;
}

.assassin-stats {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 4px; /* Harder edge for Animus */
  font-size: 0.9rem;
  color: var(--text-offwhite);
  transition: all 0.3s ease;
}

.stat-badge i {
  color: var(--animus-blue);
  font-size: 1rem;
  text-shadow: 0 0 5px var(--animus-glow);
}

.assassin-card:hover .stat-badge {
  background: rgba(0, 210, 255, 0.2);
  border-color: rgba(0, 210, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

/* ==================== ANIMUS ERROR PANEL ==================== */
.animus-error-panel {
  background: rgba(139, 0, 0, 0.8); /* Blood red tint */
  border: 2px solid var(--bright-red);
  box-shadow: var(--templar-shadow);
  color: var(--text-white);
  padding: 3rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 5rem auto;
  text-align: center;
  backdrop-filter: blur(10px);
}
