/* ================= GLOBAL ================= */
:root{
  --paper:#0a0e11;
  --paper-alt:#12181c;
  --ink:#f4f1ea;
  --ink-muted:#a9b2b7;
  --accent:#3f6d85;
  --accent-dark:#274a5c;
  --fire:#d11f3c;
  --fire-dark:#8c1029;
  --btn:#d2232a;
  --btn-glow:rgba(210,35,42,.4);
  --glow:rgba(209,31,60,.4);
  --hairline:rgba(244,241,234,.1);
  --font-display:'Anton', 'Oswald', Arial Narrow, sans-serif;
  --font-label:'Oswald', Arial Narrow, sans-serif;
  --font-body:'Inter', Arial, Helvetica, sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  position:relative;
}

/* film-grain + vignette overlay, embers of smoke and fire */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:9998;
  pointer-events:none;
  opacity:.05;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:9997;
  pointer-events:none;
  background:radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.6) 100%);
}

/* Universal link hover */
a{
  color:var(--ink);
  text-decoration:none;
  transition:all .25s ease;
}
a:hover{
  color:var(--btn);
}

/* Universal button hover */
button,
.btn{
  cursor:pointer;
  transition:all .25s ease;
}
.btn:hover,
button:hover{
  transform:translateY(-2px);
  box-shadow:0 2px 3px rgba(0,0,0,0);
}

section{padding:80px 20px;text-align:center}

h2{
  margin-bottom:40px;
  font-family:var(--font-display);
  font-weight:400;
  font-size:44px;
  letter-spacing:2px;
  text-transform:uppercase;
  text-shadow:0 0 30px var(--glow);
}

/* ================= HEADER ================= */
header{
  position:absolute;
  top:0;
  width:100%;
  padding:20px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  /* Above the film-grain (z-index 9998) and vignette (z-index 9997)
     body overlays, which otherwise darken the whole header as a unit
     (including the logo, sitting right in the vignette's darkest
     corner) since a child's z-index only competes within its own
     stacking context, not its ancestor's. */
  z-index:10050;
  background:linear-gradient(to bottom,rgba(0,0,0,.8),transparent);
}

.logo img{height:42px}


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

.nav-links a{
  font-family:var(--font-label);
  font-weight:600;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:8px 12px;
  border-radius:3px;
}

.nav-links a:not(.nav-cta):hover{
  background:rgba(244,241,234,.08);
}

.nav-cta{
  background:var(--btn);
  border:1px solid var(--btn);
}
.nav-cta:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:#080d10;
}

.header-social{
  display:flex;
  gap:14px;
}
.header-social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:rgba(4,6,8,.45);
  border:1px solid rgba(244,241,234,.35);
  color:var(--ink);
  backdrop-filter:blur(2px);
  transition:.25s ease;
}
.header-social a:hover{
  background:var(--btn);
  border-color:var(--btn);
  color:#080d10;
  transform:translateY(-2px);
}
.header-social i{
  font-size:15px;
}

.hamburger{
  display:none;
  font-size:24px;
  cursor:pointer;
}

@media(max-width:1024px){
  .hamburger{display:block}
  .nav-links{
    position:absolute;
    top:80px;
    left:0;
    width:100%;
    flex-direction:column;
    background:rgba(10,14,17,.95);
    padding:30px 0;
    opacity:0;
    pointer-events:none;
    transition:.3s;
  }
  .nav-links.open{
    opacity:1;
    pointer-events:auto;
  }
  .header-social{display:none}
}

/* ================= HERO ================= */
.hero{
  position:relative;
  height:100vh;
  overflow:hidden;
  border-bottom:1px solid #24211c;
}

/* Optional video */
.hero-video{
  position:absolute;
  top:50%;
  left:50%;
  min-width:100%;
  min-height:100%;
  transform:translate(-50%,-50%);
  object-fit:cover;
  z-index:0;
  will-change:transform;
}

