body, html {
  height: 100%;
  margin: 0;
  font-family: 'Pacifico', cursive;
  overflow: hidden;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('hintergrund.jpg') center/cover no-repeat;
  z-index: -1;
  transform: scale(1.2);
  animation: zoomBackground 20s forwards;
}

@keyframes zoomBackground {
  0% { transform: scale(1.2); }
  100% { transform: scale(2); }
}

.bg-boost {
  animation: bgBoost 5s forwards;
}

@keyframes bgBoost {
  0% { 
    transform: scale(2);
    filter: brightness(1);
  }
  100% { 
    transform: scale(100);
    filter: brightness(0);
  }
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  position: relative;
  padding: 20px;
  box-sizing: border-box;
}

#title {
  font-size: clamp(3rem, 10vw, 8rem);
  color: #4CAF50;
  cursor: pointer;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
  white-space: nowrap;
}

#title span {
  display: inline-block;
  transition: color 0.5s ease-out;
}

.bounce {
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.letter-fly {
  animation: letterFly 3s forwards;
}

@keyframes letterFly {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--randDx), var(--randDy)) rotate(var(--randRot));
    opacity: 0;
  }
}

#neonSign {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.5rem, 5vw, 4rem);
  font-family: 'Dancing Script', cursive;
  color: #39FF14;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  text-shadow: 
    0 0 5px #39FF14,
    0 0 10px #39FF14,
    0 0 20px #39FF14;
}

#neonSign.show {
  opacity: 1;
  animation: neonFlicker 3s infinite;
}

@keyframes neonFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.4; }
}

@media (max-width: 768px) {
  #title {
    font-size: clamp(2rem, 8vw, 6rem);
  }
}
