/* ===========================================================
   Backwood's Horror — Vintage 50s/60s Halloween party theme
   Palette: cream · pumpkin orange · warm black · gold · purple
   =========================================================== */

:root {
  --paper:    #f4e7cb;
  --paper-2:  #eddab2;
  --ink:      #241a13;
  --ink-soft: #4a382a;
  --orange:   #e46a1c;
  --orange-d: #c14a0d;
  --pumpkin:  #ef8f28;
  --gold:     #e0a92e;
  --purple:   #4c2c5a;
  --purple-l: #6e4180;
  --teal:     #2c6e63;
  --scene-ink:#25302a;   /* cool dark green-black for silhouettes */
  --moon:     #f0e6cd;   /* cream moon */
  --line:     rgba(36,26,19,.16);
  --hard:     4px 4px 0 var(--ink);
  --hard-sm:  3px 3px 0 var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(36,26,19,.06) 1.3px, transparent 1.4px),
    radial-gradient(rgba(36,26,19,.05) 1.3px, transparent 1.4px);
  background-size: 16px 16px, 16px 16px;
  background-position: 0 0, 8px 8px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
iframe { max-width: 100%; }
.sprite { position: absolute; width: 0; height: 0; }

/* --------- Buttons --------- */
.btn {
  display: inline-block;
  font-family: 'Bungee', cursive;
  font-size: .82rem;
  letter-spacing: .5px;
  padding: 14px 26px;
  border: 3px solid var(--ink);
  border-radius: 40px;
  cursor: pointer;
  box-shadow: var(--hard);
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary   { background: var(--orange); color: #fff5e6; }
.btn-primary:hover { background: var(--orange-d); }
.btn-secondary { background: var(--paper); color: var(--ink); }
.btn-secondary:hover { background: var(--gold); }
.btn.is-disabled {
  background: #d8cbb0;
  color: #8a7a63;
  border-color: #8a7a63;
  box-shadow: 3px 3px 0 #b3a488;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------- Nav --------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 48px);
  background: var(--ink);
  border-bottom: 3px solid var(--orange);
}
.brand {
  font-family: 'Bungee', cursive;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  color: var(--paper);
  letter-spacing: .5px;
}
.brand span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); }
.nav-links a {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .8rem;
  color: var(--paper-2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.nav-cta {
  font-family: 'Bungee', cursive;
  font-weight: 400;
  background: var(--orange);
  color: #fff5e6;
  padding: 7px 15px;
  border-radius: 30px;
  font-size: .72rem;
}
.nav-links a.nav-cta:hover { background: var(--gold); color: var(--ink); }
@media (max-width: 560px) { .nav-links a:not(.nav-cta) { display: none; } }


/* --------- Hero (grunge two-tone scene) --------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: min(74vh, 660px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) 20px;
  background: #0d0a0b;
}
/* Rotating photo background — fill the frame (crops as needed) */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
/* Lighter wash — keeps the title readable but lets the full image show */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(8,6,7,.55) 0%, rgba(8,6,7,.18) 52%, transparent 78%),
    linear-gradient(180deg, rgba(8,6,7,.5) 0%, transparent 28%, transparent 64%, rgba(8,6,7,.82) 100%);
}
/* worn frame around the hero */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border: 10px solid var(--ink);
  outline: 3px solid var(--orange);
  outline-offset: -13px;
}