/* Image fallback */
.hero-image{
  position:absolute;
  inset:0;
  background:url("../images/bg.jpg") center/cover no-repeat;
  z-index:0;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(0deg, rgba(4,6,8,.78) 0%, rgba(4,6,8,.15) 35%, rgba(6,9,11,.3) 100%),
    radial-gradient(ellipse at 15% 85%, rgba(209,31,60,.22), transparent 55%),
    radial-gradient(ellipse at 85% 75%, rgba(63,109,133,.28), transparent 55%);
  z-index:1;
}


/* Content lower center */
.hero-content{
  position:absolute;
  left:50%;
  bottom:12%;
  transform:translateX(-50%);
  z-index:2;
  text-align:center;
  width:100%;
  padding:0 20px;
  will-change:transform,opacity;
}

/* Title animation */
@keyframes titleFadeIn{
  0%{opacity:0;transform:translateY(40px) scale(.96)}
  60%{opacity:1;transform:translateY(-4px) scale(1.02)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}

.hero-quote{
  margin-bottom:16px;
  opacity:0;
  animation:titleFadeIn 1.2s ease-out .05s forwards;
}
.hero-quote p{
  font-family:var(--font-label);
  font-style:italic;
  font-weight:600;
  font-size:24px;
  letter-spacing:.5px;
  color:var(--ink);
  text-shadow:0 2px 16px rgba(0,0,0,.85);
  margin-bottom:6px;
}
.hero-quote cite{
  display:block;
  font-style:normal;
  font-family:var(--font-label);
  font-weight:600;
  font-size:12px;
  letter-spacing:2.5px;
  text-transform:uppercase;
  color:var(--btn);
}
@media(max-width:768px){
  .hero-quote p{font-size:19px}
}

.title-wrap{
  position:relative;
  width:80%;
  max-width:560px;
  margin:0 auto 25px;
}

/* Soft dark vignette behind the logo so it stays legible over the
   busy surveillance-monitor background image, whatever part of the
   photo happens to sit behind it at a given viewport size. */
.title-wrap::before{
  content:"";
  position:absolute;
  inset:-20% -14%;
  background:radial-gradient(ellipse at center, rgba(4,6,8,.82) 0%, rgba(4,6,8,.5) 45%, rgba(4,6,8,0) 75%);
  filter:blur(6px);
  z-index:-1;
  pointer-events:none;
}

.title-image{
  display:block;
  width:100%;
  opacity:0;
  filter:drop-shadow(0 0 30px var(--glow));
  animation:titleFadeIn 1.4s ease-out .3s forwards;
}

.hero-tagline{
  font-family:var(--font-label);
  font-weight:600;
  font-size:18px;
  line-height:1.5;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--ink);
  text-shadow:0 2px 14px rgba(0,0,0,.85);
  margin:6px 0 28px;
  opacity:0;
  animation:titleFadeIn 1.2s ease-out .65s forwards;
}
@media(max-width:768px){
  .hero-tagline{
    font-size:14px;
    letter-spacing:2px;
    margin:4px 0 20px;
  }
}

/* HAMBURGER BUTTON */
#hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

#hamburger .bar {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
}

/* Hide hamburger and mobile nav by default (desktop) */
#hamburger {
  display: none;
}

#mobileNav {
  display: none;
}

@media (max-width: 1024px) {

  /* Show hamburger */
  #hamburger {
    display: flex;
  }

  /* Enable mobile nav overlay */
  #mobileNav {
    display: block;
  }

  /* Optional: hide desktop navigation */
  .main-nav, 
  .desktop-nav {
    display: none !important;
  }
}

#hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 30px;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

#hamburger .bar {
  height: 3px;
  width: 100%;
  background: #fff;
}

/* MOBILE NAV PANEL */
#mobileNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(10,10,9,0.92);
  overflow: hidden;
  transition: height 0.3s ease;
  z-index: 9999;
}

#mobileNav.open {
  height: 100%;
}

.mobile-nav-list {
  list-style: none;
  padding-top: 120px;
  text-align: center;
  margin: 0;
}

.mobile-nav-list li {
  margin: 20px 0;
}

