/* ================= GLOBAL ================= */
:root{
  /* Canyon-night black, sampled from the poster's background (neutral, not blue) */
  --navy-950:#050604;
  --navy-900:#0a0c09;
  --navy-800:#151712;
  --navy-700:#23261f;
  --navy-line:#34372d;

  /* Torch flame + canyon-wall glow, sampled from the poster's light source */
  --fire:#e2601e;
  --fire-bright:#f0943d;
  --amber:#f6c667;

  /* Cast-credit red, sampled from the poster's typography */
  --ember:#b60007;
  --ember-deep:#5c0a0c;
  --ember-bright:#e8232a;

  /* Title chrome, sampled from the poster's warm off-white lettering */
  --metal:#f7f0e4;
  --metal-dim:#d8c9b4;
  --muted:#a89a86;
}

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

body{
  font-family:'Oswald', Arial, Helvetica, sans-serif;
  background:
    radial-gradient(ellipse at 50% 0%, var(--navy-800) 0%, var(--navy-950) 55%, #000 100%);
  color:var(--metal);
}

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

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

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

h2{
  margin-bottom:40px;
  font-family:'Anton','Oswald', Arial, Helvetica, sans-serif;
  font-size:52px;
  font-weight:400;
  letter-spacing:1px;
  text-transform:uppercase;
  background:linear-gradient(180deg, var(--metal) 0%, var(--metal-dim) 45%, var(--fire) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:0 2px 24px rgba(226,96,30,.18);
}

/* ================= HEADER ================= */
header{
  position:absolute;
  top:0;
  width:100%;
  padding:20px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:1000;
  background:linear-gradient(to bottom, rgba(5,6,4,.85), transparent);
}

.logo img{height:42px}


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

.nav-links a{
  font-family:'Oswald', Arial, Helvetica, sans-serif;
  font-size:13px;
  font-weight:500;
  letter-spacing:.5px;
  text-transform:uppercase;
  padding:8px 12px;
  border-radius:3px;
}

.nav-links a:hover{
  background:rgba(240,148,61,.1);
  color:var(--fire-bright);
}

.nav-cta{
  background:linear-gradient(180deg, var(--ember-bright), var(--ember-deep));
  border:1px solid var(--ember);
}
.nav-cta:hover{
  background:linear-gradient(180deg, var(--fire-bright), var(--ember-bright));
  border-color:var(--fire);
  color:#fff;
  box-shadow:0 4px 16px rgba(232,35,42,.35);
}

.header-social{
  display:flex;
  gap:14px;
}
.header-social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted);
  transition:.25s ease;
}
.header-social a:hover{
  background:var(--fire);
  border-color:var(--fire);
  color:var(--navy-950);
  transform:translateY(-2px);
}
.header-social i{
  font-size:14px;
}

.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(5,6,4,.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;
}

/* 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;
}

/* Image fallback (oversized + JS-shifted for a parallax drift) */
.hero-image{
  position:absolute;
  top:-15%;
  left:0;
  right:0;
  height:130%;
  background:url("../images/bg.jpg") center/cover no-repeat;
  z-index:0;
  will-change:transform;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(5,6,4,.85) 0%, rgba(5,6,4,.15) 45%, rgba(5,6,4,.35) 100%);
  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)}
}

@keyframes scrollBounce{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(8px)}
}

/* Scroll-down cue */
.scroll-down{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  margin:30px auto 0;
  border:1px solid var(--fire);
  border-radius:50%;
  background:radial-gradient(circle at 50% 35%, rgba(226,96,30,.18), rgba(5,6,4,.45));
  color:var(--amber);
  font-size:15px;
  box-shadow:0 0 0 1px rgba(226,96,30,.12), 0 4px 18px rgba(226,96,30,.25);
  opacity:0;
  animation:
    titleFadeIn 1s ease-out 1.3s 1 forwards,
    scrollBounce 1.8s ease-in-out 2.3s infinite;
}
.scroll-down:hover{
  background:linear-gradient(180deg, var(--fire-bright), var(--ember-bright));
  border-color:var(--fire-bright);
  color:#fff;
  box-shadow:0 6px 24px rgba(226,96,30,.45);
}

