body {
  margin: 0;
  overflow: hidden;
  background: black;
  font-family: "Arial Black", Arial, sans-serif;
}

/* Hintergrundvideo */
#bgVideo {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  filter: grayscale(100%) contrast(140%);
  z-index: -2;
}

/* Canvas mit Warp */
canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* Portal-Möwe Button */
#soundPrompt {
  position: fixed;
  bottom: 10%;
  width: 100%;
  text-align: center;
  z-index: 20;
}

#startExperience {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

#startExperience img {
  width: 10vw;
  transition: transform 0.8s ease, filter 0.8s ease;
  animation: portalBreathing 3s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.7))
          drop-shadow(0 0 16px rgba(255,0,0,0.5));
}

#startExperience:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 12px rgba(255,255,255,1))
          drop-shadow(0 0 30px rgba(255,0,0,0.8));
}

/* Pulsierender Glow */
@keyframes portalBreathing {
  0%   { filter: drop-shadow(0 0 8px rgba(255,255,255,0.6)); }
  50%  { filter: drop-shadow(0 0 18px rgba(255,0,0,0.8)); }
  100% { filter: drop-shadow(0 0 8px rgba(255,255,255,0.6)); }
}

/* Hinweis nach Warp */
#chapterHint {
    z-index: 10001;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: #FFFFFF;       /* <– WICHTIG: Weiß! */
    opacity: 0;
    transition: opacity 0.8s ease-out;
    pointer-events: none;
}
#chapterHint.show {
    opacity: 1;
}


/* Grafische Feder, die der Maus folgt */
#cursorFeather {
  position: fixed;
  width: 40px;              /* ggf. anpassen */
  height: auto;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 50;
}

/* Systemcursor ausblenden – wir nutzen die Feder-Grafik */
body {
  cursor: none;
}

/* =========================
   EPIC Saga Overlay Effekt
========================= */

#chapterHint.epic {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  z-index: 10000;
  background: radial-gradient(circle at center,
            rgba(0,0,0,0.85) 0%, rgba(0,0,0,1) 100%);
  transition: opacity 1.8s ease-out;
}

#chapterHint.epic.show {
  opacity: 1;
  pointer-events: auto;
}

#chapterHint .epic-inner {
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  animation: breathe 5.5s ease-in-out infinite alternate;
}

@keyframes breathe {
  0%   { transform: translateY(0px) scale(1); opacity: 0.9; }
  50%  { transform: translateY(-3px) scale(1.02); opacity: 1; }
  100% { transform: translateY(-1px) scale(1.01); opacity: 0.95; }
}

#chapterHint h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin: 0 0 1.8rem;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.12em;
  text-shadow:
    0 0 45px rgba(255,0,40,0.55),
    0 0 15px rgba(255,255,255,0.9),
    0 0 6px rgba(255,255,255,1);
}

#chapterHint p {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  line-height: 1.6;
  color: #f5eeee;
  text-shadow:
    0 0 10px rgba(255,255,255,0.6),
    0 0 40px rgba(255,0,40,0.4);
  opacity: 0;
  animation: textFade 2.5s ease-out forwards;
  animation-delay: 1s;
}

@keyframes textFade {
  from {
    opacity: 0;
    letter-spacing: 0.01em;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    letter-spacing: 0.05em;
    transform: translateY(0);
  }
}

