
/* ==================== MIEMBROS ==================== */
.members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

.royal-couple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.trusted-staff {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.member-card {
  background: rgba(15, 15, 20, 0.8);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 0, 54, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8B0000, #ff0036, #ffd700);
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 0, 54, 0.3);
  border-color: var(--gold);
}

.member-image {
  height: 320px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(255, 0, 54, 0.2);
}

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

.member-card:hover .member-image img {
  transform: scale(1.08);
}

.member-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  border: 2px solid;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.member-info {
  padding: 1.8rem;
  background: rgba(20, 15, 25, 0.9);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.member-info p{
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 1rem;
}
.member-info h3 {
  font-family: 'Playfair Display SC', serif;
  margin: 0 0 12px;
  font-size: 1.7rem;
  color: #ff0036;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(255, 0, 54, 0.2);
  padding-bottom: 8px;
}

.member-meta {
  display: flex;
  align-content: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.75rem;
}

.member-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 215, 0, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.member-meta i {
  color: var(--primary);
}

.member-lore {
  background: rgba(80, 0, 0, 0.15);
  border-left: 3px solid #8B0000;
  padding: 18px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  flex-grow: 1;
  font-size: 0.75rem;
}

.member-lore h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: #ffd700;
  text-align: center;
  gap: 8px;
}

.member-lore ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: none;
  font-size: 1rem;
}

.member-lore ul li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  position: initial;
  padding-left: 20px;
  line-height: 1.5;
}

.member-lore ul li::before {
  font-size: 0.95rem;
  left: 0;
  color: #C1121F;
  font-weight: bold;
}