.hero-inner { position: relative; z-index: 3; max-width: 900px; margin: 0 auto; }
.kicker {
  font-family: 'Griffy', cursive;
  color: #f2e4c9;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,.85);
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.ico-star { width: 20px; height: 20px; color: var(--gold); }

.title { line-height: 1.12; margin: 4px 0; }
.title-top, .title-bottom {
  display: block;
  font-family: 'Nosifer', 'Creepster', cursive;
  letter-spacing: 1px;
}
.title-top {
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: #ece3cf;
  text-shadow: 2px 2px 0 #000, 0 3px 16px rgba(0,0,0,.85);
}
.title-bottom {
  font-size: clamp(1.9rem, 6.5vw, 3.9rem);
  color: #b3140f;
  text-shadow: 2px 2px 0 #000, 0 3px 18px rgba(0,0,0,.9);
}
.tagline {
  font-family: 'Griffy', cursive;
  color: #ece3cf;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  margin: 14px auto 30px;
  max-width: 640px;
  text-shadow: 0 2px 10px rgba(0,0,0,.9);
}

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  margin-bottom: 36px;
}
.hero-facts li {
  width: clamp(108px, 26vw, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: var(--hard);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-facts li:nth-child(1) { background: var(--pumpkin); }
.hero-facts li:nth-child(2) { background: var(--teal); }
.hero-facts li:nth-child(3) { background: var(--purple); }
.hero-facts strong {
  font-family: 'Bungee', cursive;
  font-size: clamp(.95rem, 2.4vw, 1.35rem);
  line-height: 1;
  color: #fff5e6;
}
.hero-facts span {
  margin-top: 6px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,245,230,.9);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --------- Sections --------- */
.section {
  position: relative;
  padding: clamp(50px, 8vw, 90px) clamp(16px, 5vw, 60px);
  max-width: 1150px;
  margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2 {
  font-family: 'Bungee', cursive;
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  color: var(--orange);
  text-shadow: 3px 3px 0 var(--ink);
  letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 16px;
}
.section-head h2 .ico-bat { width: 40px; height: 24px; color: var(--ink); }
.section-head p { color: var(--ink-soft); max-width: 620px; margin: 16px auto 0; font-size: 1.05rem; }
.section-head strong { color: var(--orange-d); }

/* --------- Tickets (admission stubs) --------- */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}
.ticket-card {
  position: relative;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 150'%3E%3Cpath fill='none' stroke='%23cbb98d' stroke-width='5' d='M60,8 a40,40 0 0 0 -40,40 L20,124 q10,14 20,0 q10,14 20,0 q10,14 20,0 q10,14 20,0 L100,48 a40,40 0 0 0 -40,-40 Z'/%3E%3Ccircle cx='45' cy='54' r='6' fill='%23cbb98d'/%3E%3Ccircle cx='75' cy='54' r='6' fill='%23cbb98d'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -16px bottom -12px;
  background-size: 92px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 40px 22px 26px;
  text-align: center;
  box-shadow: var(--hard);
  transition: transform .14s, box-shadow .14s;
}
.ticket-card::before, .ticket-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px; height: 22px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ticket-card::before { left: -14px; }
.ticket-card::after  { right: -14px; }
.ticket-card:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--ink); }
.ticket-card--hot { background: #fbeecb; border-color: var(--orange-d); }
.stub {
  display: inline-block;
  font-family: 'Bungee', cursive;
  font-size: .62rem;
  letter-spacing: 1px;
  color: #fff5e6;
  background: var(--purple);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.stub-hot { background: var(--orange-d); }
.ticket-card h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-soft);
  font-size: .9rem;
}
.ticket-date {
  font-family: 'Bungee', cursive;
  font-size: 1.9rem;
  color: var(--ink);
  margin: 2px 0;
}
.ticket-time {
  color: var(--orange-d);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .8rem;
}
.ticket-price {
  font-family: 'Bungee', cursive;
  font-size: 2.4rem;
  color: var(--teal);
  margin: 12px 0 20px;
}
.ticket-btn { width: 100%; }
.ticket-note { text-align: center; color: var(--ink-soft); font-size: .9rem; margin-top: 28px; }

/* --------- Flyer / Poster --------- */
.poster-section {
  max-width: none;
  text-align: center;
  background-color: var(--orange);
  background-image:
    radial-gradient(rgba(36,26,19,.07) 1.3px, transparent 1.4px),
    radial-gradient(rgba(36,26,19,.05) 1.3px, transparent 1.4px);
  background-size: 16px 16px, 16px 16px;
  background-position: 0 0, 8px 8px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.poster-section .section-head { max-width: 700px; margin: 0 auto 40px; }
.poster-section .section-head h2 { color: var(--ink); text-shadow: 3px 3px 0 var(--paper); }
.poster-section .section-head h2 .ico-bat { color: var(--ink); }
.poster-section .section-head p { color: var(--ink-soft); }
.poster-wrap { max-width: 640px; margin: 0 auto; }
.poster-frame {
  position: relative;
  display: inline-block;
  background: var(--paper);
  padding: 14px;
  border: 6px solid var(--ink);
  box-shadow: 9px 9px 0 rgba(0,0,0,.35);
  transform: rotate(-1.4deg);
  margin-bottom: 34px;
  line-height: 0;
}
.poster-frame img {
  display: block;
  width: min(80vw, 420px);
  height: auto;
}
/* masking-tape corners */
.poster-frame::before, .poster-frame::after {
  content: "";
  position: absolute;
  top: -15px;
  width: 96px; height: 30px;
  background: rgba(224,169,46,.5);
  border: 1px solid rgba(36,26,19,.2);
}
.poster-frame::before { left: -12px; transform: rotate(-24deg); }
.poster-frame::after  { right: -12px; transform: rotate(24deg); }
.poster-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --------- Waiver & Rules --------- */
.waiver-cta { text-align: center; margin-bottom: 40px; }
.rules-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--hard);
  padding: 30px clamp(22px, 4vw, 44px) 34px;
}
.rules-card h3 {
  font-family: 'Bungee', cursive;
  font-size: 1.3rem;
  color: var(--orange-d);
  text-align: center;
  letter-spacing: .5px;
  margin-bottom: 20px;
}
.rules-list {
  margin: 0;
  padding-left: 1.3em;
  display: grid;
  gap: 12px;
}
.rules-list li {
  color: var(--ink-soft);
  padding-left: 6px;
}
.rules-list li::marker {
  color: var(--orange-d);
  font-weight: 700;
}
.rules-list strong { color: var(--ink); }

