/* ─── Hero ─── */
#hero {
  padding-top: var(--s-lg);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  filter: saturate(1.1) contrast(1.1);
  transform: scale(1.2);
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
  padding-top: 18vh;
}

.hero-tag {
  font-family: var(--f-mono);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  margin: var(--s-md) auto 0;
  color: var(--c-cream);
  letter-spacing: 0.06em;
  text-shadow: 2px 2px 0 var(--c-ink);
  max-width: 40ch;
}

.hero-ctas {
  margin-top: var(--s-lg);
  display: flex;
  gap: var(--s-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: var(--s-sm) var(--s-md);
  font-family: var(--f-display);
  font-size: 1.5rem;
  border: 3px solid var(--c-cream);
  background: var(--c-burgundy);
  color: var(--c-cream);
  box-shadow: var(--shadow-wonky);
  transform: rotate(-1.5deg);
  transition: transform 200ms ease, box-shadow 200ms ease;
  text-align: center;
}
.btn:hover, .btn:focus {
  transform: rotate(0deg) scale(1.04);
}
.btn-primary { background: var(--c-orange); color: var(--c-ink); }
.btn-ghost { background: transparent; }
.btn-small {
  font-size: 1rem;
  padding: 4px 12px;
  transform: rotate(-1deg);
}

/* ─── Section common ─── */
.section-lead {
  font-family: var(--f-mono);
  color: var(--c-gold);
  margin-top: var(--s-sm);
  margin-bottom: var(--s-lg);
  max-width: 60ch;
  text-wrap: balance;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ─── WANTED poster cards ─── */
.survivor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-md);
}

.wanted-stamp {
  display: inline-block;
  font-family: var(--f-mono);
  color: var(--c-red);
  border: 3px solid var(--c-red);
  padding: var(--s-xs) var(--s-sm);
  letter-spacing: 0.1em;
  transform: rotate(-3deg);
  margin-bottom: var(--s-md);
  background: rgba(241, 230, 204, 0.1);
  font-weight: bold;
}

.survivor-card {
  background: var(--c-cream);
  color: var(--c-ink);
  padding: var(--s-md);
  border: 3px solid var(--c-ink);
  box-shadow: var(--shadow-wonky);
  transform: rotate(-1deg);
  transition: transform 250ms ease;
  position: relative;
  overflow: hidden;
  /* Aged paper texture via gradient */
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(201, 162, 78, 0.15), transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(184, 58, 42, 0.08), transparent 50%),
    linear-gradient(180deg, var(--c-cream), #e8dcc0);
}
.survivor-card:nth-child(2) { transform: rotate(1.4deg); }
.survivor-card:nth-child(3) { transform: rotate(-0.6deg); }
.survivor-card:hover { transform: rotate(0deg) scale(1.02); }

.wanted-badge {
  position: absolute;
  top: 12px;
  right: -30px;
  background: var(--c-red);
  color: var(--c-cream);
  font-family: var(--f-display);
  font-size: 0.85rem;
  padding: 4px 40px;
  transform: rotate(35deg);
  letter-spacing: 0.15em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 2;
}

.survivor-portrait-wrap {
  width: 70%;
  margin: 0 auto var(--s-sm);
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--c-ink);
  box-shadow: 4px 4px 0 var(--c-burgundy);
  aspect-ratio: 1;
}
.survivor-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.survivor-card h3 {
  font-family: var(--f-display);
  color: var(--c-burgundy);
  text-shadow: none;
  margin-bottom: 0;
}

.wanted-alias {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--c-ink);
  opacity: 0.7;
  margin-bottom: var(--s-sm);
  font-style: italic;
}

