body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #0b1c2d, #081421);
  color: #e6f1ff;
}

header {
  text-align: center;
  padding: 30px 15px;
  background: #06101a;
  border-bottom: 2px solid #1f3b57;
}

header h1 {
  margin: 0;
  font-size: 2.2rem;
  color: #4fc3f7;
}

header p {
  margin-top: 8px;
  color: #b3cde0;
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.level {
  background: #0e2439;
  border: 1px solid #1f3b57;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  text-align: center;
}

.level h2 {
  margin-top: 0;
  color: #ffd54f;
}

.members {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.member {
  background: #132f4c;
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #244766;
  min-width: 140px;
}

.member strong {
  display: block;
  margin-bottom: 5px;
  color: #81d4fa;
}

/* Forma piramidal */
.level.top { width: 30%; }
.level.level-2 { width: 45%; }
.level.level-3 { width: 60%; }
.level.level-4 { width: 75%; }
.level.level-5 { width: 90%; }

footer {
  text-align: center;
  padding: 20px;
  background: #06101a;
  border-top: 2px solid #1f3b57;
  color: #9fbad1;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .level.top,
  .level.level-2,
  .level.level-3,
  .level.level-4,
  .level.level-5 {
    width: 100%;
  }
}