.hero-cast{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  width:100%;
  max-width:420px;
  gap:70px;
  margin:0 auto 18px;
  opacity:0;
  animation:titleFadeIn 1.2s ease-out forwards;
  animation-delay:0s;
}

.hero-cast-item{
  font-family:'Anton','Oswald', Arial, Helvetica, sans-serif;
  font-weight:400;
  letter-spacing:.5px;
  text-transform:uppercase;
  line-height:1.15;
  text-shadow:0 2px 4px rgba(0,0,0,.9), 0 8px 20px rgba(0,0,0,.7);
}

.hero-cast-first{
  display:block;
  font-size:15px;
  color:#fff;
}

.hero-cast-last{
  display:block;
  font-size:27px;
  color:var(--ember);
}

@media(max-width:600px){
  .hero-cast{max-width:100%;gap:36px}
  .hero-cast-first{font-size:12px}
  .hero-cast-last{font-size:20px}
}

.title-image{
  width:80%;
  max-width:560px;
  margin-bottom:25px;
  opacity:0;
  filter:drop-shadow(0 8px 30px rgba(226,96,30,.35));
  animation:titleFadeIn 1.4s ease-out forwards;
  animation-delay:.3s;
}

/* 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(5,6,4,0.85);
  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 {
  font-family:'Oswald', Arial, Helvetica, sans-serif;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing:1px;
  text-transform:uppercase;
}

.btn{
  display:inline-block;
  padding:14px 26px;
  margin:6px;
  border:1px solid var(--metal-dim);
  font-family:'Oswald', Arial, Helvetica, sans-serif;
  font-size:13px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  opacity:0;
  animation:titleFadeIn 1s ease-out forwards;
  animation-delay:1s;
}

.btn:hover{
  background:var(--metal);
  border-color:var(--metal);
  color:#000;
}

.btn-primary{
  background:linear-gradient(180deg, var(--ember-bright), var(--ember-deep));
  border-radius: 6px;
  border:1px solid var(--ember);
}
.btn-primary:hover{
  background:linear-gradient(180deg, var(--fire-bright), var(--ember-bright));
  border-color:var(--fire);
  color:#fff;
  box-shadow:0 8px 22px rgba(232,35,42,.35);
}

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

/* ================= SYNOPSIS ================= */
.section-dark{
  background:linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}

.synopsis-container{

  max-width:1100px;
  margin:auto;
  display:flex;
  gap:40px;
  text-align:left;
}

.synopsis-poster img{
  width:280px;
  border:1px solid var(--navy-line);
  box-shadow:0 20px 40px rgba(0,0,0,.6), 0 0 40px rgba(226,96,30,.08);
}

.synopsis-text p{
  line-height:1.7;
  margin-bottom:20px;
  color:var(--metal-dim);
}

.synopsis-credits{
  font-size:14px;
  color:var(--muted);
}
.synopsis-credits strong{
  color:var(--fire-bright);
  font-weight:600;
}

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