.survivor-card dl {
  font-family: var(--f-mono);
  font-size: 0.95rem;
}
.survivor-card dt {
  font-weight: bold;
  color: var(--c-burgundy);
  margin-top: var(--s-xs);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.survivor-card dd { margin-bottom: var(--s-xs); }

/* ─── Setlist ─── */
.leaked-stamp {
  display: inline-block;
  font-family: var(--f-mono);
  color: var(--c-red);
  border: 3px solid var(--c-red);
  padding: var(--s-xs) var(--s-sm);
  letter-spacing: 0.1em;
  transform: rotate(-3deg);
  margin-bottom: var(--s-md);
  background: rgba(241, 230, 204, 0.1);
  font-weight: bold;
}

.featured-songs {
  background: var(--c-cream);
  color: var(--c-ink);
  padding: var(--s-md);
  font-family: var(--f-mono);
  border: 3px solid var(--c-ink);
  box-shadow: var(--shadow-wonky);
  transform: rotate(-0.6deg);
  margin-bottom: var(--s-lg);
}
.featured-songs li { padding: var(--s-xs) 0; border-bottom: 1px dashed var(--c-burgundy); }
.featured-songs li:last-child { border-bottom: none; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.songlist {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-family: var(--f-mono);
  background: var(--c-cream);
  color: var(--c-ink);
  border: 3px solid var(--c-ink);
  box-shadow: var(--shadow-wonky);
}
.songlist thead {
  background: var(--c-burgundy);
  color: var(--c-cream);
  text-align: left;
}
.songlist th, .songlist td {
  padding: var(--s-xs) var(--s-sm);
  border-bottom: 1px dashed rgba(92, 26, 26, 0.3);
  vertical-align: top;
}
.songlist tr:hover td { background: rgba(232, 114, 44, 0.15); cursor: crosshair; }
.song-secret {
  display: inline;
  background: var(--c-red);
  color: var(--c-cream);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 200ms ease;
}
.song-secret:hover {
  background: var(--c-orange);
}
.mib-row td {
  background: rgba(26, 23, 34, 0.08);
  font-style: italic;
}
.setlist-footnote {
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  color: var(--c-gold);
  margin-top: var(--s-md);
  text-align: right;
}


/* ─── Tour table ─── */
.tour-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-family: var(--f-mono);
  background: var(--c-cream);
  color: var(--c-ink);
  border: 3px solid var(--c-ink);
  box-shadow: var(--shadow-wonky);
}
.tour-table thead { background: var(--c-burgundy); color: var(--c-cream); }
.tour-table th, .tour-table td {
  padding: var(--s-sm);
  text-align: left;
  border-bottom: 1px dashed rgba(92, 26, 26, 0.3);
}
.tour-table tr.fictional td {
  background: rgba(184, 58, 42, 0.08);
  font-style: italic;
}
.unconfirmed-tag {
  display: inline-block;
  font-style: normal;
  font-size: 0.65rem;
  font-family: var(--f-mono);
  letter-spacing: 0.1em;
  background: var(--c-red);
  color: var(--c-cream);
  padding: 1px 6px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 6px;
  font-weight: bold;
}

/* Tour table: stacked card layout on mobile */
@media (max-width: 720px) {
  .tour-table { min-width: 0; }
  .tour-table thead { display: none; }
  .tour-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    padding: var(--s-sm);
    border-bottom: 2px dashed var(--c-burgundy);
  }
  .tour-table tbody tr td {
    border-bottom: none;
    padding: 2px var(--s-xs);
  }
  .tour-table tbody tr td:nth-child(1) {
    font-weight: bold;
    width: 100%;
    color: var(--c-burgundy);
    font-size: 0.9rem;
  }
  .tour-table tbody tr td:nth-child(2) {
    width: 100%;
    font-size: 1rem;
  }
  .tour-table tbody tr td:nth-child(3) {
    width: 50%;
    opacity: 0.7;
    font-size: 0.85rem;
  }
  .tour-table tbody tr td:nth-child(4) {
    width: 50%;
    text-align: right;
  }
}

.daft-popup {
  position: fixed;
  bottom: 5vh;
  left: 50%;
  transform: translate(-50%, 40px) rotate(-1deg);
  background: var(--c-burgundy);
  color: var(--c-cream);
  padding: var(--s-sm) var(--s-md);
  font-family: var(--f-display);
  font-size: 1.5rem;
  border: 3px solid var(--c-cream);
  box-shadow: var(--shadow-wonky);
  opacity: 0;
  transition: opacity 400ms ease, transform 400ms ease;
  z-index: var(--z-easter);
}
.daft-popup.visible {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-1deg);
}

