@import url('https://fonts.googleapis.com/css2?family=Butcherman&family=Creepster&display=swap');

:root {
  --bg: #0a0510;
  --bg-deep: #05030a;
  --panel: rgba(20, 8, 14, 0.78);
  --panel-border: rgba(255, 60, 60, 0.4);
  --gold: #e0b13a;
  --gold-glow: #ffd76b;
  --red: #c81d3a;
  --red-glow: #ff3c5c;
  --purple: #6a1b9a;
  --purple-glow: #b673ff;
  --text: #f5ead6;
  --text-dim: #cbb3a8;
  --shadow-glow: 0 0 22px rgba(200, 29, 58, 0.45);
  --stripe-a: #1a0a10;
  --stripe-b: #3a0d16;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  background: radial-gradient(ellipse at 50% 15%, #2a0e1c 0%, var(--bg) 55%, var(--bg-deep) 100%);
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 32%, rgba(0,0,0,0.6) 100%);
}

/* Big-top tent awning stripes, top and bottom of the viewport */
.tent-stripes {
  position: fixed;
  left: 0;
  right: 0;
  height: 26px;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    115deg,
    var(--stripe-a) 0 26px,
    var(--red) 26px 52px
  );
  box-shadow: 0 0 18px rgba(0,0,0,0.6);
}
.tent-stripes.top { top: 0; }
.tent-stripes.bottom { bottom: 0; }

main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8vh 5vw;
  text-align: center;
}

.title {
  font-family: 'Butcherman', 'Creepster', cursive;
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  color: var(--red-glow);
  text-shadow: 0 0 12px var(--red), 0 0 42px rgba(255,60,92,0.5);
  letter-spacing: 0.03em;
  margin: 0 0 0.4em;
  line-height: 1.2;
}

.subtitle {
  color: var(--text-dim);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  max-width: 640px;
  margin: 0 auto 2em;
  line-height: 1.6;
}

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: clamp(1.8rem, 4vw, 3rem);
  max-width: 680px;
  width: 100%;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-glow), inset 0 0 60px rgba(106, 27, 154, 0.12);
}

/* Ticket-style perforation notches on the card edges */
.card::before,
.card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  background: var(--bg);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px var(--panel-border);
}
.card::before { left: -11px; }
.card::after { right: -11px; }

.station-number {
  font-family: 'Creepster', cursive;
  font-size: clamp(3.5rem, 12vw, 7rem);
  color: var(--gold-glow);
  text-shadow: 0 0 18px var(--gold), 0 0 50px rgba(224,177,58,0.6);
  margin: 0;
  line-height: 1;
}

.station-label {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0.5em 0 1.2em;
}

.question-text {
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 1.6em;
  min-height: 3em;
}

.answers {
  list-style: none;
  margin: 0 0 1.6em;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  text-align: left;
}

.answers li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: rgba(200, 29, 58, 0.08);
  font-size: clamp(1rem, 2.6vw, 1.25rem);
}

.answers .letter {
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--text);
  font-family: 'Creepster', cursive;
  font-size: 1.3rem;
  box-shadow: 0 0 10px rgba(255, 60, 92, 0.5);
}

.hint {
  font-size: 0.95rem;
  color: var(--gold-glow);
  border-top: 1px dashed var(--panel-border);
  padding-top: 1.2em;
  margin-top: 0.4em;
}

.flavor {
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 1.4em;
  opacity: 0.85;
}

.pumpkin-row {
  display: flex;
  gap: 0.5em;
  justify-content: center;
  margin: 1.4em 0;
  font-size: 1.4rem;
  filter: drop-shadow(0 0 6px rgba(224,177,58,0.6));
}

footer.note {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  padding: 1.5em 1em 2.6em;
  opacity: 0.75;
}

@media (max-width: 480px) {
  .card { padding: 1.5rem; }
  .tent-stripes { height: 16px; }
}
