@font-face {
  font-family: "Headliner";
  src: url("../fonts%20/HeadlinerNo.45%20DEMO.ttf") format("truetype");
  font-display: swap;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap");

:root {
  --yellow: #f6ea00;
  --blue-copy: #ebf3ff;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Headliner", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  background: #060035;
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

.poster {
  height: 100dvh;
  padding: clamp(1rem, 2.2vh, 2.2rem) clamp(1.2rem, 3vw, 3.6rem) clamp(1rem, 2.2vh, 2rem);
  background: url("../background.png") center center / 100% 100% no-repeat;
  overflow: hidden;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
}

.logo-link {
  display: block;
}

.logo-mark {
  width: min(100%, 300px);
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2.25rem);
  text-align: center;
}

.main-nav a,
.register-button {
  color: var(--yellow);
  font-size: clamp(0.95rem, 1.85vw, 1.9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.register-button:hover,
.logo-link:hover {
  opacity: 0.85;
}

.main-nav .is-active {
  color: #ffffff;
}

.register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.35rem 1rem 0.2rem;
  background: var(--yellow);
  color: #060035;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(1.2rem, 2vw, 3rem);
  align-items: stretch;
  margin-top: clamp(1.2rem, 3vh, 3.2rem);
}

.gallery-area {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.3rem, 1vw, 1rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.35rem, 0.7vw, 0.9rem);
  flex: 1;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-item-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: clamp(220px, 28vh, 330px);
}

.gallery-item-tall {
  min-height: clamp(106px, 13.4vh, 158px);
}

.gallery-item:not(.gallery-item-featured):not(.gallery-item-tall) {
  min-height: clamp(100px, 12.2vh, 148px);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 4.9rem;
  height: 4.9rem;
  border: 4px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;
  font-size: 2rem;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.gallery-arrow {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.5rem, 2.3vw, 2.4rem);
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem;
}

.copy-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border: 3px solid var(--yellow);
  padding: clamp(0.9rem, 1.6vh, 1.3rem) clamp(1rem, 1.4vw, 1.65rem);
  background: linear-gradient(180deg, rgba(20, 102, 173, 0.18), rgba(9, 34, 86, 0.25));
  color: var(--blue-copy);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1.25rem);
  font-weight: 500;
  line-height: 1.14;
}

.copy-panel p {
  margin: 0 0 clamp(0.8rem, 1.5vh, 1.15rem);
}

.stats-block {
  margin-top: clamp(1rem, 1.8vh, 1.6rem);
  color: #ffffff;
  line-height: 1.06;
}

.stats-emphasis {
  margin-top: 0.35rem;
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.lightbox img {
  max-width: min(1200px, 100%);
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2.5rem;
}

.lightbox-nav {
  font-size: 2.75rem;
  padding: 0.5rem;
}

@media (max-width: 1300px) {
  body {
    overflow: auto;
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .poster {
    height: auto;
    min-height: 100vh;
    padding: 1.25rem;
  }

  .gallery-area {
    gap: 0.2rem;
  }

  .gallery-grid {
    gap: 0.5rem;
  }

  .gallery-item-featured {
    min-height: 220px;
  }

  .gallery-item-tall,
  .gallery-item:not(.gallery-item-featured):not(.gallery-item-tall) {
    min-height: 120px;
  }

  .copy-panel {
    font-size: 1rem;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  .poster {
    padding: 1rem 1rem 1.25rem;
    background: url("../background.png") center center / cover no-repeat;
  }

  .logo-mark {
    width: min(100%, 240px);
  }

  .main-nav a,
  .register-button {
    font-size: 1.1rem;
  }

  .register-button {
    min-height: 2.6rem;
    padding: 0.25rem 0.8rem 0.15rem;
  }

  .content-grid {
    gap: 1.25rem;
    margin-top: 1.25rem;
  }

  .gallery-area {
    display: block;
  }

  .gallery-arrow {
    display: none;
  }

  .gallery-grid {
    gap: 0.45rem;
  }

  .gallery-item-featured {
    min-height: 170px;
  }

  .gallery-item-tall,
  .gallery-item:not(.gallery-item-featured):not(.gallery-item-tall) {
    min-height: 92px;
  }

  .play-badge {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.25rem;
    border-width: 3px;
  }

  .copy-panel {
    padding: 0.85rem;
    font-size: 0.92rem;
  }
}
