section#moradores {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  gap: 10px;
  padding: 30px 0;
  background-color: #0b0f19;
  color: white;
}

#members {
  width: 90%;
  overflow-x: auto;
  padding: 15px 5px;
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

#members::-webkit-scrollbar {
  height: 6px; 
}

#members::-webkit-scrollbar-track {
  background: transparent; 
}

#members::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2); 
  border-radius: 10px;
}

.member-card {
  min-width: 280px;
  height: 380px;
  background: linear-gradient(135deg, #1e1e24 0%, #111115 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.member-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.03);
}

.member-photo-container {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.5s ease;
}

.member-card:hover .member-photo {
  transform: scale(1.05);
}

.member-info {
  width: 100%;
  text-align: center;
  font-family: 'Inter', sans-serif, system-ui;
  margin-top: 16px;
}

.member-year {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a1a1aa; 
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.member-name {
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0 0 6px 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.member-course {
  font-size: 0.9rem;
  color: #94a3b8; 
  margin: 0;
  font-weight: 400;
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}