/* ================= TRAILER ================= */
.trailer-section{
  background:var(--navy-900);
  padding:110px 20px;
  position:relative;
  overflow:hidden;
}
/* Ambient fire glow, layered yellow/orange/red like the torch light in the poster */
.trailer-section::before{
  content:"";
  position:absolute;
  top:-20%;
  left:50%;
  margin-left:-450px;
  width:900px;
  height:900px;
  background:
    radial-gradient(circle, rgba(255,224,120,.16) 0%, rgba(255,224,120,0) 32%),
    radial-gradient(circle, rgba(226,96,30,.22) 0%, rgba(226,96,30,0) 55%),
    radial-gradient(circle, rgba(180,20,15,.16) 0%, rgba(180,20,15,0) 72%);
  pointer-events:none;
  z-index:0;
  animation:fireFlicker 5s ease-in-out infinite;
}
/* A second, smaller flame lick anchored bottom-right, echoing the torch on the poster */
.trailer-section::after{
  content:"";
  position:absolute;
  right:8%;
  bottom:-10%;
  width:420px;
  height:420px;
  background:
    radial-gradient(circle, rgba(255,228,140,.22) 0%, rgba(255,228,140,0) 28%),
    radial-gradient(circle, rgba(240,148,61,.24) 0%, rgba(240,148,61,0) 50%),
    radial-gradient(circle, rgba(150,20,15,.18) 0%, rgba(150,20,15,0) 68%);
  pointer-events:none;
  z-index:0;
  animation:fireFlicker 3.4s ease-in-out infinite reverse;
}
@keyframes fireFlicker{
  0%,100%{opacity:.8; transform:scale(1);}
  30%{opacity:1; transform:scale(1.06);}
  55%{opacity:.85; transform:scale(.96);}
  80%{opacity:1; transform:scale(1.04);}
}
.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 rgba(255,255,255,.12);
  box-shadow:0 30px 70px rgba(0,0,0,.7), 0 0 70px rgba(226,96,30,.4), 0 0 130px rgba(240,148,61,.15);
}
@media(prefers-reduced-motion: reduce){
  .trailer-section::before,
  .trailer-section::after{
    animation:none;
  }
}
.trailer-section iframe{
  display:block;
  width:100%;
  height:100%;
  border:0;
}
@media(max-width:640px){
  .trailer-section{padding:80px 16px}
}

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

.platform-card{
  background:linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border:1px solid var(--navy-line);
  padding:30px;
  border-radius:6px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.platform-card:hover{
  border-color:var(--fire);
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,.6), 0 0 25px rgba(226,96,30,.25);
}
.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:var(--navy-900);
  border:1px solid var(--ember);
  padding:25px;
}
.theater-card:hover{
  border-color:var(--fire);
}
.theater-card a{
  display:inline-block;
  margin-top:10px;
  padding:10px 16px;
  border:1px solid #fff;
  font-size:12px;
  text-transform:uppercase;
}
.theater-card a:hover{
  background:var(--ember-deep);
  border-color:var(--fire);
  
}



/* ================= FOOTER ================= */
footer{
  background:var(--navy-900);
  padding:56px 20px 44px;
  border-top:1px solid rgba(255,255,255,.12);
  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 rgba(255,255,255,.12);
  color:var(--muted);
  transition:.25s ease;
}
.footer-social a:hover{
  background:var(--fire);
  border-color:var(--fire);
  color:var(--navy-950);
  transform:translateY(-2px);
}
.footer-social i{
  font-size:14px;
}

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

.rating-badge{
  height:65px;
  width:159px;
  margin:20px 0 0;
  background-color:var(--metal);
  -webkit-mask-image:url("../images/rating.png");
  mask-image:url("../images/rating.png");
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
}

.footer-legal{
  font-size:12px;
  color:var(--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(--muted);
  opacity:.6;
}

footer a:hover{
  color:var(--fire-bright);
}
.footer-copyright a:hover{
  text-decoration:underline;
}

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

.tickets-title {
    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 var(--navy-line);
    border-radius: 8px;
    background: var(--navy-900);
    transition: box-shadow 0.2s ease, border-color .2s ease;
}

.theater-card:hover {
    border-color: var(--fire);
    box-shadow: 0 4px 18px rgba(226,96,30,.15);
}

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

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

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

.theater-playdate {
    font-family:'Oswald', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight:600;
    letter-spacing:.5px;
    text-transform:uppercase;
    color: var(--fire);
    margin-bottom: 15px;
    
}

.ticket-btn {
    padding: 10px 16px;
    font-family:'Oswald', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing:.5px;
    text-transform:uppercase;
    border: none;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--ember-bright), var(--ember-deep));
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow .2s ease;
}

.ticket-btn:hover {
    background: linear-gradient(180deg, var(--fire-bright), var(--ember-bright));
    box-shadow:0 6px 16px rgba(232,35,42,.3);
}