/* --------- Info --------- */
.section-alt {
  max-width: none;
  background: var(--ink);
  background-image:
    radial-gradient(rgba(255,245,230,.05) 1.3px, transparent 1.4px),
    radial-gradient(rgba(255,245,230,.04) 1.3px, transparent 1.4px);
  background-size: 16px 16px, 16px 16px;
  background-position: 0 0, 8px 8px;
  border-top: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);
}
.section-alt .section-head { max-width: 1150px; margin-left: auto; margin-right: auto; }
.section-alt .section-head h2 { color: var(--gold); text-shadow: 3px 3px 0 #000; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  max-width: 1150px;
  margin: 0 auto;
}
.info-card {
  background: var(--paper);
  border: 3px solid #000;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 5px 5px 0 rgba(0,0,0,.5);
}
.info-ico {
  font-size: 1.8rem;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 50%;
  margin-bottom: 14px;
}
.info-card h3 {
  font-family: 'Bungee', cursive;
  font-size: 1rem;
  color: var(--orange-d);
  margin-bottom: 8px;
  letter-spacing: .5px;
}
.info-card p { color: var(--ink-soft); }
.info-card strong { color: var(--ink); }

/* --------- Location --------- */
.address {
  font-family: 'Bungee', cursive;
  font-size: clamp(1.1rem, 3.4vw, 1.8rem) !important;
  color: var(--purple) !important;
  max-width: none !important;
}
.location-wrap { text-align: center; }
.location-wrap .btn { margin-bottom: 26px; }
.map-frame {
  border: 4px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--hard);
  line-height: 0;
  max-width: 900px;
  margin: 0 auto;
}
.map-frame iframe {
  width: 100%; height: 400px; border: 0;
  filter: sepia(.25) saturate(1.1) contrast(1.02);
}

/* --------- Footer --------- */
.footer {
  position: relative;
  text-align: center;
  padding: 60px 20px 44px;
  background: var(--ink);
  color: var(--paper-2);
  border-top: 4px solid var(--orange);
}
.footer-bats {
  display: block;
  width: 340px; max-width: 80%;
  height: 40px;
  margin: 0 auto 20px;
  color: var(--orange);
}
.footer-title {
  font-family: 'Bungee', cursive;
  color: var(--orange);
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  margin-bottom: 12px;
}
.footer p { font-size: .92rem; margin: 4px 0; }
.footer-fine { color: #9c8a72; font-size: .82rem; margin-top: 16px; }

/* --------- Buy / roster modal --------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,6,7,.72);
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(16px, 6vh, 60px) 16px; overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 460px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: var(--hard); padding: 26px 24px;
}
.modal-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.modal-title { font-family: 'Bungee', cursive; font-size: 1.2rem; color: var(--orange-d); margin-bottom: 8px; padding-right: 24px; }
.modal-help { color: var(--ink-soft); font-size: .9rem; margin-bottom: 16px; }
.attendee-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; margin-bottom: 10px; }
.attendee-row input[type="text"] {
  width: 100%; padding: 10px 12px; font: inherit; font-weight: 600; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 8px;
}
.attendee-row input.invalid { border-color: var(--orange-d); background: #fff4ee; }
.attendee-minor { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: .82rem; color: var(--ink-soft); white-space: nowrap; }
.attendee-minor input { width: 20px; height: 20px; accent-color: var(--orange); }
.attendee-remove { border: 2px solid var(--ink); background: var(--paper); border-radius: 8px; width: 38px; height: 38px; font-size: 1.1rem; font-weight: 700; color: var(--orange-d); cursor: pointer; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.modal-total { font-family: 'Bungee', cursive; color: var(--ink); font-size: 1rem; }

/* --------- Reduced motion --------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}
