.wp-multiverse-showcase {
  padding: 56px 12px 62px;
  border-top: 1px solid rgba(124, 58, 237, .34);
  border-bottom: 1px solid rgba(34, 211, 197, .24);
  background:
    radial-gradient(ellipse at 12% 22%, rgba(124, 58, 237, .12), transparent 38%),
    radial-gradient(ellipse at 86% 80%, rgba(34, 211, 197, .08), transparent 36%),
    linear-gradient(180deg, rgba(11, 15, 26, .22), rgba(11, 15, 26, .78));
}

.wp-multiverse-heading {
  max-width: 820px;
  margin: 0 auto 26px;
  text-align: center;
}

.wp-multiverse-heading h2 {
  margin: 7px 0 9px;
  font-size: clamp(1.8rem, 4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.wp-multiverse-heading p {
  margin: 0;
  color: #aebbd0;
  font-size: 1.02rem;
}

.wp-multiverse-controls {
  display: flex;
  justify-content: center;
  margin: 16px 0 22px;
}

.wp-multiverse-motion {
  border: 1px solid rgba(185, 200, 224, .28);
  border-radius: 999px;
  padding: 8px 14px;
  color: #e8eef8;
  background: rgba(17, 24, 39, .88);
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
}

.wp-multiverse-motion:hover,
.wp-multiverse-motion:focus-visible {
  border-color: #22d3c5;
  outline: 2px solid rgba(34, 211, 197, .28);
  outline-offset: 2px;
}

.wp-civ-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  max-width: 1200px;
  margin: 0 auto;
}

.wp-civ-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(185, 200, 224, .24);
  border-radius: 18px;
  background: #0b1220;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .34);
  isolation: isolate;
}

.wp-civ-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 12%;
  left: 12%;
  height: 2px;
  content: "";
  background: var(--civ-accent);
  box-shadow: 0 0 18px var(--civ-accent);
}

.wp-civ-card--mankind { --civ-accent: #22d3c5; }
.wp-civ-card--machines { --civ-accent: #60a5fa; }
.wp-civ-card--aliens { --civ-accent: #a78bfa; }

.wp-civ-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #080d18;
}

.wp-civ-media video,
.wp-civ-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.wp-civ-media video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wp-civ-shade {
  position: absolute;
  z-index: 1;
  inset: 28% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 8, 16, .2) 35%, rgba(4, 8, 16, .92) 100%);
}

.wp-civ-copy {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(18px, 2.5vw, 30px);
  left: clamp(16px, 2.4vw, 28px);
  pointer-events: none;
}

.wp-civ-eyebrow {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--civ-accent);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.wp-civ-copy h3 {
  margin: 0;
  color: #f5f7fb;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: .04em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, .72);
}

.wp-civ-copy p {
  max-width: 27ch;
  margin: 8px 0 0;
  color: #d3dce9;
  font-size: .93rem;
  line-height: 1.42;
  text-shadow: 0 1px 9px rgba(0, 0, 0, .9);
}

@media (max-width: 760px) {
  .wp-multiverse-showcase { padding: 42px 4px 46px; }
  .wp-civ-grid {
    display: grid;
    grid-auto-columns: minmax(78vw, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(34, 211, 197, .48) rgba(17, 24, 39, .75);
    -webkit-overflow-scrolling: touch;
  }
  .wp-civ-card { scroll-snap-align: center; }
  .wp-civ-media { max-height: 74vh; }
}

@media (prefers-reduced-motion: reduce) {
  .wp-civ-grid { scroll-behavior: auto; }
  .wp-multiverse-motion { transition: none; }
}