.mobile-nav-list a {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: color .25s ease, transform .25s ease, text-shadow .25s ease;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:focus-visible {
  color: var(--btn);
  transform: translateY(-3px);
  text-shadow: 0 0 18px var(--btn-glow);
}

.mobile-nav-list a:active {
  color: var(--btn);
  transform: translateY(0);
  text-shadow: none;
}

.btn{
  display:inline-block;
  padding:14px 28px;
  margin:6px;
  border:1px solid var(--ink);
  font-family:var(--font-label);
  font-weight:600;
  letter-spacing:1px;
  font-size:13px;
  text-transform:uppercase;
  opacity:0;
  animation:titleFadeIn 1s ease-out 1s forwards;
}

.btn:hover{
  background:var(--ink);
  color:#080d10;
}

.btn-primary{
  background:var(--btn);
  border:1px solid var(--btn);
}
.btn-primary:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:#080d10;
  box-shadow:0 0 24px var(--btn-glow);
}

@media(max-width:768px){
  .hero-content{bottom:8%}
}

/* scroll-down cue beneath the hero buttons */
.scroll-cue{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  margin-top:32px;
  opacity:0;
  animation:titleFadeIn 1s ease-out 1.3s forwards;
}
.scroll-cue span{
  font-family:var(--font-label);
  font-weight:600;
  font-size:12px;
  letter-spacing:2.5px;
  text-transform:uppercase;
  color:var(--ink-muted);
}
.scroll-cue i{
  color:var(--fire);
  font-size:16px;
  text-shadow:0 0 14px var(--glow);
  animation:scrollBounce 1.8s ease-in-out infinite;
}
.scroll-cue:hover span{color:var(--ink)}

@keyframes scrollBounce{
  0%,100%{transform:translateY(0);opacity:.5}
  50%{transform:translateY(7px);opacity:1}
}

@media(max-width:768px){
  .scroll-cue{margin-top:20px}
}

/* ================= SYNOPSIS ================= */
.section-dark{background:var(--paper-alt)}

#synopsis{position:relative;overflow:hidden}
#synopsis::before{
  content:"";
  position:absolute;
  top:-20%;
  left:50%;
  width:900px;
  height:900px;
  transform:translateX(-50%);
  background:radial-gradient(circle, rgba(63,109,133,.16) 0%, rgba(63,109,133,0) 70%);
  pointer-events:none;
  z-index:0;
}

.synopsis-container{
  position:relative;
  z-index:1;
  max-width:1100px;
  margin:auto;
  display:flex;
  gap:40px;
  text-align:left;

}

.synopsis-poster{
  position:relative;
  flex-shrink:0;
  padding:14px;
}

.synopsis-poster img{
  display:block;
  width:280px;
  border:1px solid #24211c;
  box-shadow:0 20px 40px rgba(0,0,0,.6);
}

.synopsis-text p{
  font-size:17px;
  line-height:1.75;
  margin-bottom:20px;
  color:var(--ink-muted);
}

.synopsis-credits{
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:14px;
  color:var(--ink);
  padding-top:16px;
  border-top:1px solid var(--hairline);
}
.synopsis-credits strong{
  font-family:var(--font-label);
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--accent);
}

@media(max-width:900px){
  .synopsis-container{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
}

/* ================= TRAILER ================= */
.trailer-section{
  background:var(--paper-alt);
  padding:110px 20px;
  position:relative;
  overflow:hidden;
}
.trailer-section::before{
  content:"";
  position:absolute;
  top:-20%;
  left:50%;
  width:900px;
  height:900px;
  transform:translateX(-50%);
  background:radial-gradient(circle, rgba(63,109,133,.16) 0%, rgba(63,109,133,0) 70%);
  pointer-events:none;
  z-index:0;
}
.trailer-section h2{
  position:relative;
  z-index:1;
}
.trailer-frame{
  position:relative;
  z-index:1;
  max-width:960px;
  margin:0 auto;
  aspect-ratio:16/9;
  border-radius:8px;
  overflow:hidden;
  border:1px solid #24211c;
  box-shadow:0 30px 70px rgba(0,0,0,.7), 0 0 60px var(--glow);
}
.trailer-section iframe{
  display:block;
  width:100%;
  height:100%;
  border:0;
}
@media(max-width:640px){
  .trailer-section{padding:80px 16px}
}

/* ================= WATCH AT HOME ================= */
.section-dark{background:var(--paper)}

.platform-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:30px;
  max-width:1100px;
  margin:auto;
}

