:root {
  --steel: #0b0d12;
  --plate: #12161d;
  --line: rgba(255, 255, 255, 0.08);
  --footer: #8e97a8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: #f3f5f8;
  background-color: var(--steel);
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.035) 87.5%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.035) 87.5%),
    linear-gradient(30deg, rgba(0, 0, 0, 0.28) 12%, transparent 12.5%, transparent 87%, rgba(0, 0, 0, 0.28) 87.5%),
    linear-gradient(150deg, rgba(0, 0, 0, 0.28) 12%, transparent 12.5%, transparent 87%, rgba(0, 0, 0, 0.28) 87.5%),
    linear-gradient(60deg, rgba(255, 255, 255, 0.02) 25%, transparent 25.5%, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
    linear-gradient(60deg, rgba(0, 0, 0, 0.18) 25%, transparent 25.5%, transparent 75%, rgba(0, 0, 0, 0.18) 75%);
  background-size: 28px 48px;
  background-position:
    0 0,
    0 0,
    14px 24px,
    14px 24px,
    0 0,
    14px 24px;
}

.banner {
  background: #050608;
  line-height: 0;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
}

main {
  flex: 1;
}

.trailers {
  width: min(1120px, calc(100% - 2rem));
  margin: 2.25rem auto 3rem;
}

.trailers h2 {
  margin: 0 0 1.35rem;
  text-align: center;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e10600;
}

.trailers h2::after {
  content: "";
  display: block;
  width: 4.25rem;
  height: 3px;
  margin: 0.65rem auto 0;
  background: #1a6dff;
}

.trailer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}

.trailer-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 8, 0.72);
  color: var(--footer);
  text-align: center;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

footer p {
  margin: 0;
}
