/* ================= GLOBAL ================= */
:root{
  --paper:#0f0a07;
  --paper-alt:#170f0b;
  --ink:#eee3d0;
  --ink-muted:#c2ac97;
  --accent:#7c0f18;
  --accent-light:#d81f2c;
  --accent-glow:rgba(216,31,44,.4);
  --hairline:rgba(238,227,208,.1);
  --font-display:'Playfair Display', 'Special Elite', Georgia, serif;
  --font-label:'Special Elite', 'Courier New', monospace;
  --font-script:'Pinyon Script', cursive;
  --font-body:'Vollkorn', Georgia, serif;
}

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

/* film-grain + vignette overlay for a dread-lit, cinematic feel */
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,.55) 100%);
}

@keyframes flicker{
  0%,100%{opacity:1}
  8%{opacity:.86}
  10%{opacity:1}
  20%{opacity:.92}
  24%{opacity:1}
  55%{opacity:.95}
  58%{opacity:1}
}

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

/* 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:900;
  font-size:40px;
  letter-spacing:4px;
  text-transform:uppercase;
  text-shadow:0 0 30px var(--accent-glow);
}

/* ================= 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(0,0,0,.85),transparent);
}

.logo{
  position:relative;
  z-index:10001;
}
.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:400;
  font-size:13px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  padding:8px 12px;
  border-radius:3px;
}

.nav-links a:hover{
  background:rgba(238,227,208,.08);
}

.nav-cta{
  background:var(--accent);
  border:1px solid var(--accent);
}
.nav-cta:hover{
  background:var(--accent-light);
  color:var(--paper);
}

.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 var(--hairline);
  color:var(--ink-muted);
  transition:.25s ease;
}
.header-social a:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:var(--ink);
  transform:translateY(-2px);
}
.header-social i{
  font-size:14px;
  opacity:.85;
  transition:.25s;
}
.header-social a:hover i{
  opacity:1;
}

.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(15,11,8,.94);
    padding:30px 0;
    opacity:0;
    pointer-events:none;
    transition:.3s;
  }
  .nav-links.open{
    opacity:1;
    pointer-events:auto;
  }
  .header-social{display:none}
  .mobile-social{
    display:flex !important;
    justify-content:center;
    padding-top:100px;
    margin-bottom:24px;
  }
}

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

/* 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.webp") center/cover no-repeat;
  z-index:0;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(124,15,24,.28), transparent 60%),
    rgba(10,6,5,.4);
  z-index:1;
  animation:flicker 6s linear infinite;
}


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

.title-image{
  width:80%;
  max-width:560px;
  margin-bottom:10px;
  opacity:0;
  filter:drop-shadow(0 0 28px var(--accent-glow));
  animation:titleFadeIn 1.4s ease-out .3s forwards, flicker 5s linear 1.7s infinite;
}

.now-playing{
  font-family:var(--font-label);
  font-size:20px;
  letter-spacing:5px;
  text-transform:uppercase;
  color:#d40000;
  text-shadow:0 0 20px var(--accent-glow), 0 2px 12px rgba(0,0,0,.85);
  margin-bottom:25px;
  opacity:0;
  animation:titleFadeIn 1.4s ease-out .6s forwards;
}

/* Press quotes above the title */
.hero-quotes{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-bottom:30px;
  opacity:0;
  animation:titleFadeIn 1.2s ease-out forwards;
  animation-delay:.1s;
}
.hero-quotes p{
  font-family:var(--font-body);
  font-style:italic;
  font-size:17px;
  line-height:1.4;
  color:var(--ink);
  text-shadow:0 2px 12px rgba(0,0,0,.85);
  letter-spacing:.2px;
}
.hero-quotes cite{
  font-family:var(--font-label);
  font-style:normal;
  font-weight:400;
  font-size:11px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--accent-light);
  margin-left:8px;
}
.hero-quotes cite a{
  color:inherit;
}
.hero-quotes cite a:hover{
  color:var(--ink);
}

@media(max-width:600px){
  .hero-quotes p{font-size:14px}
  .hero-quotes{gap:6px;margin-bottom: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: var(--ink);
  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: var(--ink);
}

/* MOBILE NAV PANEL */
#mobileNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(20,14,8,0.85); /* transparent warm dark */
  overflow: hidden;
  transition: height 0.3s ease;
  z-index: 9999;
}

#mobileNav.open {
  height: 100%;
}

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

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

.mobile-nav-list a {
  font-family: var(--font-label);
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
}

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

.btn:hover{
  background:var(--accent-light);
  color:var(--paper);
  box-shadow:0 0 24px var(--accent-glow);
}

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

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

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

@media(max-width:768px){
  .hero-content{bottom:8%}
  .scroll-cue{margin-top:22px}
}

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

#synopsis{
  position:relative;
  overflow:hidden;
  padding:110px 20px;
}

/* faint amber glow behind the section for atmosphere */
#synopsis::before{
  content:"";
  position:absolute;
  top:-25%;
  left:50%;
  width:900px;
  height:900px;
  transform:translateX(-50%);
  background:radial-gradient(circle, rgba(216,31,44,.16) 0%, rgba(216,31,44,0) 70%);
  pointer-events:none;
  z-index:0;
}

