/* ============================================================
   Legión de las Sombras — Manifiesto & Hermandad Styles
   Pillars of zero-pressure, loot rules and leadership cards
   ============================================================ */

.guild-page {
  padding: var(--space-2xl) 0 var(--space-4xl);
  min-height: 80vh;
}

.guild-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.guild-header .section-subtitle {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-xs);
}

.guild-desc {
  max-width: 700px;
  margin: var(--space-md) auto 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: var(--lh-normal);
}

/* ── Pillars Grid ── */
.pillars-section {
  margin-bottom: var(--space-4xl);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.2);
}

.pillar-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(200, 155, 60, 0.12);
  line-height: 1;
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-bright);
  margin-bottom: var(--space-xs);
}

.pillar-text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}

/* ── Loot System Banner ── */
.loot-section {
  margin-bottom: var(--space-4xl);
  background: linear-gradient(135deg, rgba(32, 10, 15, 0.9) 0%, rgba(14, 5, 7, 0.96) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.loot-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--cyan-primary), transparent);
}

.loot-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.loot-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--gold-bright);
}

.loot-header p {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-top: var(--space-xs);
}

.loot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
}

.loot-item {
  background: rgba(18, 7, 10, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.loot-item-icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-xs);
}

.loot-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cyan-light);
  margin-bottom: var(--space-xs);
}

.loot-item p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}

/* ── Officers Leadership Grid ── */
.officers-section {
  margin-bottom: var(--space-3xl);
}

.officers-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--text-primary);
  margin-bottom: var(--space-2xl);
}

.officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.officer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-normal);
}

.officer-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.25);
}

.officer-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(200, 155, 60, 0.3);
  object-fit: cover;
}

.officer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.officer-role {
  font-size: var(--fs-xs);
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
  font-weight: var(--fw-semibold);
}

.officer-desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

/* Responsive */
@media (max-width: 768px) {
  .loot-section {
    padding: var(--space-xl) var(--space-lg);
  }
}