/* ─── Arcade ─── */
#arcade {
  min-height: auto;
  padding: var(--s-lg) var(--s-md);
  background: var(--c-ink);
  border-top: 4px solid var(--c-orange);
  border-bottom: 4px solid var(--c-orange);
}
.arcade-cabinet {
  max-width: 820px;
  margin: 0 auto;
  background: #0a0812;
  border: 3px solid var(--c-gold);
  box-shadow: 0 0 30px rgba(232, 114, 44, 0.3), var(--shadow-wonky);
  padding: var(--s-sm);
  text-align: center;
}
.arcade-hud {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  color: var(--c-gold);
  padding: var(--s-xs) var(--s-sm);
  font-size: 1.1rem;
}
#arcade-canvas {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  background: #0a0812;
  image-rendering: pixelated;
}
.arcade-controls {
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  color: var(--c-cream);
  margin-top: var(--s-xs);
  opacity: 0.7;
}
.arcade-start {
  margin-top: var(--s-sm);
  background: var(--c-orange);
  color: var(--c-ink);
  font-size: 1.25rem;
  animation: coin-pulse 1.5s ease-in-out infinite;
}
@keyframes coin-pulse {
  0%, 100% { transform: rotate(-1deg) scale(1); }
  50% { transform: rotate(-1deg) scale(1.06); box-shadow: 0 0 20px var(--c-orange); }
}

/* ─── Booking form ─── */
#booking-form {
  background: var(--c-cream);
  color: var(--c-ink);
  border: 3px solid var(--c-ink);
  padding: var(--s-md);
  box-shadow: var(--shadow-wonky);
  transform: rotate(-0.4deg);
  max-width: 720px;
  margin: 0 auto;
}
#booking-form fieldset {
  border: 2px dashed var(--c-burgundy);
  padding: var(--s-md);
  margin-bottom: var(--s-md);
}
#booking-form legend {
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--c-burgundy);
  padding: 0 var(--s-sm);
}
#booking-form .fun-fields legend::after {
  content: " (will not be filed with the police)";
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--c-ink);
}
#booking-form label {
  display: block;
  margin-bottom: var(--s-sm);
  font-family: var(--f-mono);
}
#booking-form .req { color: var(--c-red); margin-left: 4px; }
#booking-form input,
#booking-form select,
#booking-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: var(--s-xs) var(--s-sm);
  border: 2px solid var(--c-ink);
  background: #fff;
  font-family: var(--f-mono);
}
#booking-form .btn-large {
  font-size: 1.75rem;
  padding: var(--s-sm) var(--s-md);
}
.form-status {
  margin-top: var(--s-sm);
  font-family: var(--f-mono);
  color: var(--c-burgundy);
  min-height: 1.5em;
}

/* ─── Footer ─── */
#site-footer {
  background: var(--c-ink);
  color: var(--c-cream);
  border-top: 4px double var(--c-burgundy);
  padding: var(--s-lg) var(--s-md);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-md);
  align-items: end;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-vehicles { position: relative; min-height: 140px; }
.footer-car { width: 220px; }
.footer-delorean { transform: rotate(-2deg); }
.footer-ecto { position: absolute; top: 0; left: 240px; transition: opacity 200ms ease; }
.footer-ecto-sirens { opacity: 0; }
.footer-vehicles:hover #ecto1-default { opacity: 0; }
.footer-vehicles:hover #ecto1-sirens { opacity: 1; }

.footer-band { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: var(--s-sm); }
.footer-info a { text-decoration: underline; color: var(--c-orange); }
.footer-socials a { margin-right: var(--s-xs); }
.footer-copy {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--c-gold);
  margin-top: var(--s-md);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-ecto { position: static; left: 0; }
}