#synopsis h2{
  position:relative;
  z-index:1;
  font-family:var(--font-display);
  font-weight:700;
  font-size:36px;
  letter-spacing:8px;
  margin-bottom:18px;
  color:var(--ink);
  text-shadow:0 0 30px rgba(216,31,44,.35);
}

.section-divider{
  position:relative;
  z-index:1;
  width:64px;
  height:1px;
  margin:0 auto 60px;
  background:linear-gradient(90deg, transparent, var(--accent), transparent);
}
.section-divider::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:7px;
  height:7px;
  background:var(--accent);
  transform:translate(-50%,-50%) rotate(45deg);
}

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

.synopsis-poster{
  position:relative;
  flex-shrink:0;
  padding:16px;
}
.synopsis-poster::before,
.synopsis-poster::after{
  content:"";
  position:absolute;
  width:26px;
  height:26px;
  border:1px solid var(--accent);
  opacity:.8;
}
.synopsis-poster::before{top:0;left:0;border-right:0;border-bottom:0}
.synopsis-poster::after{bottom:0;right:0;border-left:0;border-top:0}

.synopsis-poster img{
  display:block;
  width:290px;
  border:1px solid rgba(238,227,208,.12);
  box-shadow:0 25px 60px rgba(0,0,0,.7);
  transition:transform .4s ease, box-shadow .4s ease;
}
.synopsis-poster:hover img{
  transform:translateY(-6px);
  box-shadow:0 35px 70px rgba(0,0,0,.8), 0 0 45px rgba(216,31,44,.3);
}

.synopsis-text h1{
  position:relative;
  display:inline-block;
  font-family:var(--font-display);
  font-weight:700;
  font-size:32px;
  letter-spacing:1px;
  color:var(--ink);
  margin-bottom:28px;
}
.synopsis-text h1 .script-accent{
  font-family:var(--font-script);
  font-weight:400;
  font-style:normal;
  font-size:1.5em;
  color:var(--accent-light);
  padding:0 .05em;
}
.synopsis-text h1::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-12px;
  width:48px;
  height:2px;
  background:var(--accent);
}

.synopsis-text p{
  font-family:var(--font-body);
  font-size:20px;
  line-height:1.85;
  letter-spacing:.2px;
  margin-bottom:28px;
  color:var(--ink-muted);
}
.synopsis-text p:first-of-type::first-letter{
  float:left;
  font-family:var(--font-display);
  font-size:56px;
  line-height:.78;
  padding:4px 10px 0 0;
  color:var(--accent);
}

.synopsis-credits{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-top:24px;
  border-top:1px solid var(--hairline);
}
.synopsis-credits p{
  display:flex;
  align-items:baseline;
  gap:12px;
  font-family:var(--font-body);
  font-size:17px;
  letter-spacing:.2px;
  color:var(--ink-muted);
}
.synopsis-credits strong{
  flex-shrink:0;
  min-width:130px;
  font-family:var(--font-label);
  font-weight:400;
  font-size:12px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--accent-light);
}

@media(max-width:900px){
  #synopsis{padding:90px 20px}
  .synopsis-container{
    flex-direction:column;
    align-items:center;
  }
  .synopsis-poster img{width:230px}
  .synopsis-text{
    width:100%;
    text-align:left;
  }
  .synopsis-text p:first-of-type::first-letter{
    font-size:44px;
    padding:2px 8px 0 0;
  }
  .synopsis-credits{align-items:flex-start}
  .synopsis-credits p{flex-direction:column;gap:4px}
  .synopsis-credits strong{min-width:auto}
}

/* ================= 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(216,31,44,.12) 0%, rgba(216,31,44,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 var(--hairline);
  box-shadow:0 30px 70px rgba(0,0,0,.7), 0 0 60px var(--accent-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:#1f1913;
  border:1px solid #332a1e;
  padding:30px;
  border-radius:6px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.platform-card:hover{
  border-color:var(--accent-light);
  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:#1a1510;
  border:1px solid var(--accent);
  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:#3f2a15;
  border-color:var(--accent);

}



/* ================= 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(--accent);
  border-color:var(--accent);
  color:var(--ink);
  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(--accent-light);
}
.footer-copyright a:hover{
  text-decoration:underline;
}

/* ================= TICKETS ================= */
.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 #3a3226;
    border-radius: 8px;
    background: #1a1510;
    transition: box-shadow 0.2s ease;
}

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

.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-distance {
    font-size: 12px;
    color: var(--ink-muted);
    font-style: italic;
    margin-top: 4px;
}

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

}

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

.ticket-btn:hover {
    background: #2b241c;
}

.theater-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 30px;
}

.theater-nav-btn {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font: inherit;
    line-height: normal;
    box-shadow: none;

    padding: 8px 16px;
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    background: transparent;
    color: var(--ink-muted);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theater-nav-btn:hover {
    border-color: var(--accent-light);
    color: var(--ink);
}

.theater-nav-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}

/* 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-video,
  .hero-content{
    transform:none !important;
  }
  .scroll-cue i{
    animation:none;
  }
}
