/* Movie Night Wall — static rebuild of movie-night.sourcetoad.com */

:root {
  --color-bg: #000;
  --color-text: #fff;
  --color-accent: #84bd00;
  --font-display: "Rum Raisin", sans-serif;
  --font-caption: "Roboto Condensed", sans-serif;
  --font-body: "Special Elite", cursive;
  --gutter: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 20px 100px;
  text-align: center;
  background: url("assets/hero.jpg") center center / cover no-repeat;
}

.hero__title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 13.5vw, 189px);
  line-height: 1.3;
  color: var(--color-text);
  text-shadow: 0 0 10px #000;
  /* matches the 20px widget spacing the original Elementor layout adds */
  margin-bottom: 20px;
}

/* "oh hi Mark" overlay — pinned over the title, pulsing, like the original */
.hero__hai {
  position: absolute;
  z-index: 1;
  top: 44px;
  left: 50%;
  width: 130%;
  max-width: 1481px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__hai img {
  display: block;
  width: 100%;
  height: auto;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  from, to { transform: scale3d(1, 1, 1); }
  50%      { transform: scale3d(1.05, 1.05, 1.05); }
}

/* ---------- Poster wall ---------- */

.wall {
  background: var(--color-bg);
  padding: var(--gutter) var(--gutter) 6px;
}

.wall__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 29px var(--gutter);
}

.poster {
  margin: 0;
  text-align: center;
}

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

.poster figcaption {
  margin-top: 15px;
  font-family: var(--font-caption);
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-text);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .wall__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  .hero { padding: 90px 16px 60px; }
  .hero__hai { top: 24px; width: 160%; }
  .wall__grid { grid-template-columns: repeat(3, 1fr); gap: 28px 14px; }
  .poster figcaption { margin-top: 10px; font-size: 15px; }
}

@media (max-width: 480px) {
  .wall__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__hai img { animation: none; }
}
