body {
  margin: 0;
  height: 100vh;
  background: #f5e4c2;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

.background {
  position: unset;
  width: -webkit-fit-content;
  height: -webkit-fit-content;
  overflow: hidden;
}

.casper {
  position: absolute;
  width: 220px;
  bottom: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.casper:hover {
  transform: scale(1.1) rotate(-3deg);
}

.popup {
  background: rgba(255,255,255,0.9);
  border: 2px solid #000;
  border-radius: 20px;
  padding: 2rem 3rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: fadeIn 2s ease;
}

.popup h1 {
  font-size: 2.5rem;
  margin: 0 0 10px 0;
}

.popup button {
  margin-top: 1rem;
  background: #222;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup button:hover {
  background: #f05a28;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

@keyframes float {
  0%, 100% {transform: translateY(0);}
  50% {transform: translateY(-15px);}
}
    .casper:hover {
  position: fixed;
  width: 300px;                /* größer */
  bottom: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite, spin 2s linear infinite; /* Rotation + Schweben */
  transition: transform 0.4s ease;
  transform-origin: center center;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.3));
}

/* optionaler Hover-Effekt zusätzlich */
.casper:hover {
  transform: scale(1.15);
}

/* sanftes Auf- und Abschweben */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* kontinuierliche Rotation */
@keyframes spin {
  0% { rotate: 0deg; }
  100% { rotate: 360deg; }
}
.btn-enter {
  display: inline-block;
  background: #222;
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-enter:hover {
  background: #f05a28;
  transform: scale(1.05);
}