/* Film stills and posters used by the 550W fan-themed website. */

footer::after {
  content: "Fan-themed presentation. Film images belong to their respective copyright holders. Not an official movie website.";
}

.quantum-stage {
  width: min(570px, 100%);
  overflow: hidden;
  border-radius: 4px;
}

.quantum-stage::before {
  inset: 6%;
  background: radial-gradient(circle, rgba(83,179,200,.13), transparent 68%);
  filter: blur(18px);
}

.quantum-stage::after {
  inset: 7%;
  border-radius: 3px;
  border-color: rgba(162,210,221,.24);
  box-shadow: 0 18px 48px rgba(0,0,0,.4);
}

.quantum-stage .moss-core {
  left: 11%;
  top: 11%;
  width: 78%;
  height: 78%;
}

.quantum-stage .q-ring,
.quantum-stage .q-axis,
.quantum-stage .q-beam,
.quantum-stage .q-core,
.quantum-stage .moss-scanline {
  display: none;
}

.q-hud {
  z-index: 4;
  padding: 7px 9px;
  background: rgba(2,8,12,.84);
}

.directive-band {
  background:
    linear-gradient(90deg, rgba(2,7,12,.94), rgba(2,7,12,.58) 52%, rgba(2,7,12,.2)),
    linear-gradient(0deg, rgba(2,7,12,.45), transparent 48%),
    url("film-exosuit-scene.webp") 58% 62% / cover no-repeat;
}

.directive-band::before {
  background: linear-gradient(180deg, rgba(2,7,12,.05), rgba(2,7,12,.42));
}

.plan-card {
  background: linear-gradient(110deg, rgba(2,8,13,.94), rgba(2,8,13,.48));
}

.plan-card::before {
  opacity: .44;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.42) 35%, #000 100%);
}

.plan-card.move::before {
  background-image: url("film-engine-poster.webp");
  background-size: cover;
  background-position: 53% 32%;
  opacity: .42;
}

.plan-card.lunar::before {
  background-image: url("film-moonfall-poster.webp");
  background-size: cover;
  background-position: 56% 30%;
  opacity: .44;
}

.plan-card.ark::before {
  background-image: url("film-space-elevator.webp");
  background-size: cover;
  background-position: 32% 25%;
  opacity: .38;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.45) 34%, #000 100%);
}

.plan-card.digital::before {
  background:
    linear-gradient(90deg, transparent, rgba(2,8,13,.12)),
    url("moss-film-eye.webp") 80% 45% / auto 150% no-repeat;
  opacity: .44;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.36) 35%, #000 100%);
}

.film-gallery {
  padding-top: 40px;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.film-frame {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: var(--text-hi);
  background: #080f14;
  border: 1px solid rgba(170,216,226,.2);
  text-decoration: none;
}

.film-frame::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(1,5,8,.94));
  pointer-events: none;
}

.film-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transition: transform .35s ease, filter .35s ease;
}

.film-frame:nth-child(4) img { object-position: center 62%; }
.film-frame:hover img { transform: scale(1.035); filter: brightness(1.08); }
.film-frame:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.film-label {
  position: absolute;
  z-index: 1;
  right: 13px;
  bottom: 13px;
  left: 13px;
  display: grid;
  gap: 5px;
}

.film-label b { font-size: 15px; font-weight: 600; }
.film-label small {
  color: #c1d0d6;
  font: 8px/1.4 "Cascadia Mono", Consolas, monospace;
  letter-spacing: .08em;
}

@media (max-width: 980px) {
  .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .quantum-stage { width: min(420px, 100%); }
  .directive-band {
    min-height: 360px;
    background:
      linear-gradient(180deg, rgba(2,7,12,.48), rgba(2,7,12,.92)),
      url("film-exosuit-scene.webp") 56% 60% / cover no-repeat;
  }
  .film-grid { gap: 9px; }
  .film-label { right: 9px; bottom: 9px; left: 9px; }
  .film-label b { font-size: 13px; }
  .film-label small { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .film-frame img { transition: none; }
}
