/* Universal mobile stacking */
@media (max-width: 600px) {
  main,
  section,
  .films-page,
  .film-block,
  .hero,
  .film-slider,
  .film,
  .film__trailer,
  .film__poster,
  .film__video,
  .page-intro,
  #casting,
  #join {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 auto 20px !important;
    gap: 12px !important;
  }
  img,
  iframe,
  video {
    width: 100% !important;
    max-width: 98vw !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
}
/* Copyright always red */
.copyright-red {
  color: #ff0000 !important;
}
/* HERO IMAGE IG BADGE ONLY */
.hero__img-wrap .ig-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #000;
  border: 1px solid red;
  color: red;
  width: 92px;
  height: 28px;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 999px;
  text-decoration: none;
  z-index: 10;
  transition: box-shadow 0.2s;
}

.hero__img-wrap .ig-badge svg {
  stroke: red;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  display: block;
}

.hero__img-wrap .ig-badge span {
  color: red;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 0.5px;
  display: inline;
  white-space: nowrap;
}

.hero__img-wrap .ig-badge:hover {
}
/* --- IG BADGE OVERRIDE FOR HERO IMAGES --- */
.ig-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #000;
  border: 1px solid red;
  color: red;
  width: 92px;
  height: 28px;
  font-size: 11px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 999px;
  text-decoration: none;
  z-index: 10;
  transition:
    box-shadow 0.2s,
    filter 0.2s;
}

.ig-badge svg {
  stroke: red;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  display: block;
}

.ig-badge:hover {
}

.ms-footer-ig:hover,
.ig-badge:hover,
.ig-badge--footer:hover {
}

.ms-footer-ig:hover,
.ig-badge:hover,
.ig-badge--footer:hover {
}
/* Footer Styles (shared) */
.ms-footer {
  width: 100%;
  margin: 18px auto 0;
  padding: 18px 0 22px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 13px;
  color: #ff0000;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Unified Instagram Badge Style */
.ms-footer-ig,
.ig-badge,
.ig-badge--footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  border: 1px solid #ff0000;
  color: #ff0000;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 12px;
  transition: 0.3s ease;
  width: fit-content;
}

.ms-footer-ig svg,
.ig-badge svg {
  stroke: #ff0000;
}

.ms-footer-ig:hover,
.ig-badge:hover,
.ig-badge--footer:hover {
}

.ms-footer p {
  margin: 0;
  color: #ff0000;
}
/* ==============================
   GLOBAL
============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;
  color: red;
  padding-top: 4px;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p,
a,
span,
button {
  color: red;
}

a {
  text-decoration: none;
}

/* ==============================
   HEADER + TITLE + HAMBURGER
============================== */

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  background: #000;
  border-bottom: 1px solid rgba(255, 0, 0, 0.4);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.site-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  padding-right: 95px;
  color: red;
}

