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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  opacity: 0.75;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── NAVIGATION ─── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
}

.nav-logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.6;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-social a {
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-social a:hover {
  opacity: 1;
}

.nav-social svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  background: #000;
  padding: 24px 32px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.mobile-menu a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-social {
  display: flex;
  gap: 20px;
}

.mobile-social a {
  opacity: 0.85;
}

.mobile-social svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ─── PAGE CONTENT ─── */

.page-content {
  padding-top: 64px;
}

/* ─── HERO ─── */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90%;
}

.hero-text h1 {
  font-size: clamp(18px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}

/* ─── SECTION ─── */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 32px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.platforms-columns {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 0 32px;
  align-items: start;
}

.platforms-columns .platform-grid {
  gap: 10px;
}

.platforms-columns .section {
  max-width: none;
  margin: 0;
  padding: 72px 0;
}

.section-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0 32px;
}

/* ─── HOMEPAGE ─── */

.home-announcement {
  text-align: center;
  padding: 80px 32px 48px;
}

.home-announcement h1 {
  font-size: clamp(22px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.2;
}

.films-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 1280px;
  margin: 0 auto;
}

.film-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
}

.film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.film-card:hover img {
  transform: scale(1.03);
}

.film-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background 0.3s;
}

.film-card:hover .film-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
}

.film-card-title {
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.film-card-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.film-card-single {
  grid-column: 1 / -1;
}

.watch-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 28px;
  border: 1px solid rgba(255,255,255,0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.watch-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  opacity: 1;
}

/* ─── FILM PAGE ─── */

.film-hero-wrap {
  position: relative;
}

.film-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.film-header {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
  padding: 72px 32px 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.film-hero-wrap .film-header {
  padding: 240px 32px 72px;
  position: relative;
}

.film-header-poster img {
  width: 100%;
  border-radius: 2px;
}

.film-header-info {
  padding-top: 8px;
}

.film-title {
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}

.film-synopsis {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

.film-meta {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.film-meta em {
  font-style: italic;
  color: rgba(255,255,255,0.7);
}

.film-laurel {
  margin-top: 28px;
}

.film-laurel img {
  height: 90px;
  width: auto;
  opacity: 0.9;
}

/* ─── PLATFORM GRID ─── */

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.platform-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.platform-link:hover {
  opacity: 0.7;
}

.platform-link img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.platform-link img.no-invert {
  filter: none;
}

/* Boxed platform-link card variant (used on film pages with platforms-columns) */
.platforms-columns .platform-link {
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0 12px;
  width: 130px;
  height: 52px;
  box-sizing: border-box;
}

.platforms-columns .platform-link img {
  width: 100%;
  height: auto;
  max-height: 28px;
}

/* ─── TRAILER LIGHTBOX ─── */

.trailer-thumb {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 28px;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  border-radius: 4px;
  overflow: hidden;
}

.trailer-thumb img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.trailer-thumb:hover img {
  transform: scale(1.02);
}

.trailer-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: background 0.2s;
}

.trailer-thumb:hover .trailer-play-btn {
  background: rgba(0,0,0,0.5);
}

.trailer-play-btn svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

.trailer-label {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  cursor: pointer;
}

.lightbox-inner {
  position: relative;
  width: 90vw;
  max-width: 1100px;
  z-index: 1;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #fff;
}

.lightbox-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.lightbox-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── STILLS GALLERY ─── */

.stills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.stills-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.stills-grid img:hover {
  opacity: 0.8;
}

/* ─── POSTER FULL ─── */

.poster-full {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ─── SAVE THIS DOG ─── */

.std-hero {
  position: relative;
}

.std-hero img {
  width: 100%;
  max-height: 65vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

.std-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.std-hero-title {
  font-size: clamp(24px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ─── MORE PAGE ─── */

.more-section {
  padding: 72px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.more-section + .more-section {
  padding-top: 0;
}

.coming-soon-block {
  text-align: center;
  padding: 80px 32px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── FOOTER ─── */

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 40px auto 0;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-social {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

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

  .film-card-single {
    grid-column: auto;
  }

  .film-header {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
  }

  .film-header-poster {
    max-width: 280px;
    margin: 0 auto;
  }

  .platforms-columns {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .platforms-columns .section {
    padding: 48px 0;
  }

  .stills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 48px 24px;
  }

  .platform-grid {
    gap: 16px;
  }

  .platform-link img {
    height: 28px;
  }

  .platforms-columns .platform-link img {
    max-height: 28px;
  }

  .site-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 32px 24px;
  }

  .nav-inner {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .stills-grid {
    grid-template-columns: 1fr;
  }
}
