@font-face {
  font-family: 'VTRemingtonPortable';
  src: url('../fonts/vtRemingtonPortable.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { height: 100%; overflow: hidden; background: #111; font-family: 'VTRemingtonPortable', system-ui, sans-serif; }

.reveal-container {
  position: relative;
  width: 100%;
  height: 100dvh;
  /* Effect parameters as CSS variables for easy reuse */
  --reveal-spotlight-base: 18;
  --reveal-spotlight-variation: 12;
  --reveal-max-trail: 36;
  --reveal-dissolve-time: 6000;
  --spotlight-multiplier: 1;
  /* Poem Feature Settings */
  --reveal-poem-count: 18;
  --reveal-heart-steps: 3;
  --reveal-heart-scale: 0.4;
  --reveal-hotspot-radius: 30;
  --reveal-test-mode: 0; /* Set to 1 to enable visual indicators for hotspots */
  /* Firefly Settings */
  --reveal-firefly-color: rgba(255, 230, 0, 0.9);
  --reveal-firefly-size: 6;
  --reveal-firefly-interval: 3000;
}

.reveal-container img.base {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05); /* Procedurally creates the B&W look */
}

.reveal-container canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
  touch-action: none; /* Native override to prevent scrolling/pull-to-refresh without breaking js clicks */
}

/* Poem Modal Styles */
.reveal-poem-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  padding: 1.5rem;
}

.reveal-poem-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.reveal-poem-content {
  max-width: 600px;
  max-height: 100%;
  overflow-y: auto;
  color: #ddd;
  font-size: 1.4rem;
  line-height: 1.6;
  padding: 1rem;
}

@media (max-width: 768px) {
  .reveal-poem-content {
    font-size: 1.15rem;
    line-height: 1.5;
  }
}