/* Dark comic-book theme. Each card gets its color from the --hero variable. */
:root {
  --bg: #0e0f14;
  --surface: #1a1c24;
  --text: #f2f2f2;
  --muted: #b4b8c5;
  --gold: #ffc940;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.banner {
  padding: 3rem 1rem 2rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(198, 40, 40, 0.35), transparent),
    repeating-linear-gradient(45deg, #15161d 0 12px, #12131a 12px 24px);
  border-bottom: 4px solid var(--gold);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

h1 {
  margin: 0.25rem 0;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 3px 3px 0 #c62828;
}

.tagline {
  margin: 0;
  color: var(--muted);
}

main {
  width: min(1100px, 100% - 2rem);
  margin: 2.5rem auto;
}

.team {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card {
  flex: 1 1 280px;
  position: relative;
  padding: 1.5rem;
  border-radius: 14px;
  background: var(--surface);
  border-top: 6px solid var(--hero);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.emblem {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--hero);
  border: 3px solid var(--gold);
  font-weight: 800;
  font-size: 1.3rem;
}

.hero-card h2 {
  margin: 1rem 0 0;
  font-size: 1.5rem;
}

.real-name {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-style: italic;
}

.hero-card p {
  color: var(--muted);
}

.power {
  margin-bottom: 0;
  padding-top: 0.75rem;
  border-top: 1px solid #2b2e3a;
}

.power span {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  background: var(--hero);
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-card {
    transition: none;
  }

  .hero-card:hover {
    transform: none;
  }
}

/* Thor feature: original CSS lightning and a geometric hammer, no borrowed image. */
.site-nav {
  background: #102c43;
  color: #fff;
  padding: 1rem;
}

.site-nav ul,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

.banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: left;
  min-height: 330px;
  padding: 5rem max(1.5rem, calc((100% - 1100px) / 2));
  background:
    linear-gradient(135deg, transparent 48%, #b3dafa55 49%, #b3dafa55 50%, transparent 51%),
    linear-gradient(145deg, transparent 68%, #def5ff66 69%, #def5ff66 70%, transparent 71%),
    linear-gradient(100deg, #0e2033, #203c58);
}

.banner::before,
.banner::after {
  content: "";
  position: absolute;
  z-index: -1;
  transform: rotate(-20deg);
  opacity: 0.28;
}

.banner::before {
  width: 150px;
  height: 78px;
  top: 64px;
  right: 12%;
  border: 5px solid #b5c6d2;
  border-radius: 10px;
  background: linear-gradient(135deg, #e7eef3, #819baa);
  box-shadow: 0 0 55px #c2eaff44;
}

.banner::after {
  width: 25px;
  height: 160px;
  top: 127px;
  right: calc(12% + 47px);
  background: repeating-linear-gradient(0deg, #694a38 0 12px, #b9a28c 12px 15px);
  border: 3px solid #d5dce0;
  border-radius: 4px;
}

.featured-copy {
  max-width: 62ch;
}

.featured-copy h1 {
  margin: 0 0 1rem;
  font-size: 40px;
  line-height: 1.15;
  text-shadow: 2px 2px 0 #0e2033;
}

.featured-copy .tagline {
  max-width: 48ch;
  margin: 0;
  color: #edf5fd;
  font-size: 1.1rem;
  text-wrap: pretty;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: #c4e4ff;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .banner::before,
  .banner::after {
    opacity: 0.2;
    right: 8%;
  }
}