.platform-card{
  background:#14100a;
  border:1px solid #2a241a;
  padding:30px;
  border-radius:6px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.platform-card:hover{
  border-color:var(--btn);
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,.6);
}
.platform-card img{
  max-width:120px;
  max-height:60px;
}

/* ================= THEATERS ================= */
.theater-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.theater-card{
  background:#14100a;
  border:1px solid var(--fire);
  padding:25px;
}
.theater-card:hover{
  border-color:var(--accent);
}
.theater-card a{
  display:inline-block;
  margin-top:10px;
  padding:10px 16px;
  border:1px solid var(--ink);
  font-size:12px;
  text-transform:uppercase;
}
.theater-card a:hover{
  background:var(--btn);
  border-color:var(--btn);

}



/* ================= FOOTER ================= */
footer{
  background:var(--paper-alt);
  padding:56px 20px 44px;
  border-top:1px solid var(--hairline);
  text-align:center;
}

.footer-logo img{height:40px;margin-bottom:28px}

.footer-social{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-bottom:32px;
}
.footer-social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid var(--hairline);
  color:var(--ink-muted);
  transition:.25s ease;
}
.footer-social a:hover{
  background:var(--btn);
  border-color:var(--btn);
  color:#080d10;
  transform:translateY(-2px);
}
.footer-social i{
  font-size:14px;
}

.footer-rating img{
  height:65px;
  margin:20px 0;
}

.footer-legal{
  font-size:12px;
  color:var(--ink-muted);
  max-width:640px;
  margin:0 auto;
}
.footer-copyright{
  margin-bottom:10px;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:6px 0;
}
.footer-links a{
  padding:0 10px;
  position:relative;
}
.footer-links a:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:3px;
  height:3px;
  border-radius:50%;
  background:var(--ink-muted);
  opacity:.6;
}

footer a{
  color:var(--ink);
  text-decoration:none;
}
footer a:hover{
  color:var(--btn);
}
.footer-copyright a:hover{
  text-decoration:underline;
}

/* Respect reduced-motion preference: disable the hero parallax drift
   and the bouncing scroll cue (JS also checks this before animating) */
@media (prefers-reduced-motion: reduce){
  /* .hero-content intentionally left out: its transform also does the
     base horizontal centering (translateX(-50%)), not just motion, so
     wiping it here pushed the whole hero block off-screen for anyone
     with reduced-motion on. The scroll handler already checks
     prefers-reduced-motion itself before adding any parallax offset,
     so this override was redundant for its original purpose anyway. */
  .hero-video{
    transform:none !important;
  }
  .scroll-cue i{
    animation:none;
  }
}

.tickets-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.tickets-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.theaters-grid {
    display: grid;
    gap: 14px;
}

.theater-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid #24211c;
    border-radius: 8px;
    background: #14100a;
    transition: box-shadow 0.2s ease;
}

.theater-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.theater-info {
    display: flex;
    flex-direction: column;
}

.theater-name {
    font-size: 16px;
    font-weight: 600;
}

.theater-city {
    font-size: 14px;
    color: var(--ink-muted);
    margin-top: 2px;
}

.theater-playdate {
    font-size: 16px;
    color: var(--accent);
    margin-bottom: 15px;

}

.ticket-btn {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-label);
    letter-spacing: .5px;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    background: var(--btn);
    color: var(--ink);
    text-decoration: none;
    transition: background 0.2s ease;
}

.ticket-btn:hover {
    background: var(--accent);
    color: #080d10;
}
