@font-face {
  font-family: "Black Ops One";
  src: url("fonts/blackopsone-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body.legend-page {
  background: #1e1d1b;
  color: #d8cfbf;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.legend-hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
  background:
    radial-gradient(ellipse at 50% 42%, #2b2925 0%, #1e1d1b 72%);
  overflow: hidden;
}

.legend-hero::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.legend-frame {
  position: relative;
  z-index: 1;
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 32px 44px;
  border: 1px solid rgba(180, 97, 42, 0.55);
  outline: 1px solid rgba(211, 154, 74, 0.22);
  outline-offset: 7px;
  box-shadow: inset 0 0 48px rgba(0, 0, 0, 0.28);
}

.legend-hero h1 {
  font-family: "Black Ops One", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2.15rem, 8vw, 4.85rem);
  line-height: 1.12;
  color: #d8cfbf;
  letter-spacing: 0.04em;
  text-wrap: balance;
  text-shadow: 0 1px 0 #1e1d1b, 0 0 28px rgba(180, 97, 42, 0.22);
}

.legend-divider {
  width: 168px;
  height: 8px;
  margin: 28px auto 26px;
  background: repeating-linear-gradient(
    -45deg,
    #b4612a 0 10px,
    #1e1d1b 10px 18px
  );
  border: 1px solid #d39a4a;
  opacity: 0.9;
}

.legend-tbd {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #d39a4a;
  margin: 0;
}

@media (max-width: 540px) {
  .legend-hero {
    padding: 48px 16px;
  }
  .legend-frame {
    padding: 32px 18px 30px;
    outline-offset: 5px;
  }
  .legend-hero h1 {
    letter-spacing: 0.02em;
  }
  .legend-divider {
    width: 128px;
    margin: 22px auto 20px;
  }
}