/* hamburger button on the right */
.nav-toggle {
  position: absolute;
  right: 14px;
  top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #000;
  border: 1px solid rgba(255, 0, 0, 0.5);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-toggle__bars span {
  width: 18px;
  height: 2px;
  background: red;
  border-radius: 999px;
}

.nav-toggle__label {
  font-size: 0.75rem;
  font-weight: bold;
  color: red;
}

/* glass slide-down nav */
.nav-menu {
  position: absolute;
  top: 60px;
  right: 20px;
  background: #000;
  border: 1px solid rgba(255, 0, 0, 0.5);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.nav-menu a {
  font-weight: bold;
}

/* open state */
.nav-menu.open {
  max-height: 450px;
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   HERO (3 COLUMNS)
============================== */

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 16px;
  padding: 16px;
  max-width: 1150px;
  margin: 30px auto;
}

.hero__col {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* wrapper so IG badge can sit on top */
.hero__img-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 12px;
  overflow: visible;
}

/* KS & RA images */
.hero__col--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  display: block;
}

/* center panel */
.hero__panel {
  width: 100%;
  background: #000;
  border: 2px solid red;
  border-radius: 12px;
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.hero__logo {
  width: 110px;
  max-width: 60%;
  margin: 0 auto 12px;
}

.hero__tagline {
  font-size: 0.9rem;
}

/* mobile: stack hero */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    max-width: 98vw;
    margin: 10px auto 30px;
    padding: 8px;
    gap: 10px;
  }
  .hero__img-wrap {
    height: 320px;
    min-height: 180px;
    max-height: 60vw;
    overflow: visible;
  }
  .hero__col--image img {
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
  .hero__panel {
    padding: 10px 6vw 16px;
  }
}

@media (max-width: 600px) {
  header {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    min-height: 48px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
  .site-title {
    font-size: 18px;
    padding-right: 0;
  }
  .nav-toggle {
    position: absolute;
    right: 14px;
    top: 8px;
    padding: 6px 12px;
  }
  .nav-menu {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 96vw;
    max-width: 500px;
    padding: 18px 10px;
    border-radius: 18px;
    font-size: 15px;
    background: #000 !important;
    border: 1px solid rgba(255, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      max-height 0.3s ease,
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .nav-menu a {
    font-size: 1.15rem;
    font-weight: bold;
    padding: 16px 0;
    border-radius: 8px;
    color: red;
    background: transparent;
    text-align: center;
    transition: background 0.2s;
    margin: 0 4px;
    min-width: 120px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .nav-menu a:active,
  .nav-menu a:focus,
  .nav-menu a:hover {
    background: rgba(255, 0, 0, 0.08);
    color: #ff0000;
  }
  .hero__panel {
    padding: 8px 2vw 12px;
  }
  .film-slider {
    flex-direction: column;
    gap: 6px;
    padding: 0 2vw;
  }
  .film-slider__btn {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
  .film__poster {
    width: 100%;
    max-width: 220px;
  }
  .film__trailer iframe,
  .film__video {
    max-width: 98vw;
    min-width: 180px;
  }
}

/* ==============================
   IG BADGE (NEON FOLLOW)
============================== */

.ig-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000;
  border: 1px solid red;
  color: red;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  z-index: 2;
  transition: 0.3s ease;
}

.ig-badge.neon {
  box-shadow:
    0 0 8px red,
    0 0 15px red;
}

.ig-badge.neon:hover {
  box-shadow:
    0 0 15px #ff1c1c,
    0 0 30px #ff1c1c;
  transform: translateY(-1px);
}

/* fake SVG icon via data URI */
.ig-icon-svg {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='black' stroke='red' stroke-width='25' d='M224 202.66A53.34 53.34 0 1 0 277.34 256 53.38 53.38 0 0 0 224 202.66Zm124.71-41a54 54 0 1 0 54 54 54 54 0 0 0-54-54ZM398.8 80A93.36 93.36 0 0 0 368 69.26C331.6 64 224 64 224 64S116.4 64 80 69.26A93.36 93.36 0 0 0 49.2 80a93.78 93.78 0 0 0-34 34C9.94 150.6 8 224 8 224s1.94 73.4 7.26 109.8a93.78 93.78 0 0 0 34 34A93.36 93.36 0 0 0 80 382.74C116.4 388 224 388 224 388s107.6 0 144-5.26a93.36 93.36 0 0 0 30.8-10.74 93.78 93.78 0 0 0 34-34C438.06 297.4 440 224 440 224s-1.94-73.4-7.26-109.8a93.78 93.78 0 0 0-34-34ZM224 338a82 82 0 1 1 82-82 82 82 0 0 1-82 82Z'/></svg>");
}

@media (max-width: 600px) {
  .ig-badge {
    font-size: 0.65rem;
    padding: 5px 8px;
    top: 8px;
    right: 8px;
  }
}

/* ==============================
   BUTTONS
============================== */

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.btn--light {
  background: #000;
  border: 1px solid red;
}

/* ==============================
   FEATURED FILMS SLIDER
============================== */

#films {
  padding: 40px 16px;
  text-align: center;
}

#films h2 {
  margin-bottom: 20px;
}

.film-slider {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

@media (max-width: 600px) {
  .film-slider {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100vw !important;
    gap: 18px !important;
    overflow-x: hidden !important;
  }
  .film__poster,
  .film__video {
    width: 100% !important;
    max-width: 98vw !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .film__poster-wrap img,
  video {
    width: 100% !important;
    max-width: 98vw !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
}

.film-slider__track {
  flex: 1;
  overflow: hidden;
}

/* arrows */
.film-slider__btn {
  background: #000;
  color: red;
  border: 1px solid red;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* each slide */
.film {
  display: none;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.film-slide--active {
  display: flex;
}

/* poster side */
.film__poster {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.film__poster-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.film__poster-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
}

/* clickable tubi badge */
.film-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.85);
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid red;
}

/* description */
.film-desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* trailer side */
.film__trailer {
  flex: 1;
  max-width: 640px;
}

/* trailer button */
.trailer-btn {
  background: #000;
  border: 1px solid red;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 8px;
}

/* trailer iframe */
.film__trailer iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid rgba(255, 0, 0, 0.5);
}

/* mobile films: stack + bigger trailers */
@media (max-width: 768px) {
  .film {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .film__poster {
    width: 100%;
    max-width: 320px;
  }

  .film__trailer {
    width: 100%;
    max-width: 100%;
  }

  .film__trailer iframe {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: block;
  }
}

/* ==============================
   CASTING + JOIN
============================== */

#casting,
#join {
  padding: 0 20px;
  text-align: center;
}

#casting p,
#join p {
  max-width: 700px;
  margin: 10px auto 0;
  line-height: 1.6;
}

/* ==============================
   FOOTER
============================== */

footer {
  text-align: center;
  padding: 20px;
  background: #000;
  border-top: 1px solid rgba(255, 0, 0, 0.4);
  font-size: 0.85rem;
}

/* ==============================
   FADE-IN ANIMATION
============================== */

.js-fade {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* FOOTER IG BADGE */

/* FOOTER IG BADGE */
.ig-badge--footer {
  position: static;
  margin: 0 auto 12px;
  display: block;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  color: red;
}
/* ==============================
   FILMS PAGE
============================== */

.films-page {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 16px;
  text-align: center;
}

.films-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* poster + trailer block */
.film-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: start;
}

.film-block img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid red;
}

.film-info iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid rgba(255, 0, 0, 0.5);
  margin-top: 12px;
}

/* mobile */
@media (max-width: 768px) {
  .film-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* ==============================
   FEATURED FILMS PAGE
============================== */

#films {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.page-intro {
  max-width: 700px;
  margin: 10px auto 30px;
  line-height: 1.6;
}
/* PAGE OVERRIDES */
h2 {
  text-align: center;
}
.film__video {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid rgba(255, 0, 0, 0.5);
  background: #000;
}

/* OVERRIDE STYLES */

@media (max-width: 600px) {
  .hero__col--image-2 {
    height: 37rem;
  }

  .hero__col.hero__col--panel {
    margin-bottom: 2rem;
  }

  .hero__img-wrap {
    height: 480px !important;
  }

  .hero__img-wrap {
    height: 320px;
    min-height: 180px;
    max-height: 17rem;
    overflow: visible;
  }

  .hero__col {
    /* height: 20rem; */
  }
}
